@vc-shell/framework 2.1.0-pr256.0fe3abb → 2.1.0-pr257.a5b1627

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 (259) hide show
  1. package/dist/ai-agent/index.js +10 -11
  2. package/dist/ai-agent/index.js.map +1 -1
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js} +1907 -834
  4. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js.map +1 -0
  5. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-BnbquDGw.js +22319 -0
  6. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-BnbquDGw.js.map +1 -0
  7. package/dist/chunks/{index-CvSe3hjU.js → index-DELXU1qy.js} +10 -11
  8. package/dist/chunks/{index-CvSe3hjU.js.map → index-DELXU1qy.js.map} +1 -1
  9. package/dist/chunks/{vendor-date-fns-C-55OMpS.js → vendor-date-fns-BKO3x1R1.js} +441 -487
  10. package/dist/chunks/vendor-date-fns-BKO3x1R1.js.map +1 -0
  11. package/dist/chunks/vendor-prettier-2Sf6a5jB.js +5309 -0
  12. package/dist/chunks/vendor-prettier-2Sf6a5jB.js.map +1 -0
  13. package/dist/chunks/vendor-tslib-l0sNRNKZ.js.map +1 -0
  14. package/dist/chunks/{vendor-vuepic-vue-datepicker-D0bvbIbh.js → vendor-vuepic-vue-datepicker-CaZ_qpJp.js} +1 -1
  15. package/dist/chunks/{vendor-vuepic-vue-datepicker-D0bvbIbh.js.map → vendor-vuepic-vue-datepicker-CaZ_qpJp.js.map} +1 -1
  16. package/dist/chunks/{vendor-vueuse-core-BYWoPpF_.js → vendor-vueuse-core-CEdpDfzx.js} +5 -5
  17. package/dist/chunks/{vendor-vueuse-core-BYWoPpF_.js.map → vendor-vueuse-core-CEdpDfzx.js.map} +1 -1
  18. package/dist/core/blade-navigation/bladeConfigRegistry.d.ts +11 -0
  19. package/dist/core/blade-navigation/bladeConfigRegistry.d.ts.map +1 -1
  20. package/dist/core/blade-navigation/singletons.d.ts +2 -0
  21. package/dist/core/blade-navigation/singletons.d.ts.map +1 -1
  22. package/dist/core/blade-navigation/types/index.d.ts +6 -12
  23. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  24. package/dist/core/blade-navigation/useBladeMessaging.d.ts +17 -1
  25. package/dist/core/blade-navigation/useBladeMessaging.d.ts.map +1 -1
  26. package/dist/core/blade-navigation/useBladeStack.d.ts +18 -1
  27. package/dist/core/blade-navigation/useBladeStack.d.ts.map +1 -1
  28. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts +5 -0
  29. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -1
  30. package/dist/core/composables/useDashboard/index.d.ts.map +1 -1
  31. package/dist/core/composables/useEnvironmentName/index.d.ts +5 -0
  32. package/dist/core/composables/useEnvironmentName/index.d.ts.map +1 -1
  33. package/dist/core/composables/useMenuService/index.d.ts.map +1 -1
  34. package/dist/core/composables/usePopup/index.d.ts.map +1 -1
  35. package/dist/core/composables/usePopup/preset-registry.d.ts +2 -0
  36. package/dist/core/composables/usePopup/preset-registry.d.ts.map +1 -1
  37. package/dist/core/composables/usePopup/singleton.d.ts +2 -0
  38. package/dist/core/composables/usePopup/singleton.d.ts.map +1 -1
  39. package/dist/core/composables/useSettings/index.d.ts.map +1 -1
  40. package/dist/core/composables/useSettingsMenu/index.d.ts.map +1 -1
  41. package/dist/core/composables/useSlowNetworkDetection/index.d.ts +2 -0
  42. package/dist/core/composables/useSlowNetworkDetection/index.d.ts.map +1 -1
  43. package/dist/core/composables/useTheme/index.d.ts.map +1 -1
  44. package/dist/core/composables/useToolbar/index.d.ts.map +1 -1
  45. package/dist/core/composables/useUser/index.d.ts +2 -0
  46. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  47. package/dist/core/interceptors/index.d.ts.map +1 -1
  48. package/dist/core/notifications/notification.d.ts.map +1 -1
  49. package/dist/core/plugins/ai-agent/constants.d.ts.map +1 -1
  50. package/dist/core/plugins/ai-agent/services/message-transport.d.ts.map +1 -1
  51. package/dist/core/plugins/ai-agent/types.d.ts +1 -12
  52. package/dist/core/plugins/ai-agent/types.d.ts.map +1 -1
  53. package/dist/core/plugins/permissions/index.d.ts.map +1 -1
  54. package/dist/core/plugins/validation/rules.d.ts.map +1 -1
  55. package/dist/core/services/_internal/index.d.ts +0 -1
  56. package/dist/core/services/_internal/index.d.ts.map +1 -1
  57. package/dist/core/services/app-bar-menu-service.d.ts.map +1 -1
  58. package/dist/core/services/app-bar-mobile-buttons-service.d.ts +0 -2
  59. package/dist/core/services/app-bar-mobile-buttons-service.d.ts.map +1 -1
  60. package/dist/core/services/settings-menu-service.d.ts.map +1 -1
  61. package/dist/core/utilities/index.d.ts +0 -1
  62. package/dist/core/utilities/index.d.ts.map +1 -1
  63. package/dist/framework.js +3093 -2188
  64. package/dist/framework.js.map +1 -1
  65. package/dist/index.css +2 -2
  66. package/dist/index.d.ts +1 -1
  67. package/dist/index.d.ts.map +1 -1
  68. package/dist/locales/de.js +3 -158
  69. package/dist/locales/en.js +3 -158
  70. package/dist/locales/en.json +3 -158
  71. package/dist/locales/types.d.ts +0 -155
  72. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
  73. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts.map +1 -1
  74. package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  75. package/dist/shell/auth/utils.d.ts +2 -6
  76. package/dist/shell/auth/utils.d.ts.map +1 -1
  77. package/dist/tailwind.config.d.ts.map +1 -1
  78. package/dist/tsconfig.tsbuildinfo +1 -1
  79. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
  80. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +0 -8
  81. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
  82. package/dist/ui/components/molecules/index.d.ts +1 -1
  83. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  84. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  85. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +0 -2
  86. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  87. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
  88. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +0 -3
  89. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
  90. package/dist/ui/components/molecules/vc-dropdown-panel/index.d.ts +2 -0
  91. package/dist/ui/components/molecules/vc-dropdown-panel/index.d.ts.map +1 -0
  92. package/dist/ui/components/molecules/vc-dropdown-panel/panel-anchor-registry.d.ts.map +1 -0
  93. package/dist/ui/components/molecules/{vc-popover/vc-popover.vue.d.ts → vc-dropdown-panel/vc-dropdown-panel.vue.d.ts} +1 -1
  94. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -0
  95. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts.map +1 -1
  96. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts.map +1 -1
  97. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  98. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  99. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  100. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  101. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +0 -2
  102. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
  103. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts +0 -2
  104. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
  105. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
  106. package/dist/ui/components/organisms/index.d.ts +0 -1
  107. package/dist/ui/components/organisms/index.d.ts.map +1 -1
  108. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue.d.ts.map +1 -1
  109. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  110. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
  111. package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts.map +1 -1
  112. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  113. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  114. package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts.map +1 -1
  115. package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -1
  116. package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
  117. package/dist/ui/components/organisms/vc-data-table/components/DataTableHeader.vue.d.ts.map +1 -1
  118. package/dist/ui/components/organisms/vc-data-table/components/DataTableRow.vue.d.ts.map +1 -1
  119. package/dist/ui/components/organisms/vc-data-table/components/TableAddRowButton.vue.d.ts.map +1 -1
  120. package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts +1 -5
  121. package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts.map +1 -1
  122. package/dist/ui/components/organisms/vc-data-table/components/TableGroupRow.vue.d.ts.map +1 -1
  123. package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts.map +1 -1
  124. package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -1
  125. package/dist/ui/components/organisms/vc-data-table/composables/index.d.ts +0 -2
  126. package/dist/ui/components/organisms/vc-data-table/composables/index.d.ts.map +1 -1
  127. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +248 -0
  128. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
  129. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -1
  130. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +0 -3
  131. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
  132. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -1
  133. package/dist/ui/index.js +133 -136
  134. package/dist/ui/index.js.map +1 -1
  135. package/package.json +7 -20
  136. package/tailwind.config.ts +6 -0
  137. package/dist/charts/index.d.ts +0 -2
  138. package/dist/charts/index.d.ts.map +0 -1
  139. package/dist/charts/index.js +0 -9
  140. package/dist/charts/index.js.map +0 -1
  141. package/dist/chunks/DashboardDonutChart.vue_vue_type_script_setup_true_lang-hTcM33bM.js +0 -446
  142. package/dist/chunks/DashboardDonutChart.vue_vue_type_script_setup_true_lang-hTcM33bM.js.map +0 -1
  143. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js +0 -1124
  144. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js.map +0 -1
  145. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js.map +0 -1
  146. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CTKDY1xe.js +0 -20733
  147. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CTKDY1xe.js.map +0 -1
  148. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js +0 -4227
  149. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js.map +0 -1
  150. package/dist/chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js +0 -641
  151. package/dist/chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js.map +0 -1
  152. package/dist/chunks/vendor-date-fns-C-55OMpS.js.map +0 -1
  153. package/dist/chunks/vendor-js-beautify-D-6mWVv0.js +0 -1784
  154. package/dist/chunks/vendor-js-beautify-D-6mWVv0.js.map +0 -1
  155. package/dist/chunks/vendor-rrule-C4g_KGmu.js +0 -1706
  156. package/dist/chunks/vendor-rrule-C4g_KGmu.js.map +0 -1
  157. package/dist/chunks/vendor-tslib-C4Z-yBok.js +0 -35
  158. package/dist/chunks/vendor-tslib-C4Z-yBok.js.map +0 -1
  159. package/dist/core/blade-navigation/descriptorFactory.d.ts +0 -2
  160. package/dist/core/blade-navigation/descriptorFactory.d.ts.map +0 -1
  161. package/dist/core/composables/createServiceRegistry.d.ts +0 -42
  162. package/dist/core/composables/createServiceRegistry.d.ts.map +0 -1
  163. package/dist/core/services/_internal/createGenericItemRegistry.d.ts +0 -35
  164. package/dist/core/services/_internal/createGenericItemRegistry.d.ts.map +0 -1
  165. package/dist/core/utilities/backendRegistry.d.ts +0 -38
  166. package/dist/core/utilities/backendRegistry.d.ts.map +0 -1
  167. package/dist/dashboard/index.d.ts +0 -3
  168. package/dist/dashboard/index.d.ts.map +0 -1
  169. package/dist/dashboard/index.js +0 -16
  170. package/dist/dashboard/index.js.map +0 -1
  171. package/dist/shell/_internal/notifications/components/notification-container/computeToastOffsets.d.ts +0 -33
  172. package/dist/shell/_internal/notifications/components/notification-container/computeToastOffsets.d.ts.map +0 -1
  173. package/dist/shell/_internal/notifications/components/notification-container/useToastStack.d.ts +0 -17
  174. package/dist/shell/_internal/notifications/components/notification-container/useToastStack.d.ts.map +0 -1
  175. package/dist/ui/components/molecules/vc-popover/index.d.ts +0 -2
  176. package/dist/ui/components/molecules/vc-popover/index.d.ts.map +0 -1
  177. package/dist/ui/components/molecules/vc-popover/panel-anchor-registry.d.ts.map +0 -1
  178. package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +0 -1
  179. package/dist/ui/components/organisms/vc-data-table/composables/createTableSelectionFacade.d.ts +0 -50
  180. package/dist/ui/components/organisms/vc-data-table/composables/createTableSelectionFacade.d.ts.map +0 -1
  181. package/dist/ui/components/organisms/vc-data-table/vc-data-table.stories.helpers.d.ts +0 -32
  182. package/dist/ui/components/organisms/vc-data-table/vc-data-table.stories.helpers.d.ts.map +0 -1
  183. package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts +0 -211
  184. package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts.map +0 -1
  185. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerBar.vue.d.ts +0 -40
  186. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerBar.vue.d.ts.map +0 -1
  187. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerGridlines.vue.d.ts +0 -12
  188. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerGridlines.vue.d.ts.map +0 -1
  189. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerHeader.vue.d.ts +0 -33
  190. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerHeader.vue.d.ts.map +0 -1
  191. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerResourcePanel.vue.d.ts +0 -22
  192. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerResourcePanel.vue.d.ts.map +0 -1
  193. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerRow.vue.d.ts +0 -48
  194. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerRow.vue.d.ts.map +0 -1
  195. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerSkeleton.vue.d.ts +0 -8
  196. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerSkeleton.vue.d.ts.map +0 -1
  197. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerTimeIndicator.vue.d.ts +0 -7
  198. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerTimeIndicator.vue.d.ts.map +0 -1
  199. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerToolbar.vue.d.ts +0 -28
  200. package/dist/ui/components/organisms/vc-scheduler/_internal/SchedulerToolbar.vue.d.ts.map +0 -1
  201. package/dist/ui/components/organisms/vc-scheduler/_internal/editor/ConfirmDialog.vue.d.ts +0 -20
  202. package/dist/ui/components/organisms/vc-scheduler/_internal/editor/ConfirmDialog.vue.d.ts.map +0 -1
  203. package/dist/ui/components/organisms/vc-scheduler/_internal/editor/RecurrenceScopeDialog.vue.d.ts +0 -18
  204. package/dist/ui/components/organisms/vc-scheduler/_internal/editor/RecurrenceScopeDialog.vue.d.ts.map +0 -1
  205. package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts +0 -38
  206. package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts.map +0 -1
  207. package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerBarSheet.vue.d.ts +0 -21
  208. package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerBarSheet.vue.d.ts.map +0 -1
  209. package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerMobileResourceCard.vue.d.ts +0 -20
  210. package/dist/ui/components/organisms/vc-scheduler/_internal/mobile/SchedulerMobileResourceCard.vue.d.ts.map +0 -1
  211. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthDayCell.vue.d.ts +0 -24
  212. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthDayCell.vue.d.ts.map +0 -1
  213. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventBar.vue.d.ts +0 -38
  214. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventBar.vue.d.ts.map +0 -1
  215. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue.d.ts +0 -41
  216. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthEventPopover.vue.d.ts.map +0 -1
  217. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts +0 -30
  218. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts.map +0 -1
  219. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthWeekRow.vue.d.ts +0 -82
  220. package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthWeekRow.vue.d.ts.map +0 -1
  221. package/dist/ui/components/organisms/vc-scheduler/_internal/quick-create/QuickCreatePopover.vue.d.ts +0 -36
  222. package/dist/ui/components/organisms/vc-scheduler/_internal/quick-create/QuickCreatePopover.vue.d.ts.map +0 -1
  223. package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerAgendaView.vue.d.ts +0 -46
  224. package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerAgendaView.vue.d.ts.map +0 -1
  225. package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerMonthView.vue.d.ts +0 -59
  226. package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerMonthView.vue.d.ts.map +0 -1
  227. package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue.d.ts +0 -57
  228. package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue.d.ts.map +0 -1
  229. package/dist/ui/components/organisms/vc-scheduler/composables/useBarInteraction.d.ts +0 -31
  230. package/dist/ui/components/organisms/vc-scheduler/composables/useBarInteraction.d.ts.map +0 -1
  231. package/dist/ui/components/organisms/vc-scheduler/composables/useEventColor.d.ts +0 -20
  232. package/dist/ui/components/organisms/vc-scheduler/composables/useEventColor.d.ts.map +0 -1
  233. package/dist/ui/components/organisms/vc-scheduler/composables/useEventInteraction.d.ts +0 -77
  234. package/dist/ui/components/organisms/vc-scheduler/composables/useEventInteraction.d.ts.map +0 -1
  235. package/dist/ui/components/organisms/vc-scheduler/composables/useLanePacking.d.ts +0 -7
  236. package/dist/ui/components/organisms/vc-scheduler/composables/useLanePacking.d.ts.map +0 -1
  237. package/dist/ui/components/organisms/vc-scheduler/composables/useMonthLayout.d.ts +0 -14
  238. package/dist/ui/components/organisms/vc-scheduler/composables/useMonthLayout.d.ts.map +0 -1
  239. package/dist/ui/components/organisms/vc-scheduler/composables/useRecurrence.d.ts +0 -20
  240. package/dist/ui/components/organisms/vc-scheduler/composables/useRecurrence.d.ts.map +0 -1
  241. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerEvents.d.ts +0 -17
  242. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerEvents.d.ts.map +0 -1
  243. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerNavigation.d.ts +0 -19
  244. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerNavigation.d.ts.map +0 -1
  245. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerOrchestrator.d.ts +0 -78
  246. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerOrchestrator.d.ts.map +0 -1
  247. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerViewport.d.ts +0 -21
  248. package/dist/ui/components/organisms/vc-scheduler/composables/useSchedulerViewport.d.ts.map +0 -1
  249. package/dist/ui/components/organisms/vc-scheduler/composables/useTimeScale.d.ts +0 -29
  250. package/dist/ui/components/organisms/vc-scheduler/composables/useTimeScale.d.ts.map +0 -1
  251. package/dist/ui/components/organisms/vc-scheduler/composables/useTimelineTimeGrid.d.ts +0 -64
  252. package/dist/ui/components/organisms/vc-scheduler/composables/useTimelineTimeGrid.d.ts.map +0 -1
  253. package/dist/ui/components/organisms/vc-scheduler/index.d.ts +0 -3
  254. package/dist/ui/components/organisms/vc-scheduler/index.d.ts.map +0 -1
  255. package/dist/ui/components/organisms/vc-scheduler/injection-keys.d.ts +0 -18
  256. package/dist/ui/components/organisms/vc-scheduler/injection-keys.d.ts.map +0 -1
  257. package/dist/ui/components/organisms/vc-scheduler/types.d.ts +0 -90
  258. package/dist/ui/components/organisms/vc-scheduler/types.d.ts.map +0 -1
  259. /package/dist/ui/components/molecules/{vc-popover → vc-dropdown-panel}/panel-anchor-registry.d.ts +0 -0
