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
|
@@ -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,11 +3,11 @@
|
|
|
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
|
|
|
10
|
-
const
|
|
10
|
+
const FormSubmitButton = ({
|
|
11
11
|
disabled,
|
|
12
12
|
disabledWhenSuccess,
|
|
13
13
|
...props
|
|
@@ -15,7 +15,7 @@ const FormButtonSubmit = ({
|
|
|
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),
|
|
@@ -26,4 +26,4 @@ const FormButtonSubmit = ({
|
|
|
26
26
|
);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
exports.
|
|
29
|
+
exports.FormSubmitButton = FormSubmitButton;
|
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { Button } from '@mantine/core';
|
|
4
4
|
import { useFormContext } from 'react-hook-form';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const FormSubmitButton = ({
|
|
7
7
|
disabled,
|
|
8
8
|
disabledWhenSuccess,
|
|
9
9
|
...props
|
|
@@ -22,4 +22,4 @@ const FormButtonSubmit = ({
|
|
|
22
22
|
);
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
export {
|
|
25
|
+
export { FormSubmitButton };
|
|
@@ -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,
|
|
@@ -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/MyDatePickerInput/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormDatePickerInput = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormDatePickerInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyDatePickerInput,
|
|
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/MyDateTimePicker/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormDateTimePicker = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormDateTimePicker = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyDateTimePicker,
|
|
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/MyMonthPickerInput/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormMonthPickerInput = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormMonthPickerInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyMonthPickerInput,
|
|
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/MyMultiSelect/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormMultiSelect = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormMultiSelect = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyMultiSelect,
|
|
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/MyNumberInput/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormNumberInput = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormNumberInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyNumberInput,
|
|
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/MyRadioGroup/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormRadioGroup = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormRadioGroup = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyRadioGroup,
|
|
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/MySelect/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormSelect = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormSelect = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MySelect,
|
|
11
11
|
{
|
|
12
12
|
...field,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
const index = require('../../components/
|
|
5
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
const index = require('../../components/InfinitySelect/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
9
|
const FormInfinitySelect = withController.withController(({ field, props }) => {
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11
11
|
index.InfinitySelect,
|
|
12
12
|
{
|
|
13
13
|
...field,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { InfinitySelect } from '../../components/
|
|
2
|
+
import { InfinitySelect } from '../../components/InfinitySelect/index.js';
|
|
3
3
|
import { withController } from '../../hocs/withController.js';
|
|
4
4
|
|
|
5
5
|
const FormInfinitySelect = withController(({ field, props }) => {
|
|
@@ -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/MyTextInput/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormTextInput = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormTextInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyTextInput,
|
|
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/MyTextarea/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormTextarea = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormTextarea = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyTextarea,
|
|
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/MyTimeInput/index.cjs');
|
|
7
7
|
const withController = require('../../hocs/withController.cjs');
|
|
8
8
|
|
|
9
|
-
const FormTimeInput = withController.withController(({ field, props }) => /* @__PURE__ */
|
|
9
|
+
const FormTimeInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
10
|
index.MyTimeInput,
|
|
11
11
|
{
|
|
12
12
|
...field,
|
|
@@ -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 reactHookForm = require('react-hook-form');
|
|
8
8
|
const zodValidator = require('../form/utils/zodValidator.cjs');
|
|
9
9
|
|
|
10
10
|
const withController = (WrappedComponent, getControllerProps) => {
|
|
11
11
|
const FormField = (props) => {
|
|
12
12
|
const { validate, name = "", placeholder, label, description, ...withFormRestProps } = props;
|
|
13
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14
14
|
reactHookForm.Controller,
|
|
15
15
|
{
|
|
16
16
|
name,
|
|
@@ -44,7 +44,7 @@ const withController = (WrappedComponent, getControllerProps) => {
|
|
|
44
44
|
},
|
|
45
45
|
...withFormRestProps
|
|
46
46
|
};
|
|
47
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ jsxRuntime.jsx(WrappedComponent, { ...fieldProps });
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
);
|
|
@@ -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
|
|
|
9
9
|
const withModalManager = (WrappedComponent) => {
|
|
@@ -18,7 +18,7 @@ const withModalManager = (WrappedComponent) => {
|
|
|
18
18
|
if (props.modalProps.opened) setTimeout(() => setIsOpen(true), 0);
|
|
19
19
|
else onClose();
|
|
20
20
|
}, [props.modalProps.opened]);
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22
22
|
WrappedComponent,
|
|
23
23
|
{
|
|
24
24
|
...props,
|
package/dist/index.cjs
CHANGED
|
@@ -3,31 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const index = require('./components/EmptyState/index.cjs');
|
|
6
|
-
const index$1 = require('./components/InfinityLoader/index.cjs');
|
|
7
6
|
const NavItems = require('./components/NavItems.cjs');
|
|
8
7
|
const Icon = require('./components/Icon.cjs');
|
|
9
|
-
const index$
|
|
10
|
-
const index$
|
|
11
|
-
const index$
|
|
12
|
-
const index$
|
|
13
|
-
const index$
|
|
14
|
-
const index$
|
|
15
|
-
const index$
|
|
16
|
-
const index$
|
|
17
|
-
const index$
|
|
18
|
-
const index$
|
|
19
|
-
const index$
|
|
20
|
-
const index$
|
|
21
|
-
const index$
|
|
22
|
-
const index$
|
|
23
|
-
const index$
|
|
8
|
+
const index$1 = require('./components/InfinityLoadMoreButton/index.cjs');
|
|
9
|
+
const index$2 = require('./components/MyDatePickerInput/index.cjs');
|
|
10
|
+
const index$3 = require('./components/MyDateTimePicker/index.cjs');
|
|
11
|
+
const index$4 = require('./components/MyNotifications/index.cjs');
|
|
12
|
+
const index$5 = require('./components/MyNumberInput/index.cjs');
|
|
13
|
+
const index$6 = require('./components/MySelect/index.cjs');
|
|
14
|
+
const index$7 = require('./components/MyTextarea/index.cjs');
|
|
15
|
+
const index$8 = require('./components/MyTextInput/index.cjs');
|
|
16
|
+
const index$9 = require('./components/MyTimeInput/index.cjs');
|
|
17
|
+
const index$a = require('./components/InfinitySelect/index.cjs');
|
|
18
|
+
const index$b = require('./components/MyMultiSelect/index.cjs');
|
|
19
|
+
const index$c = require('./components/MyMonthPickerInput/index.cjs');
|
|
20
|
+
const index$d = require('./components/MyDateInput/index.cjs');
|
|
21
|
+
const index$e = require('./components/MyCheckboxGroup/index.cjs');
|
|
22
|
+
const index$f = require('./components/MyRadioGroup/index.cjs');
|
|
24
23
|
const httpStatus = require('./consts/http-status.cjs');
|
|
25
24
|
const revalidate = require('./consts/revalidate.cjs');
|
|
26
|
-
const index$
|
|
25
|
+
const index$g = require('./contexts/NavigationHistoryContext/index.cjs');
|
|
27
26
|
const hook = require('./contexts/NavigationHistoryContext/hook.cjs');
|
|
28
|
-
const index$
|
|
27
|
+
const index$h = require('./contexts/PageDataContext/index.cjs');
|
|
29
28
|
const Form = require('./form/Form.cjs');
|
|
30
|
-
const
|
|
29
|
+
const FormSubmitButton = require('./form/FormSubmitButton.cjs');
|
|
31
30
|
const zodValidator = require('./form/utils/zodValidator.cjs');
|
|
32
31
|
const nullableButRequired = require('./form/utils/nullable-but-required.cjs');
|
|
33
32
|
const optionalButRequired = require('./form/utils/optional-but-required.cjs');
|
|
@@ -68,33 +67,32 @@ const virtualStyles = require('./utils/virtual-styles.cjs');
|
|
|
68
67
|
|
|
69
68
|
|
|
70
69
|
exports.EmptyState = index.EmptyState;
|
|
71
|
-
exports.InfinityLoader = index$1.InfinityLoader;
|
|
72
70
|
exports.NavItems = NavItems.NavItems;
|
|
73
71
|
exports.Icon = Icon.Icon;
|
|
74
|
-
exports.InfinityLoadMoreButton = index$
|
|
75
|
-
exports.MyDatePickerInput = index$
|
|
76
|
-
exports.MyDateTimePicker = index$
|
|
77
|
-
exports.MyNotifications = index$
|
|
78
|
-
exports.MyNumberInput = index$
|
|
79
|
-
exports.MySelect = index$
|
|
80
|
-
exports.MyTextarea = index$
|
|
81
|
-
exports.MyTextInput = index$
|
|
82
|
-
exports.MyTimeInput = index$
|
|
83
|
-
exports.InfinitySelect = index$
|
|
84
|
-
exports.MyMultiSelect = index$
|
|
85
|
-
exports.MyMonthPickerInput = index$
|
|
86
|
-
exports.MyDateInput = index$
|
|
87
|
-
exports.MyCheckboxGroup = index$
|
|
88
|
-
exports.MyRadioGroup = index$
|
|
72
|
+
exports.InfinityLoadMoreButton = index$1.InfinityLoadMoreButton;
|
|
73
|
+
exports.MyDatePickerInput = index$2.MyDatePickerInput;
|
|
74
|
+
exports.MyDateTimePicker = index$3.MyDateTimePicker;
|
|
75
|
+
exports.MyNotifications = index$4.MyNotifications;
|
|
76
|
+
exports.MyNumberInput = index$5.MyNumberInput;
|
|
77
|
+
exports.MySelect = index$6.MySelect;
|
|
78
|
+
exports.MyTextarea = index$7.MyTextarea;
|
|
79
|
+
exports.MyTextInput = index$8.MyTextInput;
|
|
80
|
+
exports.MyTimeInput = index$9.MyTimeInput;
|
|
81
|
+
exports.InfinitySelect = index$a.InfinitySelect;
|
|
82
|
+
exports.MyMultiSelect = index$b.MyMultiSelect;
|
|
83
|
+
exports.MyMonthPickerInput = index$c.MyMonthPickerInput;
|
|
84
|
+
exports.MyDateInput = index$d.MyDateInput;
|
|
85
|
+
exports.MyCheckboxGroup = index$e.MyCheckboxGroup;
|
|
86
|
+
exports.MyRadioGroup = index$f.MyRadioGroup;
|
|
89
87
|
exports.HttpStatus = httpStatus.HttpStatus;
|
|
90
88
|
exports.Revalidate = revalidate.Revalidate;
|
|
91
|
-
exports.NavigationHistoryProvider = index$
|
|
89
|
+
exports.NavigationHistoryProvider = index$g.NavigationHistoryProvider;
|
|
92
90
|
exports.QP_BACK_URL_NAME = hook.QP_BACK_URL_NAME;
|
|
93
91
|
exports.useNavigationHistory = hook.useNavigationHistory;
|
|
94
|
-
exports.PageDataProvider = index$
|
|
95
|
-
exports.usePageData = index$
|
|
92
|
+
exports.PageDataProvider = index$h.PageDataProvider;
|
|
93
|
+
exports.usePageData = index$h.usePageData;
|
|
96
94
|
exports.Form = Form.Form;
|
|
97
|
-
exports.
|
|
95
|
+
exports.FormSubmitButton = FormSubmitButton.FormSubmitButton;
|
|
98
96
|
exports.zodValidator = zodValidator.zodValidator;
|
|
99
97
|
exports.nullableButRequired = nullableButRequired.nullableButRequired;
|
|
100
98
|
exports.optionalButRequired = optionalButRequired.optionalButRequired;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BeforeErrorHook } from 'ky';
|
|
2
2
|
import { BoxProps } from '@mantine/core';
|
|
3
3
|
import { ButtonProps } from '@mantine/core';
|
|
4
|
-
import { CenterProps } from '@mantine/core';
|
|
5
4
|
import { ChangeEventHandler } from 'react';
|
|
6
5
|
import { CheckboxGroupProps } from '@mantine/core';
|
|
7
6
|
import { CheckboxProps } from '@mantine/core';
|
|
@@ -28,7 +27,6 @@ import { InfiniteQueryHookResult } from 'react-query-kit';
|
|
|
28
27
|
import { InputBaseProps } from '@mantine/core';
|
|
29
28
|
import { JSX } from 'react/jsx-runtime';
|
|
30
29
|
import { KyResponse } from 'ky';
|
|
31
|
-
import { LoaderProps } from '@mantine/core';
|
|
32
30
|
import { MantineColorShade } from '@mantine/core';
|
|
33
31
|
import { MantineSpacing } from '@mantine/core';
|
|
34
32
|
import { MantineThemeColors } from '@mantine/core';
|
|
@@ -114,12 +112,6 @@ export declare const Form: <T extends FieldValues, TContext = any, TT extends T
|
|
|
114
112
|
|
|
115
113
|
export declare function formatBytes(bytes: number, decimals?: number): string;
|
|
116
114
|
|
|
117
|
-
export declare const FormButtonSubmit: ({ disabled, disabledWhenSuccess, ...props }: FormButtonSubmitProps) => JSX.Element;
|
|
118
|
-
|
|
119
|
-
export declare interface FormButtonSubmitProps extends ButtonProps, ElementProps<'button', keyof ButtonProps> {
|
|
120
|
-
disabledWhenSuccess?: boolean;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
115
|
export declare const FormCheckbox: FC<CheckboxProps & WithControllerProps & {
|
|
124
116
|
onValueChange?: ChangeEventHandler<HTMLInputElement> | undefined;
|
|
125
117
|
}>;
|
|
@@ -200,6 +192,12 @@ onValueChange?: ((value: string | null, option: ComboboxItem) => void) | undefin
|
|
|
200
192
|
|
|
201
193
|
export declare type FormSelectProps = MySelectProps & WithControllerProps;
|
|
202
194
|
|
|
195
|
+
export declare const FormSubmitButton: ({ disabled, disabledWhenSuccess, ...props }: FormSubmitButtonProps) => JSX.Element;
|
|
196
|
+
|
|
197
|
+
export declare interface FormSubmitButtonProps extends ButtonProps, ElementProps<'button', keyof ButtonProps> {
|
|
198
|
+
disabledWhenSuccess?: boolean;
|
|
199
|
+
}
|
|
200
|
+
|
|
203
201
|
export declare const FormTextarea: FC<TextareaProps & WithControllerProps & {
|
|
204
202
|
onValueChange?: ChangeEventHandler<HTMLTextAreaElement> | undefined;
|
|
205
203
|
}>;
|
|
@@ -322,18 +320,6 @@ export declare function indexBy<T, K, C extends string>(arr: T[], getKey: (item:
|
|
|
322
320
|
|
|
323
321
|
export declare type IndexByResult<T> = Record<string, T | undefined>;
|
|
324
322
|
|
|
325
|
-
export declare const InfinityLoader: ({ root, infinity, rootMargin, endMessage, loaderProps, ...props }: InfinityLoaderProps) => JSX.Element;
|
|
326
|
-
|
|
327
|
-
export declare interface InfinityLoaderProps extends CenterProps {
|
|
328
|
-
infinity: InfiniteQueryHookResult<InfiniteData<{
|
|
329
|
-
data: unknown[];
|
|
330
|
-
}, number>, Error>;
|
|
331
|
-
root?: RefObject<HTMLElement | null>;
|
|
332
|
-
rootMargin?: string;
|
|
333
|
-
endMessage?: React.ReactNode;
|
|
334
|
-
loaderProps?: LoaderProps;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
323
|
export declare const InfinityLoadMoreButton: <T>({ infinity, labels, parentRef, ...props }: InfinityLoadMoreButtonProps<T>) => JSX.Element;
|
|
338
324
|
|
|
339
325
|
export declare interface InfinityLoadMoreButtonProps<T> extends ButtonProps {
|
|
@@ -350,7 +336,7 @@ export declare interface InfinityLoadMoreButtonProps<T> extends ButtonProps {
|
|
|
350
336
|
|
|
351
337
|
export declare function InfinitySelect<T = unknown>({ value, searchValue, defaultSearchValue, nothingFoundMessage, infinity, defaultValue, onChange, onSearchChange, renderOption, onOptionSubmit, getOptionLabel, getOptionValue, onSelectedOptionChange, selectedOption, comboboxProps, searchable, defaultSelectedOption, loadMoreButtonProps, ...props }: InfinitySelectProps<T>): JSX.Element;
|
|
352
338
|
|
|
353
|
-
export declare interface InfinitySelectProps<T = unknown> extends InputBaseProps, ElementProps<
|
|
339
|
+
export declare interface InfinitySelectProps<T = unknown> extends InputBaseProps, ElementProps<"input", keyof InputBaseProps | "value" | "onChange"> {
|
|
354
340
|
value?: string | null;
|
|
355
341
|
defaultValue?: string;
|
|
356
342
|
searchValue?: string;
|
|
@@ -372,6 +358,7 @@ export declare interface InfinitySelectProps<T = unknown> extends InputBaseProps
|
|
|
372
358
|
onOptionSubmit?: (value: string, option: T) => void;
|
|
373
359
|
getOptionLabel: (option: T) => string;
|
|
374
360
|
getOptionValue: (option: T) => string;
|
|
361
|
+
resetPageParam?: () => Promise<void>;
|
|
375
362
|
comboboxProps?: ComboboxProps;
|
|
376
363
|
searchable?: boolean;
|
|
377
364
|
ref?: React.Ref<HTMLInputElement>;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { EmptyState } from './components/EmptyState/index.js';
|
|
2
|
-
export { InfinityLoader } from './components/InfinityLoader/index.js';
|
|
3
2
|
export { NavItems } from './components/NavItems.js';
|
|
4
3
|
export { Icon } from './components/Icon.js';
|
|
5
4
|
export { InfinityLoadMoreButton } from './components/InfinityLoadMoreButton/index.js';
|
|
@@ -11,7 +10,7 @@ export { MySelect } from './components/MySelect/index.js';
|
|
|
11
10
|
export { MyTextarea } from './components/MyTextarea/index.js';
|
|
12
11
|
export { MyTextInput } from './components/MyTextInput/index.js';
|
|
13
12
|
export { MyTimeInput } from './components/MyTimeInput/index.js';
|
|
14
|
-
export { InfinitySelect } from './components/
|
|
13
|
+
export { InfinitySelect } from './components/InfinitySelect/index.js';
|
|
15
14
|
export { MyMultiSelect } from './components/MyMultiSelect/index.js';
|
|
16
15
|
export { MyMonthPickerInput } from './components/MyMonthPickerInput/index.js';
|
|
17
16
|
export { MyDateInput } from './components/MyDateInput/index.js';
|
|
@@ -23,7 +22,7 @@ export { NavigationHistoryProvider } from './contexts/NavigationHistoryContext/i
|
|
|
23
22
|
export { QP_BACK_URL_NAME, useNavigationHistory } from './contexts/NavigationHistoryContext/hook.js';
|
|
24
23
|
export { PageDataProvider, usePageData } from './contexts/PageDataContext/index.js';
|
|
25
24
|
export { Form } from './form/Form.js';
|
|
26
|
-
export {
|
|
25
|
+
export { FormSubmitButton } from './form/FormSubmitButton.js';
|
|
27
26
|
export { zodValidator } from './form/utils/zodValidator.js';
|
|
28
27
|
export { nullableButRequired } from './form/utils/nullable-but-required.js';
|
|
29
28
|
export { optionalButRequired } from './form/utils/optional-but-required.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const React = require('react');
|
|
6
|
-
const
|
|
6
|
+
const reactDom = require('react-dom');
|
|
7
7
|
const index = require('../../../virtual-core/dist/esm/index.cjs');
|
|
8
8
|
|
|
9
9
|
function _interopNamespaceDefault(e) {
|
|
@@ -33,7 +33,7 @@ function useVirtualizerBase(options) {
|
|
|
33
33
|
onChange: (instance2, sync) => {
|
|
34
34
|
var _a;
|
|
35
35
|
if (sync) {
|
|
36
|
-
|
|
36
|
+
reactDom.flushSync(rerender);
|
|
37
37
|
} else {
|
|
38
38
|
rerender();
|
|
39
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lkd-web-kit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.16",
|
|
4
4
|
"description": "A template for creating React component libraries with Vite.",
|
|
5
5
|
"author": "LKD",
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"next": "^16.0.3",
|
|
64
64
|
"react": "^19.2.0",
|
|
65
65
|
"react-dom": "^19.2.0",
|
|
66
|
-
"react-hook-form": "^7.66.
|
|
66
|
+
"react-hook-form": "^7.66.1",
|
|
67
67
|
"react-query-kit": "^3.3.2",
|
|
68
68
|
"zod": "^4.1.12"
|
|
69
69
|
},
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const __viteBrowserExternal = require('./__vite-browser-external.cjs');
|
|
4
|
-
const _commonjsHelpers = require('./_commonjsHelpers.cjs');
|
|
5
|
-
|
|
6
|
-
const _interopNamespaceDefaultOnly = e => Object.freeze(Object.defineProperty({ __proto__: null, default: e }, Symbol.toStringTag, { value: 'Module' }));
|
|
7
|
-
|
|
8
|
-
const __viteBrowserExternal__namespace = /*#__PURE__*/_interopNamespaceDefaultOnly(__viteBrowserExternal);
|
|
9
|
-
|
|
10
|
-
const require$$2 = /*@__PURE__*/_commonjsHelpers.getAugmentedNamespace(__viteBrowserExternal__namespace);
|
|
11
|
-
|
|
12
|
-
module.exports = require$$2;
|