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.
- package/dist/login.es.js +14 -3148
- package/dist/modules/_virtual/___vite-browser-external.js +6 -0
- package/dist/modules/_virtual/__vite-browser-external.js +4 -0
- package/dist/modules/_virtual/_commonjsHelpers.js +33 -0
- package/dist/modules/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/modules/_virtual/he.js +5 -0
- package/dist/modules/_virtual/he2.js +4 -0
- package/dist/modules/_virtual/index.js +7 -0
- package/dist/modules/_virtual/inputmask.js +7 -0
- package/dist/modules/_virtual/inputmask2.js +4 -0
- package/dist/modules/_virtual/ru.js +5 -0
- package/dist/modules/_virtual/ru2.js +4 -0
- package/dist/modules/assets/img/confirmation.png.js +4 -0
- package/dist/modules/assets/img/error.png.js +4 -0
- package/dist/modules/assets/img/preloader.gif.js +4 -0
- package/dist/modules/assets/img/regagro_logo.svg.js +4 -0
- package/dist/modules/assets/img/success.png.js +4 -0
- package/dist/modules/assets/img/warning.png.js +4 -0
- package/dist/modules/components/DefaultButton.vue.js +112 -0
- package/dist/modules/components/Divider.vue.js +33 -0
- package/dist/modules/components/Icon.vue.js +18 -0
- package/dist/modules/components/Slider.vue.js +7 -0
- package/dist/modules/components/Slider.vue2.js +127 -0
- package/dist/modules/components/Spinner.vue.js +19 -0
- package/dist/modules/components/SsoLoginPending.vue.js +7 -0
- package/dist/modules/components/SsoLoginPending.vue2.js +44 -0
- package/dist/modules/components/SsoLoginScreen.vue.js +57 -0
- package/dist/modules/components/SsoLoginScreen.vue2.js +4 -0
- package/dist/modules/components/accordions/DefaultAccordion.vue.js +7 -0
- package/dist/modules/components/accordions/DefaultAccordion.vue2.js +72 -0
- package/dist/modules/components/accordions/KindCheckboxesAccordion.vue.js +7 -0
- package/dist/modules/components/accordions/KindCheckboxesAccordion.vue2.js +152 -0
- package/dist/modules/components/buttons/AddButton.vue.js +7 -0
- package/dist/modules/components/buttons/AddButton.vue2.js +30 -0
- package/dist/modules/components/buttons/ClearFormButton.vue.js +7 -0
- package/dist/modules/components/buttons/ClearFormButton.vue2.js +28 -0
- package/dist/modules/components/buttons/CollapseButton.vue.js +7 -0
- package/dist/modules/components/buttons/CollapseButton.vue2.js +57 -0
- package/dist/modules/components/buttons/ExportButton.vue.js +7 -0
- package/dist/modules/components/buttons/ExportButton.vue2.js +28 -0
- package/dist/modules/components/buttons/PrintButton.vue.js +7 -0
- package/dist/modules/components/buttons/PrintButton.vue2.js +27 -0
- package/dist/modules/components/buttons/ToggleButtons.vue.js +7 -0
- package/dist/modules/components/buttons/ToggleButtons.vue2.js +30 -0
- package/dist/modules/components/cards/CardInfo.vue.js +7 -0
- package/dist/modules/components/cards/CardInfo.vue2.js +56 -0
- package/dist/modules/components/cards/PageCard.vue.js +7 -0
- package/dist/modules/components/cards/PageCard.vue2.js +117 -0
- package/dist/modules/components/dropdowns/DefaultDropDown.vue.js +102 -0
- package/dist/modules/components/export/ExportComponent.vue.js +7 -0
- package/dist/modules/components/export/ExportComponent.vue2.js +74 -0
- package/dist/modules/components/filters/MultipleQuickFilterComponent.vue.js +7 -0
- package/dist/modules/components/filters/MultipleQuickFilterComponent.vue2.js +34 -0
- package/dist/modules/components/form/Checkbox.vue.js +66 -0
- package/dist/modules/components/form/CustomInput.vue.js +161 -0
- package/dist/modules/components/form/FormError.vue.js +24 -0
- package/dist/modules/components/form/PasswordInput.vue.js +82 -0
- package/dist/modules/components/form/VSelect.vue.js +192 -0
- package/dist/modules/components/form/useWithPopper.js +29 -0
- package/dist/modules/components/forms/AddressForm.vue.js +7 -0
- package/dist/modules/components/forms/AddressForm.vue2.js +382 -0
- package/dist/modules/components/forms/AgeFromAgeTo.vue.js +7 -0
- package/dist/modules/components/forms/AgeFromAgeTo.vue2.js +207 -0
- package/dist/modules/components/forms/BooleanCheckbox.vue.js +7 -0
- package/dist/modules/components/forms/BooleanCheckbox.vue2.js +54 -0
- package/dist/modules/components/forms/Flatpickr.vue.js +7 -0
- package/dist/modules/components/forms/Flatpickr.vue2.js +273 -0
- package/dist/modules/components/forms/HeaderSearchForm.vue.js +7 -0
- package/dist/modules/components/forms/HeaderSearchForm.vue2.js +142 -0
- package/dist/modules/components/forms/MultiCheckbox.vue.js +7 -0
- package/dist/modules/components/forms/MultiCheckbox.vue2.js +64 -0
- package/dist/modules/components/forms/MultiInput.vue.js +7 -0
- package/dist/modules/components/forms/MultiInput.vue2.js +115 -0
- package/dist/modules/components/icons/QuestionIcon.vue.js +7 -0
- package/dist/modules/components/icons/QuestionIcon.vue2.js +56 -0
- package/dist/modules/components/layout/Breadcrumbs.vue.js +7 -0
- package/dist/modules/components/layout/Breadcrumbs.vue2.js +40 -0
- package/dist/modules/components/layout/Card.vue.js +31 -0
- package/dist/modules/components/layout/Footer.vue.js +15 -0
- package/dist/modules/components/layout/Footer.vue2.js +4 -0
- package/dist/modules/components/layout/Header.vue.js +7 -0
- package/dist/modules/components/layout/Header.vue2.js +68 -0
- package/dist/modules/components/layout/LanguageSelector.vue.js +32 -0
- package/dist/modules/components/layout/LanguageSelector.vue3.js +5 -0
- package/dist/modules/components/layout/LoginLayoutFrame.vue.js +48 -0
- package/dist/modules/components/layout/LoginLayoutFrame.vue2.js +4 -0
- package/dist/modules/components/layout/MainComponent.vue.js +50 -0
- package/dist/modules/components/layout/MainComponent.vue2.js +4 -0
- package/dist/modules/components/layout/PageTitle.vue.js +7 -0
- package/dist/modules/components/layout/PageTitle.vue2.js +40 -0
- package/dist/modules/components/logo/Logo.vue.js +7 -0
- package/dist/modules/components/logo/Logo.vue2.js +50 -0
- package/dist/modules/components/modals/ConfirmationModal.vue.js +7 -0
- package/dist/modules/components/modals/ConfirmationModal.vue2.js +154 -0
- package/dist/modules/components/modals/DefaultModal.vue.js +116 -0
- package/dist/modules/components/modals/DefaultModal.vue3.js +5 -0
- package/dist/modules/components/modals/EditTableColumnsModalComponent.vue.js +7 -0
- package/dist/modules/components/modals/EditTableColumnsModalComponent.vue2.js +41 -0
- package/dist/modules/components/modals/TableFilterModalComponent.vue.js +7 -0
- package/dist/modules/components/modals/TableFilterModalComponent.vue2.js +66 -0
- package/dist/modules/components/modals/TableFilterModalShell.vue.js +89 -0
- package/dist/modules/components/modals/TableFilterModalShell.vue2.js +4 -0
- package/dist/modules/components/notifications/ErrorMessageComponent.vue.js +7 -0
- package/dist/modules/components/notifications/ErrorMessageComponent.vue2.js +45 -0
- package/dist/modules/components/notifications/NotificationMessage.vue.js +55 -0
- package/dist/modules/components/notifications/NotificationMessage.vue2.js +4 -0
- package/dist/modules/components/notifications/Toast.vue.js +71 -0
- package/dist/modules/components/sidebar/CollapsedSidebarLink.vue.js +7 -0
- package/dist/modules/components/sidebar/CollapsedSidebarLink.vue2.js +90 -0
- package/dist/modules/components/sidebar/Sidebar.vue.js +59 -0
- package/dist/modules/components/sidebar/Sidebar.vue3.js +5 -0
- package/dist/modules/components/sidebar/SidebarLink.vue.js +7 -0
- package/dist/modules/components/sidebar/SidebarLink.vue2.js +93 -0
- package/dist/modules/components/tables/ColumnSubFilter.vue.js +7 -0
- package/dist/modules/components/tables/ColumnSubFilter.vue2.js +36 -0
- package/dist/modules/components/tables/EditTableColumns.vue.js +7 -0
- package/dist/modules/components/tables/EditTableColumns.vue2.js +125 -0
- package/dist/modules/components/tables/ManagedRemoteTable.vue.js +72 -0
- package/dist/modules/components/tables/ManagedRemoteTable.vue2.js +4 -0
- package/dist/modules/components/tables/SubFilterToggleBtn.vue.js +28 -0
- package/dist/modules/components/tables/Table.vue.js +416 -0
- package/dist/modules/components/tables/Table.vue3.js +5 -0
- package/dist/modules/components/tables/TableAppliedFiltersStorage.vue.js +7 -0
- package/dist/modules/components/tables/TableAppliedFiltersStorage.vue2.js +56 -0
- package/dist/modules/components/tables/TableColumnsButton.vue.js +27 -0
- package/dist/modules/components/tables/TableColumnsButton.vue2.js +4 -0
- package/dist/modules/components/tables/TableColumnsDialog.vue.js +67 -0
- package/dist/modules/components/tables/TableColumnsDialog.vue2.js +4 -0
- package/dist/modules/components/tables/TableColumnsModal.vue.js +27 -0
- package/dist/modules/components/tables/TableColumnsModal.vue2.js +4 -0
- package/dist/modules/components/tables/TableCount.vue.js +7 -0
- package/dist/modules/components/tables/TableCount.vue2.js +26 -0
- package/dist/modules/components/tables/TableQuickFilterComponent.vue.js +7 -0
- package/dist/modules/components/tables/TableQuickFilterComponent.vue2.js +29 -0
- package/dist/modules/components/tables/ToggleAllTableRowButtons.vue.js +7 -0
- package/dist/modules/components/tables/ToggleAllTableRowButtons.vue2.js +41 -0
- package/dist/modules/components/utilities/FilterValuesPanel.vue.js +7 -0
- package/dist/modules/components/utilities/FilterValuesPanel.vue2.js +95 -0
- package/dist/modules/composables/forms/useAddressForm.js +289 -0
- package/dist/modules/composables/forms/useFieldError.js +23 -0
- package/dist/modules/composables/forms/useSearchForm.js +52 -0
- package/dist/modules/composables/forms/useUnsavedChanges.js +84 -0
- package/dist/modules/composables/layout/useR3uiLayoutInject.js +32 -0
- package/dist/modules/composables/main/useBreadcrumbs.js +75 -0
- package/dist/modules/composables/main/useMain.js +38 -0
- package/dist/modules/composables/main/usePermissionChecker.js +15 -0
- package/dist/modules/composables/modals/useModalLayer.js +109 -0
- package/dist/modules/composables/sidebar/useSidebar.js +40 -0
- package/dist/modules/composables/table/createTableCommandScheduler.js +62 -0
- package/dist/modules/composables/table/createTableLifecycle.js +719 -0
- package/dist/modules/composables/table/createTableRebuildTransaction.js +61 -0
- package/dist/modules/composables/table/createTableSession.js +38 -0
- package/dist/modules/composables/table/createTableState.js +122 -0
- package/dist/modules/composables/table/createTabulatorAdapter.js +90 -0
- package/dist/modules/composables/table/tableQueryTransitions.js +82 -0
- package/dist/modules/composables/table/useManagedRemoteTable.js +179 -0
- package/dist/modules/composables/table/useR3uiTableDefaultInject.js +27 -0
- package/dist/modules/composables/table/useRemoteTable.js +96 -0
- package/dist/modules/composables/table/useTableColumnApply.js +38 -0
- package/dist/modules/composables/table/useTableColumns.js +70 -0
- package/dist/modules/composables/table/useTableColumnsEnhanced.js +155 -0
- package/dist/modules/composables/table/useTableColumnsIntegration.js +82 -0
- package/dist/modules/composables/table/useTableDefault.js +258 -0
- package/dist/modules/composables/table/useTableStorage.js +32 -0
- package/dist/modules/constants/authSidebar.js +36 -0
- package/dist/modules/services/AddressService.js +21 -0
- package/dist/modules/types/layoutInjectKeys.js +10 -0
- package/dist/modules/types/tableInjectKeys.js +21 -0
- package/dist/modules/types/tableInstance.js +32 -0
- package/dist/modules/utils/accordionLocalization.js +14 -0
- package/dist/modules/utils/addressFormTranslations.js +29 -0
- package/dist/modules/utils/auth/authUser.js +13 -0
- package/dist/modules/utils/auth/exchangePasswordToken.js +52 -0
- package/dist/modules/utils/auth/handlePkceCallback.js +88 -0
- package/dist/modules/utils/auth/logout.js +32 -0
- package/dist/modules/utils/auth/runLogoutHandler.js +60 -0
- package/dist/modules/utils/auth/sessionController.js +28 -0
- package/dist/modules/utils/auth/signInWithSSO.js +141 -0
- package/dist/modules/utils/authCookie.js +21 -0
- package/dist/modules/utils/constants.js +34 -0
- package/dist/modules/utils/createTabulatorLangsFromT.js +30 -0
- package/dist/modules/utils/createTabulatorTableProps.js +19 -0
- package/dist/modules/utils/helpers.js +537 -0
- package/dist/modules/utils/pkce.js +50 -0
- package/dist/modules/utils/table-columns-utils.js +59 -0
- package/dist/modules/utils/tableAdapter.js +156 -0
- package/dist/modules/utils/tableAjaxRequest.js +82 -0
- package/dist/modules/utils/tableCancellation.js +271 -0
- package/dist/modules/utils/tableColumnStorage.js +55 -0
- package/dist/modules/utils/tableData.js +118 -0
- package/dist/modules/utils/tableLoad.js +67 -0
- package/dist/modules/utils/tableLocalizations.js +6 -0
- package/dist/modules/utils/tableOperation.js +63 -0
- package/dist/modules/utils/tableProjection.js +137 -0
- package/dist/modules/utils/tableQueryParameters.js +46 -0
- package/dist/modules/utils/tableSnapshotValue.js +73 -0
- package/dist/modules/utils/tabulatorQueryAdapter.js +203 -0
- package/dist/modules/utils/tabulatorRuntime.js +131 -0
- package/dist/modules/utils/upstreamHttpStatus.js +32 -0
- package/dist/modules/vendor/@popperjs/core/lib/createPopper.js +122 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/contains.js +18 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
- package/dist/modules/vendor/@popperjs/core/lib/enums.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/applyStyles.js +47 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/arrow.js +37 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/flip.js +74 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/hide.js +44 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/offset.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
- package/dist/modules/vendor/@popperjs/core/lib/popper.js +27 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/computeOffsets.js +54 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/debounce.js +13 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/detectOverflow.js +33 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getAltAxis.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getVariation.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/math.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/mergeByName.js +15 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/orderModifiers.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/userAgent.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/within.js +12 -0
- package/dist/modules/vendor/call-bind-apply-helpers/actualApply.js +14 -0
- package/dist/modules/vendor/call-bind-apply-helpers/functionApply.js +7 -0
- package/dist/modules/vendor/call-bind-apply-helpers/functionCall.js +7 -0
- package/dist/modules/vendor/call-bind-apply-helpers/index.js +18 -0
- package/dist/modules/vendor/call-bind-apply-helpers/reflectApply.js +7 -0
- package/dist/modules/vendor/call-bound/index.js +21 -0
- package/dist/modules/vendor/dompurify/dist/purify.es.js +1522 -0
- package/dist/modules/vendor/dunder-proto/get.js +29 -0
- package/dist/modules/vendor/es-define-property/index.js +16 -0
- package/dist/modules/vendor/es-errors/eval.js +7 -0
- package/dist/modules/vendor/es-errors/index.js +7 -0
- package/dist/modules/vendor/es-errors/range.js +7 -0
- package/dist/modules/vendor/es-errors/ref.js +7 -0
- package/dist/modules/vendor/es-errors/syntax.js +7 -0
- package/dist/modules/vendor/es-errors/type.js +7 -0
- package/dist/modules/vendor/es-errors/uri.js +7 -0
- package/dist/modules/vendor/es-object-atoms/index.js +7 -0
- package/dist/modules/vendor/flatpickr/dist/esm/index.js +942 -0
- package/dist/modules/vendor/flatpickr/dist/esm/l10n/default.js +75 -0
- package/dist/modules/vendor/flatpickr/dist/esm/types/options.js +80 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/dates.js +89 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/dom.js +45 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/formatting.js +170 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/index.js +23 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/polyfills.js +15 -0
- package/dist/modules/vendor/flatpickr/dist/l10n/he.js +56 -0
- package/dist/modules/vendor/flatpickr/dist/l10n/ru.js +73 -0
- package/dist/modules/vendor/function-bind/implementation.js +48 -0
- package/dist/modules/vendor/function-bind/index.js +11 -0
- package/dist/modules/vendor/get-intrinsic/index.js +265 -0
- package/dist/modules/vendor/get-proto/Object.getPrototypeOf.js +11 -0
- package/dist/modules/vendor/get-proto/Reflect.getPrototypeOf.js +7 -0
- package/dist/modules/vendor/get-proto/index.js +21 -0
- package/dist/modules/vendor/gopd/gOPD.js +7 -0
- package/dist/modules/vendor/gopd/index.js +17 -0
- package/dist/modules/vendor/has-symbols/index.js +13 -0
- package/dist/modules/vendor/has-symbols/shams.js +33 -0
- package/dist/modules/vendor/hasown/index.js +11 -0
- package/dist/modules/vendor/inputmask/dist/inputmask.js +3517 -0
- package/dist/modules/vendor/math-intrinsics/abs.js +7 -0
- package/dist/modules/vendor/math-intrinsics/floor.js +7 -0
- package/dist/modules/vendor/math-intrinsics/isNaN.js +9 -0
- package/dist/modules/vendor/math-intrinsics/max.js +7 -0
- package/dist/modules/vendor/math-intrinsics/min.js +7 -0
- package/dist/modules/vendor/math-intrinsics/pow.js +7 -0
- package/dist/modules/vendor/math-intrinsics/round.js +7 -0
- package/dist/modules/vendor/math-intrinsics/sign.js +13 -0
- package/dist/modules/vendor/moment/dist/moment.js +2589 -0
- package/dist/modules/vendor/nouislider/dist/nouislider.js +1064 -0
- package/dist/modules/vendor/object-inspect/index.js +376 -0
- package/dist/modules/vendor/qs/lib/formats.js +25 -0
- package/dist/modules/vendor/qs/lib/index.js +17 -0
- package/dist/modules/vendor/qs/lib/parse.js +161 -0
- package/dist/modules/vendor/qs/lib/stringify.js +197 -0
- package/dist/modules/vendor/qs/lib/utils.js +129 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/common.js +21 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-end-event.js +12 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-step.js +21 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll.js +58 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scrollIntoView.js +168 -0
- package/dist/modules/vendor/side-channel/index.js +35 -0
- package/dist/modules/vendor/side-channel-list/index.js +64 -0
- package/dist/modules/vendor/side-channel-map/index.js +40 -0
- package/dist/modules/vendor/side-channel-weakmap/index.js +43 -0
- package/dist/modules/vendor/tabulator-tables/dist/js/tabulator_esm.js +11127 -0
- package/dist/modules/vendor/vue-select/dist/vue-select.es.js +769 -0
- package/dist/r3ui-lib.es.js +334 -35120
- package/package.json +7 -3
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { commonjsGlobal as _t } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import te from "../../_virtual/___vite-browser-external.js";
|
|
3
|
+
var X, Et;
|
|
4
|
+
function ne() {
|
|
5
|
+
if (Et) return X;
|
|
6
|
+
Et = 1;
|
|
7
|
+
var R = typeof Map == "function" && Map.prototype, T = Object.getOwnPropertyDescriptor && R ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, $ = R && T && typeof T.get == "function" ? T.get : null, Y = R && Map.prototype.forEach, L = typeof Set == "function" && Set.prototype, k = Object.getOwnPropertyDescriptor && L ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, I = L && k && typeof k.get == "function" ? k.get : null, Z = L && Set.prototype.forEach, $t = typeof WeakMap == "function" && WeakMap.prototype, d = $t ? WeakMap.prototype.has : null, It = typeof WeakSet == "function" && WeakSet.prototype, O = It ? WeakSet.prototype.has : null, Wt = typeof WeakRef == "function" && WeakRef.prototype, x = Wt ? WeakRef.prototype.deref : null, Mt = Boolean.prototype.valueOf, qt = Object.prototype.toString, Rt = Function.prototype.toString, Tt = String.prototype.match, A = String.prototype.slice, c = String.prototype.replace, Lt = String.prototype.toUpperCase, b = String.prototype.toLowerCase, j = RegExp.prototype.test, tt = Array.prototype.concat, l = Array.prototype.join, kt = Array.prototype.slice, et = Math.floor, D = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, N = Object.getOwnPropertySymbols, C = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, S = typeof Symbol == "function" && typeof Symbol.iterator == "object", w = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === S || !0) ? Symbol.toStringTag : null, rt = Object.prototype.propertyIsEnumerable, nt = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
8
|
+
return t.__proto__;
|
|
9
|
+
} : null);
|
|
10
|
+
function at(t, e) {
|
|
11
|
+
if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || j.call(/e/, e))
|
|
12
|
+
return e;
|
|
13
|
+
var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
14
|
+
if (typeof t == "number") {
|
|
15
|
+
var a = t < 0 ? -et(-t) : et(t);
|
|
16
|
+
if (a !== t) {
|
|
17
|
+
var i = String(a), r = A.call(e, i.length + 1);
|
|
18
|
+
return c.call(i, n, "$&_") + "." + c.call(c.call(r, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return c.call(e, n, "$&_");
|
|
22
|
+
}
|
|
23
|
+
var B = te, it = B.custom, ot = ct(it) ? it : null, ut = {
|
|
24
|
+
__proto__: null,
|
|
25
|
+
double: '"',
|
|
26
|
+
single: "'"
|
|
27
|
+
}, At = {
|
|
28
|
+
__proto__: null,
|
|
29
|
+
double: /(["\\])/g,
|
|
30
|
+
single: /(['\\])/g
|
|
31
|
+
};
|
|
32
|
+
X = function t(e, n, a, i) {
|
|
33
|
+
var r = n || {};
|
|
34
|
+
if (f(r, "quoteStyle") && !f(ut, r.quoteStyle))
|
|
35
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
36
|
+
if (f(r, "maxStringLength") && (typeof r.maxStringLength == "number" ? r.maxStringLength < 0 && r.maxStringLength !== 1 / 0 : r.maxStringLength !== null))
|
|
37
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
38
|
+
var y = f(r, "customInspect") ? r.customInspect : !0;
|
|
39
|
+
if (typeof y != "boolean" && y !== "symbol")
|
|
40
|
+
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
41
|
+
if (f(r, "indent") && r.indent !== null && r.indent !== " " && !(parseInt(r.indent, 10) === r.indent && r.indent > 0))
|
|
42
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
43
|
+
if (f(r, "numericSeparator") && typeof r.numericSeparator != "boolean")
|
|
44
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
45
|
+
var v = r.numericSeparator;
|
|
46
|
+
if (typeof e > "u")
|
|
47
|
+
return "undefined";
|
|
48
|
+
if (e === null)
|
|
49
|
+
return "null";
|
|
50
|
+
if (typeof e == "boolean")
|
|
51
|
+
return e ? "true" : "false";
|
|
52
|
+
if (typeof e == "string")
|
|
53
|
+
return yt(e, r);
|
|
54
|
+
if (typeof e == "number") {
|
|
55
|
+
if (e === 0)
|
|
56
|
+
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
57
|
+
var o = String(e);
|
|
58
|
+
return v ? at(e, o) : o;
|
|
59
|
+
}
|
|
60
|
+
if (typeof e == "bigint") {
|
|
61
|
+
var s = String(e) + "n";
|
|
62
|
+
return v ? at(e, s) : s;
|
|
63
|
+
}
|
|
64
|
+
var H = typeof r.depth > "u" ? 5 : r.depth;
|
|
65
|
+
if (typeof a > "u" && (a = 0), a >= H && H > 0 && typeof e == "object")
|
|
66
|
+
return P(e) ? "[Array]" : "[Object]";
|
|
67
|
+
var h = xt(r, a);
|
|
68
|
+
if (typeof i > "u")
|
|
69
|
+
i = [];
|
|
70
|
+
else if (pt(i, e) >= 0)
|
|
71
|
+
return "[Circular]";
|
|
72
|
+
function u(m, q, jt) {
|
|
73
|
+
if (q && (i = kt.call(i), i.push(q)), jt) {
|
|
74
|
+
var wt = {
|
|
75
|
+
depth: r.depth
|
|
76
|
+
};
|
|
77
|
+
return f(r, "quoteStyle") && (wt.quoteStyle = r.quoteStyle), t(m, wt, a + 1, i);
|
|
78
|
+
}
|
|
79
|
+
return t(m, r, a + 1, i);
|
|
80
|
+
}
|
|
81
|
+
if (typeof e == "function" && !ft(e)) {
|
|
82
|
+
var gt = Vt(e), vt = W(e, u);
|
|
83
|
+
return "[Function" + (gt ? ": " + gt : " (anonymous)") + "]" + (vt.length > 0 ? " { " + l.call(vt, ", ") + " }" : "");
|
|
84
|
+
}
|
|
85
|
+
if (ct(e)) {
|
|
86
|
+
var St = S ? c.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : C.call(e);
|
|
87
|
+
return typeof e == "object" && !S ? _(St) : St;
|
|
88
|
+
}
|
|
89
|
+
if (Xt(e)) {
|
|
90
|
+
for (var E = "<" + b.call(String(e.nodeName)), V = e.attributes || [], M = 0; M < V.length; M++)
|
|
91
|
+
E += " " + V[M].name + "=" + lt(Dt(V[M].value), "double", r);
|
|
92
|
+
return E += ">", e.childNodes && e.childNodes.length && (E += "..."), E += "</" + b.call(String(e.nodeName)) + ">", E;
|
|
93
|
+
}
|
|
94
|
+
if (P(e)) {
|
|
95
|
+
if (e.length === 0)
|
|
96
|
+
return "[]";
|
|
97
|
+
var J = W(e, u);
|
|
98
|
+
return h && !Zt(J) ? "[" + F(J, h) + "]" : "[ " + l.call(J, ", ") + " ]";
|
|
99
|
+
}
|
|
100
|
+
if (Ct(e)) {
|
|
101
|
+
var U = W(e, u);
|
|
102
|
+
return !("cause" in Error.prototype) && "cause" in e && !rt.call(e, "cause") ? "{ [" + String(e) + "] " + l.call(tt.call("[cause]: " + u(e.cause), U), ", ") + " }" : U.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + l.call(U, ", ") + " }";
|
|
103
|
+
}
|
|
104
|
+
if (typeof e == "object" && y) {
|
|
105
|
+
if (ot && typeof e[ot] == "function" && B)
|
|
106
|
+
return B(e, { depth: H - a });
|
|
107
|
+
if (y !== "symbol" && typeof e.inspect == "function")
|
|
108
|
+
return e.inspect();
|
|
109
|
+
}
|
|
110
|
+
if (Jt(e)) {
|
|
111
|
+
var ht = [];
|
|
112
|
+
return Y && Y.call(e, function(m, q) {
|
|
113
|
+
ht.push(u(q, e, !0) + " => " + u(m, e));
|
|
114
|
+
}), st("Map", $.call(e), ht, h);
|
|
115
|
+
}
|
|
116
|
+
if (Kt(e)) {
|
|
117
|
+
var mt = [];
|
|
118
|
+
return Z && Z.call(e, function(m) {
|
|
119
|
+
mt.push(u(m, e));
|
|
120
|
+
}), st("Set", I.call(e), mt, h);
|
|
121
|
+
}
|
|
122
|
+
if (Ut(e))
|
|
123
|
+
return z("WeakMap");
|
|
124
|
+
if (Qt(e))
|
|
125
|
+
return z("WeakSet");
|
|
126
|
+
if (Gt(e))
|
|
127
|
+
return z("WeakRef");
|
|
128
|
+
if (Pt(e))
|
|
129
|
+
return _(u(Number(e)));
|
|
130
|
+
if (Ft(e))
|
|
131
|
+
return _(u(D.call(e)));
|
|
132
|
+
if (zt(e))
|
|
133
|
+
return _(Mt.call(e));
|
|
134
|
+
if (Bt(e))
|
|
135
|
+
return _(u(String(e)));
|
|
136
|
+
if (typeof window < "u" && e === window)
|
|
137
|
+
return "{ [object Window] }";
|
|
138
|
+
if (typeof globalThis < "u" && e === globalThis || typeof _t < "u" && e === _t)
|
|
139
|
+
return "{ [object globalThis] }";
|
|
140
|
+
if (!Nt(e) && !ft(e)) {
|
|
141
|
+
var G = W(e, u), dt = nt ? nt(e) === Object.prototype : e instanceof Object || e.constructor === Object, K = e instanceof Object ? "" : "null prototype", Ot = !dt && w && Object(e) === e && w in e ? A.call(p(e), 8, -1) : K ? "Object" : "", bt = dt || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", Q = bt + (Ot || K ? "[" + l.call(tt.call([], Ot || [], K || []), ": ") + "] " : "");
|
|
142
|
+
return G.length === 0 ? Q + "{}" : h ? Q + "{" + F(G, h) + "}" : Q + "{ " + l.call(G, ", ") + " }";
|
|
143
|
+
}
|
|
144
|
+
return String(e);
|
|
145
|
+
};
|
|
146
|
+
function lt(t, e, n) {
|
|
147
|
+
var a = n.quoteStyle || e, i = ut[a];
|
|
148
|
+
return i + t + i;
|
|
149
|
+
}
|
|
150
|
+
function Dt(t) {
|
|
151
|
+
return c.call(String(t), /"/g, """);
|
|
152
|
+
}
|
|
153
|
+
function g(t) {
|
|
154
|
+
return !w || !(typeof t == "object" && (w in t || typeof t[w] < "u"));
|
|
155
|
+
}
|
|
156
|
+
function P(t) {
|
|
157
|
+
return p(t) === "[object Array]" && g(t);
|
|
158
|
+
}
|
|
159
|
+
function Nt(t) {
|
|
160
|
+
return p(t) === "[object Date]" && g(t);
|
|
161
|
+
}
|
|
162
|
+
function ft(t) {
|
|
163
|
+
return p(t) === "[object RegExp]" && g(t);
|
|
164
|
+
}
|
|
165
|
+
function Ct(t) {
|
|
166
|
+
return p(t) === "[object Error]" && g(t);
|
|
167
|
+
}
|
|
168
|
+
function Bt(t) {
|
|
169
|
+
return p(t) === "[object String]" && g(t);
|
|
170
|
+
}
|
|
171
|
+
function Pt(t) {
|
|
172
|
+
return p(t) === "[object Number]" && g(t);
|
|
173
|
+
}
|
|
174
|
+
function zt(t) {
|
|
175
|
+
return p(t) === "[object Boolean]" && g(t);
|
|
176
|
+
}
|
|
177
|
+
function ct(t) {
|
|
178
|
+
if (S)
|
|
179
|
+
return t && typeof t == "object" && t instanceof Symbol;
|
|
180
|
+
if (typeof t == "symbol")
|
|
181
|
+
return !0;
|
|
182
|
+
if (!t || typeof t != "object" || !C)
|
|
183
|
+
return !1;
|
|
184
|
+
try {
|
|
185
|
+
return C.call(t), !0;
|
|
186
|
+
} catch {
|
|
187
|
+
}
|
|
188
|
+
return !1;
|
|
189
|
+
}
|
|
190
|
+
function Ft(t) {
|
|
191
|
+
if (!t || typeof t != "object" || !D)
|
|
192
|
+
return !1;
|
|
193
|
+
try {
|
|
194
|
+
return D.call(t), !0;
|
|
195
|
+
} catch {
|
|
196
|
+
}
|
|
197
|
+
return !1;
|
|
198
|
+
}
|
|
199
|
+
var Ht = Object.prototype.hasOwnProperty || function(t) {
|
|
200
|
+
return t in this;
|
|
201
|
+
};
|
|
202
|
+
function f(t, e) {
|
|
203
|
+
return Ht.call(t, e);
|
|
204
|
+
}
|
|
205
|
+
function p(t) {
|
|
206
|
+
return qt.call(t);
|
|
207
|
+
}
|
|
208
|
+
function Vt(t) {
|
|
209
|
+
if (t.name)
|
|
210
|
+
return t.name;
|
|
211
|
+
var e = Tt.call(Rt.call(t), /^function\s*([\w$]+)/);
|
|
212
|
+
return e ? e[1] : null;
|
|
213
|
+
}
|
|
214
|
+
function pt(t, e) {
|
|
215
|
+
if (t.indexOf)
|
|
216
|
+
return t.indexOf(e);
|
|
217
|
+
for (var n = 0, a = t.length; n < a; n++)
|
|
218
|
+
if (t[n] === e)
|
|
219
|
+
return n;
|
|
220
|
+
return -1;
|
|
221
|
+
}
|
|
222
|
+
function Jt(t) {
|
|
223
|
+
if (!$ || !t || typeof t != "object")
|
|
224
|
+
return !1;
|
|
225
|
+
try {
|
|
226
|
+
$.call(t);
|
|
227
|
+
try {
|
|
228
|
+
I.call(t);
|
|
229
|
+
} catch {
|
|
230
|
+
return !0;
|
|
231
|
+
}
|
|
232
|
+
return t instanceof Map;
|
|
233
|
+
} catch {
|
|
234
|
+
}
|
|
235
|
+
return !1;
|
|
236
|
+
}
|
|
237
|
+
function Ut(t) {
|
|
238
|
+
if (!d || !t || typeof t != "object")
|
|
239
|
+
return !1;
|
|
240
|
+
try {
|
|
241
|
+
d.call(t, d);
|
|
242
|
+
try {
|
|
243
|
+
O.call(t, O);
|
|
244
|
+
} catch {
|
|
245
|
+
return !0;
|
|
246
|
+
}
|
|
247
|
+
return t instanceof WeakMap;
|
|
248
|
+
} catch {
|
|
249
|
+
}
|
|
250
|
+
return !1;
|
|
251
|
+
}
|
|
252
|
+
function Gt(t) {
|
|
253
|
+
if (!x || !t || typeof t != "object")
|
|
254
|
+
return !1;
|
|
255
|
+
try {
|
|
256
|
+
return x.call(t), !0;
|
|
257
|
+
} catch {
|
|
258
|
+
}
|
|
259
|
+
return !1;
|
|
260
|
+
}
|
|
261
|
+
function Kt(t) {
|
|
262
|
+
if (!I || !t || typeof t != "object")
|
|
263
|
+
return !1;
|
|
264
|
+
try {
|
|
265
|
+
I.call(t);
|
|
266
|
+
try {
|
|
267
|
+
$.call(t);
|
|
268
|
+
} catch {
|
|
269
|
+
return !0;
|
|
270
|
+
}
|
|
271
|
+
return t instanceof Set;
|
|
272
|
+
} catch {
|
|
273
|
+
}
|
|
274
|
+
return !1;
|
|
275
|
+
}
|
|
276
|
+
function Qt(t) {
|
|
277
|
+
if (!O || !t || typeof t != "object")
|
|
278
|
+
return !1;
|
|
279
|
+
try {
|
|
280
|
+
O.call(t, O);
|
|
281
|
+
try {
|
|
282
|
+
d.call(t, d);
|
|
283
|
+
} catch {
|
|
284
|
+
return !0;
|
|
285
|
+
}
|
|
286
|
+
return t instanceof WeakSet;
|
|
287
|
+
} catch {
|
|
288
|
+
}
|
|
289
|
+
return !1;
|
|
290
|
+
}
|
|
291
|
+
function Xt(t) {
|
|
292
|
+
return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
|
|
293
|
+
}
|
|
294
|
+
function yt(t, e) {
|
|
295
|
+
if (t.length > e.maxStringLength) {
|
|
296
|
+
var n = t.length - e.maxStringLength, a = "... " + n + " more character" + (n > 1 ? "s" : "");
|
|
297
|
+
return yt(A.call(t, 0, e.maxStringLength), e) + a;
|
|
298
|
+
}
|
|
299
|
+
var i = At[e.quoteStyle || "single"];
|
|
300
|
+
i.lastIndex = 0;
|
|
301
|
+
var r = c.call(c.call(t, i, "\\$1"), /[\x00-\x1f]/g, Yt);
|
|
302
|
+
return lt(r, "single", e);
|
|
303
|
+
}
|
|
304
|
+
function Yt(t) {
|
|
305
|
+
var e = t.charCodeAt(0), n = {
|
|
306
|
+
8: "b",
|
|
307
|
+
9: "t",
|
|
308
|
+
10: "n",
|
|
309
|
+
12: "f",
|
|
310
|
+
13: "r"
|
|
311
|
+
}[e];
|
|
312
|
+
return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + Lt.call(e.toString(16));
|
|
313
|
+
}
|
|
314
|
+
function _(t) {
|
|
315
|
+
return "Object(" + t + ")";
|
|
316
|
+
}
|
|
317
|
+
function z(t) {
|
|
318
|
+
return t + " { ? }";
|
|
319
|
+
}
|
|
320
|
+
function st(t, e, n, a) {
|
|
321
|
+
var i = a ? F(n, a) : l.call(n, ", ");
|
|
322
|
+
return t + " (" + e + ") {" + i + "}";
|
|
323
|
+
}
|
|
324
|
+
function Zt(t) {
|
|
325
|
+
for (var e = 0; e < t.length; e++)
|
|
326
|
+
if (pt(t[e], `
|
|
327
|
+
`) >= 0)
|
|
328
|
+
return !1;
|
|
329
|
+
return !0;
|
|
330
|
+
}
|
|
331
|
+
function xt(t, e) {
|
|
332
|
+
var n;
|
|
333
|
+
if (t.indent === " ")
|
|
334
|
+
n = " ";
|
|
335
|
+
else if (typeof t.indent == "number" && t.indent > 0)
|
|
336
|
+
n = l.call(Array(t.indent + 1), " ");
|
|
337
|
+
else
|
|
338
|
+
return null;
|
|
339
|
+
return {
|
|
340
|
+
base: n,
|
|
341
|
+
prev: l.call(Array(e + 1), n)
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
function F(t, e) {
|
|
345
|
+
if (t.length === 0)
|
|
346
|
+
return "";
|
|
347
|
+
var n = `
|
|
348
|
+
` + e.prev + e.base;
|
|
349
|
+
return n + l.call(t, "," + n) + `
|
|
350
|
+
` + e.prev;
|
|
351
|
+
}
|
|
352
|
+
function W(t, e) {
|
|
353
|
+
var n = P(t), a = [];
|
|
354
|
+
if (n) {
|
|
355
|
+
a.length = t.length;
|
|
356
|
+
for (var i = 0; i < t.length; i++)
|
|
357
|
+
a[i] = f(t, i) ? e(t[i], t) : "";
|
|
358
|
+
}
|
|
359
|
+
var r = typeof N == "function" ? N(t) : [], y;
|
|
360
|
+
if (S) {
|
|
361
|
+
y = {};
|
|
362
|
+
for (var v = 0; v < r.length; v++)
|
|
363
|
+
y["$" + r[v]] = r[v];
|
|
364
|
+
}
|
|
365
|
+
for (var o in t)
|
|
366
|
+
f(t, o) && (n && String(Number(o)) === o && o < t.length || S && y["$" + o] instanceof Symbol || (j.call(/[^\w$]/, o) ? a.push(e(o, t) + ": " + e(t[o], t)) : a.push(o + ": " + e(t[o], t))));
|
|
367
|
+
if (typeof N == "function")
|
|
368
|
+
for (var s = 0; s < r.length; s++)
|
|
369
|
+
rt.call(t, r[s]) && a.push("[" + e(r[s]) + "]: " + e(t[r[s]], t));
|
|
370
|
+
return a;
|
|
371
|
+
}
|
|
372
|
+
return X;
|
|
373
|
+
}
|
|
374
|
+
export {
|
|
375
|
+
ne as __require
|
|
376
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var t, a;
|
|
2
|
+
function R() {
|
|
3
|
+
if (a) return t;
|
|
4
|
+
a = 1;
|
|
5
|
+
var n = String.prototype.replace, F = /%20/g, r = {
|
|
6
|
+
RFC1738: "RFC1738",
|
|
7
|
+
RFC3986: "RFC3986"
|
|
8
|
+
};
|
|
9
|
+
return t = {
|
|
10
|
+
default: r.RFC3986,
|
|
11
|
+
formatters: {
|
|
12
|
+
RFC1738: function(e) {
|
|
13
|
+
return n.call(e, F, "+");
|
|
14
|
+
},
|
|
15
|
+
RFC3986: function(e) {
|
|
16
|
+
return String(e);
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
RFC1738: r.RFC1738,
|
|
20
|
+
RFC3986: r.RFC3986
|
|
21
|
+
}, t;
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
R as __require
|
|
25
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __require as t } from "./stringify.js";
|
|
2
|
+
import { __require as u } from "./parse.js";
|
|
3
|
+
import { __require as o } from "./formats.js";
|
|
4
|
+
var r, e;
|
|
5
|
+
function _() {
|
|
6
|
+
if (e) return r;
|
|
7
|
+
e = 1;
|
|
8
|
+
var i = /* @__PURE__ */ t(), a = /* @__PURE__ */ u(), s = /* @__PURE__ */ o();
|
|
9
|
+
return r = {
|
|
10
|
+
formats: s,
|
|
11
|
+
parse: a,
|
|
12
|
+
stringify: i
|
|
13
|
+
}, r;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
_ as __require
|
|
17
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { __require as I } from "./utils.js";
|
|
2
|
+
var b, O;
|
|
3
|
+
function K() {
|
|
4
|
+
if (O) return b;
|
|
5
|
+
O = 1;
|
|
6
|
+
var p = /* @__PURE__ */ I(), w = Object.prototype.hasOwnProperty, g = Array.isArray, n = {
|
|
7
|
+
allowDots: !1,
|
|
8
|
+
allowEmptyArrays: !1,
|
|
9
|
+
allowPrototypes: !1,
|
|
10
|
+
allowSparse: !1,
|
|
11
|
+
arrayLimit: 20,
|
|
12
|
+
charset: "utf-8",
|
|
13
|
+
charsetSentinel: !1,
|
|
14
|
+
comma: !1,
|
|
15
|
+
decodeDotInKeys: !1,
|
|
16
|
+
decoder: p.decode,
|
|
17
|
+
delimiter: "&",
|
|
18
|
+
depth: 5,
|
|
19
|
+
duplicates: "combine",
|
|
20
|
+
ignoreQueryPrefix: !1,
|
|
21
|
+
interpretNumericEntities: !1,
|
|
22
|
+
parameterLimit: 1e3,
|
|
23
|
+
parseArrays: !0,
|
|
24
|
+
plainObjects: !1,
|
|
25
|
+
strictDepth: !1,
|
|
26
|
+
strictNullHandling: !1,
|
|
27
|
+
throwOnLimitExceeded: !1
|
|
28
|
+
}, L = function(i) {
|
|
29
|
+
return i.replace(/&#(\d+);/g, function(e, r) {
|
|
30
|
+
return String.fromCharCode(parseInt(r, 10));
|
|
31
|
+
});
|
|
32
|
+
}, E = function(i, e, r) {
|
|
33
|
+
if (i && typeof i == "string" && e.comma && i.indexOf(",") > -1)
|
|
34
|
+
return i.split(",");
|
|
35
|
+
if (e.throwOnLimitExceeded && r >= e.arrayLimit)
|
|
36
|
+
throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
37
|
+
return i;
|
|
38
|
+
}, D = "utf8=%26%2310003%3B", A = "utf8=%E2%9C%93", x = function(e, r) {
|
|
39
|
+
var t = { __proto__: null }, d = r.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
|
40
|
+
d = d.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
41
|
+
var f = r.parameterLimit === 1 / 0 ? void 0 : r.parameterLimit, l = d.split(
|
|
42
|
+
r.delimiter,
|
|
43
|
+
r.throwOnLimitExceeded ? f + 1 : f
|
|
44
|
+
);
|
|
45
|
+
if (r.throwOnLimitExceeded && l.length > f)
|
|
46
|
+
throw new RangeError("Parameter limit exceeded. Only " + f + " parameter" + (f === 1 ? "" : "s") + " allowed.");
|
|
47
|
+
var o = -1, a, c = r.charset;
|
|
48
|
+
if (r.charsetSentinel)
|
|
49
|
+
for (a = 0; a < l.length; ++a)
|
|
50
|
+
l[a].indexOf("utf8=") === 0 && (l[a] === A ? c = "utf-8" : l[a] === D && (c = "iso-8859-1"), o = a, a = l.length);
|
|
51
|
+
for (a = 0; a < l.length; ++a)
|
|
52
|
+
if (a !== o) {
|
|
53
|
+
var u = l[a], y = u.indexOf("]="), m = y === -1 ? u.indexOf("=") : y + 1, h, s;
|
|
54
|
+
m === -1 ? (h = r.decoder(u, n.decoder, c, "key"), s = r.strictNullHandling ? null : "") : (h = r.decoder(u.slice(0, m), n.decoder, c, "key"), s = p.maybeMap(
|
|
55
|
+
E(
|
|
56
|
+
u.slice(m + 1),
|
|
57
|
+
r,
|
|
58
|
+
g(t[h]) ? t[h].length : 0
|
|
59
|
+
),
|
|
60
|
+
function(P) {
|
|
61
|
+
return r.decoder(P, n.decoder, c, "value");
|
|
62
|
+
}
|
|
63
|
+
)), s && r.interpretNumericEntities && c === "iso-8859-1" && (s = L(String(s))), u.indexOf("[]=") > -1 && (s = g(s) ? [s] : s);
|
|
64
|
+
var v = w.call(t, h);
|
|
65
|
+
v && r.duplicates === "combine" ? t[h] = p.combine(t[h], s) : (!v || r.duplicates === "last") && (t[h] = s);
|
|
66
|
+
}
|
|
67
|
+
return t;
|
|
68
|
+
}, _ = function(i, e, r, t) {
|
|
69
|
+
var d = 0;
|
|
70
|
+
if (i.length > 0 && i[i.length - 1] === "[]") {
|
|
71
|
+
var f = i.slice(0, -1).join("");
|
|
72
|
+
d = Array.isArray(e) && e[f] ? e[f].length : 0;
|
|
73
|
+
}
|
|
74
|
+
for (var l = t ? e : E(e, r, d), o = i.length - 1; o >= 0; --o) {
|
|
75
|
+
var a, c = i[o];
|
|
76
|
+
if (c === "[]" && r.parseArrays)
|
|
77
|
+
a = r.allowEmptyArrays && (l === "" || r.strictNullHandling && l === null) ? [] : p.combine([], l);
|
|
78
|
+
else {
|
|
79
|
+
a = r.plainObjects ? { __proto__: null } : {};
|
|
80
|
+
var u = c.charAt(0) === "[" && c.charAt(c.length - 1) === "]" ? c.slice(1, -1) : c, y = r.decodeDotInKeys ? u.replace(/%2E/g, ".") : u, m = parseInt(y, 10);
|
|
81
|
+
!r.parseArrays && y === "" ? a = { 0: l } : !isNaN(m) && c !== y && String(m) === y && m >= 0 && r.parseArrays && m <= r.arrayLimit ? (a = [], a[m] = l) : y !== "__proto__" && (a[y] = l);
|
|
82
|
+
}
|
|
83
|
+
l = a;
|
|
84
|
+
}
|
|
85
|
+
return l;
|
|
86
|
+
}, S = function(e, r, t, d) {
|
|
87
|
+
if (e) {
|
|
88
|
+
var f = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, l = /(\[[^[\]]*])/, o = /(\[[^[\]]*])/g, a = t.depth > 0 && l.exec(f), c = a ? f.slice(0, a.index) : f, u = [];
|
|
89
|
+
if (c) {
|
|
90
|
+
if (!t.plainObjects && w.call(Object.prototype, c) && !t.allowPrototypes)
|
|
91
|
+
return;
|
|
92
|
+
u.push(c);
|
|
93
|
+
}
|
|
94
|
+
for (var y = 0; t.depth > 0 && (a = o.exec(f)) !== null && y < t.depth; ) {
|
|
95
|
+
if (y += 1, !t.plainObjects && w.call(Object.prototype, a[1].slice(1, -1)) && !t.allowPrototypes)
|
|
96
|
+
return;
|
|
97
|
+
u.push(a[1]);
|
|
98
|
+
}
|
|
99
|
+
if (a) {
|
|
100
|
+
if (t.strictDepth === !0)
|
|
101
|
+
throw new RangeError("Input depth exceeded depth option of " + t.depth + " and strictDepth is true");
|
|
102
|
+
u.push("[" + f.slice(a.index) + "]");
|
|
103
|
+
}
|
|
104
|
+
return _(u, r, t, d);
|
|
105
|
+
}
|
|
106
|
+
}, N = function(e) {
|
|
107
|
+
if (!e)
|
|
108
|
+
return n;
|
|
109
|
+
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
110
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
111
|
+
if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
|
|
112
|
+
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
113
|
+
if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
|
|
114
|
+
throw new TypeError("Decoder has to be a function.");
|
|
115
|
+
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
116
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
117
|
+
if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
|
|
118
|
+
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
119
|
+
var r = typeof e.charset > "u" ? n.charset : e.charset, t = typeof e.duplicates > "u" ? n.duplicates : e.duplicates;
|
|
120
|
+
if (t !== "combine" && t !== "first" && t !== "last")
|
|
121
|
+
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
122
|
+
var d = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : n.allowDots : !!e.allowDots;
|
|
123
|
+
return {
|
|
124
|
+
allowDots: d,
|
|
125
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : n.allowEmptyArrays,
|
|
126
|
+
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : n.allowPrototypes,
|
|
127
|
+
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : n.allowSparse,
|
|
128
|
+
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : n.arrayLimit,
|
|
129
|
+
charset: r,
|
|
130
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : n.charsetSentinel,
|
|
131
|
+
comma: typeof e.comma == "boolean" ? e.comma : n.comma,
|
|
132
|
+
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : n.decodeDotInKeys,
|
|
133
|
+
decoder: typeof e.decoder == "function" ? e.decoder : n.decoder,
|
|
134
|
+
delimiter: typeof e.delimiter == "string" || p.isRegExp(e.delimiter) ? e.delimiter : n.delimiter,
|
|
135
|
+
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
136
|
+
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : n.depth,
|
|
137
|
+
duplicates: t,
|
|
138
|
+
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
139
|
+
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : n.interpretNumericEntities,
|
|
140
|
+
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : n.parameterLimit,
|
|
141
|
+
parseArrays: e.parseArrays !== !1,
|
|
142
|
+
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : n.plainObjects,
|
|
143
|
+
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : n.strictDepth,
|
|
144
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : n.strictNullHandling,
|
|
145
|
+
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
return b = function(i, e) {
|
|
149
|
+
var r = N(e);
|
|
150
|
+
if (i === "" || i === null || typeof i > "u")
|
|
151
|
+
return r.plainObjects ? { __proto__: null } : {};
|
|
152
|
+
for (var t = typeof i == "string" ? x(i, r) : i, d = r.plainObjects ? { __proto__: null } : {}, f = Object.keys(t), l = 0; l < f.length; ++l) {
|
|
153
|
+
var o = f[l], a = S(o, t[o], r, typeof i == "string");
|
|
154
|
+
d = p.merge(d, a, r);
|
|
155
|
+
}
|
|
156
|
+
return r.allowSparse === !0 ? d : p.compact(d);
|
|
157
|
+
}, b;
|
|
158
|
+
}
|
|
159
|
+
export {
|
|
160
|
+
K as __require
|
|
161
|
+
};
|