@openremote/manager 1.8.0-snapshot.20250725120000 → 1.8.0-snapshot.20250725123024

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/bundle.5f4402fd359cc316.js +3678 -0
  2. package/dist/bundle.ddd2e478dcd11d3c.js +3678 -0
  3. package/dist/images/Icon-128.png +0 -0
  4. package/dist/images/Icon-144.png +0 -0
  5. package/dist/images/Icon-196.png +0 -0
  6. package/dist/images/Icon-256.png +0 -0
  7. package/dist/images/Icon-48.png +0 -0
  8. package/dist/images/Icon-512.png +0 -0
  9. package/dist/images/Icon-72.png +0 -0
  10. package/dist/images/favicon.ico +0 -0
  11. package/dist/index.html +19 -0
  12. package/dist/modules/@webcomponents/webcomponentsjs/CHANGELOG.md +76 -0
  13. package/dist/modules/@webcomponents/webcomponentsjs/LICENSE.md +19 -0
  14. package/dist/modules/@webcomponents/webcomponentsjs/README.md +259 -0
  15. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js +1 -0
  16. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js.map +1 -0
  17. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_dom.js +1 -0
  18. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_dom.js.map +1 -0
  19. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_js.js +1 -0
  20. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_js.js.map +1 -0
  21. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +1 -0
  22. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +1 -0
  23. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js +1 -0
  24. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +1 -0
  25. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js +1 -0
  26. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js.map +1 -0
  27. package/dist/modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js +1 -0
  28. package/dist/modules/@webcomponents/webcomponentsjs/package.json +51 -0
  29. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +1 -0
  30. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +1 -0
  31. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +1 -0
  32. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_dom-index.js +1 -0
  33. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_js-index.js +1 -0
  34. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +1 -0
  35. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +1 -0
  36. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +1 -0
  37. package/dist/modules/@webcomponents/webcomponentsjs/src/flag-parser.js +1 -0
  38. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/baseuri.js +1 -0
  39. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/after.js +1 -0
  40. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/before.js +1 -0
  41. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/index.js +1 -0
  42. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/remove.js +1 -0
  43. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/replace-with.js +1 -0
  44. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/custom-event.js +1 -0
  45. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/es6-misc.js +1 -0
  46. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/event-listener-options.js +1 -0
  47. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/get-attribute-names.js +1 -0
  48. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/matches.js +1 -0
  49. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/append.js +1 -0
  50. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/index.js +1 -0
  51. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/prepend.js +1 -0
  52. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/replace-children.js +1 -0
  53. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/promise.js +1 -0
  54. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/svg-element-class-list.js +1 -0
  55. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/symbol.js +1 -0
  56. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/toggle-attribute.js +1 -0
  57. package/dist/modules/@webcomponents/webcomponentsjs/src/unresolved.js +1 -0
  58. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.d.ts +175 -0
  59. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js +1 -0
  60. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.map +1 -0
  61. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +1 -0
  62. package/index.html +88 -88
  63. package/lib/components/alarms/or-alarms-table.js +56 -56
  64. package/lib/components/configuration/or-conf-json.js +25 -25
  65. package/lib/components/configuration/or-conf-map/or-conf-map-card.js +177 -177
  66. package/lib/components/configuration/or-conf-map/or-conf-map-geojson.js +24 -24
  67. package/lib/components/configuration/or-conf-map/or-conf-map-global.js +153 -153
  68. package/lib/components/configuration/or-conf-panel.js +43 -43
  69. package/lib/components/configuration/or-conf-realm/or-conf-realm-card.js +200 -200
  70. package/lib/pages/page-account.js +243 -243
  71. package/lib/pages/page-alarms.js +369 -369
  72. package/lib/pages/page-assets.js +100 -100
  73. package/lib/pages/page-configuration.js +152 -152
  74. package/lib/pages/page-export.js +191 -191
  75. package/lib/pages/page-gateway-tunnel.js +106 -106
  76. package/lib/pages/page-gateway.js +252 -252
  77. package/lib/pages/page-insights.js +19 -19
  78. package/lib/pages/page-logs.js +11 -11
  79. package/lib/pages/page-map.js +37 -37
  80. package/lib/pages/page-provisioning.js +294 -294
  81. package/lib/pages/page-realms.js +284 -284
  82. package/lib/pages/page-roles.js +279 -279
  83. package/lib/pages/page-rules.js +11 -11
  84. package/lib/pages/page-users.js +383 -383
  85. package/package.json +3 -3