@@ -1,24 +1,25 @@
1
- import { ref as N, computed as u, defineComponent as T, onMounted as R, openBlock as E, createElementBlock as S, normalizeStyle as C, normalizeClass as P, toDisplayString as W, markRaw as K, createBlock as J, resolveDynamicComponent as F, createElementVNode as V, mergeProps as j, createCommentVNode as q, resolveComponent as G } from "vue";
2
- import { u as H } from "./vendor-vueuse-core-BYWoPpF_.js";
3
- import { j as Y } from "./vendor-vueuse-shared-BlCOXw5g.js";
4
- import { L as X } from "./vendor-lucide-vue-next-CwUrzD6N.js";
5
- const Z = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
6
- function Q(i, e) {
7
- if (typeof e == "string" && Z.test(e)) {
1
+ import { ref as G, computed as d, shallowRef as ke, watch as X, getCurrentInstance as re, inject as J, isRef as Ge, provide as Pe, defineComponent as L, openBlock as S, createElementBlock as j, createElementVNode as R, createCommentVNode as Y, createStaticVNode as Fe, onMounted as ce, normalizeStyle as te, normalizeClass as q, toDisplayString as be, markRaw as Oe, createBlock as ee, resolveDynamicComponent as ge, mergeProps as oe, resolveComponent as pe, createVNode as K, unref as le, Transition as Ie, withCtx as Re, onUnmounted as De } from "vue";
2
+ import { c as ne } from "./vendor-lodash-es-D2n90GJy.js";
3
+ import { u as Me } from "./vendor-vueuse-core-CEdpDfzx.js";
4
+ import { j as Le } from "./vendor-vueuse-shared-BlCOXw5g.js";
5
+ import { L as Je } from "./vendor-lucide-vue-next-CwUrzD6N.js";
6
+ const We = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
7
+ function Ve(i, e) {
8
+ if (typeof e == "string" && We.test(e)) {
8
9
  const t = new Date(e);
9
10
  if (!isNaN(t.getTime()))
10
11
  return t;
11
12
  }
12
13
  return e;
13
14
  }
14
- class b {
15
+ class k {
15
16
  authToken = "";
16
17
  /**
17
18
  * JSON parse reviver for converting date strings to Date objects.
18
19
  * Subclasses use this when parsing API responses.
19
20
  * The dateReviver function is defined in File.Header.liquid template.
20
21
  */
21
- jsonParseReviver = Q;
22
+ jsonParseReviver = Ve;
22
23
  constructor() {
23
24
  }
24
25
  // Enforce always return empty string as baseUrl
@@ -32,7 +33,7 @@ class b {
32
33
  return this.authToken && (e.headers.authorization = `Bearer ${this.authToken}`), Promise.resolve(e);
33
34
  }
34
35
  }
35
- class ee extends b {
36
+ class Ke extends k {
36
37
  http;
37
38
  baseUrl;
38
39
  constructor(e, t) {
@@ -46,7 +47,7 @@ class ee extends b {
46
47
  * @param callbackUrl (optional)
47
48
  * @return OK
48
49
  */
49
- signIn(e, t, n, r, s) {
50
+ signIn(e, t, n, r, a) {
50
51
  let o = this.baseUrl + "/externalsignin?";
51
52
  if (e === null)
52
53
  throw new globalThis.Error("The parameter 'authenticationType' cannot be null.");
@@ -56,20 +57,20 @@ class ee extends b {
56
57
  throw new globalThis.Error("The parameter 'storeId' cannot be null.");
57
58
  if (n !== void 0 && (o += "StoreId=" + encodeURIComponent("" + n) + "&"), r === null)
58
59
  throw new globalThis.Error("The parameter 'oidcUrl' cannot be null.");
59
- if (r !== void 0 && (o += "OidcUrl=" + encodeURIComponent("" + r) + "&"), s === null)
60
+ if (r !== void 0 && (o += "OidcUrl=" + encodeURIComponent("" + r) + "&"), a === null)
60
61
  throw new globalThis.Error("The parameter 'callbackUrl' cannot be null.");
61
- s !== void 0 && (o += "CallbackUrl=" + encodeURIComponent("" + s) + "&"), o = o.replace(/[?&]$/, "");
62
+ a !== void 0 && (o += "CallbackUrl=" + encodeURIComponent("" + a) + "&"), o = o.replace(/[?&]$/, "");
62
63
  let l = {
63
64
  method: "GET",
64
65
  headers: {}
65
66
  };
66
- return this.transformOptions(l).then((h) => this.http.fetch(o, h)).then((h) => this.processSignIn(h));
67
+ return this.transformOptions(l).then((c) => this.http.fetch(o, c)).then((c) => this.processSignIn(c));
67
68
  }
68
69
  processSignIn(e) {
69
70
  const t = e.status;
70
71
  let n = {};
71
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
72
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
72
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
73
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
73
74
  }
74
75
  /**
75
76
  * @param authenticationType (optional)
@@ -87,13 +88,13 @@ class ee extends b {
87
88
  method: "GET",
88
89
  headers: {}
89
90
  };
90
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processSignOut(s));
91
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processSignOut(a));
91
92
  }
92
93
  processSignOut(e) {
93
94
  const t = e.status;
94
95
  let n = {};
95
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
96
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
96
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
97
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
97
98
  }
98
99
  /**
99
100
  * @param returnUrl (optional)
@@ -113,8 +114,8 @@ class ee extends b {
113
114
  processSignInCallback(e) {
114
115
  const t = e.status;
115
116
  let n = {};
116
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
117
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
117
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
118
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
118
119
  }
119
120
  /**
120
121
  * @return OK
@@ -133,13 +134,13 @@ class ee extends b {
133
134
  processGetExternalLoginProviders(e) {
134
135
  const t = e.status;
135
136
  let n = {};
136
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
137
- let s = null;
138
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
139
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
137
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
138
+ let a = null;
139
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
140
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
140
141
  }
141
142
  }
142
- class we extends b {
143
+ class fr extends k {
143
144
  http;
144
145
  baseUrl;
145
146
  constructor(e, t) {
@@ -175,10 +176,10 @@ class we extends b {
175
176
  processGetManifest(e) {
176
177
  const t = e.status;
177
178
  let n = {};
178
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
179
- let s = null;
180
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
181
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
179
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
180
+ let a = null;
181
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
182
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
182
183
  }
183
184
  /**
184
185
  * Force-invalidate the manifest cache for every `appId`. The next
@@ -204,11 +205,11 @@ class we extends b {
204
205
  processInvalidateManifestCache(e) {
205
206
  const t = e.status;
206
207
  let n = {};
207
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
208
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
208
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
209
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
209
210
  }
210
211
  }
211
- class Ae extends b {
212
+ class pr extends k {
212
213
  http;
213
214
  baseUrl;
214
215
  constructor(e, t) {
@@ -232,13 +233,13 @@ class Ae extends b {
232
233
  processGetApps(e) {
233
234
  const t = e.status;
234
235
  let n = {};
235
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
236
- let s = null;
237
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
238
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
236
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
237
+ let a = null;
238
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
239
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
239
240
  }
240
241
  }
241
- class je extends b {
242
+ class mr extends k {
242
243
  http;
243
244
  baseUrl;
244
245
  constructor(e, t) {
@@ -259,8 +260,8 @@ class je extends b {
259
260
  processRevokeCurrentUserToken(e) {
260
261
  const t = e.status;
261
262
  let n = {};
262
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
263
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
263
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
264
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
264
265
  }
265
266
  /**
266
267
  * @return OK
@@ -269,25 +270,25 @@ class je extends b {
269
270
  let t = this.baseUrl + "/connect/token";
270
271
  t = t.replace(/[?&]$/, "");
271
272
  let r = {
272
- body: Object.keys(e).map((s) => encodeURIComponent(s) + "=" + encodeURIComponent(e[s])).join("&"),
273
+ body: Object.keys(e).map((a) => encodeURIComponent(a) + "=" + encodeURIComponent(e[a])).join("&"),
273
274
  method: "POST",
274
275
  headers: {
275
276
  "Content-Type": "application/x-www-form-urlencoded",
276
277
  Accept: "application/json"
277
278
  }
278
279
  };
279
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processExchange(s));
280
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processExchange(a));
280
281
  }
281
282
  processExchange(e) {
282
283
  const t = e.status;
283
284
  let n = {};
284
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
285
- let s = null;
286
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
285
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
286
+ let a = null;
287
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
287
288
  }) : t === 400 ? e.text().then((r) => {
288
- let s = null;
289
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a("Bad Request", t, r, n, s);
290
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
289
+ let a = null;
290
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s("Bad Request", t, r, n, a);
291
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
291
292
  }
292
293
  /**
293
294
  * @return OK
@@ -304,8 +305,8 @@ class je extends b {
304
305
  processAuthorizeGET(e) {
305
306
  const t = e.status;
306
307
  let n = {};
307
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
308
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
308
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
309
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
309
310
  }
310
311
  /**
311
312
  * @return OK
@@ -322,8 +323,8 @@ class je extends b {
322
323
  processAuthorizePOST(e) {
323
324
  const t = e.status;
324
325
  let n = {};
325
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
326
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
326
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
327
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
327
328
  }
328
329
  /**
329
330
  * @return OK
@@ -340,8 +341,8 @@ class je extends b {
340
341
  processUserinfoGET(e) {
341
342
  const t = e.status;
342
343
  let n = {};
343
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
344
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
344
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
345
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
345
346
  }
346
347
  /**
347
348
  * @return OK
@@ -358,8 +359,8 @@ class je extends b {
358
359
  processUserinfoPOST(e) {
359
360
  const t = e.status;
360
361
  let n = {};
361
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
362
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
362
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
363
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
363
364
  }
364
365
  /**
365
366
  * @return OK
@@ -376,11 +377,11 @@ class je extends b {
376
377
  processLogout(e) {
377
378
  const t = e.status;
378
379
  let n = {};
379
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
380
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
380
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
381
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
381
382
  }
382
383
  }
383
- class Re extends b {
384
+ class vr extends k {
384
385
  http;
385
386
  baseUrl;
386
387
  constructor(e, t) {
@@ -405,8 +406,8 @@ class Re extends b {
405
406
  processForceChanges(e) {
406
407
  const t = e.status;
407
408
  let n = {};
408
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
409
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
409
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
410
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
410
411
  }
411
412
  /**
412
413
  * @return No Content
@@ -423,8 +424,8 @@ class Re extends b {
423
424
  processResetPlatformCache(e) {
424
425
  const t = e.status;
425
426
  let n = {};
426
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
427
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
427
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
428
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
428
429
  }
429
430
  /**
430
431
  * Get last modified date for given scope
@@ -448,10 +449,10 @@ class Re extends b {
448
449
  processGetLastModifiedDate(e) {
449
450
  const t = e.status;
450
451
  let n = {};
451
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
452
- let s = null;
453
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
454
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
452
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
453
+ let a = null;
454
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
455
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
455
456
  }
456
457
  /**
457
458
  * @param body (optional)
@@ -468,15 +469,15 @@ class Re extends b {
468
469
  Accept: "application/json"
469
470
  }
470
471
  };
471
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processGetChangedEntities(s));
472
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processGetChangedEntities(a));
472
473
  }
473
474
  processGetChangedEntities(e) {
474
475
  const t = e.status;
475
476
  let n = {};
476
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
477
- let s = null;
478
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
479
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
477
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
478
+ let a = null;
479
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
480
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
480
481
  }
481
482
  /**
482
483
  * @param body (optional)
@@ -492,13 +493,13 @@ class Re extends b {
492
493
  "Content-Type": "application/json-patch+json"
493
494
  }
494
495
  };
495
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processResetChangedEntities(s));
496
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processResetChangedEntities(a));
496
497
  }
497
498
  processResetChangedEntities(e) {
498
499
  const t = e.status;
499
500
  let n = {};
500
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
501
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
501
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
502
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
502
503
  }
503
504
  /**
504
505
  * @param body (optional)
@@ -515,15 +516,15 @@ class Re extends b {
515
516
  Accept: "application/json"
516
517
  }
517
518
  };
518
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearchChanges(s));
519
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearchChanges(a));
519
520
  }
520
521
  processSearchChanges(e) {
521
522
  const t = e.status;
522
523
  let n = {};
523
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
524
- let s = null;
525
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
526
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
524
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
525
+ let a = null;
526
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
527
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
527
528
  }
528
529
  /**
529
530
  * @param body (optional)
@@ -540,15 +541,15 @@ class Re extends b {
540
541
  Accept: "application/json"
541
542
  }
542
543
  };
543
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearchChangesV2(s));
544
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearchChangesV2(a));
544
545
  }
545
546
  processSearchChangesV2(e) {
546
547
  const t = e.status;
547
548
  let n = {};
548
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
549
- let s = null;
550
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
551
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
549
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
550
+ let a = null;
551
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
552
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
552
553
  }
553
554
  /**
554
555
  * @param start (optional)
@@ -564,24 +565,24 @@ class Re extends b {
564
565
  if (t !== void 0 && (r += "start=" + encodeURIComponent(t ? "" + t.toISOString() : "") + "&"), n === null)
565
566
  throw new globalThis.Error("The parameter 'end' cannot be null.");
566
567
  n !== void 0 && (r += "end=" + encodeURIComponent(n ? "" + n.toISOString() : "") + "&"), r = r.replace(/[?&]$/, "");
567
- let s = {
568
+ let a = {
568
569
  method: "GET",
569
570
  headers: {
570
571
  Accept: "application/json"
571
572
  }
572
573
  };
573
- return this.transformOptions(s).then((o) => this.http.fetch(r, o)).then((o) => this.processSearchTypeChangeHistory(o));
574
+ return this.transformOptions(a).then((o) => this.http.fetch(r, o)).then((o) => this.processSearchTypeChangeHistory(o));
574
575
  }
575
576
  processSearchTypeChangeHistory(e) {
576
577
  const t = e.status;
577
578
  let n = {};
578
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
579
- let s = null;
580
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
581
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
579
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
580
+ let a = null;
581
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
582
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
582
583
  }
583
584
  }
584
- class Ce extends b {
585
+ class gr extends k {
585
586
  http;
586
587
  baseUrl;
587
588
  constructor(e, t) {
@@ -604,13 +605,13 @@ class Ce extends b {
604
605
  processGetDeveloperTools(e) {
605
606
  const t = e.status;
606
607
  let n = {};
607
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
608
- let s = null;
609
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
610
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
608
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
609
+ let a = null;
610
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
611
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
611
612
  }
612
613
  }
613
- class Ie extends b {
614
+ class br extends k {
614
615
  http;
615
616
  baseUrl;
616
617
  constructor(e, t) {
@@ -633,10 +634,10 @@ class Ie extends b {
633
634
  processGetSystemInfo(e) {
634
635
  const t = e.status;
635
636
  let n = {};
636
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
637
- let s = null;
638
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
639
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
637
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
638
+ let a = null;
639
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
640
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
640
641
  }
641
642
  /**
642
643
  * Get installed modules with errors
@@ -656,13 +657,13 @@ class Ie extends b {
656
657
  processGetModulesErrors(e) {
657
658
  const t = e.status;
658
659
  let n = {};
659
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
660
- let s = null;
661
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
662
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
660
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
661
+ let a = null;
662
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
663
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
663
664
  }
664
665
  }
665
- class ze extends b {
666
+ class xr extends k {
666
667
  http;
667
668
  baseUrl;
668
669
  constructor(e, t) {
@@ -686,10 +687,10 @@ class ze extends b {
686
687
  processGetObjectTypes(e) {
687
688
  const t = e.status;
688
689
  let n = {};
689
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
690
- let s = null;
691
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
692
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
690
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
691
+ let a = null;
692
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
693
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
693
694
  }
694
695
  /**
695
696
  * @param id (optional)
@@ -711,10 +712,10 @@ class ze extends b {
711
712
  processGetAllDynamicProperties(e) {
712
713
  const t = e.status;
713
714
  let n = {};
714
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
715
- let s = null;
716
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
717
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
715
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
716
+ let a = null;
717
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
718
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
718
719
  }
719
720
  /**
720
721
  * Add new dynamic property
@@ -732,15 +733,15 @@ class ze extends b {
732
733
  Accept: "application/json"
733
734
  }
734
735
  };
735
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processCreateProperty(s));
736
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processCreateProperty(a));
736
737
  }
737
738
  processCreateProperty(e) {
738
739
  const t = e.status;
739
740
  let n = {};
740
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
741
- let s = null;
742
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
743
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
741
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
742
+ let a = null;
743
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
744
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
744
745
  }
745
746
  /**
746
747
  * Update existing dynamic property
@@ -757,13 +758,13 @@ class ze extends b {
757
758
  "Content-Type": "application/json-patch+json"
758
759
  }
759
760
  };
760
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUpdateProperty(s));
761
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUpdateProperty(a));
761
762
  }
762
763
  processUpdateProperty(e) {
763
764
  const t = e.status;
764
765
  let n = {};
765
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
766
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
766
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
767
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
767
768
  }
768
769
  /**
769
770
  * Delete dynamic property
@@ -786,8 +787,8 @@ class ze extends b {
786
787
  processDeleteProperty(e) {
787
788
  const t = e.status;
788
789
  let n = {};
789
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
790
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
790
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
791
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
791
792
  }
792
793
  /**
793
794
  * Get dynamic properties registered for object type
@@ -805,15 +806,15 @@ class ze extends b {
805
806
  Accept: "application/json"
806
807
  }
807
808
  };
808
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearchDynamicProperties(s));
809
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearchDynamicProperties(a));
809
810
  }
810
811
  processSearchDynamicProperties(e) {
811
812
  const t = e.status;
812
813
  let n = {};
813
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
814
- let s = null;
815
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
816
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
814
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
815
+ let a = null;
816
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
817
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
817
818
  }
818
819
  /**
819
820
  * Does nothing. Just a way to expose DynamicObjectProperty thru Swagger.
@@ -833,10 +834,10 @@ class ze extends b {
833
834
  processExposeDynamicObjectProperty(e) {
834
835
  const t = e.status;
835
836
  let n = {};
836
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
837
- let s = null;
838
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
839
- }) : t === 204 ? e.text().then((r) => a("No Content", t, r, n)) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
837
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
838
+ let a = null;
839
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
840
+ }) : t === 204 ? e.text().then((r) => s("No Content", t, r, n)) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
840
841
  }
841
842
  /**
842
843
  * @param propertyId (optional)
@@ -858,10 +859,10 @@ class ze extends b {
858
859
  processGetAllDictionaryItems(e) {
859
860
  const t = e.status;
860
861
  let n = {};
861
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
862
- let s = null;
863
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
864
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
862
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
863
+ let a = null;
864
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
865
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
865
866
  }
866
867
  /**
867
868
  * Add or update dictionary items
@@ -878,13 +879,13 @@ class ze extends b {
878
879
  "Content-Type": "application/json-patch+json"
879
880
  }
880
881
  };
881
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSaveDictionaryItems(s));
882
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSaveDictionaryItems(a));
882
883
  }
883
884
  processSaveDictionaryItems(e) {
884
885
  const t = e.status;
885
886
  let n = {};
886
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
887
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
887
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
888
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
888
889
  }
889
890
  /**
890
891
  * Delete dictionary items
@@ -907,8 +908,8 @@ class ze extends b {
907
908
  processDeleteDictionaryItem(e) {
908
909
  const t = e.status;
909
910
  let n = {};
910
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
911
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
911
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
912
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
912
913
  }
913
914
  /**
914
915
  * Get dictionary items
@@ -926,18 +927,18 @@ class ze extends b {
926
927
  Accept: "application/json"
927
928
  }
928
929
  };
929
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearchDictionaryItems(s));
930
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearchDictionaryItems(a));
930
931
  }
931
932
  processSearchDictionaryItems(e) {
932
933
  const t = e.status;
933
934
  let n = {};
934
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
935
- let s = null;
936
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
937
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
935
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
936
+ let a = null;
937
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
938
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
938
939
  }
939
940
  }
940
- class $e extends b {
941
+ class Er extends k {
941
942
  http;
942
943
  baseUrl;
943
944
  constructor(e, t) {
@@ -964,13 +965,13 @@ class $e extends b {
964
965
  processGetStatus(e) {
965
966
  const t = e.status;
966
967
  let n = {};
967
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
968
- let s = null;
969
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
970
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
968
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
969
+ let a = null;
970
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
971
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
971
972
  }
972
973
  }
973
- class Ne extends b {
974
+ class yr extends k {
974
975
  http;
975
976
  baseUrl;
976
977
  constructor(e, t) {
@@ -993,10 +994,10 @@ class Ne extends b {
993
994
  processGetSettingsAndLanguages(e) {
994
995
  const t = e.status;
995
996
  let n = {};
996
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
997
- let s = null;
998
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
999
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
997
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
998
+ let a = null;
999
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1000
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1000
1001
  }
1001
1002
  /**
1002
1003
  * @return OK
@@ -1014,15 +1015,15 @@ class Ne extends b {
1014
1015
  Accept: "application/json"
1015
1016
  }
1016
1017
  };
1017
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processGetDictionaryValues(s));
1018
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processGetDictionaryValues(a));
1018
1019
  }
1019
1020
  processGetDictionaryValues(e) {
1020
1021
  const t = e.status;
1021
1022
  let n = {};
1022
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1023
- let s = null;
1024
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1025
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1023
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1024
+ let a = null;
1025
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1026
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1026
1027
  }
1027
1028
  /**
1028
1029
  * @param body (optional)
@@ -1033,20 +1034,20 @@ class Ne extends b {
1033
1034
  if (e == null)
1034
1035
  throw new globalThis.Error("The parameter 'name' must be defined.");
1035
1036
  n = n.replace("{name}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
1036
- let s = {
1037
+ let a = {
1037
1038
  body: JSON.stringify(t),
1038
1039
  method: "POST",
1039
1040
  headers: {
1040
1041
  "Content-Type": "application/json-patch+json"
1041
1042
  }
1042
1043
  };
1043
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processSaveDictionaryItems(o));
1044
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processSaveDictionaryItems(o));
1044
1045
  }
1045
1046
  processSaveDictionaryItems(e) {
1046
1047
  const t = e.status;
1047
1048
  let n = {};
1048
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1049
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1049
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1050
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1050
1051
  }
1051
1052
  /**
1052
1053
  * @param values (optional)
@@ -1058,23 +1059,23 @@ class Ne extends b {
1058
1059
  throw new globalThis.Error("The parameter 'name' must be defined.");
1059
1060
  if (n = n.replace("{name}", encodeURIComponent("" + e)), t === null)
1060
1061
  throw new globalThis.Error("The parameter 'values' cannot be null.");
1061
- t !== void 0 && t && t.forEach((s) => {
1062
- n += "values=" + encodeURIComponent("" + s) + "&";
1062
+ t !== void 0 && t && t.forEach((a) => {
1063
+ n += "values=" + encodeURIComponent("" + a) + "&";
1063
1064
  }), n = n.replace(/[?&]$/, "");
1064
1065
  let r = {
1065
1066
  method: "DELETE",
1066
1067
  headers: {}
1067
1068
  };
1068
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processDeleteDictionaryItems(s));
1069
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processDeleteDictionaryItems(a));
1069
1070
  }
1070
1071
  processDeleteDictionaryItems(e) {
1071
1072
  const t = e.status;
1072
1073
  let n = {};
1073
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1074
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1074
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1075
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1075
1076
  }
1076
1077
  }
1077
- class Ge extends b {
1078
+ class _r extends k {
1078
1079
  http;
1079
1080
  baseUrl;
1080
1081
  constructor(e, t) {
@@ -1096,8 +1097,8 @@ class Ge extends b {
1096
1097
  processReloadModules(e) {
1097
1098
  const t = e.status;
1098
1099
  let n = {};
1099
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1100
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1100
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1101
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1101
1102
  }
1102
1103
  /**
1103
1104
  * Get installed modules
@@ -1117,10 +1118,10 @@ class Ge extends b {
1117
1118
  processGetModules(e) {
1118
1119
  const t = e.status;
1119
1120
  let n = {};
1120
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1121
- let s = null;
1122
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1123
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1121
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1122
+ let a = null;
1123
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1124
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1124
1125
  }
1125
1126
  /**
1126
1127
  * Get all dependent modules for a module
@@ -1138,15 +1139,15 @@ class Ge extends b {
1138
1139
  Accept: "application/json"
1139
1140
  }
1140
1141
  };
1141
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processGetDependingModules(s));
1142
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processGetDependingModules(a));
1142
1143
  }
1143
1144
  processGetDependingModules(e) {
1144
1145
  const t = e.status;
1145
1146
  let n = {};
1146
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1147
- let s = null;
1148
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1149
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1147
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1148
+ let a = null;
1149
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1150
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1150
1151
  }
1151
1152
  /**
1152
1153
  * Returns a flat expanded list of modules that depend on passed modules
@@ -1164,15 +1165,15 @@ class Ge extends b {
1164
1165
  Accept: "application/json"
1165
1166
  }
1166
1167
  };
1167
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processGetMissingDependencies(s));
1168
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processGetMissingDependencies(a));
1168
1169
  }
1169
1170
  processGetMissingDependencies(e) {
1170
1171
  const t = e.status;
1171
1172
  let n = {};
1172
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1173
- let s = null;
1174
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1175
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1173
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1174
+ let a = null;
1175
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1176
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1176
1177
  }
1177
1178
  /**
1178
1179
  * Upload module package for installation or update
@@ -1192,10 +1193,10 @@ class Ge extends b {
1192
1193
  processUploadModuleArchive(e) {
1193
1194
  const t = e.status;
1194
1195
  let n = {};
1195
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1196
- let s = null;
1197
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1198
- }) : t === 400 ? e.text().then((r) => a("Bad Request", t, r, n)) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1196
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1197
+ let a = null;
1198
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1199
+ }) : t === 400 ? e.text().then((r) => s("Bad Request", t, r, n)) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1199
1200
  }
1200
1201
  /**
1201
1202
  * Install modules
@@ -1213,15 +1214,15 @@ class Ge extends b {
1213
1214
  Accept: "application/json"
1214
1215
  }
1215
1216
  };
1216
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processInstallModules(s));
1217
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processInstallModules(a));
1217
1218
  }
1218
1219
  processInstallModules(e) {
1219
1220
  const t = e.status;
1220
1221
  let n = {};
1221
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1222
- let s = null;
1223
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1224
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1222
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1223
+ let a = null;
1224
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1225
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1225
1226
  }
1226
1227
  /**
1227
1228
  * Install modules using lightweight requests
@@ -1239,15 +1240,15 @@ class Ge extends b {
1239
1240
  Accept: "application/json"
1240
1241
  }
1241
1242
  };
1242
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processInstallModuleRequests(s));
1243
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processInstallModuleRequests(a));
1243
1244
  }
1244
1245
  processInstallModuleRequests(e) {
1245
1246
  const t = e.status;
1246
1247
  let n = {};
1247
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1248
- let s = null;
1249
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1250
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1248
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1249
+ let a = null;
1250
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1251
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1251
1252
  }
1252
1253
  /**
1253
1254
  * Update modules
@@ -1265,15 +1266,15 @@ class Ge extends b {
1265
1266
  Accept: "application/json"
1266
1267
  }
1267
1268
  };
1268
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUpdateModules(s));
1269
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUpdateModules(a));
1269
1270
  }
1270
1271
  processUpdateModules(e) {
1271
1272
  const t = e.status;
1272
1273
  let n = {};
1273
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1274
- let s = null;
1275
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1276
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1274
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1275
+ let a = null;
1276
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1277
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1277
1278
  }
1278
1279
  /**
1279
1280
  * Update modules using lightweight requests
@@ -1291,15 +1292,15 @@ class Ge extends b {
1291
1292
  Accept: "application/json"
1292
1293
  }
1293
1294
  };
1294
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUpdateModuleRequests(s));
1295
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUpdateModuleRequests(a));
1295
1296
  }
1296
1297
  processUpdateModuleRequests(e) {
1297
1298
  const t = e.status;
1298
1299
  let n = {};
1299
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1300
- let s = null;
1301
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1302
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1300
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1301
+ let a = null;
1302
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1303
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1303
1304
  }
1304
1305
  /**
1305
1306
  * Uninstall module
@@ -1317,15 +1318,15 @@ class Ge extends b {
1317
1318
  Accept: "application/json"
1318
1319
  }
1319
1320
  };
1320
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUninstallModule(s));
1321
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUninstallModule(a));
1321
1322
  }
1322
1323
  processUninstallModule(e) {
1323
1324
  const t = e.status;
1324
1325
  let n = {};
1325
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1326
- let s = null;
1327
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1328
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1326
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1327
+ let a = null;
1328
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1329
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1329
1330
  }
1330
1331
  /**
1331
1332
  * Uninstall modules using lightweight requests
@@ -1343,15 +1344,15 @@ class Ge extends b {
1343
1344
  Accept: "application/json"
1344
1345
  }
1345
1346
  };
1346
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUninstallModuleRequests(s));
1347
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUninstallModuleRequests(a));
1347
1348
  }
1348
1349
  processUninstallModuleRequests(e) {
1349
1350
  const t = e.status;
1350
1351
  let n = {};
1351
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1352
- let s = null;
1353
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1354
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1352
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1353
+ let a = null;
1354
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1355
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1355
1356
  }
1356
1357
  /**
1357
1358
  * Restart web application
@@ -1369,8 +1370,8 @@ class Ge extends b {
1369
1370
  processRestart(e) {
1370
1371
  const t = e.status;
1371
1372
  let n = {};
1372
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1373
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1373
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1374
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1374
1375
  }
1375
1376
  /**
1376
1377
  * Auto-install modules with specified groups
@@ -1390,10 +1391,10 @@ class Ge extends b {
1390
1391
  processTryToAutoInstallModules(e) {
1391
1392
  const t = e.status;
1392
1393
  let n = {};
1393
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1394
- let s = null;
1395
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1396
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1394
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1395
+ let a = null;
1396
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1397
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1397
1398
  }
1398
1399
  /**
1399
1400
  * Get module loading order
@@ -1413,10 +1414,10 @@ class Ge extends b {
1413
1414
  processGetModulesLoadingOrder(e) {
1414
1415
  const t = e.status;
1415
1416
  let n = {};
1416
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1417
- let s = null;
1418
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1419
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1417
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1418
+ let a = null;
1419
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1420
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1420
1421
  }
1421
1422
  /**
1422
1423
  * Validate that a specific module version package exists at the download URL.
@@ -1437,15 +1438,15 @@ class Ge extends b {
1437
1438
  Accept: "application/json"
1438
1439
  }
1439
1440
  };
1440
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processValidateModuleVersion(s));
1441
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processValidateModuleVersion(a));
1441
1442
  }
1442
1443
  processValidateModuleVersion(e) {
1443
1444
  const t = e.status;
1444
1445
  let n = {};
1445
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1446
- let s = null;
1447
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1448
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1446
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1447
+ let a = null;
1448
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1449
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1449
1450
  }
1450
1451
  /**
1451
1452
  * Install a specific version of a module.
@@ -1467,15 +1468,15 @@ class Ge extends b {
1467
1468
  Accept: "application/json"
1468
1469
  }
1469
1470
  };
1470
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processInstallModuleVersion(s));
1471
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processInstallModuleVersion(a));
1471
1472
  }
1472
1473
  processInstallModuleVersion(e) {
1473
1474
  const t = e.status;
1474
1475
  let n = {};
1475
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1476
- let s = null;
1477
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1478
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t === 404 ? e.text().then((r) => a("Not Found", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1476
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1477
+ let a = null;
1478
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1479
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t === 404 ? e.text().then((r) => s("Not Found", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1479
1480
  }
1480
1481
  /**
1481
1482
  * Install the latest available version of a module.
@@ -1498,10 +1499,10 @@ class Ge extends b {
1498
1499
  processInstallModule(e) {
1499
1500
  const t = e.status;
1500
1501
  let n = {};
1501
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1502
- let s = null;
1503
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1504
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1502
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1503
+ let a = null;
1504
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1505
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1505
1506
  }
1506
1507
  /**
1507
1508
  * Uninstall a module.
@@ -1524,13 +1525,13 @@ class Ge extends b {
1524
1525
  processUninstallSingleModule(e) {
1525
1526
  const t = e.status;
1526
1527
  let n = {};
1527
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1528
- let s = null;
1529
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1530
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1528
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1529
+ let a = null;
1530
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1531
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1531
1532
  }
1532
1533
  }
1533
- class ke extends b {
1534
+ class Ur extends k {
1534
1535
  http;
1535
1536
  baseUrl;
1536
1537
  constructor(e, t) {
@@ -1553,10 +1554,10 @@ class ke extends b {
1553
1554
  processNew(e) {
1554
1555
  const t = e.status;
1555
1556
  let n = {};
1556
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1557
- let s = null;
1558
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1559
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1557
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1558
+ let a = null;
1559
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1560
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1560
1561
  }
1561
1562
  /**
1562
1563
  * @param body (optional)
@@ -1573,15 +1574,15 @@ class ke extends b {
1573
1574
  Accept: "application/json"
1574
1575
  }
1575
1576
  };
1576
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSave(s));
1577
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSave(a));
1577
1578
  }
1578
1579
  processSave(e) {
1579
1580
  const t = e.status;
1580
1581
  let n = {};
1581
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1582
- let s = null;
1583
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1584
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1582
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1583
+ let a = null;
1584
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1585
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1585
1586
  }
1586
1587
  /**
1587
1588
  * @param clientIds (optional)
@@ -1603,8 +1604,8 @@ class ke extends b {
1603
1604
  processDelete(e) {
1604
1605
  const t = e.status;
1605
1606
  let n = {};
1606
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1607
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1607
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1608
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1608
1609
  }
1609
1610
  /**
1610
1611
  * @param body (optional)
@@ -1621,18 +1622,18 @@ class ke extends b {
1621
1622
  Accept: "application/json"
1622
1623
  }
1623
1624
  };
1624
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearch(s));
1625
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearch(a));
1625
1626
  }
1626
1627
  processSearch(e) {
1627
1628
  const t = e.status;
1628
1629
  let n = {};
1629
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1630
- let s = null;
1631
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1632
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1630
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1631
+ let a = null;
1632
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1633
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1633
1634
  }
1634
1635
  }
1635
- class Je extends b {
1636
+ class Tr extends k {
1636
1637
  http;
1637
1638
  baseUrl;
1638
1639
  constructor(e, t) {
@@ -1654,15 +1655,15 @@ class Je extends b {
1654
1655
  Accept: "application/json"
1655
1656
  }
1656
1657
  };
1657
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearchPushNotification(s));
1658
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearchPushNotification(a));
1658
1659
  }
1659
1660
  processSearchPushNotification(e) {
1660
1661
  const t = e.status;
1661
1662
  let n = {};
1662
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1663
- let s = null;
1664
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1665
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1663
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1664
+ let a = null;
1665
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1666
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1666
1667
  }
1667
1668
  /**
1668
1669
  * Mark all notifications as read
@@ -1682,13 +1683,13 @@ class Je extends b {
1682
1683
  processMarkAllAsRead(e) {
1683
1684
  const t = e.status;
1684
1685
  let n = {};
1685
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1686
- let s = null;
1687
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1688
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1686
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1687
+ let a = null;
1688
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1689
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1689
1690
  }
1690
1691
  }
1691
- class te extends b {
1692
+ class qe extends k {
1692
1693
  http;
1693
1694
  baseUrl;
1694
1695
  constructor(e, t) {
@@ -1703,7 +1704,7 @@ class te extends b {
1703
1704
  if (e == null)
1704
1705
  throw new globalThis.Error("The parameter 'userId' must be defined.");
1705
1706
  n = n.replace("{userId}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
1706
- let s = {
1707
+ let a = {
1707
1708
  body: JSON.stringify(t),
1708
1709
  method: "POST",
1709
1710
  headers: {
@@ -1711,15 +1712,15 @@ class te extends b {
1711
1712
  Accept: "application/json"
1712
1713
  }
1713
1714
  };
1714
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processSearchUserSessions(o));
1715
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processSearchUserSessions(o));
1715
1716
  }
1716
1717
  processSearchUserSessions(e) {
1717
1718
  const t = e.status;
1718
1719
  let n = {};
1719
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1720
- let s = null;
1721
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1722
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1720
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1721
+ let a = null;
1722
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1723
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1723
1724
  }
1724
1725
  /**
1725
1726
  * @return No Content
@@ -1735,13 +1736,13 @@ class te extends b {
1735
1736
  method: "DELETE",
1736
1737
  headers: {}
1737
1738
  };
1738
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processTerminateUserSession(s));
1739
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processTerminateUserSession(a));
1739
1740
  }
1740
1741
  processTerminateUserSession(e) {
1741
1742
  const t = e.status;
1742
1743
  let n = {};
1743
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1744
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1744
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1745
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1745
1746
  }
1746
1747
  /**
1747
1748
  * @return No Content
@@ -1760,8 +1761,8 @@ class te extends b {
1760
1761
  processTerminateAllUserSessions(e) {
1761
1762
  const t = e.status;
1762
1763
  let n = {};
1763
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1764
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1764
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1765
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1765
1766
  }
1766
1767
  /**
1767
1768
  * Sign in with user name and password
@@ -1779,15 +1780,15 @@ class te extends b {
1779
1780
  Accept: "application/json"
1780
1781
  }
1781
1782
  };
1782
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processLogin(s));
1783
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processLogin(a));
1783
1784
  }
1784
1785
  processLogin(e) {
1785
1786
  const t = e.status;
1786
1787
  let n = {};
1787
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1788
- let s = null;
1789
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1790
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1788
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1789
+ let a = null;
1790
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1791
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1791
1792
  }
1792
1793
  /**
1793
1794
  * Sign out
@@ -1805,8 +1806,8 @@ class te extends b {
1805
1806
  processLogout(e) {
1806
1807
  const t = e.status;
1807
1808
  let n = {};
1808
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1809
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1809
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1810
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1810
1811
  }
1811
1812
  /**
1812
1813
  * Get current user details
@@ -1826,10 +1827,10 @@ class te extends b {
1826
1827
  processGetCurrentUser(e) {
1827
1828
  const t = e.status;
1828
1829
  let n = {};
1829
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1830
- let s = null;
1831
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1832
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1830
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1831
+ let a = null;
1832
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1833
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1833
1834
  }
1834
1835
  /**
1835
1836
  * @return OK
@@ -1848,10 +1849,10 @@ class te extends b {
1848
1849
  processUserinfo(e) {
1849
1850
  const t = e.status;
1850
1851
  let n = {};
1851
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1852
- let s = null;
1853
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1854
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1852
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1853
+ let a = null;
1854
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1855
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1855
1856
  }
1856
1857
  /**
1857
1858
  * Get all registered permissions
@@ -1871,10 +1872,10 @@ class te extends b {
1871
1872
  processGetAllRegisteredPermissions(e) {
1872
1873
  const t = e.status;
1873
1874
  let n = {};
1874
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1875
- let s = null;
1876
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1877
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1875
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1876
+ let a = null;
1877
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1878
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1878
1879
  }
1879
1880
  /**
1880
1881
  * SearchAsync roles by keyword
@@ -1892,15 +1893,15 @@ class te extends b {
1892
1893
  Accept: "application/json"
1893
1894
  }
1894
1895
  };
1895
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearchRoles(s));
1896
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearchRoles(a));
1896
1897
  }
1897
1898
  processSearchRoles(e) {
1898
1899
  const t = e.status;
1899
1900
  let n = {};
1900
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1901
- let s = null;
1902
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1903
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1901
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1902
+ let a = null;
1903
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1904
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1904
1905
  }
1905
1906
  /**
1906
1907
  * Get role by ID
@@ -1922,10 +1923,10 @@ class te extends b {
1922
1923
  processGetRole(e) {
1923
1924
  const t = e.status;
1924
1925
  let n = {};
1925
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1926
- let s = null;
1927
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1928
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1926
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1927
+ let a = null;
1928
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1929
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1929
1930
  }
1930
1931
  /**
1931
1932
  * Delete roles by ID
@@ -1948,8 +1949,8 @@ class te extends b {
1948
1949
  processDeleteRoles(e) {
1949
1950
  const t = e.status;
1950
1951
  let n = {};
1951
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
1952
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1952
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
1953
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1953
1954
  }
1954
1955
  /**
1955
1956
  * Update an existing role or create new
@@ -1967,15 +1968,15 @@ class te extends b {
1967
1968
  Accept: "application/json"
1968
1969
  }
1969
1970
  };
1970
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUpdateRole(s));
1971
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUpdateRole(a));
1971
1972
  }
1972
1973
  processUpdateRole(e) {
1973
1974
  const t = e.status;
1974
1975
  let n = {};
1975
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
1976
- let s = null;
1977
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
1978
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1976
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
1977
+ let a = null;
1978
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
1979
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1979
1980
  }
1980
1981
  /**
1981
1982
  * SearchAsync users by keyword
@@ -1993,15 +1994,15 @@ class te extends b {
1993
1994
  Accept: "application/json"
1994
1995
  }
1995
1996
  };
1996
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSearchUsers(s));
1997
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSearchUsers(a));
1997
1998
  }
1998
1999
  processSearchUsers(e) {
1999
2000
  const t = e.status;
2000
2001
  let n = {};
2001
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2002
- let s = null;
2003
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2004
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2002
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2003
+ let a = null;
2004
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2005
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2005
2006
  }
2006
2007
  /**
2007
2008
  * Get users by IDs
@@ -2026,10 +2027,10 @@ class te extends b {
2026
2027
  processGetUsersByIds(e) {
2027
2028
  const t = e.status;
2028
2029
  let n = {};
2029
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2030
- let s = null;
2031
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2032
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2030
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2031
+ let a = null;
2032
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2033
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2033
2034
  }
2034
2035
  /**
2035
2036
  * Update user details by user ID
@@ -2047,15 +2048,15 @@ class te extends b {
2047
2048
  Accept: "application/json"
2048
2049
  }
2049
2050
  };
2050
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUpdate(s));
2051
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUpdate(a));
2051
2052
  }
2052
2053
  processUpdate(e) {
2053
2054
  const t = e.status;
2054
2055
  let n = {};
2055
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2056
- let s = null;
2057
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2058
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2056
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2057
+ let a = null;
2058
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2059
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2059
2060
  }
2060
2061
  /**
2061
2062
  * Delete users by name
@@ -2078,8 +2079,8 @@ class te extends b {
2078
2079
  processDelete(e) {
2079
2080
  const t = e.status;
2080
2081
  let n = {};
2081
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2082
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2082
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2083
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2083
2084
  }
2084
2085
  /**
2085
2086
  * Get user details by user name
@@ -2101,10 +2102,10 @@ class te extends b {
2101
2102
  processGetUserByName(e) {
2102
2103
  const t = e.status;
2103
2104
  let n = {};
2104
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2105
- let s = null;
2106
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2107
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2105
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2106
+ let a = null;
2107
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2108
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2108
2109
  }
2109
2110
  /**
2110
2111
  * Get user details by user ID
@@ -2126,10 +2127,10 @@ class te extends b {
2126
2127
  processGetUserById(e) {
2127
2128
  const t = e.status;
2128
2129
  let n = {};
2129
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2130
- let s = null;
2131
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2132
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2130
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2131
+ let a = null;
2132
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2133
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2133
2134
  }
2134
2135
  /**
2135
2136
  * Get user details by user email
@@ -2151,10 +2152,10 @@ class te extends b {
2151
2152
  processGetUserByEmail(e) {
2152
2153
  const t = e.status;
2153
2154
  let n = {};
2154
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2155
- let s = null;
2156
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2157
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2155
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2156
+ let a = null;
2157
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2158
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2158
2159
  }
2159
2160
  /**
2160
2161
  * Get user details by external login provider
@@ -2173,15 +2174,15 @@ class te extends b {
2173
2174
  Accept: "application/json"
2174
2175
  }
2175
2176
  };
2176
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processGetUserByLogin(s));
2177
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processGetUserByLogin(a));
2177
2178
  }
2178
2179
  processGetUserByLogin(e) {
2179
2180
  const t = e.status;
2180
2181
  let n = {};
2181
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2182
- let s = null;
2183
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2184
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2182
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2183
+ let a = null;
2184
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2185
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2185
2186
  }
2186
2187
  /**
2187
2188
  * Create new user
@@ -2199,15 +2200,15 @@ class te extends b {
2199
2200
  Accept: "application/json"
2200
2201
  }
2201
2202
  };
2202
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processCreate(s));
2203
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processCreate(a));
2203
2204
  }
2204
2205
  processCreate(e) {
2205
2206
  const t = e.status;
2206
2207
  let n = {};
2207
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2208
- let s = null;
2209
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2210
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2208
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2209
+ let a = null;
2210
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2211
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2211
2212
  }
2212
2213
  /**
2213
2214
  * Change password for current user.
@@ -2225,15 +2226,15 @@ class te extends b {
2225
2226
  Accept: "application/json"
2226
2227
  }
2227
2228
  };
2228
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processChangeCurrentUserPassword(s));
2229
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processChangeCurrentUserPassword(a));
2229
2230
  }
2230
2231
  processChangeCurrentUserPassword(e) {
2231
2232
  const t = e.status;
2232
2233
  let n = {};
2233
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2234
- let s = null;
2235
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2236
- }) : t === 400 ? e.text().then((r) => a("Bad Request", t, r, n)) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2234
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2235
+ let a = null;
2236
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2237
+ }) : t === 400 ? e.text().then((r) => s("Bad Request", t, r, n)) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2237
2238
  }
2238
2239
  /**
2239
2240
  * Change password
@@ -2246,7 +2247,7 @@ class te extends b {
2246
2247
  if (e == null)
2247
2248
  throw new globalThis.Error("The parameter 'userName' must be defined.");
2248
2249
  n = n.replace("{userName}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
2249
- let s = {
2250
+ let a = {
2250
2251
  body: JSON.stringify(t),
2251
2252
  method: "POST",
2252
2253
  headers: {
@@ -2254,15 +2255,15 @@ class te extends b {
2254
2255
  Accept: "application/json"
2255
2256
  }
2256
2257
  };
2257
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processChangePassword(o));
2258
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processChangePassword(o));
2258
2259
  }
2259
2260
  processChangePassword(e) {
2260
2261
  const t = e.status;
2261
2262
  let n = {};
2262
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2263
- let s = null;
2264
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2265
- }) : t === 400 ? e.text().then((r) => a("Bad Request", t, r, n)) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2263
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2264
+ let a = null;
2265
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2266
+ }) : t === 400 ? e.text().then((r) => s("Bad Request", t, r, n)) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2266
2267
  }
2267
2268
  /**
2268
2269
  * Reset password confirmation
@@ -2274,7 +2275,7 @@ class te extends b {
2274
2275
  if (e == null)
2275
2276
  throw new globalThis.Error("The parameter 'userName' must be defined.");
2276
2277
  n = n.replace("{userName}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
2277
- let s = {
2278
+ let a = {
2278
2279
  body: JSON.stringify(t),
2279
2280
  method: "POST",
2280
2281
  headers: {
@@ -2282,15 +2283,15 @@ class te extends b {
2282
2283
  Accept: "application/json"
2283
2284
  }
2284
2285
  };
2285
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processResetPassword(o));
2286
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processResetPassword(o));
2286
2287
  }
2287
2288
  processResetPassword(e) {
2288
2289
  const t = e.status;
2289
2290
  let n = {};
2290
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2291
- let s = null;
2292
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2293
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2291
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2292
+ let a = null;
2293
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2294
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2294
2295
  }
2295
2296
  /**
2296
2297
  * Reset password confirmation
@@ -2302,7 +2303,7 @@ class te extends b {
2302
2303
  if (e == null)
2303
2304
  throw new globalThis.Error("The parameter 'userId' must be defined.");
2304
2305
  n = n.replace("{userId}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
2305
- let s = {
2306
+ let a = {
2306
2307
  body: JSON.stringify(t),
2307
2308
  method: "POST",
2308
2309
  headers: {
@@ -2310,15 +2311,15 @@ class te extends b {
2310
2311
  Accept: "application/json"
2311
2312
  }
2312
2313
  };
2313
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processResetPasswordByToken(o));
2314
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processResetPasswordByToken(o));
2314
2315
  }
2315
2316
  processResetPasswordByToken(e) {
2316
2317
  const t = e.status;
2317
2318
  let n = {};
2318
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2319
- let s = null;
2320
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2321
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2319
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2320
+ let a = null;
2321
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2322
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2322
2323
  }
2323
2324
  /**
2324
2325
  * Validate password reset token
@@ -2330,7 +2331,7 @@ class te extends b {
2330
2331
  if (e == null)
2331
2332
  throw new globalThis.Error("The parameter 'userId' must be defined.");
2332
2333
  n = n.replace("{userId}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
2333
- let s = {
2334
+ let a = {
2334
2335
  body: JSON.stringify(t),
2335
2336
  method: "POST",
2336
2337
  headers: {
@@ -2338,15 +2339,15 @@ class te extends b {
2338
2339
  Accept: "application/json"
2339
2340
  }
2340
2341
  };
2341
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processValidatePasswordResetToken(o));
2342
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processValidatePasswordResetToken(o));
2342
2343
  }
2343
2344
  processValidatePasswordResetToken(e) {
2344
2345
  const t = e.status;
2345
2346
  let n = {};
2346
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2347
- let s = null;
2348
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2349
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2347
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2348
+ let a = null;
2349
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2350
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2350
2351
  }
2351
2352
  /**
2352
2353
  * Send email with instructions on how to reset user password.
@@ -2366,8 +2367,8 @@ class te extends b {
2366
2367
  processRequestPasswordReset(e) {
2367
2368
  const t = e.status;
2368
2369
  let n = {};
2369
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2370
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2370
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2371
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2371
2372
  }
2372
2373
  /**
2373
2374
  * @param body (optional)
@@ -2384,15 +2385,15 @@ class te extends b {
2384
2385
  Accept: "application/json"
2385
2386
  }
2386
2387
  };
2387
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processValidatePassword(s));
2388
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processValidatePassword(a));
2388
2389
  }
2389
2390
  processValidatePassword(e) {
2390
2391
  const t = e.status;
2391
2392
  let n = {};
2392
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2393
- let s = null;
2394
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2395
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2393
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2394
+ let a = null;
2395
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2396
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2396
2397
  }
2397
2398
  /**
2398
2399
  * @param body (optional)
@@ -2409,15 +2410,15 @@ class te extends b {
2409
2410
  Accept: "application/json"
2410
2411
  }
2411
2412
  };
2412
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processValidateUserPassword(s));
2413
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processValidateUserPassword(a));
2413
2414
  }
2414
2415
  processValidateUserPassword(e) {
2415
2416
  const t = e.status;
2416
2417
  let n = {};
2417
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2418
- let s = null;
2419
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2420
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2418
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2419
+ let a = null;
2420
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2421
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2421
2422
  }
2422
2423
  /**
2423
2424
  * Checks if user locked
@@ -2440,10 +2441,10 @@ class te extends b {
2440
2441
  processIsUserLocked(e) {
2441
2442
  const t = e.status;
2442
2443
  let n = {};
2443
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2444
- let s = null;
2445
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2446
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2444
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2445
+ let a = null;
2446
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2447
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2447
2448
  }
2448
2449
  /**
2449
2450
  * Checks if manual password change is enabled
@@ -2463,10 +2464,10 @@ class te extends b {
2463
2464
  processPasswordChangeEnabled(e) {
2464
2465
  const t = e.status;
2465
2466
  let n = {};
2466
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2467
- let s = null;
2468
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2469
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2467
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2468
+ let a = null;
2469
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2470
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2470
2471
  }
2471
2472
  /**
2472
2473
  * Lock user
@@ -2489,10 +2490,10 @@ class te extends b {
2489
2490
  processLockUser(e) {
2490
2491
  const t = e.status;
2491
2492
  let n = {};
2492
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2493
- let s = null;
2494
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2495
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2493
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2494
+ let a = null;
2495
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2496
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2496
2497
  }
2497
2498
  /**
2498
2499
  * Unlock user
@@ -2515,10 +2516,10 @@ class te extends b {
2515
2516
  processUnlockUser(e) {
2516
2517
  const t = e.status;
2517
2518
  let n = {};
2518
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2519
- let s = null;
2520
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2521
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2519
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2520
+ let a = null;
2521
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2522
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2522
2523
  }
2523
2524
  /**
2524
2525
  * @return OK
@@ -2539,10 +2540,10 @@ class te extends b {
2539
2540
  processGetUserApiKeys(e) {
2540
2541
  const t = e.status;
2541
2542
  let n = {};
2542
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2543
- let s = null;
2544
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2545
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2543
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2544
+ let a = null;
2545
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2546
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2546
2547
  }
2547
2548
  /**
2548
2549
  * @param body (optional)
@@ -2559,15 +2560,15 @@ class te extends b {
2559
2560
  Accept: "application/json"
2560
2561
  }
2561
2562
  };
2562
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processSaveUserApiKey(s));
2563
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processSaveUserApiKey(a));
2563
2564
  }
2564
2565
  processSaveUserApiKey(e) {
2565
2566
  const t = e.status;
2566
2567
  let n = {};
2567
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2568
- let s = null;
2569
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2570
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2568
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2569
+ let a = null;
2570
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2571
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2571
2572
  }
2572
2573
  /**
2573
2574
  * @param body (optional)
@@ -2584,15 +2585,15 @@ class te extends b {
2584
2585
  Accept: "application/json"
2585
2586
  }
2586
2587
  };
2587
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUpdateUserApiKey(s));
2588
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUpdateUserApiKey(a));
2588
2589
  }
2589
2590
  processUpdateUserApiKey(e) {
2590
2591
  const t = e.status;
2591
2592
  let n = {};
2592
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2593
- let s = null;
2594
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2595
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2593
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2594
+ let a = null;
2595
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2596
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2596
2597
  }
2597
2598
  /**
2598
2599
  * @param ids (optional)
@@ -2616,10 +2617,10 @@ class te extends b {
2616
2617
  processDeleteUserApiKeys(e) {
2617
2618
  const t = e.status;
2618
2619
  let n = {};
2619
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2620
- let s = null;
2621
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2622
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2620
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2621
+ let a = null;
2622
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2623
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2623
2624
  }
2624
2625
  /**
2625
2626
  * Get allowed login types
@@ -2639,10 +2640,10 @@ class te extends b {
2639
2640
  processGetLoginTypes(e) {
2640
2641
  const t = e.status;
2641
2642
  let n = {};
2642
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2643
- let s = null;
2644
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2645
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2643
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2644
+ let a = null;
2645
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2646
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2646
2647
  }
2647
2648
  /**
2648
2649
  * Verify user email
@@ -2662,8 +2663,8 @@ class te extends b {
2662
2663
  processSendVerificationEmail(e) {
2663
2664
  const t = e.status;
2664
2665
  let n = {};
2665
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2666
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2666
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2667
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2667
2668
  }
2668
2669
  /**
2669
2670
  * @param body (optional)
@@ -2674,7 +2675,7 @@ class te extends b {
2674
2675
  if (e == null)
2675
2676
  throw new globalThis.Error("The parameter 'userId' must be defined.");
2676
2677
  n = n.replace("{userId}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
2677
- let s = {
2678
+ let a = {
2678
2679
  body: JSON.stringify(t),
2679
2680
  method: "POST",
2680
2681
  headers: {
@@ -2682,15 +2683,15 @@ class te extends b {
2682
2683
  Accept: "application/json"
2683
2684
  }
2684
2685
  };
2685
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processConfirmEmail(o));
2686
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processConfirmEmail(o));
2686
2687
  }
2687
2688
  processConfirmEmail(e) {
2688
2689
  const t = e.status;
2689
2690
  let n = {};
2690
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2691
- let s = null;
2692
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2693
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2691
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2692
+ let a = null;
2693
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2694
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2694
2695
  }
2695
2696
  /**
2696
2697
  * @param newEmail (optional)
@@ -2709,15 +2710,15 @@ class te extends b {
2709
2710
  Accept: "application/json"
2710
2711
  }
2711
2712
  };
2712
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processGenerateChangeEmailToken(s));
2713
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processGenerateChangeEmailToken(a));
2713
2714
  }
2714
2715
  processGenerateChangeEmailToken(e) {
2715
2716
  const t = e.status;
2716
2717
  let n = {};
2717
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2718
- let s = null;
2719
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2720
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2718
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2719
+ let a = null;
2720
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2721
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2721
2722
  }
2722
2723
  /**
2723
2724
  * @return OK
@@ -2738,10 +2739,10 @@ class te extends b {
2738
2739
  processGenerateEmailConfirmationToken(e) {
2739
2740
  const t = e.status;
2740
2741
  let n = {};
2741
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2742
- let s = null;
2743
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2744
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2742
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2743
+ let a = null;
2744
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2745
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2745
2746
  }
2746
2747
  /**
2747
2748
  * @return OK
@@ -2762,10 +2763,10 @@ class te extends b {
2762
2763
  processGeneratePasswordResetToken(e) {
2763
2764
  const t = e.status;
2764
2765
  let n = {};
2765
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2766
- let s = null;
2767
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2768
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2766
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2767
+ let a = null;
2768
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2769
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2769
2770
  }
2770
2771
  /**
2771
2772
  * @param tokenProvider (optional)
@@ -2781,21 +2782,21 @@ class te extends b {
2781
2782
  if (t !== void 0 && (r += "tokenProvider=" + encodeURIComponent("" + t) + "&"), n === null)
2782
2783
  throw new globalThis.Error("The parameter 'purpose' cannot be null.");
2783
2784
  n !== void 0 && (r += "purpose=" + encodeURIComponent("" + n) + "&"), r = r.replace(/[?&]$/, "");
2784
- let s = {
2785
+ let a = {
2785
2786
  method: "GET",
2786
2787
  headers: {
2787
2788
  Accept: "application/json"
2788
2789
  }
2789
2790
  };
2790
- return this.transformOptions(s).then((o) => this.http.fetch(r, o)).then((o) => this.processGenerateUserToken(o));
2791
+ return this.transformOptions(a).then((o) => this.http.fetch(r, o)).then((o) => this.processGenerateUserToken(o));
2791
2792
  }
2792
2793
  processGenerateUserToken(e) {
2793
2794
  const t = e.status;
2794
2795
  let n = {};
2795
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2796
- let s = null;
2797
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2798
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2796
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2797
+ let a = null;
2798
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2799
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2799
2800
  }
2800
2801
  /**
2801
2802
  * @param body (optional)
@@ -2806,7 +2807,7 @@ class te extends b {
2806
2807
  if (e == null)
2807
2808
  throw new globalThis.Error("The parameter 'userId' must be defined.");
2808
2809
  n = n.replace("{userId}", encodeURIComponent("" + e)), n = n.replace(/[?&]$/, "");
2809
- let s = {
2810
+ let a = {
2810
2811
  body: JSON.stringify(t),
2811
2812
  method: "POST",
2812
2813
  headers: {
@@ -2814,18 +2815,18 @@ class te extends b {
2814
2815
  Accept: "application/json"
2815
2816
  }
2816
2817
  };
2817
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processVerifyUserToken(o));
2818
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processVerifyUserToken(o));
2818
2819
  }
2819
2820
  processVerifyUserToken(e) {
2820
2821
  const t = e.status;
2821
2822
  let n = {};
2822
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2823
- let s = null;
2824
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2825
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2823
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2824
+ let a = null;
2825
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2826
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2826
2827
  }
2827
2828
  }
2828
- class Fe extends b {
2829
+ class Cr extends k {
2829
2830
  http;
2830
2831
  baseUrl;
2831
2832
  constructor(e, t) {
@@ -2849,10 +2850,10 @@ class Fe extends b {
2849
2850
  processGetAllGlobalSettings(e) {
2850
2851
  const t = e.status;
2851
2852
  let n = {};
2852
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2853
- let s = null;
2854
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2855
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2853
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2854
+ let a = null;
2855
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2856
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2856
2857
  }
2857
2858
  /**
2858
2859
  * Update settings values
@@ -2869,13 +2870,13 @@ class Fe extends b {
2869
2870
  "Content-Type": "application/json-patch+json"
2870
2871
  }
2871
2872
  };
2872
- return this.transformOptions(r).then((s) => this.http.fetch(t, s)).then((s) => this.processUpdate(s));
2873
+ return this.transformOptions(r).then((a) => this.http.fetch(t, a)).then((a) => this.processUpdate(a));
2873
2874
  }
2874
2875
  processUpdate(e) {
2875
2876
  const t = e.status;
2876
2877
  let n = {};
2877
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
2878
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2878
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
2879
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2879
2880
  }
2880
2881
  /**
2881
2882
  * Get settings registered by specific module
@@ -2898,10 +2899,10 @@ class Fe extends b {
2898
2899
  processGetGlobalModuleSettings(e) {
2899
2900
  const t = e.status;
2900
2901
  let n = {};
2901
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2902
- let s = null;
2903
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2904
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2902
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2903
+ let a = null;
2904
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2905
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2905
2906
  }
2906
2907
  /**
2907
2908
  * Get setting details by name
@@ -2924,10 +2925,10 @@ class Fe extends b {
2924
2925
  processGetGlobalSetting(e) {
2925
2926
  const t = e.status;
2926
2927
  let n = {};
2927
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2928
- let s = null;
2929
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2930
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2928
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2929
+ let a = null;
2930
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2931
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2931
2932
  }
2932
2933
  /**
2933
2934
  * Get UI customization setting
@@ -2947,13 +2948,13 @@ class Fe extends b {
2947
2948
  processGetUICustomizationSetting(e) {
2948
2949
  const t = e.status;
2949
2950
  let n = {};
2950
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2951
- let s = null;
2952
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2953
- }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2951
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2952
+ let a = null;
2953
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2954
+ }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2954
2955
  }
2955
2956
  }
2956
- class Me extends b {
2957
+ class Sr extends k {
2957
2958
  http;
2958
2959
  baseUrl;
2959
2960
  constructor(e, t) {
@@ -2978,15 +2979,15 @@ class Me extends b {
2978
2979
  Accept: "application/json"
2979
2980
  }
2980
2981
  };
2981
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processGetGlobalSchema(s));
2982
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processGetGlobalSchema(a));
2982
2983
  }
2983
2984
  processGetGlobalSchema(e) {
2984
2985
  const t = e.status;
2985
2986
  let n = {};
2986
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
2987
- let s = null;
2988
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
2989
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2987
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
2988
+ let a = null;
2989
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
2990
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2990
2991
  }
2991
2992
  /**
2992
2993
  * Get global settings values as a flat { name: value } dictionary.
@@ -3009,13 +3010,13 @@ class Me extends b {
3009
3010
  method: "GET",
3010
3011
  headers: {}
3011
3012
  };
3012
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processGetGlobalValues(s));
3013
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processGetGlobalValues(a));
3013
3014
  }
3014
3015
  processGetGlobalValues(e) {
3015
3016
  const t = e.status;
3016
3017
  let n = {};
3017
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
3018
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3018
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
3019
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3019
3020
  }
3020
3021
  /**
3021
3022
  * @param replaceAll (optional)
@@ -3027,20 +3028,20 @@ class Me extends b {
3027
3028
  if (e === null)
3028
3029
  throw new globalThis.Error("The parameter 'replaceAll' cannot be null.");
3029
3030
  e !== void 0 && (n += "replaceAll=" + encodeURIComponent("" + e) + "&"), n = n.replace(/[?&]$/, "");
3030
- let s = {
3031
+ let a = {
3031
3032
  body: JSON.stringify(t),
3032
3033
  method: "POST",
3033
3034
  headers: {
3034
3035
  "Content-Type": "application/json-patch+json"
3035
3036
  }
3036
3037
  };
3037
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processSaveGlobalValues(o));
3038
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processSaveGlobalValues(o));
3038
3039
  }
3039
3040
  processSaveGlobalValues(e) {
3040
3041
  const t = e.status;
3041
3042
  let n = {};
3042
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
3043
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3043
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
3044
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3044
3045
  }
3045
3046
  /**
3046
3047
  * Get tenant settings schema (metadata only, no values).
@@ -3058,21 +3059,21 @@ class Me extends b {
3058
3059
  if (t !== void 0 && (r += "moduleId=" + encodeURIComponent("" + t) + "&"), n === null)
3059
3060
  throw new globalThis.Error("The parameter 'keyword' cannot be null.");
3060
3061
  n !== void 0 && (r += "keyword=" + encodeURIComponent("" + n) + "&"), r = r.replace(/[?&]$/, "");
3061
- let s = {
3062
+ let a = {
3062
3063
  method: "GET",
3063
3064
  headers: {
3064
3065
  Accept: "application/json"
3065
3066
  }
3066
3067
  };
3067
- return this.transformOptions(s).then((o) => this.http.fetch(r, o)).then((o) => this.processGetTenantSchema(o));
3068
+ return this.transformOptions(a).then((o) => this.http.fetch(r, o)).then((o) => this.processGetTenantSchema(o));
3068
3069
  }
3069
3070
  processGetTenantSchema(e) {
3070
3071
  const t = e.status;
3071
3072
  let n = {};
3072
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
3073
- let s = null;
3074
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
3075
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3073
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
3074
+ let a = null;
3075
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
3076
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3076
3077
  }
3077
3078
  /**
3078
3079
  * Get tenant settings values as a flat { name: value } dictionary.
@@ -3083,27 +3084,27 @@ class Me extends b {
3083
3084
  * @return OK
3084
3085
  */
3085
3086
  getTenantValues(e, t, n, r) {
3086
- let s = this.baseUrl + "/api/platform/settings/v2/tenant/{tenantType}/{tenantId}/values?";
3087
+ let a = this.baseUrl + "/api/platform/settings/v2/tenant/{tenantType}/{tenantId}/values?";
3087
3088
  if (e == null)
3088
3089
  throw new globalThis.Error("The parameter 'tenantType' must be defined.");
3089
- if (s = s.replace("{tenantType}", encodeURIComponent("" + e)), t == null)
3090
+ if (a = a.replace("{tenantType}", encodeURIComponent("" + e)), t == null)
3090
3091
  throw new globalThis.Error("The parameter 'tenantId' must be defined.");
3091
- if (s = s.replace("{tenantId}", encodeURIComponent("" + t)), n === null)
3092
+ if (a = a.replace("{tenantId}", encodeURIComponent("" + t)), n === null)
3092
3093
  throw new globalThis.Error("The parameter 'modifiedOnly' cannot be null.");
3093
- if (n !== void 0 && (s += "modifiedOnly=" + encodeURIComponent("" + n) + "&"), r === null)
3094
+ if (n !== void 0 && (a += "modifiedOnly=" + encodeURIComponent("" + n) + "&"), r === null)
3094
3095
  throw new globalThis.Error("The parameter 'moduleId' cannot be null.");
3095
- r !== void 0 && (s += "moduleId=" + encodeURIComponent("" + r) + "&"), s = s.replace(/[?&]$/, "");
3096
+ r !== void 0 && (a += "moduleId=" + encodeURIComponent("" + r) + "&"), a = a.replace(/[?&]$/, "");
3096
3097
  let o = {
3097
3098
  method: "GET",
3098
3099
  headers: {}
3099
3100
  };
3100
- return this.transformOptions(o).then((l) => this.http.fetch(s, l)).then((l) => this.processGetTenantValues(l));
3101
+ return this.transformOptions(o).then((l) => this.http.fetch(a, l)).then((l) => this.processGetTenantValues(l));
3101
3102
  }
3102
3103
  processGetTenantValues(e) {
3103
3104
  const t = e.status;
3104
3105
  let n = {};
3105
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
3106
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3106
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
3107
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3107
3108
  }
3108
3109
  /**
3109
3110
  * @param replaceAll (optional)
@@ -3111,14 +3112,14 @@ class Me extends b {
3111
3112
  * @return No Content
3112
3113
  */
3113
3114
  saveTenantValues(e, t, n, r) {
3114
- let s = this.baseUrl + "/api/platform/settings/v2/tenant/{tenantType}/{tenantId}/values?";
3115
+ let a = this.baseUrl + "/api/platform/settings/v2/tenant/{tenantType}/{tenantId}/values?";
3115
3116
  if (e == null)
3116
3117
  throw new globalThis.Error("The parameter 'tenantType' must be defined.");
3117
- if (s = s.replace("{tenantType}", encodeURIComponent("" + e)), t == null)
3118
+ if (a = a.replace("{tenantType}", encodeURIComponent("" + e)), t == null)
3118
3119
  throw new globalThis.Error("The parameter 'tenantId' must be defined.");
3119
- if (s = s.replace("{tenantId}", encodeURIComponent("" + t)), n === null)
3120
+ if (a = a.replace("{tenantId}", encodeURIComponent("" + t)), n === null)
3120
3121
  throw new globalThis.Error("The parameter 'replaceAll' cannot be null.");
3121
- n !== void 0 && (s += "replaceAll=" + encodeURIComponent("" + n) + "&"), s = s.replace(/[?&]$/, "");
3122
+ n !== void 0 && (a += "replaceAll=" + encodeURIComponent("" + n) + "&"), a = a.replace(/[?&]$/, "");
3122
3123
  let l = {
3123
3124
  body: JSON.stringify(r),
3124
3125
  method: "POST",
@@ -3126,13 +3127,13 @@ class Me extends b {
3126
3127
  "Content-Type": "application/json-patch+json"
3127
3128
  }
3128
3129
  };
3129
- return this.transformOptions(l).then((h) => this.http.fetch(s, h)).then((h) => this.processSaveTenantValues(h));
3130
+ return this.transformOptions(l).then((c) => this.http.fetch(a, c)).then((c) => this.processSaveTenantValues(c));
3130
3131
  }
3131
3132
  processSaveTenantValues(e) {
3132
3133
  const t = e.status;
3133
3134
  let n = {};
3134
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
3135
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3135
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
3136
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3136
3137
  }
3137
3138
  /**
3138
3139
  * Get the current user's UserProfile settings schema (metadata only).
@@ -3157,15 +3158,15 @@ class Me extends b {
3157
3158
  Accept: "application/json"
3158
3159
  }
3159
3160
  };
3160
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processGetMeSchema(s));
3161
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processGetMeSchema(a));
3161
3162
  }
3162
3163
  processGetMeSchema(e) {
3163
3164
  const t = e.status;
3164
3165
  let n = {};
3165
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
3166
- let s = null;
3167
- return s = r === "" ? null : JSON.parse(r, this.jsonParseReviver), s;
3168
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3166
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
3167
+ let a = null;
3168
+ return a = r === "" ? null : JSON.parse(r, this.jsonParseReviver), a;
3169
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3169
3170
  }
3170
3171
  /**
3171
3172
  * Get the current user's effective UserProfile settings values
@@ -3188,13 +3189,13 @@ class Me extends b {
3188
3189
  method: "GET",
3189
3190
  headers: {}
3190
3191
  };
3191
- return this.transformOptions(r).then((s) => this.http.fetch(n, s)).then((s) => this.processGetMeValues(s));
3192
+ return this.transformOptions(r).then((a) => this.http.fetch(n, a)).then((a) => this.processGetMeValues(a));
3192
3193
  }
3193
3194
  processGetMeValues(e) {
3194
3195
  const t = e.status;
3195
3196
  let n = {};
3196
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 200 ? e.text().then((r) => {
3197
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3197
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 200 ? e.text().then((r) => {
3198
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3198
3199
  }
3199
3200
  /**
3200
3201
  * @param replaceAll (optional)
@@ -3206,53 +3207,53 @@ class Me extends b {
3206
3207
  if (e === null)
3207
3208
  throw new globalThis.Error("The parameter 'replaceAll' cannot be null.");
3208
3209
  e !== void 0 && (n += "replaceAll=" + encodeURIComponent("" + e) + "&"), n = n.replace(/[?&]$/, "");
3209
- let s = {
3210
+ let a = {
3210
3211
  body: JSON.stringify(t),
3211
3212
  method: "POST",
3212
3213
  headers: {
3213
3214
  "Content-Type": "application/json-patch+json"
3214
3215
  }
3215
3216
  };
3216
- return this.transformOptions(s).then((o) => this.http.fetch(n, o)).then((o) => this.processSaveMeValues(o));
3217
+ return this.transformOptions(a).then((o) => this.http.fetch(n, o)).then((o) => this.processSaveMeValues(o));
3217
3218
  }
3218
3219
  processSaveMeValues(e) {
3219
3220
  const t = e.status;
3220
3221
  let n = {};
3221
- return e.headers && e.headers.forEach && e.headers.forEach((r, s) => n[s] = r), t === 204 ? e.text().then((r) => {
3222
- }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3222
+ return e.headers && e.headers.forEach && e.headers.forEach((r, a) => n[a] = r), t === 204 ? e.text().then((r) => {
3223
+ }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3223
3224
  }
3224
3225
  }
3225
- var re = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(re || {}), ne = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.Html = "Html", i.Image = "Image", i))(ne || {}), se = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(se || {}), ae = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.Object = "Object", i.Array = "Array", i.String = "String", i.Number = "Number", i.True = "True", i.False = "False", i.Null = "Null", i))(ae || {}), ie = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(ie || {}), oe = /* @__PURE__ */ ((i) => (i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.SecureString = "SecureString", i.Json = "Json", i.PositiveInteger = "PositiveInteger", i))(oe || {}), le = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(le || {});
3226
- class ue extends Error {
3226
+ var He = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(He || {}), Ze = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.Html = "Html", i.Image = "Image", i))(Ze || {}), Xe = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(Xe || {}), Ye = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.Object = "Object", i.Array = "Array", i.String = "String", i.Number = "Number", i.True = "True", i.False = "False", i.Null = "Null", i))(Ye || {}), Qe = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(Qe || {}), et = /* @__PURE__ */ ((i) => (i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.SecureString = "SecureString", i.Json = "Json", i.PositiveInteger = "PositiveInteger", i))(et || {}), tt = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(tt || {});
3227
+ class rt extends Error {
3227
3228
  message;
3228
3229
  status;
3229
3230
  response;
3230
3231
  headers;
3231
3232
  result;
3232
- constructor(e, t, n, r, s) {
3233
- super(), this.message = e, this.status = t, this.response = n, this.headers = r, this.result = s;
3233
+ constructor(e, t, n, r, a) {
3234
+ super(), this.message = e, this.status = t, this.response = n, this.headers = r, this.result = a;
3234
3235
  }
3235
3236
  isApiException = !0;
3236
3237
  static isApiException(e) {
3237
3238
  return e.isApiException === !0;
3238
3239
  }
3239
3240
  }
3240
- function a(i, e, t, n, r) {
3241
- throw r ?? new ue(i, e, t, n, null);
3241
+ function s(i, e, t, n, r) {
3242
+ throw r ?? new rt(i, e, t, n, null);
3242
3243
  }
3243
- const D = {
3244
+ const _e = {
3244
3245
  debug: 0,
3245
3246
  info: 1,
3246
3247
  warn: 2,
3247
3248
  error: 3,
3248
3249
  none: 4
3249
- }, he = {
3250
+ }, nt = {
3250
3251
  level: "warn",
3251
3252
  prefix: "@vc-shell/framework",
3252
3253
  enabled: !0
3253
3254
  };
3254
- function g(i) {
3255
- const e = { ...he }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? D[r] >= D[e.level] : !1;
3255
+ function B(i) {
3256
+ const e = { ...nt }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? _e[r] >= _e[e.level] : !1;
3256
3257
  return {
3257
3258
  /**
3258
3259
  * Log debug messages (only in development)
@@ -3281,7 +3282,7 @@ function g(i) {
3281
3282
  /**
3282
3283
  * Create a child logger with additional context
3283
3284
  */
3284
- child: (r) => g(i ? `${i}:${r}` : r),
3285
+ child: (r) => B(i ? `${i}:${r}` : r),
3285
3286
  /**
3286
3287
  * Set the log level for this logger instance
3287
3288
  */
@@ -3296,16 +3297,16 @@ function g(i) {
3296
3297
  }
3297
3298
  };
3298
3299
  }
3299
- const De = g(), Be = {
3300
- core: g("core"),
3301
- ui: g("ui"),
3302
- shared: g("shared"),
3303
- plugins: g("plugins"),
3304
- services: g("services"),
3305
- composables: g("composables")
3306
- }, k = g("use-external-provider"), ce = "externalSignIn", de = () => {
3307
- const i = new ee(), e = H(
3308
- ce,
3300
+ const wr = B(), Ar = {
3301
+ core: B("core"),
3302
+ ui: B("ui"),
3303
+ shared: B("shared"),
3304
+ plugins: B("plugins"),
3305
+ services: B("services"),
3306
+ composables: B("composables")
3307
+ }, me = B("use-external-provider"), at = "externalSignIn", st = () => {
3308
+ const i = new Ke(), e = Me(
3309
+ at,
3309
3310
  {},
3310
3311
  {
3311
3312
  listenToStorageChanges: !0,
@@ -3318,29 +3319,29 @@ const De = g(), Be = {
3318
3319
  }
3319
3320
  async function n(o) {
3320
3321
  try {
3321
- const l = window.location.origin, h = window.location.pathname ?? t() ?? "/";
3322
+ const l = window.location.origin, c = window.location.pathname ?? t() ?? "/";
3322
3323
  if (!o)
3323
3324
  throw new Error("The parameter 'authenticationType' cannot be null or undefined.");
3324
- const x = new URL("/externalsignin", l);
3325
- x.searchParams.set("authenticationType", o), x.searchParams.set("returnUrl", h), e.value = { providerType: o }, window.location.assign(x);
3325
+ const p = new URL("/externalsignin", l);
3326
+ p.searchParams.set("authenticationType", o), p.searchParams.set("returnUrl", c), e.value = { providerType: o }, window.location.assign(p);
3326
3327
  } catch (l) {
3327
- throw k.error("External sign-in failed:", l), l;
3328
+ throw me.error("External sign-in failed:", l), l;
3328
3329
  }
3329
3330
  }
3330
3331
  async function r(o) {
3331
3332
  try {
3332
- const l = window.location.origin, h = window.location.pathname ?? "/", x = new URL("/externalsignin/signout", l);
3333
- x.searchParams.set("authenticationType", o), x.searchParams.set("returnUrl", h), e.value = {}, window.location.assign(x);
3333
+ const l = window.location.origin, c = window.location.pathname ?? "/", p = new URL("/externalsignin/signout", l);
3334
+ p.searchParams.set("authenticationType", o), p.searchParams.set("returnUrl", c), e.value = {}, window.location.assign(p);
3334
3335
  } catch (l) {
3335
- throw k.error("External sign-out failed:", l), l;
3336
+ throw me.error("External sign-out failed:", l), l;
3336
3337
  }
3337
3338
  }
3338
- async function s() {
3339
+ async function a() {
3339
3340
  let o;
3340
3341
  try {
3341
3342
  o = await i.getExternalLoginProviders();
3342
3343
  } catch (l) {
3343
- k.error("Failed to get external login providers:", l);
3344
+ me.error("Failed to get external login providers:", l);
3344
3345
  }
3345
3346
  return o;
3346
3347
  }
@@ -3348,34 +3349,34 @@ const De = g(), Be = {
3348
3349
  storage: e,
3349
3350
  signIn: n,
3350
3351
  signOut: r,
3351
- getProviders: s
3352
+ getProviders: a
3352
3353
  };
3353
- }, M = "vc_auth_data", f = g("use-user");
3354
- function fe() {
3354
+ }, xe = "vc_auth_data", w = B("use-user");
3355
+ function it() {
3355
3356
  try {
3356
- const i = localStorage.getItem(M);
3357
+ const i = localStorage.getItem(xe);
3357
3358
  if (i)
3358
3359
  return JSON.parse(i);
3359
3360
  } catch (i) {
3360
- f.error("Failed to read auth data from storage:", i);
3361
+ w.error("Failed to read auth data from storage:", i);
3361
3362
  }
3362
3363
  return null;
3363
3364
  }
3364
- function B(i) {
3365
+ function Ue(i) {
3365
3366
  try {
3366
- f.debug("storeAuthData - Saving:", i), localStorage.setItem(M, JSON.stringify(i)), f.debug("storeAuthData - Saved successfully");
3367
+ w.debug("storeAuthData - Saving:", i), localStorage.setItem(xe, JSON.stringify(i)), w.debug("storeAuthData - Saved successfully");
3367
3368
  } catch (e) {
3368
- f.error("Failed to store auth data:", e);
3369
+ w.error("Failed to store auth data:", e);
3369
3370
  }
3370
3371
  }
3371
- function pe() {
3372
+ function ot() {
3372
3373
  try {
3373
- localStorage.removeItem(M);
3374
+ localStorage.removeItem(xe);
3374
3375
  } catch (i) {
3375
- f.error("Failed to clear auth data:", i);
3376
+ w.error("Failed to clear auth data:", i);
3376
3377
  }
3377
3378
  }
3378
- async function L(i) {
3379
+ async function Te(i) {
3379
3380
  try {
3380
3381
  const e = new URLSearchParams(i).toString(), t = await fetch("/connect/token", {
3381
3382
  method: "POST",
@@ -3385,177 +3386,177 @@ async function L(i) {
3385
3386
  body: e
3386
3387
  });
3387
3388
  if (!t.ok) {
3388
- const h = await t.text();
3389
- return f.error("fetchToken - HTTP error:", t.status, t.statusText, h), null;
3389
+ const c = await t.text();
3390
+ return w.error("fetchToken - HTTP error:", t.status, t.statusText, c), null;
3390
3391
  }
3391
3392
  const n = await t.json();
3392
- f.debug("fetchToken - Response:", n);
3393
- const r = n.access_token, s = n.refresh_token, o = n.expires_in;
3393
+ w.debug("fetchToken - Response:", n);
3394
+ const r = n.access_token, a = n.refresh_token, o = n.expires_in;
3394
3395
  if (n.error || !r)
3395
- return f.error("fetchToken - Error:", n.error_description || n.error || "No access token"), null;
3396
+ return w.error("fetchToken - Error:", n.error_description || n.error || "No access token"), null;
3396
3397
  const l = o ? Date.now() + o * 1e3 : null;
3397
3398
  return {
3398
3399
  token: r,
3399
3400
  access_token: r,
3400
- refresh_token: s ?? null,
3401
+ refresh_token: a ?? null,
3401
3402
  expires_at: l
3402
3403
  };
3403
3404
  } catch (e) {
3404
- return f.error("fetchToken - Exception:", e), null;
3405
+ return w.error("fetchToken - Exception:", e), null;
3405
3406
  }
3406
3407
  }
3407
- function me() {
3408
- const i = N(!1), e = N(), t = N(null), { storage: n, signOut: r } = de(), s = new te(), o = u(() => e.value?.userName != null);
3409
- async function l(c, m) {
3410
- let p = !1;
3408
+ function lt() {
3409
+ const i = G(!1), e = G(), t = G(null), { storage: n, signOut: r } = st(), a = new qe(), o = d(() => e.value?.userName != null);
3410
+ async function l(m, C) {
3411
+ let T = !1;
3411
3412
  try {
3412
- i.value = !0, p = await s.validatePasswordResetToken(c, {
3413
- token: m
3413
+ i.value = !0, T = await a.validatePasswordResetToken(m, {
3414
+ token: C
3414
3415
  });
3415
3416
  } catch {
3416
3417
  } finally {
3417
3418
  i.value = !1;
3418
3419
  }
3419
- return p;
3420
+ return T;
3420
3421
  }
3421
- async function h(c) {
3422
- return s.validatePassword(c);
3422
+ async function c(m) {
3423
+ return a.validatePassword(m);
3423
3424
  }
3424
- async function x(c, m, p) {
3425
- return s.resetPasswordByToken(c, {
3426
- newPassword: m,
3427
- token: p
3425
+ async function p(m, C, T) {
3426
+ return a.resetPasswordByToken(m, {
3427
+ newPassword: C,
3428
+ token: T
3428
3429
  });
3429
3430
  }
3430
- async function I(c, m) {
3431
- f.debug("signIn - Entry point");
3431
+ async function g(m, C) {
3432
+ w.debug("signIn - Entry point");
3432
3433
  try {
3433
3434
  i.value = !0;
3434
- const p = await s.login({ userName: c, password: m });
3435
- if (f.debug("signIn - Cookie login completed:", p), !p.succeeded)
3436
- return p;
3437
- f.debug("signIn - Requesting token...");
3438
- const v = await L({
3435
+ const T = await a.login({ userName: m, password: C });
3436
+ if (w.debug("signIn - Cookie login completed:", T), !T.succeeded)
3437
+ return T;
3438
+ w.debug("signIn - Requesting token...");
3439
+ const P = await Te({
3439
3440
  grant_type: "password",
3440
- username: c,
3441
- password: m,
3441
+ username: m,
3442
+ password: C,
3442
3443
  scope: "offline_access"
3443
3444
  });
3444
- v && (t.value = v, B(t.value), f.debug("signIn - Token saved:", t.value));
3445
- const y = await s.getCurrentUser();
3446
- if (y)
3447
- return e.value = y, p;
3445
+ P && (t.value = P, Ue(t.value), w.debug("signIn - Token saved:", t.value));
3446
+ const F = await a.getCurrentUser();
3447
+ if (F)
3448
+ return e.value = F, T;
3448
3449
  throw { succeeded: !1 };
3449
- } catch (p) {
3450
- f.error("signIn failed:", p);
3451
- let v = p.message;
3452
- if (p.response)
3450
+ } catch (T) {
3451
+ w.error("signIn failed:", T);
3452
+ let P = T.message;
3453
+ if (T.response)
3453
3454
  try {
3454
- const y = JSON.parse(p.response);
3455
- v = y.errorDescription || y.errors?.[0]?.description || y.error || v;
3455
+ const F = JSON.parse(T.response);
3456
+ P = F.errorDescription || F.errors?.[0]?.description || F.error || P;
3456
3457
  } catch {
3457
3458
  }
3458
- return { succeeded: !1, error: v, status: p.status };
3459
+ return { succeeded: !1, error: P, status: T.status };
3459
3460
  } finally {
3460
3461
  i.value = !1;
3461
3462
  }
3462
3463
  }
3463
- async function O() {
3464
- f.debug("signOut - Entry point"), e.value = void 0, pe(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
3464
+ async function h() {
3465
+ w.debug("signOut - Entry point"), e.value = void 0, ot(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : a.logout();
3465
3466
  }
3466
- let U = null;
3467
- async function w() {
3468
- return U || (U = (async () => {
3469
- f.debug("loadUser - Entry point");
3467
+ let _ = null;
3468
+ async function A() {
3469
+ return _ || (_ = (async () => {
3470
+ w.debug("loadUser - Entry point");
3470
3471
  try {
3471
3472
  i.value = !0, performance.mark("vc:auth-start");
3472
- const [c] = await Promise.all([s.getCurrentUser(), d()]);
3473
- e.value = c, performance.mark("vc:auth-done"), f.debug("User details loaded:", e.value);
3474
- } catch (c) {
3475
- f.error("loadUser failed:", c);
3473
+ const [m] = await Promise.all([a.getCurrentUser(), b()]);
3474
+ e.value = m, performance.mark("vc:auth-done"), w.debug("User details loaded:", e.value);
3475
+ } catch (m) {
3476
+ w.error("loadUser failed:", m);
3476
3477
  } finally {
3477
- i.value = !1, U = null;
3478
+ i.value = !1, _ = null;
3478
3479
  }
3479
3480
  return { ...e.value };
3480
- })(), U);
3481
+ })(), _);
3481
3482
  }
3482
- async function z(c) {
3483
+ async function E(m) {
3483
3484
  try {
3484
- return i.value = !0, await s.requestPasswordReset(c), { succeeded: !0 };
3485
- } catch (m) {
3486
- return { succeeded: !1, error: m };
3485
+ return i.value = !0, await a.requestPasswordReset(m), { succeeded: !0 };
3486
+ } catch (C) {
3487
+ return { succeeded: !1, error: C };
3487
3488
  } finally {
3488
3489
  i.value = !1;
3489
3490
  }
3490
3491
  }
3491
- async function A(c, m) {
3492
- let p;
3492
+ async function O(m, C) {
3493
+ let T;
3493
3494
  try {
3494
3495
  i.value = !0;
3495
- const v = {
3496
- oldPassword: c,
3497
- newPassword: m
3496
+ const P = {
3497
+ oldPassword: m,
3498
+ newPassword: C
3498
3499
  };
3499
- p = await s.changeCurrentUserPassword(v);
3500
- } catch (v) {
3501
- return { succeeded: !1, errors: [v.message] };
3500
+ T = await a.changeCurrentUserPassword(P);
3501
+ } catch (P) {
3502
+ return { succeeded: !1, errors: [P.message] };
3502
3503
  } finally {
3503
3504
  i.value = !1;
3504
3505
  }
3505
- return p;
3506
+ return T;
3506
3507
  }
3507
- async function _() {
3508
- let c = null;
3508
+ async function z() {
3509
+ let m = null;
3509
3510
  try {
3510
- c = await s.getLoginTypes();
3511
- } catch (m) {
3512
- throw f.error("getLoginType failed:", m), m;
3511
+ m = await a.getLoginTypes();
3512
+ } catch (C) {
3513
+ throw w.error("getLoginType failed:", C), C;
3513
3514
  }
3514
- return c;
3515
- }
3516
- const $ = 60 * 1e3;
3517
- async function d() {
3518
- if (f.debug("getAccessToken - Entry point"), t.value || (t.value = fe()), !t.value)
3519
- return f.debug("getAccessToken - No auth data available"), null;
3520
- const c = Date.now(), m = t.value.expires_at, p = m ? c >= m - $ : !1;
3521
- if (f.debug("getAccessToken - Token status:", {
3515
+ return m;
3516
+ }
3517
+ const D = 60 * 1e3;
3518
+ async function b() {
3519
+ if (w.debug("getAccessToken - Entry point"), t.value || (t.value = it()), !t.value)
3520
+ return w.debug("getAccessToken - No auth data available"), null;
3521
+ const m = Date.now(), C = t.value.expires_at, T = C ? m >= C - D : !1;
3522
+ if (w.debug("getAccessToken - Token status:", {
3522
3523
  hasToken: !!t.value.access_token,
3523
- expiresAt: m ? new Date(m).toISOString() : "not set",
3524
- now: new Date(c).toISOString(),
3525
- shouldRefresh: p,
3524
+ expiresAt: C ? new Date(C).toISOString() : "not set",
3525
+ now: new Date(m).toISOString(),
3526
+ shouldRefresh: T,
3526
3527
  hasRefreshToken: !!t.value.refresh_token
3527
- }), p && t.value.refresh_token) {
3528
- f.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3529
- const v = await L({
3528
+ }), T && t.value.refresh_token) {
3529
+ w.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3530
+ const P = await Te({
3530
3531
  grant_type: "refresh_token",
3531
3532
  refresh_token: t.value.refresh_token,
3532
3533
  scope: "offline_access"
3533
3534
  });
3534
- v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, B(t.value), f.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3535
- expiresAt: v.expires_at ? new Date(v.expires_at).toISOString() : "not set"
3536
- })) : f.warn("getAccessToken - Failed to refresh token, returning existing token");
3535
+ P ? (P.refresh_token = P.refresh_token ?? t.value.refresh_token, t.value = P, Ue(t.value), w.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3536
+ expiresAt: P.expires_at ? new Date(P.expires_at).toISOString() : "not set"
3537
+ })) : w.warn("getAccessToken - Failed to refresh token, returning existing token");
3537
3538
  }
3538
3539
  return t.value?.access_token ?? t.value?.token ?? null;
3539
3540
  }
3540
3541
  return {
3541
- user: u(() => e.value),
3542
- loading: u(() => i.value),
3543
- isAdministrator: u(() => e.value?.isAdministrator),
3542
+ user: d(() => e.value),
3543
+ loading: d(() => i.value),
3544
+ isAdministrator: d(() => e.value?.isAdministrator),
3544
3545
  isAuthenticated: o,
3545
- loadUser: w,
3546
- signIn: I,
3547
- signOut: O,
3546
+ loadUser: A,
3547
+ signIn: g,
3548
+ signOut: h,
3548
3549
  validateToken: l,
3549
- validatePassword: h,
3550
- resetPasswordByToken: x,
3551
- requestPasswordReset: z,
3552
- changeUserPassword: A,
3553
- getLoginType: _,
3554
- getAccessToken: d
3550
+ validatePassword: c,
3551
+ resetPasswordByToken: p,
3552
+ requestPasswordReset: E,
3553
+ changeUserPassword: O,
3554
+ getLoginType: z,
3555
+ getAccessToken: b
3555
3556
  };
3556
3557
  }
3557
- const ve = Y(me), Le = () => {
3558
- const i = ve();
3558
+ const ut = Le(lt), ct = () => {
3559
+ const i = ut();
3559
3560
  return {
3560
3561
  user: i.user,
3561
3562
  loading: i.loading,
@@ -3565,7 +3566,890 @@ const ve = Y(me), Le = () => {
3565
3566
  signOut: i.signOut,
3566
3567
  getAccessToken: i.getAccessToken
3567
3568
  };
3568
- }, Ke = Symbol("BladeStack"), We = Symbol("BladeMessaging"), Ve = Symbol("BladeDescriptor"), qe = Symbol("BladeMaximized"), He = Symbol("BladeRenderingState"), Ye = Symbol("BladeData"), Xe = Symbol("BladeBanners"), Ze = Symbol("BladeBackButton"), Qe = Symbol("NotificationStore"), et = Symbol("WidgetService"), tt = Symbol("DashboardService"), rt = Symbol("MenuService"), nt = Symbol("SettingsMenuService"), st = Symbol("AppBarWidgetService"), at = Symbol("AppBarMobileButtonsService"), it = Symbol("LanguageService"), ot = Symbol("ToolbarService"), lt = Symbol("DynamicModules"), ut = Symbol("ModulesReady"), ht = Symbol("ModulesLoadError"), ct = Symbol("AppRootElement"), dt = Symbol("EmbeddedMode"), ft = Symbol("ShellIndicators"), pt = Symbol("AiAgentService"), mt = Symbol("IsMobile"), vt = Symbol("IsDesktop"), bt = Symbol("IsPhone"), xt = Symbol("IsTablet"), gt = Symbol("IsTouch"), Et = Symbol("BladeRoutes"), Ut = Symbol("InternalRoutes"), St = Symbol("CloseSettingsMenu"), yt = Symbol("BladeContext"), Tt = Symbol("WidgetScope"), _t = Symbol("BladeForm"), Pt = Symbol("BladeLoading"), be = /* @__PURE__ */ T({
3569
+ }, je = Symbol("BladeStack"), ht = Symbol("BladeMessaging"), dt = Symbol("BladeDescriptor"), Pr = Symbol("BladeMaximized"), ft = Symbol("BladeData"), pt = Symbol("BladeBanners"), Or = Symbol("BladeBackButton"), Ir = Symbol("NotificationStore"), Rr = Symbol("WidgetService"), jr = Symbol("DashboardService"), $r = Symbol("MenuService"), Nr = Symbol("SettingsMenuService"), zr = Symbol("AppBarWidgetService"), Br = Symbol("AppBarMobileButtonsService"), mt = Symbol("LanguageService"), vt = Symbol("ToolbarService"), kr = Symbol("DynamicModules"), Gr = Symbol("ModulesReady"), Fr = Symbol("ModulesLoadError"), Dr = Symbol("AppRootElement"), gt = Symbol("EmbeddedMode"), Mr = Symbol("ShellIndicators"), Ee = Symbol("AiAgentService"), Lr = Symbol("IsMobile"), Jr = Symbol("IsDesktop"), Wr = Symbol("IsPhone"), Vr = Symbol("IsTablet"), Kr = Symbol("IsTouch"), qr = Symbol("BladeRoutes"), Hr = Symbol("InternalRoutes"), Zr = Symbol("CloseSettingsMenu"), Xr = Symbol("BladeContext"), Yr = Symbol("WidgetScope"), Qr = Symbol("BladeForm"), en = Symbol("BladeLoading"), bt = {
3570
+ url: "",
3571
+ title: "Virto OZ",
3572
+ width: 362,
3573
+ expandedWidth: 500,
3574
+ allowedOrigins: ["*"]
3575
+ }, tn = "APP_AI_AGENT_URL", rn = {
3576
+ EMBEDDED_APP_READY: "EMBEDDED_APP_READY",
3577
+ AI_TOGGLE_PANEL: "AI_TOGGLE_PANEL",
3578
+ AI_CONTEXT_UPDATE: "AI_CONTEXT_UPDATE",
3579
+ AI_CONTEXT_CLEAR: "AI_CONTEXT_CLEAR"
3580
+ }, nn = {
3581
+ EMBEDDED_HOST_READY: "EMBEDDED_HOST_READY",
3582
+ AI_CHAT_MESSAGE: "AI_CHAT_MESSAGE"
3583
+ }, xt = "ai-agent-toggle", Et = "lucide-sparkles", yt = "AI Assistant", ae = B("ai-agent-panel");
3584
+ function _t() {
3585
+ const i = G("closed"), e = G(!1), t = d(() => i.value !== "closed"), n = d(() => i.value === "expanded"), r = () => {
3586
+ i.value === "closed" && (i.value = "open", ae.debug("Panel opened"));
3587
+ }, a = () => {
3588
+ i.value = "closed", e.value = !1, ae.debug("Panel closed, reset initialized state");
3589
+ };
3590
+ return {
3591
+ panelState: i,
3592
+ isOpen: t,
3593
+ isExpanded: n,
3594
+ isInitialized: e,
3595
+ open: r,
3596
+ close: a,
3597
+ toggle: () => {
3598
+ i.value === "closed" ? r() : a();
3599
+ },
3600
+ expand: () => {
3601
+ i.value === "open" && (i.value = "expanded", ae.debug("Panel expanded"));
3602
+ },
3603
+ collapse: () => {
3604
+ i.value === "expanded" && (i.value = "open", ae.debug("Panel collapsed"));
3605
+ },
3606
+ resetInitialized: () => {
3607
+ e.value = !1;
3608
+ }
3609
+ };
3610
+ }
3611
+ const ve = B("ai-agent-context");
3612
+ function Ce(i) {
3613
+ return i ? {
3614
+ id: i.id,
3615
+ name: i.name,
3616
+ title: i.title || i.name,
3617
+ param: i.param
3618
+ } : { id: "unknown", name: "unknown", title: "Unknown" };
3619
+ }
3620
+ function Ut(i) {
3621
+ const { userGetter: e, bladeGetter: t, localeGetter: n, tokenGetter: r } = i, a = G(/* @__PURE__ */ new Map()), o = () => {
3622
+ const E = t();
3623
+ return E ? a.value.get(E.id) ?? {
3624
+ items: [],
3625
+ type: "list",
3626
+ suggestions: void 0
3627
+ } : {
3628
+ items: [],
3629
+ type: "list",
3630
+ suggestions: void 0
3631
+ };
3632
+ }, l = d(() => o().items), c = d(() => o().type), p = d(() => o().suggestions), g = d(() => l.value.length);
3633
+ return {
3634
+ contextItems: l,
3635
+ contextType: c,
3636
+ contextSuggestions: p,
3637
+ totalItemsCount: g,
3638
+ setContextData: (E, O, z, D) => {
3639
+ const b = t()?.id || D;
3640
+ return b ? E.length === 0 && !z ? (a.value.delete(b), ve.debug(`Context cleared for blade: ${b}`), { cleared: !0 }) : (a.value.set(b, { items: E, type: O, suggestions: z }), ve.debug(`Context set for blade: ${b}, items: ${E.length}, type: ${O}`), { cleared: !1 }) : (ve.warn("Cannot set context data: no blade id available"), { cleared: !1 });
3641
+ },
3642
+ buildInitPayload: async () => {
3643
+ const E = r ? await r() ?? void 0 : void 0;
3644
+ return {
3645
+ userId: e()?.id || "",
3646
+ locale: n(),
3647
+ blade: Ce(t()),
3648
+ contextType: c.value,
3649
+ items: ne(l.value),
3650
+ suggestions: p.value ? ne(p.value) : void 0,
3651
+ accessToken: E
3652
+ };
3653
+ },
3654
+ buildUpdatePayload: async () => {
3655
+ const E = r ? await r() ?? void 0 : void 0;
3656
+ return {
3657
+ blade: Ce(t()),
3658
+ contextType: c.value,
3659
+ items: ne(l.value),
3660
+ suggestions: p.value ? ne(p.value) : void 0,
3661
+ locale: n(),
3662
+ accessToken: E
3663
+ };
3664
+ }
3665
+ };
3666
+ }
3667
+ const V = B("ai-agent-transport");
3668
+ function Tt(i) {
3669
+ const { getConfig: e, isEmbedded: t, navigateToBlade: n } = i, r = ke(null), a = G(!1), o = G(!1), l = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
3670
+ function p(h, _) {
3671
+ switch (h) {
3672
+ case "NAVIGATE_TO_APP": {
3673
+ const E = _;
3674
+ n && E?.bladeName && (n(E.bladeName, E.param, E.options), V.debug(`Navigation requested to: ${E.bladeName}`));
3675
+ break;
3676
+ }
3677
+ }
3678
+ const A = {
3679
+ type: h,
3680
+ payload: _,
3681
+ timestamp: Date.now()
3682
+ };
3683
+ l.forEach((E) => {
3684
+ try {
3685
+ E(A);
3686
+ } catch (O) {
3687
+ V.error("Handler error:", O);
3688
+ }
3689
+ });
3690
+ }
3691
+ function g(h) {
3692
+ const A = e().allowedOrigins || ["*"];
3693
+ if (!A.includes("*") && !A.includes(h.origin))
3694
+ return;
3695
+ const E = h.data;
3696
+ if (!(!E?.type || typeof E.type != "string"))
3697
+ switch (V.debug(`Message received: ${E.type}`), E.type) {
3698
+ // Embedded: parent forwards chat messages wrapped in AI_CHAT_MESSAGE
3699
+ case "AI_CHAT_MESSAGE": {
3700
+ if (t) {
3701
+ const O = E.payload;
3702
+ O?.type && p(O.type, O.payload);
3703
+ }
3704
+ return;
3705
+ }
3706
+ // Normal: chatbot signals it's ready
3707
+ case "CHAT_READY":
3708
+ c.forEach((O) => {
3709
+ try {
3710
+ O();
3711
+ } catch (z) {
3712
+ V.error("ChatReady handler error:", z);
3713
+ }
3714
+ });
3715
+ break;
3716
+ // Normal: direct chat protocol messages
3717
+ default:
3718
+ p(E.type, E.payload);
3719
+ break;
3720
+ }
3721
+ }
3722
+ return {
3723
+ iframeRef: r,
3724
+ pendingInitContext: a,
3725
+ isListenerRegistered: o,
3726
+ setIframeRef(h) {
3727
+ r.value = h, V.debug("Iframe ref set:", h ? "available" : "null");
3728
+ },
3729
+ sendToIframe(h) {
3730
+ if (!r.value?.contentWindow) {
3731
+ V.warn("Cannot send message: iframe not available");
3732
+ return;
3733
+ }
3734
+ const A = e().allowedOrigins?.[0] || "*";
3735
+ r.value.contentWindow.postMessage(h, A), V.debug(`Sent to iframe: ${h.type}`);
3736
+ },
3737
+ sendToParent(h) {
3738
+ if (!window.parent || window.parent === window) {
3739
+ V.warn("Cannot send to parent: not in iframe");
3740
+ return;
3741
+ }
3742
+ window.parent.postMessage(h, "*"), V.debug(`Sent to parent: ${h.type}`);
3743
+ },
3744
+ startListening() {
3745
+ o.value || (window.addEventListener("message", g), o.value = !0);
3746
+ },
3747
+ stopListening() {
3748
+ o.value && (window.removeEventListener("message", g), o.value = !1);
3749
+ },
3750
+ onChatReady(h) {
3751
+ return c.add(h), () => {
3752
+ c.delete(h);
3753
+ };
3754
+ },
3755
+ onMessage(h) {
3756
+ return l.add(h), () => {
3757
+ l.delete(h);
3758
+ };
3759
+ }
3760
+ };
3761
+ }
3762
+ const se = B("ai-agent-service");
3763
+ function Ct(i) {
3764
+ const {
3765
+ userGetter: e,
3766
+ bladeGetter: t,
3767
+ localeGetter: n,
3768
+ tokenGetter: r,
3769
+ navigateToBlade: a,
3770
+ initialConfig: o,
3771
+ isEmbedded: l = !1
3772
+ } = i, c = G({ ...bt, ...o }), p = _t(), g = Ut({
3773
+ userGetter: e,
3774
+ bladeGetter: t,
3775
+ localeGetter: n,
3776
+ tokenGetter: r
3777
+ }), h = Tt({
3778
+ getConfig: () => c.value,
3779
+ isEmbedded: l,
3780
+ navigateToBlade: a
3781
+ }), _ = d(() => ({
3782
+ user: e(),
3783
+ currentBlade: t(),
3784
+ items: g.contextItems.value
3785
+ })), A = async () => {
3786
+ if (h.pendingInitContext.value && h.iframeRef.value?.contentWindow) {
3787
+ h.pendingInitContext.value = !1, p.isInitialized.value = !0;
3788
+ const m = await g.buildInitPayload();
3789
+ h.sendToIframe({ type: "INIT_CONTEXT", payload: m }), se.debug("Flushed pending INIT_CONTEXT");
3790
+ }
3791
+ };
3792
+ h.onChatReady(() => {
3793
+ h.iframeRef.value?.contentWindow ? (p.isInitialized.value = !0, g.buildInitPayload().then((m) => {
3794
+ h.sendToIframe({ type: "INIT_CONTEXT", payload: m }), se.info("Chatbot ready, sent INIT_CONTEXT");
3795
+ })) : (h.pendingInitContext.value = !0, se.info("Chatbot ready, iframe ref not available yet — pending INIT_CONTEXT"));
3796
+ }), X(h.iframeRef, () => A()), X(
3797
+ () => ({ currentBlade: _.value.currentBlade, items: _.value.items }),
3798
+ async () => {
3799
+ if (l) {
3800
+ const m = await g.buildInitPayload();
3801
+ h.sendToParent({ type: "AI_CONTEXT_UPDATE", payload: m });
3802
+ return;
3803
+ }
3804
+ if (p.isOpen.value && p.isInitialized.value && h.iframeRef.value?.contentWindow) {
3805
+ const m = await g.buildUpdatePayload();
3806
+ h.sendToIframe({ type: "UPDATE_CONTEXT", payload: m });
3807
+ }
3808
+ },
3809
+ { deep: !0 }
3810
+ );
3811
+ const E = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : p.open(), O = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : p.close(), z = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : p.toggle(), D = (m) => {
3812
+ h.setIframeRef(m), A();
3813
+ }, b = (m, C, T, P) => {
3814
+ const { cleared: F } = g.setContextData(m, C, T, P);
3815
+ l && F && h.sendToParent({ type: "AI_CONTEXT_CLEAR" });
3816
+ };
3817
+ return h.startListening(), l && (h.sendToParent({
3818
+ type: "EMBEDDED_APP_READY",
3819
+ payload: { supportedFeatures: ["ai-agent"] }
3820
+ }), se.info("Embedded mode: sent EMBEDDED_APP_READY to parent")), {
3821
+ // State
3822
+ panelState: p.panelState,
3823
+ config: c,
3824
+ context: _,
3825
+ isOpen: d(() => !l && p.isOpen.value),
3826
+ isExpanded: p.isExpanded,
3827
+ totalItemsCount: g.totalItemsCount,
3828
+ // Panel control
3829
+ openPanel: E,
3830
+ closePanel: O,
3831
+ togglePanel: z,
3832
+ expandPanel: () => p.expand(),
3833
+ collapsePanel: () => p.collapse(),
3834
+ // Configuration
3835
+ setConfig: (m) => {
3836
+ c.value = { ...c.value, ...m };
3837
+ },
3838
+ // Communication
3839
+ sendMessage: (m, C) => {
3840
+ h.sendToIframe({ type: m, payload: C });
3841
+ },
3842
+ onMessage: h.onMessage,
3843
+ // Internal API
3844
+ iframeRef: h.iframeRef,
3845
+ _setIframeRef: D,
3846
+ _startListening: h.startListening,
3847
+ _stopListening: h.stopListening,
3848
+ _setContextData: b
3849
+ };
3850
+ }
3851
+ let $e, Ne, ze, St;
3852
+ function an(i) {
3853
+ $e = i;
3854
+ }
3855
+ function sn(i) {
3856
+ Ne = i;
3857
+ }
3858
+ function on(i) {
3859
+ ze = i;
3860
+ }
3861
+ function ln(i) {
3862
+ St = i;
3863
+ }
3864
+ function Se(i, e) {
3865
+ if (e.length === 0)
3866
+ return { path: i ? `/${i}` : "/", query: {} };
3867
+ const t = e[0], n = we(t.url);
3868
+ let r;
3869
+ for (let l = e.length - 1; l >= 1; l--)
3870
+ if (e[l].visible) {
3871
+ r = e[l];
3872
+ break;
3873
+ }
3874
+ let a = i ? `/${i}` : "";
3875
+ if (n && (a += `/${n}`), r) {
3876
+ const l = we(r.url);
3877
+ l && (a += `/${l}`), r.param && (a += `/${r.param}`);
3878
+ }
3879
+ const o = {};
3880
+ for (const l of e)
3881
+ l.visible && l.query && Object.assign(o, l.query);
3882
+ return { path: a || "/", query: o };
3883
+ }
3884
+ function un(i, e) {
3885
+ let t = i.split("/").filter(Boolean);
3886
+ return e && t.length > 0 && t[0] === e && (t = t.slice(1)), t.length === 0 ? {} : {
3887
+ workspaceUrl: t[0],
3888
+ bladeUrl: t[1],
3889
+ param: t[2]
3890
+ };
3891
+ }
3892
+ function we(i) {
3893
+ if (i)
3894
+ return i.replace(/^\/+|\/+$/g, "") || void 0;
3895
+ }
3896
+ function Ae(i) {
3897
+ const e = i.currentRoute.value.params;
3898
+ return Object.values(e).find((t) => typeof t == "string" && t) || "";
3899
+ }
3900
+ function wt(i, e) {
3901
+ function t() {
3902
+ const { path: r, query: a } = Se(Ae(i), e.blades.value);
3903
+ i.push({ path: r, query: a });
3904
+ }
3905
+ function n() {
3906
+ const { path: r, query: a } = Se(Ae(i), e.blades.value);
3907
+ i.replace({ path: r, query: a });
3908
+ }
3909
+ return { syncUrlPush: t, syncUrlReplace: n };
3910
+ }
3911
+ const At = "useBlade() was called outside a blade. Navigation methods (openBlade) work everywhere, but blade-specific methods require the component to be rendered inside VcBladeSlot.";
3912
+ function I(i) {
3913
+ throw new Error(`[vc-shell] ${i} requires blade context.
3914
+ ${At}`);
3915
+ }
3916
+ function Pt() {
3917
+ const i = (re() ? J(je, void 0) : void 0) ?? Ne, e = (re() ? J(ht, void 0) : void 0) ?? ze;
3918
+ if (!i || !e)
3919
+ throw new Error(
3920
+ "[vc-shell] useBlade() failed: BladeStack or BladeMessaging not available. Ensure BladeNavigationPlugin (plugin-v2) is installed."
3921
+ );
3922
+ const t = i, n = e, r = re() ? J(dt, void 0) : void 0, a = re() ? J(pt, void 0) : void 0;
3923
+ let o;
3924
+ function l() {
3925
+ if (o) return o;
3926
+ const x = $e?.router;
3927
+ return x && (o = wt(x, t)), o;
3928
+ }
3929
+ const c = d(() => (r || I("id"), r.value.id)), p = d(() => (r || I("param"), r.value.param)), g = d(() => (r || I("options"), r.value.options)), h = d(() => (r || I("query"), r.value.query)), _ = d(() => (r || I("closable"), r.value.parentId !== void 0)), A = d(() => (r || I("expanded"), t.activeBlade.value?.id === r.value.id)), E = d(() => (r || I("name"), r.value.name)), O = d(() => {
3930
+ if (!r) return;
3931
+ const x = r.value.id;
3932
+ return t.blades.value.find((N) => N.parentId === x)?.param;
3933
+ });
3934
+ let z = !1;
3935
+ function D(x) {
3936
+ if (z) {
3937
+ console.warn(
3938
+ "[vc-shell] provideBladeData() called more than once in the same blade. Only the first call takes effect."
3939
+ );
3940
+ return;
3941
+ }
3942
+ z = !0;
3943
+ const N = Ge(x) ? x : G(x);
3944
+ Pe(ft, N);
3945
+ }
3946
+ async function b(x) {
3947
+ const { isWorkspace: N, ...fe } = x;
3948
+ if (N)
3949
+ await t.openWorkspace(fe);
3950
+ else {
3951
+ const ye = r?.value.id;
3952
+ ye ? await t.openBlade({ ...fe, parentId: ye }) : await t.openBlade(fe);
3953
+ }
3954
+ t.activeBlade.value?.url && l()?.syncUrlPush();
3955
+ }
3956
+ async function m() {
3957
+ r || I("closeSelf()");
3958
+ const x = await t.closeBlade(r.value.id);
3959
+ return x || l()?.syncUrlReplace(), x;
3960
+ }
3961
+ async function C() {
3962
+ r || I("closeChildren()"), await t.closeChildren(r.value.id), l()?.syncUrlReplace();
3963
+ }
3964
+ async function T(x) {
3965
+ r || I("replaceWith()"), await t.replaceCurrentBlade({
3966
+ ...x,
3967
+ parentId: r.value.parentId
3968
+ }), t.activeBlade.value?.url && l()?.syncUrlReplace();
3969
+ }
3970
+ async function P(x) {
3971
+ r || I("coverWith()"), await t.coverCurrentBlade({
3972
+ ...x,
3973
+ parentId: r.value.parentId
3974
+ }), t.activeBlade.value?.url && l()?.syncUrlPush();
3975
+ }
3976
+ async function F(x, N) {
3977
+ return r || I("callParent()"), n.callParent(r.value.id, x, N);
3978
+ }
3979
+ function he(x) {
3980
+ r || I("exposeToChildren()"), n.exposeToChildren(r.value.id, x);
3981
+ }
3982
+ function de(x) {
3983
+ r || I("onBeforeClose()"), t.registerBeforeClose(r.value.id, x);
3984
+ }
3985
+ function u(x) {
3986
+ r || I("setError()"), t.setBladeError(r.value.id, x);
3987
+ }
3988
+ function f() {
3989
+ r || I("clearError()"), t.clearBladeError(r.value.id);
3990
+ }
3991
+ let v = 0;
3992
+ function y(x) {
3993
+ a || I("addBanner()");
3994
+ const N = `banner-${r.value.id}-${++v}`;
3995
+ return a.value.push({
3996
+ ...x,
3997
+ id: N,
3998
+ dismissible: x.dismissible ?? !1
3999
+ }), N;
4000
+ }
4001
+ function U(x) {
4002
+ a || I("removeBanner()"), a.value = a.value.filter((N) => N.id !== x);
4003
+ }
4004
+ function $() {
4005
+ a || I("clearBanners()"), a.value = a.value.filter((x) => x._system);
4006
+ }
4007
+ let M = !1, H = !1;
4008
+ function W(x) {
4009
+ if (r || I("onActivated()"), M) {
4010
+ console.warn("[useBlade] onActivated() already registered in this blade.");
4011
+ return;
4012
+ }
4013
+ M = !0, X(A, (N) => {
4014
+ N && x();
4015
+ });
4016
+ }
4017
+ function Q(x) {
4018
+ if (r || I("onDeactivated()"), H) {
4019
+ console.warn("[useBlade] onDeactivated() already registered in this blade.");
4020
+ return;
4021
+ }
4022
+ H = !0, X(A, (N) => {
4023
+ N || x();
4024
+ });
4025
+ }
4026
+ return {
4027
+ id: c,
4028
+ param: p,
4029
+ activeChildParam: O,
4030
+ options: g,
4031
+ query: h,
4032
+ closable: _,
4033
+ expanded: A,
4034
+ name: E,
4035
+ provideBladeData: D,
4036
+ openBlade: b,
4037
+ closeSelf: m,
4038
+ closeChildren: C,
4039
+ replaceWith: T,
4040
+ coverWith: P,
4041
+ callParent: F,
4042
+ exposeToChildren: he,
4043
+ onBeforeClose: de,
4044
+ onActivated: W,
4045
+ onDeactivated: Q,
4046
+ setError: u,
4047
+ clearError: f,
4048
+ addBanner: y,
4049
+ removeBanner: U,
4050
+ clearBanners: $
4051
+ };
4052
+ }
4053
+ let Ot = 0;
4054
+ function ie() {
4055
+ return `blade_${++Ot}_${Math.random().toString(36).slice(2, 8)}`;
4056
+ }
4057
+ function cn(i, e) {
4058
+ const t = G([]), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = d(() => t.value[0]), l = d(() => t.value), c = d(() => {
4059
+ for (let u = t.value.length - 1; u >= 0; u--)
4060
+ if (t.value[u].visible) return t.value[u];
4061
+ });
4062
+ function p(u) {
4063
+ n.delete(u), r.delete(u), a.delete(u);
4064
+ }
4065
+ function g(u) {
4066
+ const f = i.getBlade(u);
4067
+ if (f)
4068
+ return f.route;
4069
+ }
4070
+ async function h(u) {
4071
+ for (let f = u.length - 1; f >= 0; f--) {
4072
+ const v = n.get(u[f].id);
4073
+ if (v && await v())
4074
+ return !0;
4075
+ }
4076
+ return !1;
4077
+ }
4078
+ function _(u) {
4079
+ for (const f of u)
4080
+ a.get(f.id)?.(), p(f.id);
4081
+ }
4082
+ async function A(u) {
4083
+ if (o.value?.name === u.name) return;
4084
+ const v = i.getBlade(u.name);
4085
+ if (!v)
4086
+ throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4087
+ if (e && v.permissions && !e(v.permissions)) {
4088
+ console.warn(`[BladeStack] Access denied to workspace '${u.name}'`);
4089
+ return;
4090
+ }
4091
+ _([...t.value]);
4092
+ const y = {
4093
+ id: ie(),
4094
+ name: u.name,
4095
+ url: g(u.name),
4096
+ // workspace blades don't have param when opened first
4097
+ query: u.query,
4098
+ options: u.options,
4099
+ visible: !0
4100
+ };
4101
+ t.value = [y], u.onOpen && r.set(y.id, u.onOpen), u.onClose && a.set(y.id, u.onClose), u.onOpen?.();
4102
+ }
4103
+ async function E(u) {
4104
+ if (!i.getBlade(u.name))
4105
+ throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4106
+ const f = u.parentId ?? c.value?.id ?? o.value?.id;
4107
+ if (!f)
4108
+ throw new Error("[BladeStack] Cannot open blade: no parent blade found");
4109
+ const v = t.value.findIndex(($) => $.id === f);
4110
+ if (v === -1)
4111
+ throw new Error(`[BladeStack] Parent blade '${f}' not found in stack`);
4112
+ const y = t.value.slice(v + 1);
4113
+ if (y.length > 0 && await h(y))
4114
+ return;
4115
+ _(y);
4116
+ const U = {
4117
+ id: ie(),
4118
+ name: u.name,
4119
+ url: g(u.name),
4120
+ param: u.param,
4121
+ query: u.query,
4122
+ options: u.options,
4123
+ parentId: f,
4124
+ visible: !0
4125
+ };
4126
+ t.value = [...t.value.slice(0, v + 1), U], u.onOpen && r.set(U.id, u.onOpen), u.onClose && a.set(U.id, u.onClose), u.onOpen?.();
4127
+ }
4128
+ async function O(u) {
4129
+ const f = t.value.findIndex(($) => $.id === u);
4130
+ if (f === -1 || f === 0) return !1;
4131
+ const v = t.value.slice(f);
4132
+ if (await h(v)) return !0;
4133
+ _(v), t.value = t.value.slice(0, f);
4134
+ const U = t.value.length - 1;
4135
+ if (U > 0 && !t.value[U].visible) {
4136
+ const $ = [...t.value];
4137
+ $[U] = { ...$[U], visible: !0 }, t.value = $;
4138
+ }
4139
+ return !1;
4140
+ }
4141
+ async function z(u) {
4142
+ const f = c.value;
4143
+ if (!f)
4144
+ throw new Error("[BladeStack] No active blade to replace");
4145
+ if (!i.getBlade(u.name))
4146
+ throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4147
+ const v = t.value.findIndex((M) => M.id === f.id);
4148
+ if (v === -1)
4149
+ throw new Error(`[BladeStack] Active blade '${f.id}' not found in stack`);
4150
+ const y = t.value.slice(v + 1);
4151
+ if (y.length > 0) {
4152
+ if (await h(y)) return;
4153
+ _(y);
4154
+ }
4155
+ const U = {
4156
+ id: ie(),
4157
+ name: u.name,
4158
+ url: g(u.name),
4159
+ param: u.param,
4160
+ query: u.query,
4161
+ options: u.options,
4162
+ parentId: f.parentId,
4163
+ visible: !0
4164
+ };
4165
+ _([f]);
4166
+ const $ = [...t.value.slice(0, v), U, ...t.value.slice(v + 1)];
4167
+ t.value = $, u.onOpen && r.set(U.id, u.onOpen), u.onClose && a.set(U.id, u.onClose), u.onOpen?.();
4168
+ }
4169
+ async function D(u) {
4170
+ const f = c.value;
4171
+ if (!f)
4172
+ throw new Error("[BladeStack] No active blade to cover");
4173
+ if (!i.getBlade(u.name))
4174
+ throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4175
+ const v = t.value.findIndex((M) => M.id === f.id);
4176
+ if (v === -1)
4177
+ throw new Error(`[BladeStack] Active blade '${f.id}' not found in stack`);
4178
+ const y = t.value.slice(v + 1);
4179
+ if (y.length > 0) {
4180
+ if (await h(y)) return;
4181
+ _(y);
4182
+ }
4183
+ const U = {
4184
+ id: ie(),
4185
+ name: u.name,
4186
+ url: g(u.name),
4187
+ param: u.param,
4188
+ query: u.query,
4189
+ options: u.options,
4190
+ parentId: f.id,
4191
+ visible: !0
4192
+ }, $ = t.value.slice(0, v);
4193
+ $.push({ ...f, visible: !1 }), $.push(U), t.value = $, u.onOpen && r.set(U.id, u.onOpen), u.onClose && a.set(U.id, u.onClose), u.onOpen?.();
4194
+ }
4195
+ async function b(u) {
4196
+ const f = t.value.findIndex((U) => U.id === u);
4197
+ if (f === -1) return;
4198
+ const v = t.value.slice(f + 1);
4199
+ v.length === 0 || await h(v) || (_(v), t.value = t.value.slice(0, f + 1));
4200
+ }
4201
+ function m(u, f) {
4202
+ n.set(u, f);
4203
+ }
4204
+ function C(u) {
4205
+ n.delete(u);
4206
+ }
4207
+ function T(u, f) {
4208
+ const v = t.value.findIndex((U) => U.id === u);
4209
+ if (v === -1) return;
4210
+ const y = [...t.value];
4211
+ y[v] = { ...y[v], error: f }, t.value = y;
4212
+ }
4213
+ function P(u) {
4214
+ const f = t.value.findIndex((y) => y.id === u);
4215
+ if (f === -1) return;
4216
+ const v = [...t.value];
4217
+ v[f] = { ...v[f], error: void 0 }, t.value = v;
4218
+ }
4219
+ function F(u, f) {
4220
+ const v = t.value.findIndex((U) => U.id === u);
4221
+ if (v === -1 || t.value[v].title === f) return;
4222
+ const y = [...t.value];
4223
+ y[v] = { ...y[v], title: f }, t.value = y;
4224
+ }
4225
+ function he(u, f) {
4226
+ const v = t.value.findIndex((W) => W.id === u);
4227
+ if (v === -1) return;
4228
+ const y = t.value[v].query ?? {}, U = { ...y };
4229
+ for (const [W, Q] of Object.entries(f))
4230
+ Q === "" || Q == null ? delete U[W] : U[W] = Q;
4231
+ const $ = Object.keys(y), M = Object.keys(U);
4232
+ if ($.length === M.length && M.every((W) => y[W] === U[W]))
4233
+ return;
4234
+ const H = [...t.value];
4235
+ H[v] = { ...H[v], query: U }, t.value = H;
4236
+ }
4237
+ function de(u) {
4238
+ for (const f of t.value)
4239
+ p(f.id);
4240
+ t.value = u;
4241
+ }
4242
+ return {
4243
+ workspace: o,
4244
+ blades: l,
4245
+ activeBlade: c,
4246
+ openWorkspace: A,
4247
+ openBlade: E,
4248
+ closeBlade: O,
4249
+ closeChildren: b,
4250
+ replaceCurrentBlade: z,
4251
+ coverCurrentBlade: D,
4252
+ registerBeforeClose: m,
4253
+ unregisterBeforeClose: C,
4254
+ setBladeError: T,
4255
+ clearBladeError: P,
4256
+ setBladeTitle: F,
4257
+ updateBladeQuery: he,
4258
+ _restoreStack: de
4259
+ };
4260
+ }
4261
+ function It() {
4262
+ const i = J(je);
4263
+ if (!i)
4264
+ throw new Error("[useBladeStack] BladeStack not found. Ensure BladeNavigationPlugin is installed.");
4265
+ return i;
4266
+ }
4267
+ const Z = B("use-ai-agent");
4268
+ function hn(i) {
4269
+ const e = J(mt), { user: t, getAccessToken: n } = ct(), { openBlade: r } = Pt(), { blades: a, activeBlade: o } = It(), l = i?.isEmbedded, c = Ct({
4270
+ userGetter: () => {
4271
+ if (t.value)
4272
+ return {
4273
+ id: t.value.id,
4274
+ userName: t.value.userName,
4275
+ isAdministrator: t.value.isAdministrator,
4276
+ permissions: t.value.permissions
4277
+ };
4278
+ },
4279
+ bladeGetter: () => {
4280
+ const g = o.value ?? a.value[a.value.length - 1];
4281
+ return g ? {
4282
+ id: g.id,
4283
+ name: g.name,
4284
+ title: g.title,
4285
+ param: g.param,
4286
+ options: g.options
4287
+ } : null;
4288
+ },
4289
+ localeGetter: () => e?.currentLocale.value ?? "en",
4290
+ tokenGetter: n,
4291
+ navigateToBlade: (g, h, _) => {
4292
+ r({ name: g, param: h, options: _ }).then(() => {
4293
+ Z.debug(`Navigated to blade: ${g}`);
4294
+ }).catch((A) => {
4295
+ Z.warn(`Blade not found or cannot be opened: ${g}`, A);
4296
+ });
4297
+ },
4298
+ initialConfig: i?.config,
4299
+ isEmbedded: l
4300
+ });
4301
+ if (Pe(Ee, c), Z.debug("AiAgentService provided"), i?.addGlobalToolbarButton ?? !0) {
4302
+ const g = J(vt, null);
4303
+ g ? (g.registerToolbarItem(
4304
+ {
4305
+ id: xt,
4306
+ icon: Et,
4307
+ title: yt,
4308
+ clickHandler: () => {
4309
+ c.togglePanel();
4310
+ }
4311
+ },
4312
+ "*"
4313
+ // Wildcard for all blades
4314
+ ), Z.debug("Global AI toolbar button registered with wildcard '*'")) : Z.warn("Toolbar service not available, AI button not registered");
4315
+ }
4316
+ return c;
4317
+ }
4318
+ function dn() {
4319
+ const i = J(Ee);
4320
+ if (!i) {
4321
+ Z.error("AiAgentService not found. Did you forget to call provideAiAgentService()?");
4322
+ return;
4323
+ }
4324
+ return {
4325
+ // State
4326
+ panelState: i.panelState,
4327
+ config: i.config,
4328
+ context: i.context,
4329
+ isOpen: i.isOpen,
4330
+ isExpanded: i.isExpanded,
4331
+ totalItemsCount: i.totalItemsCount,
4332
+ // Panel control
4333
+ openPanel: i.openPanel,
4334
+ closePanel: i.closePanel,
4335
+ togglePanel: i.togglePanel,
4336
+ expandPanel: i.expandPanel,
4337
+ collapsePanel: i.collapsePanel,
4338
+ // Configuration
4339
+ setConfig: i.setConfig,
4340
+ // Communication
4341
+ sendMessage: i.sendMessage,
4342
+ onMessage: i.onMessage
4343
+ };
4344
+ }
4345
+ function fn(i) {
4346
+ return {
4347
+ id: "ai-agent-toggle",
4348
+ icon: i?.icon ?? "lucide-sparkles",
4349
+ title: i?.title ?? "AI Assistant",
4350
+ clickHandler: () => {
4351
+ console.warn("[ai-agent] createAiAgentToolbarButton is deprecated. Use useAiAgent().togglePanel instead.");
4352
+ }
4353
+ };
4354
+ }
4355
+ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4356
+ key: 1,
4357
+ d: "M72.9199 46.4165C73.2527 46.9495 73.5831 47.4996 73.9092 48.0679C78.4022 55.8976 79.0605 66.3551 76.7793 76.6079C74.5635 86.5668 69.6096 96.1504 62.9795 102.692L58.1514 105.48C52.5725 108.701 45.699 108.701 40.1201 105.48L21.665 94.8247C29.1398 95.4723 37.0781 94.4072 44.3848 91.9233C54.5984 88.4512 63.7463 82.1497 68.6807 73.6548C75.124 62.5619 75.4351 53.2694 72.9199 46.4165ZM56.5205 29.5093C65.5697 29.5331 75.1259 33.9964 83.0215 40.8853C89.9848 46.9608 95.5441 54.8286 98.2715 62.9478V71.9058C98.2715 78.3478 94.8348 84.301 89.2559 87.522L69.4658 98.9468C74.0688 92.6731 77.4601 84.9996 79.207 77.1479C81.5723 66.517 80.9666 55.3703 76.0654 46.8296C69.6817 35.7054 61.7917 30.789 54.6006 29.5396C55.2271 29.5179 55.867 29.5076 56.5205 29.5093ZM0 50.688C3.16812 57.476 8.04614 63.7935 13.8389 68.853C21.9305 75.9204 31.9368 80.6465 41.7578 80.6724C54.5833 80.706 62.7851 76.3308 67.4629 70.728C67.1684 71.2812 66.8584 71.8408 66.5303 72.4058C61.9844 80.2318 53.417 86.2251 43.584 89.5679C34.4355 92.6779 24.3375 93.4401 15.6328 91.3423L9.01562 87.522C3.43667 84.301 0 78.3478 0 71.9058V50.688ZM26.7559 10.1313C22.5672 16.2131 19.6599 23.483 18.2695 30.9126C16.3077 41.3962 17.3358 52.3558 22.2188 60.8647C28.6034 71.9905 36.4946 76.9061 43.6865 78.1548C43.0594 78.1765 42.4188 78.1868 41.7646 78.1851C32.7113 78.1612 23.2602 73.7801 15.4746 66.98C8.2197 60.6434 2.52684 52.3035 0 43.7075V35.9897C6.33247e-05 29.5479 3.43687 23.5955 9.01562 20.3745L26.7559 10.1313ZM51.2432 31.6978C54.0287 31.7659 57.0796 32.4389 60.1875 33.9976C58.8529 33.7029 57.5584 33.677 56.3965 33.9722L57.0088 36.3833C58.4774 36.0102 60.6741 36.4134 63.0332 37.8237C65.3553 39.212 67.6865 41.4953 69.375 44.5923C70.7081 47.0376 71.6489 50.015 71.8535 53.4839C71.4414 52.1828 70.818 51.0505 69.9824 50.1929L68.2012 51.9282C69.2585 53.0135 70.0076 55.1176 69.9658 57.8657C69.9246 60.5708 69.1121 63.731 67.2744 66.7417C65.8225 69.1203 63.7129 71.4251 60.8086 73.3374C61.7311 72.329 62.4012 71.2217 62.7266 70.0679L60.333 69.3931C59.9218 70.8514 58.4742 72.5523 56.0732 73.8901C53.71 75.207 50.5672 76.0837 47.041 75.9976C44.2551 75.9294 41.204 75.2549 38.0957 73.6958C39.4307 73.9907 40.7254 74.0184 41.8877 73.7231L41.2754 71.312C39.8069 71.6851 37.6101 71.2818 35.251 69.8716C32.9289 68.4834 30.5977 66.2 28.9092 63.103C27.5754 60.6565 26.6337 57.6775 26.4297 54.2065C26.8418 55.5096 27.4661 56.6438 28.3027 57.5024L30.084 55.7661C29.0267 54.6807 28.2775 52.5767 28.3193 49.8286C28.3606 47.1236 29.173 43.9633 31.0107 40.9526C32.4621 38.5751 34.5702 36.2706 37.4727 34.3589C36.5514 35.3666 35.8827 36.4736 35.5576 37.6265L37.9512 38.3013C38.3625 36.8429 39.8101 35.142 42.2109 33.8042C44.5742 32.4874 47.717 31.6116 51.2432 31.6978ZM40.1201 2.4165C45.6991 -0.804509 52.5724 -0.804509 58.1514 2.4165L75.6777 12.5356C68.4683 12.0708 60.8765 13.1991 53.8691 15.6333C43.6671 19.1774 34.5353 25.5492 29.6035 34.0396C23.1612 45.1305 22.8486 54.4223 25.3623 61.2749C25.0301 60.7429 24.7004 60.1936 24.375 59.6265C19.8639 51.765 18.8286 41.4457 20.7139 31.3706C22.4486 22.1007 26.633 13.1734 32.6709 6.71631L40.1201 2.4165ZM54.6855 17.9829C63.3703 14.966 72.9092 14.0715 81.3008 15.7817L89.2559 20.3745C94.8346 23.5955 98.2714 29.5479 98.2715 35.9897V56.4692C95.0606 49.9731 90.2759 43.9144 84.6562 39.0112C76.4636 31.8632 66.3524 27.0488 56.5273 27.0229C43.6978 26.9893 35.4935 31.3659 30.8164 36.9712C31.1117 36.4161 31.4247 35.8554 31.7539 35.2886C36.3024 27.4582 44.8633 21.395 54.6855 17.9829Z",
4358
+ fill: "url(#virto-oz-gradient-animated)"
4359
+ }, Nt = ["id"], zt = {
4360
+ key: 1,
4361
+ id: "virto-oz-gradient-animated",
4362
+ gradientUnits: "userSpaceOnUse",
4363
+ x1: "0",
4364
+ y1: "0",
4365
+ x2: "99",
4366
+ y2: "108"
4367
+ }, Be = /* @__PURE__ */ L({
4368
+ __name: "VcVirtoOzLogo",
4369
+ props: {
4370
+ width: { default: 22 },
4371
+ height: { default: 24 },
4372
+ animated: { type: Boolean, default: !1 }
4373
+ },
4374
+ setup(i) {
4375
+ const e = d(() => `virto-oz-clip-${Math.random().toString(36).substring(2, 11)}`);
4376
+ return (t, n) => (S(), j("svg", {
4377
+ width: i.width,
4378
+ height: i.height,
4379
+ viewBox: "0 0 99 108",
4380
+ fill: "none",
4381
+ xmlns: "http://www.w3.org/2000/svg",
4382
+ class: "vc-virto-oz-logo"
4383
+ }, [
4384
+ n[3] || (n[3] = R("path", {
4385
+ d: "M40.1199 2.41576C45.6989 -0.805254 52.5724 -0.805253 58.1514 2.41576L89.2556 20.3738C94.8345 23.5948 98.2713 29.5475 98.2713 35.9895V71.9055C98.2713 78.3475 94.8345 84.3002 89.2556 87.5212L58.1514 105.479C52.5724 108.7 45.6989 108.7 40.1199 105.479L9.01574 87.5212C3.43678 84.3002 0 78.3475 0 71.9055V35.9895C0 29.5475 3.43678 23.5948 9.01574 20.3738L40.1199 2.41576Z",
4386
+ fill: "white"
4387
+ }, null, -1)),
4388
+ i.animated ? (S(), j("path", $t)) : (S(), j("g", {
4389
+ key: 0,
4390
+ "clip-path": `url(#${e.value})`
4391
+ }, [...n[0] || (n[0] = [
4392
+ R("g", { transform: "matrix(0 -0.161514 0.160417 0 49.1357 53.9479)" }, [
4393
+ R("foreignObject", {
4394
+ x: "-334.01",
4395
+ y: "-334.01",
4396
+ width: "668.02",
4397
+ height: "668.02"
4398
+ }, [
4399
+ R("div", {
4400
+ xmlns: "http://www.w3.org/1999/xhtml",
4401
+ style: { background: `conic-gradient(
4402
+ from 90deg,
4403
+ rgba(255, 149, 51, 1) 0deg,
4404
+ rgba(255, 79, 187, 1) 43.2deg,
4405
+ rgba(234, 255, 79, 1) 143.654deg,
4406
+ rgba(28, 145, 252, 1) 252.692deg,
4407
+ rgba(154, 45, 248, 1) 316.8deg,
4408
+ rgba(255, 149, 51, 1) 360deg
4409
+ )`, height: "100%", width: "100%", opacity: "1" }
4410
+ })
4411
+ ])
4412
+ ], -1)
4413
+ ])], 8, jt)),
4414
+ n[4] || (n[4] = R("path", {
4415
+ d: "M72.1266 54.0945C72.1266 60.0873 74.3028 71.0379 60.6238 82.8517C65.2871 73.0587 55.8339 77.1002 49.1209 77.1002C36.4152 77.1002 26.1152 66.8002 26.1152 54.0945C26.1152 41.3889 36.4152 31.0889 49.1209 31.0889C61.8266 31.0889 72.1266 41.3889 72.1266 54.0945Z",
4416
+ fill: "white"
4417
+ }, null, -1)),
4418
+ n[5] || (n[5] = R("ellipse", {
4419
+ cx: "49.12",
4420
+ cy: "54.09",
4421
+ rx: "4.05",
4422
+ ry: "4.05",
4423
+ fill: "#6C6C6C"
4424
+ }, null, -1)),
4425
+ n[6] || (n[6] = R("ellipse", {
4426
+ cx: "60.62",
4427
+ cy: "54.09",
4428
+ rx: "4.05",
4429
+ ry: "4.05",
4430
+ fill: "#6C6C6C"
4431
+ }, null, -1)),
4432
+ n[7] || (n[7] = R("ellipse", {
4433
+ cx: "37.62",
4434
+ cy: "54.09",
4435
+ rx: "4.05",
4436
+ ry: "4.05",
4437
+ fill: "#6C6C6C"
4438
+ }, null, -1)),
4439
+ R("defs", null, [
4440
+ i.animated ? Y("", !0) : (S(), j("clipPath", {
4441
+ key: 0,
4442
+ id: e.value
4443
+ }, [...n[1] || (n[1] = [
4444
+ R("path", { d: "M72.9199 46.4165C73.2527 46.9495 73.5831 47.4996 73.9092 48.0679C78.4022 55.8976 79.0605 66.3551 76.7793 76.6079C74.5635 86.5668 69.6096 96.1504 62.9795 102.692L58.1514 105.48C52.5725 108.701 45.699 108.701 40.1201 105.48L21.665 94.8247C29.1398 95.4723 37.0781 94.4072 44.3848 91.9233C54.5984 88.4512 63.7463 82.1497 68.6807 73.6548C75.124 62.5619 75.4351 53.2694 72.9199 46.4165ZM56.5205 29.5093C65.5697 29.5331 75.1259 33.9964 83.0215 40.8853C89.9848 46.9608 95.5441 54.8286 98.2715 62.9478V71.9058C98.2715 78.3478 94.8348 84.301 89.2559 87.522L69.4658 98.9468C74.0688 92.6731 77.4601 84.9996 79.207 77.1479C81.5723 66.517 80.9666 55.3703 76.0654 46.8296C69.6817 35.7054 61.7917 30.789 54.6006 29.5396C55.2271 29.5179 55.867 29.5076 56.5205 29.5093ZM0 50.688C3.16812 57.476 8.04614 63.7935 13.8389 68.853C21.9305 75.9204 31.9368 80.6465 41.7578 80.6724C54.5833 80.706 62.7851 76.3308 67.4629 70.728C67.1684 71.2812 66.8584 71.8408 66.5303 72.4058C61.9844 80.2318 53.417 86.2251 43.584 89.5679C34.4355 92.6779 24.3375 93.4401 15.6328 91.3423L9.01562 87.522C3.43667 84.301 0 78.3478 0 71.9058V50.688ZM26.7559 10.1313C22.5672 16.2131 19.6599 23.483 18.2695 30.9126C16.3077 41.3962 17.3358 52.3558 22.2188 60.8647C28.6034 71.9905 36.4946 76.9061 43.6865 78.1548C43.0594 78.1765 42.4188 78.1868 41.7646 78.1851C32.7113 78.1612 23.2602 73.7801 15.4746 66.98C8.2197 60.6434 2.52684 52.3035 0 43.7075V35.9897C6.33247e-05 29.5479 3.43687 23.5955 9.01562 20.3745L26.7559 10.1313ZM51.2432 31.6978C54.0287 31.7659 57.0796 32.4389 60.1875 33.9976C58.8529 33.7029 57.5584 33.677 56.3965 33.9722L57.0088 36.3833C58.4774 36.0102 60.6741 36.4134 63.0332 37.8237C65.3553 39.212 67.6865 41.4953 69.375 44.5923C70.7081 47.0376 71.6489 50.015 71.8535 53.4839C71.4414 52.1828 70.818 51.0505 69.9824 50.1929L68.2012 51.9282C69.2585 53.0135 70.0076 55.1176 69.9658 57.8657C69.9246 60.5708 69.1121 63.731 67.2744 66.7417C65.8225 69.1203 63.7129 71.4251 60.8086 73.3374C61.7311 72.329 62.4012 71.2217 62.7266 70.0679L60.333 69.3931C59.9218 70.8514 58.4742 72.5523 56.0732 73.8901C53.71 75.207 50.5672 76.0837 47.041 75.9976C44.2551 75.9294 41.204 75.2549 38.0957 73.6958C39.4307 73.9907 40.7254 74.0184 41.8877 73.7231L41.2754 71.312C39.8069 71.6851 37.6101 71.2818 35.251 69.8716C32.9289 68.4834 30.5977 66.2 28.9092 63.103C27.5754 60.6565 26.6337 57.6775 26.4297 54.2065C26.8418 55.5096 27.4661 56.6438 28.3027 57.5024L30.084 55.7661C29.0267 54.6807 28.2775 52.5767 28.3193 49.8286C28.3606 47.1236 29.173 43.9633 31.0107 40.9526C32.4621 38.5751 34.5702 36.2706 37.4727 34.3589C36.5514 35.3666 35.8827 36.4736 35.5576 37.6265L37.9512 38.3013C38.3625 36.8429 39.8101 35.142 42.2109 33.8042C44.5742 32.4874 47.717 31.6116 51.2432 31.6978ZM40.1201 2.4165C45.6991 -0.804509 52.5724 -0.804509 58.1514 2.4165L75.6777 12.5356C68.4683 12.0708 60.8765 13.1991 53.8691 15.6333C43.6671 19.1774 34.5353 25.5492 29.6035 34.0396C23.1612 45.1305 22.8486 54.4223 25.3623 61.2749C25.0301 60.7429 24.7004 60.1936 24.375 59.6265C19.8639 51.765 18.8286 41.4457 20.7139 31.3706C22.4486 22.1007 26.633 13.1734 32.6709 6.71631L40.1201 2.4165ZM54.6855 17.9829C63.3703 14.966 72.9092 14.0715 81.3008 15.7817L89.2559 20.3745C94.8346 23.5955 98.2714 29.5479 98.2715 35.9897V56.4692C95.0606 49.9731 90.2759 43.9144 84.6562 39.0112C76.4636 31.8632 66.3524 27.0488 56.5273 27.0229C43.6978 26.9893 35.4935 31.3659 30.8164 36.9712C31.1117 36.4161 31.4247 35.8554 31.7539 35.2886C36.3024 27.4582 44.8633 21.395 54.6855 17.9829Z" }, null, -1)
4445
+ ])], 8, Nt)),
4446
+ i.animated ? (S(), j("linearGradient", zt, [...n[2] || (n[2] = [
4447
+ Fe('<stop offset="0%" stop-color="#FF9533"><animate attributeName="stop-color" values="#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="25%" stop-color="#FF4FBB"><animate attributeName="stop-color" values="#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="50%" stop-color="#EAFF4F"><animate attributeName="stop-color" values="#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="75%" stop-color="#1C91FC"><animate attributeName="stop-color" values="#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="100%" stop-color="#9A2DF8"><animate attributeName="stop-color" values="#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8" dur="4s" repeatCount="indefinite"></animate></stop>', 5)
4448
+ ])])) : Y("", !0)
4449
+ ])
4450
+ ], 8, Rt));
4451
+ }
4452
+ }), Bt = /* @__PURE__ */ L({
3569
4453
  __name: "vc-material-icon",
3570
4454
  props: {
3571
4455
  icon: {},
@@ -3575,20 +4459,20 @@ const ve = Y(me), Le = () => {
3575
4459
  customSize: {}
3576
4460
  },
3577
4461
  setup(i) {
3578
- const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
3579
- return R(() => {
3580
- }), (r, s) => (E(), S("span", {
3581
- class: P([
4462
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4463
+ return ce(() => {
4464
+ }), (r, a) => (S(), j("span", {
4465
+ class: q([
3582
4466
  "vc-material-icon",
3583
4467
  "material-symbols-" + i.type,
3584
4468
  !t.value && `vc-material-icon--${i.size}`,
3585
4469
  i.variant ? `vc-material-icon--${i.variant}` : ""
3586
4470
  ]),
3587
- style: C(n.value),
4471
+ style: te(n.value),
3588
4472
  "aria-hidden": "true"
3589
- }, W(i.icon), 7));
4473
+ }, be(i.icon), 7));
3590
4474
  }
3591
- }), xe = /* @__PURE__ */ T({
4475
+ }), kt = /* @__PURE__ */ L({
3592
4476
  __name: "vc-bootstrap-icon",
3593
4477
  props: {
3594
4478
  icon: {},
@@ -3597,22 +4481,22 @@ const ve = Y(me), Le = () => {
3597
4481
  customSize: {}
3598
4482
  },
3599
4483
  setup(i) {
3600
- const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
3601
- R(() => {
4484
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4485
+ ce(() => {
3602
4486
  });
3603
- const r = u(() => e.icon ? `bi-${e.icon.startsWith("bi-") ? e.icon.substring(3) : e.icon}` : "");
3604
- return (s, o) => (E(), S("i", {
3605
- class: P([
4487
+ const r = d(() => e.icon ? `bi-${e.icon.startsWith("bi-") ? e.icon.substring(3) : e.icon}` : "");
4488
+ return (a, o) => (S(), j("i", {
4489
+ class: q([
3606
4490
  "vc-bootstrap-icon",
3607
4491
  !t.value && `vc-bootstrap-icon--${i.size}`,
3608
4492
  r.value,
3609
4493
  i.variant ? `vc-bootstrap-icon--${i.variant}` : ""
3610
4494
  ]),
3611
- style: C(n.value),
4495
+ style: te(n.value),
3612
4496
  "aria-hidden": "true"
3613
4497
  }, null, 6));
3614
4498
  }
3615
- }), ge = /* @__PURE__ */ T({
4499
+ }), Gt = /* @__PURE__ */ L({
3616
4500
  __name: "vc-lucide-icon",
3617
4501
  props: {
3618
4502
  icon: {},
@@ -3622,35 +4506,35 @@ const ve = Y(me), Le = () => {
3622
4506
  customSize: {}
3623
4507
  },
3624
4508
  setup(i) {
3625
- const e = g("vc-lucide-icon"), t = i, n = u(() => typeof t.customSize == "number" && t.customSize > 0), r = u(() => {
4509
+ const e = B("vc-lucide-icon"), t = i, n = d(() => typeof t.customSize == "number" && t.customSize > 0), r = d(() => {
3626
4510
  if (!t.icon) return "HelpCircleIcon";
3627
4511
  let l = t.icon;
3628
- return l.startsWith("lucide-") && (l = l.substring(7)), l.toLowerCase().endsWith("icon") && (l = l.slice(0, -4)), l.includes("-") && (l = l.split("-").map((h) => h.charAt(0).toUpperCase() + h.slice(1)).join("")), l.charAt(0).toUpperCase() + l.slice(1) + "Icon";
3629
- }), s = u(() => {
3630
- const l = r.value, h = X[l];
3631
- return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : K(h);
3632
- }), o = u(() => n.value && t.customSize ? {
4512
+ return l.startsWith("lucide-") && (l = l.substring(7)), l.toLowerCase().endsWith("icon") && (l = l.slice(0, -4)), l.includes("-") && (l = l.split("-").map((c) => c.charAt(0).toUpperCase() + c.slice(1)).join("")), l.charAt(0).toUpperCase() + l.slice(1) + "Icon";
4513
+ }), a = d(() => {
4514
+ const l = r.value, c = Je[l];
4515
+ return !c || typeof c != "object" && typeof c != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : Oe(c);
4516
+ }), o = d(() => n.value && t.customSize ? {
3633
4517
  width: `${t.customSize}px`,
3634
4518
  height: `${t.customSize}px`
3635
4519
  } : {});
3636
- return (l, h) => s.value ? (E(), J(F(s.value), {
4520
+ return (l, c) => a.value ? (S(), ee(ge(a.value), {
3637
4521
  key: 0,
3638
4522
  "stroke-width": t.strokeWidth,
3639
- class: P([
4523
+ class: q([
3640
4524
  "vc-lucide-icon",
3641
4525
  !n.value && `vc-lucide-icon--${i.size}`,
3642
4526
  i.variant ? `vc-lucide-icon--${i.variant}` : ""
3643
4527
  ]),
3644
- style: C(o.value),
4528
+ style: te(o.value),
3645
4529
  "aria-hidden": "true"
3646
- }, null, 8, ["stroke-width", "class", "style"])) : (E(), S("span", {
4530
+ }, null, 8, ["stroke-width", "class", "style"])) : (S(), j("span", {
3647
4531
  key: 1,
3648
- class: P(["vc-lucide-icon", !n.value && `vc-lucide-icon--${i.size}`])
3649
- }, [...h[0] || (h[0] = [
3650
- V("i", { class: "vc-lucide-icon__fallback" }, null, -1)
4532
+ class: q(["vc-lucide-icon", !n.value && `vc-lucide-icon--${i.size}`])
4533
+ }, [...c[0] || (c[0] = [
4534
+ R("i", { class: "vc-lucide-icon__fallback" }, null, -1)
3651
4535
  ])], 2));
3652
4536
  }
3653
- }), Ee = /* @__PURE__ */ T({
4537
+ }), Ft = /* @__PURE__ */ L({
3654
4538
  __name: "vc-fontawesome-icon",
3655
4539
  props: {
3656
4540
  icon: {},
@@ -3659,22 +4543,22 @@ const ve = Y(me), Le = () => {
3659
4543
  customSize: {}
3660
4544
  },
3661
4545
  setup(i) {
3662
- const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
3663
- R(() => {
4546
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4547
+ ce(() => {
3664
4548
  });
3665
- const r = u(() => e.icon.startsWith("fas ") || e.icon.startsWith("far ") || e.icon.startsWith("fal ") || e.icon.startsWith("fab ") || e.icon.startsWith("fad ") ? e.icon : e.icon.startsWith("fa-") ? `fas ${e.icon}` : e.icon.includes("fa-") ? e.icon : `fas fa-${e.icon}`);
3666
- return (s, o) => (E(), S("i", {
3667
- class: P([
4549
+ const r = d(() => e.icon.startsWith("fas ") || e.icon.startsWith("far ") || e.icon.startsWith("fal ") || e.icon.startsWith("fab ") || e.icon.startsWith("fad ") ? e.icon : e.icon.startsWith("fa-") ? `fas ${e.icon}` : e.icon.includes("fa-") ? e.icon : `fas fa-${e.icon}`);
4550
+ return (a, o) => (S(), j("i", {
4551
+ class: q([
3668
4552
  "vc-fa-icon",
3669
4553
  !t.value && `vc-fa-icon--${i.size}`,
3670
4554
  r.value,
3671
4555
  i.variant ? `vc-fa-icon--${i.variant}` : ""
3672
4556
  ]),
3673
- style: C(n.value),
4557
+ style: te(n.value),
3674
4558
  "aria-hidden": "true"
3675
4559
  }, null, 6));
3676
4560
  }
3677
- }), Ue = ["xlink:href"], Se = /* @__PURE__ */ T({
4561
+ }), Dt = ["xlink:href"], Mt = /* @__PURE__ */ L({
3678
4562
  inheritAttrs: !1,
3679
4563
  __name: "vc-svg-icon",
3680
4564
  props: {
@@ -3686,31 +4570,31 @@ const ve = Y(me), Le = () => {
3686
4570
  strokeWidth: {}
3687
4571
  },
3688
4572
  setup(i) {
3689
- const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => {
4573
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => {
3690
4574
  if (e.icon.startsWith("/") || e.icon.includes("://") || e.icon.startsWith("#"))
3691
4575
  return e.icon;
3692
- const s = e.icon.indexOf("#");
3693
- if (s > -1) {
3694
- const o = e.icon.substring(0, s), l = e.icon.substring(s);
4576
+ const a = e.icon.indexOf("#");
4577
+ if (a > -1) {
4578
+ const o = e.icon.substring(0, a), l = e.icon.substring(a);
3695
4579
  return `${e.basePath}/${o}${l}`;
3696
4580
  }
3697
4581
  return `${e.basePath}/${e.icon}`;
3698
- }), r = u(() => {
3699
- const s = {};
3700
- return e.customSize && (s.width = `${e.customSize}px`, s.height = `${e.customSize}px`), e.strokeWidth && (s.strokeWidth = `${e.strokeWidth}`), s;
4582
+ }), r = d(() => {
4583
+ const a = {};
4584
+ return e.customSize && (a.width = `${e.customSize}px`, a.height = `${e.customSize}px`), e.strokeWidth && (a.strokeWidth = `${e.strokeWidth}`), a;
3701
4585
  });
3702
- return (s, o) => (E(), S("svg", j({
4586
+ return (a, o) => (S(), j("svg", oe({
3703
4587
  xmlns: "http://www.w3.org/2000/svg",
3704
4588
  class: ["vc-svg-icon", !t.value && `vc-svg-icon--${i.size}`, i.variant ? `vc-svg-icon--${i.variant}` : ""],
3705
4589
  style: r.value
3706
- }, s.$attrs), [
3707
- n.value ? (E(), S("use", {
4590
+ }, a.$attrs), [
4591
+ n.value ? (S(), j("use", {
3708
4592
  key: 0,
3709
4593
  "xlink:href": n.value
3710
- }, null, 8, Ue)) : q("", !0)
4594
+ }, null, 8, Dt)) : Y("", !0)
3711
4595
  ], 16));
3712
4596
  }
3713
- }), ye = ["aria-hidden", "aria-label", "role"], Ot = /* @__PURE__ */ T({
4597
+ }), Lt = ["aria-hidden", "aria-label", "role"], ue = /* @__PURE__ */ L({
3714
4598
  __name: "vc-icon",
3715
4599
  props: {
3716
4600
  icon: { default: "lucide-square" },
@@ -3723,7 +4607,7 @@ const ve = Y(me), Le = () => {
3723
4607
  },
3724
4608
  setup(i) {
3725
4609
  const e = i;
3726
- R(() => {
4610
+ ce(() => {
3727
4611
  });
3728
4612
  const t = {
3729
4613
  xs: 12,
@@ -3733,50 +4617,50 @@ const ve = Y(me), Le = () => {
3733
4617
  xl: 22,
3734
4618
  xxl: 30,
3735
4619
  xxxl: 64
3736
- }, n = u(() => typeof e.icon != "string" ? "custom" : e.icon.startsWith("fa-") || e.icon.includes("fa-") ? "fontawesome" : e.icon.startsWith("bi-") ? "bootstrap" : e.icon.startsWith("lucide-") ? "lucide" : e.icon.startsWith("material-") ? "material" : e.icon.startsWith("svg:") ? "svg" : e.icon.endsWith("Icon") ? "lucide" : "custom"), r = u(() => {
4620
+ }, n = d(() => typeof e.icon != "string" ? "custom" : e.icon.startsWith("fa-") || e.icon.includes("fa-") ? "fontawesome" : e.icon.startsWith("bi-") ? "bootstrap" : e.icon.startsWith("lucide-") ? "lucide" : e.icon.startsWith("material-") ? "material" : e.icon.startsWith("svg:") ? "svg" : e.icon.endsWith("Icon") ? "lucide" : "custom"), r = d(() => {
3737
4621
  if (typeof e.icon != "string")
3738
4622
  return e.icon;
3739
4623
  if (n.value === "material" && e.icon.startsWith("material-"))
3740
4624
  return e.icon.replace(/^material-/, "");
3741
4625
  if (n.value === "lucide" && e.icon.startsWith("lucide-")) {
3742
- const d = e.icon.replace(/^lucide-/, "");
3743
- return d.endsWith("Icon") ? d : `${d}Icon`;
4626
+ const b = e.icon.replace(/^lucide-/, "");
4627
+ return b.endsWith("Icon") ? b : `${b}Icon`;
3744
4628
  }
3745
4629
  return e.icon;
3746
- }), s = u(() => n.value === "material"), o = u(() => n.value === "bootstrap"), l = u(() => n.value === "lucide"), h = u(() => n.value === "fontawesome"), x = u(() => {
4630
+ }), a = d(() => n.value === "material"), o = d(() => n.value === "bootstrap"), l = d(() => n.value === "lucide"), c = d(() => n.value === "fontawesome"), p = d(() => {
3747
4631
  if (typeof e.icon != "string")
3748
4632
  return !0;
3749
4633
  if (["fontawesome", "bootstrap"].includes(n.value) || n.value === "material" && e.icon.startsWith("material-") || n.value === "lucide" && e.icon.startsWith("lucide-"))
3750
4634
  return !1;
3751
4635
  if (l.value)
3752
4636
  try {
3753
- const d = typeof r.value == "string" ? r.value : String(r.value);
3754
- return G(d) !== d;
4637
+ const b = typeof r.value == "string" ? r.value : String(r.value);
4638
+ return pe(b) !== b;
3755
4639
  } catch {
3756
4640
  return !1;
3757
4641
  }
3758
4642
  try {
3759
- return G(e.icon) !== e.icon;
4643
+ return pe(e.icon) !== e.icon;
3760
4644
  } catch {
3761
4645
  return !1;
3762
4646
  }
3763
- }), I = u(() => {
4647
+ }), g = d(() => {
3764
4648
  if (typeof e.icon != "string")
3765
- return K(e.icon);
4649
+ return Oe(e.icon);
3766
4650
  if (["fontawesome", "bootstrap", "material"].includes(n.value))
3767
4651
  return "i";
3768
4652
  try {
3769
- const d = typeof r.value == "string" ? r.value : String(r.value), c = G(d);
3770
- return c !== d ? c : "i";
4653
+ const b = typeof r.value == "string" ? r.value : String(r.value), m = pe(b);
4654
+ return m !== b ? m : "i";
3771
4655
  } catch {
3772
4656
  return "i";
3773
4657
  }
3774
- }), O = u(() => s.value ? be : o.value ? xe : l.value ? ge : h.value ? Ee : _.value ? Se : x.value ? I.value : "i"), U = u(() => e.customSize ? e.customSize : t[e.size]), w = u(() => {
3775
- const d = {};
3776
- return x.value && e.customSize && (d.width = `${e.customSize}px`, d.height = `${e.customSize}px`), d;
3777
- }), z = u(() => e.customSize ? {
4658
+ }), h = d(() => a.value ? Bt : o.value ? kt : l.value ? Gt : c.value ? Ft : z.value ? Mt : p.value ? g.value : "i"), _ = d(() => e.customSize ? e.customSize : t[e.size]), A = d(() => {
4659
+ const b = {};
4660
+ return p.value && e.customSize && (b.width = `${e.customSize}px`, b.height = `${e.customSize}px`), b;
4661
+ }), E = d(() => e.customSize ? {
3778
4662
  fontSize: `${e.customSize}px`
3779
- } : {}), A = u(() => s.value ? {
4663
+ } : {}), O = d(() => a.value ? {
3780
4664
  icon: typeof r.value == "string" ? r.value.replace(/-outlined$|-rounded$|-sharp$/, "") : r.value,
3781
4665
  size: e.size,
3782
4666
  variant: e.variant,
@@ -3799,124 +4683,313 @@ const ve = Y(me), Le = () => {
3799
4683
  strokeWidth: 1.5,
3800
4684
  customSize: e.customSize
3801
4685
  // Set custom size without scaling
3802
- } : h.value ? {
4686
+ } : c.value ? {
3803
4687
  icon: typeof e.icon == "string" ? e.icon : "",
3804
4688
  size: e.size,
3805
4689
  variant: e.variant,
3806
4690
  customSize: e.customSize
3807
4691
  // Set custom size without scaling
3808
- } : _.value ? {
3809
- icon: $.value,
4692
+ } : z.value ? {
4693
+ icon: D.value,
3810
4694
  size: e.size,
3811
4695
  variant: e.variant,
3812
4696
  customSize: e.customSize,
3813
4697
  basePath: e.basePath
3814
- } : x.value ? {
4698
+ } : p.value ? {
3815
4699
  size: e.size,
3816
- width: U.value,
3817
- height: U.value,
4700
+ width: _.value,
4701
+ height: _.value,
3818
4702
  color: e.variant ? `var(--icon-color-${e.variant})` : "currentColor"
3819
- } : {}), _ = u(() => n.value === "svg"), $ = u(() => !_.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
3820
- return (d, c) => i.useContainer ? (E(), S("div", j({
4703
+ } : {}), z = d(() => n.value === "svg"), D = d(() => !z.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
4704
+ return (b, m) => i.useContainer ? (S(), j("div", oe({
3821
4705
  key: 0,
3822
4706
  class: ["vc-icon-container", `vc-icon-container--${i.size}`],
3823
- style: z.value,
4707
+ style: E.value,
3824
4708
  "aria-hidden": i.ariaLabel ? void 0 : "true",
3825
4709
  "aria-label": i.ariaLabel || void 0,
3826
4710
  role: i.ariaLabel ? "img" : void 0
3827
- }, d.$attrs), [
3828
- (E(), J(F(O.value), j({
4711
+ }, b.$attrs), [
4712
+ (S(), ee(ge(h.value), oe({
3829
4713
  class: [
3830
4714
  "vc-icon",
3831
4715
  `vc-icon--${i.size}`,
3832
4716
  i.variant ? `vc-icon--${i.variant}` : "",
3833
- !x.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
4717
+ !p.value && !a.value && !l.value && !o.value && !c.value ? i.icon.toLowerCase() : ""
3834
4718
  ],
3835
- style: w.value
3836
- }, A.value), null, 16, ["class", "style"]))
3837
- ], 16, ye)) : (E(), J(F(O.value), j({
4719
+ style: A.value
4720
+ }, O.value), null, 16, ["class", "style"]))
4721
+ ], 16, Lt)) : (S(), ee(ge(h.value), oe({
3838
4722
  key: 1,
3839
4723
  class: [
3840
4724
  "vc-icon",
3841
4725
  `vc-icon--${i.size}`,
3842
4726
  i.variant ? `vc-icon--${i.variant}` : "",
3843
- !x.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
4727
+ !p.value && !a.value && !l.value && !o.value && !c.value ? i.icon.toLowerCase() : ""
3844
4728
  ],
3845
- style: w.value,
4729
+ style: A.value,
3846
4730
  "aria-hidden": i.ariaLabel ? void 0 : "true",
3847
4731
  "aria-label": i.ariaLabel || void 0,
3848
4732
  role: i.ariaLabel ? "img" : void 0
3849
- }, { ...A.value, ...d.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
4733
+ }, { ...O.value, ...b.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
4734
+ }
4735
+ }), Jt = { class: "vc-ai-agent-header" }, Wt = { class: "vc-ai-agent-header__icon" }, Vt = { class: "vc-ai-agent-header__wrapper" }, Kt = { class: "vc-ai-agent-header__content" }, qt = { class: "vc-ai-agent-header__title" }, Ht = { class: "vc-ai-agent-header__controls" }, Zt = /* @__PURE__ */ L({
4736
+ __name: "VcAiAgentHeader",
4737
+ props: {
4738
+ title: {},
4739
+ isExpanded: { type: Boolean },
4740
+ itemsCount: {}
4741
+ },
4742
+ emits: ["close", "expand", "collapse"],
4743
+ setup(i) {
4744
+ return (e, t) => (S(), j("div", Jt, [
4745
+ R("div", Wt, [
4746
+ K(Be, {
4747
+ width: 22,
4748
+ height: 24,
4749
+ "show-dots": ""
4750
+ })
4751
+ ]),
4752
+ R("div", Vt, [
4753
+ R("div", Kt, [
4754
+ R("div", qt, be(i.title), 1)
4755
+ ])
4756
+ ]),
4757
+ R("div", Ht, [
4758
+ i.isExpanded ? (S(), j("div", {
4759
+ key: 0,
4760
+ class: "vc-ai-agent-header__button",
4761
+ title: "Collapse",
4762
+ onClick: t[0] || (t[0] = (n) => e.$emit("collapse"))
4763
+ }, [
4764
+ K(le(ue), { icon: "lucide-minus" })
4765
+ ])) : (S(), j("div", {
4766
+ key: 1,
4767
+ class: "vc-ai-agent-header__button",
4768
+ title: "Expand",
4769
+ onClick: t[1] || (t[1] = (n) => e.$emit("expand"))
4770
+ }, [
4771
+ K(le(ue), { icon: "lucide-panel-top" })
4772
+ ])),
4773
+ R("div", {
4774
+ class: "vc-ai-agent-header__button",
4775
+ title: "Close",
4776
+ onClick: t[2] || (t[2] = (n) => e.$emit("close"))
4777
+ }, [
4778
+ K(le(ue), { icon: "lucide-x" })
4779
+ ])
4780
+ ])
4781
+ ]));
4782
+ }
4783
+ }), Xt = { class: "vc-ai-agent-loader" }, Yt = { class: "vc-ai-agent-loader__content" }, Qt = { class: "vc-ai-agent-loader__logo" }, er = {
4784
+ key: 0,
4785
+ class: "vc-ai-agent-loader__text"
4786
+ }, tr = /* @__PURE__ */ L({
4787
+ __name: "VcAiAgentLoader",
4788
+ props: {
4789
+ text: {}
4790
+ },
4791
+ setup(i) {
4792
+ return (e, t) => (S(), j("div", Xt, [
4793
+ R("div", Yt, [
4794
+ R("div", Qt, [
4795
+ K(Be, {
4796
+ width: 80,
4797
+ height: 87,
4798
+ animated: ""
4799
+ })
4800
+ ]),
4801
+ i.text ? (S(), j("p", er, be(i.text), 1)) : Y("", !0)
4802
+ ])
4803
+ ]));
4804
+ }
4805
+ }), rr = { class: "vc-ai-agent-iframe" }, nr = ["src"], ar = {
4806
+ key: 1,
4807
+ class: "vc-ai-agent-iframe__placeholder"
4808
+ }, sr = /* @__PURE__ */ L({
4809
+ __name: "VcAiAgentIframe",
4810
+ props: {
4811
+ url: {}
4812
+ },
4813
+ emits: ["iframe-ready"],
4814
+ setup(i, { emit: e }) {
4815
+ const t = B("ai-agent-iframe"), n = i, r = e, a = G(null), o = G(!0);
4816
+ X(
4817
+ a,
4818
+ (c) => {
4819
+ c && r("iframe-ready", c);
4820
+ },
4821
+ { immediate: !0 }
4822
+ );
4823
+ const l = () => {
4824
+ o.value = !1, t.debug("Iframe loaded");
4825
+ };
4826
+ return X(
4827
+ () => n.url,
4828
+ () => {
4829
+ o.value = !0;
4830
+ }
4831
+ ), (c, p) => (S(), j("div", rr, [
4832
+ K(Ie, { name: "fade" }, {
4833
+ default: Re(() => [
4834
+ o.value && i.url ? (S(), ee(tr, {
4835
+ key: 0,
4836
+ text: c.$t("AI_AGENT.LOADING")
4837
+ }, null, 8, ["text"])) : Y("", !0)
4838
+ ]),
4839
+ _: 1
4840
+ }),
4841
+ i.url ? (S(), j("iframe", {
4842
+ key: 0,
4843
+ ref_key: "iframeRef",
4844
+ ref: a,
4845
+ src: i.url,
4846
+ class: q(["vc-ai-agent-iframe__frame", { "vc-ai-agent-iframe__frame--loading": o.value }]),
4847
+ sandbox: "allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox",
4848
+ allow: "clipboard-read; clipboard-write",
4849
+ onLoad: l
4850
+ }, null, 42, nr)) : (S(), j("div", ar, [
4851
+ K(le(ue), {
4852
+ icon: "lucide-sparkles",
4853
+ size: "xl",
4854
+ class: "vc-ai-agent-iframe__placeholder-icon"
4855
+ }),
4856
+ p[0] || (p[0] = R("p", { class: "vc-ai-agent-iframe__placeholder-text" }, "AI Agent URL not configured", -1))
4857
+ ]))
4858
+ ]));
4859
+ }
4860
+ }), ir = { class: "vc-ai-agent-panel__content" }, pn = /* @__PURE__ */ L({
4861
+ __name: "VcAiAgentPanel",
4862
+ setup(i) {
4863
+ const e = J(Ee), t = J(gt, !1);
4864
+ e || console.error("[VcAiAgentPanel] AiAgentService not provided");
4865
+ const n = d(
4866
+ () => e?.config.value ?? { url: "", title: "AI Assistant", width: 362, expandedWidth: 500 }
4867
+ ), r = d(() => !t && (e?.isOpen.value ?? !1)), a = d(() => e?.isExpanded.value ?? !1), o = d(() => e?.totalItemsCount.value ?? 0), l = d(() => ({
4868
+ width: a.value ? `${n.value.expandedWidth ?? 500}px` : `${n.value.width ?? 362}px`
4869
+ })), c = () => e?.closePanel(), p = () => e?.expandPanel(), g = () => e?.collapsePanel(), h = (_) => {
4870
+ e?._setIframeRef(_);
4871
+ };
4872
+ return De(() => {
4873
+ e?._setIframeRef(null);
4874
+ }), (_, A) => (S(), ee(Ie, { name: "ai-panel-slide" }, {
4875
+ default: Re(() => [
4876
+ r.value ? (S(), j("div", {
4877
+ key: 0,
4878
+ class: q(["vc-ai-agent-panel", {
4879
+ "vc-ai-agent-panel--expanded": a.value
4880
+ }]),
4881
+ style: te(l.value)
4882
+ }, [
4883
+ K(Zt, {
4884
+ title: n.value.title,
4885
+ "is-expanded": a.value,
4886
+ "items-count": o.value,
4887
+ onClose: c,
4888
+ onExpand: p,
4889
+ onCollapse: g
4890
+ }, null, 8, ["title", "is-expanded", "items-count"]),
4891
+ R("div", ir, [
4892
+ K(sr, {
4893
+ url: n.value.url,
4894
+ onIframeReady: h
4895
+ }, null, 8, ["url"])
4896
+ ])
4897
+ ], 6)) : Y("", !0)
4898
+ ]),
4899
+ _: 1
4900
+ }));
3850
4901
  }
3851
4902
  });
3852
4903
  export {
3853
- ae as $,
3854
- pt as A,
3855
- Ve as B,
3856
- Ze as C,
3857
- Pt as D,
3858
- dt as E,
3859
- qe as F,
3860
- He as G,
3861
- Re as H,
3862
- bt as I,
3863
- St as J,
3864
- tt as K,
3865
- it as L,
3866
- ut as M,
3867
- Qe as N,
3868
- Ce as O,
3869
- Ie as P,
3870
- lt as Q,
3871
- ze as R,
3872
- Fe as S,
3873
- ot as T,
3874
- ne as U,
3875
- se as V,
3876
- et as W,
3877
- ee as X,
3878
- Ut as Y,
3879
- $e as Z,
3880
- Ot as _,
3881
- Ke as a,
3882
- Ne as a0,
3883
- Ge as a1,
3884
- ht as a2,
3885
- ke as a3,
3886
- ie as a4,
3887
- Je as a5,
3888
- te as a6,
3889
- oe as a7,
3890
- Me as a8,
3891
- ft as a9,
3892
- le as aa,
3893
- me as ab,
3894
- ve as ac,
3895
- De as ad,
3896
- Be as ae,
3897
- We as b,
3898
- g as c,
3899
- Xe as d,
3900
- Ye as e,
3901
- Tt as f,
3902
- yt as g,
3903
- de as h,
3904
- _t as i,
3905
- xt as j,
3906
- mt as k,
3907
- vt as l,
3908
- gt as m,
3909
- Et as n,
4904
+ mr as $,
4905
+ tn as A,
4906
+ dt as B,
4907
+ Lr as C,
4908
+ bt as D,
4909
+ rn as E,
4910
+ Jr as F,
4911
+ Kr as G,
4912
+ nn as H,
4913
+ Wr as I,
4914
+ qr as J,
4915
+ zr as K,
4916
+ mt as L,
4917
+ Gr as M,
4918
+ $r as N,
4919
+ Nr as O,
4920
+ Ir as P,
4921
+ rt as Q,
4922
+ Br as R,
4923
+ Cr as S,
4924
+ vt as T,
4925
+ fr as U,
4926
+ He as V,
4927
+ Rr as W,
4928
+ Dr as X,
4929
+ pr as Y,
4930
+ k as Z,
4931
+ ue as _,
4932
+ pn as a,
4933
+ Or as a0,
4934
+ pt as a1,
4935
+ ft as a2,
4936
+ en as a3,
4937
+ Pr as a4,
4938
+ vr as a5,
4939
+ Zr as a6,
4940
+ jr as a7,
4941
+ gr as a8,
4942
+ br as a9,
4943
+ hn as aA,
4944
+ kr as aa,
4945
+ xr as ab,
4946
+ Ze as ac,
4947
+ gt as ad,
4948
+ Xe as ae,
4949
+ Ke as af,
4950
+ Hr as ag,
4951
+ Er as ah,
4952
+ Ye as ai,
4953
+ yr as aj,
4954
+ _r as ak,
4955
+ Fr as al,
4956
+ Ur as am,
4957
+ Qe as an,
4958
+ Tr as ao,
4959
+ qe as ap,
4960
+ et as aq,
4961
+ Sr as ar,
4962
+ Mr as as,
4963
+ tt as at,
4964
+ lt as au,
4965
+ ut as av,
4966
+ wr as aw,
4967
+ Ar as ax,
4968
+ It as ay,
4969
+ ct as az,
4970
+ Ee as b,
4971
+ fn as c,
4972
+ B as d,
4973
+ Se as e,
4974
+ cn as f,
4975
+ je as g,
4976
+ ht as h,
4977
+ on as i,
4978
+ an as j,
4979
+ ln as k,
4980
+ Yr as l,
4981
+ Xr as m,
4982
+ Pt as n,
3910
4983
  st as o,
3911
- rt as p,
3912
- nt as q,
3913
- ue as r,
3914
- at as s,
3915
- we as t,
3916
- Le as u,
3917
- re as v,
3918
- ct as w,
3919
- Ae as x,
3920
- b as y,
3921
- je as z
4984
+ un as p,
4985
+ $e as q,
4986
+ Ne as r,
4987
+ sn as s,
4988
+ St as t,
4989
+ dn as u,
4990
+ ze as v,
4991
+ Ae as w,
4992
+ wt as x,
4993
+ Qr as y,
4994
+ Vr as z
3922
4995
  };