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,52 @@
1
+ import { ref as a, computed as r } from "vue";
2
+ function w(i = {}) {
3
+ const {
4
+ placeholder: p = "Поиск...",
5
+ searchHint: g = "Введите минимум 3 символа",
6
+ searchTypes: h = [
7
+ { value: "partial", label: "По частичному совпадению" },
8
+ { value: "exact", label: "По полному совпадению" }
9
+ ],
10
+ defaultSearchType: u = "partial",
11
+ minSearchLength: s = 3
12
+ } = i, t = a(""), o = a([]), l = a(!1), S = a(u), n = a(!1), c = a(!1), v = r(() => t.value && t.value.length > 0 && t.value.length < s ? `Введите минимум ${s} символа` : g), d = r(() => h);
13
+ return {
14
+ // State
15
+ search: t,
16
+ options: o,
17
+ isSearchLoading: l,
18
+ searchType: S,
19
+ showSettings: n,
20
+ isLoading: c,
21
+ // Computed
22
+ enterCharacterMessage: v,
23
+ filteredSearchTypes: d,
24
+ // Methods
25
+ onSearch: (e) => {
26
+ t.value = e || "", e && e.length >= s;
27
+ },
28
+ onSelect: (e) => {
29
+ },
30
+ clearSearch: () => {
31
+ t.value = "", o.value = [];
32
+ },
33
+ toggleSettings: () => {
34
+ n.value = !n.value;
35
+ },
36
+ hideSettings: () => {
37
+ n.value = !1;
38
+ },
39
+ setOptions: (e) => {
40
+ o.value = e;
41
+ },
42
+ setLoading: (e) => {
43
+ l.value = e;
44
+ },
45
+ setGlobalLoading: (e) => {
46
+ c.value = e;
47
+ }
48
+ };
49
+ }
50
+ export {
51
+ w as useSearchForm
52
+ };
@@ -0,0 +1,84 @@
1
+ import { getCurrentScope as V, shallowRef as D, ref as h, getCurrentInstance as U, computed as T, watch as P, toValue as E, onMounted as q, onActivated as B, onDeactivated as O, onScopeDispose as W, readonly as x } from "vue";
2
+ import { equalTableValue as A, cloneTableValue as I } from "../../utils/tableSnapshotValue.js";
3
+ function j(s) {
4
+ if (!V())
5
+ throw new Error("useUnsavedChanges требует активный Vue scope");
6
+ if (typeof s?.getSnapshot != "function")
7
+ throw new TypeError("useUnsavedChanges: getSnapshot должен быть функцией");
8
+ const a = D(null), f = h(!1), n = h(!0), m = U(), w = h(!m), u = () => E(s.enabled ?? !0), l = () => E(s.isPersisting ?? !1), c = T(
9
+ () => a.value !== null && !A(s.getSnapshot(), a.value.snapshot)
10
+ );
11
+ let i = !1, r;
12
+ function g(e) {
13
+ const o = r;
14
+ r = void 0, f.value = !1, o?.(e);
15
+ }
16
+ function t() {
17
+ g(!1);
18
+ }
19
+ function L(...e) {
20
+ if (i) throw new Error("Отслеживание формы уже завершено");
21
+ const o = I(
22
+ e.length ? e[0] : s.getSnapshot()
23
+ );
24
+ a.value = { snapshot: o };
25
+ }
26
+ function b() {
27
+ t(), a.value = null;
28
+ }
29
+ function S() {
30
+ const e = r;
31
+ if (r = void 0, e?.(!1), i || !n.value)
32
+ return t(), Promise.resolve(!1);
33
+ if (!u())
34
+ return t(), Promise.resolve(!0);
35
+ if (l())
36
+ return t(), Promise.resolve(!1);
37
+ if (!c.value)
38
+ return t(), Promise.resolve(!0);
39
+ const o = new Promise((p) => {
40
+ r = p;
41
+ });
42
+ return f.value = !0, o;
43
+ }
44
+ function C() {
45
+ r && g(!i && n.value && u() && !l());
46
+ }
47
+ P(
48
+ [u, l, n],
49
+ ([e, o, p]) => {
50
+ (!e || o || !p) && t();
51
+ },
52
+ { flush: "sync" }
53
+ );
54
+ const y = () => w.value && n.value && u() && (l() || c.value), v = typeof window > "u" ? void 0 : window;
55
+ function d(e) {
56
+ y() && (e.preventDefault(), e.returnValue = "");
57
+ }
58
+ return P(
59
+ y,
60
+ (e) => {
61
+ e ? v?.addEventListener("beforeunload", d) : v?.removeEventListener("beforeunload", d);
62
+ },
63
+ { immediate: !0, flush: "sync" }
64
+ ), m && (q(() => {
65
+ w.value = !0;
66
+ }), B(() => {
67
+ n.value = !0;
68
+ }), O(() => {
69
+ n.value = !1;
70
+ })), W(() => {
71
+ i = !0, n.value = !1, b(), v?.removeEventListener("beforeunload", d);
72
+ }), {
73
+ isDirty: c,
74
+ confirmationOpen: x(f),
75
+ captureBaseline: L,
76
+ clearBaseline: b,
77
+ requestLeave: S,
78
+ confirmLeave: C,
79
+ cancelLeave: t
80
+ };
81
+ }
82
+ export {
83
+ j as useUnsavedChanges
84
+ };
@@ -0,0 +1,32 @@
1
+ import { inject as n } from "vue";
2
+ import { expandAccordionKey as e, expandedAccordionKey as i, addToLocalStorageKey as o, hideSpinnerKey as r, showSpinnerKey as t, sidebarContentVisibilityKey as c, toggleSidebarKey as d } from "../../types/layoutInjectKeys.js";
3
+ function a() {
4
+ return n(e, null) ?? n("expandAccordion");
5
+ }
6
+ function p() {
7
+ return n(i, null) ?? n("expandedAccordion");
8
+ }
9
+ function S() {
10
+ return n(c, null) ?? n("sidebarContentVisibility");
11
+ }
12
+ function y() {
13
+ return n(d, null) ?? n("toggleSidebar");
14
+ }
15
+ function b() {
16
+ return n(t, null) ?? n("showSpinner");
17
+ }
18
+ function f() {
19
+ return n(r, null) ?? n("hideSpinner");
20
+ }
21
+ function g() {
22
+ return n(o, null) ?? n("addToLocalStorage");
23
+ }
24
+ export {
25
+ g as injectAddToLocalStorage,
26
+ a as injectExpandAccordion,
27
+ p as injectExpandedAccordion,
28
+ f as injectHideSpinner,
29
+ b as injectShowSpinner,
30
+ S as injectSidebarContentVisibility,
31
+ y as injectToggleSidebar
32
+ };
@@ -0,0 +1,75 @@
1
+ import { ref as S, computed as B, onMounted as w } from "vue";
2
+ const N = (i = {}) => {
3
+ const {
4
+ navigate: l = (e) => console.warn("useBreadcrumbs: navigate function not provided"),
5
+ translate: f = (e) => e,
6
+ getCurrentRoute: m = () => ({ path: "/", name: "home" }),
7
+ maxItems: o = 5,
8
+ storageKey: n = "breadcrumbs"
9
+ } = i, t = S([]);
10
+ function p(e) {
11
+ l(e);
12
+ }
13
+ function u(e, r) {
14
+ if (!Array.isArray(e)) return [];
15
+ const a = JSON.parse(JSON.stringify(e));
16
+ return a.length > r && a.splice(0, a.length - r), a;
17
+ }
18
+ function d() {
19
+ const e = m();
20
+ if (typeof e.path != "string" || !e.path)
21
+ throw new TypeError("useBreadcrumbs: path обязателен");
22
+ if (typeof e.name != "string" || !e.name)
23
+ throw new TypeError("useBreadcrumbs: name обязателен");
24
+ return { path: e.path, name: e.name };
25
+ }
26
+ function g() {
27
+ const e = localStorage.getItem(n);
28
+ if (e === null || e === "") return [];
29
+ let r;
30
+ try {
31
+ r = JSON.parse(e);
32
+ } catch {
33
+ throw new TypeError("useBreadcrumbs: невалидный JSON в storage");
34
+ }
35
+ if (!Array.isArray(r))
36
+ throw new TypeError("useBreadcrumbs: storage должен быть массивом");
37
+ return r;
38
+ }
39
+ function s() {
40
+ const e = d(), r = t.value || [], a = r[r.length - 1];
41
+ if (JSON.stringify(a) === JSON.stringify(e)) return !1;
42
+ r.push(e), t.value = u(r, o), localStorage.setItem(n, JSON.stringify(t.value));
43
+ }
44
+ function c() {
45
+ t.value = g(), s();
46
+ }
47
+ const h = B(() => t.value.map((e, r) => ({
48
+ text: f(`routes.${e.name}`),
49
+ href: e.path,
50
+ isActive: r === t.value.length - 1
51
+ })));
52
+ function y() {
53
+ s();
54
+ }
55
+ function v() {
56
+ t.value = [], localStorage.removeItem(n);
57
+ }
58
+ function b(e) {
59
+ const r = t.value || [];
60
+ r.push(e), t.value = u(r, o), localStorage.setItem(n, JSON.stringify(t.value));
61
+ }
62
+ return typeof localStorage < "u" && c(), w(() => {
63
+ t.value.length === 0 && typeof localStorage < "u" && c();
64
+ }), {
65
+ goTo: p,
66
+ crumbs: h,
67
+ breadcrumbs: t,
68
+ updateBreadcrumbs: y,
69
+ clearBreadcrumbs: v,
70
+ addBreadcrumb: b
71
+ };
72
+ };
73
+ export {
74
+ N as useBreadcrumbs
75
+ };
@@ -0,0 +1,38 @@
1
+ import { ref as n, provide as s, watch as f, onMounted as g, onBeforeUnmount as m } from "vue";
2
+ import { sidebarContentVisibilityKey as h, toggleSidebarKey as w } from "../../types/layoutInjectKeys.js";
3
+ const V = (b) => {
4
+ const e = n(!0), a = n(null), l = n(null), t = n(320), d = () => {
5
+ e.value = !1, t.value = 60, localStorage.setItem("sideBarVisibility", "0");
6
+ }, c = () => {
7
+ e.value = !0, t.value = 320, localStorage.setItem("sideBarVisibility", "1");
8
+ }, r = () => {
9
+ e.value ? d() : c();
10
+ }, v = () => {
11
+ localStorage.getItem("sideBarVisibility") === "0" ? d() : c();
12
+ }, i = () => {
13
+ setTimeout(() => {
14
+ const o = a.value?.offsetWidth || 0, u = t.value || 0;
15
+ if (o > 0 && u > 0) {
16
+ const S = window.innerWidth < 768;
17
+ l.value = S ? o : o - u - 20;
18
+ }
19
+ }, 50);
20
+ };
21
+ return s(h, e), s("sidebarContentVisibility", e), s(w, r), s("toggleSidebar", r), f(t, () => {
22
+ i();
23
+ }, { deep: !0 }), g(() => {
24
+ v(), i(), window.addEventListener("resize", i, !0);
25
+ }), m(() => {
26
+ window.removeEventListener("resize", i, !0);
27
+ }), {
28
+ isAuthenticated: b,
29
+ contentWidth: l,
30
+ clientWidth: a,
31
+ sidebarWidth: t,
32
+ toggleSidebar: r,
33
+ sidebarContentVisibility: e
34
+ };
35
+ };
36
+ export {
37
+ V as useMain
38
+ };
@@ -0,0 +1,15 @@
1
+ import { computed as o, toValue as t } from "vue";
2
+ import { hasPermission as u } from "../../utils/helpers.js";
3
+ function s(e) {
4
+ return e?.length ? e.map((r) => typeof r == "string" ? r : r?.name ?? "").filter((r) => !!r) : [];
5
+ }
6
+ function f(e) {
7
+ const r = o(() => {
8
+ const n = t(e);
9
+ return s(n);
10
+ });
11
+ return (n) => u(n, r.value);
12
+ }
13
+ export {
14
+ f as usePermissionChecker
15
+ };
@@ -0,0 +1,109 @@
1
+ import { useId as w, onMounted as E, onActivated as x, onDeactivated as S, watch as I, onScopeDispose as L } from "vue";
2
+ const m = /* @__PURE__ */ new WeakMap(), M = 'a[href], button, input, select, textarea, [tabindex], [contenteditable="true"]';
3
+ function b(n) {
4
+ const o = Array.from(
5
+ n.querySelectorAll(M)
6
+ ).filter(
7
+ (t) => t.tabIndex >= 0 && !t.matches(":disabled") && !t.closest('[inert], [hidden], [aria-hidden="true"]') && t.getClientRects().length > 0 && getComputedStyle(t).visibility !== "hidden"
8
+ ), c = /* @__PURE__ */ new Map();
9
+ for (const t of o) {
10
+ if (!(t instanceof HTMLInputElement) || t.type !== "radio" || !t.name)
11
+ continue;
12
+ let s = c.get(t.name);
13
+ s || (s = /* @__PURE__ */ new Map(), c.set(t.name, s)), (!s.has(t.form) || t.checked) && s.set(t.form, t);
14
+ }
15
+ return o.filter(
16
+ (t) => !(t instanceof HTMLInputElement) || t.type !== "radio" || !t.name ? !0 : c.get(t.name)?.get(t.form) === t
17
+ );
18
+ }
19
+ function v(n) {
20
+ const o = b(n.dialog);
21
+ (o.find((t) => t.hasAttribute("autofocus")) ?? o[0] ?? n.dialog).focus({ preventScroll: !0 });
22
+ }
23
+ function k(n) {
24
+ const o = [];
25
+ let c = "", t = "";
26
+ const s = () => o[o.length - 1], g = new MutationObserver(() => {
27
+ const e = s();
28
+ e && !e.root.contains(n.activeElement) && v(e);
29
+ });
30
+ function l() {
31
+ g.disconnect();
32
+ let e = 0;
33
+ o.forEach((i) => {
34
+ const a = i === s();
35
+ e = Math.max(i.baseZIndex, e + 2), i.root.style.zIndex = String(e), i.root.inert = !a, i.dialog.setAttribute("aria-modal", String(a));
36
+ });
37
+ const r = s();
38
+ r && g.observe(r.dialog, { childList: !0, subtree: !0 });
39
+ }
40
+ function u(e) {
41
+ const r = s();
42
+ if (!(!r || e.defaultPrevented || e.isComposing)) {
43
+ if (e.key === "Escape")
44
+ e.preventDefault(), e.stopPropagation(), r.close();
45
+ else if (e.key === "Tab") {
46
+ const i = b(r.dialog), a = i.indexOf(n.activeElement), h = e.shiftKey ? a <= 0 ? i.length - 1 : a - 1 : a < 0 || a === i.length - 1 ? 0 : a + 1;
47
+ e.preventDefault(), (i[h] ?? r.dialog).focus({ preventScroll: !0 });
48
+ }
49
+ }
50
+ }
51
+ function f(e) {
52
+ const r = s();
53
+ r && !r.root.contains(e.target) && v(r);
54
+ }
55
+ function d(e) {
56
+ o.length === 0 && (c = n.body.style.getPropertyValue("overflow"), t = n.body.style.getPropertyPriority("overflow"), n.body.style.setProperty("overflow", "hidden"), n.defaultView?.addEventListener("keydown", u), n.addEventListener("focusin", f)), o.push(e), l(), v(e);
57
+ }
58
+ function p(e) {
59
+ const r = o.indexOf(e);
60
+ if (r < 0) return;
61
+ const i = e === s();
62
+ o.splice(r, 1);
63
+ for (const y of o)
64
+ y.returnFocus && e.root.contains(y.returnFocus) && (y.returnFocus = e.returnFocus);
65
+ if (l(), o.length === 0 && (n.body.style.setProperty(
66
+ "overflow",
67
+ c,
68
+ t
69
+ ), n.defaultView?.removeEventListener("keydown", u), n.removeEventListener("focusin", f), m.delete(n)), !i) return;
70
+ const a = s(), h = e.returnFocus;
71
+ h?.isConnected && !h.closest("[inert], [hidden]") && (!a || a.root.contains(h)) && h.focus({ preventScroll: !0 }), a && !a.root.contains(n.activeElement) && v(a);
72
+ }
73
+ return { add: d, remove: p };
74
+ }
75
+ function A(n, o, c, t) {
76
+ const s = w();
77
+ let g = !0, l;
78
+ function u() {
79
+ const f = o.value, d = c.value;
80
+ if (!g || !n.value || !f || !d) {
81
+ l?.(), l = void 0;
82
+ return;
83
+ }
84
+ if (l) return;
85
+ const p = f.ownerDocument, e = m.get(p) ?? k(p);
86
+ if (m.set(p, e), !d.hasAttribute("aria-labelledby")) {
87
+ const i = d.querySelector(
88
+ "h1, h2, h3, h4, h5, h6"
89
+ );
90
+ i && (i.id || (i.id = s), d.setAttribute("aria-labelledby", i.id));
91
+ }
92
+ const r = {
93
+ root: f,
94
+ dialog: d,
95
+ close: t,
96
+ baseZIndex: Number.parseInt(getComputedStyle(f).zIndex, 10) || 999,
97
+ returnFocus: p.activeElement instanceof HTMLElement ? p.activeElement : null
98
+ };
99
+ l = () => e.remove(r), e.add(r);
100
+ }
101
+ E(u), x(() => {
102
+ g = !0, u();
103
+ }), S(() => {
104
+ g = !1, u(), n.value && t();
105
+ }), I([n, o, c], u, { flush: "sync" }), L(() => l?.());
106
+ }
107
+ export {
108
+ A as useModalLayer
109
+ };
@@ -0,0 +1,40 @@
1
+ import { ref as p, computed as s, provide as i, watch as a, onMounted as f } from "vue";
2
+ import { expandAccordionKey as v, expandedAccordionKey as x } from "../../types/layoutInjectKeys.js";
3
+ import { injectSidebarContentVisibility as A, injectToggleSidebar as h } from "../layout/useR3uiLayoutInject.js";
4
+ const S = (c) => {
5
+ const d = A(), u = h(), o = p({}), r = (n, e) => {
6
+ o.value[e] === n ? o.value[e] = null : o.value[e] = n;
7
+ }, l = s(() => c.value), t = () => {
8
+ if (o.value = {}, !d?.value)
9
+ return;
10
+ const n = (e) => {
11
+ e.childrens?.length && e.childrens.forEach(n), e.isActive && e.uniqueKey && r(e.uniqueKey, e.level);
12
+ };
13
+ c.value.forEach(n);
14
+ };
15
+ return i(v, r), i("expandAccordion", r), i(x, o), i("expandedAccordion", o), a(
16
+ c,
17
+ () => {
18
+ t();
19
+ },
20
+ { deep: !0 }
21
+ ), a(
22
+ () => d?.value,
23
+ () => {
24
+ t();
25
+ },
26
+ { deep: !0 }
27
+ ), f(() => {
28
+ t();
29
+ }), {
30
+ expandedAccordion: o,
31
+ expandAccordion: r,
32
+ sidebarLinks: c,
33
+ collapsedSidebarLinks: l,
34
+ toggleSidebar: u,
35
+ sidebarContentVisibility: d
36
+ };
37
+ };
38
+ export {
39
+ S as useSidebar
40
+ };
@@ -0,0 +1,62 @@
1
+ import { createTableOperation as h, tableOperationStopped as C } from "../../utils/tableOperation.js";
2
+ function q() {
3
+ let o, d, a = !1, i = !1;
4
+ function l(t = "superseded") {
5
+ d?.(t);
6
+ }
7
+ function b(t) {
8
+ l();
9
+ let r = "queued", c, f;
10
+ const p = new Promise((n, v) => {
11
+ c = n, f = v;
12
+ });
13
+ p.catch(() => {
14
+ });
15
+ const e = h({
16
+ ...t,
17
+ signal: t.signal,
18
+ signals: [t.external?.signal, ...t.signals ?? []],
19
+ isCurrent: () => !i && !a && o === u && (t.external?.isCurrent() ?? !0) && t.isCurrent()
20
+ });
21
+ function g() {
22
+ e.operation.signal.removeEventListener("abort", s), e.dispose();
23
+ }
24
+ function m(n) {
25
+ r !== "settled" && (r = "settled", g(), c(n));
26
+ }
27
+ function s() {
28
+ m(C(e.operation));
29
+ }
30
+ const u = {
31
+ operation: e.operation,
32
+ result: p,
33
+ get phase() {
34
+ return r;
35
+ },
36
+ start() {
37
+ return r !== "queued" ? !1 : e.operation.isCurrent() ? (r = "running", !0) : (s(), !1);
38
+ },
39
+ finish: m,
40
+ fail(n) {
41
+ r !== "settled" && (r = "settled", g(), f(n));
42
+ }
43
+ };
44
+ return o = u, d = e.abort, e.operation.signal.addEventListener("abort", s, { once: !0 }), i || a ? e.abort("cancelled") : e.operation.signal.aborted && s(), u;
45
+ }
46
+ return {
47
+ schedule: b,
48
+ invalidate: l,
49
+ pause() {
50
+ a = !0, l("cancelled");
51
+ },
52
+ resume() {
53
+ i || (a = !1);
54
+ },
55
+ dispose() {
56
+ i = !0, l("cancelled");
57
+ }
58
+ };
59
+ }
60
+ export {
61
+ q as createTableCommandScheduler
62
+ };