@@ -156,19 +156,19 @@ let OrConfRealmCard = class OrConfRealmCard extends LitElement {
156
156
  showDialog(new OrMwcDialog()
157
157
  .setHeading(i18next.t('delete'))
158
158
  .setActions(dialogActions)
159
- .setContent(html `
160
- ${i18next.t('configuration.deleteRealmCustomizationConfirm')}
159
+ .setContent(html `
160
+ ${i18next.t('configuration.deleteRealmCustomizationConfirm')}
161
161
  `)
162
- .setStyles(html `
163
- <style>
164
- .mdc-dialog__surface {
165
- padding: 4px 8px;
166
- }
167
-
168
- #dialog-content {
169
- padding: 24px;
170
- }
171
- </style>
162
+ .setStyles(html `
163
+ <style>
164
+ .mdc-dialog__surface {
165
+ padding: 4px 8px;
166
+ }
167
+
168
+ #dialog-content {
169
+ padding: 24px;
170
+ }
171
+ </style>
172
172
  `)
173
173
  .setDismissAction(null));
174
174
  }
@@ -188,104 +188,104 @@ let OrConfRealmCard = class OrConfRealmCard extends LitElement {
188
188
  (!search && ((_a = app.realm.notifications) === null || _a === void 0 ? void 0 : _a.languages.includes(entry[0]))) ||
189
189
  entry[1].toLowerCase().includes(search === null || search === void 0 ? void 0 : search.toLowerCase());
190
190
  });
191
- return html `
192
- <or-collapsible-panel .expanded="${app.expanded}">
193
- <div slot="header" class="header-container">
194
- ${app.name}
195
- </div>
196
- <div slot="content" class="panel-content">
197
- <div class="subheader">${i18next.t("configuration.main")}</div>
198
- <or-mwc-input class="appTitle" .type="${InputType.TEXT}" .label="${i18next.t("configuration.realmTitle")}" value="${(_b = app.realm) === null || _b === void 0 ? void 0 : _b.appTitle}"
191
+ return html `
192
+ <or-collapsible-panel .expanded="${app.expanded}">
193
+ <div slot="header" class="header-container">
194
+ ${app.name}
195
+ </div>
196
+ <div slot="content" class="panel-content">
197
+ <div class="subheader">${i18next.t("configuration.main")}</div>
198
+ <or-mwc-input class="appTitle" .type="${InputType.TEXT}" .label="${i18next.t("configuration.realmTitle")}" value="${(_b = app.realm) === null || _b === void 0 ? void 0 : _b.appTitle}"
199
199
  @or-mwc-input-changed="${(e) => {
200
200
  app.realm.appTitle = e.detail.value;
201
201
  app.notifyConfigChange(app.realm);
202
- }}"
203
- ></or-mwc-input>
204
- <or-mwc-input class="language" .type="${InputType.SELECT}" .label="${i18next.t("configuration.defaultLanguage")}" value="${(_c = app.realm) === null || _c === void 0 ? void 0 : _c.language}"
205
- .options="${Object.entries(DEFAULT_LANGUAGES).map(([key, value]) => [key, i18next.t(value)])}"
202
+ }}"
203
+ ></or-mwc-input>
204
+ <or-mwc-input class="language" .type="${InputType.SELECT}" .label="${i18next.t("configuration.defaultLanguage")}" value="${(_c = app.realm) === null || _c === void 0 ? void 0 : _c.language}"
205
+ .options="${Object.entries(DEFAULT_LANGUAGES).map(([key, value]) => [key, i18next.t(value)])}"
206
206
  @or-mwc-input-changed="${(e) => {
207
207
  app.realm.language = e.detail.value;
208
208
  app.notifyConfigChange(app.realm);
