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
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __exports as headManagerContext_sharedRuntime } from '../../../../../_virtual/head-manager-context.shared-runtime.js';
|
|
2
|
-
import { __require as require_interop_require_default } from '../../../../@swc/helpers/cjs/_interop_require_default.js';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
|
|
5
|
-
var hasRequiredHeadManagerContext_sharedRuntime;
|
|
6
|
-
|
|
7
|
-
function requireHeadManagerContext_sharedRuntime () {
|
|
8
|
-
if (hasRequiredHeadManagerContext_sharedRuntime) return headManagerContext_sharedRuntime;
|
|
9
|
-
hasRequiredHeadManagerContext_sharedRuntime = 1;
|
|
10
|
-
(function (exports) {
|
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "HeadManagerContext", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function() {
|
|
17
|
-
return HeadManagerContext;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _interop_require_default = /*@__PURE__*/ require_interop_require_default();
|
|
21
|
-
const _react = /*#__PURE__*/ _interop_require_default._(React__default);
|
|
22
|
-
const HeadManagerContext = _react.default.createContext({});
|
|
23
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
24
|
-
HeadManagerContext.displayName = 'HeadManagerContext';
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} (headManagerContext_sharedRuntime));
|
|
29
|
-
return headManagerContext_sharedRuntime;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { requireHeadManagerContext_sharedRuntime as __require };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const detectDomainLocale = require('../../../../../../_virtual/detect-domain-locale2.cjs');
|
|
6
|
-
|
|
7
|
-
var hasRequiredDetectDomainLocale;
|
|
8
|
-
|
|
9
|
-
function requireDetectDomainLocale () {
|
|
10
|
-
if (hasRequiredDetectDomainLocale) return detectDomainLocale.__exports;
|
|
11
|
-
hasRequiredDetectDomainLocale = 1;
|
|
12
|
-
(function (exports) {
|
|
13
|
-
Object.defineProperty(exports, "__esModule", {
|
|
14
|
-
value: true
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "detectDomainLocale", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function() {
|
|
19
|
-
return detectDomainLocale;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
function detectDomainLocale(domainItems, hostname, detectedLocale) {
|
|
23
|
-
if (!domainItems) return;
|
|
24
|
-
if (detectedLocale) {
|
|
25
|
-
detectedLocale = detectedLocale.toLowerCase();
|
|
26
|
-
}
|
|
27
|
-
for (const item of domainItems){
|
|
28
|
-
// remove port if present
|
|
29
|
-
const domainHostname = item.domain?.split(':', 1)[0].toLowerCase();
|
|
30
|
-
if (hostname === domainHostname || detectedLocale === item.defaultLocale.toLowerCase() || item.locales?.some((locale)=>locale.toLowerCase() === detectedLocale)) {
|
|
31
|
-
return item;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} (detectDomainLocale.__exports));
|
|
38
|
-
return detectDomainLocale.__exports;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
exports.__require = requireDetectDomainLocale;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __exports as detectDomainLocale } from '../../../../../../_virtual/detect-domain-locale2.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredDetectDomainLocale;
|
|
4
|
-
|
|
5
|
-
function requireDetectDomainLocale () {
|
|
6
|
-
if (hasRequiredDetectDomainLocale) return detectDomainLocale;
|
|
7
|
-
hasRequiredDetectDomainLocale = 1;
|
|
8
|
-
(function (exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "detectDomainLocale", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return detectDomainLocale;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
function detectDomainLocale(domainItems, hostname, detectedLocale) {
|
|
19
|
-
if (!domainItems) return;
|
|
20
|
-
if (detectedLocale) {
|
|
21
|
-
detectedLocale = detectedLocale.toLowerCase();
|
|
22
|
-
}
|
|
23
|
-
for (const item of domainItems){
|
|
24
|
-
// remove port if present
|
|
25
|
-
const domainHostname = item.domain?.split(':', 1)[0].toLowerCase();
|
|
26
|
-
if (hostname === domainHostname || detectedLocale === item.defaultLocale.toLowerCase() || item.locales?.some((locale)=>locale.toLowerCase() === detectedLocale)) {
|
|
27
|
-
return item;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} (detectDomainLocale));
|
|
34
|
-
return detectDomainLocale;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { requireDetectDomainLocale as __require };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const normalizeLocalePath = require('../../../../../../_virtual/normalize-locale-path.cjs');
|
|
6
|
-
|
|
7
|
-
var hasRequiredNormalizeLocalePath;
|
|
8
|
-
|
|
9
|
-
function requireNormalizeLocalePath () {
|
|
10
|
-
if (hasRequiredNormalizeLocalePath) return normalizeLocalePath.__exports;
|
|
11
|
-
hasRequiredNormalizeLocalePath = 1;
|
|
12
|
-
(function (exports) {
|
|
13
|
-
Object.defineProperty(exports, "__esModule", {
|
|
14
|
-
value: true
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "normalizeLocalePath", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function() {
|
|
19
|
-
return normalizeLocalePath;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
/**
|
|
23
|
-
* A cache of lowercased locales for each list of locales. This is stored as a
|
|
24
|
-
* WeakMap so if the locales are garbage collected, the cache entry will be
|
|
25
|
-
* removed as well.
|
|
26
|
-
*/ const cache = new WeakMap();
|
|
27
|
-
function normalizeLocalePath(pathname, locales) {
|
|
28
|
-
// If locales is undefined, return the pathname as is.
|
|
29
|
-
if (!locales) return {
|
|
30
|
-
pathname
|
|
31
|
-
};
|
|
32
|
-
// Get the cached lowercased locales or create a new cache entry.
|
|
33
|
-
let lowercasedLocales = cache.get(locales);
|
|
34
|
-
if (!lowercasedLocales) {
|
|
35
|
-
lowercasedLocales = locales.map((locale)=>locale.toLowerCase());
|
|
36
|
-
cache.set(locales, lowercasedLocales);
|
|
37
|
-
}
|
|
38
|
-
let detectedLocale;
|
|
39
|
-
// The first segment will be empty, because it has a leading `/`. If
|
|
40
|
-
// there is no further segment, there is no locale (or it's the default).
|
|
41
|
-
const segments = pathname.split('/', 2);
|
|
42
|
-
// If there's no second segment (ie, the pathname is just `/`), there's no
|
|
43
|
-
// locale.
|
|
44
|
-
if (!segments[1]) return {
|
|
45
|
-
pathname
|
|
46
|
-
};
|
|
47
|
-
// The second segment will contain the locale part if any.
|
|
48
|
-
const segment = segments[1].toLowerCase();
|
|
49
|
-
// See if the segment matches one of the locales. If it doesn't, there is
|
|
50
|
-
// no locale (or it's the default).
|
|
51
|
-
const index = lowercasedLocales.indexOf(segment);
|
|
52
|
-
if (index < 0) return {
|
|
53
|
-
pathname
|
|
54
|
-
};
|
|
55
|
-
// Return the case-sensitive locale.
|
|
56
|
-
detectedLocale = locales[index];
|
|
57
|
-
// Remove the `/${locale}` part of the pathname.
|
|
58
|
-
pathname = pathname.slice(detectedLocale.length + 1) || '/';
|
|
59
|
-
return {
|
|
60
|
-
pathname,
|
|
61
|
-
detectedLocale
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} (normalizeLocalePath.__exports));
|
|
67
|
-
return normalizeLocalePath.__exports;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
exports.__require = requireNormalizeLocalePath;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { __exports as normalizeLocalePath } from '../../../../../../_virtual/normalize-locale-path.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredNormalizeLocalePath;
|
|
4
|
-
|
|
5
|
-
function requireNormalizeLocalePath () {
|
|
6
|
-
if (hasRequiredNormalizeLocalePath) return normalizeLocalePath;
|
|
7
|
-
hasRequiredNormalizeLocalePath = 1;
|
|
8
|
-
(function (exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "normalizeLocalePath", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return normalizeLocalePath;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
/**
|
|
19
|
-
* A cache of lowercased locales for each list of locales. This is stored as a
|
|
20
|
-
* WeakMap so if the locales are garbage collected, the cache entry will be
|
|
21
|
-
* removed as well.
|
|
22
|
-
*/ const cache = new WeakMap();
|
|
23
|
-
function normalizeLocalePath(pathname, locales) {
|
|
24
|
-
// If locales is undefined, return the pathname as is.
|
|
25
|
-
if (!locales) return {
|
|
26
|
-
pathname
|
|
27
|
-
};
|
|
28
|
-
// Get the cached lowercased locales or create a new cache entry.
|
|
29
|
-
let lowercasedLocales = cache.get(locales);
|
|
30
|
-
if (!lowercasedLocales) {
|
|
31
|
-
lowercasedLocales = locales.map((locale)=>locale.toLowerCase());
|
|
32
|
-
cache.set(locales, lowercasedLocales);
|
|
33
|
-
}
|
|
34
|
-
let detectedLocale;
|
|
35
|
-
// The first segment will be empty, because it has a leading `/`. If
|
|
36
|
-
// there is no further segment, there is no locale (or it's the default).
|
|
37
|
-
const segments = pathname.split('/', 2);
|
|
38
|
-
// If there's no second segment (ie, the pathname is just `/`), there's no
|
|
39
|
-
// locale.
|
|
40
|
-
if (!segments[1]) return {
|
|
41
|
-
pathname
|
|
42
|
-
};
|
|
43
|
-
// The second segment will contain the locale part if any.
|
|
44
|
-
const segment = segments[1].toLowerCase();
|
|
45
|
-
// See if the segment matches one of the locales. If it doesn't, there is
|
|
46
|
-
// no locale (or it's the default).
|
|
47
|
-
const index = lowercasedLocales.indexOf(segment);
|
|
48
|
-
if (index < 0) return {
|
|
49
|
-
pathname
|
|
50
|
-
};
|
|
51
|
-
// Return the case-sensitive locale.
|
|
52
|
-
detectedLocale = locales[index];
|
|
53
|
-
// Remove the `/${locale}` part of the pathname.
|
|
54
|
-
pathname = pathname.slice(detectedLocale.length + 1) || '/';
|
|
55
|
-
return {
|
|
56
|
-
pathname,
|
|
57
|
-
detectedLocale
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} (normalizeLocalePath));
|
|
63
|
-
return normalizeLocalePath;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { requireNormalizeLocalePath as __require };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const invariantError = require('../../../../../_virtual/invariant-error.cjs');
|
|
6
|
-
|
|
7
|
-
var hasRequiredInvariantError;
|
|
8
|
-
|
|
9
|
-
function requireInvariantError () {
|
|
10
|
-
if (hasRequiredInvariantError) return invariantError.__exports;
|
|
11
|
-
hasRequiredInvariantError = 1;
|
|
12
|
-
(function (exports) {
|
|
13
|
-
Object.defineProperty(exports, "__esModule", {
|
|
14
|
-
value: true
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "InvariantError", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function() {
|
|
19
|
-
return InvariantError;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
class InvariantError extends Error {
|
|
23
|
-
constructor(message, options){
|
|
24
|
-
super(`Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`, options);
|
|
25
|
-
this.name = 'InvariantError';
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} (invariantError.__exports));
|
|
31
|
-
return invariantError.__exports;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
exports.__require = requireInvariantError;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __exports as invariantError } from '../../../../../_virtual/invariant-error.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredInvariantError;
|
|
4
|
-
|
|
5
|
-
function requireInvariantError () {
|
|
6
|
-
if (hasRequiredInvariantError) return invariantError;
|
|
7
|
-
hasRequiredInvariantError = 1;
|
|
8
|
-
(function (exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "InvariantError", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return InvariantError;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
class InvariantError extends Error {
|
|
19
|
-
constructor(message, options){
|
|
20
|
-
super(`Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`, options);
|
|
21
|
-
this.name = 'InvariantError';
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} (invariantError));
|
|
27
|
-
return invariantError;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { requireInvariantError as __require };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const isPlainObject = require('../../../../../_virtual/is-plain-object.cjs');
|
|
6
|
-
|
|
7
|
-
var hasRequiredIsPlainObject;
|
|
8
|
-
|
|
9
|
-
function requireIsPlainObject () {
|
|
10
|
-
if (hasRequiredIsPlainObject) return isPlainObject.__exports;
|
|
11
|
-
hasRequiredIsPlainObject = 1;
|
|
12
|
-
(function (exports) {
|
|
13
|
-
Object.defineProperty(exports, "__esModule", {
|
|
14
|
-
value: true
|
|
15
|
-
});
|
|
16
|
-
function _export(target, all) {
|
|
17
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: all[name]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
_export(exports, {
|
|
23
|
-
getObjectClassLabel: function() {
|
|
24
|
-
return getObjectClassLabel;
|
|
25
|
-
},
|
|
26
|
-
isPlainObject: function() {
|
|
27
|
-
return isPlainObject;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
function getObjectClassLabel(value) {
|
|
31
|
-
return Object.prototype.toString.call(value);
|
|
32
|
-
}
|
|
33
|
-
function isPlainObject(value) {
|
|
34
|
-
if (getObjectClassLabel(value) !== '[object Object]') {
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
const prototype = Object.getPrototypeOf(value);
|
|
38
|
-
/**
|
|
39
|
-
* this used to be previously:
|
|
40
|
-
*
|
|
41
|
-
* `return prototype === null || prototype === Object.prototype`
|
|
42
|
-
*
|
|
43
|
-
* but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail.
|
|
44
|
-
*
|
|
45
|
-
* It was changed to the current implementation since it's resilient to serialization.
|
|
46
|
-
*/ return prototype === null || prototype.hasOwnProperty('isPrototypeOf');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} (isPlainObject.__exports));
|
|
51
|
-
return isPlainObject.__exports;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
exports.__require = requireIsPlainObject;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { __exports as isPlainObject } from '../../../../../_virtual/is-plain-object.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredIsPlainObject;
|
|
4
|
-
|
|
5
|
-
function requireIsPlainObject () {
|
|
6
|
-
if (hasRequiredIsPlainObject) return isPlainObject;
|
|
7
|
-
hasRequiredIsPlainObject = 1;
|
|
8
|
-
(function (exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
function _export(target, all) {
|
|
13
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: all[name]
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
_export(exports, {
|
|
19
|
-
getObjectClassLabel: function() {
|
|
20
|
-
return getObjectClassLabel;
|
|
21
|
-
},
|
|
22
|
-
isPlainObject: function() {
|
|
23
|
-
return isPlainObject;
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
function getObjectClassLabel(value) {
|
|
27
|
-
return Object.prototype.toString.call(value);
|
|
28
|
-
}
|
|
29
|
-
function isPlainObject(value) {
|
|
30
|
-
if (getObjectClassLabel(value) !== '[object Object]') {
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
const prototype = Object.getPrototypeOf(value);
|
|
34
|
-
/**
|
|
35
|
-
* this used to be previously:
|
|
36
|
-
*
|
|
37
|
-
* `return prototype === null || prototype === Object.prototype`
|
|
38
|
-
*
|
|
39
|
-
* but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail.
|
|
40
|
-
*
|
|
41
|
-
* It was changed to the current implementation since it's resilient to serialization.
|
|
42
|
-
*/ return prototype === null || prototype.hasOwnProperty('isPrototypeOf');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} (isPlainObject));
|
|
47
|
-
return isPlainObject;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export { requireIsPlainObject as __require };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const mitt = require('../../../../../_virtual/mitt.cjs');
|
|
6
|
-
|
|
7
|
-
/*
|
|
8
|
-
MIT License
|
|
9
|
-
|
|
10
|
-
Copyright (c) Jason Miller (https://jasonformat.com/)
|
|
11
|
-
|
|
12
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
13
|
-
|
|
14
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
var hasRequiredMitt;
|
|
20
|
-
|
|
21
|
-
function requireMitt () {
|
|
22
|
-
if (hasRequiredMitt) return mitt.__exports;
|
|
23
|
-
hasRequiredMitt = 1;
|
|
24
|
-
(function (exports) {
|
|
25
|
-
Object.defineProperty(exports, "__esModule", {
|
|
26
|
-
value: true
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "default", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function() {
|
|
31
|
-
return mitt;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
function mitt() {
|
|
35
|
-
const all = Object.create(null);
|
|
36
|
-
return {
|
|
37
|
-
on (type, handler) {
|
|
38
|
-
(all[type] || (all[type] = [])).push(handler);
|
|
39
|
-
},
|
|
40
|
-
off (type, handler) {
|
|
41
|
-
if (all[type]) {
|
|
42
|
-
all[type].splice(all[type].indexOf(handler) >>> 0, 1);
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
emit (type, ...evts) {
|
|
46
|
-
(all[type] || []).slice().map((handler)=>{
|
|
47
|
-
handler(...evts);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} (mitt.__exports));
|
|
55
|
-
return mitt.__exports;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
exports.__require = requireMitt;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { __exports as mitt } from '../../../../../_virtual/mitt.js';
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
MIT License
|
|
5
|
-
|
|
6
|
-
Copyright (c) Jason Miller (https://jasonformat.com/)
|
|
7
|
-
|
|
8
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
11
|
-
|
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
var hasRequiredMitt;
|
|
16
|
-
|
|
17
|
-
function requireMitt () {
|
|
18
|
-
if (hasRequiredMitt) return mitt;
|
|
19
|
-
hasRequiredMitt = 1;
|
|
20
|
-
(function (exports) {
|
|
21
|
-
Object.defineProperty(exports, "__esModule", {
|
|
22
|
-
value: true
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "default", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function() {
|
|
27
|
-
return mitt;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
function mitt() {
|
|
31
|
-
const all = Object.create(null);
|
|
32
|
-
return {
|
|
33
|
-
on (type, handler) {
|
|
34
|
-
(all[type] || (all[type] = [])).push(handler);
|
|
35
|
-
},
|
|
36
|
-
off (type, handler) {
|
|
37
|
-
if (all[type]) {
|
|
38
|
-
all[type].splice(all[type].indexOf(handler) >>> 0, 1);
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
emit (type, ...evts) {
|
|
42
|
-
(all[type] || []).slice().map((handler)=>{
|
|
43
|
-
handler(...evts);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} (mitt));
|
|
51
|
-
return mitt;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export { requireMitt as __require };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const denormalizePagePath = require('../../../../../../_virtual/denormalize-page-path.cjs');
|
|
6
|
-
const index = require('../router/utils/index.cjs');
|
|
7
|
-
const normalizePathSep = require('./normalize-path-sep.cjs');
|
|
8
|
-
|
|
9
|
-
var hasRequiredDenormalizePagePath;
|
|
10
|
-
|
|
11
|
-
function requireDenormalizePagePath () {
|
|
12
|
-
if (hasRequiredDenormalizePagePath) return denormalizePagePath.__exports;
|
|
13
|
-
hasRequiredDenormalizePagePath = 1;
|
|
14
|
-
(function (exports) {
|
|
15
|
-
Object.defineProperty(exports, "__esModule", {
|
|
16
|
-
value: true
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "denormalizePagePath", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function() {
|
|
21
|
-
return denormalizePagePath;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
const _utils = index.__require();
|
|
25
|
-
const _normalizepathsep = normalizePathSep.__require();
|
|
26
|
-
function denormalizePagePath(page) {
|
|
27
|
-
let _page = (0, _normalizepathsep.normalizePathSep)(page);
|
|
28
|
-
return _page.startsWith('/index/') && !(0, _utils.isDynamicRoute)(_page) ? _page.slice(6) : _page !== '/index' ? _page : '/';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} (denormalizePagePath.__exports));
|
|
33
|
-
return denormalizePagePath.__exports;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
exports.__require = requireDenormalizePagePath;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __exports as denormalizePagePath } from '../../../../../../_virtual/denormalize-page-path.js';
|
|
2
|
-
import { __require as requireUtils } from '../router/utils/index.js';
|
|
3
|
-
import { __require as requireNormalizePathSep } from './normalize-path-sep.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredDenormalizePagePath;
|
|
6
|
-
|
|
7
|
-
function requireDenormalizePagePath () {
|
|
8
|
-
if (hasRequiredDenormalizePagePath) return denormalizePagePath;
|
|
9
|
-
hasRequiredDenormalizePagePath = 1;
|
|
10
|
-
(function (exports) {
|
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "denormalizePagePath", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function() {
|
|
17
|
-
return denormalizePagePath;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _utils = requireUtils();
|
|
21
|
-
const _normalizepathsep = requireNormalizePathSep();
|
|
22
|
-
function denormalizePagePath(page) {
|
|
23
|
-
let _page = (0, _normalizepathsep.normalizePathSep)(page);
|
|
24
|
-
return _page.startsWith('/index/') && !(0, _utils.isDynamicRoute)(_page) ? _page.slice(6) : _page !== '/index' ? _page : '/';
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} (denormalizePagePath));
|
|
29
|
-
return denormalizePagePath;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { requireDenormalizePagePath as __require };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const ensureLeadingSlash = require('../../../../../../_virtual/ensure-leading-slash.cjs');
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* For a given page path, this function ensures that there is a leading slash.
|
|
9
|
-
* If there is not a leading slash, one is added, otherwise it is noop.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
var hasRequiredEnsureLeadingSlash;
|
|
13
|
-
|
|
14
|
-
function requireEnsureLeadingSlash () {
|
|
15
|
-
if (hasRequiredEnsureLeadingSlash) return ensureLeadingSlash.__exports;
|
|
16
|
-
hasRequiredEnsureLeadingSlash = 1;
|
|
17
|
-
(function (exports) {
|
|
18
|
-
Object.defineProperty(exports, "__esModule", {
|
|
19
|
-
value: true
|
|
20
|
-
});
|
|
21
|
-
Object.defineProperty(exports, "ensureLeadingSlash", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function() {
|
|
24
|
-
return ensureLeadingSlash;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
function ensureLeadingSlash(path) {
|
|
28
|
-
return path.startsWith('/') ? path : `/${path}`;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} (ensureLeadingSlash.__exports));
|
|
33
|
-
return ensureLeadingSlash.__exports;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
exports.__require = requireEnsureLeadingSlash;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __exports as ensureLeadingSlash } from '../../../../../../_virtual/ensure-leading-slash.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* For a given page path, this function ensures that there is a leading slash.
|
|
5
|
-
* If there is not a leading slash, one is added, otherwise it is noop.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
var hasRequiredEnsureLeadingSlash;
|
|
9
|
-
|
|
10
|
-
function requireEnsureLeadingSlash () {
|
|
11
|
-
if (hasRequiredEnsureLeadingSlash) return ensureLeadingSlash;
|
|
12
|
-
hasRequiredEnsureLeadingSlash = 1;
|
|
13
|
-
(function (exports) {
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "ensureLeadingSlash", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return ensureLeadingSlash;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
function ensureLeadingSlash(path) {
|
|
24
|
-
return path.startsWith('/') ? path : `/${path}`;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} (ensureLeadingSlash));
|
|
29
|
-
return ensureLeadingSlash;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { requireEnsureLeadingSlash as __require };
|