@amoa/casting 0.1.3 → 0.1.5
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/_virtual/_commonjsHelpers.js +5 -0
- package/dist/_virtual/_interop_require_default.js +3 -0
- package/dist/_virtual/_interop_require_wildcard.js +3 -0
- package/dist/_virtual/action-async-storage-instance.js +3 -0
- package/dist/_virtual/action-async-storage.external.js +3 -0
- package/dist/_virtual/add-base-path.js +3 -0
- package/dist/_virtual/add-locale.js +3 -0
- package/dist/_virtual/add-locale2.js +3 -0
- package/dist/_virtual/add-path-prefix.js +3 -0
- package/dist/_virtual/app-paths.js +3 -0
- package/dist/_virtual/app-router-context.shared-runtime.js +3 -0
- package/dist/_virtual/app-router-headers.js +3 -0
- package/dist/_virtual/app.js +3 -0
- package/dist/_virtual/async-local-storage.js +3 -0
- package/dist/_virtual/bailout-to-csr.js +3 -0
- package/dist/_virtual/boundary-constants.js +3 -0
- package/dist/_virtual/constants.js +3 -0
- package/dist/_virtual/deployment-id.js +3 -0
- package/dist/_virtual/detect-domain-locale.js +3 -0
- package/dist/_virtual/detect-domain-locale2.js +3 -0
- package/dist/_virtual/dynamic-rendering-utils.js +3 -0
- package/dist/_virtual/dynamic-rendering.js +3 -0
- package/dist/_virtual/ensure-leading-slash.js +3 -0
- package/dist/_virtual/error-once.js +3 -0
- package/dist/_virtual/escape-regexp.js +3 -0
- package/dist/_virtual/find-closest-quality.js +3 -0
- package/dist/_virtual/forbidden.js +3 -0
- package/dist/_virtual/format-url.js +3 -0
- package/dist/_virtual/get-domain-locale.js +3 -0
- package/dist/_virtual/get-dynamic-param.js +3 -0
- package/dist/_virtual/get-img-props.js +3 -0
- package/dist/_virtual/get-segment-param.js +3 -0
- package/dist/_virtual/has-base-path.js +3 -0
- package/dist/_virtual/head-manager-context.shared-runtime.js +3 -0
- package/dist/_virtual/head.js +3 -0
- package/dist/_virtual/hooks-client-context.shared-runtime.js +3 -0
- package/dist/_virtual/hooks-server-context.js +3 -0
- package/dist/_virtual/http-access-fallback.js +3 -0
- package/dist/_virtual/image-blur-svg.js +3 -0
- package/dist/_virtual/image-component.js +3 -0
- package/dist/_virtual/image-config-context.shared-runtime.js +3 -0
- package/dist/_virtual/image-config.js +3 -0
- package/dist/_virtual/image-external.js +3 -0
- package/dist/_virtual/image-loader.js +3 -0
- package/dist/_virtual/image.js +7 -0
- package/dist/_virtual/index.js +3 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/index3.js +3 -0
- package/dist/_virtual/interception-prefix-from-param-type.js +3 -0
- package/dist/_virtual/interception-routes.js +3 -0
- package/dist/_virtual/interpolate-as.js +3 -0
- package/dist/_virtual/invariant-error.js +3 -0
- package/dist/_virtual/is-dynamic.js +3 -0
- package/dist/_virtual/is-local-url.js +3 -0
- package/dist/_virtual/is-next-router-error.js +3 -0
- package/dist/_virtual/is-postpone.js +3 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +3 -0
- package/dist/_virtual/link.js +7 -0
- package/dist/_virtual/link2.js +3 -0
- package/dist/_virtual/match-local-pattern.js +3 -0
- package/dist/_virtual/match-remote-pattern.js +3 -0
- package/dist/_virtual/navigation.js +3 -0
- package/dist/_virtual/navigation.react-server.js +3 -0
- package/dist/_virtual/navigation2.js +3 -0
- package/dist/_virtual/normalize-locale-path.js +3 -0
- package/dist/_virtual/normalize-locale-path2.js +3 -0
- package/dist/_virtual/normalize-trailing-slash.js +3 -0
- package/dist/_virtual/not-found.js +3 -0
- package/dist/_virtual/omit.js +3 -0
- package/dist/_virtual/parse-loader-tree.js +3 -0
- package/dist/_virtual/parse-path.js +3 -0
- package/dist/_virtual/path-has-prefix.js +3 -0
- package/dist/_virtual/querystring.js +3 -0
- package/dist/_virtual/react-jsx-runtime.development.js +3 -0
- package/dist/_virtual/react-jsx-runtime.production.js +3 -0
- package/dist/_virtual/readonly-url-search-params.js +3 -0
- package/dist/_virtual/redirect-error.js +3 -0
- package/dist/_virtual/redirect-status-code.js +3 -0
- package/dist/_virtual/redirect.js +3 -0
- package/dist/_virtual/remove-trailing-slash.js +3 -0
- package/dist/_virtual/request-idle-callback.js +3 -0
- package/dist/_virtual/resolve-href.js +3 -0
- package/dist/_virtual/resolve-param-value.js +3 -0
- package/dist/_virtual/route-match-utils.js +3 -0
- package/dist/_virtual/route-matcher.js +3 -0
- package/dist/_virtual/route-pattern-normalizer.js +3 -0
- package/dist/_virtual/route-regex.js +3 -0
- package/dist/_virtual/router-context.shared-runtime.js +3 -0
- package/dist/_virtual/scheduler.js +3 -0
- package/dist/_virtual/segment.js +3 -0
- package/dist/_virtual/server-inserted-html.shared-runtime.js +3 -0
- package/dist/_virtual/side-effect.js +3 -0
- package/dist/_virtual/sorted-routes.js +3 -0
- package/dist/_virtual/static-generation-bailout.js +3 -0
- package/dist/_virtual/unauthorized.js +3 -0
- package/dist/_virtual/unrecognized-action-error.js +3 -0
- package/dist/_virtual/unstable-rethrow.browser.js +3 -0
- package/dist/_virtual/unstable-rethrow.js +3 -0
- package/dist/_virtual/unstable-rethrow.server.js +3 -0
- package/dist/_virtual/use-intersection.js +3 -0
- package/dist/_virtual/use-merged-ref.js +3 -0
- package/dist/_virtual/utils.js +3 -0
- package/dist/_virtual/warn-once.js +3 -0
- package/dist/_virtual/work-async-storage-instance.js +3 -0
- package/dist/_virtual/work-async-storage.external.js +3 -0
- package/dist/_virtual/work-unit-async-storage-instance.js +3 -0
- package/dist/_virtual/work-unit-async-storage.external.js +3 -0
- package/dist/config/config.json.js +37 -0
- package/dist/export/index.js +46 -2
- package/dist/form/buttons/index.js +13 -2
- package/dist/form/buttons/index.module.css.js +3 -0
- package/dist/form/caption/index.js +13 -2
- package/dist/form/caption/index.module.css.js +3 -0
- package/dist/form/description/index.js +13 -2
- package/dist/form/description/index.module.css.js +3 -0
- package/dist/form/email/index.js +24 -2
- package/dist/form/index.js +17 -2
- package/dist/form/index.module.css.js +3 -0
- package/dist/form/inputs/index.js +13 -2
- package/dist/form/inputs/index.module.css.js +3 -0
- package/dist/form/password/index.js +24 -2
- package/dist/index.css +1708 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +16 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +48 -0
- package/dist/node_modules/next/dist/client/add-base-path.js +38 -0
- package/dist/node_modules/next/dist/client/add-locale.js +39 -0
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +112 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js +62 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +50 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +77 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +37 -0
- package/dist/node_modules/next/dist/client/components/navigation.js +198 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +80 -0
- package/dist/node_modules/next/dist/client/components/not-found.js +56 -0
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +58 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js +60 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +36 -0
- package/dist/node_modules/next/dist/client/components/redirect.js +98 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +50 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js +63 -0
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +47 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +42 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +41 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +50 -0
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +36 -0
- package/dist/node_modules/next/dist/client/get-domain-locale.js +51 -0
- package/dist/node_modules/next/dist/client/has-base-path.js +36 -0
- package/dist/node_modules/next/dist/client/image-component.js +343 -0
- package/dist/node_modules/next/dist/client/link.js +466 -0
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +40 -0
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +54 -0
- package/dist/node_modules/next/dist/client/request-idle-callback.js +52 -0
- package/dist/node_modules/next/dist/client/resolve-href.js +124 -0
- package/dist/node_modules/next/dist/client/use-intersection.js +126 -0
- package/dist/node_modules/next/dist/client/use-merged-ref.js +79 -0
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +439 -0
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +1662 -0
- package/dist/node_modules/next/dist/lib/constants.js +339 -0
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +41 -0
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +114 -0
- package/dist/node_modules/next/dist/lib/scheduler.js +69 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +26 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +25 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +83 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +804 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +26 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +25 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +26 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +221 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +90 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +27 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +56 -0
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +41 -0
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +32 -0
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +30 -0
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js +617 -0
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/head.js +177 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +65 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +66 -0
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +42 -0
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/image-config.js +56 -0
- package/dist/node_modules/next/dist/shared/lib/image-external.js +60 -0
- package/dist/node_modules/next/dist/shared/lib/image-loader.js +119 -0
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +29 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +43 -0
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +54 -0
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +71 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +130 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +41 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +61 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +88 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +176 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +89 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +38 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +44 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +109 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +71 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +38 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +39 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +32 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +46 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +46 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +34 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +82 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +34 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +128 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +122 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +61 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +312 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +246 -0
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js +102 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +44 -0
- package/dist/node_modules/next/dist/shared/lib/side-effect.js +78 -0
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +192 -0
- package/dist/node_modules/next/image.js +13 -0
- package/dist/node_modules/next/link.js +13 -0
- package/dist/node_modules/next/navigation.js +13 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +240 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +44 -0
- package/dist/node_modules/react/jsx-runtime.js +19 -0
- package/dist/node_modules/style-inject/dist/style-inject.es.js +26 -0
- package/dist/packages/carving/src/carving.js +34 -0
- package/dist/packages/carving/src/condo.js +17 -0
- package/dist/packages/carving/src/logos/amoa.js +17 -0
- package/dist/packages/forge/src/classes.js +17 -0
- package/dist/packages/forge/src/dates/date.js +8 -0
- package/dist/packages/forge/src/dates/day.js +7 -0
- package/dist/packages/forge/src/dates/index.js +31 -0
- package/dist/packages/forge/src/dates/month.js +35 -0
- package/dist/packages/forge/src/dates/year.js +16 -0
- package/dist/packages/forge/src/fetcher/index.js +37 -0
- package/dist/packages/forge/src/fetcher/querystring.js +9 -0
- package/dist/packages/forge/src/files.js +17 -0
- package/dist/packages/forge/src/numbers/index.js +5 -0
- package/dist/packages/forge/src/strings/characters.js +3 -0
- package/dist/packages/forge/src/strings/diacritics.js +261 -0
- package/dist/packages/forge/src/strings/index.js +24 -0
- package/dist/packages/hooks/src/use-debounce.js +19 -0
- package/dist/packages/hooks/src/use-tooltip.js +27 -0
- package/dist/packages/ingots/src/address/api/form.js +12 -0
- package/dist/packages/ingots/src/address/config.json.js +16 -0
- package/dist/packages/ingots/src/address/index.js +115 -0
- package/dist/packages/ingots/src/address/index.module.css.js +3 -0
- package/dist/packages/ingots/src/address/service.js +41 -0
- package/dist/packages/ingots/src/backdrop/index.js +18 -0
- package/dist/packages/ingots/src/backdrop/index.module.css.js +3 -0
- package/dist/packages/ingots/src/button/index.js +56 -0
- package/dist/packages/ingots/src/button/index.module.css.js +3 -0
- package/dist/packages/ingots/src/checkbox/index.js +47 -0
- package/dist/packages/ingots/src/checkbox/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/erase/index.js +22 -0
- package/dist/packages/ingots/src/date/erase/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/input/index.js +113 -0
- package/dist/packages/ingots/src/date/input/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/day/index.js +35 -0
- package/dist/packages/ingots/src/date/picker/day/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/days/index.js +59 -0
- package/dist/packages/ingots/src/date/picker/days/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/handle/index.js +40 -0
- package/dist/packages/ingots/src/date/picker/handle/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/index.js +154 -0
- package/dist/packages/ingots/src/date/picker/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/menu/index.js +32 -0
- package/dist/packages/ingots/src/date/picker/menu/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/menu/item.js +30 -0
- package/dist/packages/ingots/src/date/picker/menu/item.module.css.js +3 -0
- package/dist/packages/ingots/src/file/api/index.js +14 -0
- package/dist/packages/ingots/src/file/card/index.js +65 -0
- package/dist/packages/ingots/src/file/card/index.module.css.js +3 -0
- package/dist/packages/ingots/src/file/index.js +34 -0
- package/dist/packages/ingots/src/file/index.module.css.js +3 -0
- package/dist/packages/ingots/src/file/input/index.js +261 -0
- package/dist/packages/ingots/src/file/input/index.module.css.js +3 -0
- package/dist/packages/ingots/src/input/index.js +75 -0
- package/dist/packages/ingots/src/input/src/validation/index.js +3 -0
- package/dist/packages/ingots/src/loader/index.js +23 -0
- package/dist/packages/ingots/src/loader/index.module.css.js +3 -0
- package/dist/packages/ingots/src/loader/variants/spinner/index.js +31 -0
- package/dist/packages/ingots/src/loader/variants/spinner/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/card/index.js +33 -0
- package/dist/packages/ingots/src/select/card/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/category/index.js +13 -0
- package/dist/packages/ingots/src/select/category/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/content/index.js +46 -0
- package/dist/packages/ingots/src/select/index.js +155 -0
- package/dist/packages/ingots/src/select/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/option/index.js +35 -0
- package/dist/packages/ingots/src/select/option/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/options/index.js +59 -0
- package/dist/packages/ingots/src/select/options/index.module.css.js +3 -0
- package/dist/packages/ingots/src/snackbar/context.js +9 -0
- package/dist/packages/ingots/src/tag/index.js +16 -0
- package/dist/packages/ingots/src/tag/index.module.css.js +3 -0
- package/dist/packages/ingots/src/text/index.js +92 -0
- package/dist/packages/ingots/src/text/index.module.css.js +3 -0
- package/dist/packages/ingots/src/textarea/index.js +62 -0
- package/dist/packages/ingots/src/textarea/index.module.css.js +3 -0
- package/dist/packages/ingots/src/toggle/index.js +43 -0
- package/dist/packages/ingots/src/toggle/index.module.css.js +3 -0
- package/dist/packages/runes/src/icon.js +16 -0
- package/dist/packages/runes/src/paths/alert.js +18 -0
- package/dist/packages/runes/src/paths/arrow/path.js +18 -0
- package/dist/packages/runes/src/paths/calendar.js +18 -0
- package/dist/packages/runes/src/paths/check/fill.js +18 -0
- package/dist/packages/runes/src/paths/check/regular.js +18 -0
- package/dist/packages/runes/src/paths/chevron/down.js +18 -0
- package/dist/packages/runes/src/paths/chevron/left.js +18 -0
- package/dist/packages/runes/src/paths/chevron/right.js +18 -0
- package/dist/packages/runes/src/paths/click.js +18 -0
- package/dist/packages/runes/src/paths/cross/regular.js +16 -0
- package/dist/packages/runes/src/paths/download.js +18 -0
- package/dist/packages/runes/src/paths/file.js +18 -0
- package/dist/packages/runes/src/paths/link.js +23 -0
- package/dist/packages/wares/src/authentication/index.js +11 -0
- package/dist/waiter/index.js +41 -2
- package/dist/waiter/index.module.css.js +3 -0
- package/package.json +7 -7
- package/dist/export/index.js.LICENSE.txt +0 -9
- package/dist/export.js +0 -2
- package/dist/export.js.LICENSE.txt +0 -9
- package/dist/form/buttons/index.js.LICENSE.txt +0 -9
- package/dist/form/caption/index.js.LICENSE.txt +0 -9
- package/dist/form/description/index.js.LICENSE.txt +0 -9
- package/dist/form/email/index.js.LICENSE.txt +0 -9
- package/dist/form/index.js.LICENSE.txt +0 -9
- package/dist/form/inputs/index.js.LICENSE.txt +0 -9
- package/dist/form/password/index.js.LICENSE.txt +0 -9
- package/dist/form.js +0 -2
- package/dist/form.js.LICENSE.txt +0 -9
- package/dist/waiter/index.js.LICENSE.txt +0 -9
- package/dist/waiter.js +0 -2
- package/dist/waiter.js.LICENSE.txt +0 -9
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { build } from '../../../forge/src/classes.js';
|
|
3
|
+
import styles from './index.module.css.js';
|
|
4
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
5
|
+
|
|
6
|
+
const Textarea = ({
|
|
7
|
+
className,
|
|
8
|
+
value,
|
|
9
|
+
onChange,
|
|
10
|
+
children,
|
|
11
|
+
small,
|
|
12
|
+
lines = 0,
|
|
13
|
+
fill,
|
|
14
|
+
reset,
|
|
15
|
+
placeholder = "Écrivez ici",
|
|
16
|
+
autofocus,
|
|
17
|
+
...props
|
|
18
|
+
}) => {
|
|
19
|
+
const ref = React.useRef();
|
|
20
|
+
const [content, setContent] = React.useState("");
|
|
21
|
+
const classes = build(styles.root, className, {
|
|
22
|
+
[styles.fill]: fill,
|
|
23
|
+
[styles.small]: small,
|
|
24
|
+
[styles.written]: !!value || !!content
|
|
25
|
+
});
|
|
26
|
+
const _onChange = e => {
|
|
27
|
+
if (typeof onChange === "function") onChange(e);
|
|
28
|
+
setContent(e.target.value);
|
|
29
|
+
};
|
|
30
|
+
React.useEffect(() => {
|
|
31
|
+
if (reset) ref.current.value = "";
|
|
32
|
+
}, [reset]);
|
|
33
|
+
React.useEffect(() => {
|
|
34
|
+
if (autofocus) {
|
|
35
|
+
ref.current.focus();
|
|
36
|
+
ref.current.setSelectionRange(-1, -1);
|
|
37
|
+
}
|
|
38
|
+
}, [autofocus]);
|
|
39
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs("div", {
|
|
40
|
+
className: classes,
|
|
41
|
+
children: [children && /*#__PURE__*/jsxRuntimeExports.jsx("div", {
|
|
42
|
+
className: styles.label,
|
|
43
|
+
children: children && /*#__PURE__*/jsxRuntimeExports.jsx("label", {
|
|
44
|
+
children: children
|
|
45
|
+
})
|
|
46
|
+
}), /*#__PURE__*/jsxRuntimeExports.jsx("div", {
|
|
47
|
+
className: styles.container,
|
|
48
|
+
"data-content": content || value,
|
|
49
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("textarea", {
|
|
50
|
+
className: styles.input,
|
|
51
|
+
type: "textarea",
|
|
52
|
+
defaultValue: value,
|
|
53
|
+
onChange: _onChange,
|
|
54
|
+
placeholder: placeholder,
|
|
55
|
+
...props,
|
|
56
|
+
ref: ref
|
|
57
|
+
})
|
|
58
|
+
})]
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { Textarea as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var styles = {"root":"index-module_root__-sFMR","label":"index-module_label__medJR","container":"index-module_container__U2pdr","input":"index-module_input__jsxEP","written":"index-module_written__E-nU5","fill":"index-module_fill__8hK9o","small":"index-module_small__iH4CV"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { build } from '../../../forge/src/classes.js';
|
|
3
|
+
import styles from './index.module.css.js';
|
|
4
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
5
|
+
|
|
6
|
+
const Toggle = ({
|
|
7
|
+
id = "toggle",
|
|
8
|
+
label,
|
|
9
|
+
variant = "medium",
|
|
10
|
+
disabled,
|
|
11
|
+
active = false,
|
|
12
|
+
onChange,
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}) => {
|
|
16
|
+
const ref = React.useRef();
|
|
17
|
+
const classes = build(styles.root, className, {
|
|
18
|
+
[styles.disabled]: disabled,
|
|
19
|
+
[styles[variant]]: variant
|
|
20
|
+
});
|
|
21
|
+
const _onChange = e => {
|
|
22
|
+
if (typeof onChange === "function") onChange(e.target.checked);
|
|
23
|
+
};
|
|
24
|
+
React.useEffect(() => {
|
|
25
|
+
if (ref.current.checked !== active) ref.current.checked = active;
|
|
26
|
+
}, [active]);
|
|
27
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs("div", {
|
|
28
|
+
className: classes,
|
|
29
|
+
"data-label": label,
|
|
30
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx("input", {
|
|
31
|
+
type: "checkbox",
|
|
32
|
+
id: id,
|
|
33
|
+
defaultChecked: active,
|
|
34
|
+
ref: ref,
|
|
35
|
+
onChange: _onChange,
|
|
36
|
+
...props
|
|
37
|
+
}), /*#__PURE__*/jsxRuntimeExports.jsx("label", {
|
|
38
|
+
htmlFor: id
|
|
39
|
+
})]
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { Toggle as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Icon = ({
|
|
5
|
+
children,
|
|
6
|
+
...props
|
|
7
|
+
}) => /*#__PURE__*/jsxRuntimeExports.jsx("svg", {
|
|
8
|
+
width: "24",
|
|
9
|
+
height: "24",
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
...props,
|
|
13
|
+
children: children
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export { Icon as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Alert = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
clipRule: "evenodd",
|
|
12
|
+
d: "M10.1812 2.99385C10.9895 1.59385 13.0102 1.59385 13.8185 2.99385L21.3529 16.0438C22.1612 17.4439 21.1509 19.1938 19.5343 19.1938H4.46544C2.84885 19.1938 1.83849 17.4438 2.64678 16.0438L10.1812 2.99385ZM11.9998 5.99985C12.4969 5.99985 12.8998 6.4028 12.8998 6.89985V11.0999C12.8998 11.5969 12.4969 11.9999 11.9998 11.9999C11.5027 11.9999 11.0998 11.5969 11.0998 11.0999V6.89985C11.0998 6.4028 11.5027 5.99985 11.9998 5.99985ZM11.9998 16.7999C12.6625 16.7999 13.1998 16.2626 13.1998 15.5999C13.1998 14.9371 12.6625 14.3999 11.9998 14.3999C11.3371 14.3999 10.7998 14.9371 10.7998 15.5999C10.7998 16.2626 11.3371 16.7999 11.9998 16.7999Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Alert as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Path = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
clipRule: "evenodd",
|
|
13
|
+
d: "M17.0998 13.2446C16.3136 16.1787 13.2978 17.9199 10.3637 17.1337C9.3947 16.8741 8.55765 16.3724 7.89793 15.7115L7.58639 15.3999L10.0196 15.3995C10.4338 15.3994 10.7696 15.0636 10.7695 14.6494C10.7694 14.2351 10.4336 13.8994 10.0194 13.8995L5.77592 13.9003C5.57701 13.9003 5.38625 13.9793 5.24563 14.12C5.105 14.2607 5.02602 14.4515 5.02606 14.6504L5.02695 18.8922C5.02704 19.3065 5.3629 19.6422 5.77711 19.6421C6.19132 19.642 6.52704 19.3061 6.52695 18.8919L6.52644 16.4613L6.83629 16.7712C7.67733 17.6137 8.74501 18.2529 9.97549 18.5826C13.7098 19.5832 17.5481 17.3671 18.5487 13.6328C18.6559 13.2327 18.4185 12.8215 18.0184 12.7143C17.6183 12.6071 17.207 12.8445 17.0998 13.2446ZM18.3287 9.52223C18.4694 9.38156 18.5484 9.19076 18.5484 8.99183L18.5477 4.74988C18.5476 4.33566 18.2118 3.99993 17.7975 4C17.3833 4.00007 17.0476 4.33591 17.0477 4.75012L17.0481 7.18099L16.7382 6.87118C15.8973 6.02876 14.8293 5.38931 13.599 5.05963C9.86469 4.05904 6.02633 6.27512 5.02574 10.0094C4.91854 10.4095 5.15597 10.8207 5.55607 10.9279C5.95617 11.0351 6.36742 10.7977 6.47463 10.3976C7.26081 7.46355 10.2767 5.72234 13.2107 6.50852C14.1798 6.76818 15.0169 7.26985 15.6766 7.93083L15.9877 8.24195L13.5557 8.24195C13.1415 8.24195 12.8057 8.57773 12.8057 8.99195C12.8057 9.40616 13.1415 9.74195 13.5557 9.74195H17.7984C17.9973 9.74195 18.1881 9.66291 18.3287 9.52223Z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Path as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Calendar = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
clipRule: "evenodd",
|
|
12
|
+
d: "M6.8999 2.3999C7.39696 2.3999 7.7999 2.80285 7.7999 3.2999V4.7999H16.1999V3.2999C16.1999 2.80285 16.6028 2.3999 17.0999 2.3999C17.597 2.3999 17.9999 2.80285 17.9999 3.2999V4.7999H18.2999C20.1224 4.7999 21.5999 6.27736 21.5999 8.0999V18.2999C21.5999 20.1224 20.1224 21.5999 18.2999 21.5999H5.6999C3.87736 21.5999 2.3999 20.1224 2.3999 18.2999V8.0999C2.3999 6.27736 3.87736 4.7999 5.6999 4.7999H5.9999V3.2999C5.9999 2.80285 6.40285 2.3999 6.8999 2.3999ZM5.6999 8.9999C4.87148 8.9999 4.1999 9.67147 4.1999 10.4999V18.2999C4.1999 19.1283 4.87148 19.7999 5.6999 19.7999H18.2999C19.1283 19.7999 19.7999 19.1283 19.7999 18.2999V10.4999C19.7999 9.67148 19.1283 8.9999 18.2999 8.9999H5.6999Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Calendar as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Fill = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
clipRule: "evenodd",
|
|
12
|
+
d: "M11.9999 21.5999C17.3018 21.5999 21.5999 17.3018 21.5999 11.9999C21.5999 6.69797 17.3018 2.3999 11.9999 2.3999C6.69797 2.3999 2.3999 6.69797 2.3999 11.9999C2.3999 17.3018 6.69797 21.5999 11.9999 21.5999ZM16.6278 9.82926C16.9201 9.42727 16.8312 8.86439 16.4293 8.57204C16.0273 8.27969 15.4644 8.36856 15.172 8.77055L10.9915 14.5187L8.7363 12.2635C8.38483 11.912 7.81498 11.912 7.46351 12.2635C7.11203 12.615 7.11203 13.1848 7.46351 13.5363L10.4635 16.5363C10.6496 16.7224 10.9079 16.8177 11.1703 16.7971C11.4327 16.7766 11.673 16.6421 11.8278 16.4293L16.6278 9.82926Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Fill as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Connect = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
clipRule: "evenodd",
|
|
12
|
+
d: "M18.7045 6.15347C19.034 6.4045 19.0976 6.87509 18.8465 7.20457L10.8466 17.7045C10.7154 17.8767 10.5163 17.9838 10.3003 17.9983C10.0844 18.0128 9.87269 17.9334 9.71965 17.7803L5.21967 13.2803C4.92678 12.9875 4.92678 12.5126 5.21967 12.2197C5.51256 11.9268 5.98743 11.9268 6.28033 12.2197L10.1735 16.1129L17.6534 6.29551C17.9044 5.96603 18.375 5.90244 18.7045 6.15347Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Connect as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Down = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
clipRule: "evenodd",
|
|
12
|
+
d: "M6.2762 8.65115C6.6345 8.30664 7.20424 8.31781 7.54875 8.67611L12 13.4014L16.4513 8.67611C16.7958 8.31781 17.3655 8.30664 17.7238 8.65115C18.0821 8.99567 18.0933 9.56541 17.7487 9.9237L12.6488 15.3237C12.4791 15.5002 12.2448 15.5999 12 15.5999C11.7552 15.5999 11.5209 15.5002 11.3513 15.3237L6.25125 9.9237C5.90674 9.56541 5.91791 8.99567 6.2762 8.65115Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Down as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Left = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
clipRule: "evenodd",
|
|
12
|
+
d: "M15.3488 6.2762C15.6934 6.6345 15.6822 7.20424 15.3239 7.54875L10.5986 12L15.3239 16.4513C15.6822 16.7958 15.6934 17.3655 15.3488 17.7238C15.0043 18.0821 14.4346 18.0933 14.0763 17.7487L8.6763 12.6488C8.49983 12.4791 8.4001 12.2448 8.4001 12C8.4001 11.7552 8.49983 11.5209 8.6763 11.3513L14.0763 6.25125C14.4346 5.90674 15.0043 5.91791 15.3488 6.2762Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Left as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Right = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fillRule: "evenodd",
|
|
11
|
+
clipRule: "evenodd",
|
|
12
|
+
d: "M8.65115 17.7238C8.30664 17.3655 8.31781 16.7958 8.67611 16.4512L13.4014 12L8.67611 7.54875C8.31781 7.20424 8.30664 6.6345 8.65115 6.2762C8.99567 5.91791 9.56541 5.90674 9.9237 6.25125L15.3237 11.3512C15.5002 11.5209 15.5999 11.7552 15.5999 12C15.5999 12.2448 15.5002 12.4791 15.3237 12.6487L9.9237 17.7487C9.56541 18.0933 8.99567 18.0821 8.65115 17.7238Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Right as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Click = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
clipRule: "evenodd",
|
|
13
|
+
d: "M12.0001 1.2002C12.4972 1.2002 12.9001 1.60314 12.9001 2.1002V3.9002C12.9001 4.39725 12.4972 4.8002 12.0001 4.8002C11.503 4.8002 11.1001 4.39725 11.1001 3.9002V2.1002C11.1001 1.60314 11.503 1.2002 12.0001 1.2002ZM6.0604 3.6605C6.41187 3.30903 6.98172 3.30903 7.33319 3.6605L8.60598 4.93329C8.95746 5.28476 8.95746 5.85461 8.60598 6.20608C8.25451 6.55755 7.68466 6.55755 7.33319 6.20608L6.0604 4.93329C5.70893 4.58182 5.70893 4.01197 6.0604 3.6605ZM17.9398 3.6605C18.2913 4.01197 18.2913 4.58182 17.9398 4.93329L16.667 6.20608C16.3155 6.55755 15.7457 6.55756 15.3942 6.20608C15.0427 5.85461 15.0427 5.28476 15.3942 4.93329L16.667 3.6605C17.0185 3.30903 17.5883 3.30903 17.9398 3.6605ZM3.6001 9.6002C3.6001 9.10314 4.00304 8.7002 4.5001 8.7002H6.3001C6.79715 8.7002 7.2001 9.10314 7.2001 9.6002C7.2001 10.0973 6.79715 10.5002 6.3001 10.5002H4.5001C4.00304 10.5002 3.6001 10.0973 3.6001 9.6002ZM16.8001 9.6002C16.8001 9.10314 17.203 8.7002 17.7001 8.7002H19.5001C19.9972 8.7002 20.4001 9.10314 20.4001 9.6002C20.4001 10.0973 19.9972 10.5002 19.5001 10.5002H17.7001C17.203 10.5002 16.8001 10.0973 16.8001 9.6002ZM8.60598 12.9943C8.95746 13.3458 8.95746 13.9156 8.60598 14.2671L7.33319 15.5399C6.98172 15.8914 6.41187 15.8914 6.0604 15.5399C5.70893 15.1884 5.70893 14.6186 6.0604 14.2671L7.33319 12.9943C7.68466 12.6428 8.25451 12.6428 8.60598 12.9943ZM12.9189 9.01294C12.7047 8.6941 12.3117 8.5464 11.9404 8.6452C11.5692 8.744 11.3016 9.06752 11.2742 9.45068L10.685 17.6837C10.6597 18.0369 10.8439 18.3721 11.1556 18.5401C11.4672 18.7082 11.8485 18.6779 12.1297 18.4627L13.3811 17.505L14.5637 21.9185C14.6924 22.3986 15.1859 22.6836 15.666 22.5549C16.1461 22.4263 16.431 21.9328 16.3024 21.4526L15.1301 17.0776L16.6807 17.3221C17.0342 17.3779 17.3872 17.2189 17.5797 16.9171C17.7722 16.6153 17.7675 16.2282 17.5679 15.9311L12.9189 9.01294Z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Click as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Icon from '../../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Regular = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
d: "M7.5364 6.2636C7.18492 5.91213 6.61508 5.91213 6.2636 6.2636C5.91213 6.61508 5.91213 7.18492 6.2636 7.5364L10.7272 12L6.2636 16.4636C5.91213 16.8151 5.91213 17.3849 6.2636 17.7364C6.61508 18.0879 7.18492 18.0879 7.5364 17.7364L12 13.2728L16.4636 17.7364C16.8151 18.0879 17.3849 18.0879 17.7364 17.7364C18.0879 17.3849 18.0879 16.8151 17.7364 16.4636L13.2728 12L17.7364 7.5364C18.0879 7.18492 18.0879 6.61508 17.7364 6.2636C17.3849 5.91213 16.8151 5.91213 16.4636 6.2636L12 10.7272L7.5364 6.2636Z",
|
|
11
|
+
fill: "currentColor"
|
|
12
|
+
})
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { Regular as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Download = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
clipRule: "evenodd",
|
|
13
|
+
d: "M2.40039 5.69961C2.40039 4.53981 3.34059 3.59961 4.50039 3.59961H10.3033C10.8603 3.59961 11.3944 3.82086 11.7883 4.21469L13.4853 5.91174C13.5416 5.968 13.6179 5.99961 13.6974 5.99961H19.5004C20.6602 5.99961 21.6004 6.93981 21.6004 8.09961V18.2996C21.6004 19.4594 20.6602 20.3996 19.5004 20.3996H4.50039C3.34059 20.3996 2.40039 19.4594 2.40039 18.2996V5.69961ZM12.9004 10.4996C12.9004 10.0026 12.4974 9.59961 12.0004 9.59961C11.5033 9.59961 11.1004 10.0026 11.1004 10.4996V13.5542L9.96936 12.2975C9.63684 11.9281 9.06778 11.8981 8.69832 12.2306C8.32886 12.5632 8.29891 13.1322 8.63143 13.5017L11.3314 16.5017C11.5021 16.6913 11.7453 16.7996 12.0004 16.7996C12.2555 16.7996 12.4987 16.6913 12.6694 16.5017L15.3694 13.5017C15.7019 13.1322 15.6719 12.5632 15.3025 12.2306C14.933 11.8981 14.3639 11.9281 14.0314 12.2975L12.9004 13.5542V10.4996Z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { Download as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Icon from '../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const File = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
clipRule: "evenodd",
|
|
13
|
+
d: "M5.4001 2.3999C4.40598 2.3999 3.6001 3.20579 3.6001 4.1999V19.7999C3.6001 20.794 4.40598 21.5999 5.4001 21.5999H18.6001C19.5942 21.5999 20.4001 20.794 20.4001 19.7999V9.14549C20.4001 8.6681 20.2105 8.21026 19.8729 7.8727L14.9273 2.92711C14.5897 2.58954 14.1319 2.3999 13.6545 2.3999H5.4001ZM8.1001 12.5999C7.60304 12.5999 7.2001 13.0028 7.2001 13.4999C7.2001 13.997 7.60304 14.3999 8.1001 14.3999H15.9001C16.3972 14.3999 16.8001 13.997 16.8001 13.4999C16.8001 13.0028 16.3972 12.5999 15.9001 12.5999H8.1001ZM8.1001 16.1999C7.60304 16.1999 7.2001 16.6028 7.2001 17.0999C7.2001 17.597 7.60304 17.9999 8.1001 17.9999H15.9001C16.3972 17.9999 16.8001 17.597 16.8001 17.0999C16.8001 16.6028 16.3972 16.1999 15.9001 16.1999H8.1001Z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { File as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Icon from '../icon.js';
|
|
2
|
+
import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
|
|
3
|
+
|
|
4
|
+
const Link = ({
|
|
5
|
+
...props
|
|
6
|
+
}) => {
|
|
7
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(Icon, {
|
|
8
|
+
...props,
|
|
9
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
clipRule: "evenodd",
|
|
13
|
+
d: "M5.0999 6.5999C4.60285 6.5999 4.1999 7.00285 4.1999 7.4999V17.6999C4.1999 18.197 4.60285 18.5999 5.0999 18.5999H15.2999C15.797 18.5999 16.1999 18.197 16.1999 17.6999V12.8999C16.1999 12.4028 16.6028 11.9999 17.0999 11.9999C17.597 11.9999 17.9999 12.4028 17.9999 12.8999V17.6999C17.9999 19.1911 16.7911 20.3999 15.2999 20.3999H5.0999C3.60873 20.3999 2.3999 19.1911 2.3999 17.6999V7.4999C2.3999 6.00873 3.60873 4.7999 5.0999 4.7999H11.0999C11.597 4.7999 11.9999 5.20285 11.9999 5.6999C11.9999 6.19696 11.597 6.5999 11.0999 6.5999H5.0999Z"
|
|
14
|
+
}), /*#__PURE__*/jsxRuntimeExports.jsx("path", {
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M7.43252 15.3037C7.766 15.6723 8.33514 15.7008 8.70372 15.3673L19.7999 5.32788V8.6999C19.7999 9.19696 20.2028 9.5999 20.6999 9.5999C21.197 9.5999 21.5999 9.19696 21.5999 8.6999V3.2999C21.5999 2.80285 21.197 2.3999 20.6999 2.3999H15.2999C14.8028 2.3999 14.3999 2.80285 14.3999 3.2999C14.3999 3.79696 14.8028 4.1999 15.2999 4.1999H18.3637L7.49608 14.0325C7.1275 14.366 7.09904 14.9351 7.43252 15.3037Z"
|
|
19
|
+
})]
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { Link as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '../../../../_virtual/navigation.js';
|
|
3
|
+
import config from '../../../../config/config.json.js';
|
|
4
|
+
import '../../../../_virtual/jsx-runtime.js';
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
hub
|
|
8
|
+
} = config[process.env.REACT_APP_ENV || "production"];
|
|
9
|
+
const Context = /*#__PURE__*/React.createContext();
|
|
10
|
+
|
|
11
|
+
export { Context };
|
package/dist/waiter/index.js
CHANGED
|
@@ -1,2 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
import*as e from"react";import*as t from"react-dom";var n={8444(e,t,n){n.d(t,{A:()=>_});var r=n(2591),o=n.n(r),i=n(1740),a=n.n(i),s=n(8128),l=n.n(s),c=n(855),u=n.n(c),d=n(3051),f=n.n(d),p=n(3656),m=n.n(p),g=n(6830),h={};h.styleTagTransform=m(),h.setAttributes=u(),h.insert=l().bind(null,"head"),h.domAPI=a(),h.insertStyleElement=f(),o()(g.A,h);const y=g.A&&g.A.locals?g.A.locals:void 0;var v=n(1085);const _=({children:e})=>(0,v.jsx)("p",{className:y.root,children:e})},5992(e,t,n){n.d(t,{A:()=>_});var r=n(2591),o=n.n(r),i=n(1740),a=n.n(i),s=n(8128),l=n.n(s),c=n(855),u=n.n(c),d=n(3051),f=n.n(d),p=n(3656),m=n.n(p),g=n(1959),h={};h.styleTagTransform=m(),h.setAttributes=u(),h.insert=l().bind(null,"head"),h.domAPI=a(),h.insertStyleElement=f(),o()(g.Ay,h);const y=g.Ay&&g.Ay.locals?g.Ay.locals:void 0;var v=n(1085);const _=({children:e,className:t,size:n})=>{const r=((e,...t)=>t.reduce((e,t)=>{switch(typeof t){case"string":return[...e,t];case"object":const n=(e=>Object.entries(e).reduce((e,[t,n])=>n?[...e,t]:e,[]))(t);return[...e,...n];default:return e}},[e]).join(" "))(y.root,t,y[n]);return(0,v.jsx)("div",{className:r,children:e})}},6830(e,t,n){n.d(t,{A:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,".index-module__root__M6oLU {\n display: flex;\n flex-direction: column;\n font-size: 18px;\n}\n\n@media (min-width: 560px) {\n .index-module__root__M6oLU {\n font-size: 22px;\n }\n}\n",""]);const s=a},1959(e,t,n){n.d(t,{Ay:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,".index-module__root__XkonP {\n display: flex;\n flex-direction: column;\n width: 100%;\n max-width: 500px;\n padding: 24px;\n background-color: var(--white);\n border-radius: var(--border-radius);\n gap: 16px;\n}\n\n.index-module__regular__VEiVA {\n max-width: 500px;\n}\n\n.index-module__large__n9Jmn {\n max-width: 700px;\n}\n\n@media (min-width: 560px) {\n .index-module__root__XkonP {\n padding: var(--space);\n }\n}\n",""]);const s=a},595(e,t,n){n.d(t,{Ay:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.push([e.id,".index-module__caption__jTU_1 {\n flex: 1 1 auto;\n min-width: 200px;\n align-self: center;\n}\n\n.index-module__image__jySiW {\n width: 200px;\n height: auto;\n}\n\n.index-module__animation__NB_Xj {\n flex: 1 0 275px;\n background-color: var(--light-background);\n border: 0.5px solid var(--lighter-stroke);\n padding: 20px;\n}\n\n.index-module__condo__z3iki {\n filter: drop-shadow(0 12px 8px var(--bright-green));\n animation: index-module__floating__Dl_je 6s ease-in-out infinite;\n}\n\n@media (min-width: 750px) {\n .index-module__form__dil7i {\n flex-direction: row;\n }\n}\n\n@keyframes index-module__floating__Dl_je {\n 0% {\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(10px);\n }\n 100% {\n transform: translateY(-10px);\n }\n}\n",""]);const s=a},935(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758(e){e.exports=function(e){return e[1]}},4385(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});const r=n(8678),o=n(9817),i=n(1085),a=o._(n(1649)),s=r._(n(7516)),l=r._(n(4748)),c=n(2709),u=n(2840),d=n(1250),f=(n(8848),n(6043)),p=r._(n(681)),m=n(5814),g=process.env.__NEXT_IMAGE_OPTS;function h(e,t,n,r,o,i,a){const s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),n?.current){const t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,o=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function y(e){return Boolean(a.use)?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);const v=(0,a.forwardRef)(({src:e,srcSet:t,sizes:n,height:r,width:o,decoding:s,className:l,style:c,fetchPriority:u,placeholder:d,loading:f,unoptimized:p,fill:g,onLoadRef:v,onLoadingCompleteRef:_,setBlurComplete:b,setShowAltText:x,sizesInput:w,onLoad:j,onError:P,...O},S)=>{const E=(0,a.useCallback)(e=>{e&&(P&&(e.src=e.src),e.complete&&h(e,d,v,_,b))},[e,d,v,_,b,P,p,w]),C=(0,m.useMergedRef)(S,E);return(0,i.jsx)("img",{...O,...y(u),loading:f,width:o,height:r,decoding:s,"data-nimg":g?"fill":"1",className:l,style:c,sizes:n,srcSet:t,src:e,ref:C,onLoad:e=>{h(e.currentTarget,d,v,_,b)},onError:e=>{x(!0),"empty"!==d&&b(!0),P&&P(e)}})});function _({isAppRouter:e,imgAttributes:t}){const n={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,n),null):(0,i.jsx)(l.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...n},"__nimg-"+t.src+t.srcSet+t.sizes)})}const b=(0,a.forwardRef)((e,t)=>{const n=!(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),o=(0,a.useMemo)(()=>{const e=g||r||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t),o=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n,qualities:o,localPatterns:"undefined"==typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);const h=(0,a.useRef)(l);(0,a.useEffect)(()=>{h.current=l},[l]);const[y,b]=(0,a.useState)(!1),[x,w]=(0,a.useState)(!1),{props:j,meta:P}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:o,blurComplete:y,showAltText:x});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{...j,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:m,onLoadingCompleteRef:h,setBlurComplete:b,setShowAltText:w,sizesInput:e.sizes,ref:t}),P.preload?(0,i.jsx)(_,{isAppRouter:n,imgAttributes:j}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5814(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});const r=n(1649);function o(e,t){const n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){const e=n.current;e&&(n.current=null,e());const t=o.current;t&&(o.current=null,t())}else e&&(n.current=i(e,r)),t&&(o.current=i(t,r))},[e,t])}function i(e,t){if("function"==typeof e){const n=e(t);return"function"==typeof n?n:()=>e(null)}return e.current=t,()=>{e.current=null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3527(e,t){function n(){return process.env.NEXT_DEPLOYMENT_ID}function r(){let e=n();return e?`?dpl=${e}`:""}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getDeploymentId:function(){return n},getDeploymentIdQueryOrEmptyString:function(){return r}})},699(e,t){function n(e,t){const n=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-n)<Math.abs(e-n)?t:e,0):n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestQuality",{enumerable:!0,get:function(){return n}})},2709(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return c}}),n(8848);const r=n(3527),o=n(6140),i=n(2840),a=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c({src:e,sizes:t,unoptimized:n=!1,priority:c=!1,preload:u=!1,loading:d,className:f,quality:p,width:m,height:g,fill:h=!1,style:y,overrideSrc:v,onLoad:_,onLoadingComplete:b,placeholder:x="empty",blurDataURL:w,fetchPriority:j,decoding:P="async",layout:O,objectFit:S,objectPosition:E,lazyBoundary:C,lazyRoot:M,...A},z){const{imgConf:R,showAltText:I,blurComplete:T,defaultLoader:k}=z;let N,D=R||i.imageConfigDefault;if("allSizes"in D)N=D;else{const e=[...D.deviceSizes,...D.imageSizes].sort((e,t)=>e-t),t=D.deviceSizes.sort((e,t)=>e-t),n=D.qualities?.sort((e,t)=>e-t);N={...D,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===k)throw Object.defineProperty(new Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let L=A.loader||k;delete A.loader,delete A.srcSet;const $="__next_img_default"in L;if($){if("custom"===N.loader)throw Object.defineProperty(new Error(`Image with src "${e}" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{const e=L;L=t=>{const{config:n,...r}=t;return e(r)}}if(O){"fill"===O&&(h=!0);const e={responsive:"100vw",fill:"100vw"},n={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[O];n&&(y={...y,...n});const r=e[O];r&&!t&&(t=r)}let U,q,F="",W=l(m),B=l(g);if(function(e){return!!e&&"object"==typeof e&&(s(e)||function(e){return void 0!==e.src}(e))}(e)){const t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(U=t.blurWidth,q=t.blurHeight,w=w||t.blurDataURL,F=t.src,!h)if(W||B){if(W&&!B){const e=W/t.width;B=Math.round(t.height*e)}else if(!W&&B){const e=B/t.height;W=Math.round(t.width*e)}}else W=t.width,B=t.height}let X=!(c||u||"lazy"!==d&&void 0!==d);(!(e="string"==typeof e?e:F)||e.startsWith("data:")||e.startsWith("blob:"))&&(n=!0,X=!1),N.unoptimized&&(n=!0),$&&!N.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(n=!0);const G=l(p),H=Object.assign(h?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:E}:{},I?{}:{color:"transparent"},y),V=T||"empty"===x?null:"blur"===x?`url("data:image/svg+xml;charset=utf-8,${(0,o.getImageBlurSvg)({widthInt:W,heightInt:B,blurWidth:U,blurHeight:q,blurDataURL:w||"",objectFit:H.objectFit})}")`:`url("${x}")`,Y=a.includes(H.objectFit)?"fill"===H.objectFit?"100% 100%":"cover":H.objectFit;let J=V?{backgroundSize:Y,backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{};const Q=function({config:e,src:t,unoptimized:n,width:o,quality:i,sizes:a,loader:s}){if(n){const e=(0,r.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){const n=t.includes("?")?"&":"?";t=`${t}${n}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}const{widths:l,kind:c}=function({deviceSizes:e,allSizes:t},n,r){if(r){const n=/(^|\s)(1?\d?\d)vw/g,o=[];for(let e;e=n.exec(r);e)o.push(parseInt(e[2]));if(o.length){const n=.01*Math.min(...o);return{widths:t.filter(t=>t>=e[0]*n),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof n?{widths:e,kind:"w"}:{widths:[...new Set([n,2*n].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,o,a),u=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((n,r)=>`${s({config:e,src:t,quality:i,width:n})} ${"w"===c?n:r+1}${c}`).join(", "),src:s({config:e,src:t,quality:i,width:l[u]})}}({config:N,src:e,unoptimized:n,width:W,quality:G,sizes:t,loader:L}),K=X?"lazy":d;return{props:{...A,loading:K,fetchPriority:j,width:W,height:B,decoding:P,className:f,style:{...H,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:v||Q.src},meta:{unoptimized:n,preload:u||c,placeholder:x,fill:h}}}new Map},5868(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return r}});const r=n(8678)._(n(1649)).default.createContext({})},4748(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return p},defaultHead:function(){return c}});const r=n(8678),o=n(9817),i=n(1085),a=o._(n(1649)),s=r._(n(563)),l=n(5868);function c(){return[(0,i.jsx)("meta",{charSet:"utf-8"},"charset"),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function u(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(8848);const d=["name","httpEquiv","charSet","itemProp"];function f(e){return e.reduce(u,[]).reverse().concat(c().reverse()).filter(function(){const e=new Set,t=new Set,n=new Set,r={};return o=>{let i=!0,a=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){a=!0;const t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(let e=0,t=d.length;e<t;e++){const t=d[e];if(o.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?i=!1:n.add(t);else{const e=o.props[t],n=r[t]||new Set;"name"===t&&a||!n.has(e)?(n.add(e),r[t]=n):i=!1}}}return i}}()).reverse().map((e,t)=>{const n=e.key||t;return a.default.cloneElement(e,{key:n})})}const p=function({children:e}){const t=(0,a.useContext)(l.HeadManagerContext);return(0,i.jsx)(s.default,{reduceComponentsToState:f,headManager:t,children:e})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6140(e,t){function n({widthInt:e,heightInt:t,blurWidth:n,blurHeight:r,blurDataURL:o,objectFit:i}){const a=n?40*n:e,s=r?40*r:t,l=a&&s?`viewBox='0 0 ${a} ${s}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${l}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${l?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},1250(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});const r=n(8678)._(n(1649)),o=n(2840),i=r.default.createContext(o.imageConfigDefault)},2840(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});const n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},4273(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});const r=n(8678),o=n(2709),i=n(4385),a=r._(n(681));function s(e){const{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:process.env.__NEXT_IMAGE_OPTS});for(const[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}const l=i.Image},681(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(699),o=n(3527);function i({config:e,src:t,width:n,quality:i}){if(t.startsWith("/")&&t.includes("?")&&1===e.localPatterns?.length&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(new Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});const a=(0,r.findClosestQuality)(i,e);let s=(0,o.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${n}&q=${a}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}i.__next_img_default=!0;const a=i},6043(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});const r=n(8678)._(n(1649)).default.createContext(null)},563(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=n(1649),o="undefined"==typeof window,i=o?()=>{}:r.useLayoutEffect,a=o?()=>{}:r.useEffect;function s(e){const{headManager:t,reduceComponentsToState:n}=e;function s(){if(t&&t.mountedInstances){const e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(e))}}return o&&(t?.mountedInstances?.add(e.children),s()),i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},8848(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},7338(e,t,n){e.exports=n(4273)},1197(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},1085(e,t,n){e.exports=n(1197)},2591(e){var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var f=n(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:m,references:1})}a.push(d)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},8128(e){var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},3051(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855(e,t,n){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},1740(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},3656(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1649(t){t.exports=e},7516(e){e.exports=t},8678(e,t){t._=function(e){return e&&e.__esModule?e:{default:e}}},9817(e,t){function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}t._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.nc=void 0,o(1649);var i=o(7338),a=o.n(i),s=o(1085);const l=({className:e,variants:t,...n})=>{const{src:r,loading:o,hash:i,...l}=((e,t={})=>Object.entries(e).reduce((e,[n,r])=>({...e,...t[n]||{[n]:r}}),{}))(n,t);return(0,s.jsx)(a(),{className:e,src:r,hash:i,...l})},c={src:"/amoa.svg",alt:"Logo d'Amoa",width:2082,height:583},u={src:"/condo.svg",alt:"Illustration d'un ensemble d'immeubles",width:250,height:204},d=({...e})=>(0,s.jsx)(l,{...u,...e});var f=o(5992),p=o(8444),m=o(2591),g=o.n(m),h=o(1740),y=o.n(h),v=o(8128),_=o.n(v),b=o(855),x=o.n(b),w=o(3051),j=o.n(w),P=o(3656),O=o.n(P),S=o(595),E={};E.styleTagTransform=O(),E.setAttributes=x(),E.insert=_().bind(null,"head"),E.domAPI=y(),E.insertStyleElement=j(),g()(S.Ay,E);const C=S.Ay&&S.Ay.locals?S.Ay.locals:void 0,M={picture:({...e})=>(0,s.jsx)(l,{...c,...e})},A=({picture:e})=>{const{picture:t,...n}=e||M;return(0,s.jsxs)(f.A,{className:C.form,size:"large",children:[(0,s.jsxs)("div",{className:C.caption,children:[(0,s.jsx)(t,{className:C.image,...n,priority:!0}),(0,s.jsx)(p.A,{children:"Veuillez patienter, nous vous redirigeons vers la bonne page."})]}),(0,s.jsx)("div",{className:C.animation,children:(0,s.jsx)(d,{className:C.condo})})]})};export{A as default};
|
|
1
|
+
import 'react';
|
|
2
|
+
import '../_virtual/image.js';
|
|
3
|
+
import { j as jsxRuntimeExports } from '../_virtual/jsx-runtime.js';
|
|
4
|
+
import { Amoa } from '../packages/carving/src/logos/amoa.js';
|
|
5
|
+
import { Condo } from '../packages/carving/src/condo.js';
|
|
6
|
+
import Form from '../form/index.js';
|
|
7
|
+
import Caption from '../form/caption/index.js';
|
|
8
|
+
import styles from './index.module.css.js';
|
|
9
|
+
|
|
10
|
+
const PICTURE = {
|
|
11
|
+
picture: Amoa
|
|
12
|
+
};
|
|
13
|
+
const Waiter = ({
|
|
14
|
+
picture
|
|
15
|
+
}) => {
|
|
16
|
+
const {
|
|
17
|
+
picture: Picture,
|
|
18
|
+
...props
|
|
19
|
+
} = picture || PICTURE;
|
|
20
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(Form, {
|
|
21
|
+
className: styles.form,
|
|
22
|
+
size: "large",
|
|
23
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsxs("div", {
|
|
24
|
+
className: styles.caption,
|
|
25
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx(Picture, {
|
|
26
|
+
className: styles.image,
|
|
27
|
+
...props,
|
|
28
|
+
priority: true
|
|
29
|
+
}), /*#__PURE__*/jsxRuntimeExports.jsx(Caption, {
|
|
30
|
+
children: "Veuillez patienter, nous vous redirigeons vers la bonne page."
|
|
31
|
+
})]
|
|
32
|
+
}), /*#__PURE__*/jsxRuntimeExports.jsx("div", {
|
|
33
|
+
className: styles.animation,
|
|
34
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(Condo, {
|
|
35
|
+
className: styles.condo
|
|
36
|
+
})
|
|
37
|
+
})]
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export { Waiter as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amoa/casting",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"dev": "rollup --watch",
|
|
12
|
+
"build": "rollup",
|
|
13
13
|
"clean": "rm -rf dist"
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
|
-
"./*": "./dist
|
|
16
|
+
"./*": "./dist/*"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@amoa/forge": "^0.1.
|
|
20
|
-
"@amoa/ingots": "^0.1.
|
|
21
|
-
"@amoa/runes": "^0.1.
|
|
19
|
+
"@amoa/forge": "^0.1.2",
|
|
20
|
+
"@amoa/ingots": "^0.1.6",
|
|
21
|
+
"@amoa/runes": "^0.1.3"
|
|
22
22
|
}
|
|
23
23
|
}
|