209
- }}"
210
- ></or-mwc-input>
211
- <div class="logo-group">
212
- <div class="subheader">${i18next.t("configuration.images")}</div>
213
- <div class="d-inline-flex">
214
- <or-file-uploader .title="${i18next.t('configuration.logo')}"
215
- @change="${(e) => __awaiter(this, void 0, void 0, function* () { return yield app._setImageForUpload(e.detail.value[0], "logo"); })}"
216
- .src="${app.logo ? app.logo : app.realm.logo}" .managerUrl="${managerUrl}"></or-file-uploader>
217
- <or-file-uploader .title="${i18next.t('configuration.logoMobile')}"
218
- @change="${(e) => __awaiter(this, void 0, void 0, function* () { return yield app._setImageForUpload(e.detail.value[0], "logoMobile"); })}"
219
- .src="${app.logoMobile ? app.logoMobile : app.realm.logoMobile}" .managerUrl="${managerUrl}"></or-file-uploader>
220
- <or-file-uploader .title="${html `Favicon`}"
221
- @change="${(e) => __awaiter(this, void 0, void 0, function* () { return yield app._setImageForUpload(e.detail.value[0], "favicon"); })}"
222
- .src="${app.favicon ? app.favicon : app.realm.favicon}" .managerUrl="${managerUrl}"></or-file-uploader>
223
- </div>
224
- </div>
225
- <div class="color-group">
226
- <div class="subheader">${i18next.t('configuration.realmColors')}</div>
227
- <div>
228
- <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color4"]}"
229
- .label="${i18next.t('configuration.--or-app-color4')}"
230
- @or-mwc-input-changed="${(e) => app._setColor("--or-app-color4", e.detail.value)}"></or-mwc-input>
231
- <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color5"]}"
232
- .label="${i18next.t('configuration.--or-app-color5')}"
233
- @or-mwc-input-changed="${(e) => app._setColor("--or-app-color5", e.detail.value)}"></or-mwc-input>
234
- <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color6"]}"
235
- .label="${i18next.t("configuration.--or-app-color6")}"
236
- @or-mwc-input-changed="${(e) => app._setColor("--or-app-color6", e.detail.value)}"></or-mwc-input>
237
- <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color1"]}"
238
- .label="${i18next.t("configuration.--or-app-color1")}"
239
- @or-mwc-input-changed="${(e) => app._setColor("--or-app-color1", e.detail.value)}"></or-mwc-input>
240
- <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color2"]}"
241
- .label="${i18next.t("configuration.--or-app-color2")}"
242
- @or-mwc-input-changed="${(e) => app._setColor("--or-app-color2", e.detail.value)}"></or-mwc-input>
243
- <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color3"]}"
244
- .label="${i18next.t("configuration.--or-app-color3")}"
245
- @or-mwc-input-changed="${(e) => app._setColor("--or-app-color3", e.detail.value)}"></or-mwc-input>
246
- <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color8"]}"
247
- .label="${i18next.t("configuration.--or-app-color8")}"
248
- @or-mwc-input-changed="${(e) => app._setColor("--or-app-color8", e.detail.value)}"></or-mwc-input>
249
- </div>
250
- </div>
251
- <div class="header-group">
252
- <div class="subheader">${i18next.t("configuration.navigation")}</div>
253
- <span>${i18next.t("configuration.navigationDescription")}</span>
254
- <div>
255
- <or-mwc-input
256
- .type="${InputType.SELECT}" multiple
257
- class="header-item"
258
- .label="${i18next.t("configuration.primaryNavigation")}"
209
+ }}"
210
+ ></or-mwc-input>
211
+ <div class="logo-group">
212
+ <div class="subheader">${i18next.t("configuration.images")}</div>
213
+ <div class="d-inline-flex">
214
+ <or-file-uploader .title="${i18next.t('configuration.logo')}"
215
+ @change="${(e) => __awaiter(this, void 0, void 0, function* () { return yield app._setImageForUpload(e.detail.value[0], "logo"); })}"
216
+ .src="${app.logo ? app.logo : app.realm.logo}" .managerUrl="${managerUrl}"></or-file-uploader>
217
+ <or-file-uploader .title="${i18next.t('configuration.logoMobile')}"
218
+ @change="${(e) => __awaiter(this, void 0, void 0, function* () { return yield app._setImageForUpload(e.detail.value[0], "logoMobile"); })}"
219
+ .src="${app.logoMobile ? app.logoMobile : app.realm.logoMobile}" .managerUrl="${managerUrl}"></or-file-uploader>
220
+ <or-file-uploader .title="${html `Favicon`}"
221
+ @change="${(e) => __awaiter(this, void 0, void 0, function* () { return yield app._setImageForUpload(e.detail.value[0], "favicon"); })}"
222
+ .src="${app.favicon ? app.favicon : app.realm.favicon}" .managerUrl="${managerUrl}"></or-file-uploader>
223
+ </div>
224
+ </div>
225
+ <div class="color-group">
226
+ <div class="subheader">${i18next.t('configuration.realmColors')}</div>
227
+ <div>
228
+ <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color4"]}"
229
+ .label="${i18next.t('configuration.--or-app-color4')}"
230
+ @or-mwc-input-changed="${(e) => app._setColor("--or-app-color4", e.detail.value)}"></or-mwc-input>
231
+ <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color5"]}"
232
+ .label="${i18next.t('configuration.--or-app-color5')}"
233
+ @or-mwc-input-changed="${(e) => app._setColor("--or-app-color5", e.detail.value)}"></or-mwc-input>
234
+ <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color6"]}"
235
+ .label="${i18next.t("configuration.--or-app-color6")}"
236
+ @or-mwc-input-changed="${(e) => app._setColor("--or-app-color6", e.detail.value)}"></or-mwc-input>
237
+ <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color1"]}"
238
+ .label="${i18next.t("configuration.--or-app-color1")}"
239
+ @or-mwc-input-changed="${(e) => app._setColor("--or-app-color1", e.detail.value)}"></or-mwc-input>
240
+ <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color2"]}"
241
+ .label="${i18next.t("configuration.--or-app-color2")}"
242
+ @or-mwc-input-changed="${(e) => app._setColor("--or-app-color2", e.detail.value)}"></or-mwc-input>
243
+ <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color3"]}"
244
+ .label="${i18next.t("configuration.--or-app-color3")}"
245
+ @or-mwc-input-changed="${(e) => app._setColor("--or-app-color3", e.detail.value)}"></or-mwc-input>
246
+ <or-mwc-input class="color-item" .type="${InputType.COLOUR}" value="${colors["--or-app-color8"]}"
247
+ .label="${i18next.t("configuration.--or-app-color8")}"
248
+ @or-mwc-input-changed="${(e) => app._setColor("--or-app-color8", e.detail.value)}"></or-mwc-input>
249
+ </div>
250
+ </div>
251
+ <div class="header-group">
252
+ <div class="subheader">${i18next.t("configuration.navigation")}</div>
253
+ <span>${i18next.t("configuration.navigationDescription")}</span>
254
+ <div>
255
+ <or-mwc-input
256
+ .type="${InputType.SELECT}" multiple
257
+ class="header-item"
258
+ .label="${i18next.t("configuration.primaryNavigation")}"
259
259
  .value="${!!app.realm.headers ? (_d = app.realm.headers) === null || _d === void 0 ? void 0 : _d.filter(function (ele) {
