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,QAASvJ,KAAKsC,MAAMC,QAAQ,qBAC5B0W,SAAUjZ,KAAKsC,MAAMC,QAAQ,gBAErC,E","sources":["./wifi/devices/device-edit/template.hbs","./wifi/devices/index/template.hbs","./wifi/devices/profile-edit/template.hbs","./wifi/settings/template.hbs","./assets/_route_/wifi.devices.device-edit.js","./components/wifi/device-row/index.hbs","./components/wifi/device-row/index.ts","./components/wifi/pause-icon/index.hbs","./components/wifi/pause-icon/index.ts","./components/wifi/profile-icon/index.hbs","./components/wifi/profile-icon/index.ts","./components/wifi/titled-button/index.hbs","./components/wifi/titled-button/index.ts","./components/modals/wifi/category-select/index.hbs","./components/modals/wifi/category-select/index.ts","./components/modals/wifi/profile-select/index.hbs","./components/modals/wifi/profile-select/index.ts","./wifi/devices/device-edit/controller.ts","./wifi/devices/device-edit/route.ts","./wifi/devices/index/controller.ts","./wifi/devices/index/route.ts","./components/modals/wifi/profile-add-device/index.hbs","./components/modals/wifi/profile-add-device/index.ts","./wifi/devices/profile-edit/controller.ts","./wifi/devices/profile-edit/route.ts","./components/modals/wifi/network-settings/index.hbs","./components/modals/wifi/network-settings/index.ts","./components/modals/wifi/port-forwarding/index.hbs","./components/modals/wifi/port-forwarding/index.ts","./components/modals/wifi/static-leases/index.hbs","./components/modals/wifi/static-leases/index.ts","./wifi/settings/controller.ts","./wifi/settings/route.ts"],"sourcesContent":["import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n \\n\\n {{#unless (get (await device.profile) \\'isManagedProfile\\')}}\\n \\n {{/unless}}\\n\\n \\n {{t (concat \\'generic.wifi.\\' (if device.isOnline \\'online\\' \\'offline\\'))}}\\n \\n\\n \\n \\n <:value>\\n \\n {{item.value}}\\n \\n \\n \\n \\n \\n\\n {{#if device.isOnline}}\\n \\n \\n \\n {{/if}}\\n\\n \\n \\n \\n\\n {{#if (and device.isForgettable (not device.isOnline))}}\\n \\n \\n \\n {{/if}}\\n \\n\\n\\n\",{ moduleName: \"customer-site/wifi/devices/device-edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:toolbar as |api|>\\n {{#if (is-mobile-app)}}\\n \\n {{/if}}\\n\\n \\n
\\n \\n \\n
\\n
\\n \\n\\n <:default as |PageViewContainer|>\\n \\n {{#if this.showProfiles}}\\n \\n \\n <:default as |profile|>\\n \\n <:icon>\\n \\n \\n

{{profile.nameIcon}}

\\n
\\n
\\n \\n\\n <:value>\\n {{#if profile.isPaused}}\\n

{{tc this \\'allPaused\\'}}

\\n {{else if profile.pausedCount}}\\n

{{tc this \\'pausedCount\\' count=profile.pausedCount}}

\\n {{/if}}\\n\\n {{#if profile.devices.length}}\\n \\n {{/if}}\\n \\n \\n \\n\\n <:empty>\\n

{{tc this \\'noProfilesFound\\'}}

\\n \\n \\n\\n {{#unless this.hideProfileAdd}}\\n
\\n \\n
\\n {{/unless}}\\n \\n\\n {{#if this.managedDevices.length}}\\n \\n \\n \\n <:icon>\\n \\n \\n \\n \\n \\n \\n \\n {{/if}}\\n {{else}}\\n {{#if (eq @model.devices.length 0)}}\\n \\n {{/if}}\\n\\n {{#each this.validCategoryGroups as |group|}}\\n \\n \\n \\n {{/each}}\\n\\n {{#if this.guestOnlineDevices.length}}\\n \\n \\n \\n {{/if}}\\n\\n {{#if this.offlineDevices.length}}\\n \\n <:icon>\\n \\n \\n\\n <:default>\\n \\n \\n \\n {{/if}}\\n {{/if}}\\n \\n \\n
\\n\\n\",{ moduleName: \"customer-site/wifi/devices/index/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default as |data|>\\n {{#if data.profile.isNew}}\\n \\n \\n \\n \\n \\n\\n \\n \\n\\n
\\n \\n
\\n
\\n\\n \\n \\n \\n {{else}}\\n \\n
\\n {{#unless this.isManaged}}\\n \\n {{/unless}}\\n
\\n\\n \\n\\n
\\n {{#if (and data.profile.devices (not this.isManaged))}}\\n \\n {{/if}}\\n
\\n\\n
\\n

\\n {{data.profile.name}}\\n

\\n {{#unless this.isManaged}}\\n \\n {{/unless}}\\n
\\n\\n {{#if this.isManaged}}\\n \\n {{/if}}\\n
\\n\\n \\n \\n \\n\\n {{#unless this.isManaged}}\\n {{#if data.profile.supportsSchedules}}\\n \\n \\n <:default as |item|>\\n \\n <:value>\\n \\n \\n \\n \\n <:empty>\\n

{{tc this \\'noSchedules\\'}}

\\n \\n
\\n\\n {{#if data.profile.supportsSchedules}}\\n
\\n \\n
\\n {{/if}}\\n
\\n {{/if}}\\n\\n \\n \\n \\n {{/unless}}\\n {{/if}}\\n \\n\\n <:error as |PageViewError|>\\n \\n \\n \\n\\n\",{ moduleName: \"customer-site/wifi/devices/profile-edit/template.hbs\" })","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n <:loading as |PageViewLoading|>\\n \\n \\n\\n <:default>\\n \\n

{{t \\'generic.wifi.wifi\\'}}

\\n\\n
\\n \\n \\n {{#each this.sortedNetworks as |network|}}\\n \\n \\n \\n \\n {{/each}}\\n \\n
\\n {{tc this network.networkGroupWord}}\\n {{network.networkBand}}\\n \\n {{#unless network.isSecurityNetwork}}\\n \\n {{/unless}}\\n
\\n
\\n\\n

{{t \\'generic.devices.devices\\'}}

\\n\\n
\\n \\n \\n \\n \\n {{#unless (media \\'isMobile\\')}}\\n \\n {{/unless}}\\n \\n \\n \\n \\n \\n {{#each this.sortedDevices as |device|}}\\n \\n \\n {{#unless (media \\'isMobile\\')}}\\n \\n {{/unless}}\\n \\n \\n \\n {{/each}}\\n \\n
{{t \\'generic.name\\'}}{{t \\'generic.role\\'}}{{t \\'generic.video.mac\\'}}{{t \\'generic.ipAddress\\'}}
{{device.description}}{{tc this (if device.isController \\'controller\\' \\'agent\\')}}{{device.macAddress}}{{device.ipAddress}}
\\n
\\n\\n {{#if this.sortedDevices}}\\n
\\n \\n
\\n {{/if}}\\n
\\n\\n \\n

{{tc this \\'dhcpSettings\\'}}

\\n\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
{{tc this \\'ipNetmask\\'}}:{{this.controllerDevice.netmask}}
{{tc this \\'startingIp\\'}}:{{this.controllerDevice.startingIp}}
{{tc this \\'leaseLimit\\'}}:{{coalesce this.controllerDevice.leaseLimit (t \\'generic.unknown\\')}}
\\n
\\n\\n

{{tc this \\'dhcpReservations\\'}}

\\n\\n
\\n \\n \\n \\n {{#unless (media \\'isMobile\\')}}\\n \\n {{/unless}}\\n \\n \\n \\n \\n \\n {{#each this.controllerDevice.staticLeases as |staticLease|}}\\n \\n {{#unless (media \\'isMobile\\')}}\\n \\n {{/unless}}\\n \\n \\n \\n {{else}}\\n \\n \\n \\n {{/each}}\\n \\n
{{t \\'generic.video.mac\\'}}{{t \\'generic.ipAddress\\'}}{{t \\'generic.actions\\'}}
{{staticLease.macAddress}}{{staticLease.ipAddress}}\\n \\n \\n
{{tc this \\\"noReservations\\\"}}
\\n\\n
\\n \\n
\\n
\\n\\n

{{tc this \\'portForwarding\\'}}

\\n\\n
\\n \\n \\n \\n \\n \\n {{#unless (media \\'isMobile\\')}}\\n \\n \\n {{/unless}}\\n \\n \\n \\n \\n {{#each this.controllerDevice.portForwardingRules as |rule|}}\\n \\n \\n \\n {{#unless (media \\'isMobile\\')}}\\n \\n \\n {{/unless}}\\n \\n \\n {{else}}\\n \\n \\n \\n {{/each}}\\n \\n
{{t \\'generic.ipAddress\\'}}{{t \\'generic.wifi.externalPort\\'}}{{t \\'generic.wifi.internalPort\\'}}{{t \\'generic.wifi.protocol\\'}}{{t \\'generic.actions\\'}}
{{rule.ipAddress}}{{rule.externalPort}}{{rule.internalPort}}{{t rule.protocolWord}}\\n \\n \\n
{{tc this \\\"noPortForwardingRules\\\"}}
\\n\\n
\\n \\n
\\n
\\n
\\n \\n\\n <:error as |PageViewError|>\\n \\n \\n \\n\",{ moduleName: \"customer-site/wifi/settings/template.hbs\" })","\nimport { importSync as i } from '@embroider/macros';\nlet d = window.define;\nd(\"customer-site/wifi/devices/device-edit/template\", function(){ return i(\"customer-site/wifi/devices/device-edit/template.hbs\");});\nd(\"customer-site/wifi/devices/device-edit/controller\", function(){ return i(\"customer-site/wifi/devices/device-edit/controller.ts\");});\nd(\"customer-site/wifi/devices/device-edit/route\", function(){ return i(\"customer-site/wifi/devices/device-edit/route.ts\");});\nd(\"customer-site/wifi/devices/index/template\", function(){ return i(\"customer-site/wifi/devices/index/template.hbs\");});\nd(\"customer-site/wifi/devices/index/controller\", function(){ return i(\"customer-site/wifi/devices/index/controller.ts\");});\nd(\"customer-site/wifi/devices/index/route\", function(){ return i(\"customer-site/wifi/devices/index/route.ts\");});\nd(\"customer-site/wifi/devices/profile-edit/template\", function(){ return i(\"customer-site/wifi/devices/profile-edit/template.hbs\");});\nd(\"customer-site/wifi/devices/profile-edit/controller\", function(){ return i(\"customer-site/wifi/devices/profile-edit/controller.ts\");});\nd(\"customer-site/wifi/devices/profile-edit/route\", function(){ return i(\"customer-site/wifi/devices/profile-edit/route.ts\");});\nd(\"customer-site/wifi/settings/template\", function(){ return i(\"customer-site/wifi/settings/template.hbs\");});\nd(\"customer-site/wifi/settings/controller\", function(){ return i(\"customer-site/wifi/settings/controller.ts\");});\nd(\"customer-site/wifi/settings/route\", function(){ return i(\"customer-site/wifi/settings/route.ts\");});\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n <:default as |device|>\\n \\n <:icon>\\n \\n \\n \\n \\n \\n \\n <:empty>\\n {{#if @emptyText}}\\n

{{@emptyText}}

\\n {{/if}}\\n \\n\\n\",{ moduleName: \"customer-site/components/wifi/device-row/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { service } from '@ember/service';\n\nimport './_style.scss';\nimport type { SimpleListSignature } from '@adc/ui-components/components/simple-list';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type WifiDevice from 'customer-site/models/wifi/device';\n\ninterface WifiDeviceRowSignature {\n Element: SimpleListSignature['Element'];\n Args: {\n devices: WifiDevice[];\n action?: (id: string) => void;\n emptyText?: string;\n };\n}\n\nexport default class WifiDeviceRow extends Component {\n @service declare intl: ServiceRegistry['adc-intl'];\n\n getValue = (d: WifiDevice): string | undefined => {\n if (d.isOnline && !d.isPaused) {\n return undefined;\n }\n\n return this.intl.t(d.isPaused ? 'generic.wifi.paused' : 'generic.wifi.offline');\n };\n\n getClickHandler = (id: string): VoidFunction | undefined => {\n const { action } = this.args;\n return action ? () => action(id) : undefined;\n };\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Wifi::DeviceRow': typeof WifiDeviceRow;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n {{yield}}\\n\\n {{#if @isPaused}}\\n \\n {{/if}}\\n
\",{ moduleName: \"customer-site/components/wifi/pause-icon/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\n\ninterface WifiPauseIconSignature {\n Element: HTMLDivElement;\n Args: {\n isPaused?: boolean;\n };\n Blocks: {\n default: [];\n };\n}\n\nconst WifiPauseIcon = templateOnlyComponent();\nexport default WifiPauseIcon;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Wifi::PauseIcon': typeof WifiPauseIcon;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n {{#if @icon}}\\n \\n {{else}}\\n

{{@name}}

\\n {{/if}}\\n
\\n\",{ moduleName: \"customer-site/components/wifi/profile-icon/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\n\ninterface WifiProfileIconSignature {\n Args: {\n icon?: string;\n name?: string;\n paused?: boolean;\n };\n}\n\nconst WifiProfileIcon = templateOnlyComponent();\nexport default WifiProfileIcon;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Wifi::ProfileIcon': typeof WifiProfileIcon;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"
\\n \\n

{{@title}}

\\n
\",{ moduleName: \"customer-site/components/wifi/titled-button/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport templateOnlyComponent from '@ember/component/template-only';\n\nimport './_style.scss';\nimport type { ButtonIconSignature } from '@adc/ui-components/components/button/icon';\n\ntype ButtonArgs = ButtonIconSignature['Args'];\n\ninterface WifiTitleButtonSignature {\n Element: HTMLDivElement;\n Args: Pick & {\n title: ButtonArgs['text'];\n highlight?: boolean;\n };\n}\n\nconst WifiTitledButton = templateOnlyComponent();\nexport default WifiTitledButton;\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Wifi::TitledButton': typeof WifiTitledButton;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
\\n {{#each this.groups as |group|}}\\n
{{group.desc}}
\\n {{#each group.categories as |category|}}\\n
\\n \\n
\\n {{/each}}\\n {{/each}}\\n
\\n\",{ moduleName: \"customer-site/components/modals/wifi/category-select/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { task } from 'ember-concurrency';\nimport { getWifiGroupTranslationKey } from 'customer-site/models/wifi/device-category';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type Store from '@ember-data/store';\nimport type DeviceCategory from 'customer-site/models/wifi/device-category';\nimport type { GroupItem } from 'customer-site/wifi/devices/index/route';\n\ninterface CategorySelectArgs {\n model: {\n selectedCategoryId: string;\n updateCategory: (category: DeviceCategory) => void;\n };\n}\n\ntype CategoryGroupItem = GroupItem & { categories: DeviceCategory[] };\n\n/**\n * @classdesc\n * A modal to select which category a device belongs to\n */\n@intlPath({ path: 'modals/wifi/category-select' })\nexport default class CategorySelectModal extends Component {\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n\n constructor(owner: unknown, args: CategorySelectArgs) {\n super(owner, args);\n\n this.localCategoryId = this.args.model.selectedCategoryId;\n this.getCategories.perform();\n }\n\n /**\n * Id of currently selected category\n */\n @tracked\n localCategoryId: string;\n\n /**\n * All category records\n */\n @tracked\n categoryRecords: DeviceCategory[] = [];\n\n /**\n * Load all categories from backend\n */\n getCategories = task({ drop: true }, async () => {\n const categories = await this.store.findAll('wifi/device-category');\n this.categoryRecords = categories.toArray();\n });\n\n /**\n * Get all groups associated with the present categories\n */\n @computed('categoryRecords')\n get groups(): CategoryGroupItem[] {\n return this.categoryRecords\n .mapBy('groupId')\n .uniq()\n .sort()\n .map((groupId: number) => ({\n id: groupId,\n desc: this.intl.t(getWifiGroupTranslationKey(groupId)),\n categories: this.categoryRecords.filterBy('groupId', groupId).sortBy('description')\n }));\n }\n\n /**\n * Save the selected category to the device's cached model record\n */\n @action\n async saveSelection(): Promise {\n const newCategory = this.categoryRecords.findBy('id', this.localCategoryId);\n\n if (!newCategory) {\n return Promise.reject();\n }\n\n this.args.model.updateCategory(newCategory);\n return true;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Wifi::CategorySelect': typeof CategorySelectModal;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n \\n \\n <:icon>\\n \\n \\n <:value>\\n {{#if profile.isSelected}}\\n \\n {{/if}}\\n \\n \\n \\n\",{ moduleName: \"customer-site/components/modals/wifi/profile-select/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type Store from '@ember-data/store';\nimport type DeviceProfile from 'customer-site/models/wifi/device-profile';\n\nexport class ProfileDisplayItem {\n @tracked d: DeviceProfile;\n @tracked isSelected: boolean;\n\n constructor(d: DeviceProfile, isSelected = false) {\n this.d = d;\n this.isSelected = isSelected;\n }\n\n @reads('d.name')\n declare name: string;\n\n @reads('d.nameIcon')\n declare iconName: string;\n\n @reads('d.isPaused')\n declare isPaused: boolean;\n}\n\ninterface ProfileSelectArgs {\n model: {\n selectedProfileId?: string;\n updateProfile: (profile: DeviceProfile | undefined) => void;\n };\n}\n\n/**\n * @classdesc\n * A modal to select which profile a device belongs to\n */\n@intlPath({ path: 'modals/wifi/profile-select' })\nexport default class ProfileSelectModal extends Component {\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n\n @tracked selectedProfileId?: string;\n\n constructor(owner: unknown, args: ProfileSelectArgs) {\n super(owner, args);\n\n this.selectedProfileId = this.args.model.selectedProfileId;\n }\n\n /**\n * Get the list of profiles to render\n */\n get profileRows(): Promise {\n return (async () => {\n const profiles = await this.store\n .findAll('wifi/device-profile')\n .then((res) => res.filter((p) => p.isManagedProfile === false));\n return profiles.map((p) => new ProfileDisplayItem(p, p.id === this.selectedProfileId));\n })();\n }\n\n @action\n async selectProfile(profile: ProfileDisplayItem): Promise {\n const currentlySelected = profile.isSelected,\n allProfiles = await this.profileRows;\n\n allProfiles.forEach((p) => (p.isSelected = false));\n profile.isSelected = !currentlySelected;\n\n this.selectedProfileId = profile.isSelected ? profile.d.id : undefined;\n }\n\n /**\n * Save the selected profile to the device's cached model record\n */\n @action\n async saveSelection(): Promise {\n const rows = await this.profileRows,\n newProfile = rows.findBy('isSelected')?.d;\n this.args.model.updateProfile(newProfile);\n return true;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Wifi::ProfileSelect': typeof ProfileSelectModal;\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, computed, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { isEmpty } from '@ember/utils';\nimport CategorySelectModal from 'customer-site/components/modals/wifi/category-select/index';\nimport ProfileSelectModal from 'customer-site/components/modals/wifi/profile-select/index';\nimport { EmberManageDevices, EmberWifiDevices } from 'customer-site/enums/CustomerPageUrl';\nimport { MaxIqrNameLength, MinIqrNameLength } from '../index/controller';\n\nimport type { AsyncBelongsTo } from '@ember-data/model';\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type WifiDevice from 'customer-site/models/wifi/device';\nimport type DeviceCategory from 'customer-site/models/wifi/device-category';\nimport type DeviceProfile from 'customer-site/models/wifi/device-profile';\nimport type { ModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\ninterface PropertyItem {\n description: string;\n value: string;\n action?: () => void;\n hideArrow?: boolean;\n}\n\n/**\n * @classdesc\n * Page for viewing details and editing a wifi device model\n */\nexport default class WifiDeviceEditController extends Controller {\n @service declare ajax: ServiceRegistry['ajax'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare modals: ServiceRegistry['modals'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare store: ServiceRegistry['store'];\n\n declare model: ModelFrom;\n\n /**\n * The data store record for the connected device\n */\n @tracked\n device?: WifiDevice;\n\n /**\n * List of profiles to track if they have changes made to them\n */\n profilesWithChanges: DeviceProfile[] = [];\n\n /**\n * Value and error message to load into rename modal\n */\n renameDialogConfig = {\n value: this.device?.description ?? '',\n error: ''\n };\n\n /**\n * Get the configurable connected device properties\n */\n @computed(\n 'device.{category,description,profile.isManagedProfile}',\n 'renameDevice',\n 'selectCategory',\n 'selectProfile'\n )\n get configItems(): Promise {\n return (async () => {\n const { device } = this;\n if (!device) {\n return [];\n }\n\n const profile = await device.profile;\n\n return [\n {\n ...this.getItem('category', device.category.description),\n action: this.selectCategory,\n hideArrow: !isEmpty(device.adcDeviceDesc)\n },\n {\n ...this.getItem('deviceName', String(device.adcDeviceDesc ?? device.description)),\n action: this.renameDevice\n },\n {\n ...this.getItem('profile', profile?.name ?? this.intl.t('generic.none')),\n action: this.selectProfile,\n hideArrow: profile?.isManagedProfile ?? false\n }\n ];\n })();\n }\n\n /**\n * returns a regex object of the disallowed characters for the device's name\n */\n @computed('device.wifiDeviceDisallowedCharacters')\n get deviceNameRegex(): RegExp {\n return new RegExp(this.device?.wifiDeviceDisallowedCharacters ?? '');\n }\n\n /**\n * Status properties to display\n */\n @computed('device.{nodeName,connectionFrequencyString,networkGroupString,signalStrength,isWired}')\n get statusItems(): PropertyItem[] {\n const { device } = this;\n if (!device) {\n return [];\n }\n\n const statusList = [\n this.getItem('node', device.nodeName),\n this.getItem('connection', device.connectionFrequencyString)\n ];\n\n // Only show signal strength and network if device is wireless\n if (!device.isWired) {\n statusList.push(\n this.getItem('network', device.networkGroupString),\n this.getItem('signalStrength', device.signalStrength)\n );\n }\n\n return statusList;\n }\n\n /**\n * Device info properties to display\n */\n @computed('device')\n get deviceInfoItems(): PropertyItem[] {\n const { device } = this;\n if (!device) {\n return [];\n }\n\n const itemList = [];\n // Only show hostname and IP if device is online\n if (device.isOnline) {\n itemList.push(this.getItem('hostname', device.hostname));\n }\n\n itemList.push(this.getItem('macAddress', device.macAddress), this.getItem('manufacturer', device.manufacturer));\n\n // Separated out from prior isOnline check for sake of list ordering\n if (device.isOnline) {\n itemList.push(this.getItem('ipAddress', device.ipAddress));\n } else {\n itemList.push(\n this.getItem(\n 'lastOnline',\n this.intl.formatDateTz(device.lastOnlineDate, {\n month: 'long',\n day: 'numeric',\n year: 'numeric'\n })\n )\n );\n }\n\n // TODO: Add leaseTimeRemaining when backend supports it\n return itemList;\n }\n\n /**\n * Get a property item with a translated string\n */\n private getItem(title: string, value: string): PropertyItem {\n return {\n description: this.intl.t(`generic.wifi.${title}`),\n value\n };\n }\n\n /**\n * Assign device once loaded\n */\n @action\n dataLoaded(device: WifiDevice): void {\n this.device = device;\n this.renameDialogConfig.value = device.description;\n }\n\n /**\n * Open a modal to select the category for the device\n */\n @action\n selectCategory(): void {\n const { device } = this;\n if (device?.adcDeviceDesc) {\n return;\n }\n\n this.modals.showModal(CategorySelectModal, {\n selectedCategoryId: device?.category.id,\n updateCategory: (newCategory: DeviceCategory) => {\n if (device) {\n set(device, 'category', newCategory);\n this.saveDevice();\n }\n }\n });\n }\n\n /**\n * Open a modal to select the profile for the device\n */\n @action\n selectProfile(): Promise {\n return (async () => {\n const { device } = this,\n profile = await device?.profile;\n\n // Cannot select profile if there is no device or it is a managed device.\n if (!device || profile?.isManagedProfile) {\n return;\n }\n\n const oldProfileId = device.belongsTo('profile').id();\n\n this.modals.showModal(ProfileSelectModal, {\n selectedProfileId: oldProfileId,\n updateProfile: (profile: DeviceProfile) => {\n const { device, profilesWithChanges } = this;\n if (device) {\n // We want to remove this device from the devices list on the old profile, before we push it to the new profile\n const oldProfile = this.store.peekRecord('wifi/device-profile', oldProfileId ?? '-1');\n if (oldProfile) {\n oldProfile.devices.setObjects(oldProfile.devices.filter((host) => host.id !== device.id));\n profilesWithChanges.push(oldProfile);\n }\n\n set(device, 'profile', profile as unknown as AsyncBelongsTo);\n\n if (profile) {\n profile.devices.setObjects([...profile.devices.slice(), device]);\n profilesWithChanges.push(profile);\n }\n\n this.saveDevice();\n }\n }\n });\n })();\n }\n\n /**\n * Open a modal to rename the wifi device\n */\n @action\n renameDevice(): void {\n if (this.device?.adcDeviceDesc) {\n this.navigation.transitionToRouteId(EmberManageDevices);\n return;\n }\n\n this.modals.showRenameModal({\n title: this.intl.tc(this, 'renameTitle'),\n message: '',\n rename: (value: string) => {\n set(this.renameDialogConfig, 'error', '');\n if (\n !value ||\n value.trim() === '' ||\n value.trim().length < MinIqrNameLength ||\n value.length > MaxIqrNameLength ||\n !this.deviceNameRegex.test(value)\n ) {\n set(\n this.renameDialogConfig,\n 'error',\n this.intl.tc(this, 'renameError' + (this.device?.iqr2Version ?? ''))\n );\n return false;\n }\n\n if (this.device) {\n set(this.device, 'description', value);\n this.saveDevice();\n }\n\n return true;\n },\n output: this.renameDialogConfig\n });\n }\n\n /**\n * Toggle whether the device is paused or not\n */\n @action\n togglePause(): void {\n const { device } = this;\n if (device) {\n device.isPaused = !device.isPaused;\n this.saveDevice();\n }\n }\n\n /**\n * Tell the router to forget this device and remove from offline device list.\n */\n @action\n forgetDevice(): void {\n const { device, intl } = this;\n if (!device) {\n return;\n }\n\n this.modals.showConfirmationDialog(\n intl.tc(this, 'forgetDevice'),\n intl.tc(this, 'confirmForget', {\n deviceName: device.description\n }),\n {\n text: intl.tc(this, 'forget'),\n css: 'btn-color-danger',\n action: async () => {\n try {\n await this.ajax.apiRequest(\n 'api/wifi/devices/' + device.id,\n undefined,\n undefined,\n 'DELETE'\n );\n\n this.notificationManager.addNotification(\n intl.t('generic.wifi.commandSent'),\n 'info',\n undefined,\n 10000,\n true\n );\n\n this.navigation.transitionToRouteId(EmberWifiDevices);\n } catch (ex) {\n this.notificationManager.addError(intl.tc(this, 'noPermissions'));\n }\n }\n }\n );\n }\n\n /**\n * Save the wifi device record and any affected profiles\n */\n async saveDevice(): Promise {\n const { device } = this;\n if (!device) {\n return;\n }\n\n await device.save();\n await Promise.all(this.profilesWithChanges.map((p) => p.save()));\n this.notificationManager.addNotification(\n this.intl.t('generic.wifi.commandSent'),\n 'info',\n undefined,\n 10000,\n true\n );\n this.profilesWithChanges = [];\n }\n\n /**\n * Revert any unsaved changes to be safe\n */\n rollbackChanges(): void {\n this.device?.rollbackAttributes();\n this.profilesWithChanges.map((p) => p.rollbackAttributes());\n this.profilesWithChanges = [];\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'wifi/devices/device-edit': WifiDeviceEditController;\n }\n}\n","import { action } from '@ember/object';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberWifiDeviceEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type WifiDevice from 'customer-site/models/wifi/device';\nimport type WifiDeviceEditController from './controller';\n\n/**\n * @classdesc\n * Details/edit page for a Wifi connected client device by given ID\n */\nexport default class WifiDeviceEditRoute extends AdcBaseRoute {\n /** @override */\n routeId = EmberWifiDeviceEdit;\n\n /** @override */\n model({ id_device }: { id_device: string }): ADCAsyncStoreFindRecord {\n this.store.findAll('wifi/device-profile');\n return this.store.findRecord('wifi/device', id_device);\n }\n\n /** @override */\n @action\n willTransition(): void {\n (this.controller as WifiDeviceEditController).rollbackChanges();\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport Controller from '@ember/controller';\nimport { action, computed } from '@ember/object';\nimport { gte } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { EmberWifiDeviceEdit, EmberWifiProfileEdit, EmberWifiSettings } from 'customer-site/enums/CustomerPageUrl';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type WifiDevice from 'customer-site/models/wifi/device';\nimport type DeviceProfile from 'customer-site/models/wifi/device-profile';\nimport type { ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\n/**\n * The max number of profiles supported on an IQR2\n */\nconst MaxProfileCount = 16;\n\n/**\n * Min amount of characters in a valid device or profile name\n */\nexport const MinIqrNameLength = 3;\n\n/**\n * Max amount of characters in a valid device or profile name\n */\nexport const MaxIqrNameLength = 32;\n\ntype ResolvedModel = ResolvedModelFrom;\n\n/**\n * @classdesc\n *\n * Controller for Wifi Device list page\n */\nexport default class WifiDevicesIndex extends Controller {\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare intl: ServiceRegistry['adc-intl'];\n\n declare model: ResolvedModel;\n\n /**\n * Should we be displaying the profiles list? Show the devices list if false\n */\n @tracked\n showProfiles = false;\n\n /**\n * Should the offline device section be expanded?\n */\n @tracked\n expandOfflineList = false;\n\n @computed('model.devices.@each.{isOnline,isGuestNetwork}')\n get guestOnlineDevices(): WifiDevice[] {\n return this.model.devices.filter((device) => device.isOnline && device.isGuestNetwork);\n }\n\n @computed('model.devices.@each.isNotGuestOrOffline')\n get nonGuestOnlineDevices(): WifiDevice[] {\n return this.model.devices.filter((device) => device.isNotGuestOrOffline);\n }\n\n /**\n * Filter out categories with no valid display devices\n */\n get validCategoryGroups(): { id: number; title: string; devices: WifiDevice[] }[] {\n const { model, nonGuestOnlineDevices } = this;\n\n return model.groups\n .filter((group) => {\n const categoryIds = model.categories.filter((c) => c.groupId === group.id).map((c) => c.id);\n return nonGuestOnlineDevices.some((d) => categoryIds.includes(d.category.id));\n })\n .map(({ id, desc }) => ({\n id,\n title: desc,\n devices: nonGuestOnlineDevices.filter((d) => d.category.groupId === id)\n }));\n }\n\n /**\n * Get offline devices, sorted by last online date\n */\n @computed('model.devices.@each.isOnline')\n get offlineDevices(): WifiDevice[] {\n return A(this.model.devices.filter((device) => !device.isOnline))\n .sortBy('lastOnlineDate')\n .reverse();\n }\n\n /**\n * Hide the Add Profile button if we already have the max number of profiles\n */\n @gte('model.profiles.length', MaxProfileCount)\n declare hideProfileAdd: boolean;\n\n /**\n * Unmanaged profiles, sorted by name\n */\n @computed('model.profiles.isManagedProfile')\n get unmanagedProfiles(): DeviceProfile[] {\n return A(this.model.profiles.filter((p) => !p.isManagedProfile)).sortBy('name');\n }\n\n @computed('model.profiles.isManagedProfile')\n get managedProfiles(): DeviceProfile[] {\n return this.model.profiles.filter((p) => !p.isManagedProfile);\n }\n\n /**\n * Get devices that are part of a managed profile.\n */\n @computed('managedProfiles.[]', 'model.devices.@each.profile')\n get managedDevices(): WifiDevice[] {\n const profiles = this.managedProfiles.map(({ id }) => id);\n return this.model.devices.filter((device) => profiles.includes(device.belongsTo('profile').id()));\n }\n\n /**\n * Navigate to the details page for a profile\n */\n @action\n goToProfile(profileId: string): void {\n this.navigation.transitionToRouteId(EmberWifiProfileEdit, profileId);\n }\n\n /**\n * Navigate to the details page for a device\n */\n @action\n goToDevice(deviceId: string): void {\n this.navigation.transitionToRouteId(EmberWifiDeviceEdit, deviceId);\n }\n\n /**\n * Navigate to the Wifi Settings Page\n */\n @action\n goToSettings(): void {\n this.navigation.transitionToRouteId(EmberWifiSettings);\n }\n\n /**\n * Toggle whether or not the offline device list is expanded\n */\n @action\n toggleOfflineCategoryDisplay(): void {\n this.expandOfflineList = !this.expandOfflineList;\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'wifi/devices/index': WifiDevicesIndex;\n }\n}\n","import { A } from '@ember/array';\nimport { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberWifiDevices } from 'customer-site/enums/CustomerPageUrl';\nimport { getWifiGroupTranslationKey } from 'customer-site/models/wifi/device-category';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ArrayProxy from '@ember/array/proxy';\nimport type WifiDevice from 'customer-site/models/wifi/device';\nimport type DeviceCategory from 'customer-site/models/wifi/device-category';\nimport type DeviceProfile from 'customer-site/models/wifi/device-profile';\n\nexport type GroupItem = { id: number; desc: string };\n\n/**\n * @classdesc\n * List of Wifi connected client devices\n */\nexport default class WifiDevicesRoute extends AdcBaseRoute {\n @service declare intl: ADCIntlService;\n\n routeId = EmberWifiDevices;\n\n model(): Promise<{\n devices: WifiDevice[];\n profiles: ArrayProxy;\n categories: ArrayProxy;\n groups: GroupItem[];\n }> {\n return (async () => {\n const devices = await this.store.findAll('wifi/device'),\n categories = await this.store.findAll('wifi/device-category');\n\n return {\n devices: A(devices.slice()).sortBy('category.id', 'description'),\n profiles: await this.store.findAll('wifi/device-profile'),\n categories,\n groups: A(categories.map((c) => c.groupId))\n .uniq()\n .map((id) => ({\n id,\n desc: this.intl.t(getWifiGroupTranslationKey(id))\n }))\n };\n })();\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n

\\n {{tc this \\'headerInfo\\' name=@model.profile.name}}\\n

\\n\\n
\\n
{{t \\'generic.devices.devices\\'}}
\\n \\n {{#each deviceList as |device|}}\\n
\\n \\n
\\n {{/each}}\\n
\\n
\\n\\n\",{ moduleName: \"customer-site/components/modals/wifi/profile-add-device/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { reads, or } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { intlPath } from '@adc/i18n/path';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type WifiDevice from 'customer-site/models/wifi/device';\nimport type DeviceProfile from 'customer-site/models/wifi/device-profile';\n\ninterface AddDeviceArgs {\n model: {\n profile: DeviceProfile;\n };\n}\n\nclass WifiDisplayItem {\n @tracked d: WifiDevice;\n\n constructor(d: WifiDevice, isSelected: boolean) {\n this.d = d;\n this.isSelected = isSelected;\n }\n\n @tracked isSelected;\n\n @reads('d.id')\n declare id: string;\n\n @or('d.adcDeviceDesc', 'd.description')\n declare name: string;\n\n @reads('d.category.icon')\n icon?: string;\n}\n\n/**\n * @classdesc\n * A modal to select which devices are attached to a given Wifi Profile\n */\n@intlPath({ path: 'modals/wifi/profile-add-device' })\nexport default class ProfileAddDeviceModal extends Component {\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n @service declare modals: ModalService;\n @service declare notificationManager: NotificationManager;\n\n constructor(owner: unknown, args: AddDeviceArgs) {\n super(owner, args);\n this.localProfileDeviceIds = this.args.model.profile.devices.mapBy('id');\n }\n\n /**\n * List of device IDs selected local to this modal\n */\n @tracked\n localProfileDeviceIds: string[];\n\n /**\n * Get the list of devices from the store\n */\n get devices(): Promise {\n return (async () => {\n const id = this.args.model.profile.id,\n devices = await this.store.findAll('wifi/device');\n\n return devices.filter((d) => {\n const profileId = d.belongsTo('profile').id();\n return profileId === id || profileId === null;\n });\n })();\n }\n\n /**\n * Get the list of devices to display\n */\n get deviceList(): Promise {\n return (async () => {\n const devices = await this.devices;\n return devices.map((d) => new WifiDisplayItem(d, this.localProfileDeviceIds.includes(d.id)));\n })();\n }\n\n /**\n * Updates the cache of device IDs local to this component\n */\n @action\n updateLocalDeviceList(deviceList: WifiDisplayItem[], deviceToAlter: WifiDisplayItem): void {\n deviceToAlter.isSelected = !deviceToAlter.isSelected;\n this.localProfileDeviceIds = deviceList.filterBy('isSelected').mapBy('id');\n }\n\n /**\n * Saves the selected devices to the profile and saves to backend\n */\n @action\n async saveDeviceList(): Promise {\n const { profile } = this.args.model,\n devices = await this.devices;\n\n // DO NOT COPY THIS, PLEASE IMPLEMENT THE SUGGESTION AND TEST.\n // @ts-expect-error This code should be replaced with: `profile.devices.setObjects(devices.filter(({ id }) => this.localProfileDeviceIds.includes(id)));`.\n profile.devices = devices.filter(({ id }) => this.localProfileDeviceIds.includes(id));\n\n // Don't call save if we are operating on a new Profile\n if (profile.id !== null) {\n this.notificationManager.addInfo(this.intl.t('generic.wifi.commandSent'));\n profile.save();\n }\n\n return true;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Wifi::ProfileAddDevice': typeof ProfileAddDeviceModal;\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport Controller from '@ember/controller';\nimport { action, computed, set } from '@ember/object';\nimport { bool, reads } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport ProfileAddDeviceModal from 'customer-site/components/modals/wifi/profile-add-device/index';\nimport { EmberWifiDeviceEdit } from 'customer-site/enums/CustomerPageUrl';\nimport { MaxIqrNameLength, MinIqrNameLength } from '../index/controller';\n\nimport type { Registry as ServiceRegistry } from '@ember/service';\nimport type WifiDetailedSchedule from 'customer-site/models/automation/schedules/wifi-detailed-schedule';\nimport type WifiDevice from 'customer-site/models/wifi/device';\nimport type DeviceProfile from 'customer-site/models/wifi/device-profile';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type WifiProfileEditRoute from './route';\n\n/**\n * Max number of devices that can belong to a single profile\n */\nconst MaxDeviceCount = 16;\n\n/**\n * @classdesc\n * Page for displaying a detailed view to edit/create a Wifi Profile\n */\nexport default class WifiProfilesProfileEdit extends Controller {\n @service declare modals: ServiceRegistry['modals'];\n @service declare contextManager: ServiceRegistry['context-manager'];\n @service declare notificationManager: ServiceRegistry['notification-manager'];\n @service declare intl: ServiceRegistry['adc-intl'];\n @service declare navigation: ServiceRegistry['navigation'];\n @service declare identityManager: ServiceRegistry['identity-manager'];\n\n declare model: ModelFrom;\n\n /**\n * Profile we are displaying/editing\n */\n @tracked\n profile?: DeviceProfile;\n\n /**\n * Profile we are displaying/editing\n */\n @tracked\n schedules: WifiDetailedSchedule[] = [];\n\n @computed('model.profile.devices.[]')\n get devices(): Promise {\n return (async () => {\n const devices = await (await this.model.profile).devices;\n return devices.slice();\n })();\n }\n\n /**\n * Can we edit the profile?\n */\n @bool('profile.isManagedProfile')\n declare isManaged: boolean;\n\n /**\n * returns a regex object of the disallowed characters for the profile's name\n */\n @computed('profile.profileNameDisallowedCharacters')\n get profileNameRegex(): RegExp {\n return new RegExp(this.profile?.profileNameDisallowedCharacters ?? '');\n }\n\n @reads('identityManager.isLoginAsLoginRep')\n declare isLoggedInRep: boolean;\n\n getScheduleDetails = (s: WifiDetailedSchedule): string => {\n return [s.startTime, s.endTime]\n .map((d) =>\n this.intl.formatTimeTz(d, {\n hour: '2-digit',\n minute: '2-digit'\n })\n )\n .join(' - ');\n };\n\n /**\n * Value and error message to load into rename modal\n */\n renameDialogConfig = {\n value: this.profile?.name ?? '',\n error: ''\n };\n\n /**\n * Assign profile once loaded\n */\n @action\n dataLoaded({\n profile,\n schedules\n }: ResolvedModelFrom & { devices: Awaited }): void {\n this.profile = profile;\n this.renameDialogConfig.value = profile.name;\n this.schedules = schedules.filter((s) => s.belongsTo('profile').id() === profile.id);\n }\n\n /**\n * Open the add device modal\n */\n @action\n editDevices(): void {\n if (!this.isLoggedInRep) {\n this.modals.showModal(ProfileAddDeviceModal, {\n profile: this.profile\n });\n }\n }\n\n /**\n * Delete the non-persisted new profile model and go back a page\n */\n @action\n cancelNewProfile(): void {\n this.profile?.deleteRecord();\n this.contextManager.transitionToPreviousRoute();\n }\n\n /**\n * Persist the new profile to the backend\n */\n @action\n async saveNewProfile(): Promise {\n if (!this.profile) {\n return Promise.reject();\n }\n\n if ((this.profile?.devices?.length ?? 0) > MaxDeviceCount) {\n this.notificationManager.addError(this.intl.tc(this, 'tooManyDevices'));\n return Promise.reject();\n }\n\n set(this.profile, 'id', 'new');\n\n this.profile?.save().then(() => {\n this.contextManager.transitionToPreviousRoute();\n this.notificationManager.addInfo(this.intl.t('generic.wifi.commandSent'));\n });\n }\n\n /**\n * Open renaming modal for profile name\n */\n @action\n renameProfile(): void {\n if (!this.isLoggedInRep) {\n this.modals.showRenameModal({\n title: this.intl.tc(this, 'renameTitle'),\n message: '',\n rename: (value: string) => {\n const { profile } = this;\n\n if (!profile) {\n return false;\n }\n\n if (\n !value ||\n value.trim() === '' ||\n value.trim().length < MinIqrNameLength ||\n value.length > MaxIqrNameLength ||\n !this.profileNameRegex.test(value)\n ) {\n set(\n this.renameDialogConfig,\n 'error',\n this.intl.tc(this, 'renameError' + (this.profile?.iqr2Version ?? ''))\n );\n return false;\n }\n\n set(profile, 'name', value);\n profile.save().catch(() => {\n profile.rollbackAttributes();\n return false;\n });\n\n return true;\n },\n output: this.renameDialogConfig\n });\n }\n }\n\n /**\n * Navigate to the details page for a device\n */\n @action\n goToDevice(deviceId: string): void {\n this.navigation.transitionToRouteId(EmberWifiDeviceEdit, deviceId);\n }\n\n /**\n * Display a confirmation modal to delete the current profile\n */\n @action\n deleteProfile(): void {\n this.modals.showDeleteModal({\n delete: async () => {\n await this.profile?.destroyRecord();\n this.contextManager.transitionToPreviousRoute();\n this.notificationManager.addInfo(this.intl.t('generic.wifi.commandSent'));\n }\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'wifi/profiles/profile-edit': WifiProfilesProfileEdit;\n }\n}\n","import { inject as service } from '@ember/service';\nimport AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberWifiProfileEdit } from 'customer-site/enums/CustomerPageUrl';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type WifiDetailedSchedule from 'customer-site/models/automation/schedules/wifi-detailed-schedule';\nimport type DeviceProfile from 'customer-site/models/wifi/device-profile';\n\n/**\n * @classdesc\n * Details/edit page for a Wifi device profile by given ID\n */\nexport default class WifiProfileEditRoute extends AdcBaseRoute {\n @service declare intl: ADCIntlService;\n\n routeId = EmberWifiProfileEdit;\n\n model({ id_profile }: { id_profile: string }): {\n profile: ADCAsyncStoreFindRecord | DeviceProfile;\n schedules: ADCAsyncStoreFindAll;\n } {\n const { store } = this,\n p = 'wifi/device-profile';\n\n return {\n profile:\n id_profile === 'new'\n ? store.createRecord(p, {\n name: this.intl.tc(this, 'newProfile')\n })\n : store.findRecord(p, id_profile),\n schedules: this.store.findAll('automation/schedules/wifi-detailed-schedule')\n };\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
\\n {{#if this.statusItems}}\\n
{{ t \\'generic.status\\' }}
\\n \\n {{/if}}\\n\\n
{{ tc this \\'networkName\\' }}
\\n \\n\\n
{{ tc this \\'encryption\\' }}
\\n \\n\\n {{#if this.showPasswordField}}\\n
{{ tc this \\'password\\' }}
\\n \\n {{/if}}\\n\\n {{#each this.errors as |errorReport|}}\\n
\\n {{errorReport.error}}\\n
\\n {{/each}}\\n\\n {{#if this.showInsecureWarningMessage}}\\n
{{ tc this \\'openWifiWarning\\' }}
\\n {{/if}}\\n\\n {{#if this.showWpsWarningMessage}}\\n
{{ tc this \\'wpsWarning\\' }}
\\n {{/if}}\\n\\n {{#if this.hasChanges}}\\n
{{ tc this \\'rebootWarning\\' }}
\\n {{/if}}\\n
\\n\\n\\n\",{ moduleName: \"customer-site/components/modals/wifi/network-settings/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { computed, action, set, setProperties } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\nimport { inject as service } from '@ember/service';\nimport { Guest, Primary, Security } from 'customer-site/enums/AccessPointWifiGroup';\nimport { Wpa2Personal, Open, Wpa3Personal } from 'customer-site/enums/AelWiFiSecurityProtocol';\nimport { IQRouter2 } from 'customer-site/enums/PanelType';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownSelectItem, { SELECTED, UNSELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type Network from 'customer-site/models/wifi/network';\n\ninterface NetworkSettingsArgs {\n model: { network: Network; hidePassword?: boolean };\n}\n\ninterface NetworkModel {\n id: string;\n devicePanelType: number;\n frequency: string;\n ssid: string;\n isEnabled: boolean;\n networkGroup?: number;\n password: string;\n isVisible: boolean;\n errors: Array;\n encryption: number;\n secondaryNetworkType: number;\n ssidDisallowedCharacters: string;\n ssidPasswordDisallowedCharacters: string;\n iqr2Version: string;\n}\n\ntype ErrorReport = { id: string; error: string };\n\n/**\n * Map group type enums to translation keys\n */\nexport const NetworkGroupMap: Record = {\n [Primary]: 'Primary',\n [Guest]: 'Guest',\n [Security]: 'Security'\n};\n\n/**\n * Map the encryption types to their respective translation keys\n */\nconst EncryptionTypeMap: Record = {\n [Wpa3Personal]: 'wpa3Personal',\n [Wpa2Personal]: 'wpa2Personal',\n [Open]: 'open'\n};\n\n/**\n * @classdesc\n * This is a modal for displaying network settings for one or more wifi/network objects.\n */\n@intlPath({ path: 'modals/wifi/network-settings' })\nexport default class NetworkSettings extends Component {\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n @service declare notificationManager: NotificationManager;\n\n /**\n * Array to keep track of if there are any current error messages.\n */\n @tracked\n errors: Array = [];\n\n /**\n * Checks the network data to determine if errors are present.\n */\n @notEmpty('errors')\n declare containsErrors: boolean;\n\n /**\n * Build a local copy of the network model so we only update the actual model when we save\n */\n @computed('args.model.network')\n get network(): NetworkModel {\n const {\n id,\n devicePanelType,\n frequency,\n ssid,\n isEnabled,\n networkGroup,\n password,\n isVisible,\n encryption,\n secondaryNetworkType,\n ssidDisallowedCharacters,\n ssidPasswordDisallowedCharacters,\n iqr2Version\n } = this.args.model.network;\n return {\n id,\n devicePanelType,\n frequency,\n ssid,\n isEnabled,\n networkGroup,\n password: encryption === Open ? '' : password,\n isVisible,\n encryption,\n secondaryNetworkType,\n ssidDisallowedCharacters,\n ssidPasswordDisallowedCharacters,\n iqr2Version,\n errors: {}\n } as NetworkModel;\n }\n\n /**\n * Get the translated string for network group enum\n */\n @computed('network.{networkGroup,secondaryNetworkType,frequency}')\n get networkGroupString(): string {\n return this.intl.tc(this, NetworkGroupMap[this.network.networkGroup as number].toLowerCase(), {\n frequency: !this.network.secondaryNetworkType ? this.network.frequency : ' '\n });\n }\n\n /**\n * Get the dropdown items for the visibility tab\n */\n @computed('network.isVisible')\n get visibilityItems(): DropdownSelectItem[] {\n const { isVisible } = this.network;\n return [\n ['hidden', !isVisible],\n ['visible', isVisible]\n ].map(([value, state]: [string, boolean]) =>\n DropdownSelectItem.create({\n name: this.intl.tc(this, value),\n value,\n state: state ? SELECTED : UNSELECTED\n })\n );\n }\n\n /**\n * Get the dropdown items for the encryption tab\n */\n @computed('network.{devicePanelType,encryption}')\n get encryptionItems(): DropdownSelectItem[] {\n // TODO - This should not live here long term, it should come from the backend.\n let encryptionList = [Wpa2Personal, Open];\n if (this.network.devicePanelType == IQRouter2) {\n encryptionList = [Wpa2Personal, Wpa3Personal, Open];\n }\n\n return encryptionList.map((encryptionType) =>\n DropdownSelectItem.create({\n name: this.intl.tc(this, EncryptionTypeMap[encryptionType]),\n value: String(encryptionType),\n state: this.network.encryption === encryptionType ? SELECTED : UNSELECTED\n })\n );\n }\n\n /**\n * Get the dropdown items for the status list\n */\n @computed('network.{devicePanelType,isEnabled,networkGroup}')\n get statusItems(): DropdownSelectItem[] {\n return this.network.networkGroup === Guest && this.network.devicePanelType === IQRouter2\n ? [\n DropdownSelectItem.create({\n name: this.intl.t('generic.enabled'),\n value: 'true',\n state: this.network.isEnabled ? SELECTED : UNSELECTED\n }),\n DropdownSelectItem.create({\n name: this.intl.t('generic.disabled'),\n value: 'false',\n state: !this.network.isEnabled ? SELECTED : UNSELECTED\n })\n ]\n : [];\n }\n\n @computed('args.model.hidePassword', 'network.encryption')\n get showPasswordField(): boolean {\n return this.network.encryption !== Open && !this.args.model.hidePassword;\n }\n\n /**\n * If the Primary Network is hidden, display a warning message.\n */\n @computed('network.{networkGroup,isVisible}')\n get showWpsWarningMessage(): boolean {\n return this.network.networkGroup === Primary && !this.network.isVisible;\n }\n\n /**\n * If any the encryption is set to open, show the open wifi warning message.\n */\n @computed('network.encryption')\n get showInsecureWarningMessage(): boolean {\n return this.network.encryption === Open;\n }\n\n /**\n * Does the network settings modal have any changes?\n */\n @computed('args.model.network', 'network.{encryption,isEnabled,isVisible,password,ssid}')\n get hasChanges(): boolean {\n const validKeys: (keyof Network)[] = ['ssid', 'password', 'encryption', 'isVisible', 'isEnabled'];\n\n return validKeys.some((key) => this.args.model.network[key] !== this.network[key as keyof NetworkModel]);\n }\n\n /**\n * Validates the input based on the input type.\n *\n */\n validateInput(type: string, panelType: number, value: string): string | boolean {\n if (type === 'password' && this.network.encryption !== Open && value === '') {\n return this.intl.tc(this, type + 'Requirements');\n }\n\n let subType = '';\n const regex: { [key: string]: RegExp } = {\n ssid: new RegExp('^.{1,32}$'),\n password: new RegExp(\"^(|[^&()|<>\\\\\\\\' ;]{8,64})$\")\n };\n\n if (panelType === IQRouter2) {\n regex['ssid'] = new RegExp(this.network.ssidDisallowedCharacters);\n regex['password'] = new RegExp(this.network.ssidPasswordDisallowedCharacters);\n subType = 'IQR2';\n }\n\n return regex[type].test(value)\n ? false\n : this.intl.tc(this, type + subType + this.network.iqr2Version + 'Requirements');\n }\n\n /**\n * Triggered when user inputs different group name in textfield.\n */\n @action\n networkPropertyChanged(parameter: keyof NetworkModel, value: string): void {\n const { network } = this,\n errorReport = { id: network.id + parameter, error: '' },\n errorMessage = (errorReport.error = this.validateInput(\n parameter,\n this.network.devicePanelType,\n value\n ) as string);\n\n this.errors = this.errors.rejectBy('id', errorReport.id);\n set(network, ('errors.' + parameter) as keyof NetworkModel, '');\n if (errorMessage) {\n this.errors.push(errorReport);\n set(network, ('errors.' + parameter) as keyof NetworkModel, errorMessage);\n }\n\n set(network, parameter, value);\n }\n\n /**\n * Change the visibility of this network\n */\n @action\n changeVisibility(updatedVisibility: string): void {\n set(this.network, 'isVisible', updatedVisibility === 'visible');\n }\n\n /**\n * Update the network's encryption setting\n */\n @action\n changeEncryption(updatedEncryption: string): void {\n set(this.network, 'encryption', Number(updatedEncryption));\n }\n\n /**\n * Update the network's status (enabled, disabled)\n */\n @action\n changeStatus(updatedStatus: string): void {\n set(this.network, 'isEnabled', updatedStatus === 'true');\n }\n\n @action\n saveChanges(): boolean {\n // Don't make any API calls if no changes have been made\n // This ensures the device only reboots if there were changes\n if (!this.hasChanges) {\n return true;\n }\n\n if (!this.containsErrors) {\n const { network } = this.args.model,\n { ssid, isVisible, password, isEnabled, encryption } = this.network;\n\n setProperties(network, {\n ssid,\n isVisible,\n password,\n isEnabled,\n encryption\n });\n\n network.save().then(() => {\n this.notificationManager.addInfo(this.intl.t('generic.wifi.newSettingSaved'));\n });\n\n return true;\n }\n\n return false;\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Wifi::NetworkSettings': typeof NetworkSettings;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
\\n
{{t \\'generic.wifi.ipAddress\\'}}
\\n
\\n
\\n \\n
\\n \\n
\\n\\n
\\n {{t \\'generic.wifi.protocol\\'}}\\n
\\n \\n
\\n {{t \\'generic.wifi.externalPort\\'}}\\n
\\n \\n\\n
\\n {{t \\'generic.wifi.internalPort\\'}}\\n
\\n \\n\\n {{#each-in this.localModelData.errors as |_ error|}}\\n
\\n {{ error }}\\n
\\n {{/each-in}}\\n
\\n\\n\",{ moduleName: \"customer-site/components/modals/wifi/port-forwarding/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport { Tcp, Udp, TcpUdp } from 'customer-site/enums/CameraConnectionProtocol';\nimport { ProtocolTranslationMap } from 'customer-site/models/wifi/port-forwarding-rule';\nimport {\n propertyChanged,\n hasErrors,\n hasChanges,\n ipRangeValidation,\n portValidation,\n ipRangesFromNetmask\n} from 'customer-site/utils/wifi-validation';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownSelectItem, { SELECTED, UNSELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type { ValidationRules } from 'customer-site/utils/wifi-validation';\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type IqRouter from 'customer-site/models/devices/iq-router';\nimport type Client from 'customer-site/models/wifi/client';\nimport type PortForwardingRule from 'customer-site/models/wifi/port-forwarding-rule';\nimport type AjaxService from 'customer-site/services/ajax';\n\ninterface ModalsWifiPortForwardingSignature {\n Args: {\n model: {\n settingConfig?: PortForwardingRule;\n controller: IqRouter;\n clients: Client[];\n };\n };\n}\n\ninterface LocalModelConfig {\n id: string;\n ipAddress: string;\n internalPort: string;\n externalPort: string;\n protocol: number;\n errors: Record;\n}\n\n/**\n * @classdesc\n * Modal to handle editing and creating port forwarding rules\n */\n@intlPath({ path: 'modals/wifi/port-forwarding' })\nexport default class ModalsWifiPortForwarding extends Component {\n @service declare intl: ADCIntlService;\n @service declare store: Store;\n @service declare notificationManager: NotificationManager;\n @service declare ajax: AjaxService;\n\n constructor(owner: unknown, args: ModalsWifiPortForwardingSignature['Args']) {\n super(owner, args);\n\n const { id, ipAddress, internalPort, externalPort, protocol } = this.args.model.settingConfig ?? {};\n this.localModelData = {\n id: id ?? '',\n ipAddress: ipAddress ?? '',\n internalPort: internalPort ?? '80',\n externalPort: externalPort ?? '80',\n protocol: protocol ?? TcpUdp,\n errors: {}\n };\n this.clients = args.model.clients;\n this.controller = args.model.controller;\n\n this.validationRules = {\n protocol: { validation: 'none', message: '' },\n ipAddress: {\n validation: ipRangeValidation,\n message: this.intl.t(\n 'generic.wifi.ipAddressRequirements',\n ipRangesFromNetmask(this.controller.netmask)\n ),\n args: { netmask: this.controller.netmask }\n },\n externalPort: { validation: portValidation, message: this.intl.tc(this, 'portRequirements') },\n internalPort: { validation: portValidation, message: this.intl.tc(this, 'portRequirements') }\n };\n\n // Set IP List\n this.knownIpAddresses = [];\n if (this.localModelData.ipAddress === '' || this.clients.any((c) => c.ipAddress === ipAddress)) {\n this.showCustomIp = false;\n this.setKnownIpAddresses(this.clients, ipAddress);\n } else {\n this.showCustomIp = true;\n }\n }\n\n /**\n * Validation configuration\n */\n validationRules: ValidationRules;\n\n /**\n * Controller\n */\n @tracked\n controller: IqRouter;\n\n /**\n * The local Port forwarding rule\n */\n @tracked\n localModelData: LocalModelConfig;\n\n /**\n * Client list\n */\n @tracked\n clients: Client[];\n\n /**\n * Should we show the custom ip textbox?\n */\n @tracked\n showCustomIp: boolean;\n\n /**\n * IP Address List\n */\n @tracked\n knownIpAddresses: DropdownSelectItem[];\n\n /**\n * Get the dropdown items for known ip addresses\n */\n setKnownIpAddresses(clients: Client[], selectedIp = ''): void {\n const options: Array = [];\n\n if (selectedIp === '') {\n options.push(\n DropdownSelectItem.create({ name: this.intl.tc(this, 'selectAnIpAddress'), value: '', state: SELECTED })\n );\n }\n\n clients.forEach((c) =>\n options.push(\n DropdownSelectItem.create({\n name:\n c.ipAddress +\n ' (' +\n c.macAddress.slice(-5) +\n ' - ' +\n (c.description ?? this.intl.t('generic.unknown')) +\n ')',\n value: c.ipAddress,\n state: c.ipAddress === selectedIp ? SELECTED : UNSELECTED\n })\n )\n );\n options.push(\n DropdownSelectItem.create({ name: this.intl.tc(this, 'enterCustomIp'), value: 'custom', state: UNSELECTED })\n );\n\n this.knownIpAddresses = options;\n }\n\n /**\n * Get the list of internet protocol options\n */\n get protocolDropdownItems(): DropdownSelectItem[] {\n return [Tcp, Udp, TcpUdp].map((value: number) =>\n DropdownSelectItem.create({\n name: this.intl.t(`generic.wifi.${ProtocolTranslationMap[value]}`),\n value: String(value),\n state: this.localModelData?.protocol === value ? SELECTED : UNSELECTED\n })\n );\n }\n\n /**\n * Does the modal have any changes?\n */\n get hasChanges(): boolean {\n return hasChanges(this.localModelData, this.args.model.settingConfig ?? {}, this.validationRules);\n }\n\n /**\n * Triggered when user changes a property on the form.\n */\n @action\n propertyChanged(property: string, value: string): void {\n if (property === 'ipAddress' && value === 'custom') {\n this.showCustomIp = true;\n return;\n }\n\n // Remove 'textbox' from the property name if the user is entering a custom mac/ip\n if (property.slice(-7) === 'Textbox') {\n property = property.slice(0, -7);\n }\n\n propertyChanged(this.localModelData, property, value, this.validationRules);\n }\n\n /**\n * Does *any* property of the modal have an error?\n */\n get hasErrors(): boolean {\n return hasErrors(this.localModelData, this.validationRules);\n }\n\n /**\n * Update local rule's protocol\n */\n @action\n updateProtocol(value: string): void {\n set(this.localModelData, 'protocol', Number(value));\n }\n\n /**\n * Save the current rule\n */\n @action\n saveRule(): boolean | Promise {\n if (this.hasErrors) {\n return false;\n }\n\n if (!this.hasChanges) {\n return true;\n }\n\n return (async () => {\n try {\n await this.ajax.apiRequest(\n 'api/devices/iqRouters/portForwarding',\n undefined,\n {\n ...this.localModelData\n },\n 'POST'\n );\n } catch (err) {\n err.errors.forEach((error: { detail: string }) => this.notificationManager.addError(error.detail));\n return false;\n }\n\n this.notificationManager.addInfo(this.intl.t('generic.wifi.newSettingSaved'));\n\n return true;\n })();\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Wifi::PortForwarding': typeof ModalsWifiPortForwarding;\n }\n}\n","import { precompileTemplate } from \"@ember/template-compilation\";\nexport default precompileTemplate(\"\\n
\\n
{{ t \\'generic.macAddress\\' }}
\\n
\\n
\\n \\n
\\n \\n
\\n\\n
{{ t \\'generic.ipAddress\\' }}
\\n
\\n
\\n \\n
\\n \\n
\\n
{{ tc this \\'ipChangeWarning\\' }}
\\n\\n {{#each-in this.localModelData.errors as |_ error|}}\\n
\\n {{ error }}\\n
\\n {{/each-in}}\\n
\\n\\n\\n\",{ moduleName: \"customer-site/components/modals/wifi/static-leases/index.hbs\" })","/* import __COLOCATED_TEMPLATE__ from './index.hbs'; */\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport {\n propertyChanged,\n hasErrors,\n hasChanges,\n ipRangeValidation,\n ipRangesFromNetmask\n} from 'customer-site/utils/wifi-validation';\nimport { intlPath } from '@adc/i18n/path';\nimport DropdownSelectItem, { SELECTED, UNSELECTED } from '@adc/ui-components/utils/dropdown-select-item';\n\nimport type { ValidationRules } from 'customer-site/utils/wifi-validation';\nimport './_style.scss';\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type IqRouter from 'customer-site/models/devices/iq-router';\nimport type Client from 'customer-site/models/wifi/client';\nimport type StaticLease from 'customer-site/models/wifi/static-lease';\nimport type AjaxService from 'customer-site/services/ajax';\n\ninterface StaticLeasesSignature {\n Args: {\n model: {\n settingConfig?: StaticLease;\n controller: IqRouter;\n clients: Client[];\n };\n };\n}\n\ninterface LocalModelConfig {\n id: string;\n ipAddress: string;\n macAddress: string;\n oldMacAddress: string;\n oldIpAddress: string;\n errors: Record;\n}\n\n/**\n * @classdesc\n * This is a modal for displaying network settings for one or more wifi/network objects.\n */\n@intlPath({ path: 'modals/wifi/static-leases' })\nexport default class StaticLeases extends Component {\n @service declare store: Store;\n @service declare intl: ADCIntlService;\n @service declare modals: ModalService;\n @service declare ajax: AjaxService;\n @service declare notificationManager: NotificationManager;\n\n constructor(owner: unknown, args: StaticLeasesSignature['Args']) {\n super(owner, args);\n\n const { id, ipAddress, macAddress } = this.args.model.settingConfig ?? {};\n this.localModelData = {\n id: id ?? '',\n ipAddress: ipAddress ?? '',\n macAddress: macAddress ?? '',\n oldIpAddress: ipAddress ?? '',\n oldMacAddress: macAddress ?? '',\n errors: {}\n };\n this.clients = args.model.clients;\n this.controller = args.model.controller;\n this.knownMacAddresses = [];\n this.knownIpAddresses = [];\n\n // Set IP List\n if (this.localModelData.ipAddress === '' || this.clients.any((c) => c.ipAddress === ipAddress)) {\n this.showCustomIp = false;\n this.setKnownIpAddresses(this.clients, ipAddress);\n } else {\n this.showCustomIp = true;\n }\n\n this.validationRules = {\n macAddress: { validation: 'mac', message: this.intl.tc(this, 'macAddressRequirements') },\n ipAddress: {\n validation: ipRangeValidation,\n message: this.intl.t(\n 'generic.wifi.ipAddressRequirements',\n ipRangesFromNetmask(this.controller.netmask)\n ),\n args: { netmask: this.controller.netmask }\n }\n };\n\n // Set MAC List\n if (this.localModelData.macAddress === '' || this.clients.any((c) => c.macAddress === macAddress)) {\n this.showCustomMac = false;\n this.setKnownMacAddresses(this.clients, macAddress);\n } else {\n this.showCustomMac = true;\n }\n }\n\n /**\n * Validation configuration\n */\n validationRules: ValidationRules;\n\n /**\n * Controller\n */\n @tracked\n controller: IqRouter;\n\n /**\n * Cached static lease configuration\n */\n @tracked\n localModelData: LocalModelConfig;\n\n /**\n * Should we show the custom mac textbox?\n */\n @tracked\n showCustomMac: boolean;\n\n /**\n * Should we show the custom ip textbox?\n */\n @tracked\n showCustomIp: boolean;\n\n /**\n * Client list\n */\n @tracked\n clients: Client[];\n\n /**\n * MAC Address List\n */\n @tracked\n knownMacAddresses: DropdownSelectItem[];\n\n /**\n * IP Address List\n */\n @tracked\n knownIpAddresses: DropdownSelectItem[];\n\n /**\n * Get the dropdown items for known ip addresses\n */\n setKnownIpAddresses(clients: Client[], selectedIp = ''): void {\n const options: Array = [];\n\n if (selectedIp === '') {\n options.push(\n DropdownSelectItem.create({ name: this.intl.tc(this, 'selectAnIpAddress'), value: '', state: SELECTED })\n );\n }\n\n clients.forEach((c) =>\n options.push(\n DropdownSelectItem.create({\n name:\n c.ipAddress +\n ' (' +\n c.macAddress.slice(-5) +\n ' - ' +\n (c.description ?? this.intl.t('generic.unknown')) +\n ')',\n value: c.ipAddress,\n state: c.ipAddress === selectedIp ? SELECTED : UNSELECTED\n })\n )\n );\n options.push(\n DropdownSelectItem.create({ name: this.intl.tc(this, 'enterCustomIp'), value: 'custom', state: UNSELECTED })\n );\n\n this.knownIpAddresses = options;\n }\n\n /**\n * Get the dropdown items for known mac addresses\n */\n setKnownMacAddresses(clients: Client[], selectedMac = ''): void {\n const options: Array = [];\n\n if (selectedMac == '') {\n options.push(\n DropdownSelectItem.create({ name: this.intl.tc(this, 'selectAMacAddress'), value: '', state: SELECTED })\n );\n }\n\n clients.forEach((c) =>\n options.push(\n DropdownSelectItem.create({\n name: c.macAddress + ' (' + (c.description ?? this.intl.t('generic.unknown')) + ')',\n value: c.macAddress,\n state: c.macAddress === selectedMac ? SELECTED : UNSELECTED\n })\n )\n );\n options.push(\n DropdownSelectItem.create({\n name: this.intl.tc(this, 'enterCustomMac'),\n value: 'custom',\n state: UNSELECTED\n })\n );\n\n this.knownMacAddresses = options;\n }\n\n /**\n * Does the modal have any changes?\n */\n get hasChanges(): boolean {\n return hasChanges(this.localModelData, this.args.model.settingConfig ?? {}, this.validationRules);\n }\n\n /**\n * Triggered when user changes a property on the form.\n */\n @action\n propertyChanged(property: string, value: string): void {\n if (property === 'macAddress' && value === 'custom') {\n // This should never be set back to false once it is true.\n this.showCustomMac = true;\n return;\n }\n\n if (property === 'ipAddress' && value === 'custom') {\n this.showCustomIp = true;\n return;\n }\n\n // Remove 'textbox' from the property name if the user is entering a custom mac/ip\n if (property.slice(-7) === 'Textbox') {\n property = property.slice(0, -7);\n }\n\n // Select the corresponding IP Address, if none is selected already.\n if (property === 'macAddress' && this.localModelData.ipAddress === '') {\n this.clients.forEach((c) => {\n if (c.macAddress === value) {\n this.localModelData.ipAddress = c.ipAddress;\n this.setKnownIpAddresses(this.clients, c.ipAddress);\n }\n });\n }\n\n propertyChanged(this.localModelData, property, value, this.validationRules);\n }\n\n /**\n * Does *any* property of the modal have an error?\n */\n get hasErrors(): boolean {\n return hasErrors(this.localModelData, this.validationRules);\n }\n\n /**\n * Save the current rule\n */\n @action\n async saveData(): Promise {\n if (this.hasErrors) {\n return Promise.reject();\n }\n\n if (!this.hasChanges) {\n return true;\n }\n\n try {\n await this.ajax.apiRequest(\n 'api/devices/iqRouters/staticLeases',\n undefined,\n {\n ...this.localModelData,\n isUpdating: this.localModelData.id !== ''\n },\n 'POST'\n );\n\n this.notificationManager.addInfo(this.intl.t('generic.wifi.newSettingSaved'));\n\n return true;\n } catch (err) {\n err.errors.forEach((error: { detail: string }) => this.notificationManager.addError(error.detail));\n return Promise.reject();\n }\n }\n}\n\ndeclare module '@glint/environment-ember-loose/registry' {\n export default interface Registry {\n 'Modals::Wifi::StaticLeases': typeof StaticLeases;\n }\n}\n","import { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport Controller from '@ember/controller';\nimport { action, set } from '@ember/object';\nimport { inject as service } from '@ember/service';\nimport NetworkSettings from 'customer-site/components/modals/wifi/network-settings/index';\nimport ModalsWifiPortForwarding from 'customer-site/components/modals/wifi/port-forwarding/index';\nimport StaticLeases from 'customer-site/components/modals/wifi/static-leases/index';\nimport { Security } from 'customer-site/enums/AccessPointWifiGroup';\n\nimport type ADCIntlService from '@adc/i18n/services/adc-intl';\nimport type ModalService from '@adc/ui-components/services/modals';\nimport type NotificationManager from '@adc/ui-components/services/notification-manager';\nimport type Store from '@ember-data/store';\nimport type IqRouter from 'customer-site/models/devices/iq-router';\nimport type Network from 'customer-site/models/wifi/network';\nimport type PortForwardingRule from 'customer-site/models/wifi/port-forwarding-rule';\nimport type StaticLease from 'customer-site/models/wifi/static-lease';\nimport type AjaxService from 'customer-site/services/ajax';\nimport type ContextManager from 'customer-site/services/context-manager';\nimport type { ModelFrom, ResolvedModelFrom } from 'customer-site/utils/type-utils';\nimport type Route from './route';\n\ntype ModelType = ModelFrom;\n\n/**\n * The controller for the Wifi Settings index route.\n */\nexport default class SettingsController extends Controller {\n @service declare ajax: AjaxService;\n @service declare modals: ModalService;\n @service declare store: Store;\n @service declare contextManager: ContextManager;\n @service declare notificationManager: NotificationManager;\n @service declare intl: ADCIntlService;\n\n declare model: ModelType;\n @tracked resolvedModel?: ResolvedModelFrom;\n\n /**\n * Return the devices sorted with the controller at the top\n */\n get sortedDevices(): IqRouter[] {\n const devices = this.resolvedModel?.devices;\n return devices ? A(devices.slice()).sortBy('isController').reverse() : [];\n }\n\n /**\n * Return an array of networks (without security networks), sorted by group.\n */\n get sortedNetworks(): Network[] {\n const networks = this.resolvedModel?.networks;\n return networks\n ? A(networks.filter(({ networkGroup }) => networkGroup !== Security)).sortBy('networkGroup')\n : [];\n }\n\n get controllerDevice(): IqRouter | undefined {\n return this.resolvedModel?.devices.find((d) => d.isController);\n }\n\n /**\n * Display a network settings modal, displaying all of the supplied networks to save their settings\n */\n @action\n showSettingsModal(network: Network): void {\n this.modals.showModal(\n NetworkSettings,\n {\n network,\n hidePassword: !this.controllerDevice?.canViewSensitiveData\n },\n () => {\n // Roll back the models when the modal is closed.\n // When the user clicks save, the store saves the records before rollback.\n network.rollbackAttributes();\n return true;\n }\n );\n }\n\n /**\n * Update a device description and save\n */\n @action\n deviceNameChanged(device: IqRouter, value: string): void {\n if (device.description !== value) {\n set(device, 'description', value);\n device.save();\n }\n }\n\n /**\n * Reboot network\n */\n @action\n rebootNetworkClicked(): Promise {\n const { intl, notificationManager } = this;\n return this.modals.showConfirmationDialog(\n intl.tc(this, 'rebootNetwork'),\n intl.tc(this, 'rebootConfirmation'),\n {\n action: () => {\n return;\n },\n text: intl.t('generic.cancel')\n },\n {\n action: () => {\n this.ajax\n .apiRequest('api/devices/iqRouters/rebootNetwork', undefined, undefined, 'POST')\n .then(() => {\n notificationManager.addNotification(\n intl.tc(this, 'rebootMessage'),\n 'info',\n undefined,\n 10000,\n false\n );\n })\n .catch(() => {\n notificationManager.addError(intl.tc(this, 'noPermissions'));\n });\n },\n css: 'btn-color-primary',\n text: intl.t('generic.reboot')\n }\n );\n }\n\n /**\n * Add a new port forwarding rule or static lease\n */\n @action\n addNewSetting(type: 'port-fowarding' | 'static-leases'): void {\n this.editSetting(type);\n }\n\n /**\n * Edit a port forwarding rule or static lease\n */\n @action\n async editSetting(\n type: 'port-fowarding' | 'static-leases',\n setting?: StaticLease | PortForwardingRule\n ): Promise {\n this.modals.showModal(type === 'static-leases' ? StaticLeases : ModalsWifiPortForwarding, {\n settingConfig: setting,\n controller: this.controllerDevice,\n clients: await this.store.findAll('wifi/client')\n });\n }\n\n /**\n * Delete a given port forwarding rule\n */\n @action\n deletePortForwardingRule(rule: PortForwardingRule): void {\n this.modals.showDeleteModal({\n delete: async () => {\n await this.ajax\n .apiRequest('api/devices/iqRouters/portForwarding', undefined, { id: rule.id }, 'DELETE')\n .then(() => {\n rule.unloadRecord();\n })\n .catch(() => {\n this.notificationManager.addError(this.intl.tc(this, 'noPermissions'));\n return false;\n });\n }\n });\n }\n\n /**\n * Delete a given static lease\n */\n @action\n deleteStaticLease(lease: StaticLease): void {\n const { ipAddress, macAddress } = lease;\n this.modals.showDeleteModal({\n delete: async () => {\n await this.ajax\n .apiRequest(\n 'api/devices/iqRouters/staticLeases',\n undefined,\n { ipAddress, macAddress },\n 'DELETE'\n )\n .then(() => {\n lease.unloadRecord();\n })\n .catch(() => {\n this.notificationManager.addError(this.intl.tc(this, 'noPermissions'));\n return false;\n });\n }\n });\n }\n}\n\n// DO NOT DELETE: this is how TypeScript knows how to look up your controllers.\ndeclare module '@ember/controller' {\n interface Registry {\n 'wifi/settings': SettingsController;\n }\n}\n","import AdcBaseRoute from 'customer-site/classes/base-route';\nimport { EmberWifiSettings } from '../../enums/CustomerPageUrl';\n\nimport type IqRouter from 'customer-site/models/devices/iq-router';\nimport type Network from 'customer-site/models/wifi/network';\n\n/**\n * @classdesc\n *\n * Settings page for Wifi Devices\n */\nexport default class Route extends AdcBaseRoute {\n routeId = EmberWifiSettings;\n\n model(): {\n devices: ADCAsyncStoreFindAll;\n networks: ADCAsyncStoreFindAll;\n } {\n // Begin the process of gathering all the most up to date data from the device.\n // This is necessary because the device does not reliably tell the backend when something changes.\n // Note: This generates 10+ messages to the device every time this page is loaded.\n // We should work to eliminate the need for it.\n this.ajax.apiRequest('api/devices/iqRouters/refreshDeviceData', undefined, undefined, 'POST');\n\n return {\n devices: this.store.findAll('devices/iq-router'),\n networks: this.store.findAll('wifi/network')\n };\n }\n}\n"],"names":["createTemplateFactory","scope","pageView_","insetGroup_","wifiProfileIcon_","get","await_","wifiTitledButton_","t_","concat","t_0","simpleList_","simpleListItem_","hash","simpleListChevronValue_","tc_","and_","not_","buttonSimple_","on","isMobileApp_","buttonNative_","searchToolbar_","fn","wifiPauseIcon_","simpleListCircle_","tc_0","buttonIcon_","array","svgSymbol_","eq_","inlineAlert_","wifiDeviceRow_","expandButton_","guidFor_","promiseHashTracked_","formGroup_","textInput_","actionButtons_","navigateToRouteName_","media_","coalesce_","d","window","define","esc","require","WifiDeviceRow","_class","Component","constructor","arguments","_initializerDefineProperty","_descriptor","_defineProperty","isOnline","isPaused","this","intl","t","id","action","args","undefined","_applyDecoratedDescriptor","prototype","service","configurable","enumerable","writable","initializer","setComponentTemplate","TEMPLATE","WifiPauseIcon","templateOnlyComponent","WifiProfileIcon","WifiTitledButton","modalsDialogModalsSimpleSimpleDialog_","getModalButton_","CategorySelectModal","_dec","intlPath","path","_dec2","computed","_class2","owner","super","_descriptor2","_descriptor3","_descriptor4","_buildTask","context","generator","categories","store","findAll","categoryRecords","toArray","drop","localCategoryId","model","selectedCategoryId","getCategories","perform","groups","mapBy","uniq","sort","map","groupId","desc","getWifiGroupTranslationKey","filterBy","sortBy","saveSelection","newCategory","findBy","updateCategory","Promise","reject","tracked","Object","getOwnPropertyDescriptor","ProfileDisplayItem","reads","_dec3","isSelected","length","_descriptor5","ProfileSelectModal","_dec4","_class3","_descriptor6","_descriptor7","_descriptor8","selectedProfileId","profileRows","then","res","filter","p","isManagedProfile","selectProfile","profile","currentlySelected","forEach","_rows$findBy","newProfile","updateProfile","WifiDeviceEditController","Controller","_this$device$descript","_this$device","value","device","description","error","configItems","_device$adcDeviceDesc","_profile$name","_profile$isManagedPro","_objectSpread","getItem","category","selectCategory","hideArrow","isEmpty","adcDeviceDesc","String","renameDevice","name","deviceNameRegex","_this$device$wifiDevi","_this$device2","RegExp","wifiDeviceDisallowedCharacters","statusItems","statusList","nodeName","connectionFrequencyString","isWired","push","networkGroupString","signalStrength","deviceInfoItems","itemList","hostname","macAddress","manufacturer","ipAddress","formatDateTz","lastOnlineDate","month","day","year","title","dataLoaded","renameDialogConfig","modals","showModal","set","saveDevice","oldProfileId","belongsTo","profilesWithChanges","oldProfile","peekRecord","devices","setObjects","host","slice","_this$device3","navigation","transitionToRouteId","EmberManageDevices","showRenameModal","tc","message","rename","_this$device$iqr2Vers","_this$device4","trim","MinIqrNameLength","MaxIqrNameLength","test","iqr2Version","output","togglePause","forgetDevice","showConfirmationDialog","deviceName","text","css","async","ajax","apiRequest","notificationManager","addNotification","EmberWifiDevices","ex","addError","save","all","rollbackChanges","_this$device5","rollbackAttributes","WifiDeviceEditRoute","AdcBaseRoute","EmberWifiDeviceEdit","_ref","id_device","findRecord","willTransition","controller","WifiDevicesIndex","gte","_dec5","_dec6","_dec7","guestOnlineDevices","isGuestNetwork","nonGuestOnlineDevices","isNotGuestOrOffline","validCategoryGroups","group","categoryIds","c","some","includes","offlineDevices","A","reverse","unmanagedProfiles","profiles","managedProfiles","managedDevices","_ref2","goToProfile","profileId","EmberWifiProfileEdit","goToDevice","deviceId","goToSettings","EmberWifiSettings","toggleOfflineCategoryDisplay","expandOfflineList","WifiDevicesRoute","asyncLoader_","WifiDisplayItem","or","ProfileAddDeviceModal","_descriptor9","_descriptor10","localProfileDeviceIds","deviceList","updateLocalDeviceList","deviceToAlter","saveDeviceList","addInfo","WifiProfilesProfileEdit","bool","_this$profile$name","_this$profile","s","startTime","endTime","formatTimeTz","hour","minute","join","profileNameRegex","_this$profile$profile","_this$profile2","profileNameDisallowedCharacters","schedules","editDevices","isLoggedInRep","cancelNewProfile","_this$profile3","deleteRecord","contextManager","transitionToPreviousRoute","saveNewProfile","_this$profile$devices","_this$profile4","_this$profile5","renameProfile","_this$profile$iqr2Ver","_this$profile6","catch","deleteProfile","showDeleteModal","delete","_this$profile7","destroyRecord","WifiProfileEditRoute","id_profile","createRecord","dropdownSelectSingleSelect_","passwordInput_","NetworkGroupMap","Primary","Guest","Security","EncryptionTypeMap","Wpa3Personal","Wpa2Personal","Open","NetworkSettings","notEmpty","_dec8","_dec9","_dec10","_dec11","network","devicePanelType","frequency","ssid","isEnabled","networkGroup","password","isVisible","encryption","secondaryNetworkType","ssidDisallowedCharacters","ssidPasswordDisallowedCharacters","errors","toLowerCase","visibilityItems","state","DropdownSelectItem","create","SELECTED","UNSELECTED","encryptionItems","encryptionList","IQRouter2","encryptionType","showPasswordField","hidePassword","showWpsWarningMessage","showInsecureWarningMessage","hasChanges","key","validateInput","type","panelType","subType","regex","networkPropertyChanged","parameter","errorReport","errorMessage","rejectBy","changeVisibility","updatedVisibility","changeEncryption","updatedEncryption","Number","changeStatus","updatedStatus","saveChanges","containsErrors","setProperties","ModalsWifiPortForwarding","_this$args$model$sett","internalPort","externalPort","protocol","settingConfig","localModelData","TcpUdp","clients","validationRules","validation","ipRangeValidation","ipRangesFromNetmask","netmask","portValidation","knownIpAddresses","any","showCustomIp","setKnownIpAddresses","selectedIp","options","_c$description","protocolDropdownItems","Tcp","Udp","_this$localModelData","ProtocolTranslationMap","_this$args$model$sett2","propertyChanged","property","hasErrors","updateProtocol","saveRule","err","detail","StaticLeases","_descriptor11","_descriptor12","oldIpAddress","oldMacAddress","knownMacAddresses","showCustomMac","setKnownMacAddresses","selectedMac","_c$description2","saveData","isUpdating","SettingsController","sortedDevices","_this$resolvedModel","resolvedModel","sortedNetworks","_this$resolvedModel2","networks","controllerDevice","_this$resolvedModel3","find","isController","showSettingsModal","_this$controllerDevic","canViewSensitiveData","deviceNameChanged","rebootNetworkClicked","addNewSetting","editSetting","setting","deletePortForwardingRule","rule","unloadRecord","deleteStaticLease","lease","Route"],"sourceRoot":""}