lkd-web-kit 0.7.14 → 0.7.16
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/components/EmptyState/index.cjs +5 -5
- package/dist/components/Icon.cjs +2 -2
- package/dist/components/InfinityLoadMoreButton/index.cjs +15 -8
- package/dist/components/InfinityLoadMoreButton/index.js +13 -6
- package/dist/components/{SelectInfinity → InfinitySelect}/index.cjs +17 -12
- package/dist/components/{SelectInfinity → InfinitySelect}/index.js +14 -9
- package/dist/components/MyCheckboxGroup/index.cjs +2 -2
- package/dist/components/MyDateInput/index.cjs +3 -3
- package/dist/components/MyDatePickerInput/CalendarIcon.cjs +7 -7
- package/dist/components/MyDatePickerInput/index.cjs +3 -3
- package/dist/components/MyDateTimePicker/index.cjs +3 -3
- package/dist/components/MyMonthPickerInput/index.cjs +3 -3
- package/dist/components/MyMultiSelect/index.cjs +2 -2
- package/dist/components/MyNotifications/index.cjs +2 -2
- package/dist/components/MyNumberInput/index.cjs +2 -2
- package/dist/components/MyRadioGroup/index.cjs +2 -2
- package/dist/components/MySelect/index.cjs +2 -2
- package/dist/components/MyTextInput/index.cjs +2 -2
- package/dist/components/MyTextarea/index.cjs +2 -2
- package/dist/components/MyTimeInput/index.cjs +2 -2
- package/dist/components/NavItems.cjs +4 -4
- package/dist/contexts/NavigationHistoryContext/hook.cjs +2 -2
- package/dist/contexts/NavigationHistoryContext/hook.js +2 -2
- package/dist/contexts/NavigationHistoryContext/index.cjs +3 -3
- package/dist/contexts/PageDataContext/index.cjs +2 -2
- package/dist/form/Form.cjs +2 -2
- package/dist/form/{FormButtonSubmit.cjs → FormSubmitButton.cjs} +4 -4
- package/dist/form/{FormButtonSubmit.js → FormSubmitButton.js} +2 -2
- package/dist/form/base/FormCheckbox.cjs +2 -2
- package/dist/form/base/FormCheckboxGroup.cjs +2 -2
- package/dist/form/base/FormDateInput.cjs +2 -2
- package/dist/form/base/FormDatePickerInput.cjs +2 -2
- package/dist/form/base/FormDateTimePicker.cjs +2 -2
- package/dist/form/base/FormMonthPickerInput.cjs +2 -2
- package/dist/form/base/FormMultiSelect.cjs +2 -2
- package/dist/form/base/FormNumberInput.cjs +2 -2
- package/dist/form/base/FormRadioGroup.cjs +2 -2
- package/dist/form/base/FormSelect.cjs +2 -2
- package/dist/form/base/FormSelectInfinity.cjs +3 -3
- package/dist/form/base/FormSelectInfinity.js +1 -1
- package/dist/form/base/FormTextInput.cjs +2 -2
- package/dist/form/base/FormTextarea.cjs +2 -2
- package/dist/form/base/FormTimeInput.cjs +2 -2
- package/dist/hocs/withController.cjs +3 -3
- package/dist/hocs/withModalManager.cjs +2 -2
- package/dist/index.cjs +37 -39
- package/dist/index.d.ts +8 -21
- package/dist/index.js +2 -3
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.cjs +2 -2
- package/package.json +2 -2
- package/dist/_virtual/___vite-browser-external.cjs +0 -12
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.cjs +0 -5
- package/dist/_virtual/__vite-browser-external.js +0 -3
- package/dist/_virtual/_commonjsHelpers.cjs +0 -34
- package/dist/_virtual/_commonjsHelpers.js +0 -30
- package/dist/_virtual/_interop_require_default.cjs +0 -7
- package/dist/_virtual/_interop_require_default.js +0 -3
- package/dist/_virtual/_interop_require_wildcard.cjs +0 -7
- package/dist/_virtual/_interop_require_wildcard.js +0 -3
- package/dist/_virtual/add-base-path.cjs +0 -7
- package/dist/_virtual/add-base-path.js +0 -3
- package/dist/_virtual/add-locale.cjs +0 -7
- package/dist/_virtual/add-locale.js +0 -3
- package/dist/_virtual/add-locale2.cjs +0 -7
- package/dist/_virtual/add-locale2.js +0 -3
- package/dist/_virtual/add-path-prefix.cjs +0 -7
- package/dist/_virtual/add-path-prefix.js +0 -3
- package/dist/_virtual/add-path-suffix.cjs +0 -7
- package/dist/_virtual/add-path-suffix.js +0 -3
- package/dist/_virtual/app-paths.cjs +0 -7
- package/dist/_virtual/app-paths.js +0 -3
- package/dist/_virtual/bloom-filter.cjs +0 -7
- package/dist/_virtual/bloom-filter.js +0 -3
- package/dist/_virtual/compare-states.cjs +0 -7
- package/dist/_virtual/compare-states.js +0 -3
- package/dist/_virtual/constants.cjs +0 -7
- package/dist/_virtual/constants.js +0 -3
- package/dist/_virtual/denormalize-page-path.cjs +0 -7
- package/dist/_virtual/denormalize-page-path.js +0 -3
- package/dist/_virtual/deployment-id.cjs +0 -7
- package/dist/_virtual/deployment-id.js +0 -3
- package/dist/_virtual/detect-domain-locale.cjs +0 -7
- package/dist/_virtual/detect-domain-locale.js +0 -3
- package/dist/_virtual/detect-domain-locale2.cjs +0 -7
- package/dist/_virtual/detect-domain-locale2.js +0 -3
- package/dist/_virtual/disable-smooth-scroll.cjs +0 -7
- package/dist/_virtual/disable-smooth-scroll.js +0 -3
- package/dist/_virtual/encode-uri-path.cjs +0 -7
- package/dist/_virtual/encode-uri-path.js +0 -3
- package/dist/_virtual/ensure-leading-slash.cjs +0 -7
- package/dist/_virtual/ensure-leading-slash.js +0 -3
- package/dist/_virtual/escape-regexp.cjs +0 -7
- package/dist/_virtual/escape-regexp.js +0 -3
- package/dist/_virtual/format-next-pathname-info.cjs +0 -7
- package/dist/_virtual/format-next-pathname-info.js +0 -3
- package/dist/_virtual/format-url.cjs +0 -7
- package/dist/_virtual/format-url.js +0 -3
- package/dist/_virtual/get-asset-path-from-route.cjs +0 -7
- package/dist/_virtual/get-asset-path-from-route.js +0 -3
- package/dist/_virtual/get-cookie-parser.cjs +0 -7
- package/dist/_virtual/get-cookie-parser.js +0 -3
- package/dist/_virtual/get-dynamic-param.cjs +0 -7
- package/dist/_virtual/get-dynamic-param.js +0 -3
- package/dist/_virtual/get-next-pathname-info.cjs +0 -7
- package/dist/_virtual/get-next-pathname-info.js +0 -3
- package/dist/_virtual/get-segment-param.cjs +0 -7
- package/dist/_virtual/get-segment-param.js +0 -3
- package/dist/_virtual/has-base-path.cjs +0 -7
- package/dist/_virtual/has-base-path.js +0 -3
- package/dist/_virtual/head-manager-context.shared-runtime.cjs +0 -7
- package/dist/_virtual/head-manager-context.shared-runtime.js +0 -3
- package/dist/_virtual/html-bots.cjs +0 -7
- package/dist/_virtual/html-bots.js +0 -3
- package/dist/_virtual/index.cjs +0 -7
- package/dist/_virtual/index.js +0 -3
- package/dist/_virtual/index2.cjs +0 -7
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/index3.cjs +0 -7
- package/dist/_virtual/index3.js +0 -3
- package/dist/_virtual/index4.cjs +0 -7
- package/dist/_virtual/index4.js +0 -3
- package/dist/_virtual/index5.cjs +0 -7
- package/dist/_virtual/index5.js +0 -3
- package/dist/_virtual/interception-routes.cjs +0 -7
- package/dist/_virtual/interception-routes.js +0 -3
- package/dist/_virtual/interpolate-as.cjs +0 -7
- package/dist/_virtual/interpolate-as.js +0 -3
- package/dist/_virtual/invariant-error.cjs +0 -7
- package/dist/_virtual/invariant-error.js +0 -3
- package/dist/_virtual/is-api-route.cjs +0 -7
- package/dist/_virtual/is-api-route.js +0 -3
- package/dist/_virtual/is-bot.cjs +0 -7
- package/dist/_virtual/is-bot.js +0 -3
- package/dist/_virtual/is-dynamic.cjs +0 -7
- package/dist/_virtual/is-dynamic.js +0 -3
- package/dist/_virtual/is-error.cjs +0 -7
- package/dist/_virtual/is-error.js +0 -3
- package/dist/_virtual/is-local-url.cjs +0 -7
- package/dist/_virtual/is-local-url.js +0 -3
- package/dist/_virtual/is-plain-object.cjs +0 -7
- package/dist/_virtual/is-plain-object.js +0 -3
- package/dist/_virtual/mitt.cjs +0 -7
- package/dist/_virtual/mitt.js +0 -3
- package/dist/_virtual/normalize-locale-path.cjs +0 -7
- package/dist/_virtual/normalize-locale-path.js +0 -3
- package/dist/_virtual/normalize-path-sep.cjs +0 -7
- package/dist/_virtual/normalize-path-sep.js +0 -3
- package/dist/_virtual/normalize-trailing-slash.cjs +0 -7
- package/dist/_virtual/normalize-trailing-slash.js +0 -3
- package/dist/_virtual/omit.cjs +0 -7
- package/dist/_virtual/omit.js +0 -3
- package/dist/_virtual/parse-loader-tree.cjs +0 -7
- package/dist/_virtual/parse-loader-tree.js +0 -3
- package/dist/_virtual/parse-path.cjs +0 -7
- package/dist/_virtual/parse-path.js +0 -3
- package/dist/_virtual/parse-relative-url.cjs +0 -7
- package/dist/_virtual/parse-relative-url.js +0 -3
- package/dist/_virtual/parse-url.cjs +0 -7
- package/dist/_virtual/parse-url.js +0 -3
- package/dist/_virtual/path-has-prefix.cjs +0 -7
- package/dist/_virtual/path-has-prefix.js +0 -3
- package/dist/_virtual/path-match.cjs +0 -7
- package/dist/_virtual/path-match.js +0 -3
- package/dist/_virtual/prepare-destination.cjs +0 -7
- package/dist/_virtual/prepare-destination.js +0 -3
- package/dist/_virtual/querystring.cjs +0 -7
- package/dist/_virtual/querystring.js +0 -3
- package/dist/_virtual/react-is.development.cjs +0 -7
- package/dist/_virtual/react-is.development.js +0 -3
- package/dist/_virtual/react-is.production.cjs +0 -7
- package/dist/_virtual/react-is.production.js +0 -3
- package/dist/_virtual/remove-base-path.cjs +0 -7
- package/dist/_virtual/remove-base-path.js +0 -3
- package/dist/_virtual/remove-locale.cjs +0 -7
- package/dist/_virtual/remove-locale.js +0 -3
- package/dist/_virtual/remove-path-prefix.cjs +0 -7
- package/dist/_virtual/remove-path-prefix.js +0 -3
- package/dist/_virtual/remove-trailing-slash.cjs +0 -7
- package/dist/_virtual/remove-trailing-slash.js +0 -3
- package/dist/_virtual/request-idle-callback.cjs +0 -7
- package/dist/_virtual/request-idle-callback.js +0 -3
- package/dist/_virtual/resolve-href.cjs +0 -7
- package/dist/_virtual/resolve-href.js +0 -3
- package/dist/_virtual/resolve-rewrites.cjs +0 -7
- package/dist/_virtual/resolve-rewrites.js +0 -3
- package/dist/_virtual/route-loader.cjs +0 -7
- package/dist/_virtual/route-loader.js +0 -3
- package/dist/_virtual/route-match-utils.cjs +0 -7
- package/dist/_virtual/route-match-utils.js +0 -3
- package/dist/_virtual/route-matcher.cjs +0 -7
- package/dist/_virtual/route-matcher.js +0 -3
- package/dist/_virtual/route-pattern-normalizer.cjs +0 -7
- package/dist/_virtual/route-pattern-normalizer.js +0 -3
- package/dist/_virtual/route-regex.cjs +0 -7
- package/dist/_virtual/route-regex.js +0 -3
- package/dist/_virtual/router-context.shared-runtime.cjs +0 -7
- package/dist/_virtual/router-context.shared-runtime.js +0 -3
- package/dist/_virtual/router.cjs +0 -9
- package/dist/_virtual/router.js +0 -5
- package/dist/_virtual/router2.cjs +0 -7
- package/dist/_virtual/router2.js +0 -3
- package/dist/_virtual/router3.cjs +0 -7
- package/dist/_virtual/router3.js +0 -3
- package/dist/_virtual/script.cjs +0 -7
- package/dist/_virtual/script.js +0 -3
- package/dist/_virtual/segment.cjs +0 -7
- package/dist/_virtual/segment.js +0 -3
- package/dist/_virtual/set-attributes-from-props.cjs +0 -7
- package/dist/_virtual/set-attributes-from-props.js +0 -3
- package/dist/_virtual/sorted-routes.cjs +0 -7
- package/dist/_virtual/sorted-routes.js +0 -3
- package/dist/_virtual/trusted-types.cjs +0 -7
- package/dist/_virtual/trusted-types.js +0 -3
- package/dist/_virtual/utils.cjs +0 -7
- package/dist/_virtual/utils.js +0 -3
- package/dist/_virtual/warn-once.cjs +0 -7
- package/dist/_virtual/warn-once.js +0 -3
- package/dist/_virtual/with-router.cjs +0 -7
- package/dist/_virtual/with-router.js +0 -3
- package/dist/components/InfinityLoader/index.cjs +0 -68
- package/dist/components/InfinityLoader/index.js +0 -64
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -20
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -16
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -52
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -48
- package/dist/node_modules/next/dist/build/deployment-id.cjs +0 -34
- package/dist/node_modules/next/dist/build/deployment-id.js +0 -30
- package/dist/node_modules/next/dist/client/add-base-path.cjs +0 -42
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -38
- package/dist/node_modules/next/dist/client/add-locale.cjs +0 -43
- package/dist/node_modules/next/dist/client/add-locale.js +0 -39
- package/dist/node_modules/next/dist/client/detect-domain-locale.cjs +0 -40
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -36
- package/dist/node_modules/next/dist/client/has-base-path.cjs +0 -40
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -36
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.cjs +0 -54
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -50
- package/dist/node_modules/next/dist/client/remove-base-path.cjs +0 -49
- package/dist/node_modules/next/dist/client/remove-base-path.js +0 -45
- package/dist/node_modules/next/dist/client/remove-locale.cjs +0 -45
- package/dist/node_modules/next/dist/client/remove-locale.js +0 -41
- package/dist/node_modules/next/dist/client/request-idle-callback.cjs +0 -56
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -52
- package/dist/node_modules/next/dist/client/resolve-href.cjs +0 -132
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -128
- package/dist/node_modules/next/dist/client/route-loader.cjs +0 -363
- package/dist/node_modules/next/dist/client/route-loader.js +0 -359
- package/dist/node_modules/next/dist/client/router.cjs +0 -201
- package/dist/node_modules/next/dist/client/router.js +0 -197
- package/dist/node_modules/next/dist/client/script.cjs +0 -366
- package/dist/node_modules/next/dist/client/script.js +0 -362
- package/dist/node_modules/next/dist/client/set-attributes-from-props.cjs +0 -81
- package/dist/node_modules/next/dist/client/set-attributes-from-props.js +0 -77
- package/dist/node_modules/next/dist/client/trusted-types.cjs +0 -56
- package/dist/node_modules/next/dist/client/trusted-types.js +0 -52
- package/dist/node_modules/next/dist/client/with-router.cjs +0 -54
- package/dist/node_modules/next/dist/client/with-router.js +0 -50
- package/dist/node_modules/next/dist/compiled/cookie/index.cjs +0 -22
- package/dist/node_modules/next/dist/compiled/cookie/index.js +0 -18
- package/dist/node_modules/next/dist/compiled/gzip-size/index.cjs +0 -17
- package/dist/node_modules/next/dist/compiled/gzip-size/index.js +0 -13
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.cjs +0 -16
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -12
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.development.cjs +0 -147
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +0 -143
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.production.cjs +0 -144
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js +0 -140
- package/dist/node_modules/next/dist/compiled/react-is/index.cjs +0 -23
- package/dist/node_modules/next/dist/compiled/react-is/index.js +0 -19
- package/dist/node_modules/next/dist/lib/constants.cjs +0 -365
- package/dist/node_modules/next/dist/lib/constants.js +0 -361
- package/dist/node_modules/next/dist/lib/is-api-route.cjs +0 -31
- package/dist/node_modules/next/dist/lib/is-api-route.js +0 -27
- package/dist/node_modules/next/dist/lib/is-error.cjs +0 -91
- package/dist/node_modules/next/dist/lib/is-error.js +0 -87
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.cjs +0 -115
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -111
- package/dist/node_modules/next/dist/server/api-utils/get-cookie-parser.cjs +0 -39
- package/dist/node_modules/next/dist/server/api-utils/get-cookie-parser.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/bloom-filter.cjs +0 -101
- package/dist/node_modules/next/dist/shared/lib/bloom-filter.js +0 -97
- package/dist/node_modules/next/dist/shared/lib/encode-uri-path.cjs +0 -31
- package/dist/node_modules/next/dist/shared/lib/encode-uri-path.js +0 -27
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.cjs +0 -41
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.cjs +0 -70
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -66
- package/dist/node_modules/next/dist/shared/lib/invariant-error.cjs +0 -34
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -30
- package/dist/node_modules/next/dist/shared/lib/is-plain-object.cjs +0 -54
- package/dist/node_modules/next/dist/shared/lib/is-plain-object.js +0 -50
- package/dist/node_modules/next/dist/shared/lib/mitt.cjs +0 -58
- package/dist/node_modules/next/dist/shared/lib/mitt.js +0 -54
- package/dist/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/router.cjs +0 -1814
- package/dist/node_modules/next/dist/shared/lib/router/router.js +0 -1810
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.cjs +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.cjs +0 -65
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -61
- package/dist/node_modules/next/dist/shared/lib/router/utils/compare-states.cjs +0 -50
- package/dist/node_modules/next/dist/shared/lib/router/utils/compare-states.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs +0 -60
- package/dist/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.cjs +0 -47
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +0 -103
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -99
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.cjs +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js +0 -28
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.cjs +0 -208
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -204
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.cjs +0 -71
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.cjs +0 -94
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/html-bots.cjs +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/html-bots.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.cjs +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.cjs +0 -119
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -115
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.cjs +0 -71
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-bot.cjs +0 -68
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-bot.js +0 -64
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.cjs +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.cjs +0 -44
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -40
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.cjs +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.cjs +0 -51
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -47
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.cjs +0 -54
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +0 -50
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-url.cjs +0 -50
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-url.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-match.cjs +0 -66
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-match.js +0 -62
- package/dist/node_modules/next/dist/shared/lib/router/utils/prepare-destination.cjs +0 -303
- package/dist/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +0 -299
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.cjs +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -86
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.cjs +0 -56
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +0 -52
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.cjs +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.cjs +0 -140
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js +0 -136
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.cjs +0 -127
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -123
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.cjs +0 -63
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -59
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.cjs +0 -272
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -268
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.cjs +0 -256
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -252
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/segment.cjs +0 -103
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -99
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.cjs +0 -38
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/utils.cjs +0 -204
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -200
- package/dist/node_modules/next/router.cjs +0 -17
- package/dist/node_modules/next/router.js +0 -13
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const Icon = require('../Icon.cjs');
|
|
7
7
|
const core = require('@mantine/core');
|
|
8
8
|
|
|
@@ -13,7 +13,7 @@ const pxBySize = {
|
|
|
13
13
|
};
|
|
14
14
|
const EmptyState = ({ label, action, icon, size = "md", ...props }) => {
|
|
15
15
|
const { colors } = core.useMantineTheme();
|
|
16
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
19
|
style: {
|
|
@@ -25,7 +25,7 @@ const EmptyState = ({ label, action, icon, size = "md", ...props }) => {
|
|
|
25
25
|
},
|
|
26
26
|
...props,
|
|
27
27
|
children: [
|
|
28
|
-
icon && /* @__PURE__ */
|
|
28
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx(
|
|
29
29
|
Icon.Icon,
|
|
30
30
|
{
|
|
31
31
|
i: icon,
|
|
@@ -35,7 +35,7 @@ const EmptyState = ({ label, action, icon, size = "md", ...props }) => {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
),
|
|
38
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39
39
|
core.Text,
|
|
40
40
|
{
|
|
41
41
|
c: "gray.6",
|
|
@@ -46,7 +46,7 @@ const EmptyState = ({ label, action, icon, size = "md", ...props }) => {
|
|
|
46
46
|
children: label
|
|
47
47
|
}
|
|
48
48
|
),
|
|
49
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: action })
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
);
|
package/dist/components/Icon.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
|
|
8
8
|
const Icon = ({ i: I, size = "md", style, rotate, ...rest }) => {
|
|
9
|
-
return /* @__PURE__ */
|
|
9
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
I,
|
|
11
11
|
{
|
|
12
12
|
...typeof size === "number" ? {
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
const hooks = require('@mantine/hooks');
|
|
8
|
+
const clsx = require('clsx');
|
|
8
9
|
const React = require('react');
|
|
9
10
|
|
|
10
11
|
const InfinityLoadMoreButton = ({
|
|
@@ -14,7 +15,9 @@ const InfinityLoadMoreButton = ({
|
|
|
14
15
|
...props
|
|
15
16
|
}) => {
|
|
16
17
|
const { entry, ref } = hooks.useIntersection({
|
|
17
|
-
root: parentRef?.current
|
|
18
|
+
root: parentRef?.current,
|
|
19
|
+
rootMargin: "0px 0px 0px 0px",
|
|
20
|
+
threshold: 0.5
|
|
18
21
|
});
|
|
19
22
|
const {
|
|
20
23
|
loadMore = "Cargar más",
|
|
@@ -22,17 +25,21 @@ const InfinityLoadMoreButton = ({
|
|
|
22
25
|
end = "Fin de la lista"
|
|
23
26
|
} = labels || {};
|
|
24
27
|
const { hasNextPage, isFetchingNextPage, fetchNextPage } = infinity;
|
|
25
|
-
const isIntersecting = entry?.isIntersecting ?? false;
|
|
26
28
|
React.useEffect(() => {
|
|
27
|
-
if (hasNextPage && !isFetchingNextPage && isIntersecting)
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
if (hasNextPage && !isFetchingNextPage && entry?.isIntersecting)
|
|
30
|
+
fetchNextPage();
|
|
31
|
+
}, [entry?.isIntersecting]);
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30
33
|
core.Button,
|
|
31
34
|
{
|
|
32
35
|
ref,
|
|
33
36
|
onClick: () => fetchNextPage(),
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
className: clsx(
|
|
38
|
+
(!hasNextPage || isFetchingNextPage) && "pointer-events-none",
|
|
39
|
+
"font-medium"
|
|
40
|
+
),
|
|
41
|
+
variant: "transparent",
|
|
42
|
+
color: !hasNextPage ? "gray" : void 0,
|
|
36
43
|
...props,
|
|
37
44
|
children: isFetchingNextPage ? loading : hasNextPage ? loadMore : end
|
|
38
45
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Button } from '@mantine/core';
|
|
3
3
|
import { useIntersection } from '@mantine/hooks';
|
|
4
|
+
import clsx from 'clsx';
|
|
4
5
|
import { useEffect } from 'react';
|
|
5
6
|
|
|
6
7
|
const InfinityLoadMoreButton = ({
|
|
@@ -10,7 +11,9 @@ const InfinityLoadMoreButton = ({
|
|
|
10
11
|
...props
|
|
11
12
|
}) => {
|
|
12
13
|
const { entry, ref } = useIntersection({
|
|
13
|
-
root: parentRef?.current
|
|
14
|
+
root: parentRef?.current,
|
|
15
|
+
rootMargin: "0px 0px 0px 0px",
|
|
16
|
+
threshold: 0.5
|
|
14
17
|
});
|
|
15
18
|
const {
|
|
16
19
|
loadMore = "Cargar más",
|
|
@@ -18,17 +21,21 @@ const InfinityLoadMoreButton = ({
|
|
|
18
21
|
end = "Fin de la lista"
|
|
19
22
|
} = labels || {};
|
|
20
23
|
const { hasNextPage, isFetchingNextPage, fetchNextPage } = infinity;
|
|
21
|
-
const isIntersecting = entry?.isIntersecting ?? false;
|
|
22
24
|
useEffect(() => {
|
|
23
|
-
if (hasNextPage && !isFetchingNextPage && isIntersecting)
|
|
24
|
-
|
|
25
|
+
if (hasNextPage && !isFetchingNextPage && entry?.isIntersecting)
|
|
26
|
+
fetchNextPage();
|
|
27
|
+
}, [entry?.isIntersecting]);
|
|
25
28
|
return /* @__PURE__ */ jsx(
|
|
26
29
|
Button,
|
|
27
30
|
{
|
|
28
31
|
ref,
|
|
29
32
|
onClick: () => fetchNextPage(),
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
className: clsx(
|
|
34
|
+
(!hasNextPage || isFetchingNextPage) && "pointer-events-none",
|
|
35
|
+
"font-medium"
|
|
36
|
+
),
|
|
37
|
+
variant: "transparent",
|
|
38
|
+
color: !hasNextPage ? "gray" : void 0,
|
|
32
39
|
...props,
|
|
33
40
|
children: isFetchingNextPage ? loading : hasNextPage ? loadMore : end
|
|
34
41
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
const React = require('react');
|
|
8
8
|
const core = require('@mantine/core');
|
|
9
9
|
const hooks = require('@mantine/hooks');
|
|
@@ -71,7 +71,7 @@ function InfinitySelect({
|
|
|
71
71
|
getScrollElement: () => scrollRef.current
|
|
72
72
|
});
|
|
73
73
|
const scrollRef = React.useRef(null);
|
|
74
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
75
75
|
core.Combobox,
|
|
76
76
|
{
|
|
77
77
|
store: combobox,
|
|
@@ -91,10 +91,10 @@ function InfinitySelect({
|
|
|
91
91
|
},
|
|
92
92
|
...comboboxProps,
|
|
93
93
|
children: [
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Combobox.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
95
95
|
core.InputBase,
|
|
96
96
|
{
|
|
97
|
-
rightSection: props.readOnly ? null : value ? /* @__PURE__ */
|
|
97
|
+
rightSection: props.readOnly ? null : value ? /* @__PURE__ */ jsxRuntime.jsx(core.Input.ClearButton, { onClick: _reset }) : /* @__PURE__ */ jsxRuntime.jsx(core.Combobox.Chevron, {}),
|
|
98
98
|
component: "input",
|
|
99
99
|
rightSectionPointerEvents: value ? void 0 : "none",
|
|
100
100
|
readOnly: !searchable || props.readOnly,
|
|
@@ -106,7 +106,8 @@ function InfinitySelect({
|
|
|
106
106
|
handleSearch(event.currentTarget.value);
|
|
107
107
|
} : void 0,
|
|
108
108
|
onClick: (event) => {
|
|
109
|
-
if (!props.readOnly)
|
|
109
|
+
if (!props.readOnly)
|
|
110
|
+
searchable ? combobox.openDropdown() : combobox.toggleDropdown();
|
|
110
111
|
props.onClick?.(event);
|
|
111
112
|
},
|
|
112
113
|
onFocus: (event) => {
|
|
@@ -122,18 +123,22 @@ function InfinitySelect({
|
|
|
122
123
|
variant: props.readOnly ? "filled" : "default"
|
|
123
124
|
}
|
|
124
125
|
) }),
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Combobox.Dropdown, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
126
127
|
core.Combobox.Options,
|
|
127
128
|
{
|
|
129
|
+
mih: 50,
|
|
128
130
|
mah: 200,
|
|
129
131
|
style: {
|
|
130
132
|
overflowY: "auto"
|
|
131
133
|
},
|
|
132
134
|
ref: scrollRef,
|
|
133
|
-
children: [
|
|
134
|
-
|
|
135
|
+
children: data.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
136
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { ...virtualStyles.getVirtualContainerProps(virtualizer), children: virtualizer.getVirtualItems().map((virtualItem) => {
|
|
135
137
|
const option = data[virtualItem.index];
|
|
136
|
-
const virtualItemProps = virtualStyles.getVirtualItemProps(
|
|
138
|
+
const virtualItemProps = virtualStyles.getVirtualItemProps(
|
|
139
|
+
virtualItem,
|
|
140
|
+
virtualizer
|
|
141
|
+
);
|
|
137
142
|
return /* @__PURE__ */ React.createElement(
|
|
138
143
|
core.Combobox.Option,
|
|
139
144
|
{
|
|
@@ -147,8 +152,8 @@ function InfinitySelect({
|
|
|
147
152
|
},
|
|
148
153
|
renderOption ? renderOption({ option }) : getOptionLabel(option)
|
|
149
154
|
);
|
|
150
|
-
}) })
|
|
151
|
-
/* @__PURE__ */
|
|
155
|
+
}) }),
|
|
156
|
+
virtualizer.getTotalSize() !== 0 && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { className: "mt-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
152
157
|
index$1.InfinityLoadMoreButton,
|
|
153
158
|
{
|
|
154
159
|
infinity,
|
|
@@ -157,7 +162,7 @@ function InfinitySelect({
|
|
|
157
162
|
...loadMoreButtonProps
|
|
158
163
|
}
|
|
159
164
|
) })
|
|
160
|
-
]
|
|
165
|
+
] }) : !infinity.isFetching ? /* @__PURE__ */ jsxRuntime.jsx(core.Combobox.Empty, { mih: 24, children: nothingFoundMessage ? typeof nothingFoundMessage === "function" ? nothingFoundMessage({ combobox }) : nothingFoundMessage : "No hay resultados" }) : null
|
|
161
166
|
}
|
|
162
167
|
) })
|
|
163
168
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useEffect, useRef, createElement } from 'react';
|
|
4
4
|
import { useCombobox, Combobox, InputBase, Input, Center } from '@mantine/core';
|
|
5
5
|
import { useUncontrolled } from '@mantine/hooks';
|
|
@@ -102,7 +102,8 @@ function InfinitySelect({
|
|
|
102
102
|
handleSearch(event.currentTarget.value);
|
|
103
103
|
} : void 0,
|
|
104
104
|
onClick: (event) => {
|
|
105
|
-
if (!props.readOnly)
|
|
105
|
+
if (!props.readOnly)
|
|
106
|
+
searchable ? combobox.openDropdown() : combobox.toggleDropdown();
|
|
106
107
|
props.onClick?.(event);
|
|
107
108
|
},
|
|
108
109
|
onFocus: (event) => {
|
|
@@ -118,18 +119,22 @@ function InfinitySelect({
|
|
|
118
119
|
variant: props.readOnly ? "filled" : "default"
|
|
119
120
|
}
|
|
120
121
|
) }),
|
|
121
|
-
/* @__PURE__ */ jsx(Combobox.Dropdown, { children: /* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ jsx(Combobox.Dropdown, { children: /* @__PURE__ */ jsx(
|
|
122
123
|
Combobox.Options,
|
|
123
124
|
{
|
|
125
|
+
mih: 50,
|
|
124
126
|
mah: 200,
|
|
125
127
|
style: {
|
|
126
128
|
overflowY: "auto"
|
|
127
129
|
},
|
|
128
130
|
ref: scrollRef,
|
|
129
|
-
children: [
|
|
130
|
-
|
|
131
|
+
children: data.length > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
132
|
+
/* @__PURE__ */ jsx("div", { ...getVirtualContainerProps(virtualizer), children: virtualizer.getVirtualItems().map((virtualItem) => {
|
|
131
133
|
const option = data[virtualItem.index];
|
|
132
|
-
const virtualItemProps = getVirtualItemProps(
|
|
134
|
+
const virtualItemProps = getVirtualItemProps(
|
|
135
|
+
virtualItem,
|
|
136
|
+
virtualizer
|
|
137
|
+
);
|
|
133
138
|
return /* @__PURE__ */ createElement(
|
|
134
139
|
Combobox.Option,
|
|
135
140
|
{
|
|
@@ -143,8 +148,8 @@ function InfinitySelect({
|
|
|
143
148
|
},
|
|
144
149
|
renderOption ? renderOption({ option }) : getOptionLabel(option)
|
|
145
150
|
);
|
|
146
|
-
}) })
|
|
147
|
-
/* @__PURE__ */ jsx(Center, { children: /* @__PURE__ */ jsx(
|
|
151
|
+
}) }),
|
|
152
|
+
virtualizer.getTotalSize() !== 0 && /* @__PURE__ */ jsx(Center, { className: "mt-2", children: /* @__PURE__ */ jsx(
|
|
148
153
|
InfinityLoadMoreButton,
|
|
149
154
|
{
|
|
150
155
|
infinity,
|
|
@@ -153,7 +158,7 @@ function InfinitySelect({
|
|
|
153
158
|
...loadMoreButtonProps
|
|
154
159
|
}
|
|
155
160
|
) })
|
|
156
|
-
]
|
|
161
|
+
] }) : !infinity.isFetching ? /* @__PURE__ */ jsx(Combobox.Empty, { mih: 24, children: nothingFoundMessage ? typeof nothingFoundMessage === "function" ? nothingFoundMessage({ combobox }) : nothingFoundMessage : "No hay resultados" }) : null
|
|
157
162
|
}
|
|
158
163
|
) })
|
|
159
164
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
8
|
const MyCheckboxGroup = ({
|
|
@@ -12,7 +12,7 @@ const MyCheckboxGroup = ({
|
|
|
12
12
|
...checkboxGroupProps
|
|
13
13
|
}) => {
|
|
14
14
|
const Container = orientation === "horizontal" ? core.Group : core.Stack;
|
|
15
|
-
return /* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.CheckboxGroup, { ...checkboxGroupProps, children: /* @__PURE__ */ jsxRuntime.jsx(Container, { gap, children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
16
16
|
core.Checkbox,
|
|
17
17
|
{
|
|
18
18
|
...option
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const dates = require('@mantine/dates');
|
|
7
7
|
const CalendarIcon = require('../MyDatePickerInput/CalendarIcon.cjs');
|
|
8
8
|
|
|
9
|
-
const MyDateInput = (props) => /* @__PURE__ */
|
|
9
|
+
const MyDateInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
dates.DateInput,
|
|
11
11
|
{
|
|
12
|
-
leftSection: /* @__PURE__ */
|
|
12
|
+
leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
|
|
13
13
|
leftSectionPointerEvents: "none",
|
|
14
14
|
variant: props.readOnly ? "filled" : "default",
|
|
15
15
|
...props
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
|
|
5
5
|
const CalendarIcon = ({ size = "sm", ...props }) => {
|
|
6
|
-
return /* @__PURE__ */
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7
7
|
"svg",
|
|
8
8
|
{
|
|
9
9
|
viewBox: "0 0 24 24",
|
|
@@ -12,7 +12,7 @@ const CalendarIcon = ({ size = "sm", ...props }) => {
|
|
|
12
12
|
width: size === "sm" ? 20 : 24,
|
|
13
13
|
height: size === "sm" ? 20 : 24,
|
|
14
14
|
children: [
|
|
15
|
-
/* @__PURE__ */
|
|
15
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16
16
|
"path",
|
|
17
17
|
{
|
|
18
18
|
fillRule: "evenodd",
|
|
@@ -21,7 +21,7 @@ const CalendarIcon = ({ size = "sm", ...props }) => {
|
|
|
21
21
|
fill: "currentColor"
|
|
22
22
|
}
|
|
23
23
|
),
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25
25
|
"path",
|
|
26
26
|
{
|
|
27
27
|
fillRule: "evenodd",
|
|
@@ -30,7 +30,7 @@ const CalendarIcon = ({ size = "sm", ...props }) => {
|
|
|
30
30
|
fill: "currentColor"
|
|
31
31
|
}
|
|
32
32
|
),
|
|
33
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34
34
|
"path",
|
|
35
35
|
{
|
|
36
36
|
fillRule: "evenodd",
|
|
@@ -39,7 +39,7 @@ const CalendarIcon = ({ size = "sm", ...props }) => {
|
|
|
39
39
|
fill: "currentColor"
|
|
40
40
|
}
|
|
41
41
|
),
|
|
42
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43
43
|
"path",
|
|
44
44
|
{
|
|
45
45
|
fillRule: "evenodd",
|
|
@@ -48,7 +48,7 @@ const CalendarIcon = ({ size = "sm", ...props }) => {
|
|
|
48
48
|
fill: "currentColor"
|
|
49
49
|
}
|
|
50
50
|
),
|
|
51
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52
52
|
"path",
|
|
53
53
|
{
|
|
54
54
|
fillRule: "evenodd",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const dates = require('@mantine/dates');
|
|
7
7
|
const CalendarIcon = require('./CalendarIcon.cjs');
|
|
8
8
|
|
|
9
|
-
const MyDatePickerInput = (props) => /* @__PURE__ */
|
|
9
|
+
const MyDatePickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
dates.DatePickerInput,
|
|
11
11
|
{
|
|
12
|
-
leftSection: /* @__PURE__ */
|
|
12
|
+
leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
|
|
13
13
|
leftSectionPointerEvents: "none",
|
|
14
14
|
variant: props.readOnly ? "filled" : "default",
|
|
15
15
|
...props
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const dates = require('@mantine/dates');
|
|
7
7
|
const CalendarIcon = require('../MyDatePickerInput/CalendarIcon.cjs');
|
|
8
8
|
|
|
9
|
-
const MyDateTimePicker = (props) => /* @__PURE__ */
|
|
9
|
+
const MyDateTimePicker = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
dates.DateTimePicker,
|
|
11
11
|
{
|
|
12
|
-
leftSection: /* @__PURE__ */
|
|
12
|
+
leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
|
|
13
13
|
leftSectionPointerEvents: "none",
|
|
14
14
|
variant: props.readOnly ? "filled" : "default",
|
|
15
15
|
...props
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const dates = require('@mantine/dates');
|
|
7
7
|
const CalendarIcon = require('../MyDatePickerInput/CalendarIcon.cjs');
|
|
8
8
|
|
|
9
|
-
const MyMonthPickerInput = (props) => /* @__PURE__ */
|
|
9
|
+
const MyMonthPickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
dates.MonthPickerInput,
|
|
11
11
|
{
|
|
12
|
-
leftSection: /* @__PURE__ */
|
|
12
|
+
leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
|
|
13
13
|
leftSectionPointerEvents: "none",
|
|
14
14
|
variant: props.readOnly ? "filled" : "default",
|
|
15
15
|
...props
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
|
-
const MyMultiSelect = (props) => /* @__PURE__ */
|
|
8
|
+
const MyMultiSelect = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
core.MultiSelect,
|
|
10
10
|
{
|
|
11
11
|
variant: props.readOnly ? "filled" : "default",
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const notifications = require('@mantine/notifications');
|
|
7
7
|
;/* empty css */
|
|
8
8
|
|
|
9
|
-
const MyNotifications = (props) => /* @__PURE__ */
|
|
9
|
+
const MyNotifications = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
notifications.Notifications,
|
|
11
11
|
{
|
|
12
12
|
position: "top-center",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
|
-
const MyNumberInput = (props) => /* @__PURE__ */
|
|
8
|
+
const MyNumberInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
core.NumberInput,
|
|
10
10
|
{
|
|
11
11
|
variant: props.readOnly ? "filled" : "default",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
8
|
const MyRadioGroup = ({
|
|
@@ -12,7 +12,7 @@ const MyRadioGroup = ({
|
|
|
12
12
|
...radioGroupProps
|
|
13
13
|
}) => {
|
|
14
14
|
const Container = orientation === "horizontal" ? core.Group : core.Stack;
|
|
15
|
-
return /* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Radio.Group, { ...radioGroupProps, children: /* @__PURE__ */ jsxRuntime.jsx(Container, { gap, children: options.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
16
16
|
core.Radio,
|
|
17
17
|
{
|
|
18
18
|
...option
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
|
-
const MySelect = (props) => /* @__PURE__ */
|
|
8
|
+
const MySelect = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
core.Select,
|
|
10
10
|
{
|
|
11
11
|
variant: props.readOnly ? "filled" : "default",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
|
-
const MyTextInput = (props) => /* @__PURE__ */
|
|
8
|
+
const MyTextInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
core.TextInput,
|
|
10
10
|
{
|
|
11
11
|
variant: props.readOnly ? "filled" : "default",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
|
-
const MyTextarea = (props) => /* @__PURE__ */
|
|
8
|
+
const MyTextarea = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
core.Textarea,
|
|
10
10
|
{
|
|
11
11
|
variant: props.readOnly ? "filled" : "default",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
const core = require('@mantine/core');
|
|
7
7
|
|
|
8
|
-
const MyTimeInput = (props) => /* @__PURE__ */
|
|
8
|
+
const MyTimeInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
core.TextInput,
|
|
10
10
|
{
|
|
11
11
|
variant: props.readOnly ? "filled" : "default",
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
const core = require('@mantine/core');
|
|
8
8
|
const Link = require('next/link');
|
|
9
9
|
const navigation = require('next/navigation');
|
|
10
10
|
|
|
11
11
|
const NavItems = ({ items, activeStrategy = "includes" }) => {
|
|
12
12
|
const pathname = navigation.usePathname();
|
|
13
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core.Stack, { gap: 0, children: items.map(({ href, isActive, ...navLinkProps }) => {
|
|
14
14
|
if (href) {
|
|
15
15
|
const active = isActive ?? (activeStrategy === "equals" ? href === pathname : href.includes(pathname));
|
|
16
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17
17
|
core.NavLink,
|
|
18
18
|
{
|
|
19
19
|
active,
|
|
@@ -25,7 +25,7 @@ const NavItems = ({ items, activeStrategy = "includes" }) => {
|
|
|
25
25
|
navLinkProps.label
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
|
-
return /* @__PURE__ */
|
|
28
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29
29
|
core.NavLink,
|
|
30
30
|
{
|
|
31
31
|
active: isActive,
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const navigation = require('next/navigation');
|
|
6
|
-
const router = require('
|
|
6
|
+
const router = require('next/router');
|
|
7
7
|
const React = require('react');
|
|
8
8
|
const index = require('./index.cjs');
|
|
9
9
|
|
|
10
10
|
const QP_BACK_URL_NAME = "backUrl";
|
|
11
11
|
function useNavigationHistory() {
|
|
12
12
|
const context = React.useContext(index.NavigationHistoryContext);
|
|
13
|
-
const router$1 = router.
|
|
13
|
+
const router$1 = router.useRouter();
|
|
14
14
|
if (!context) {
|
|
15
15
|
throw new Error("useNavigationHistory debe usarse dentro de un NavigationHistoryProvider");
|
|
16
16
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useSearchParams } from 'next/navigation';
|
|
2
|
-
import {
|
|
2
|
+
import { useRouter } from 'next/router';
|
|
3
3
|
import { useContext } from 'react';
|
|
4
4
|
import { NavigationHistoryContext } from './index.js';
|
|
5
5
|
|
|
6
6
|
const QP_BACK_URL_NAME = "backUrl";
|
|
7
7
|
function useNavigationHistory() {
|
|
8
8
|
const context = useContext(NavigationHistoryContext);
|
|
9
|
-
const router =
|
|
9
|
+
const router = useRouter();
|
|
10
10
|
if (!context) {
|
|
11
11
|
throw new Error("useNavigationHistory debe usarse dentro de un NavigationHistoryProvider");
|
|
12
12
|
}
|