260
260
  return app.headerListPrimary.includes(ele);
261
- }) : app.headerListPrimary}"
262
- .options="${app.headerListPrimary}"
263
- @or-mwc-input-changed="${(e) => app._setHeader(e.detail.value, app.headerListPrimary)}"
264
- ></or-mwc-input>
265
- <or-mwc-input
266
- .type="${InputType.SELECT}" multiple
267
- class="header-item"
268
- .label="${i18next.t("configuration.secondaryNavigation")}"
261
+ }) : app.headerListPrimary}"
262
+ .options="${app.headerListPrimary}"
263
+ @or-mwc-input-changed="${(e) => app._setHeader(e.detail.value, app.headerListPrimary)}"
264
+ ></or-mwc-input>
265
+ <or-mwc-input
266
+ .type="${InputType.SELECT}" multiple
267
+ class="header-item"
268
+ .label="${i18next.t("configuration.secondaryNavigation")}"
269
269
  .value="${!!app.realm.headers ? (_e = app.realm.headers) === null || _e === void 0 ? void 0 : _e.filter(function (ele) {
270
270
  return app.headerListSecondary.includes(ele);
271
- }) : app.headerListSecondary}"
272
- .options="${app.headerListSecondary}"
273
- @or-mwc-input-changed="${(e) => app._setHeader(e.detail.value, app.headerListSecondary)}"
274
- ></or-mwc-input>
275
- </div>
276
- </div>
277
- <div class="header-group">
278
- <div class="subheader">${i18next.t("configuration.notificationLanguages")}</div>
279
- <span>${i18next.t("configuration.notificationLanguagesDesc")}</span>
280
- <div>
281
- <or-mwc-input
282
- .type="${InputType.SELECT}" multiple
283
- class="header-item"
284
- searchLabel="configuration.notificationLanguagesLabel"
285
- .label="${i18next.t("configuration.notificationLanguages")}"
286
- .value="${((_f = app.realm.notifications) === null || _f === void 0 ? void 0 : _f.languages) || []}"
287
- .options="${this._languages}"
288
- .searchProvider="${searchProvider}"
271
+ }) : app.headerListSecondary}"
272
+ .options="${app.headerListSecondary}"
273
+ @or-mwc-input-changed="${(e) => app._setHeader(e.detail.value, app.headerListSecondary)}"
274
+ ></or-mwc-input>
275
+ </div>
276
+ </div>
277
+ <div class="header-group">
278
+ <div class="subheader">${i18next.t("configuration.notificationLanguages")}</div>
279
+ <span>${i18next.t("configuration.notificationLanguagesDesc")}</span>
280
+ <div>
281
+ <or-mwc-input
282
+ .type="${InputType.SELECT}" multiple
283
+ class="header-item"
284
+ searchLabel="configuration.notificationLanguagesLabel"
285
+ .label="${i18next.t("configuration.notificationLanguages")}"
286
+ .value="${((_f = app.realm.notifications) === null || _f === void 0 ? void 0 : _f.languages) || []}"
287
+ .options="${this._languages}"
288
+ .searchProvider="${searchProvider}"
289
289
  @or-mwc-input-changed="${(e) => {
