r3ui-lib 1.3.19 → 1.3.21

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 (324) hide show
  1. package/dist/login.es.js +14 -3148
  2. package/dist/modules/_virtual/___vite-browser-external.js +6 -0
  3. package/dist/modules/_virtual/__vite-browser-external.js +4 -0
  4. package/dist/modules/_virtual/_commonjsHelpers.js +33 -0
  5. package/dist/modules/_virtual/_plugin-vue_export-helper.js +9 -0
  6. package/dist/modules/_virtual/he.js +5 -0
  7. package/dist/modules/_virtual/he2.js +4 -0
  8. package/dist/modules/_virtual/index.js +7 -0
  9. package/dist/modules/_virtual/inputmask.js +7 -0
  10. package/dist/modules/_virtual/inputmask2.js +4 -0
  11. package/dist/modules/_virtual/ru.js +5 -0
  12. package/dist/modules/_virtual/ru2.js +4 -0
  13. package/dist/modules/assets/img/confirmation.png.js +4 -0
  14. package/dist/modules/assets/img/error.png.js +4 -0
  15. package/dist/modules/assets/img/preloader.gif.js +4 -0
  16. package/dist/modules/assets/img/regagro_logo.svg.js +4 -0
  17. package/dist/modules/assets/img/success.png.js +4 -0
  18. package/dist/modules/assets/img/warning.png.js +4 -0
  19. package/dist/modules/components/DefaultButton.vue.js +112 -0
  20. package/dist/modules/components/Divider.vue.js +33 -0
  21. package/dist/modules/components/Icon.vue.js +18 -0
  22. package/dist/modules/components/Slider.vue.js +7 -0
  23. package/dist/modules/components/Slider.vue2.js +127 -0
  24. package/dist/modules/components/Spinner.vue.js +19 -0
  25. package/dist/modules/components/SsoLoginPending.vue.js +7 -0
  26. package/dist/modules/components/SsoLoginPending.vue2.js +44 -0
  27. package/dist/modules/components/SsoLoginScreen.vue.js +57 -0
  28. package/dist/modules/components/SsoLoginScreen.vue2.js +4 -0
  29. package/dist/modules/components/accordions/DefaultAccordion.vue.js +7 -0
  30. package/dist/modules/components/accordions/DefaultAccordion.vue2.js +72 -0
  31. package/dist/modules/components/accordions/KindCheckboxesAccordion.vue.js +7 -0
  32. package/dist/modules/components/accordions/KindCheckboxesAccordion.vue2.js +152 -0
  33. package/dist/modules/components/buttons/AddButton.vue.js +7 -0
  34. package/dist/modules/components/buttons/AddButton.vue2.js +30 -0
  35. package/dist/modules/components/buttons/ClearFormButton.vue.js +7 -0
  36. package/dist/modules/components/buttons/ClearFormButton.vue2.js +28 -0
  37. package/dist/modules/components/buttons/CollapseButton.vue.js +7 -0
  38. package/dist/modules/components/buttons/CollapseButton.vue2.js +57 -0
  39. package/dist/modules/components/buttons/ExportButton.vue.js +7 -0
  40. package/dist/modules/components/buttons/ExportButton.vue2.js +28 -0
  41. package/dist/modules/components/buttons/PrintButton.vue.js +7 -0
  42. package/dist/modules/components/buttons/PrintButton.vue2.js +27 -0
  43. package/dist/modules/components/buttons/ToggleButtons.vue.js +7 -0
  44. package/dist/modules/components/buttons/ToggleButtons.vue2.js +30 -0
  45. package/dist/modules/components/cards/CardInfo.vue.js +7 -0
  46. package/dist/modules/components/cards/CardInfo.vue2.js +56 -0
  47. package/dist/modules/components/cards/PageCard.vue.js +7 -0
  48. package/dist/modules/components/cards/PageCard.vue2.js +117 -0
  49. package/dist/modules/components/dropdowns/DefaultDropDown.vue.js +102 -0
  50. package/dist/modules/components/export/ExportComponent.vue.js +7 -0
  51. package/dist/modules/components/export/ExportComponent.vue2.js +74 -0
  52. package/dist/modules/components/filters/MultipleQuickFilterComponent.vue.js +7 -0
  53. package/dist/modules/components/filters/MultipleQuickFilterComponent.vue2.js +34 -0
  54. package/dist/modules/components/form/Checkbox.vue.js +66 -0
  55. package/dist/modules/components/form/CustomInput.vue.js +161 -0
  56. package/dist/modules/components/form/FormError.vue.js +24 -0
  57. package/dist/modules/components/form/PasswordInput.vue.js +82 -0
  58. package/dist/modules/components/form/VSelect.vue.js +192 -0
  59. package/dist/modules/components/form/useWithPopper.js +29 -0
  60. package/dist/modules/components/forms/AddressForm.vue.js +7 -0
  61. package/dist/modules/components/forms/AddressForm.vue2.js +382 -0
  62. package/dist/modules/components/forms/AgeFromAgeTo.vue.js +7 -0
  63. package/dist/modules/components/forms/AgeFromAgeTo.vue2.js +207 -0
  64. package/dist/modules/components/forms/BooleanCheckbox.vue.js +7 -0
  65. package/dist/modules/components/forms/BooleanCheckbox.vue2.js +54 -0
  66. package/dist/modules/components/forms/Flatpickr.vue.js +7 -0
  67. package/dist/modules/components/forms/Flatpickr.vue2.js +273 -0
  68. package/dist/modules/components/forms/HeaderSearchForm.vue.js +7 -0
  69. package/dist/modules/components/forms/HeaderSearchForm.vue2.js +142 -0
  70. package/dist/modules/components/forms/MultiCheckbox.vue.js +7 -0
  71. package/dist/modules/components/forms/MultiCheckbox.vue2.js +64 -0
  72. package/dist/modules/components/forms/MultiInput.vue.js +7 -0
  73. package/dist/modules/components/forms/MultiInput.vue2.js +115 -0
  74. package/dist/modules/components/icons/QuestionIcon.vue.js +7 -0
  75. package/dist/modules/components/icons/QuestionIcon.vue2.js +56 -0
  76. package/dist/modules/components/layout/Breadcrumbs.vue.js +7 -0
  77. package/dist/modules/components/layout/Breadcrumbs.vue2.js +40 -0
  78. package/dist/modules/components/layout/Card.vue.js +31 -0
  79. package/dist/modules/components/layout/Footer.vue.js +15 -0
  80. package/dist/modules/components/layout/Footer.vue2.js +4 -0
  81. package/dist/modules/components/layout/Header.vue.js +7 -0
  82. package/dist/modules/components/layout/Header.vue2.js +68 -0
  83. package/dist/modules/components/layout/LanguageSelector.vue.js +32 -0
  84. package/dist/modules/components/layout/LanguageSelector.vue3.js +5 -0
  85. package/dist/modules/components/layout/LoginLayoutFrame.vue.js +48 -0
  86. package/dist/modules/components/layout/LoginLayoutFrame.vue2.js +4 -0
  87. package/dist/modules/components/layout/MainComponent.vue.js +50 -0
  88. package/dist/modules/components/layout/MainComponent.vue2.js +4 -0
  89. package/dist/modules/components/layout/PageTitle.vue.js +7 -0
  90. package/dist/modules/components/layout/PageTitle.vue2.js +40 -0
  91. package/dist/modules/components/logo/Logo.vue.js +7 -0
  92. package/dist/modules/components/logo/Logo.vue2.js +50 -0
  93. package/dist/modules/components/modals/ConfirmationModal.vue.js +7 -0
  94. package/dist/modules/components/modals/ConfirmationModal.vue2.js +154 -0
  95. package/dist/modules/components/modals/DefaultModal.vue.js +116 -0
  96. package/dist/modules/components/modals/DefaultModal.vue3.js +5 -0
  97. package/dist/modules/components/modals/EditTableColumnsModalComponent.vue.js +7 -0
  98. package/dist/modules/components/modals/EditTableColumnsModalComponent.vue2.js +41 -0
  99. package/dist/modules/components/modals/TableFilterModalComponent.vue.js +7 -0
  100. package/dist/modules/components/modals/TableFilterModalComponent.vue2.js +66 -0
  101. package/dist/modules/components/modals/TableFilterModalShell.vue.js +89 -0
  102. package/dist/modules/components/modals/TableFilterModalShell.vue2.js +4 -0
  103. package/dist/modules/components/notifications/ErrorMessageComponent.vue.js +7 -0
  104. package/dist/modules/components/notifications/ErrorMessageComponent.vue2.js +45 -0
  105. package/dist/modules/components/notifications/NotificationMessage.vue.js +55 -0
  106. package/dist/modules/components/notifications/NotificationMessage.vue2.js +4 -0
  107. package/dist/modules/components/notifications/Toast.vue.js +71 -0
  108. package/dist/modules/components/sidebar/CollapsedSidebarLink.vue.js +7 -0
  109. package/dist/modules/components/sidebar/CollapsedSidebarLink.vue2.js +90 -0
  110. package/dist/modules/components/sidebar/Sidebar.vue.js +59 -0
  111. package/dist/modules/components/sidebar/Sidebar.vue3.js +5 -0
  112. package/dist/modules/components/sidebar/SidebarLink.vue.js +7 -0
  113. package/dist/modules/components/sidebar/SidebarLink.vue2.js +93 -0
  114. package/dist/modules/components/tables/ColumnSubFilter.vue.js +7 -0
  115. package/dist/modules/components/tables/ColumnSubFilter.vue2.js +36 -0
  116. package/dist/modules/components/tables/EditTableColumns.vue.js +7 -0
  117. package/dist/modules/components/tables/EditTableColumns.vue2.js +125 -0
  118. package/dist/modules/components/tables/ManagedRemoteTable.vue.js +72 -0
  119. package/dist/modules/components/tables/ManagedRemoteTable.vue2.js +4 -0
  120. package/dist/modules/components/tables/SubFilterToggleBtn.vue.js +28 -0
  121. package/dist/modules/components/tables/Table.vue.js +416 -0
  122. package/dist/modules/components/tables/Table.vue3.js +5 -0
  123. package/dist/modules/components/tables/TableAppliedFiltersStorage.vue.js +7 -0
  124. package/dist/modules/components/tables/TableAppliedFiltersStorage.vue2.js +56 -0
  125. package/dist/modules/components/tables/TableColumnsButton.vue.js +27 -0
  126. package/dist/modules/components/tables/TableColumnsButton.vue2.js +4 -0
  127. package/dist/modules/components/tables/TableColumnsDialog.vue.js +67 -0
  128. package/dist/modules/components/tables/TableColumnsDialog.vue2.js +4 -0
  129. package/dist/modules/components/tables/TableColumnsModal.vue.js +27 -0
  130. package/dist/modules/components/tables/TableColumnsModal.vue2.js +4 -0
  131. package/dist/modules/components/tables/TableCount.vue.js +7 -0
  132. package/dist/modules/components/tables/TableCount.vue2.js +26 -0
  133. package/dist/modules/components/tables/TableQuickFilterComponent.vue.js +7 -0
  134. package/dist/modules/components/tables/TableQuickFilterComponent.vue2.js +29 -0
  135. package/dist/modules/components/tables/ToggleAllTableRowButtons.vue.js +7 -0
  136. package/dist/modules/components/tables/ToggleAllTableRowButtons.vue2.js +41 -0
  137. package/dist/modules/components/utilities/FilterValuesPanel.vue.js +7 -0
  138. package/dist/modules/components/utilities/FilterValuesPanel.vue2.js +95 -0
  139. package/dist/modules/composables/forms/useAddressForm.js +289 -0
  140. package/dist/modules/composables/forms/useFieldError.js +23 -0
  141. package/dist/modules/composables/forms/useSearchForm.js +52 -0
  142. package/dist/modules/composables/forms/useUnsavedChanges.js +84 -0
  143. package/dist/modules/composables/layout/useR3uiLayoutInject.js +32 -0
  144. package/dist/modules/composables/main/useBreadcrumbs.js +75 -0
  145. package/dist/modules/composables/main/useMain.js +38 -0
  146. package/dist/modules/composables/main/usePermissionChecker.js +15 -0
  147. package/dist/modules/composables/modals/useModalLayer.js +109 -0
  148. package/dist/modules/composables/sidebar/useSidebar.js +40 -0
  149. package/dist/modules/composables/table/createTableCommandScheduler.js +62 -0
  150. package/dist/modules/composables/table/createTableLifecycle.js +719 -0
  151. package/dist/modules/composables/table/createTableRebuildTransaction.js +61 -0
  152. package/dist/modules/composables/table/createTableSession.js +38 -0
  153. package/dist/modules/composables/table/createTableState.js +122 -0
  154. package/dist/modules/composables/table/createTabulatorAdapter.js +90 -0
  155. package/dist/modules/composables/table/tableQueryTransitions.js +82 -0
  156. package/dist/modules/composables/table/useManagedRemoteTable.js +179 -0
  157. package/dist/modules/composables/table/useR3uiTableDefaultInject.js +27 -0
  158. package/dist/modules/composables/table/useRemoteTable.js +96 -0
  159. package/dist/modules/composables/table/useTableColumnApply.js +38 -0
  160. package/dist/modules/composables/table/useTableColumns.js +70 -0
  161. package/dist/modules/composables/table/useTableColumnsEnhanced.js +155 -0
  162. package/dist/modules/composables/table/useTableColumnsIntegration.js +82 -0
  163. package/dist/modules/composables/table/useTableDefault.js +258 -0
  164. package/dist/modules/composables/table/useTableStorage.js +32 -0
  165. package/dist/modules/constants/authSidebar.js +36 -0
  166. package/dist/modules/services/AddressService.js +21 -0
  167. package/dist/modules/types/layoutInjectKeys.js +10 -0
  168. package/dist/modules/types/tableInjectKeys.js +21 -0
  169. package/dist/modules/types/tableInstance.js +32 -0
  170. package/dist/modules/utils/accordionLocalization.js +14 -0
  171. package/dist/modules/utils/addressFormTranslations.js +29 -0
  172. package/dist/modules/utils/auth/authUser.js +13 -0
  173. package/dist/modules/utils/auth/exchangePasswordToken.js +52 -0
  174. package/dist/modules/utils/auth/handlePkceCallback.js +88 -0
  175. package/dist/modules/utils/auth/logout.js +32 -0
  176. package/dist/modules/utils/auth/runLogoutHandler.js +60 -0
  177. package/dist/modules/utils/auth/sessionController.js +28 -0
  178. package/dist/modules/utils/auth/signInWithSSO.js +141 -0
  179. package/dist/modules/utils/authCookie.js +21 -0
  180. package/dist/modules/utils/constants.js +34 -0
  181. package/dist/modules/utils/createTabulatorLangsFromT.js +30 -0
  182. package/dist/modules/utils/createTabulatorTableProps.js +19 -0
  183. package/dist/modules/utils/helpers.js +537 -0
  184. package/dist/modules/utils/pkce.js +50 -0
  185. package/dist/modules/utils/table-columns-utils.js +59 -0
  186. package/dist/modules/utils/tableAdapter.js +156 -0
  187. package/dist/modules/utils/tableAjaxRequest.js +82 -0
  188. package/dist/modules/utils/tableCancellation.js +271 -0
  189. package/dist/modules/utils/tableColumnStorage.js +55 -0
  190. package/dist/modules/utils/tableData.js +118 -0
  191. package/dist/modules/utils/tableLoad.js +67 -0
  192. package/dist/modules/utils/tableLocalizations.js +6 -0
  193. package/dist/modules/utils/tableOperation.js +63 -0
  194. package/dist/modules/utils/tableProjection.js +137 -0
  195. package/dist/modules/utils/tableQueryParameters.js +46 -0
  196. package/dist/modules/utils/tableSnapshotValue.js +73 -0
  197. package/dist/modules/utils/tabulatorQueryAdapter.js +203 -0
  198. package/dist/modules/utils/tabulatorRuntime.js +131 -0
  199. package/dist/modules/utils/upstreamHttpStatus.js +32 -0
  200. package/dist/modules/vendor/@popperjs/core/lib/createPopper.js +122 -0
  201. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/contains.js +18 -0
  202. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
  203. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
  204. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
  205. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
  206. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
  207. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
  208. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
  209. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
  210. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
  211. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
  212. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
  213. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
  214. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
  215. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
  216. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
  217. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
  218. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
  219. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
  220. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
  221. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
  222. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
  223. package/dist/modules/vendor/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
  224. package/dist/modules/vendor/@popperjs/core/lib/enums.js +31 -0
  225. package/dist/modules/vendor/@popperjs/core/lib/modifiers/applyStyles.js +47 -0
  226. package/dist/modules/vendor/@popperjs/core/lib/modifiers/arrow.js +37 -0
  227. package/dist/modules/vendor/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
  228. package/dist/modules/vendor/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
  229. package/dist/modules/vendor/@popperjs/core/lib/modifiers/flip.js +74 -0
  230. package/dist/modules/vendor/@popperjs/core/lib/modifiers/hide.js +44 -0
  231. package/dist/modules/vendor/@popperjs/core/lib/modifiers/offset.js +31 -0
  232. package/dist/modules/vendor/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
  233. package/dist/modules/vendor/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
  234. package/dist/modules/vendor/@popperjs/core/lib/popper.js +27 -0
  235. package/dist/modules/vendor/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
  236. package/dist/modules/vendor/@popperjs/core/lib/utils/computeOffsets.js +54 -0
  237. package/dist/modules/vendor/@popperjs/core/lib/utils/debounce.js +13 -0
  238. package/dist/modules/vendor/@popperjs/core/lib/utils/detectOverflow.js +33 -0
  239. package/dist/modules/vendor/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
  240. package/dist/modules/vendor/@popperjs/core/lib/utils/getAltAxis.js +6 -0
  241. package/dist/modules/vendor/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
  242. package/dist/modules/vendor/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
  243. package/dist/modules/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
  244. package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
  245. package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
  246. package/dist/modules/vendor/@popperjs/core/lib/utils/getVariation.js +6 -0
  247. package/dist/modules/vendor/@popperjs/core/lib/utils/math.js +6 -0
  248. package/dist/modules/vendor/@popperjs/core/lib/utils/mergeByName.js +15 -0
  249. package/dist/modules/vendor/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
  250. package/dist/modules/vendor/@popperjs/core/lib/utils/orderModifiers.js +31 -0
  251. package/dist/modules/vendor/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
  252. package/dist/modules/vendor/@popperjs/core/lib/utils/userAgent.js +9 -0
  253. package/dist/modules/vendor/@popperjs/core/lib/utils/within.js +12 -0
  254. package/dist/modules/vendor/call-bind-apply-helpers/actualApply.js +14 -0
  255. package/dist/modules/vendor/call-bind-apply-helpers/functionApply.js +7 -0
  256. package/dist/modules/vendor/call-bind-apply-helpers/functionCall.js +7 -0
  257. package/dist/modules/vendor/call-bind-apply-helpers/index.js +18 -0
  258. package/dist/modules/vendor/call-bind-apply-helpers/reflectApply.js +7 -0
  259. package/dist/modules/vendor/call-bound/index.js +21 -0
  260. package/dist/modules/vendor/dompurify/dist/purify.es.js +1522 -0
  261. package/dist/modules/vendor/dunder-proto/get.js +29 -0
  262. package/dist/modules/vendor/es-define-property/index.js +16 -0
  263. package/dist/modules/vendor/es-errors/eval.js +7 -0
  264. package/dist/modules/vendor/es-errors/index.js +7 -0
  265. package/dist/modules/vendor/es-errors/range.js +7 -0
  266. package/dist/modules/vendor/es-errors/ref.js +7 -0
  267. package/dist/modules/vendor/es-errors/syntax.js +7 -0
  268. package/dist/modules/vendor/es-errors/type.js +7 -0
  269. package/dist/modules/vendor/es-errors/uri.js +7 -0
  270. package/dist/modules/vendor/es-object-atoms/index.js +7 -0
  271. package/dist/modules/vendor/flatpickr/dist/esm/index.js +942 -0
  272. package/dist/modules/vendor/flatpickr/dist/esm/l10n/default.js +75 -0
  273. package/dist/modules/vendor/flatpickr/dist/esm/types/options.js +80 -0
  274. package/dist/modules/vendor/flatpickr/dist/esm/utils/dates.js +89 -0
  275. package/dist/modules/vendor/flatpickr/dist/esm/utils/dom.js +45 -0
  276. package/dist/modules/vendor/flatpickr/dist/esm/utils/formatting.js +170 -0
  277. package/dist/modules/vendor/flatpickr/dist/esm/utils/index.js +23 -0
  278. package/dist/modules/vendor/flatpickr/dist/esm/utils/polyfills.js +15 -0
  279. package/dist/modules/vendor/flatpickr/dist/l10n/he.js +56 -0
  280. package/dist/modules/vendor/flatpickr/dist/l10n/ru.js +73 -0
  281. package/dist/modules/vendor/function-bind/implementation.js +48 -0
  282. package/dist/modules/vendor/function-bind/index.js +11 -0
  283. package/dist/modules/vendor/get-intrinsic/index.js +265 -0
  284. package/dist/modules/vendor/get-proto/Object.getPrototypeOf.js +11 -0
  285. package/dist/modules/vendor/get-proto/Reflect.getPrototypeOf.js +7 -0
  286. package/dist/modules/vendor/get-proto/index.js +21 -0
  287. package/dist/modules/vendor/gopd/gOPD.js +7 -0
  288. package/dist/modules/vendor/gopd/index.js +17 -0
  289. package/dist/modules/vendor/has-symbols/index.js +13 -0
  290. package/dist/modules/vendor/has-symbols/shams.js +33 -0
  291. package/dist/modules/vendor/hasown/index.js +11 -0
  292. package/dist/modules/vendor/inputmask/dist/inputmask.js +3517 -0
  293. package/dist/modules/vendor/math-intrinsics/abs.js +7 -0
  294. package/dist/modules/vendor/math-intrinsics/floor.js +7 -0
  295. package/dist/modules/vendor/math-intrinsics/isNaN.js +9 -0
  296. package/dist/modules/vendor/math-intrinsics/max.js +7 -0
  297. package/dist/modules/vendor/math-intrinsics/min.js +7 -0
  298. package/dist/modules/vendor/math-intrinsics/pow.js +7 -0
  299. package/dist/modules/vendor/math-intrinsics/round.js +7 -0
  300. package/dist/modules/vendor/math-intrinsics/sign.js +13 -0
  301. package/dist/modules/vendor/moment/dist/moment.js +2589 -0
  302. package/dist/modules/vendor/nouislider/dist/nouislider.js +1064 -0
  303. package/dist/modules/vendor/object-inspect/index.js +376 -0
  304. package/dist/modules/vendor/qs/lib/formats.js +25 -0
  305. package/dist/modules/vendor/qs/lib/index.js +17 -0
  306. package/dist/modules/vendor/qs/lib/parse.js +161 -0
  307. package/dist/modules/vendor/qs/lib/stringify.js +197 -0
  308. package/dist/modules/vendor/qs/lib/utils.js +129 -0
  309. package/dist/modules/vendor/seamless-scroll-polyfill/lib/common.js +21 -0
  310. package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-end-event.js +12 -0
  311. package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-step.js +21 -0
  312. package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll.js +58 -0
  313. package/dist/modules/vendor/seamless-scroll-polyfill/lib/scrollIntoView.js +168 -0
  314. package/dist/modules/vendor/side-channel/index.js +35 -0
  315. package/dist/modules/vendor/side-channel-list/index.js +64 -0
  316. package/dist/modules/vendor/side-channel-map/index.js +40 -0
  317. package/dist/modules/vendor/side-channel-weakmap/index.js +43 -0
  318. package/dist/modules/vendor/tabulator-tables/dist/js/tabulator_esm.js +11127 -0
  319. package/dist/modules/vendor/vue-select/dist/vue-select.es.js +769 -0
  320. package/dist/r3ui-lib.css +1 -1
  321. package/dist/r3ui-lib.es.js +334 -35110
  322. package/dist/r3ui-lib.umd.js +12 -12
  323. package/dist/types/components/forms/AddressForm.vue.d.ts.map +1 -1
  324. package/package.json +7 -3
