lkd-web-kit 0.7.15 → 0.7.17
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 +2 -2
- package/dist/components/InfinitySelect/index.cjs +9 -10
- package/dist/components/InfinitySelect/index.js +0 -1
- 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 +5 -6
- package/dist/contexts/NavigationHistoryContext/hook.js +2 -3
- 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/FormSubmitButton.cjs +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 +2 -2
- 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/node_modules/@tanstack/react-virtual/dist/esm/index.cjs +2 -2
- package/package.json +1 -1
- 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/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,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
|
const hooks = require('@mantine/hooks');
|
|
8
8
|
const clsx = require('clsx');
|
|
@@ -29,7 +29,7 @@ const InfinityLoadMoreButton = ({
|
|
|
29
29
|
if (hasNextPage && !isFetchingNextPage && entry?.isIntersecting)
|
|
30
30
|
fetchNextPage();
|
|
31
31
|
}, [entry?.isIntersecting]);
|
|
32
|
-
return /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33
33
|
core.Button,
|
|
34
34
|
{
|
|
35
35
|
ref,
|
|
@@ -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');
|
|
@@ -70,9 +70,8 @@ function InfinitySelect({
|
|
|
70
70
|
overscan: 7,
|
|
71
71
|
getScrollElement: () => scrollRef.current
|
|
72
72
|
});
|
|
73
|
-
console.log(virtualizer.getTotalSize());
|
|
74
73
|
const scrollRef = React.useRef(null);
|
|
75
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
76
75
|
core.Combobox,
|
|
77
76
|
{
|
|
78
77
|
store: combobox,
|
|
@@ -92,10 +91,10 @@ function InfinitySelect({
|
|
|
92
91
|
},
|
|
93
92
|
...comboboxProps,
|
|
94
93
|
children: [
|
|
95
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Combobox.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
96
95
|
core.InputBase,
|
|
97
96
|
{
|
|
98
|
-
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, {}),
|
|
99
98
|
component: "input",
|
|
100
99
|
rightSectionPointerEvents: value ? void 0 : "none",
|
|
101
100
|
readOnly: !searchable || props.readOnly,
|
|
@@ -124,7 +123,7 @@ function InfinitySelect({
|
|
|
124
123
|
variant: props.readOnly ? "filled" : "default"
|
|
125
124
|
}
|
|
126
125
|
) }),
|
|
127
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.Combobox.Dropdown, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
128
127
|
core.Combobox.Options,
|
|
129
128
|
{
|
|
130
129
|
mih: 50,
|
|
@@ -133,8 +132,8 @@ function InfinitySelect({
|
|
|
133
132
|
overflowY: "auto"
|
|
134
133
|
},
|
|
135
134
|
ref: scrollRef,
|
|
136
|
-
children: data.length > 0 ? /* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
135
|
+
children: data.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
136
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { ...virtualStyles.getVirtualContainerProps(virtualizer), children: virtualizer.getVirtualItems().map((virtualItem) => {
|
|
138
137
|
const option = data[virtualItem.index];
|
|
139
138
|
const virtualItemProps = virtualStyles.getVirtualItemProps(
|
|
140
139
|
virtualItem,
|
|
@@ -154,7 +153,7 @@ function InfinitySelect({
|
|
|
154
153
|
renderOption ? renderOption({ option }) : getOptionLabel(option)
|
|
155
154
|
);
|
|
156
155
|
}) }),
|
|
157
|
-
virtualizer.getTotalSize() !== 0 && /* @__PURE__ */
|
|
156
|
+
virtualizer.getTotalSize() !== 0 && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { className: "mt-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
158
157
|
index$1.InfinityLoadMoreButton,
|
|
159
158
|
{
|
|
160
159
|
infinity,
|
|
@@ -163,7 +162,7 @@ function InfinitySelect({
|
|
|
163
162
|
...loadMoreButtonProps
|
|
164
163
|
}
|
|
165
164
|
) })
|
|
166
|
-
] }) : !infinity.isFetching ? /* @__PURE__ */
|
|
165
|
+
] }) : !infinity.isFetching ? /* @__PURE__ */ jsxRuntime.jsx(core.Combobox.Empty, { mih: 24, children: nothingFoundMessage ? typeof nothingFoundMessage === "function" ? nothingFoundMessage({ combobox }) : nothingFoundMessage : "No hay resultados" }) : null
|
|
167
166
|
}
|
|
168
167
|
) })
|
|
169
168
|
]
|
|
@@ -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,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const navigation = require('next/navigation');
|
|
6
|
-
const router = require('../../_virtual/router.cjs');
|
|
7
6
|
const React = require('react');
|
|
8
7
|
const index = require('./index.cjs');
|
|
9
8
|
|
|
10
9
|
const QP_BACK_URL_NAME = "backUrl";
|
|
11
10
|
function useNavigationHistory() {
|
|
12
11
|
const context = React.useContext(index.NavigationHistoryContext);
|
|
13
|
-
const router
|
|
12
|
+
const router = navigation.useRouter();
|
|
14
13
|
if (!context) {
|
|
15
14
|
throw new Error("useNavigationHistory debe usarse dentro de un NavigationHistoryProvider");
|
|
16
15
|
}
|
|
@@ -19,20 +18,20 @@ function useNavigationHistory() {
|
|
|
19
18
|
const goBack = (fallback) => {
|
|
20
19
|
const returnUrl = searchParams.get(QP_BACK_URL_NAME);
|
|
21
20
|
if (returnUrl) {
|
|
22
|
-
router
|
|
21
|
+
router.push(returnUrl);
|
|
23
22
|
return;
|
|
24
23
|
}
|
|
25
24
|
if (history.length <= 1) {
|
|
26
|
-
router
|
|
25
|
+
router.push(fallback ?? "/");
|
|
27
26
|
return;
|
|
28
27
|
}
|
|
29
28
|
const previousRoute = history[history.length - 2];
|
|
30
29
|
const currentRoute = history[history.length - 1];
|
|
31
30
|
if (history.length >= 3 && history[history.length - 3] === currentRoute) {
|
|
32
|
-
router
|
|
31
|
+
router.push(fallback ?? "/");
|
|
33
32
|
return;
|
|
34
33
|
}
|
|
35
|
-
router
|
|
34
|
+
router.push(previousRoute ?? "/");
|
|
36
35
|
};
|
|
37
36
|
return {
|
|
38
37
|
history,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { useSearchParams } from 'next/navigation';
|
|
2
|
-
import { r as routerExports } from '../../_virtual/router.js';
|
|
1
|
+
import { useRouter, useSearchParams } from 'next/navigation';
|
|
3
2
|
import { useContext } from 'react';
|
|
4
3
|
import { NavigationHistoryContext } from './index.js';
|
|
5
4
|
|
|
6
5
|
const QP_BACK_URL_NAME = "backUrl";
|
|
7
6
|
function useNavigationHistory() {
|
|
8
7
|
const context = useContext(NavigationHistoryContext);
|
|
9
|
-
const router =
|
|
8
|
+
const router = useRouter();
|
|
10
9
|
if (!context) {
|
|
11
10
|
throw new Error("useNavigationHistory debe usarse dentro de un NavigationHistoryProvider");
|
|
12
11
|
}
|
|
@@ -3,15 +3,15 @@
|
|
|
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 navigation = require('next/navigation');
|
|
8
8
|
const React = require('react');
|
|
9
9
|
|
|
10
10
|
const NavigationHistoryContext = React.createContext(null);
|
|
11
11
|
function NavigationHistoryProvider({ children }) {
|
|
12
12
|
const historyRef = React.useRef([]);
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationHistoryContext.Provider, { value: { history: historyRef.current }, children: [
|
|
14
|
+
/* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: null, children: /* @__PURE__ */ jsxRuntime.jsx(HistoryTracker, { historyRef }) }),
|
|
15
15
|
children
|
|
16
16
|
] });
|
|
17
17
|
}
|
|
@@ -3,14 +3,14 @@
|
|
|
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
|
|
|
9
9
|
const PageData = React.createContext(void 0);
|
|
10
10
|
const PageDataProvider = ({
|
|
11
11
|
value,
|
|
12
12
|
children
|
|
13
|
-
}) => /* @__PURE__ */
|
|
13
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(PageData.Provider, { value, children });
|
|
14
14
|
const usePageData = () => {
|
|
15
15
|
const data = React.useContext(PageData);
|
|
16
16
|
if (data === void 0) throw new Error("Out of context: usePageData");
|
package/dist/form/Form.cjs
CHANGED
|
@@ -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 core = require('@mantine/core');
|
|
8
8
|
const reactHookForm = require('react-hook-form');
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ const Form = ({
|
|
|
14
14
|
onSubmitError,
|
|
15
15
|
...rest
|
|
16
16
|
}) => {
|
|
17
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactHookForm.FormProvider, { ...methods, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18
18
|
core.Box,
|
|
19
19
|
{
|
|
20
20
|
component: "form",
|
|
@@ -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 core = require('@mantine/core');
|
|
8
8
|
const reactHookForm = require('react-hook-form');
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ const FormSubmitButton = ({
|
|
|
15
15
|
const {
|
|
16
16
|
formState: { isSubmitting, isSubmitSuccessful }
|
|
17
17
|
} = reactHookForm.useFormContext();
|
|
18
|
-
return /* @__PURE__ */
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19
19
|
core.Button,
|
|
20
20
|
{
|
|
21
21
|
disabled: disabled ?? (isSubmitSuccessful && disabledWhenSuccess),
|
|
@@ -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 core = require('@mantine/core');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormCheckbox = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormCheckbox = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
core.Checkbox,
|
|
11
11
|
{
|
|
12
12
|
...field,
|
|
@@ -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 index = require('../../components/MyCheckboxGroup/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormCheckboxGroup = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormCheckboxGroup = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyCheckboxGroup,
|
|
11
11
|
{
|
|
12
12
|
...field,
|
|
@@ -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 index = require('../../components/MyDateInput/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormDateInput = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormDateInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyDateInput,
|
|
11
11
|
{
|
|
12
12
|
...field,
|