290
290
  var _a;
291
291
  const newLanguages = e.detail.value;
@@ -296,116 +296,116 @@ let OrConfRealmCard = class OrConfRealmCard extends LitElement {
296
296
  };
297
297
  app.notifyConfigChange(app.realm);
298
298
  this.requestUpdate(); // force render
299
- }}"
300
- ></or-mwc-input>
299
+ }}"
300
+ ></or-mwc-input>
301
301
  ${when(((_h = (_g = app.realm.notifications) === null || _g === void 0 ? void 0 : _g.languages) === null || _h === void 0 ? void 0 : _h.length) > 0, () => {
302
302
  var _a;
303
- return html `
304
- <or-mwc-input
305
- .type="${InputType.SELECT}"
306
- class="header-item"
307
- .label="${i18next.t("configuration.defaultLanguage")}"
308
- .value="${((_a = app.realm.notifications) === null || _a === void 0 ? void 0 : _a.defaultLanguage) || []}"
309
- .options="${this._languages.filter(entry => { var _a; return (_a = app.realm.notifications) === null || _a === void 0 ? void 0 : _a.languages.includes(entry[0]); })}"
303
+ return html `
304
+ <or-mwc-input
305
+ .type="${InputType.SELECT}"
306
+ class="header-item"
307
+ .label="${i18next.t("configuration.defaultLanguage")}"
308
+ .value="${((_a = app.realm.notifications) === null || _a === void 0 ? void 0 : _a.defaultLanguage) || []}"
309
+ .options="${this._languages.filter(entry => { var _a; return (_a = app.realm.notifications) === null || _a === void 0 ? void 0 : _a.languages.includes(entry[0]); })}"
310
310
  @or-mwc-input-changed="${(e) => {
311
311
  app.realm.notifications.defaultLanguage = e.detail.value;
312
312
  app.notifyConfigChange(app.realm);
313
313
  this.requestUpdate(); // force render
314
- }}"
315
- ></or-mwc-input>
314
+ }}"
315
+ ></or-mwc-input>
316
316
  `;
317
- }, () => html `
318
- <or-mwc-input
319
- .type="${InputType.SELECT}" disabled
320
- class="header-item"
321
- .label="${i18next.t("configuration.defaultLanguage")}"
322
- ></or-mwc-input>
323
- `)}
324
- </div>
325
- </div>
326
-
327
- ${when(app.canRemove, () => html `
328
- <or-mwc-input outlined id="remove-realm" .type="${InputType.BUTTON}"
329
- label="configuration.deleteRealmCustomization"
330
- @click="${() => { app._showRemoveRealmDialog(); }}"
331
- ></or-mwc-input>
332
- `)}
333
- </div>
334
- </or-collapsible-panel>
317
+ }, () => html `
318
+ <or-mwc-input
319
+ .type="${InputType.SELECT}" disabled
320
+ class="header-item"
321
+ .label="${i18next.t("configuration.defaultLanguage")}"
322
+ ></or-mwc-input>
323
+ `)}
324
+ </div>
325
+ </div>
326
+
327
+ ${when(app.canRemove, () => html `
328
+ <or-mwc-input outlined id="remove-realm" .type="${InputType.BUTTON}"
329
+ label="configuration.deleteRealmCustomization"
330
+ @click="${() => { app._showRemoveRealmDialog(); }}"
331
+ ></or-mwc-input>
332
+ `)}
333
+ </div>
334
+ </or-collapsible-panel>
335
335
  `;
