r3ui-lib 1.3.20 → 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 (321) 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.es.js +334 -35120
  321. package/package.json +7 -3
@@ -0,0 +1,537 @@
1
+ import m from "../vendor/moment/dist/moment.js";
2
+ import { render as g, h as k } from "vue";
3
+ import { scrollIntoView as h } from "../vendor/seamless-scroll-polyfill/lib/scrollIntoView.js";
4
+ const b = (t, e) => e.some((n) => t.includes(n)), M = (t, e) => e.every((n) => t.includes(n));
5
+ function w(t) {
6
+ return Array.isArray(t) ? t.map((e) => ({ id: e.id, label: e.name, all: e })) : [];
7
+ }
8
+ function D() {
9
+ setTimeout(() => {
10
+ const e = document.querySelectorAll(".not-valid")[0];
11
+ e && h(e, {
12
+ behavior: "smooth",
13
+ block: "center"
14
+ });
15
+ });
16
+ }
17
+ function O(t, e) {
18
+ const n = document.querySelector(t);
19
+ n && h(n, {
20
+ behavior: "smooth",
21
+ block: "center",
22
+ ...e
23
+ });
24
+ }
25
+ function A() {
26
+ return navigator?.language?.split("-")[0];
27
+ }
28
+ function p() {
29
+ return ["ru", "en", "es", "fr", "pt", "kk", "vi", "zh", "uz", "he"];
30
+ }
31
+ function E(t) {
32
+ return p().includes(t);
33
+ }
34
+ function N(t, e) {
35
+ let n;
36
+ return function(...r) {
37
+ n && clearTimeout(n), n = setTimeout(() => {
38
+ t(...r);
39
+ }, e);
40
+ };
41
+ }
42
+ function I(t, e) {
43
+ let n;
44
+ return function(...r) {
45
+ n || (t(...r), n = !0, setTimeout(() => n = !1, e));
46
+ };
47
+ }
48
+ function y(t) {
49
+ const e = {};
50
+ for (const [n, r] of Object.entries(t))
51
+ r && (e[n] = r);
52
+ return e;
53
+ }
54
+ function T(t) {
55
+ return t.map((e) => y(e));
56
+ }
57
+ function U(t) {
58
+ return t.reduce((e, n) => e + n, 0);
59
+ }
60
+ const x = () => ({ alias: "email" }), C = () => ({ regex: "^[0-9]{9,16}$" }), L = () => ({ regex: "^[0-9]{10,12}$" }), j = () => ({ mask: "999999999" }), R = () => ({ mask: "999-999-999 99" }), V = () => ({ mask: "9999 999999" });
61
+ function d(t) {
62
+ return typeof t != "string" ? !1 : m(t).isValid();
63
+ }
64
+ function q(t, e = {}) {
65
+ const { withTime: n = !1, locale: r = "ru" } = e;
66
+ if (!t || t.length === 0 || !d(t)) return "";
67
+ const o = new Date(t), u = o.getHours() >= 10 ? o.getHours() : `0${o.getHours()}`, c = o.getMinutes() >= 10 ? o.getMinutes() : `0${o.getMinutes()}`, i = o.getFullYear(), a = o.getMonth() + 1 >= 10 ? o.getMonth() + 1 : `0${o.getMonth() + 1}`, s = o.getDate() >= 10 ? o.getDate() : `0${o.getDate()}`;
68
+ return r === "ru" ? n ? `${s}.${a}.${i} ${u}:${c}` : `${s}.${a}.${i}` : n ? `${a}.${s}.${i} ${u}:${c}` : `${a}.${s}.${i}`;
69
+ }
70
+ function Z(t, e = {}) {
71
+ const { locale: n = "ru", currency: r = "RUB" } = e, o = {
72
+ ru: "ru-RU",
73
+ en: "en-US",
74
+ kz: "kk-KZ",
75
+ kk: "kk-KZ",
76
+ he: "he-IL"
77
+ }, c = {
78
+ style: "currency",
79
+ maximumSignificantDigits: 2,
80
+ currency: {
81
+ ru: "RUB",
82
+ en: "USD",
83
+ kz: "KZT",
84
+ kk: "KZT",
85
+ he: "ILS"
86
+ }[n] || r
87
+ };
88
+ return new Intl.NumberFormat(
89
+ o[n] || "en-US",
90
+ c
91
+ ).format(Number(t));
92
+ }
93
+ function v(t) {
94
+ return m(/* @__PURE__ */ new Date()).format(t);
95
+ }
96
+ function F(t, e) {
97
+ const n = new Date(t);
98
+ return n.setDate(n.getDate() + e), n;
99
+ }
100
+ function J(t, e) {
101
+ const n = new Date(t);
102
+ return n.setMonth(n.getMonth() + e), n;
103
+ }
104
+ function z(t, e) {
105
+ const n = new Date(t);
106
+ return n.setFullYear(n.getFullYear() + e), n;
107
+ }
108
+ function K(t, e, n, r) {
109
+ let o = Math.abs(t);
110
+ return o %= 100, o >= 5 && o <= 20 ? r : (o %= 10, o === 1 ? e : o >= 2 && o <= 4 ? n : r);
111
+ }
112
+ function B(t) {
113
+ return !t || t.length === 0 ? t : t[0].toUpperCase() + t.slice(1);
114
+ }
115
+ function Y(t) {
116
+ return t.replace(/\b\w/g, (e) => e.toUpperCase());
117
+ }
118
+ function H(t) {
119
+ return t.replace(/(?:^\w|[A-Z]|\b\w)/g, (e, n) => n === 0 ? e.toLowerCase() : e.toUpperCase()).replace(/\s+/g, "");
120
+ }
121
+ function P(t) {
122
+ return t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
123
+ }
124
+ function W(t) {
125
+ return t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1_$2").toLowerCase();
126
+ }
127
+ function _(t, e, n = "...") {
128
+ return t.length <= e ? t : t.substring(0, e) + n;
129
+ }
130
+ function G(t) {
131
+ let e = t.replace(/\D/g, "").slice(0, 8);
132
+ return e.length >= 5 ? `${e.slice(0, 2)}.${e.slice(2, 4)}.${e.slice(4)}` : e.length >= 3 ? `${e.slice(0, 2)}.${e.slice(2)}` : e;
133
+ }
134
+ function Q({
135
+ str: t,
136
+ limit: e = null
137
+ }) {
138
+ return !e || !t ? t : t.substring(0, e);
139
+ }
140
+ function X(t, e) {
141
+ let n = "";
142
+ for (const [r, o] of t.entries()) {
143
+ const u = t.length > r + 1 ? ", " : " ";
144
+ if (n += `${o.name}${u}`, n.length > e) {
145
+ let c = t.length - (r + 1);
146
+ const i = c > 0 ? `+${c}` : "";
147
+ n = `${n.substr(0, e)}...${i}`;
148
+ break;
149
+ }
150
+ }
151
+ return n;
152
+ }
153
+ function tt(t) {
154
+ return [...new Set(t)];
155
+ }
156
+ function et(t, e) {
157
+ return t.reduce((n, r) => {
158
+ const o = String(r[e]);
159
+ return n[o] = n[o] || [], n[o].push(r), n;
160
+ }, {});
161
+ }
162
+ function nt(t, e, n = "asc") {
163
+ return [...t].sort((r, o) => {
164
+ const u = r[e], c = o[e];
165
+ return u < c ? n === "asc" ? -1 : 1 : u > c ? n === "asc" ? 1 : -1 : 0;
166
+ });
167
+ }
168
+ function rt(t, e) {
169
+ const n = [];
170
+ for (let r = 0; r < t.length; r += e)
171
+ n.push(t.slice(r, r + e));
172
+ return n;
173
+ }
174
+ function ot(t) {
175
+ return typeof t == "object" && t !== null;
176
+ }
177
+ function l(t, e) {
178
+ if (t === null || typeof t != "object")
179
+ return t;
180
+ if (t instanceof Date)
181
+ return new Date(t.getTime());
182
+ if (e.has(t))
183
+ return e.get(t);
184
+ if (Array.isArray(t)) {
185
+ const r = [];
186
+ e.set(t, r);
187
+ for (const o of t)
188
+ r.push(l(o, e));
189
+ return r;
190
+ }
191
+ const n = {};
192
+ e.set(t, n);
193
+ for (const r of Object.keys(t)) {
194
+ const o = t[r];
195
+ o === void 0 || typeof o == "function" || (n[r] = l(o, e));
196
+ }
197
+ return n;
198
+ }
199
+ function f(t) {
200
+ return t === void 0 ? t : l(t, /* @__PURE__ */ new WeakMap());
201
+ }
202
+ function ct(t, e) {
203
+ return JSON.stringify(t) === JSON.stringify(e);
204
+ }
205
+ function ut(t, e) {
206
+ return t.sort().toString() === e.sort().toString();
207
+ }
208
+ function it(t, e) {
209
+ let n = t.length, r = e.length;
210
+ if (n !== r) return !1;
211
+ t.sort(), e.sort();
212
+ for (let o = 0; o < n; o++) if (t[o] !== e[o]) return !1;
213
+ return !0;
214
+ }
215
+ const st = (t) => {
216
+ const e = f(t), n = {};
217
+ for (const [r, o] of Object.entries(e)) {
218
+ const u = r.split(".");
219
+ let c = n;
220
+ for (const [a, s] of u.slice(0, -1).entries()) {
221
+ if (!c[s]) {
222
+ const $ = Number.isInteger(Number(u[+a + 1]));
223
+ c[s] = $ ? [] : {};
224
+ }
225
+ c = c[s];
226
+ }
227
+ const i = u.pop();
228
+ i && (c[i] = o);
229
+ }
230
+ return n;
231
+ }, S = (t) => {
232
+ let e = f(t), n = {};
233
+ for (const r in e) {
234
+ if (typeof e[r] != "object" || e[r] === null) {
235
+ n[r] = e[r];
236
+ continue;
237
+ }
238
+ const o = S(e[r]);
239
+ for (const u in o)
240
+ n[`${r}.${u}`] = o[u];
241
+ }
242
+ return n;
243
+ };
244
+ function at(t, e) {
245
+ const n = {};
246
+ return e.forEach((r) => {
247
+ r in t && (n[r] = t[r]);
248
+ }), n;
249
+ }
250
+ function lt(t, e) {
251
+ const n = { ...t };
252
+ return e.forEach((r) => {
253
+ delete n[r];
254
+ }), n;
255
+ }
256
+ function ft(t, e, n, r = !1) {
257
+ if (r)
258
+ return g(null, t), !0;
259
+ const o = k(e, n);
260
+ return g(o, t), !0;
261
+ }
262
+ function gt() {
263
+ const t = Date.now(), e = Math.floor(Math.random() * 9999);
264
+ return t + e;
265
+ }
266
+ function mt(t = "") {
267
+ return `${t}${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
268
+ }
269
+ function ht(t) {
270
+ throw new Error(`${t} is required.`);
271
+ }
272
+ function pt(t) {
273
+ return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t);
274
+ }
275
+ function yt(t) {
276
+ return /^[\+]?[1-9][\d]{0,15}$/.test(t.replace(/\D/g, ""));
277
+ }
278
+ function dt(t) {
279
+ try {
280
+ return new URL(t), !0;
281
+ } catch {
282
+ return !1;
283
+ }
284
+ }
285
+ function St(t, e) {
286
+ try {
287
+ localStorage.setItem(t, JSON.stringify(e));
288
+ } catch (n) {
289
+ console.error("Error saving to localStorage:", n);
290
+ }
291
+ }
292
+ function $t(t, e) {
293
+ try {
294
+ const n = localStorage.getItem(t);
295
+ return n ? JSON.parse(n) : e || null;
296
+ } catch (n) {
297
+ return console.error("Error reading from localStorage:", n), e || null;
298
+ }
299
+ }
300
+ function kt(t) {
301
+ try {
302
+ localStorage.removeItem(t);
303
+ } catch (e) {
304
+ console.error("Error removing from localStorage:", e);
305
+ }
306
+ }
307
+ function bt(t, e) {
308
+ try {
309
+ sessionStorage.setItem(t, JSON.stringify(e));
310
+ } catch (n) {
311
+ console.error("Error saving to sessionStorage:", n);
312
+ }
313
+ }
314
+ function Mt(t, e) {
315
+ try {
316
+ const n = sessionStorage.getItem(t);
317
+ return n ? JSON.parse(n) : e || null;
318
+ } catch (n) {
319
+ return console.error("Error reading from sessionStorage:", n), e || null;
320
+ }
321
+ }
322
+ function wt(t) {
323
+ try {
324
+ sessionStorage.removeItem(t);
325
+ } catch (e) {
326
+ console.error("Error removing from sessionStorage:", e);
327
+ }
328
+ }
329
+ function Dt(t) {
330
+ const e = /* @__PURE__ */ new Map();
331
+ return ((...n) => {
332
+ const r = JSON.stringify(n);
333
+ if (e.has(r))
334
+ return e.get(r);
335
+ const o = t(...n);
336
+ return e.set(r, o), o;
337
+ });
338
+ }
339
+ function Ot(t) {
340
+ let e = !1, n;
341
+ return ((...r) => (e || (e = !0, n = t(...r)), n));
342
+ }
343
+ function At(t, e, n) {
344
+ return Math.min(Math.max(t, e), n);
345
+ }
346
+ function Et(t, e, n) {
347
+ return t + (e - t) * n;
348
+ }
349
+ function Nt(t, e) {
350
+ return Math.floor(Math.random() * (e - t + 1)) + t;
351
+ }
352
+ function It(t, e) {
353
+ return Math.round(t * Math.pow(10, e)) / Math.pow(10, e);
354
+ }
355
+ function Tt(t, e) {
356
+ return t.includes(e);
357
+ }
358
+ function Ut(t, e) {
359
+ return e.some((n) => t.includes(n));
360
+ }
361
+ function xt(t, e) {
362
+ return !t || !e?.length ? !1 : Array.isArray(t) ? t.some((n) => e.includes(n)) : e.includes(t);
363
+ }
364
+ function Ct(t) {
365
+ if (typeof t == "string")
366
+ try {
367
+ return JSON.parse(t);
368
+ } catch {
369
+ return t;
370
+ }
371
+ return t;
372
+ }
373
+ const Vt = {
374
+ // Select options
375
+ prepareSelectOptions: w,
376
+ // Navigation & scrolling
377
+ scrollToError: D,
378
+ scrollToElement: O,
379
+ // Locale & i18n
380
+ getBrowserLocale: A,
381
+ getSupportedLocales: p,
382
+ isValidLocale: E,
383
+ // Utility functions
384
+ debounce: N,
385
+ throttle: I,
386
+ // Data processing
387
+ getValueFromObjectItem: y,
388
+ getValueFromArr: T,
389
+ sumOfArrayNumbers: U,
390
+ // Input masks
391
+ initEmailMask: x,
392
+ initPhoneMask: C,
393
+ initInnMask: L,
394
+ initKppMask: j,
395
+ initSnilsMask: R,
396
+ initPassportMask: V,
397
+ // Date & time
398
+ isValidDate: d,
399
+ formatDate: q,
400
+ formatMoney: Z,
401
+ getNowDate: v,
402
+ addDays: F,
403
+ addMonths: J,
404
+ addYears: z,
405
+ // String utilities
406
+ getDeclinationFromNumber: K,
407
+ firstToUppercase: B,
408
+ capitalize: Y,
409
+ camelCase: H,
410
+ kebabCase: P,
411
+ snakeCase: W,
412
+ truncate: _,
413
+ maskDate: G,
414
+ cutString: Q,
415
+ arrayToCutString: X,
416
+ // Array utilities
417
+ findOne: b,
418
+ findAll: M,
419
+ unique: tt,
420
+ groupBy: et,
421
+ sortBy: nt,
422
+ chunk: rt,
423
+ // Object utilities
424
+ isObject: ot,
425
+ getDeepCopyObject: f,
426
+ isEqual: ct,
427
+ isArraysEqual: ut,
428
+ areArraysEqual: it,
429
+ unflatenObject: st,
430
+ flattenObject: S,
431
+ pick: at,
432
+ omit: lt,
433
+ // Component utilities
434
+ mountSubFilter: ft,
435
+ // Identifiers & validation
436
+ getUniqueKey: gt,
437
+ generateId: mt,
438
+ required: ht,
439
+ isValidEmail: pt,
440
+ isValidPhone: yt,
441
+ isValidUrl: dt,
442
+ // Storage utilities
443
+ setLocalStorage: St,
444
+ getLocalStorage: $t,
445
+ removeLocalStorage: kt,
446
+ setSessionStorage: bt,
447
+ getSessionStorage: Mt,
448
+ removeSessionStorage: wt,
449
+ // Performance utilities
450
+ memoize: Dt,
451
+ once: Ot,
452
+ // Math utilities
453
+ clamp: At,
454
+ lerp: Et,
455
+ random: Nt,
456
+ roundToDecimals: It,
457
+ // Roles & permissions
458
+ hasRole: Tt,
459
+ hasMatch: Ut,
460
+ hasPermission: xt,
461
+ prepareResponse: Ct
462
+ };
463
+ export {
464
+ F as addDays,
465
+ J as addMonths,
466
+ z as addYears,
467
+ it as areArraysEqual,
468
+ X as arrayToCutString,
469
+ H as camelCase,
470
+ Y as capitalize,
471
+ rt as chunk,
472
+ At as clamp,
473
+ Q as cutString,
474
+ N as debounce,
475
+ Vt as default,
476
+ M as findAll,
477
+ b as findOne,
478
+ B as firstToUppercase,
479
+ S as flattenObject,
480
+ q as formatDate,
481
+ Z as formatMoney,
482
+ mt as generateId,
483
+ A as getBrowserLocale,
484
+ K as getDeclinationFromNumber,
485
+ f as getDeepCopyObject,
486
+ $t as getLocalStorage,
487
+ v as getNowDate,
488
+ Mt as getSessionStorage,
489
+ p as getSupportedLocales,
490
+ gt as getUniqueKey,
491
+ T as getValueFromArr,
492
+ y as getValueFromObjectItem,
493
+ et as groupBy,
494
+ Ut as hasMatch,
495
+ xt as hasPermission,
496
+ Tt as hasRole,
497
+ x as initEmailMask,
498
+ L as initInnMask,
499
+ j as initKppMask,
500
+ V as initPassportMask,
501
+ C as initPhoneMask,
502
+ R as initSnilsMask,
503
+ ut as isArraysEqual,
504
+ ct as isEqual,
505
+ ot as isObject,
506
+ d as isValidDate,
507
+ pt as isValidEmail,
508
+ E as isValidLocale,
509
+ yt as isValidPhone,
510
+ dt as isValidUrl,
511
+ P as kebabCase,
512
+ Et as lerp,
513
+ G as maskDate,
514
+ Dt as memoize,
515
+ ft as mountSubFilter,
516
+ lt as omit,
517
+ Ot as once,
518
+ at as pick,
519
+ Ct as prepareResponse,
520
+ w as prepareSelectOptions,
521
+ Nt as random,
522
+ kt as removeLocalStorage,
523
+ wt as removeSessionStorage,
524
+ ht as required,
525
+ It as roundToDecimals,
526
+ O as scrollToElement,
527
+ D as scrollToError,
528
+ St as setLocalStorage,
529
+ bt as setSessionStorage,
530
+ W as snakeCase,
531
+ nt as sortBy,
532
+ U as sumOfArrayNumbers,
533
+ I as throttle,
534
+ _ as truncate,
535
+ st as unflatenObject,
536
+ tt as unique
537
+ };
@@ -0,0 +1,50 @@
1
+ const a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";
2
+ function c() {
3
+ const e = globalThis.crypto;
4
+ if (!e)
5
+ throw new Error("Web Crypto API is not available.");
6
+ if (!e.getRandomValues)
7
+ throw new Error("Web Crypto getRandomValues is not available.");
8
+ if (!e.subtle?.digest)
9
+ throw new Error("Web Crypto subtle digest is not available.");
10
+ return e;
11
+ }
12
+ function i(e) {
13
+ const t = c(), r = new Uint8Array(e);
14
+ t.getRandomValues(r);
15
+ let n = "";
16
+ return r.forEach((o) => {
17
+ n += a[o % a.length];
18
+ }), n;
19
+ }
20
+ function s(e) {
21
+ const t = new Uint8Array(e);
22
+ let r = "";
23
+ return t.forEach((n) => {
24
+ r += String.fromCharCode(n);
25
+ }), btoa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
26
+ }
27
+ function u(e = 64) {
28
+ if (!Number.isInteger(e) || e < 43 || e > 128)
29
+ throw new Error("PKCE code_verifier length must be between 43 and 128.");
30
+ return i(e);
31
+ }
32
+ async function b(e) {
33
+ const t = c(), n = new TextEncoder().encode(e), o = await t.subtle.digest("SHA-256", n);
34
+ return s(o);
35
+ }
36
+ async function d(e = 64) {
37
+ const t = u(e), r = await b(t);
38
+ return { codeVerifier: t, codeChallenge: r };
39
+ }
40
+ function l(e = 32) {
41
+ if (!Number.isInteger(e) || e < 16 || e > 128)
42
+ throw new Error("OAuth state length must be between 16 and 128.");
43
+ return i(e);
44
+ }
45
+ export {
46
+ b as generateCodeChallenge,
47
+ u as generateCodeVerifier,
48
+ d as generatePkcePair,
49
+ l as generateState
50
+ };
@@ -0,0 +1,59 @@
1
+ function l(i) {
2
+ return i.map((e) => {
3
+ const t = JSON.parse(JSON.stringify(e));
4
+ return e.visible === !1 && (delete t.width, delete t.minWidth), t;
5
+ });
6
+ }
7
+ function r(i) {
8
+ return i.filter((e) => e.visible === !0);
9
+ }
10
+ function s(i, e) {
11
+ return i.map(
12
+ (t) => t.field === e ? { ...t, visible: !t.visible } : t
13
+ );
14
+ }
15
+ function a(i) {
16
+ return i.map((e) => ({
17
+ ...e,
18
+ visible: e.title ? !0 : e.visible
19
+ }));
20
+ }
21
+ function o(i) {
22
+ return i.map((e) => ({
23
+ ...e,
24
+ visible: e.title ? !1 : e.visible
25
+ }));
26
+ }
27
+ function u(i) {
28
+ if (!Array.isArray(i))
29
+ return console.warn("validateColumns: columns must be an array"), !1;
30
+ for (const e of i) {
31
+ if (!e.field || typeof e.field != "string")
32
+ return console.warn("validateColumns: column.field must be a non-empty string", e), !1;
33
+ if (typeof e.visible != "boolean")
34
+ return console.warn("validateColumns: column.visible must be a boolean", e), !1;
35
+ }
36
+ return !0;
37
+ }
38
+ function f(i) {
39
+ return i.some((e) => e.title && !e.visible);
40
+ }
41
+ function d(i, e) {
42
+ return i.find((t) => t.field === e);
43
+ }
44
+ function b(i, e, t) {
45
+ return i.map(
46
+ (n) => n.field === e ? { ...n, ...t } : n
47
+ );
48
+ }
49
+ export {
50
+ d as getColumnByField,
51
+ r as getVisibleColumns,
52
+ f as hasHiddenColumns,
53
+ o as hideAllColumns,
54
+ l as prepareColumnsToSave,
55
+ a as resetColumnsToDefault,
56
+ s as toggleColumnVisibility,
57
+ b as updateColumn,
58
+ u as validateColumns
59
+ };