@@ -0,0 +1,38 @@
1
+ import { ref as f, watch as C, onDeactivated as b, onActivated as g, onScopeDispose as w } from "vue";
2
+ function A(v, p, d, t = {}) {
3
+ const a = f(!1), r = f(!1);
4
+ let l = !0, i = !1, e;
5
+ function u() {
6
+ const o = e;
7
+ e = void 0, a.value = !1, r.value = !1, i || t.invalidated?.(), o?.abort();
8
+ }
9
+ t.context && C(t.context, u, { flush: "sync" }), b(() => {
10
+ l = !1, u();
11
+ }), g(() => {
12
+ l = !0;
13
+ }), w(() => {
14
+ i = !0, l = !1, u();
15
+ });
16
+ async function y(o) {
17
+ if (a.value || i || !l) return;
18
+ const n = new AbortController(), x = t.context?.();
19
+ e = n;
20
+ const c = {
21
+ signal: n.signal,
22
+ isCurrent: () => l && !i && e === n && x === t.context?.() && !n.signal.aborted
23
+ };
24
+ a.value = !0, r.value = !1;
25
+ try {
26
+ const s = await v(o, c);
27
+ c.isCurrent() && (!s || s.status === "applied") && p(o);
28
+ } catch (s) {
29
+ c.isCurrent() && (r.value = !0, d(s));
30
+ } finally {
31
+ e === n && (e = void 0, a.value = !1);
32
+ }
33
+ }
34
+ return { applying: a, applyFailed: r, apply: y };
35
+ }
36
+ export {
37
+ A as useTableColumnApply
38
+ };
@@ -0,0 +1,70 @@
1
+ import { ref as c, watch as y, computed as p } from "vue";
2
+ function w(a, l) {
3
+ const o = c(!1), u = c([...a]);
4
+ y(() => a, (e) => {
5
+ u.value = [...e];
6
+ }, { deep: !0 });
7
+ function m(e) {
8
+ o.value = e;
9
+ }
10
+ function i(e, n) {
11
+ const T = e.target, v = u.value.map(
12
+ (s) => s.field === n ? { ...s, visible: T.checked } : s
13
+ );
14
+ u.value = v, l && l.value && (l.value.columns = v);
15
+ }
16
+ function f(e) {
17
+ console.log("useTableColumns handleColumnsApply called, received columns:", e), console.log("useTableColumns current tableColumns before update:", u.value), o.value = !1, t(e), r();
18
+ }
19
+ function t(e) {
20
+ e && (u.value = [...e], console.log("useTableColumns tableColumns after update:", u.value));
21
+ }
22
+ function r() {
23
+ if (!l || !l.value) {
24
+ console.log("useTableColumns tableOptions not available");
25
+ return;
26
+ }
27
+ console.log("useTableColumns updating tableOptions.columns:", u.value), l.value.columns = u.value, console.log("useTableColumns tableOptions.columns after update:", l.value.columns);
28
+ }
29
+ function d() {
30
+ const e = u.value.map((n) => ({
31
+ ...n,
32
+ visible: n.title ? !0 : n.visible
33
+ }));
34
+ u.value = e, l && l.value && (l.value.columns = e);
35
+ }
36
+ function C() {
37
+ const e = u.value.map((n) => ({
38
+ ...n,
39
+ visible: n.title ? !1 : n.visible
40
+ }));
41
+ u.value = e, l && l.value && (l.value.columns = e);
42
+ }
43
+ const g = p(
44
+ () => u.value.filter((e) => e.visible)
45
+ );
46
+ function h(e) {
47
+ u.value = [...e], l && l.value && (l.value.columns = e);
48
+ }
49
+ function b() {
50
+ u.value = [...a], l && l.value && (l.value.columns = [...a]);
51
+ }
52
+ return {
53
+ // Состояние
54
+ columnsModalVisibility: o,
55
+ tableColumns: u,
56
+ visibleColumns: g,
57
+ // Обработчики
58
+ handleColumnsModalVisibility: m,
59
+ handleColumnVisibilityChange: i,
60
+ handleColumnsApply: f,
61
+ handleColumnsSelectAll: d,
62
+ handleColumnsUnselectAll: C,
63
+ // Утилиты
64
+ updateColumns: h,
65
+ resetColumns: b
66
+ };
67
+ }
68
+ export {
69
+ w as useTableColumns
70
+ };
@@ -0,0 +1,155 @@
1
+ import { ref as m, computed as s, watch as g } from "vue";
2
+ import { validateColumns as i, getVisibleColumns as q, hasHiddenColumns as G, prepareColumnsToSave as P, getColumnByField as Q, hideAllColumns as b, resetColumnsToDefault as d, updateColumn as f, toggleColumnVisibility as R } from "../../utils/table-columns-utils.js";
3
+ function Z(w) {
4
+ const {
5
+ initialColumns: a,
6
+ localStorageKey: t,
7
+ tableOptions: v,
8
+ autoSave: y = !0,
9
+ onColumnsChange: S,
10
+ onApply: T,
11
+ validateOnChange: A = !0
12
+ } = w;
13
+ i(a) || console.error("useTableColumnsEnhanced: invalid initialColumns provided");
14
+ const c = m(!1), o = m([...a]), u = m(!1);
15
+ if (t && typeof window < "u")
16
+ try {
17
+ const e = localStorage.getItem(t);
18
+ if (e) {
19
+ const n = JSON.parse(e);
20
+ i(n) && (o.value = n);
21
+ }
22
+ } catch (e) {
23
+ console.warn("useTableColumnsEnhanced: failed to load columns from localStorage", e);
24
+ }
25
+ const C = s(() => q(o.value)), E = s(() => G(o.value)), O = s(() => o.value.length), V = s(() => C.value.length);
26
+ function h(e) {
27
+ if (!(!t || typeof window > "u" || !y))
28
+ try {
29
+ const n = P(e);
30
+ localStorage.setItem(t, JSON.stringify(n));
31
+ } catch (n) {
32
+ console.warn("useTableColumnsEnhanced: failed to save columns to localStorage", n);
33
+ }
34
+ }
35
+ function I() {
36
+ if (!t || typeof window > "u") return null;
37
+ try {
38
+ const e = localStorage.getItem(t);
39
+ if (e) {
40
+ const n = JSON.parse(e);
41
+ if (i(n))
42
+ return n;
43
+ }
44
+ } catch (e) {
45
+ console.warn("useTableColumnsEnhanced: failed to load columns from localStorage", e);
46
+ }
47
+ return null;
48
+ }
49
+ function J() {
50
+ if (!(!t || typeof window > "u"))
51
+ try {
52
+ localStorage.removeItem(t);
53
+ } catch (e) {
54
+ console.warn("useTableColumnsEnhanced: failed to clear localStorage", e);
55
+ }
56
+ }
57
+ function l(e) {
58
+ if (A && !i(e)) {
59
+ console.error("useTableColumnsEnhanced: invalid columns provided to updateColumns");
60
+ return;
61
+ }
62
+ o.value = [...e], h(e), S?.(e);
63
+ }
64
+ function L(e, n) {
65
+ const W = e.target, j = f(o.value, n, { visible: W.checked });
66
+ l(j);
67
+ }
68
+ function N(e) {
69
+ c.value = e;
70
+ }
71
+ function D(e) {
72
+ const n = e || o.value;
73
+ l(n), c.value = !1, T?.(n);
74
+ }
75
+ function F() {
76
+ const e = d(o.value);
77
+ l(e);
78
+ }
79
+ function H() {
80
+ const e = b(o.value);
81
+ l(e);
82
+ }
83
+ function M(e) {
84
+ const n = R(o.value, e);
85
+ l(n);
86
+ }
87
+ function k(e) {
88
+ const n = f(o.value, e, { visible: !0 });
89
+ l(n);
90
+ }
91
+ function x(e) {
92
+ const n = f(o.value, e, { visible: !1 });
93
+ l(n);
94
+ }
95
+ function z() {
96
+ const e = d(a);
97
+ l(e);
98
+ }
99
+ function B() {
100
+ const e = d(o.value);
101
+ l(e);
102
+ }
103
+ function K() {
104
+ const e = b(o.value);
105
+ l(e);
106
+ }
107
+ function p(e) {
108
+ return Q(o.value, e);
109
+ }
110
+ function U(e) {
111
+ return p(e)?.visible ?? !1;
112
+ }
113
+ function r() {
114
+ v?.value && (v.value.columns = o.value);
115
+ }
116
+ return g(o, () => {
117
+ r();
118
+ }, { deep: !0 }), g(() => a, (e) => {
119
+ u.value || (o.value = [...e], u.value = !0);
120
+ }, { deep: !0, immediate: !0 }), u.value || (u.value = !0, r()), {
121
+ // Состояние
122
+ columnsModalVisibility: c,
123
+ tableColumns: o,
124
+ visibleColumns: C,
125
+ hasHidden: E,
126
+ columnsCount: O,
127
+ visibleCount: V,
128
+ isInitialized: u,
129
+ // Основные обработчики
130
+ handleColumnsModalVisibility: N,
131
+ handleColumnVisibilityChange: L,
132
+ handleColumnsApply: D,
133
+ handleColumnsSelectAll: F,
134
+ handleColumnsUnselectAll: H,
135
+ // Дополнительные функции управления
136
+ updateColumns: l,
137
+ toggleColumn: M,
138
+ showColumn: k,
139
+ hideColumn: x,
140
+ resetToDefault: z,
141
+ showAll: B,
142
+ hideAll: K,
143
+ getColumn: p,
144
+ isColumnVisible: U,
145
+ // Функции localStorage
146
+ saveToLocalStorage: h,
147
+ loadFromLocalStorage: I,
148
+ clearLocalStorage: J,
149
+ // Утилиты
150
+ syncWithTableOptions: r
151
+ };
152
+ }
153
+ export {
154
+ Z as useTableColumnsEnhanced
155
+ };
@@ -0,0 +1,82 @@
1
+ import { watch as g } from "vue";
2
+ import { useTableColumnsEnhanced as h } from "./useTableColumnsEnhanced.js";
3
+ function y(s) {
4
+ const {
5
+ localStorageKey: u,
6
+ getColumns: t,
7
+ tableOptions: e,
8
+ tableDefault: l,
9
+ onColumnsChange: i,
10
+ onApply: m
11
+ } = s, n = h({
12
+ initialColumns: t(),
13
+ localStorageKey: u,
14
+ tableOptions: e,
15
+ autoSave: !0,
16
+ onColumnsChange: (o) => {
17
+ i?.(o), l?.applyFilters && l.applyFilters();
18
+ },
19
+ onApply: (o) => {
20
+ m?.(o), l?.applyFilters && l.applyFilters();
21
+ }
22
+ });
23
+ function c(o) {
24
+ console.log("useTableColumnsIntegration handleColumnsChanged called, received columns:", o), n.updateColumns(o);
25
+ }
26
+ function p() {
27
+ console.log("useTableColumnsIntegration handleColumnsApply called"), n.handleColumnsApply();
28
+ }
29
+ function C() {
30
+ if (l) {
31
+ if (l.onShowColumn) {
32
+ const o = l.onShowColumn;
33
+ l.onShowColumn = (a) => {
34
+ console.log("useTableColumnsIntegration onShowColumn called with columns:", a), n.updateColumns(a), o?.(a);
35
+ };
36
+ }
37
+ if (l.onHideColumn) {
38
+ const o = l.onHideColumn;
39
+ l.onHideColumn = (a) => {
40
+ console.log("useTableColumnsIntegration onHideColumn called with columns:", a), n.updateColumns(a), o?.(a);
41
+ };
42
+ }
43
+ }
44
+ }
45
+ function r() {
46
+ e?.value && (e.value.columns = n.tableColumns.value);
47
+ }
48
+ function d() {
49
+ l?.tableOptions && (l.tableOptions.columns = n.tableColumns.value);
50
+ }
51
+ return g(() => t(), (o) => {
52
+ console.log("useTableColumnsIntegration getColumns changed, updating columns:", o), n.updateColumns(o);
53
+ }, { deep: !0 }), C(), {
54
+ // Экспортируем все из columnsComposable
55
+ ...n,
56
+ // Дополнительные обработчики для интеграции
57
+ handleColumnsChanged: c,
58
+ handleColumnsApply: p,
59
+ // Функции синхронизации
60
+ syncWithTableOptions: r,
61
+ syncWithTable: d,
62
+ // Дополнительные утилиты
63
+ setupTableDefaultIntegration: C
64
+ };
65
+ }
66
+ function v(s) {
67
+ const { tableColumns: u, tableOptions: t, tableDefault: e, onApply: l } = s;
68
+ function i(n) {
69
+ console.log("createColumnHandlers handleColumnsChanged called, received columns:", n), u.value = n, t.value.columns = n, e?.tableOptions && (e.tableOptions.columns = n);
70
+ }
71
+ function m() {
72
+ console.log("createColumnHandlers handleColumnsApply called"), console.log("createColumnHandlers current tableColumns:", u.value), t.value.columns = u.value, e?.tableOptions && (e.tableOptions.columns = u.value), l?.();
73
+ }
74
+ return {
75
+ handleColumnsChanged: i,
76
+ handleColumnsApply: m
77
+ };
78
+ }
79
+ export {
80
+ v as createColumnHandlers,
81
+ y as useTableColumnsIntegration
82
+ };
@@ -0,0 +1,258 @@
1
+ import { createTableParameterSource as fe } from "../../utils/tableQueryParameters.js";
2
+ import { configureTableParameters as me, prepareTableProjection as de } from "../../utils/tableData.js";
3
+ import { shallowRef as ye, ref as r, watch as J, readonly as ve, computed as W, onBeforeUnmount as ge, provide as t, nextTick as Ce, toValue as pe } from "vue";
4
+ import be from "./useTableStorage.js";
5
+ import { setFilterParamsStringsKey as Te, selectedFilterTitlesKey as he, tableFiltersRefKey as Ke, filterModalVisibilityKey as Fe, resetFiltersKey as Se, applyFiltersKey as we, editTableColumnsModalVisibilityKey as xe, tableOptionsKey as Ae, editTableColumnVisibilityKey as Le, isTableCoumnsHiddenKey as Re, unselectAllTableColumnCheckboxesKey as je, selectAllTableColumnCheckboxesKey as Ve, handleColumnsChangedKey as Me, handleColumnsApplyKey as ke, tableRefKey as Pe } from "../../types/tableInjectKeys.js";
6
+ import { assertR3uiTableInstance as X } from "../../types/tableInstance.js";
7
+ import { tableOperationStopped as m, waitForTableOperation as De } from "../../utils/tableOperation.js";
8
+ import { trackTableLoad as Ee } from "../../utils/tableLoad.js";
9
+ import { applyColumnVisibility as Ue } from "../../utils/tableAdapter.js";
10
+ import { restoreStoredTableColumns as He, normalizeStoredColumnLayout as Be } from "../../utils/tableColumnStorage.js";
11
+ const Ze = ({
12
+ localStorageKey: H = null,
13
+ getAjaxUrl: Z,
14
+ getAjaxResponse: $,
15
+ getColumns: O,
16
+ tableOptions: o,
17
+ initialFilters: B = () => ({
18
+ empty: "empty"
19
+ }),
20
+ initialFilterTitles: I = () => ({
21
+ empty: "empty"
22
+ }),
23
+ selectedQuickFilter: ee = null
24
+ }) => {
25
+ const d = ye(null), _ = r(0), b = r(""), T = r(""), y = r({}), c = r(!1);
26
+ let h = 0, K = 0;
27
+ J(
28
+ c,
29
+ () => {
30
+ h++;
31
+ },
32
+ { flush: "sync" }
33
+ );
34
+ function z() {
35
+ const e = h, l = K;
36
+ return () => {
37
+ e === h && l === K && (c.value = !1);
38
+ };
39
+ }
40
+ const F = r(!1);
41
+ let v;
42
+ const S = r(!1), u = r(B());
43
+ J(
44
+ u,
45
+ () => {
46
+ K++;
47
+ },
48
+ { deep: !0, flush: "sync" }
49
+ );
50
+ const f = r(!1), { setItemStorage: le, removeItemStorage: w, getItemStorage: te } = be(), g = () => H == null ? null : pe(H), ne = "[object Object]";
51
+ function oe() {
52
+ w(ne);
53
+ }
54
+ function C(e) {
55
+ const l = g();
56
+ return l ? (le(l, Be(e)), !0) : !1;
57
+ }
58
+ oe();
59
+ async function x() {
60
+ u.value = B(), y.value = {};
61
+ }
62
+ function se(e) {
63
+ return C(e);
64
+ }
65
+ const A = ve({
66
+ ...I()
67
+ });
68
+ function L(e, l) {
69
+ y.value[e] = l;
70
+ }
71
+ const ie = W(
72
+ () => Object.values(y.value).some(Boolean)
73
+ );
74
+ function R() {
75
+ _.value += 1;
76
+ }
77
+ async function ae(e, l, n) {
78
+ const s = o.value.ajaxURL;
79
+ if (s != null && typeof s != "string")
80
+ throw new TypeError("Некорректный URL загрузки таблицы");
81
+ return s && (e.options.ajaxURL = s), me(e, o.value.ajaxParams), e.options.columns = o.value.columns, de(
82
+ e,
83
+ () => e.setColumns(
84
+ o.value.columns
85
+ ),
86
+ () => n?.isCurrent() !== !1
87
+ ), re(e), s ? Ee(
88
+ e,
89
+ () => e.replaceData(s),
90
+ l,
91
+ n?.owner
92
+ ) : { status: "applied" };
93
+ }
94
+ function re(e) {
95
+ if (!e.hideColumn || !e.showColumn) {
96
+ R();
97
+ return;
98
+ }
99
+ for (const l of o.value.columns)
100
+ l.field !== void 0 && (l.visible === !1 ? e.hideColumn(l.field) : e.showColumn(l.field));
101
+ }
102
+ function ue(e) {
103
+ return C(e);
104
+ }
105
+ async function j(e, l) {
106
+ await Y(e, l);
107
+ }
108
+ async function Y(e, l) {
109
+ const n = o.value.paginationMode === "remote";
110
+ if (n) {
111
+ if (e == null) return { status: "superseded" };
112
+ X(e);
113
+ }
114
+ if (f.value || F.value || l?.signal.aborted)
115
+ return { status: l?.signal.aborted ? "cancelled" : "superseded" };
116
+ const s = l?.closeDialog ?? z(), a = new AbortController(), U = () => a.abort(l?.signal.reason);
117
+ l?.signal.addEventListener("abort", U, { once: !0 });
118
+ const i = () => !f.value && !a.signal.aborted && (l?.isCurrent() ?? !0);
119
+ if (!i())
120
+ return l?.signal.removeEventListener("abort", U), m({ signal: a.signal });
121
+ v = a, F.value = !0;
122
+ try {
123
+ const q = await De(
124
+ () => N({ isCurrent: i }),
125
+ { signal: a.signal, isCurrent: i }
126
+ );
127
+ if (q.status !== "applied") return q;
128
+ if (!i())
129
+ return m({ signal: a.signal, isCurrent: i });
130
+ if (await Ce(), !i())
131
+ return m({ signal: a.signal, isCurrent: i });
132
+ if (!n)
133
+ R();
134
+ else {
135
+ X(e);
136
+ const p = await ae(
137
+ e,
138
+ a.signal,
139
+ l
140
+ );
141
+ if (!i())
142
+ return m({
143
+ signal: a.signal,
144
+ isCurrent: i
145
+ });
146
+ if (p.status === "failed") throw p.error;
147
+ if (p.status !== "applied") return p;
148
+ }
149
+ return i() && s(), i() ? { status: "applied" } : m({ signal: a.signal, isCurrent: i });
150
+ } finally {
151
+ l?.signal.removeEventListener("abort", U), v === a && (v = void 0, F.value = !1);
152
+ }
153
+ }
154
+ function G(e) {
155
+ return C(e);
156
+ }
157
+ function ce() {
158
+ const e = {};
159
+ for (const [l, n] of Object.entries({
160
+ ...u.value
161
+ }))
162
+ n == null || n === "" || n === !1 || n?.length < 1 || Array.isArray(n) && (n[0] === null || n[0] === void 0 || n[0] === "") || (e[l] = n);
163
+ return e;
164
+ }
165
+ async function N(e) {
166
+ if (f.value) return;
167
+ const l = Z(), n = await $();
168
+ if (f.value || e?.isCurrent() === !1) return;
169
+ const s = Q();
170
+ o.value = {
171
+ ...o.value,
172
+ ajaxURL: l,
173
+ ajaxResponse: n,
174
+ columns: s,
175
+ ajaxParams: fe(
176
+ o.value.ajaxParams,
177
+ o.value.paginationSize
178
+ )
179
+ };
180
+ }
181
+ const V = W(
182
+ () => o.value.columns.some(
183
+ (e) => e.title && e.visible === !1
184
+ )
185
+ );
186
+ async function M(e, l) {
187
+ e.target.checked == !1 ? (b.value = l, T.value = "") : (T.value = l, b.value = "");
188
+ }
189
+ async function k() {
190
+ const e = g();
191
+ e && w(e), o.value.columns = Q();
192
+ }
193
+ function Q() {
194
+ const e = g(), l = O({
195
+ selectedQuickFilter: ee?.value
196
+ });
197
+ if (!e)
198
+ return l;
199
+ const n = te(e);
200
+ return n === null ? l : He(l, n);
201
+ }
202
+ async function P() {
203
+ const e = g();
204
+ e && w(e), o.value.columns.forEach((l) => {
205
+ l.visible = !1;
206
+ }), G(o.value.columns);
207
+ }
208
+ function D(e) {
209
+ const l = Ue(
210
+ e,
211
+ e.flatMap(
212
+ ({ field: n, visible: s }) => n !== void 0 && s !== void 0 ? [{ field: n, visible: s }] : []
213
+ ),
214
+ d.value?.getColumnLayout() ?? []
215
+ );
216
+ C(l), o.value.columns = l;
217
+ }
218
+ function E() {
219
+ }
220
+ return ge(() => {
221
+ f.value = !0, v?.abort();
222
+ }), t("setFilterParamsStrings", L), t(Te, L), t("selectedFilterTitles", A), t(he, A), t("tableFilters", u), t(Ke, u), t("filterModalVisibility", c), t(Fe, c), t("resetFilters", x), t(Se, x), t("applyFilters", j), t(we, j), t("editTableColumnsModalVisibility", S), t(xe, S), t("tableOptions", o), t(Ae, o), t("editTableColumnVisibility", M), t(Le, M), t("isTableCoumnsHidden", V), t(Re, V), t("unselectAllTableColumnCheckboxes", P), t(
223
+ je,
224
+ P
225
+ ), t("selectAllTableColumnCheckboxes", k), t(Ve, k), t("handleColumnsChanged", D), t(Me, D), t("handleColumnsApply", E), t(ke, E), t("table", d), t(Pe, d), {
226
+ selectAllTableColumnCheckboxes: k,
227
+ unselectAllTableColumnCheckboxes: P,
228
+ isTableCoumnsHidden: V,
229
+ editTableColumnVisibility: M,
230
+ fetchData: N,
231
+ onHideColumn: G,
232
+ getFilterData: ce,
233
+ applyFilters: j,
234
+ applyFiltersOperation: Y,
235
+ reRenderTable: R,
236
+ resetFilters: x,
237
+ onTableRowMoved: se,
238
+ onShowColumn: ue,
239
+ table: d,
240
+ tableKey: _,
241
+ columnHide: b,
242
+ columnShow: T,
243
+ selectedFilterTitles: A,
244
+ setFilterParamsStrings: L,
245
+ filterParamsStrings: y,
246
+ isSelectedFiltersVisible: ie,
247
+ filterModalVisibility: c,
248
+ captureFilterDialogClose: z,
249
+ editTableColumnsModalVisibility: S,
250
+ tableFilters: u,
251
+ tableOptions: o,
252
+ handleColumnsChanged: D,
253
+ handleColumnsApply: E
254
+ };
255
+ };
256
+ export {
257
+ Ze as default
258
+ };
@@ -0,0 +1,32 @@
1
+ function a(n) {
2
+ const e = localStorage.getItem(n);
3
+ if (!e) return {};
4
+ const r = JSON.parse(e);
5
+ if (!r || typeof r != "object" || Array.isArray(r))
6
+ throw new TypeError("r3ui.table.storage_invalid");
7
+ return r;
8
+ }
9
+ function l(n = {}) {
10
+ const e = n.KEY ?? "tables";
11
+ function r(t, o) {
12
+ const s = { ...a(e), [t]: o };
13
+ return localStorage.setItem(e, JSON.stringify(s)), !0;
14
+ }
15
+ function u(t) {
16
+ return t ? (localStorage.setItem(e, JSON.stringify(t)), !0) : !1;
17
+ }
18
+ function c(t) {
19
+ const o = a(e);
20
+ if (!Object.prototype.hasOwnProperty.call(o, t))
21
+ return !0;
22
+ const { [t]: s, ...f } = o;
23
+ return u(f), !0;
24
+ }
25
+ function i(t) {
26
+ return a(e)[t] ?? null;
27
+ }
28
+ return { setItemStorage: r, removeItemStorage: c, getItemStorage: i };
29
+ }
30
+ export {
31
+ l as default
32
+ };
@@ -0,0 +1,36 @@
1
+ const n = [
2
+ "create-object-access-request",
3
+ "cancel-own-object-access-request",
4
+ "decide-object-access-request"
5
+ ], r = [
6
+ { permission: "view-users", href: "/users" },
7
+ { permission: "view-organizations", href: "/organizations" },
8
+ {
9
+ permissions: n,
10
+ href: "/access-requests"
11
+ }
12
+ ], i = [
13
+ "sidebar-view-auth",
14
+ ...r.flatMap(
15
+ (e) => e.permissions ? [...e.permissions] : e.permission ? [e.permission] : []
16
+ )
17
+ ];
18
+ function o(e, s) {
19
+ return s.permissions?.length ? s.permissions.some(e) : s.permission ? e(s.permission) : !1;
20
+ }
21
+ function t(e) {
22
+ return i.some(e);
23
+ }
24
+ function a(e) {
25
+ return r.some(
26
+ (s) => o(e, s)
27
+ );
28
+ }
29
+ export {
30
+ n as ACCESS_REQUEST_ACTION_PERMISSIONS,
31
+ i as AUTH_SIDEBAR_EXTERNAL_LINK_PERMISSIONS,
32
+ r as AUTH_SIDEBAR_NAV_ITEMS,
33
+ t as canViewAuthSidebarExternalLink,
34
+ o as canViewAuthSidebarNavItem,
35
+ a as canViewAuthSidebarSection
36
+ };
@@ -0,0 +1,21 @@
1
+ const e = "/api/services/handbook/overpass/", i = (s) => ({
2
+ searchCountries: (t = {}) => s(`${e}countries`, {
3
+ method: "GET",
4
+ params: t
5
+ }),
6
+ getRegionsByCountry: (t) => s(`${e}countries/${t}/regions`, {
7
+ method: "GET"
8
+ }),
9
+ getDistrictsByRegion: (t) => s(`${e}regions/${t}/districts`, {
10
+ method: "GET"
11
+ }),
12
+ getLocalitiesByDistrict: (t) => s(`${e}districts/${t}/cities`, {
13
+ method: "GET"
14
+ }),
15
+ getStreetsByLocality: (t) => s(`${e}cities/${t}/streets`, {
16
+ method: "GET"
17
+ })
18
+ });
19
+ export {
20
+ i as createAddressService
21
+ };
@@ -0,0 +1,10 @@
1
+ const o = Symbol("expandAccordion"), e = Symbol("expandedAccordion"), n = Symbol("sidebarContentVisibility"), i = Symbol("toggleSidebar"), d = Symbol("showSpinner"), t = Symbol("hideSpinner"), c = Symbol("addToLocalStorage");
2
+ export {
3
+ c as addToLocalStorageKey,
4
+ o as expandAccordionKey,
5
+ e as expandedAccordionKey,
6
+ t as hideSpinnerKey,
7
+ d as showSpinnerKey,
8
+ n as sidebarContentVisibilityKey,
9
+ i as toggleSidebarKey
10
+ };