336
336
  }
337
337
  };
338
- OrConfRealmCard.styles = css `
339
- .language {
340
- width: 100%;
341
- padding: 10px 0px;
342
- max-width: 800px;
343
- }
344
-
345
- .appTitle {
346
- width: 100%;
347
- max-width: 800px;
348
- padding: 10px 0px;
349
- }
350
-
351
- .header-group .header-item {
352
- width: 100%;
353
- padding: 10px 0px;
354
- max-width: 800px;
355
- }
356
-
357
- .color-group .color-item {
358
- width: 100%;
359
- }
360
-
361
- .logo-group {
362
- width: 100%;
363
- }
364
-
365
- @media screen and (max-width: 768px) {
366
- .logo-group or-file-uploader {
367
- min-width: calc(50% - 6px);
368
- padding: 0 12px 12px 0!important;
369
- }
370
-
371
- .logo-group or-file-uploader:nth-child(2n + 2){
372
- padding: 0 0 12px 0!important;
373
- }
374
-
375
- .logo-group .d-inline-flex{
376
- display: flex;
377
- flex-wrap: wrap;
378
- }
379
- }
380
-
381
- .logo-group or-file-uploader {
382
- padding: 0 24px 12px 0;
383
- }
384
-
385
- #remove-realm {
386
- margin: 12px 0 0 0;
387
- }
388
-
389
- .subheader {
390
- padding: 10px 0 4px;
391
- font-weight: bolder;
392
- }
393
-
394
- .d-inline-flex {
395
- display: inline-flex;
396
- }
397
-
398
- .panel-content {
399
- padding: 0 24px 24px;
400
- }
401
-
402
- .description {
403
- font-size: 12px;
404
- }
405
-
406
- or-collapsible-panel {
407
- margin-bottom: 10px;
408
- }
338
+ OrConfRealmCard.styles = css `
339
+ .language {
340
+ width: 100%;
341
+ padding: 10px 0px;
342
+ max-width: 800px;
343
+ }
344
+
345
+ .appTitle {
346
+ width: 100%;
347
+ max-width: 800px;
348
+ padding: 10px 0px;
349
+ }
350
+
351
+ .header-group .header-item {
352
+ width: 100%;
353
+ padding: 10px 0px;
354
+ max-width: 800px;
355
+ }
356
+
357
+ .color-group .color-item {
358
+ width: 100%;
359
+ }
360
+
361
+ .logo-group {
362
+ width: 100%;
363
+ }
364
+
365
+ @media screen and (max-width: 768px) {
366
+ .logo-group or-file-uploader {
367
+ min-width: calc(50% - 6px);
368
+ padding: 0 12px 12px 0!important;
369
+ }
370
+
371
+ .logo-group or-file-uploader:nth-child(2n + 2){
372
+ padding: 0 0 12px 0!important;
373
+ }
374
+
375
+ .logo-group .d-inline-flex{
376
+ display: flex;
377
+ flex-wrap: wrap;
378
+ }
379
+ }
380
+
381
+ .logo-group or-file-uploader {
382
+ padding: 0 24px 12px 0;
383
+ }
384
+
385
+ #remove-realm {
386
+ margin: 12px 0 0 0;
387
+ }
388
+
389
+ .subheader {
390
+ padding: 10px 0 4px;
391
+ font-weight: bolder;
392
+ }
393
+
394
+ .d-inline-flex {
395
+ display: inline-flex;
396
+ }
397
+
398
+ .panel-content {
399
+ padding: 0 24px 24px;
400
+ }
401
+
402
+ .description {
403
+ font-size: 12px;
404
+ }
405
+
406
+ or-collapsible-panel {
407
+ margin-bottom: 10px;
408
+ }
409
409
  `;
410
410
  __decorate([
411
411
  property({ attribute: false })