@supersoniks/concorde 3.2.1 → 3.2.3
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/build-infos.json +1 -1
- package/concorde-core.bundle.js +209 -196
- package/concorde-core.es.js +843 -790
- package/dist/concorde-core.bundle.js +209 -196
- package/dist/concorde-core.es.js +843 -790
- package/index.html +0 -0
- package/package.json +1 -1
- package/scripts/create-search.js +0 -0
- package/scripts/generate-routes.js +0 -0
- package/src/core/_types/types.ts +0 -0
- package/src/core/components/functional/date/date.ts +0 -0
- package/src/core/components/functional/functional.ts +0 -0
- package/src/core/components/functional/if/if.md +0 -0
- package/src/core/components/functional/if/if.test.ts +0 -0
- package/src/core/components/functional/list/list.spec.ts +0 -0
- package/src/core/components/functional/queue/queue.demo.ts +0 -0
- package/src/core/components/functional/router/router.demo.ts +0 -0
- package/src/core/components/functional/router/router.md +0 -0
- package/src/core/components/functional/router/router.spec.ts +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
- package/src/core/components/functional/states/states.demo.ts +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/states/states.spec.ts +0 -0
- package/src/core/components/functional/states/states.ts +0 -0
- package/src/core/components/functional/submit/submit.ts +0 -0
- package/src/core/components/functional/translation/translation.ts +0 -0
- package/src/core/components/ui/_css/scroll.ts +0 -0
- package/src/core/components/ui/_css/shadow.ts +0 -0
- package/src/core/components/ui/_css/size.ts +0 -0
- package/src/core/components/ui/_css/type.ts +0 -0
- package/src/core/components/ui/alert/alert.md +0 -0
- package/src/core/components/ui/alert/alert.ts +0 -0
- package/src/core/components/ui/alert-messages/alert-messages.md +0 -0
- package/src/core/components/ui/badge/badge.md +0 -0
- package/src/core/components/ui/badge/badge.ts +0 -0
- package/src/core/components/ui/button/button.md +0 -0
- package/src/core/components/ui/button/button.ts +0 -0
- package/src/core/components/ui/captcha/captcha.md +0 -0
- package/src/core/components/ui/captcha/captcha.ts +0 -0
- package/src/core/components/ui/card/card-footer.ts +0 -0
- package/src/core/components/ui/card/card-header-descripton.ts +0 -0
- package/src/core/components/ui/card/card-header.ts +0 -0
- package/src/core/components/ui/card/card-main.ts +0 -0
- package/src/core/components/ui/card/card.md +0 -0
- package/src/core/components/ui/card/card.ts +0 -0
- package/src/core/components/ui/divider/divider.ts +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.ts +0 -6
- package/src/core/components/ui/form/css/form-control.ts +0 -0
- package/src/core/components/ui/form/fieldset/fieldset.ts +0 -0
- package/src/core/components/ui/form/fieldset/legend-description.ts +0 -0
- package/src/core/components/ui/form/fieldset/legend.ts +0 -0
- package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
- package/src/core/components/ui/form/input/input.md +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
- package/src/core/components/ui/form/radio/radio.md +0 -0
- package/src/core/components/ui/form/radio/radio.ts +1 -11
- package/src/core/components/ui/form/select/select.md +0 -0
- package/src/core/components/ui/form/switch/switch.md +0 -0
- package/src/core/components/ui/form/switch/switch.ts +0 -0
- package/src/core/components/ui/form/textarea/textarea.ts +0 -0
- package/src/core/components/ui/icon/icons.ts +28 -9
- package/src/core/components/ui/image/image.md +0 -0
- package/src/core/components/ui/image/image.ts +0 -0
- package/src/core/components/ui/loader/loader.md +0 -0
- package/src/core/components/ui/loader/loader.ts +0 -0
- package/src/core/components/ui/loader/styles/fixed.ts +0 -0
- package/src/core/components/ui/loader/styles/inline.ts +0 -0
- package/src/core/components/ui/menu/menu.md +46 -5
- package/src/core/components/ui/menu/menu.ts +96 -23
- package/src/core/components/ui/modal/modal-actions.ts +0 -0
- package/src/core/components/ui/modal/modal-close.ts +0 -0
- package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
- package/src/core/components/ui/modal/modal-title.ts +0 -0
- package/src/core/components/ui/modal/modal.md +0 -0
- package/src/core/components/ui/modal/modal.ts +4 -4
- package/src/core/components/ui/pop/pop.md +0 -0
- package/src/core/components/ui/progress/progress.ts +0 -0
- package/src/core/components/ui/table/table-tbody.ts +0 -0
- package/src/core/components/ui/table/table-th.ts +0 -0
- package/src/core/components/ui/table/table.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
- package/src/core/components/ui/theme/theme.ts +0 -0
- package/src/core/components/ui/toast/toast-item.ts +0 -0
- package/src/core/components/ui/tooltip/tooltip.ts +0 -0
- package/src/core/components/ui/ui.ts +0 -0
- package/src/core/directives/DataProvider.ts +0 -0
- package/src/core/directives/Wording.ts +0 -0
- package/src/core/mixins/Fetcher.ts +0 -0
- package/src/core/mixins/FormCheckable.ts +0 -0
- package/src/core/mixins/TemplatesContainer.ts +0 -0
- package/src/core/utils/HTML.ts +0 -0
- package/src/core/utils/LocationHandler.ts +0 -0
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/Utils.ts +0 -0
- package/src/core/utils/api.ts +0 -0
- package/src/core/utils/route.spec.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/docs/code.ts +0 -0
- package/src/docs/docs.ts +0 -0
- package/src/docs/header/header.ts +0 -0
- package/src/docs/layout.ts +0 -0
- package/src/docs/navigation/navigation.ts +0 -0
- package/src/docs/search/docs-search.json +0 -0
- package/src/docs/search/markdown-renderer.ts +0 -0
- package/src/docs/search/page.ts +0 -0
- package/src/docs/search/search.ts +0 -0
- package/src/docs/tailwind/css/tailwind.css +0 -0
- package/src/docs/tailwind/css.d.ts +0 -0
- package/src/index.ts +0 -0
- package/src/test-utils/TestUtils.ts +0 -0
- package/src/tsconfig-model.json +0 -0
- package/src/tsconfig.json +0 -0
- package/tailwind.config.js +0 -0
- package/templates-test.html +0 -0
- package/vite/config.js +0 -0
- package/README.md +0 -163
- package/docs/assets/index-C0K6xugr.css +0 -1
- package/docs/assets/index-Dgl1lJQo.js +0 -4861
- package/docs/css/docs.css +0 -0
- package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Light.eot +0 -0
- package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
- package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
- package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
- package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/docs/img/concorde-icon.svg +0 -5
- package/docs/img/concorde-logo.svg +0 -1
- package/docs/img/concorde.png +0 -0
- package/docs/img/concorde_def.png +0 -0
- package/docs/img/concorde_seuil.png.webp +0 -0
- package/docs/img/concorde_seuil_invert.png +0 -0
- package/docs/img/paul_metrand.jpg +0 -0
- package/docs/img/paul_metrand_xs.jpg +0 -0
- package/docs/index.html +0 -93
- package/docs/src/core/components/functional/date/date.md +0 -290
- package/docs/src/core/components/functional/fetch/fetch.md +0 -117
- package/docs/src/core/components/functional/if/if.md +0 -16
- package/docs/src/core/components/functional/list/list.md +0 -199
- package/docs/src/core/components/functional/mix/mix.md +0 -41
- package/docs/src/core/components/functional/queue/queue.md +0 -87
- package/docs/src/core/components/functional/router/router.md +0 -129
- package/docs/src/core/components/functional/sdui/default-library.json +0 -108
- package/docs/src/core/components/functional/sdui/example.json +0 -99
- package/docs/src/core/components/functional/sdui/sdui.md +0 -356
- package/docs/src/core/components/functional/states/states.md +0 -87
- package/docs/src/core/components/functional/submit/submit.md +0 -83
- package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
- package/docs/src/core/components/functional/value/value.md +0 -35
- package/docs/src/core/components/ui/alert/alert.md +0 -121
- package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
- package/docs/src/core/components/ui/badge/badge.md +0 -127
- package/docs/src/core/components/ui/button/button.md +0 -182
- package/docs/src/core/components/ui/captcha/captcha.md +0 -24
- package/docs/src/core/components/ui/card/card.md +0 -97
- package/docs/src/core/components/ui/divider/divider.md +0 -35
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -104
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -44
- package/docs/src/core/components/ui/form/input/input.md +0 -167
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -131
- package/docs/src/core/components/ui/form/radio/radio.md +0 -84
- package/docs/src/core/components/ui/form/select/select.md +0 -97
- package/docs/src/core/components/ui/form/switch/switch.md +0 -84
- package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
- package/docs/src/core/components/ui/group/group.md +0 -75
- package/docs/src/core/components/ui/icon/icon.md +0 -125
- package/docs/src/core/components/ui/icon/icons.json +0 -1
- package/docs/src/core/components/ui/image/image.md +0 -107
- package/docs/src/core/components/ui/link/link.md +0 -43
- package/docs/src/core/components/ui/loader/loader.md +0 -67
- package/docs/src/core/components/ui/menu/menu.md +0 -288
- package/docs/src/core/components/ui/modal/modal.md +0 -123
- package/docs/src/core/components/ui/pop/pop.md +0 -96
- package/docs/src/core/components/ui/progress/progress.md +0 -63
- package/docs/src/core/components/ui/table/table.md +0 -455
- package/docs/src/core/components/ui/tooltip/tooltip.md +0 -82
- package/docs/src/docs/_core-concept/overview.md +0 -57
- package/docs/src/docs/_core-concept/subscriber.md +0 -76
- package/docs/src/docs/_getting-started/concorde-outside.md +0 -143
- package/docs/src/docs/_getting-started/create-a-component.md +0 -137
- package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -174
- package/docs/src/docs/_getting-started/pubsub.md +0 -150
- package/docs/src/docs/_getting-started/start.md +0 -39
- package/docs/src/docs/_getting-started/theming.md +0 -91
- package/docs/src/docs/search/docs-search.json +0 -3917
- package/docs/src/tag-list.json +0 -1
- package/docs/src/tsconfig-model.json +0 -23
- package/docs/src/tsconfig.json +0 -918
- package/docs/svg/regular/plane.svg +0 -1
- package/docs/svg/solid/plane.svg +0 -1
- package/mcp-server/COMPARISON-MCP.md +0 -176
- package/mcp-server/README-MCP-NODEJS.md +0 -284
- package/mcp-server/README-MCP.md +0 -114
- package/mcp-server/README.md +0 -127
- package/mcp-server/TECHNICAL-DOCS.md +0 -269
- package/mcp-server/concorde-mcp-server.js +0 -859
- package/mcp-server/concorde-mcp-server.py +0 -801
- package/mcp-server/cursor-mcp-config-advanced.json +0 -68
- package/mcp-server/cursor-mcp-config-nodejs.json +0 -74
- package/mcp-server/cursor-mcp-config.json +0 -11
- package/mcp-server/install-mcp-nodejs.sh +0 -104
- package/mcp-server/install-mcp.sh +0 -62
- package/mcp-server/node_modules/.package-lock.json +0 -133
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/LICENSE +0 -7
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/README.md +0 -110
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/cli.js +0 -129
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/cli.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts +0 -773
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.js +0 -206
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js +0 -357
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts +0 -22
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js +0 -91
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts +0 -56
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js +0 -135
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js +0 -51
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts +0 -17
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js +0 -61
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts +0 -20
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js +0 -47
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js +0 -74
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts +0 -112
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.js +0 -182
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js +0 -360
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts +0 -46
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js +0 -116
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts +0 -28
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js +0 -69
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js +0 -87
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts +0 -149
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js +0 -274
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts +0 -13
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js +0 -31
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js +0 -27
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts +0 -39
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts +0 -26424
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/types.js +0 -996
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/types.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.d.ts +0 -5
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.js +0 -11
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.test.d.ts +0 -2
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.test.d.ts.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.test.js +0 -14
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/dist/utils.test.js.map +0 -1
- package/mcp-server/node_modules/@modelcontextprotocol/sdk/package.json +0 -61
- package/mcp-server/node_modules/bytes/History.md +0 -97
- package/mcp-server/node_modules/bytes/LICENSE +0 -23
- package/mcp-server/node_modules/bytes/Readme.md +0 -152
- package/mcp-server/node_modules/bytes/index.js +0 -170
- package/mcp-server/node_modules/bytes/package.json +0 -42
- package/mcp-server/node_modules/content-type/HISTORY.md +0 -29
- package/mcp-server/node_modules/content-type/LICENSE +0 -22
- package/mcp-server/node_modules/content-type/README.md +0 -94
- package/mcp-server/node_modules/content-type/index.js +0 -225
- package/mcp-server/node_modules/content-type/package.json +0 -42
- package/mcp-server/node_modules/depd/History.md +0 -103
- package/mcp-server/node_modules/depd/LICENSE +0 -22
- package/mcp-server/node_modules/depd/Readme.md +0 -280
- package/mcp-server/node_modules/depd/index.js +0 -538
- package/mcp-server/node_modules/depd/lib/browser/index.js +0 -77
- package/mcp-server/node_modules/depd/package.json +0 -45
- package/mcp-server/node_modules/http-errors/HISTORY.md +0 -180
- package/mcp-server/node_modules/http-errors/LICENSE +0 -23
- package/mcp-server/node_modules/http-errors/README.md +0 -169
- package/mcp-server/node_modules/http-errors/index.js +0 -289
- package/mcp-server/node_modules/http-errors/package.json +0 -50
- package/mcp-server/node_modules/iconv-lite/Changelog.md +0 -236
- package/mcp-server/node_modules/iconv-lite/LICENSE +0 -21
- package/mcp-server/node_modules/iconv-lite/README.md +0 -138
- package/mcp-server/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
- package/mcp-server/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
- package/mcp-server/node_modules/iconv-lite/encodings/index.js +0 -23
- package/mcp-server/node_modules/iconv-lite/encodings/internal.js +0 -218
- package/mcp-server/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
- package/mcp-server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/mcp-server/node_modules/iconv-lite/encodings/sbcs-data.js +0 -178
- package/mcp-server/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/mcp-server/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/mcp-server/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/mcp-server/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/mcp-server/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/mcp-server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/mcp-server/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
- package/mcp-server/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/mcp-server/node_modules/iconv-lite/encodings/utf16.js +0 -187
- package/mcp-server/node_modules/iconv-lite/encodings/utf32.js +0 -307
- package/mcp-server/node_modules/iconv-lite/encodings/utf7.js +0 -283
- package/mcp-server/node_modules/iconv-lite/lib/bom-handling.js +0 -48
- package/mcp-server/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
- package/mcp-server/node_modules/iconv-lite/lib/index.d.ts +0 -41
- package/mcp-server/node_modules/iconv-lite/lib/index.js +0 -183
- package/mcp-server/node_modules/iconv-lite/lib/streams.js +0 -105
- package/mcp-server/node_modules/iconv-lite/package.json +0 -59
- package/mcp-server/node_modules/inherits/LICENSE +0 -16
- package/mcp-server/node_modules/inherits/README.md +0 -42
- package/mcp-server/node_modules/inherits/inherits.js +0 -9
- package/mcp-server/node_modules/inherits/inherits_browser.js +0 -27
- package/mcp-server/node_modules/inherits/package.json +0 -29
- package/mcp-server/node_modules/raw-body/HISTORY.md +0 -333
- package/mcp-server/node_modules/raw-body/LICENSE +0 -22
- package/mcp-server/node_modules/raw-body/README.md +0 -223
- package/mcp-server/node_modules/raw-body/SECURITY.md +0 -24
- package/mcp-server/node_modules/raw-body/index.d.ts +0 -85
- package/mcp-server/node_modules/raw-body/index.js +0 -336
- package/mcp-server/node_modules/raw-body/package.json +0 -50
- package/mcp-server/node_modules/safer-buffer/LICENSE +0 -21
- package/mcp-server/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/mcp-server/node_modules/safer-buffer/Readme.md +0 -156
- package/mcp-server/node_modules/safer-buffer/dangerous.js +0 -58
- package/mcp-server/node_modules/safer-buffer/package.json +0 -34
- package/mcp-server/node_modules/safer-buffer/safer.js +0 -77
- package/mcp-server/node_modules/safer-buffer/tests.js +0 -406
- package/mcp-server/node_modules/setprototypeof/LICENSE +0 -13
- package/mcp-server/node_modules/setprototypeof/README.md +0 -31
- package/mcp-server/node_modules/setprototypeof/index.d.ts +0 -2
- package/mcp-server/node_modules/setprototypeof/index.js +0 -17
- package/mcp-server/node_modules/setprototypeof/package.json +0 -38
- package/mcp-server/node_modules/setprototypeof/test/index.js +0 -24
- package/mcp-server/node_modules/statuses/HISTORY.md +0 -82
- package/mcp-server/node_modules/statuses/LICENSE +0 -23
- package/mcp-server/node_modules/statuses/README.md +0 -136
- package/mcp-server/node_modules/statuses/codes.json +0 -65
- package/mcp-server/node_modules/statuses/index.js +0 -146
- package/mcp-server/node_modules/statuses/package.json +0 -49
- package/mcp-server/node_modules/toidentifier/HISTORY.md +0 -9
- package/mcp-server/node_modules/toidentifier/LICENSE +0 -21
- package/mcp-server/node_modules/toidentifier/README.md +0 -61
- package/mcp-server/node_modules/toidentifier/index.js +0 -32
- package/mcp-server/node_modules/toidentifier/package.json +0 -38
- package/mcp-server/node_modules/unpipe/HISTORY.md +0 -4
- package/mcp-server/node_modules/unpipe/LICENSE +0 -22
- package/mcp-server/node_modules/unpipe/README.md +0 -43
- package/mcp-server/node_modules/unpipe/index.js +0 -69
- package/mcp-server/node_modules/unpipe/package.json +0 -27
- package/mcp-server/node_modules/zod/LICENSE +0 -21
- package/mcp-server/node_modules/zod/README.md +0 -208
- package/mcp-server/node_modules/zod/index.cjs +0 -33
- package/mcp-server/node_modules/zod/index.d.cts +0 -4
- package/mcp-server/node_modules/zod/index.d.ts +0 -4
- package/mcp-server/node_modules/zod/index.js +0 -4
- package/mcp-server/node_modules/zod/package.json +0 -118
- package/mcp-server/node_modules/zod/src/index.ts +0 -4
- package/mcp-server/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/mcp-server/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/mcp-server/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/mcp-server/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/mcp-server/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/mcp-server/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/mcp-server/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/mcp-server/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/mcp-server/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/mcp-server/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/mcp-server/node_modules/zod/src/v3/errors.ts +0 -13
- package/mcp-server/node_modules/zod/src/v3/external.ts +0 -6
- package/mcp-server/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/mcp-server/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/mcp-server/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/mcp-server/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/mcp-server/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/mcp-server/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/mcp-server/node_modules/zod/src/v3/index.ts +0 -4
- package/mcp-server/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/mcp-server/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/mcp-server/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/mcp-server/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/mcp-server/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/mcp-server/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/mcp-server/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/mcp-server/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/mcp-server/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/mcp-server/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/mcp-server/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/mcp-server/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/mcp-server/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/mcp-server/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
- package/mcp-server/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/mcp-server/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/mcp-server/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/mcp-server/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/mcp-server/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/mcp-server/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/mcp-server/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/mcp-server/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/mcp-server/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/mcp-server/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/mcp-server/node_modules/zod/src/v3/tests/function.test.ts +0 -257
- package/mcp-server/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/mcp-server/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/mcp-server/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/mcp-server/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/mcp-server/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/mcp-server/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/mcp-server/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/mcp-server/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/mcp-server/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/mcp-server/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
- package/mcp-server/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/mcp-server/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/mcp-server/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/mcp-server/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/mcp-server/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/mcp-server/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/mcp-server/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/mcp-server/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/mcp-server/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/mcp-server/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/mcp-server/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/mcp-server/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/mcp-server/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/mcp-server/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/mcp-server/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/mcp-server/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/mcp-server/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/mcp-server/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/mcp-server/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/mcp-server/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/mcp-server/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/mcp-server/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/mcp-server/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/mcp-server/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/mcp-server/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/mcp-server/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/mcp-server/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/mcp-server/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/mcp-server/node_modules/zod/src/v3/types.ts +0 -5136
- package/mcp-server/node_modules/zod/src/v4/classic/checks.ts +0 -30
- package/mcp-server/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/mcp-server/node_modules/zod/src/v4/classic/compat.ts +0 -66
- package/mcp-server/node_modules/zod/src/v4/classic/errors.ts +0 -75
- package/mcp-server/node_modules/zod/src/v4/classic/external.ts +0 -50
- package/mcp-server/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/mcp-server/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/mcp-server/node_modules/zod/src/v4/classic/parse.ts +0 -33
- package/mcp-server/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
- package/mcp-server/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/mcp-server/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/mcp-server/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/mcp-server/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/mcp-server/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/mcp-server/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/mcp-server/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/mcp-server/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
- package/mcp-server/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
- package/mcp-server/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/mcp-server/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/mcp-server/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
- package/mcp-server/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/mcp-server/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
- package/mcp-server/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
- package/mcp-server/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
- package/mcp-server/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/mcp-server/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
- package/mcp-server/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/mcp-server/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
- package/mcp-server/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/mcp-server/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
- package/mcp-server/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
- package/mcp-server/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
- package/mcp-server/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/mcp-server/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
- package/mcp-server/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
- package/mcp-server/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
- package/mcp-server/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
- package/mcp-server/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/mcp-server/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
- package/mcp-server/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
- package/mcp-server/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/mcp-server/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/mcp-server/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
- package/mcp-server/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/mcp-server/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
- package/mcp-server/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
- package/mcp-server/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
- package/mcp-server/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
- package/mcp-server/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
- package/mcp-server/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
- package/mcp-server/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
- package/mcp-server/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
- package/mcp-server/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/mcp-server/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/mcp-server/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/mcp-server/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/mcp-server/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
- package/mcp-server/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
- package/mcp-server/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
- package/mcp-server/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
- package/mcp-server/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
- package/mcp-server/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
- package/mcp-server/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
- package/mcp-server/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
- package/mcp-server/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
- package/mcp-server/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
- package/mcp-server/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
- package/mcp-server/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
- package/mcp-server/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
- package/mcp-server/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
- package/mcp-server/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/mcp-server/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/mcp-server/node_modules/zod/src/v4/core/api.ts +0 -1594
- package/mcp-server/node_modules/zod/src/v4/core/checks.ts +0 -1283
- package/mcp-server/node_modules/zod/src/v4/core/config.ts +0 -15
- package/mcp-server/node_modules/zod/src/v4/core/core.ts +0 -134
- package/mcp-server/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/mcp-server/node_modules/zod/src/v4/core/errors.ts +0 -424
- package/mcp-server/node_modules/zod/src/v4/core/function.ts +0 -176
- package/mcp-server/node_modules/zod/src/v4/core/index.ts +0 -15
- package/mcp-server/node_modules/zod/src/v4/core/json-schema.ts +0 -143
- package/mcp-server/node_modules/zod/src/v4/core/parse.ts +0 -94
- package/mcp-server/node_modules/zod/src/v4/core/regexes.ts +0 -135
- package/mcp-server/node_modules/zod/src/v4/core/registries.ts +0 -96
- package/mcp-server/node_modules/zod/src/v4/core/schemas.ts +0 -3842
- package/mcp-server/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
- package/mcp-server/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/mcp-server/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/mcp-server/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/mcp-server/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/mcp-server/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/mcp-server/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
- package/mcp-server/node_modules/zod/src/v4/core/util.ts +0 -775
- package/mcp-server/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/mcp-server/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/mcp-server/node_modules/zod/src/v4/index.ts +0 -4
- package/mcp-server/node_modules/zod/src/v4/locales/ar.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/az.ts +0 -121
- package/mcp-server/node_modules/zod/src/v4/locales/be.ts +0 -184
- package/mcp-server/node_modules/zod/src/v4/locales/ca.ts +0 -127
- package/mcp-server/node_modules/zod/src/v4/locales/cs.ts +0 -142
- package/mcp-server/node_modules/zod/src/v4/locales/de.ts +0 -124
- package/mcp-server/node_modules/zod/src/v4/locales/en.ts +0 -127
- package/mcp-server/node_modules/zod/src/v4/locales/eo.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/es.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/fa.ts +0 -134
- package/mcp-server/node_modules/zod/src/v4/locales/fi.ts +0 -131
- package/mcp-server/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/fr.ts +0 -124
- package/mcp-server/node_modules/zod/src/v4/locales/he.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/hu.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/id.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/index.ts +0 -39
- package/mcp-server/node_modules/zod/src/v4/locales/it.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/ja.ts +0 -122
- package/mcp-server/node_modules/zod/src/v4/locales/kh.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/ko.ts +0 -131
- package/mcp-server/node_modules/zod/src/v4/locales/mk.ts +0 -127
- package/mcp-server/node_modules/zod/src/v4/locales/ms.ts +0 -124
- package/mcp-server/node_modules/zod/src/v4/locales/nl.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/no.ts +0 -124
- package/mcp-server/node_modules/zod/src/v4/locales/ota.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/pl.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/ps.ts +0 -133
- package/mcp-server/node_modules/zod/src/v4/locales/pt.ts +0 -123
- package/mcp-server/node_modules/zod/src/v4/locales/ru.ts +0 -184
- package/mcp-server/node_modules/zod/src/v4/locales/sl.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/sv.ts +0 -127
- package/mcp-server/node_modules/zod/src/v4/locales/ta.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/th.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/tr.ts +0 -121
- package/mcp-server/node_modules/zod/src/v4/locales/ua.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/ur.ts +0 -126
- package/mcp-server/node_modules/zod/src/v4/locales/vi.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
- package/mcp-server/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
- package/mcp-server/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/mcp-server/node_modules/zod/src/v4/mini/coerce.ts +0 -22
- package/mcp-server/node_modules/zod/src/v4/mini/external.ts +0 -40
- package/mcp-server/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/mcp-server/node_modules/zod/src/v4/mini/iso.ts +0 -62
- package/mcp-server/node_modules/zod/src/v4/mini/parse.ts +0 -1
- package/mcp-server/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
- package/mcp-server/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/mcp-server/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
- package/mcp-server/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/mcp-server/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/mcp-server/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/mcp-server/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
- package/mcp-server/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
- package/mcp-server/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/mcp-server/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
- package/mcp-server/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/mcp-server/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/mcp-server/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
- package/mcp-server/node_modules/zod/src/v4-mini/index.ts +0 -1
- package/mcp-server/node_modules/zod/v3/ZodError.cjs +0 -138
- package/mcp-server/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/mcp-server/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/mcp-server/node_modules/zod/v3/ZodError.js +0 -133
- package/mcp-server/node_modules/zod/v3/errors.cjs +0 -17
- package/mcp-server/node_modules/zod/v3/errors.d.cts +0 -5
- package/mcp-server/node_modules/zod/v3/errors.d.ts +0 -5
- package/mcp-server/node_modules/zod/v3/errors.js +0 -9
- package/mcp-server/node_modules/zod/v3/external.cjs +0 -22
- package/mcp-server/node_modules/zod/v3/external.d.cts +0 -6
- package/mcp-server/node_modules/zod/v3/external.d.ts +0 -6
- package/mcp-server/node_modules/zod/v3/external.js +0 -6
- package/mcp-server/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/mcp-server/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/mcp-server/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/mcp-server/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/mcp-server/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/mcp-server/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/mcp-server/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/mcp-server/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/mcp-server/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/mcp-server/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/mcp-server/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/mcp-server/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/mcp-server/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/mcp-server/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/mcp-server/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/mcp-server/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/mcp-server/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/mcp-server/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/mcp-server/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/mcp-server/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/mcp-server/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/mcp-server/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/mcp-server/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/mcp-server/node_modules/zod/v3/helpers/util.js +0 -133
- package/mcp-server/node_modules/zod/v3/index.cjs +0 -33
- package/mcp-server/node_modules/zod/v3/index.d.cts +0 -4
- package/mcp-server/node_modules/zod/v3/index.d.ts +0 -4
- package/mcp-server/node_modules/zod/v3/index.js +0 -4
- package/mcp-server/node_modules/zod/v3/locales/en.cjs +0 -111
- package/mcp-server/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/mcp-server/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/mcp-server/node_modules/zod/v3/locales/en.js +0 -109
- package/mcp-server/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/mcp-server/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/mcp-server/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/mcp-server/node_modules/zod/v3/standard-schema.js +0 -1
- package/mcp-server/node_modules/zod/v3/types.cjs +0 -3775
- package/mcp-server/node_modules/zod/v3/types.d.cts +0 -1031
- package/mcp-server/node_modules/zod/v3/types.d.ts +0 -1031
- package/mcp-server/node_modules/zod/v3/types.js +0 -3693
- package/mcp-server/node_modules/zod/v4/classic/checks.cjs +0 -32
- package/mcp-server/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/mcp-server/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/mcp-server/node_modules/zod/v4/classic/checks.js +0 -1
- package/mcp-server/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/mcp-server/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/mcp-server/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/mcp-server/node_modules/zod/v4/classic/coerce.js +0 -17
- package/mcp-server/node_modules/zod/v4/classic/compat.cjs +0 -57
- package/mcp-server/node_modules/zod/v4/classic/compat.d.cts +0 -46
- package/mcp-server/node_modules/zod/v4/classic/compat.d.ts +0 -46
- package/mcp-server/node_modules/zod/v4/classic/compat.js +0 -27
- package/mcp-server/node_modules/zod/v4/classic/errors.cjs +0 -67
- package/mcp-server/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/mcp-server/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/mcp-server/node_modules/zod/v4/classic/errors.js +0 -41
- package/mcp-server/node_modules/zod/v4/classic/external.cjs +0 -70
- package/mcp-server/node_modules/zod/v4/classic/external.d.cts +0 -13
- package/mcp-server/node_modules/zod/v4/classic/external.d.ts +0 -13
- package/mcp-server/node_modules/zod/v4/classic/external.js +0 -18
- package/mcp-server/node_modules/zod/v4/classic/index.cjs +0 -33
- package/mcp-server/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/classic/index.js +0 -4
- package/mcp-server/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/mcp-server/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/mcp-server/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/mcp-server/node_modules/zod/v4/classic/iso.js +0 -30
- package/mcp-server/node_modules/zod/v4/classic/parse.cjs +0 -32
- package/mcp-server/node_modules/zod/v4/classic/parse.d.cts +0 -23
- package/mcp-server/node_modules/zod/v4/classic/parse.d.ts +0 -23
- package/mcp-server/node_modules/zod/v4/classic/parse.js +0 -6
- package/mcp-server/node_modules/zod/v4/classic/schemas.cjs +0 -1109
- package/mcp-server/node_modules/zod/v4/classic/schemas.d.cts +0 -630
- package/mcp-server/node_modules/zod/v4/classic/schemas.d.ts +0 -630
- package/mcp-server/node_modules/zod/v4/classic/schemas.js +0 -1006
- package/mcp-server/node_modules/zod/v4/core/api.cjs +0 -1039
- package/mcp-server/node_modules/zod/v4/core/api.d.cts +0 -284
- package/mcp-server/node_modules/zod/v4/core/api.d.ts +0 -284
- package/mcp-server/node_modules/zod/v4/core/api.js +0 -906
- package/mcp-server/node_modules/zod/v4/core/checks.cjs +0 -591
- package/mcp-server/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/mcp-server/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/mcp-server/node_modules/zod/v4/core/checks.js +0 -565
- package/mcp-server/node_modules/zod/v4/core/core.cjs +0 -67
- package/mcp-server/node_modules/zod/v4/core/core.d.cts +0 -49
- package/mcp-server/node_modules/zod/v4/core/core.d.ts +0 -49
- package/mcp-server/node_modules/zod/v4/core/core.js +0 -61
- package/mcp-server/node_modules/zod/v4/core/doc.cjs +0 -39
- package/mcp-server/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/mcp-server/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/mcp-server/node_modules/zod/v4/core/doc.js +0 -35
- package/mcp-server/node_modules/zod/v4/core/errors.cjs +0 -226
- package/mcp-server/node_modules/zod/v4/core/errors.d.cts +0 -208
- package/mcp-server/node_modules/zod/v4/core/errors.d.ts +0 -208
- package/mcp-server/node_modules/zod/v4/core/errors.js +0 -195
- package/mcp-server/node_modules/zod/v4/core/function.cjs +0 -102
- package/mcp-server/node_modules/zod/v4/core/function.d.cts +0 -52
- package/mcp-server/node_modules/zod/v4/core/function.d.ts +0 -52
- package/mcp-server/node_modules/zod/v4/core/function.js +0 -75
- package/mcp-server/node_modules/zod/v4/core/index.cjs +0 -44
- package/mcp-server/node_modules/zod/v4/core/index.d.cts +0 -15
- package/mcp-server/node_modules/zod/v4/core/index.d.ts +0 -15
- package/mcp-server/node_modules/zod/v4/core/index.js +0 -15
- package/mcp-server/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/mcp-server/node_modules/zod/v4/core/json-schema.d.cts +0 -87
- package/mcp-server/node_modules/zod/v4/core/json-schema.d.ts +0 -87
- package/mcp-server/node_modules/zod/v4/core/json-schema.js +0 -1
- package/mcp-server/node_modules/zod/v4/core/parse.cjs +0 -87
- package/mcp-server/node_modules/zod/v4/core/parse.d.cts +0 -25
- package/mcp-server/node_modules/zod/v4/core/parse.d.ts +0 -25
- package/mcp-server/node_modules/zod/v4/core/parse.js +0 -57
- package/mcp-server/node_modules/zod/v4/core/regexes.cjs +0 -103
- package/mcp-server/node_modules/zod/v4/core/regexes.d.cts +0 -62
- package/mcp-server/node_modules/zod/v4/core/regexes.d.ts +0 -62
- package/mcp-server/node_modules/zod/v4/core/regexes.js +0 -95
- package/mcp-server/node_modules/zod/v4/core/registries.cjs +0 -56
- package/mcp-server/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/mcp-server/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/mcp-server/node_modules/zod/v4/core/registries.js +0 -51
- package/mcp-server/node_modules/zod/v4/core/schemas.cjs +0 -1748
- package/mcp-server/node_modules/zod/v4/core/schemas.d.cts +0 -1041
- package/mcp-server/node_modules/zod/v4/core/schemas.d.ts +0 -1041
- package/mcp-server/node_modules/zod/v4/core/schemas.js +0 -1717
- package/mcp-server/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/mcp-server/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
- package/mcp-server/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
- package/mcp-server/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/mcp-server/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
- package/mcp-server/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
- package/mcp-server/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
- package/mcp-server/node_modules/zod/v4/core/to-json-schema.js +0 -849
- package/mcp-server/node_modules/zod/v4/core/util.cjs +0 -539
- package/mcp-server/node_modules/zod/v4/core/util.d.cts +0 -183
- package/mcp-server/node_modules/zod/v4/core/util.d.ts +0 -183
- package/mcp-server/node_modules/zod/v4/core/util.js +0 -493
- package/mcp-server/node_modules/zod/v4/core/versions.cjs +0 -8
- package/mcp-server/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/mcp-server/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/mcp-server/node_modules/zod/v4/core/versions.js +0 -5
- package/mcp-server/node_modules/zod/v4/index.cjs +0 -22
- package/mcp-server/node_modules/zod/v4/index.d.cts +0 -3
- package/mcp-server/node_modules/zod/v4/index.d.ts +0 -3
- package/mcp-server/node_modules/zod/v4/index.js +0 -3
- package/mcp-server/node_modules/zod/v4/locales/ar.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/ar.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ar.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/az.cjs +0 -141
- package/mcp-server/node_modules/zod/v4/locales/az.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/az.js +0 -115
- package/mcp-server/node_modules/zod/v4/locales/be.cjs +0 -190
- package/mcp-server/node_modules/zod/v4/locales/be.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/be.js +0 -164
- package/mcp-server/node_modules/zod/v4/locales/ca.cjs +0 -144
- package/mcp-server/node_modules/zod/v4/locales/ca.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ca.js +0 -118
- package/mcp-server/node_modules/zod/v4/locales/cs.cjs +0 -161
- package/mcp-server/node_modules/zod/v4/locales/cs.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/cs.js +0 -135
- package/mcp-server/node_modules/zod/v4/locales/de.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/de.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/de.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/en.cjs +0 -145
- package/mcp-server/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/mcp-server/node_modules/zod/v4/locales/en.d.ts +0 -5
- package/mcp-server/node_modules/zod/v4/locales/en.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/eo.cjs +0 -144
- package/mcp-server/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/mcp-server/node_modules/zod/v4/locales/eo.d.ts +0 -5
- package/mcp-server/node_modules/zod/v4/locales/eo.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/es.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/es.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/es.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/fa.cjs +0 -148
- package/mcp-server/node_modules/zod/v4/locales/fa.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fa.js +0 -122
- package/mcp-server/node_modules/zod/v4/locales/fi.cjs +0 -148
- package/mcp-server/node_modules/zod/v4/locales/fi.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fi.js +0 -122
- package/mcp-server/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fr-CA.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/fr.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/fr.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/fr.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/he.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/he.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/he.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/hu.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/hu.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/hu.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/id.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/id.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/id.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/index.cjs +0 -84
- package/mcp-server/node_modules/zod/v4/locales/index.d.cts +0 -39
- package/mcp-server/node_modules/zod/v4/locales/index.d.ts +0 -39
- package/mcp-server/node_modules/zod/v4/locales/index.js +0 -39
- package/mcp-server/node_modules/zod/v4/locales/it.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/it.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/it.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/ja.cjs +0 -141
- package/mcp-server/node_modules/zod/v4/locales/ja.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ja.js +0 -115
- package/mcp-server/node_modules/zod/v4/locales/kh.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/kh.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/kh.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/kh.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/ko.cjs +0 -147
- package/mcp-server/node_modules/zod/v4/locales/ko.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ko.js +0 -121
- package/mcp-server/node_modules/zod/v4/locales/mk.cjs +0 -144
- package/mcp-server/node_modules/zod/v4/locales/mk.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/mk.js +0 -118
- package/mcp-server/node_modules/zod/v4/locales/ms.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/ms.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ms.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/nl.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/nl.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/nl.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/no.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/no.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/no.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/ota.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/ota.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ota.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/pl.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/pl.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/pl.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/ps.cjs +0 -148
- package/mcp-server/node_modules/zod/v4/locales/ps.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ps.js +0 -122
- package/mcp-server/node_modules/zod/v4/locales/pt.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/pt.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/pt.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/ru.cjs +0 -190
- package/mcp-server/node_modules/zod/v4/locales/ru.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ru.js +0 -164
- package/mcp-server/node_modules/zod/v4/locales/sl.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/sl.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/sl.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/sv.cjs +0 -144
- package/mcp-server/node_modules/zod/v4/locales/sv.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/sv.js +0 -118
- package/mcp-server/node_modules/zod/v4/locales/ta.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/ta.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ta.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/th.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/th.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/th.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/tr.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/mcp-server/node_modules/zod/v4/locales/tr.d.ts +0 -5
- package/mcp-server/node_modules/zod/v4/locales/tr.js +0 -115
- package/mcp-server/node_modules/zod/v4/locales/ua.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/ua.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ua.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ua.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/ur.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/ur.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/ur.js +0 -117
- package/mcp-server/node_modules/zod/v4/locales/vi.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/vi.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/vi.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
- package/mcp-server/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/zh-CN.js +0 -116
- package/mcp-server/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
- package/mcp-server/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/mcp-server/node_modules/zod/v4/locales/zh-TW.js +0 -117
- package/mcp-server/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/mcp-server/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/mcp-server/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/mcp-server/node_modules/zod/v4/mini/checks.js +0 -1
- package/mcp-server/node_modules/zod/v4/mini/coerce.cjs +0 -47
- package/mcp-server/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/mcp-server/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/mcp-server/node_modules/zod/v4/mini/coerce.js +0 -17
- package/mcp-server/node_modules/zod/v4/mini/external.cjs +0 -62
- package/mcp-server/node_modules/zod/v4/mini/external.d.cts +0 -11
- package/mcp-server/node_modules/zod/v4/mini/external.d.ts +0 -11
- package/mcp-server/node_modules/zod/v4/mini/external.js +0 -13
- package/mcp-server/node_modules/zod/v4/mini/index.cjs +0 -32
- package/mcp-server/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/mcp-server/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/mcp-server/node_modules/zod/v4/mini/index.js +0 -3
- package/mcp-server/node_modules/zod/v4/mini/iso.cjs +0 -60
- package/mcp-server/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/mcp-server/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/mcp-server/node_modules/zod/v4/mini/iso.js +0 -30
- package/mcp-server/node_modules/zod/v4/mini/parse.cjs +0 -8
- package/mcp-server/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/mcp-server/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/mcp-server/node_modules/zod/v4/mini/parse.js +0 -1
- package/mcp-server/node_modules/zod/v4/mini/schemas.cjs +0 -839
- package/mcp-server/node_modules/zod/v4/mini/schemas.d.cts +0 -356
- package/mcp-server/node_modules/zod/v4/mini/schemas.d.ts +0 -356
- package/mcp-server/node_modules/zod/v4/mini/schemas.js +0 -732
- package/mcp-server/node_modules/zod/v4-mini/index.cjs +0 -17
- package/mcp-server/node_modules/zod/v4-mini/index.d.cts +0 -1
- package/mcp-server/node_modules/zod/v4-mini/index.d.ts +0 -1
- package/mcp-server/node_modules/zod/v4-mini/index.js +0 -1
- package/mcp-server/package-lock.json +0 -147
- package/mcp-server/package-mcp.json +0 -40
- package/mcp-server/package.json +0 -40
- package/mcp-server/test-mcp.js +0 -107
- package/mcp-server/test-mcp.py +0 -73
- package/php/get-challenge.php +0 -34
- package/php/some-service.php +0 -42
package/concorde-core.es.js
CHANGED
|
@@ -55,7 +55,7 @@ let J = class Lt {
|
|
|
55
55
|
const h = Lt.getAncestorAttributeValue(
|
|
56
56
|
t,
|
|
57
57
|
"credentials"
|
|
58
|
-
) || void 0,
|
|
58
|
+
) || void 0, u = t.getAttribute("cache"), d = t.hasAttribute("blockUntilDone");
|
|
59
59
|
return {
|
|
60
60
|
serviceURL: e,
|
|
61
61
|
token: i,
|
|
@@ -65,7 +65,7 @@ let J = class Lt {
|
|
|
65
65
|
tokenProvider: l,
|
|
66
66
|
addHTTPResponse: s,
|
|
67
67
|
credentials: h,
|
|
68
|
-
cache:
|
|
68
|
+
cache: u,
|
|
69
69
|
blockUntilDone: d
|
|
70
70
|
};
|
|
71
71
|
}
|
|
@@ -127,9 +127,9 @@ let us = class {
|
|
|
127
127
|
}
|
|
128
128
|
static minutesDuration(t, i = "", s = "long") {
|
|
129
129
|
i || (i = J.getLanguage());
|
|
130
|
-
const e = (h,
|
|
131
|
-
function o(h,
|
|
132
|
-
return new Intl.NumberFormat(h, { style: "unit", unit:
|
|
130
|
+
const e = (h, u) => [Math.floor(h / u), h % u];
|
|
131
|
+
function o(h, u, d) {
|
|
132
|
+
return new Intl.NumberFormat(h, { style: "unit", unit: u, unitDisplay: d }).format;
|
|
133
133
|
}
|
|
134
134
|
const [n, l] = e(t, 60), c = [];
|
|
135
135
|
return n && c.push(o(i, "hour", s)(n)), l && c.push(o(i, "minute", s)(l)), new Intl.ListFormat(i, {
|
|
@@ -171,9 +171,9 @@ function ls(r) {
|
|
|
171
171
|
function Ve(r) {
|
|
172
172
|
return typeof r == "object" && r != null;
|
|
173
173
|
}
|
|
174
|
-
let
|
|
175
|
-
typeof __SONIC_PREFIX__ > "u" && (
|
|
176
|
-
const js =
|
|
174
|
+
let Pe = "sonic";
|
|
175
|
+
typeof __SONIC_PREFIX__ > "u" && (Pe = "sonic");
|
|
176
|
+
const js = Pe == "sonic" ? "publisher-proxies-data" : Pe + "-publisher-proxies-data";
|
|
177
177
|
var At;
|
|
178
178
|
let di = (At = class {
|
|
179
179
|
constructor(t, i, s) {
|
|
@@ -386,7 +386,7 @@ let di = (At = class {
|
|
|
386
386
|
* retourner le webcomponent auquel le proxy est associé
|
|
387
387
|
*/
|
|
388
388
|
get $tag() {
|
|
389
|
-
return this._instanceCounter_ || (At.instancesCounter++, this._instanceCounter_ = At.instancesCounter), At.instances.set(this._instanceCounter_, this), "<" +
|
|
389
|
+
return this._instanceCounter_ || (At.instancesCounter++, this._instanceCounter_ = At.instancesCounter), At.instances.set(this._instanceCounter_, this), "<" + Pe + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Pe + "-publisher-proxy>";
|
|
390
390
|
}
|
|
391
391
|
}, At.instances = /* @__PURE__ */ new Map(), At.instancesCounter = 0, At);
|
|
392
392
|
var D;
|
|
@@ -543,20 +543,20 @@ let T = (D = class {
|
|
|
543
543
|
n.write(s), n.close();
|
|
544
544
|
const l = await new Response(o.readable).arrayBuffer(), c = new Uint8Array(l);
|
|
545
545
|
let h = "";
|
|
546
|
-
for (let
|
|
547
|
-
h += String.fromCharCode(c[
|
|
546
|
+
for (let u = 0; u < c.length; u++)
|
|
547
|
+
h += String.fromCharCode(c[u]);
|
|
548
548
|
return btoa(h);
|
|
549
549
|
}
|
|
550
550
|
async decompress(t, i) {
|
|
551
551
|
const s = atob(t), o = Uint8Array.from(
|
|
552
552
|
s,
|
|
553
|
-
(
|
|
553
|
+
(u) => u.charCodeAt(0)
|
|
554
554
|
).buffer, n = window, l = new n.DecompressionStream(i), c = l.writable.getWriter();
|
|
555
555
|
c.write(o), c.close();
|
|
556
556
|
const h = await new Response(l.readable).arrayBuffer();
|
|
557
557
|
return new TextDecoder().decode(h);
|
|
558
558
|
}
|
|
559
|
-
}, D.buildDate = "
|
|
559
|
+
}, D.buildDate = "Fri Oct 10 2025 09:53:53 GMT+0200 (Central European Summer Time)", D.changed = !1, D.saving = !1, D.saveId = 0, D.instance = null, D.instances = /* @__PURE__ */ new Map(), D.modifiedCollectore = [], D);
|
|
560
560
|
if (typeof window < "u") {
|
|
561
561
|
const r = window;
|
|
562
562
|
r[fs + "PublisherManager"] = r[fs + "PublisherManager"] || T;
|
|
@@ -699,7 +699,7 @@ class Vr extends HTMLElement {
|
|
|
699
699
|
}
|
|
700
700
|
try {
|
|
701
701
|
customElements.define(
|
|
702
|
-
|
|
702
|
+
Pe + "-publisher-proxy",
|
|
703
703
|
Vr
|
|
704
704
|
);
|
|
705
705
|
} catch {
|
|
@@ -822,35 +822,35 @@ let As = (N = class {
|
|
|
822
822
|
e.forEach((n) => {
|
|
823
823
|
const l = n.bindedVariablesDescriptor, c = n.propertyToUpdate;
|
|
824
824
|
for (const h of l.variables) {
|
|
825
|
-
const
|
|
825
|
+
const u = h;
|
|
826
826
|
let d = s;
|
|
827
|
-
d = N.getSubPublisher(s,
|
|
828
|
-
const
|
|
827
|
+
d = N.getSubPublisher(s, u);
|
|
828
|
+
const g = t, v = {
|
|
829
829
|
publisher: d,
|
|
830
830
|
onAssign: () => {
|
|
831
831
|
const b = l.variables.map((E) => N.getSubPublisher(s, E)?.get());
|
|
832
|
-
let
|
|
833
|
-
if (b.length == 1 && l.variables[0].join(".") ==
|
|
832
|
+
let x = l.expression, C = !1;
|
|
833
|
+
if (b.length == 1 && l.variables[0].join(".") == x.substring(1)) {
|
|
834
834
|
let E = b[0];
|
|
835
|
-
E === null && (E = ""),
|
|
835
|
+
E === null && (E = ""), g[c] = E;
|
|
836
836
|
return;
|
|
837
837
|
}
|
|
838
838
|
for (let E = 0; E < b.length; E++) {
|
|
839
839
|
let p = b[E];
|
|
840
|
-
const
|
|
841
|
-
p === null && (
|
|
840
|
+
const f = l.variables[E];
|
|
841
|
+
p === null && (C = !0, p = void 0), x = x.replace("$" + f.join("."), p);
|
|
842
842
|
}
|
|
843
|
-
if (
|
|
844
|
-
const E =
|
|
843
|
+
if (x.indexOf("|") != -1) {
|
|
844
|
+
const E = x.indexOf("|");
|
|
845
845
|
if (E == 0)
|
|
846
|
-
|
|
846
|
+
x = us.js(x.substring(1));
|
|
847
847
|
else {
|
|
848
|
-
const p =
|
|
849
|
-
|
|
848
|
+
const p = x.substring(0, E), f = x.substring(E + 1), y = us[p];
|
|
849
|
+
x = C ? "" : y ? y(f) : x;
|
|
850
850
|
}
|
|
851
851
|
} else
|
|
852
|
-
|
|
853
|
-
|
|
852
|
+
x = C ? "" : x;
|
|
853
|
+
g[c] = x;
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
856
|
d?.onAssign(v.onAssign), o.push(v);
|
|
@@ -860,7 +860,7 @@ let As = (N = class {
|
|
|
860
860
|
}, N.observedElements = /* @__PURE__ */ new Map(), N.enabled = !0, N.publisherListeners = /* @__PURE__ */ new Map(), N);
|
|
861
861
|
As.observe(document.documentElement);
|
|
862
862
|
window.SonicDataBindObserver || (window.SonicDataBindObserver = As);
|
|
863
|
-
let tt = class
|
|
863
|
+
let tt = class Bt {
|
|
864
864
|
/**
|
|
865
865
|
* Effectue une comparaison d'égalité non profonde entre deux objets.
|
|
866
866
|
*/
|
|
@@ -886,8 +886,8 @@ let tt = class Vt {
|
|
|
886
886
|
if (e.length !== o.length && s)
|
|
887
887
|
return !1;
|
|
888
888
|
for (const n of e) {
|
|
889
|
-
const l = t[n], c = i[n], h =
|
|
890
|
-
if (h && !
|
|
889
|
+
const l = t[n], c = i[n], h = Bt.isObject(l) && Bt.isObject(c), u = s ? l !== c : l != c;
|
|
890
|
+
if (h && !Bt.deepEqual(l, c) || !h && u)
|
|
891
891
|
return !1;
|
|
892
892
|
}
|
|
893
893
|
return !0;
|
|
@@ -906,7 +906,7 @@ let tt = class Vt {
|
|
|
906
906
|
return t == null;
|
|
907
907
|
}
|
|
908
908
|
static isEmpty(t) {
|
|
909
|
-
return
|
|
909
|
+
return Bt.isUndefindOrNull(t) ? !0 : Object.keys(t).length === 0;
|
|
910
910
|
}
|
|
911
911
|
/**
|
|
912
912
|
* traverse l'objet pour obtenir la valeur a l'adresse donnée via le tableau de clés pathArray.
|
|
@@ -918,19 +918,19 @@ let tt = class Vt {
|
|
|
918
918
|
const o = t[e];
|
|
919
919
|
if (o === void 0)
|
|
920
920
|
return;
|
|
921
|
-
s &&
|
|
921
|
+
s && Bt.isObject(o) ? t = Object.assign(Array.isArray(o) ? [] : {}, t, o) : t = t[e];
|
|
922
922
|
}
|
|
923
923
|
return t;
|
|
924
924
|
}
|
|
925
925
|
static traverseDotNotation(t, i, s = !1) {
|
|
926
|
-
return
|
|
926
|
+
return Bt.traverse(t, i.split("."), s);
|
|
927
927
|
}
|
|
928
928
|
/*eslint-enable @typescript-eslint/no-explicit-any*/
|
|
929
929
|
static getURLSearchArray(t, i = "") {
|
|
930
930
|
let s = [];
|
|
931
931
|
for (let e in t) {
|
|
932
932
|
const o = t[e];
|
|
933
|
-
i && (e = i + "[" + e + "]"),
|
|
933
|
+
i && (e = i + "[" + e + "]"), Bt.isObject(o) ? s = [
|
|
934
934
|
...s,
|
|
935
935
|
...this.getURLSearchArray(o, e)
|
|
936
936
|
] : s.push(`${e}=${o}`);
|
|
@@ -938,10 +938,10 @@ let tt = class Vt {
|
|
|
938
938
|
return s;
|
|
939
939
|
}
|
|
940
940
|
static getURLSearchString(t) {
|
|
941
|
-
return
|
|
941
|
+
return Bt.getURLSearchArray(t, "").join("&");
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
|
-
const
|
|
944
|
+
const pt = tt.traverseDotNotation;
|
|
945
945
|
/**
|
|
946
946
|
* @license
|
|
947
947
|
* Copyright 2017 Google LLC
|
|
@@ -976,7 +976,7 @@ let pr = class {
|
|
|
976
976
|
return this.cssText;
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
|
-
const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui),
|
|
979
|
+
const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui), P = (r, ...t) => {
|
|
980
980
|
const i = r.length === 1 ? r[0] : t.reduce(((s, e, o) => s + ((n) => {
|
|
981
981
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
982
982
|
if (typeof n == "number") return n;
|
|
@@ -999,7 +999,7 @@ const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui), x = (r,
|
|
|
999
999
|
* Copyright 2017 Google LLC
|
|
1000
1000
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1001
1001
|
*/
|
|
1002
|
-
const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Yr, getOwnPropertySymbols: Xr, getPrototypeOf: Zr } = Object, ks = globalThis, ji = ks.trustedTypes, Gr = ji ? ji.emptyScript : "", Qr = ks.reactiveElementPolyfillSupport, Be = (r, t) => r,
|
|
1002
|
+
const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Yr, getOwnPropertySymbols: Xr, getPrototypeOf: Zr } = Object, ks = globalThis, ji = ks.trustedTypes, Gr = ji ? ji.emptyScript : "", Qr = ks.reactiveElementPolyfillSupport, Be = (r, t) => r, ms = { toAttribute(r, t) {
|
|
1003
1003
|
switch (t) {
|
|
1004
1004
|
case Boolean:
|
|
1005
1005
|
r = r ? Gr : null;
|
|
@@ -1027,9 +1027,9 @@ const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnProperty
|
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
return i;
|
|
1030
|
-
} }, fi = (r, t) => !Hr(r, t), Fi = { attribute: !0, type: String, converter:
|
|
1030
|
+
} }, fi = (r, t) => !Hr(r, t), Fi = { attribute: !0, type: String, converter: ms, reflect: !1, useDefault: !1, hasChanged: fi };
|
|
1031
1031
|
Symbol.metadata ??= Symbol("metadata"), ks.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
1032
|
-
let
|
|
1032
|
+
let _e = class extends HTMLElement {
|
|
1033
1033
|
static addInitializer(t) {
|
|
1034
1034
|
this._$Ei(), (this.l ??= []).push(t);
|
|
1035
1035
|
}
|
|
@@ -1126,14 +1126,14 @@ let we = class extends HTMLElement {
|
|
|
1126
1126
|
_$ET(t, i) {
|
|
1127
1127
|
const s = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, s);
|
|
1128
1128
|
if (e !== void 0 && s.reflect === !0) {
|
|
1129
|
-
const o = (s.converter?.toAttribute !== void 0 ? s.converter :
|
|
1129
|
+
const o = (s.converter?.toAttribute !== void 0 ? s.converter : ms).toAttribute(i, s.type);
|
|
1130
1130
|
this._$Em = t, o == null ? this.removeAttribute(e) : this.setAttribute(e, o), this._$Em = null;
|
|
1131
1131
|
}
|
|
1132
1132
|
}
|
|
1133
1133
|
_$AK(t, i) {
|
|
1134
1134
|
const s = this.constructor, e = s._$Eh.get(t);
|
|
1135
1135
|
if (e !== void 0 && this._$Em !== e) {
|
|
1136
|
-
const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter :
|
|
1136
|
+
const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter : ms;
|
|
1137
1137
|
this._$Em = e;
|
|
1138
1138
|
const l = n.fromAttribute(i, o.type);
|
|
1139
1139
|
this[e] = l ?? this._$Ej?.get(e) ?? l, this._$Em = null;
|
|
@@ -1210,13 +1210,13 @@ let we = class extends HTMLElement {
|
|
|
1210
1210
|
firstUpdated(t) {
|
|
1211
1211
|
}
|
|
1212
1212
|
};
|
|
1213
|
-
|
|
1213
|
+
_e.elementStyles = [], _e.shadowRootOptions = { mode: "open" }, _e[Be("elementProperties")] = /* @__PURE__ */ new Map(), _e[Be("finalized")] = /* @__PURE__ */ new Map(), Qr?.({ ReactiveElement: _e }), (ks.reactiveElementVersions ??= []).push("2.1.1");
|
|
1214
1214
|
/**
|
|
1215
1215
|
* @license
|
|
1216
1216
|
* Copyright 2017 Google LLC
|
|
1217
1217
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1218
1218
|
*/
|
|
1219
|
-
const Jr = { attribute: !0, type: String, converter:
|
|
1219
|
+
const Jr = { attribute: !0, type: String, converter: ms, reflect: !1, hasChanged: fi }, to = (r = Jr, t, i) => {
|
|
1220
1220
|
const { kind: s, metadata: e } = i;
|
|
1221
1221
|
let o = globalThis.litPropertyMetadata.get(e);
|
|
1222
1222
|
if (o === void 0 && globalThis.litPropertyMetadata.set(e, o = /* @__PURE__ */ new Map()), s === "setter" && ((r = Object.create(r)).wrapped = !0), o.set(i.name, r), s === "accessor") {
|
|
@@ -1256,16 +1256,16 @@ function L(r) {
|
|
|
1256
1256
|
* Copyright 2017 Google LLC
|
|
1257
1257
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1258
1258
|
*/
|
|
1259
|
-
const
|
|
1259
|
+
const mi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, i), i);
|
|
1260
1260
|
/**
|
|
1261
1261
|
* @license
|
|
1262
1262
|
* Copyright 2017 Google LLC
|
|
1263
1263
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1264
1264
|
*/
|
|
1265
|
-
function
|
|
1265
|
+
function ge(r, t) {
|
|
1266
1266
|
return (i, s, e) => {
|
|
1267
1267
|
const o = (n) => n.renderRoot?.querySelector(r) ?? null;
|
|
1268
|
-
return
|
|
1268
|
+
return mi(i, s, { get() {
|
|
1269
1269
|
return o(this);
|
|
1270
1270
|
} });
|
|
1271
1271
|
};
|
|
@@ -1278,7 +1278,7 @@ function Ae(r, t) {
|
|
|
1278
1278
|
function ke(r) {
|
|
1279
1279
|
return (t, i) => {
|
|
1280
1280
|
const { slot: s, selector: e } = r ?? {}, o = "slot" + (s ? `[name=${s}]` : ":not([name])");
|
|
1281
|
-
return
|
|
1281
|
+
return mi(t, i, { get() {
|
|
1282
1282
|
const n = this.renderRoot?.querySelector(o), l = n?.assignedElements(r) ?? [];
|
|
1283
1283
|
return e === void 0 ? l : l.filter(((c) => c.matches(e)));
|
|
1284
1284
|
} });
|
|
@@ -1289,10 +1289,10 @@ function ke(r) {
|
|
|
1289
1289
|
* Copyright 2017 Google LLC
|
|
1290
1290
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1291
1291
|
*/
|
|
1292
|
-
function
|
|
1292
|
+
function dt(r) {
|
|
1293
1293
|
return (t, i) => {
|
|
1294
1294
|
const { slot: s } = r ?? {}, e = "slot" + (s ? `[name=${s}]` : ":not([name])");
|
|
1295
|
-
return
|
|
1295
|
+
return mi(t, i, { get() {
|
|
1296
1296
|
return this.renderRoot?.querySelector(e)?.assignedNodes(r) ?? [];
|
|
1297
1297
|
} });
|
|
1298
1298
|
};
|
|
@@ -1302,10 +1302,10 @@ function ht(r) {
|
|
|
1302
1302
|
* Copyright 2017 Google LLC
|
|
1303
1303
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1304
1304
|
*/
|
|
1305
|
-
const
|
|
1305
|
+
const gi = globalThis, gs = gi.trustedTypes, zi = gs ? gs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ur = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + Yt, eo = `<${fr}>`, he = document, We = () => he.createComment(""), Ke = (r) => r === null || typeof r != "object" && typeof r != "function", bi = Array.isArray, so = (r) => bi(r) || typeof r?.[Symbol.iterator] == "function", Fs = `[
|
|
1306
1306
|
\f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g, oe = RegExp(`>|${Fs}(?:([^\\s"'>=/]+)(${Fs}*=${Fs}*(?:[^
|
|
1307
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g,
|
|
1308
|
-
function
|
|
1307
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, mr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), m = io(1), wt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(), ce = he.createTreeWalker(he, 129);
|
|
1308
|
+
function gr(r, t) {
|
|
1309
1309
|
if (!bi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1310
1310
|
return zi !== void 0 ? zi.createHTML(t) : t;
|
|
1311
1311
|
}
|
|
@@ -1314,19 +1314,19 @@ const ro = (r, t) => {
|
|
|
1314
1314
|
let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = je;
|
|
1315
1315
|
for (let l = 0; l < i; l++) {
|
|
1316
1316
|
const c = r[l];
|
|
1317
|
-
let h,
|
|
1318
|
-
for (;
|
|
1317
|
+
let h, u, d = -1, g = 0;
|
|
1318
|
+
for (; g < c.length && (n.lastIndex = g, u = n.exec(c), u !== null); ) g = n.lastIndex, n === je ? u[1] === "!--" ? n = Ri : u[1] !== void 0 ? n = Ui : u[2] !== void 0 ? (mr.test(u[2]) && (e = RegExp("</" + u[2], "g")), n = oe) : u[3] !== void 0 && (n = oe) : n === oe ? u[0] === ">" ? (n = e ?? je, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, h = u[1], n = u[3] === void 0 ? oe : u[3] === '"' ? Bi : Vi) : n === Bi || n === Vi ? n = oe : n === Ri || n === Ui ? n = je : (n = oe, e = void 0);
|
|
1319
1319
|
const v = n === oe && r[l + 1].startsWith("/>") ? " " : "";
|
|
1320
1320
|
o += n === je ? c + eo : d >= 0 ? (s.push(h), c.slice(0, d) + ur + c.slice(d) + Yt + v) : c + Yt + (d === -2 ? l : v);
|
|
1321
1321
|
}
|
|
1322
|
-
return [
|
|
1322
|
+
return [gr(r, o + (r[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
1323
1323
|
};
|
|
1324
1324
|
let qs = class br {
|
|
1325
1325
|
constructor({ strings: t, _$litType$: i }, s) {
|
|
1326
1326
|
let e;
|
|
1327
1327
|
this.parts = [];
|
|
1328
1328
|
let o = 0, n = 0;
|
|
1329
|
-
const l = t.length - 1, c = this.parts, [h,
|
|
1329
|
+
const l = t.length - 1, c = this.parts, [h, u] = ro(t, i);
|
|
1330
1330
|
if (this.el = br.createElement(h, s), ce.currentNode = this.el.content, i === 2 || i === 3) {
|
|
1331
1331
|
const d = this.el.content.firstChild;
|
|
1332
1332
|
d.replaceWith(...d.childNodes);
|
|
@@ -1334,15 +1334,15 @@ let qs = class br {
|
|
|
1334
1334
|
for (; (e = ce.nextNode()) !== null && c.length < l; ) {
|
|
1335
1335
|
if (e.nodeType === 1) {
|
|
1336
1336
|
if (e.hasAttributes()) for (const d of e.getAttributeNames()) if (d.endsWith(ur)) {
|
|
1337
|
-
const
|
|
1337
|
+
const g = u[n++], v = e.getAttribute(d).split(Yt), b = /([.?@])?(.*)/.exec(g);
|
|
1338
1338
|
c.push({ type: 1, index: o, name: b[2], strings: v, ctor: b[1] === "." ? no : b[1] === "?" ? ao : b[1] === "@" ? lo : Os }), e.removeAttribute(d);
|
|
1339
1339
|
} else d.startsWith(Yt) && (c.push({ type: 6, index: o }), e.removeAttribute(d));
|
|
1340
|
-
if (
|
|
1341
|
-
const d = e.textContent.split(Yt),
|
|
1342
|
-
if (
|
|
1343
|
-
e.textContent =
|
|
1344
|
-
for (let v = 0; v <
|
|
1345
|
-
e.append(d[
|
|
1340
|
+
if (mr.test(e.tagName)) {
|
|
1341
|
+
const d = e.textContent.split(Yt), g = d.length - 1;
|
|
1342
|
+
if (g > 0) {
|
|
1343
|
+
e.textContent = gs ? gs.emptyScript : "";
|
|
1344
|
+
for (let v = 0; v < g; v++) e.append(d[v], We()), ce.nextNode(), c.push({ type: 2, index: ++o });
|
|
1345
|
+
e.append(d[g], We());
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|
|
1348
1348
|
} else if (e.nodeType === 8) if (e.data === fr) c.push({ type: 2, index: o });
|
|
@@ -1358,11 +1358,11 @@ let qs = class br {
|
|
|
1358
1358
|
return s.innerHTML = t, s;
|
|
1359
1359
|
}
|
|
1360
1360
|
};
|
|
1361
|
-
function
|
|
1362
|
-
if (t ===
|
|
1361
|
+
function $e(r, t, i = r, s) {
|
|
1362
|
+
if (t === wt) return t;
|
|
1363
1363
|
let e = s !== void 0 ? i._$Co?.[s] : i._$Cl;
|
|
1364
1364
|
const o = Ke(t) ? void 0 : t._$litDirective$;
|
|
1365
|
-
return e?.constructor !== o && (e?._$AO?.(!1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, i, s)), s !== void 0 ? (i._$Co ??= [])[s] = e : i._$Cl = e), e !== void 0 && (t =
|
|
1365
|
+
return e?.constructor !== o && (e?._$AO?.(!1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, i, s)), s !== void 0 ? (i._$Co ??= [])[s] = e : i._$Cl = e), e !== void 0 && (t = $e(r, e._$AS(r, t.values), e, s)), t;
|
|
1366
1366
|
}
|
|
1367
1367
|
let oo = class {
|
|
1368
1368
|
constructor(t, i) {
|
|
@@ -1397,7 +1397,7 @@ class Oe {
|
|
|
1397
1397
|
return this._$AM?._$AU ?? this._$Cv;
|
|
1398
1398
|
}
|
|
1399
1399
|
constructor(t, i, s, e) {
|
|
1400
|
-
this.type = 2, this._$AH =
|
|
1400
|
+
this.type = 2, this._$AH = S, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
|
|
1401
1401
|
}
|
|
1402
1402
|
get parentNode() {
|
|
1403
1403
|
let t = this._$AA.parentNode;
|
|
@@ -1411,7 +1411,7 @@ class Oe {
|
|
|
1411
1411
|
return this._$AB;
|
|
1412
1412
|
}
|
|
1413
1413
|
_$AI(t, i = this) {
|
|
1414
|
-
t =
|
|
1414
|
+
t = $e(this, t, i), Ke(t) ? t === S || t == null || t === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : so(t) ? this.k(t) : this._(t);
|
|
1415
1415
|
}
|
|
1416
1416
|
O(t) {
|
|
1417
1417
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1420,10 +1420,10 @@ class Oe {
|
|
|
1420
1420
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1421
1421
|
}
|
|
1422
1422
|
_(t) {
|
|
1423
|
-
this._$AH !==
|
|
1423
|
+
this._$AH !== S && Ke(this._$AH) ? this._$AA.nextSibling.data = t : this.T(he.createTextNode(t)), this._$AH = t;
|
|
1424
1424
|
}
|
|
1425
1425
|
$(t) {
|
|
1426
|
-
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = qs.createElement(
|
|
1426
|
+
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = qs.createElement(gr(s.h, s.h[0]), this.options)), s);
|
|
1427
1427
|
if (this._$AH?._$AD === e) this._$AH.p(i);
|
|
1428
1428
|
else {
|
|
1429
1429
|
const o = new oo(e, this), n = o.u(this.options);
|
|
@@ -1459,21 +1459,21 @@ class Os {
|
|
|
1459
1459
|
return this._$AM._$AU;
|
|
1460
1460
|
}
|
|
1461
1461
|
constructor(t, i, s, e, o) {
|
|
1462
|
-
this.type = 1, this._$AH =
|
|
1462
|
+
this.type = 1, this._$AH = S, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = S;
|
|
1463
1463
|
}
|
|
1464
1464
|
_$AI(t, i = this, s, e) {
|
|
1465
1465
|
const o = this.strings;
|
|
1466
1466
|
let n = !1;
|
|
1467
|
-
if (o === void 0) t =
|
|
1467
|
+
if (o === void 0) t = $e(this, t, i, 0), n = !Ke(t) || t !== this._$AH && t !== wt, n && (this._$AH = t);
|
|
1468
1468
|
else {
|
|
1469
1469
|
const l = t;
|
|
1470
1470
|
let c, h;
|
|
1471
|
-
for (t = o[0], c = 0; c < o.length - 1; c++) h =
|
|
1471
|
+
for (t = o[0], c = 0; c < o.length - 1; c++) h = $e(this, l[s + c], i, c), h === wt && (h = this._$AH[c]), n ||= !Ke(h) || h !== this._$AH[c], h === S ? t = S : t !== S && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
1472
1472
|
}
|
|
1473
1473
|
n && !e && this.j(t);
|
|
1474
1474
|
}
|
|
1475
1475
|
j(t) {
|
|
1476
|
-
t ===
|
|
1476
|
+
t === S ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
1479
|
class no extends Os {
|
|
@@ -1481,7 +1481,7 @@ class no extends Os {
|
|
|
1481
1481
|
super(...arguments), this.type = 3;
|
|
1482
1482
|
}
|
|
1483
1483
|
j(t) {
|
|
1484
|
-
this.element[this.name] = t ===
|
|
1484
|
+
this.element[this.name] = t === S ? void 0 : t;
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
class ao extends Os {
|
|
@@ -1489,7 +1489,7 @@ class ao extends Os {
|
|
|
1489
1489
|
super(...arguments), this.type = 4;
|
|
1490
1490
|
}
|
|
1491
1491
|
j(t) {
|
|
1492
|
-
this.element.toggleAttribute(this.name, !!t && t !==
|
|
1492
|
+
this.element.toggleAttribute(this.name, !!t && t !== S);
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
class lo extends Os {
|
|
@@ -1497,8 +1497,8 @@ class lo extends Os {
|
|
|
1497
1497
|
super(t, i, s, e, o), this.type = 5;
|
|
1498
1498
|
}
|
|
1499
1499
|
_$AI(t, i = this) {
|
|
1500
|
-
if ((t =
|
|
1501
|
-
const s = this._$AH, e = t ===
|
|
1500
|
+
if ((t = $e(this, t, i, 0) ?? S) === wt) return;
|
|
1501
|
+
const s = this._$AH, e = t === S && s !== S || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== S && (s === S || e);
|
|
1502
1502
|
e && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1503
1503
|
}
|
|
1504
1504
|
handleEvent(t) {
|
|
@@ -1513,11 +1513,11 @@ class co {
|
|
|
1513
1513
|
return this._$AM._$AU;
|
|
1514
1514
|
}
|
|
1515
1515
|
_$AI(t) {
|
|
1516
|
-
|
|
1516
|
+
$e(this, t);
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
|
-
const ho = { I: Oe }, po =
|
|
1520
|
-
po?.(qs, Oe), (
|
|
1519
|
+
const ho = { I: Oe }, po = gi.litHtmlPolyfillSupport;
|
|
1520
|
+
po?.(qs, Oe), (gi.litHtmlVersions ??= []).push("3.3.1");
|
|
1521
1521
|
const uo = (r, t, i) => {
|
|
1522
1522
|
const s = i?.renderBefore ?? t;
|
|
1523
1523
|
let e = s._$litPart$;
|
|
@@ -1532,7 +1532,7 @@ const uo = (r, t, i) => {
|
|
|
1532
1532
|
* Copyright 2020 Google LLC
|
|
1533
1533
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1534
1534
|
*/
|
|
1535
|
-
const { I: fo } = ho,
|
|
1535
|
+
const { I: fo } = ho, mo = (r) => r.strings === void 0, Hi = () => document.createComment(""), Fe = (r, t, i) => {
|
|
1536
1536
|
const s = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
|
|
1537
1537
|
if (i === void 0) {
|
|
1538
1538
|
const o = s.insertBefore(Hi(), e), n = s.insertBefore(Hi(), e);
|
|
@@ -1552,7 +1552,7 @@ const { I: fo } = ho, go = (r) => r.strings === void 0, Hi = () => document.crea
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
1554
|
return i;
|
|
1555
|
-
}, ne = (r, t, i = r) => (r._$AI(t, i), r),
|
|
1555
|
+
}, ne = (r, t, i = r) => (r._$AI(t, i), r), go = {}, bo = (r, t = go) => r._$AH = t, vo = (r) => r._$AH, zs = (r) => {
|
|
1556
1556
|
r._$AR(), r._$AA.remove();
|
|
1557
1557
|
};
|
|
1558
1558
|
/**
|
|
@@ -1560,7 +1560,7 @@ const { I: fo } = ho, go = (r) => r.strings === void 0, Hi = () => document.crea
|
|
|
1560
1560
|
* Copyright 2017 Google LLC
|
|
1561
1561
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1562
1562
|
*/
|
|
1563
|
-
const
|
|
1563
|
+
const be = { ATTRIBUTE: 1, CHILD: 2 }, ee = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
1564
1564
|
let De = class {
|
|
1565
1565
|
constructor(t) {
|
|
1566
1566
|
}
|
|
@@ -1611,7 +1611,7 @@ function wo(r, t = !1, i = 0) {
|
|
|
1611
1611
|
else qe(this, r);
|
|
1612
1612
|
}
|
|
1613
1613
|
const _o = (r) => {
|
|
1614
|
-
r.type ==
|
|
1614
|
+
r.type == be.CHILD && (r._$AP ??= wo, r._$AQ ??= yo);
|
|
1615
1615
|
};
|
|
1616
1616
|
class vi extends De {
|
|
1617
1617
|
constructor() {
|
|
@@ -1624,7 +1624,7 @@ class vi extends De {
|
|
|
1624
1624
|
t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (qe(this, t), bs(this));
|
|
1625
1625
|
}
|
|
1626
1626
|
setValue(t) {
|
|
1627
|
-
if (
|
|
1627
|
+
if (mo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1628
1628
|
else {
|
|
1629
1629
|
const i = [...this._$Ct._$AH];
|
|
1630
1630
|
i[this._$Ci] = t, this._$Ct._$AI(i, this, 0);
|
|
@@ -1641,7 +1641,7 @@ class vi extends De {
|
|
|
1641
1641
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1642
1642
|
*/
|
|
1643
1643
|
const yi = globalThis;
|
|
1644
|
-
let w = class extends
|
|
1644
|
+
let w = class extends _e {
|
|
1645
1645
|
constructor() {
|
|
1646
1646
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1647
1647
|
}
|
|
@@ -1660,7 +1660,7 @@ let w = class extends we {
|
|
|
1660
1660
|
super.disconnectedCallback(), this._$Do?.setConnected(!1);
|
|
1661
1661
|
}
|
|
1662
1662
|
render() {
|
|
1663
|
-
return
|
|
1663
|
+
return wt;
|
|
1664
1664
|
}
|
|
1665
1665
|
};
|
|
1666
1666
|
w._$litElement$ = !0, w.finalized = !0, yi.litElementHydrateSupport?.({ LitElement: w });
|
|
@@ -1695,7 +1695,7 @@ class Po extends vi {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
/* eslint-enable @typescript-eslint/no-explicit-any*/
|
|
1697
1697
|
render(t) {
|
|
1698
|
-
return this.observable !== t && (this.observable = t, this.isConnected && this.subscribe(t)),
|
|
1698
|
+
return this.observable !== t && (this.observable = t, this.isConnected && this.subscribe(t)), wt;
|
|
1699
1699
|
}
|
|
1700
1700
|
// Subscribes to the observable, calling the directive's asynchronous
|
|
1701
1701
|
// setValue API each time the value changes
|
|
@@ -1819,19 +1819,19 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1819
1819
|
let n = [];
|
|
1820
1820
|
Array.isArray(o) ? n = o : n = [o];
|
|
1821
1821
|
const l = [];
|
|
1822
|
-
let c = Number.POSITIVE_INFINITY, h = 0,
|
|
1823
|
-
if (e.has("limit") && (c = parseInt(e.get("limit") || "0"),
|
|
1822
|
+
let c = Number.POSITIVE_INFINITY, h = 0, u = 0;
|
|
1823
|
+
if (e.has("limit") && (c = parseInt(e.get("limit") || "0"), u++), e.has("offset") && (h = parseInt(e.get("offset") || "0"), u++), u > 0 && (e.delete("limit"), e.delete("offset")), e.size === 0)
|
|
1824
1824
|
return n.slice(h, h + c);
|
|
1825
|
-
for (const [d,
|
|
1826
|
-
const v =
|
|
1825
|
+
for (const [d, g] of e.entries()) {
|
|
1826
|
+
const v = g.split(",").map((b) => b.trim());
|
|
1827
1827
|
for (const b of v)
|
|
1828
|
-
for (const
|
|
1829
|
-
if (typeof
|
|
1830
|
-
isNaN(+
|
|
1828
|
+
for (const x of n)
|
|
1829
|
+
if (typeof x != "object")
|
|
1830
|
+
isNaN(+x) ? x.toString().toLowerCase().includes(g.toLowerCase()) && l.push(x) : x === g && l.push(x);
|
|
1831
1831
|
else {
|
|
1832
|
-
const
|
|
1833
|
-
if (!
|
|
1834
|
-
isNaN(+
|
|
1832
|
+
const C = x;
|
|
1833
|
+
if (!C[d]) continue;
|
|
1834
|
+
isNaN(+C[d]) ? C[d]?.toString().toLowerCase().includes(b.toLowerCase()) && l.push(x) : C[d] === b && l.push(x);
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
return l.slice(h, h + c);
|
|
@@ -1870,16 +1870,16 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1870
1870
|
headers: o
|
|
1871
1871
|
});
|
|
1872
1872
|
if (!F.loadingGetPromises.has(l)) {
|
|
1873
|
-
const h = new Promise(async (
|
|
1873
|
+
const h = new Promise(async (u) => {
|
|
1874
1874
|
try {
|
|
1875
1875
|
const d = await fetch(n, {
|
|
1876
1876
|
headers: o,
|
|
1877
1877
|
credentials: this.credentials,
|
|
1878
1878
|
cache: this.cache
|
|
1879
|
-
}),
|
|
1880
|
-
|
|
1879
|
+
}), g = await this.handleResult(d, e);
|
|
1880
|
+
u(g);
|
|
1881
1881
|
} catch {
|
|
1882
|
-
|
|
1882
|
+
u(null);
|
|
1883
1883
|
}
|
|
1884
1884
|
});
|
|
1885
1885
|
F.loadingGetPromises.set(l, h);
|
|
@@ -1940,7 +1940,7 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1940
1940
|
}, n = await this.createHeaders(e);
|
|
1941
1941
|
n.Accept = "application/json";
|
|
1942
1942
|
const l = new FormData(), c = i;
|
|
1943
|
-
for (const
|
|
1943
|
+
for (const u in c) l.set(u, c[u]);
|
|
1944
1944
|
const h = await fetch(this.computeURL(t), {
|
|
1945
1945
|
headers: n,
|
|
1946
1946
|
credentials: this.credentials,
|
|
@@ -1975,7 +1975,7 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1975
1975
|
}
|
|
1976
1976
|
};
|
|
1977
1977
|
F.loadingGetPromises = /* @__PURE__ */ new Map(), F.tokens = /* @__PURE__ */ new Map(), F.invalidTokens = [], F.failledTokenUpdates = /* @__PURE__ */ new Map(), F.firstCallDoneFlags = /* @__PURE__ */ new Map();
|
|
1978
|
-
let
|
|
1978
|
+
let Ce = F;
|
|
1979
1979
|
J.getApiConfiguration(
|
|
1980
1980
|
document.body || document.documentElement
|
|
1981
1981
|
);
|
|
@@ -1988,11 +1988,11 @@ const Oo = async (r, t) => {
|
|
|
1988
1988
|
*/
|
|
1989
1989
|
let Hs = class extends De {
|
|
1990
1990
|
constructor(t) {
|
|
1991
|
-
if (super(t), this.it =
|
|
1991
|
+
if (super(t), this.it = S, t.type !== be.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1992
1992
|
}
|
|
1993
1993
|
render(t) {
|
|
1994
|
-
if (t ===
|
|
1995
|
-
if (t ===
|
|
1994
|
+
if (t === S || t == null) return this._t = void 0, this.it = t;
|
|
1995
|
+
if (t === wt) return t;
|
|
1996
1996
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
1997
1997
|
if (t === this.it) return this._t;
|
|
1998
1998
|
this.it = t;
|
|
@@ -2021,7 +2021,7 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2021
2021
|
break;
|
|
2022
2022
|
}
|
|
2023
2023
|
return o || (o = {
|
|
2024
|
-
api: new
|
|
2024
|
+
api: new Ce(t),
|
|
2025
2025
|
keysToTranslate: /* @__PURE__ */ new Set(),
|
|
2026
2026
|
translatedKeys: /* @__PURE__ */ new Set(),
|
|
2027
2027
|
wordingProvider: i,
|
|
@@ -2042,21 +2042,21 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2042
2042
|
}
|
|
2043
2043
|
/* eslint-enable @typescript-eslint/no-explicit-any*/
|
|
2044
2044
|
render(t, i = !1) {
|
|
2045
|
-
return this.useUnsafeHTML = i, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)),
|
|
2045
|
+
return this.useUnsafeHTML = i, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)), wt;
|
|
2046
2046
|
}
|
|
2047
2047
|
static async callApi(t, i, s = !0, e) {
|
|
2048
2048
|
if (await T.getInstance().isLocalStrorageReady, V.firstCall) {
|
|
2049
2049
|
V.firstCall = !1, hi(V.reloadWordings);
|
|
2050
|
-
const
|
|
2051
|
-
for (const d of
|
|
2050
|
+
const u = Object.keys(V.publisher.get());
|
|
2051
|
+
for (const d of u)
|
|
2052
2052
|
V.publisher.get()[d] === Ki && delete V.publisher[d];
|
|
2053
2053
|
}
|
|
2054
2054
|
if (t) {
|
|
2055
|
-
const
|
|
2055
|
+
const u = J.getAncestorAttributeValue(
|
|
2056
2056
|
t,
|
|
2057
2057
|
"wordingVersionProvider"
|
|
2058
2058
|
);
|
|
2059
|
-
|
|
2059
|
+
u && _r(u).onAssign(
|
|
2060
2060
|
V.handleVersionProvider(t)
|
|
2061
2061
|
);
|
|
2062
2062
|
}
|
|
@@ -2078,16 +2078,16 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2078
2078
|
const h = n.api;
|
|
2079
2079
|
window.queueMicrotask(async () => {
|
|
2080
2080
|
if (o = V.publisher["wording_" + i].get() != null, !o && i !== "" && (n.keysToTranslate.add(i), V.publisher["wording_" + i] = Ki), l !== n.callIndex) return;
|
|
2081
|
-
const
|
|
2082
|
-
if (!
|
|
2083
|
-
const d = c.split("?"),
|
|
2081
|
+
const u = Array.from(n.keysToTranslate);
|
|
2082
|
+
if (!u.length) return;
|
|
2083
|
+
const d = c.split("?"), g = d.shift(), v = (d.length > 0 ? d.join("?") + "&" : "") + "labels[]=" + u.join("&labels[]="), b = g + "?" + v;
|
|
2084
2084
|
n.translatedKeys = /* @__PURE__ */ new Set([
|
|
2085
2085
|
...n.translatedKeys,
|
|
2086
2086
|
...n.keysToTranslate
|
|
2087
2087
|
]), n.keysToTranslate.clear();
|
|
2088
|
-
const
|
|
2089
|
-
for (const
|
|
2090
|
-
V.publisher["wording_" +
|
|
2088
|
+
const x = await h.get(b);
|
|
2089
|
+
for (const C in x)
|
|
2090
|
+
V.publisher["wording_" + C] = x[C];
|
|
2091
2091
|
});
|
|
2092
2092
|
}
|
|
2093
2093
|
static reloadWordings() {
|
|
@@ -2137,8 +2137,8 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2137
2137
|
V.publisher = T.get("sonic-wording", {
|
|
2138
2138
|
localStorageMode: "enabled"
|
|
2139
2139
|
}), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2140
|
-
let
|
|
2141
|
-
const Do = ee(
|
|
2140
|
+
let xe = V;
|
|
2141
|
+
const Do = ee(xe), Lo = Do;
|
|
2142
2142
|
var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Ot = (r, t, i, s) => {
|
|
2143
2143
|
for (var e = s > 1 ? void 0 : s ? No(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2144
2144
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -2178,7 +2178,7 @@ const Z = (r, t) => {
|
|
|
2178
2178
|
updated(n) {
|
|
2179
2179
|
super.updated(n);
|
|
2180
2180
|
const c = [...(this.shadowRoot || this).children].filter(
|
|
2181
|
-
(
|
|
2181
|
+
(u) => u.tagName != "STYLE"
|
|
2182
2182
|
), h = this.displayContents ? "contents" : c.length == 0 ? "none" : null;
|
|
2183
2183
|
h ? this.style.display = h : this.style.removeProperty("display");
|
|
2184
2184
|
}
|
|
@@ -2191,8 +2191,8 @@ const Z = (r, t) => {
|
|
|
2191
2191
|
};
|
|
2192
2192
|
let l = !0;
|
|
2193
2193
|
const c = new IntersectionObserver((h) => {
|
|
2194
|
-
for (const
|
|
2195
|
-
if (l &&
|
|
2194
|
+
for (const u of h)
|
|
2195
|
+
if (l && u.isIntersecting) {
|
|
2196
2196
|
l = !1, c.disconnect(), this.initWording(), this.shouldRenderLazy = !1, this.startPublisher();
|
|
2197
2197
|
break;
|
|
2198
2198
|
}
|
|
@@ -2203,7 +2203,7 @@ const Z = (r, t) => {
|
|
|
2203
2203
|
this.initPublisher(), this.addDebugger(), super.connectedCallback();
|
|
2204
2204
|
}
|
|
2205
2205
|
disconnectedCallback() {
|
|
2206
|
-
this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)),
|
|
2206
|
+
this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)), xe.publisher.stopTemplateFilling(this), this.onAssign && this.publisher?.offAssign(this.onAssign);
|
|
2207
2207
|
}
|
|
2208
2208
|
addDebugger() {
|
|
2209
2209
|
if (this.hasAttribute("debug") && !this.defferedDebug) {
|
|
@@ -2254,8 +2254,8 @@ const Z = (r, t) => {
|
|
|
2254
2254
|
async initWording() {
|
|
2255
2255
|
const n = Object.getOwnPropertyNames(this.constructor.prototype);
|
|
2256
2256
|
for (const l of n)
|
|
2257
|
-
l.indexOf("wording_") == 0 &&
|
|
2258
|
-
|
|
2257
|
+
l.indexOf("wording_") == 0 && xe.callApi(this, l.substring(8));
|
|
2258
|
+
xe.publisher.startTemplateFilling(this);
|
|
2259
2259
|
}
|
|
2260
2260
|
/**
|
|
2261
2261
|
*
|
|
@@ -2409,7 +2409,7 @@ let R = class extends Z(Qe(w)) {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
render() {
|
|
2411
2411
|
if (!this.renderIf || !this.computedStartDate && !this.now && !this.computedEndDate)
|
|
2412
|
-
return
|
|
2412
|
+
return S;
|
|
2413
2413
|
const r = {
|
|
2414
2414
|
year: this.year || "numeric",
|
|
2415
2415
|
month: this.month || "short",
|
|
@@ -2539,10 +2539,10 @@ let et = (H = class {
|
|
|
2539
2539
|
static changeFromComponent(t) {
|
|
2540
2540
|
const i = t.goBack, s = document.referrer;
|
|
2541
2541
|
if (i != null) {
|
|
2542
|
-
const h = document.location.origin,
|
|
2543
|
-
if (
|
|
2542
|
+
const h = document.location.origin, u = (i || h).toString(), g = s.indexOf("http") == 0 ? new URL(s).origin != h : !1, v = s == "", b = history.length < 3, x = v && b, C = u != document.location.href;
|
|
2543
|
+
if (g && C || x) {
|
|
2544
2544
|
const p = history.state || {};
|
|
2545
|
-
p.concorde = p.concorde || {}, p.concorde.hasDoneHistoryBack = !0, history.pushState(p, document.title), history.back(), document.location.replace(
|
|
2545
|
+
p.concorde = p.concorde || {}, p.concorde.hasDoneHistoryBack = !0, history.pushState(p, document.title), history.back(), document.location.replace(u);
|
|
2546
2546
|
} else
|
|
2547
2547
|
history.back();
|
|
2548
2548
|
return;
|
|
@@ -2583,9 +2583,9 @@ let et = (H = class {
|
|
|
2583
2583
|
* Copyright 2018 Google LLC
|
|
2584
2584
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2585
2585
|
*/
|
|
2586
|
-
const xr = "important", zo = " !" + xr,
|
|
2586
|
+
const xr = "important", zo = " !" + xr, gt = ee(class extends De {
|
|
2587
2587
|
constructor(r) {
|
|
2588
|
-
if (super(r), r.type !==
|
|
2588
|
+
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "style" || r.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
2589
2589
|
}
|
|
2590
2590
|
render(r) {
|
|
2591
2591
|
return Object.keys(r).reduce(((t, i) => {
|
|
@@ -2605,7 +2605,7 @@ const xr = "important", zo = " !" + xr, mt = ee(class extends De {
|
|
|
2605
2605
|
s.includes("-") || o ? i.setProperty(s, o ? e.slice(0, -11) : e, o ? xr : "") : i[s] = e;
|
|
2606
2606
|
}
|
|
2607
2607
|
}
|
|
2608
|
-
return
|
|
2608
|
+
return wt;
|
|
2609
2609
|
}
|
|
2610
2610
|
});
|
|
2611
2611
|
var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Dt = (r, t, i, s) => {
|
|
@@ -2644,11 +2644,11 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2644
2644
|
}
|
|
2645
2645
|
setFormPublisherValue(s) {
|
|
2646
2646
|
const e = this.getFormPublisher();
|
|
2647
|
-
e &&
|
|
2647
|
+
e && pt(e, this.name).set(s);
|
|
2648
2648
|
}
|
|
2649
2649
|
getFormPublisherValue() {
|
|
2650
2650
|
const s = this.getFormPublisher();
|
|
2651
|
-
return s ?
|
|
2651
|
+
return s ? pt(s, this.name).get() : null;
|
|
2652
2652
|
}
|
|
2653
2653
|
/**
|
|
2654
2654
|
* Mise en forme de la valeur fournie au formPublisher associé au composant
|
|
@@ -2680,13 +2680,13 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2680
2680
|
initPublisher() {
|
|
2681
2681
|
let s = this.getFormPublisher();
|
|
2682
2682
|
const e = this.hasAncestorAttribute("initFromPublisher") && this._name && this.getFormPublisherValue() ? this.getFormPublisherValue() : this.getAttribute("value");
|
|
2683
|
-
this._name && this.publisher &&
|
|
2683
|
+
this._name && this.publisher && pt(this.publisher, this._name).offAssign(
|
|
2684
2684
|
this.onValueAssign
|
|
2685
|
-
), this._name && s &&
|
|
2685
|
+
), this._name && s && pt(s, this._name).offAssign(
|
|
2686
2686
|
this.onFormValueAssign
|
|
2687
|
-
), super.initPublisher(), this.name || (this._name = this.getAttribute("name")), this.value || (this._value = this.getAttribute("value")), this.publisher && this._name &&
|
|
2687
|
+
), super.initPublisher(), this.name || (this._name = this.getAttribute("name")), this.value || (this._value = this.getAttribute("value")), this.publisher && this._name && pt(this.publisher, this._name).onAssign(
|
|
2688
2688
|
this.onValueAssign
|
|
2689
|
-
), s = this.getFormPublisher(), this._name && s && (
|
|
2689
|
+
), s = this.getFormPublisher(), this._name && s && (pt(s, this._name).onAssign(
|
|
2690
2690
|
this.onFormValueAssign
|
|
2691
2691
|
), s.onFormInvalidate(this.onFormDataInValidate)), this.updateDataValue(), e && (this.value = e);
|
|
2692
2692
|
}
|
|
@@ -2719,24 +2719,24 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2719
2719
|
this.addEventListener("keydown", (l) => {
|
|
2720
2720
|
const c = l;
|
|
2721
2721
|
if (!["ArrowDown", "ArrowUp"].includes(c.key)) return;
|
|
2722
|
-
const h = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])",
|
|
2722
|
+
const h = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", u = n?.filter((v) => {
|
|
2723
2723
|
const b = v.shadowRoot?.querySelector(h);
|
|
2724
2724
|
if (!b) return !1;
|
|
2725
|
-
const
|
|
2726
|
-
return
|
|
2725
|
+
const x = window.getComputedStyle(b);
|
|
2726
|
+
return x.display !== "none" && x.display !== "" && x.pointerEvents != "none" && x.visibility !== "hidden" && b.getBoundingClientRect().width > 0;
|
|
2727
2727
|
});
|
|
2728
2728
|
let d = null;
|
|
2729
|
-
if (c.key == "ArrowDown" &&
|
|
2730
|
-
const v =
|
|
2731
|
-
v ==
|
|
2732
|
-
} else if (c.key == "ArrowUp" &&
|
|
2733
|
-
const v =
|
|
2734
|
-
v == 0 ? d =
|
|
2729
|
+
if (c.key == "ArrowDown" && u) {
|
|
2730
|
+
const v = u.indexOf(this);
|
|
2731
|
+
v == u.length - 1 ? d = u[0] : d = u[v + 1];
|
|
2732
|
+
} else if (c.key == "ArrowUp" && u) {
|
|
2733
|
+
const v = u.indexOf(this);
|
|
2734
|
+
v == 0 ? d = u[u.length - 1] : d = u[v - 1];
|
|
2735
2735
|
}
|
|
2736
|
-
const
|
|
2736
|
+
const g = d?.shadowRoot?.querySelector(
|
|
2737
2737
|
h
|
|
2738
2738
|
);
|
|
2739
|
-
|
|
2739
|
+
g && g.focus && (g.focus(), l.preventDefault(), l.stopPropagation());
|
|
2740
2740
|
});
|
|
2741
2741
|
}
|
|
2742
2742
|
focus() {
|
|
@@ -2753,11 +2753,11 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2753
2753
|
this.value = null;
|
|
2754
2754
|
}
|
|
2755
2755
|
disconnectedCallback() {
|
|
2756
|
-
this.unsetOnDisconnect() && this.unset(), super.disconnectedCallback(), this._name && this.publisher &&
|
|
2756
|
+
this.unsetOnDisconnect() && this.unset(), super.disconnectedCallback(), this._name && this.publisher && pt(this.publisher, this._name).offAssign(
|
|
2757
2757
|
this.onValueAssign
|
|
2758
2758
|
);
|
|
2759
2759
|
const s = this.getFormPublisher();
|
|
2760
|
-
this._name && s && (
|
|
2760
|
+
this._name && s && (pt(s, this._name).offAssign(
|
|
2761
2761
|
this.onFormValueAssign
|
|
2762
2762
|
), s.offFormInvalidate(this.onFormDataInValidate));
|
|
2763
2763
|
}
|
|
@@ -2904,47 +2904,47 @@ function Ho() {
|
|
|
2904
2904
|
(function(s, e) {
|
|
2905
2905
|
return t !== null ? r.exports = e() : s.UrlPattern = e();
|
|
2906
2906
|
})(qo, function() {
|
|
2907
|
-
var s, e, o, n, l, c, h,
|
|
2907
|
+
var s, e, o, n, l, c, h, u, d, g, v, b, x, C, E;
|
|
2908
2908
|
return d = function(p) {
|
|
2909
2909
|
return p.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
2910
|
-
}, h = function(p,
|
|
2910
|
+
}, h = function(p, f) {
|
|
2911
2911
|
var y, A, k;
|
|
2912
2912
|
for (k = [], y = -1, A = p.length; ++y < A; )
|
|
2913
|
-
k = k.concat(
|
|
2913
|
+
k = k.concat(f(p[y]));
|
|
2914
2914
|
return k;
|
|
2915
|
-
},
|
|
2915
|
+
}, C = function(p, f) {
|
|
2916
2916
|
var y, A, k;
|
|
2917
2917
|
for (k = "", y = -1, A = p.length; ++y < A; )
|
|
2918
|
-
k +=
|
|
2918
|
+
k += f(p[y]);
|
|
2919
2919
|
return k;
|
|
2920
|
-
},
|
|
2920
|
+
}, x = function(p) {
|
|
2921
2921
|
return new RegExp(p.toString() + "|").exec("").length - 1;
|
|
2922
|
-
}, v = function(p,
|
|
2922
|
+
}, v = function(p, f) {
|
|
2923
2923
|
var y, A, k, q, Y;
|
|
2924
2924
|
for (q = {}, y = -1, k = p.length; ++y < k; )
|
|
2925
|
-
A = p[y], Y =
|
|
2925
|
+
A = p[y], Y = f[y], Y != null && (q[A] != null ? (Array.isArray(q[A]) || (q[A] = [q[A]]), q[A].push(Y)) : q[A] = Y);
|
|
2926
2926
|
return q;
|
|
2927
|
-
}, s = {}, s.Result = function(p,
|
|
2928
|
-
this.value = p, this.rest =
|
|
2929
|
-
}, s.Tagged = function(p,
|
|
2930
|
-
this.tag = p, this.value =
|
|
2931
|
-
}, s.tag = function(p,
|
|
2927
|
+
}, s = {}, s.Result = function(p, f) {
|
|
2928
|
+
this.value = p, this.rest = f;
|
|
2929
|
+
}, s.Tagged = function(p, f) {
|
|
2930
|
+
this.tag = p, this.value = f;
|
|
2931
|
+
}, s.tag = function(p, f) {
|
|
2932
2932
|
return function(y) {
|
|
2933
2933
|
var A, k;
|
|
2934
|
-
if (A =
|
|
2934
|
+
if (A = f(y), A != null)
|
|
2935
2935
|
return k = new s.Tagged(p, A.value), new s.Result(k, A.rest);
|
|
2936
2936
|
};
|
|
2937
2937
|
}, s.regex = function(p) {
|
|
2938
|
-
return function(
|
|
2938
|
+
return function(f) {
|
|
2939
2939
|
var y, A;
|
|
2940
|
-
if (y = p.exec(
|
|
2941
|
-
return A = y[0], new s.Result(A,
|
|
2940
|
+
if (y = p.exec(f), y != null)
|
|
2941
|
+
return A = y[0], new s.Result(A, f.slice(A.length));
|
|
2942
2942
|
};
|
|
2943
2943
|
}, s.sequence = function() {
|
|
2944
2944
|
var p;
|
|
2945
|
-
return p = 1 <= arguments.length ? i.call(arguments, 0) : [], function(
|
|
2945
|
+
return p = 1 <= arguments.length ? i.call(arguments, 0) : [], function(f) {
|
|
2946
2946
|
var y, A, k, q, Y, ot;
|
|
2947
|
-
for (y = -1, A = p.length, ot = [], q =
|
|
2947
|
+
for (y = -1, A = p.length, ot = [], q = f; ++y < A; ) {
|
|
2948
2948
|
if (k = p[y], Y = k(q), Y == null)
|
|
2949
2949
|
return;
|
|
2950
2950
|
ot.push(Y.value), q = Y.rest;
|
|
@@ -2952,59 +2952,59 @@ function Ho() {
|
|
|
2952
2952
|
return new s.Result(ot, q);
|
|
2953
2953
|
};
|
|
2954
2954
|
}, s.pick = function() {
|
|
2955
|
-
var p,
|
|
2956
|
-
return p = arguments[0],
|
|
2955
|
+
var p, f;
|
|
2956
|
+
return p = arguments[0], f = 2 <= arguments.length ? i.call(arguments, 1) : [], function(y) {
|
|
2957
2957
|
var A, k;
|
|
2958
|
-
if (k = s.sequence.apply(s,
|
|
2958
|
+
if (k = s.sequence.apply(s, f)(y), k != null)
|
|
2959
2959
|
return A = k.value, k.value = A[p], k;
|
|
2960
2960
|
};
|
|
2961
2961
|
}, s.string = function(p) {
|
|
2962
|
-
var
|
|
2963
|
-
return
|
|
2964
|
-
if (y.slice(0,
|
|
2965
|
-
return new s.Result(p, y.slice(
|
|
2962
|
+
var f;
|
|
2963
|
+
return f = p.length, function(y) {
|
|
2964
|
+
if (y.slice(0, f) === p)
|
|
2965
|
+
return new s.Result(p, y.slice(f));
|
|
2966
2966
|
};
|
|
2967
2967
|
}, s.lazy = function(p) {
|
|
2968
|
-
var
|
|
2969
|
-
return
|
|
2970
|
-
return
|
|
2968
|
+
var f;
|
|
2969
|
+
return f = null, function(y) {
|
|
2970
|
+
return f == null && (f = p()), f(y);
|
|
2971
2971
|
};
|
|
2972
|
-
}, s.baseMany = function(p,
|
|
2972
|
+
}, s.baseMany = function(p, f, y, A, k) {
|
|
2973
2973
|
var q, Y, ot, Ie;
|
|
2974
|
-
for (ot = k, Ie = y ? "" : []; !(
|
|
2974
|
+
for (ot = k, Ie = y ? "" : []; !(f != null && (q = f(ot), q != null) || (Y = p(ot), Y == null)); )
|
|
2975
2975
|
y ? Ie += Y.value : Ie.push(Y.value), ot = Y.rest;
|
|
2976
2976
|
if (!(A && Ie.length === 0))
|
|
2977
2977
|
return new s.Result(Ie, ot);
|
|
2978
2978
|
}, s.many1 = function(p) {
|
|
2979
|
-
return function(
|
|
2980
|
-
return s.baseMany(p, null, !1, !0,
|
|
2979
|
+
return function(f) {
|
|
2980
|
+
return s.baseMany(p, null, !1, !0, f);
|
|
2981
2981
|
};
|
|
2982
|
-
}, s.concatMany1Till = function(p,
|
|
2982
|
+
}, s.concatMany1Till = function(p, f) {
|
|
2983
2983
|
return function(y) {
|
|
2984
|
-
return s.baseMany(p,
|
|
2984
|
+
return s.baseMany(p, f, !0, !0, y);
|
|
2985
2985
|
};
|
|
2986
2986
|
}, s.firstChoice = function() {
|
|
2987
2987
|
var p;
|
|
2988
|
-
return p = 1 <= arguments.length ? i.call(arguments, 0) : [], function(
|
|
2988
|
+
return p = 1 <= arguments.length ? i.call(arguments, 0) : [], function(f) {
|
|
2989
2989
|
var y, A, k, q;
|
|
2990
2990
|
for (y = -1, A = p.length; ++y < A; )
|
|
2991
|
-
if (k = p[y], q = k(
|
|
2991
|
+
if (k = p[y], q = k(f), q != null)
|
|
2992
2992
|
return q;
|
|
2993
2993
|
};
|
|
2994
2994
|
}, b = function(p) {
|
|
2995
|
-
var
|
|
2996
|
-
return
|
|
2997
|
-
return
|
|
2998
|
-
}), s.string(p.optionalSegmentEndChar))),
|
|
2999
|
-
return
|
|
3000
|
-
}))),
|
|
3001
|
-
return
|
|
3002
|
-
}), s.regex(/^./)), s.firstChoice(s.string(p.segmentNameStartChar), s.string(p.optionalSegmentStartChar), s.string(p.optionalSegmentEndChar),
|
|
3003
|
-
return s.firstChoice(
|
|
3004
|
-
}),
|
|
3005
|
-
return
|
|
3006
|
-
})),
|
|
3007
|
-
},
|
|
2995
|
+
var f;
|
|
2996
|
+
return f = {}, f.wildcard = s.tag("wildcard", s.string(p.wildcardChar)), f.optional = s.tag("optional", s.pick(1, s.string(p.optionalSegmentStartChar), s.lazy(function() {
|
|
2997
|
+
return f.pattern;
|
|
2998
|
+
}), s.string(p.optionalSegmentEndChar))), f.name = s.regex(new RegExp("^[" + p.segmentNameCharset + "]+")), f.named = s.tag("named", s.pick(1, s.string(p.segmentNameStartChar), s.lazy(function() {
|
|
2999
|
+
return f.name;
|
|
3000
|
+
}))), f.escapedChar = s.pick(1, s.string(p.escapeChar), s.regex(/^./)), f.static = s.tag("static", s.concatMany1Till(s.firstChoice(s.lazy(function() {
|
|
3001
|
+
return f.escapedChar;
|
|
3002
|
+
}), s.regex(/^./)), s.firstChoice(s.string(p.segmentNameStartChar), s.string(p.optionalSegmentStartChar), s.string(p.optionalSegmentEndChar), f.wildcard))), f.token = s.lazy(function() {
|
|
3003
|
+
return s.firstChoice(f.wildcard, f.optional, f.named, f.static);
|
|
3004
|
+
}), f.pattern = s.many1(s.lazy(function() {
|
|
3005
|
+
return f.token;
|
|
3006
|
+
})), f;
|
|
3007
|
+
}, u = {
|
|
3008
3008
|
escapeChar: "\\",
|
|
3009
3009
|
segmentNameStartChar: ":",
|
|
3010
3010
|
segmentValueCharset: "a-zA-Z0-9-_~ %",
|
|
@@ -3012,23 +3012,23 @@ function Ho() {
|
|
|
3012
3012
|
optionalSegmentStartChar: "(",
|
|
3013
3013
|
optionalSegmentEndChar: ")",
|
|
3014
3014
|
wildcardChar: "*"
|
|
3015
|
-
}, c = function(p,
|
|
3015
|
+
}, c = function(p, f) {
|
|
3016
3016
|
if (Array.isArray(p))
|
|
3017
|
-
return
|
|
3018
|
-
return c(y,
|
|
3017
|
+
return C(p, function(y) {
|
|
3018
|
+
return c(y, f);
|
|
3019
3019
|
});
|
|
3020
3020
|
switch (p.tag) {
|
|
3021
3021
|
case "wildcard":
|
|
3022
3022
|
return "(.*?)";
|
|
3023
3023
|
case "named":
|
|
3024
|
-
return "([" +
|
|
3024
|
+
return "([" + f + "]+)";
|
|
3025
3025
|
case "static":
|
|
3026
3026
|
return d(p.value);
|
|
3027
3027
|
case "optional":
|
|
3028
|
-
return "(?:" + c(p.value,
|
|
3028
|
+
return "(?:" + c(p.value, f) + ")?";
|
|
3029
3029
|
}
|
|
3030
|
-
}, l = function(p,
|
|
3031
|
-
return
|
|
3030
|
+
}, l = function(p, f) {
|
|
3031
|
+
return f == null && (f = u.segmentValueCharset), "^" + c(p, f) + "$";
|
|
3032
3032
|
}, n = function(p) {
|
|
3033
3033
|
if (Array.isArray(p))
|
|
3034
3034
|
return h(p, n);
|
|
@@ -3042,53 +3042,53 @@ function Ho() {
|
|
|
3042
3042
|
case "optional":
|
|
3043
3043
|
return n(p.value);
|
|
3044
3044
|
}
|
|
3045
|
-
},
|
|
3045
|
+
}, g = function(p, f, y, A) {
|
|
3046
3046
|
var k, q, Y, ot;
|
|
3047
|
-
if (A == null && (A = !1), ot = p[
|
|
3047
|
+
if (A == null && (A = !1), ot = p[f], ot == null) {
|
|
3048
3048
|
if (A)
|
|
3049
|
-
throw new Error("no values provided for key `" +
|
|
3049
|
+
throw new Error("no values provided for key `" + f + "`");
|
|
3050
3050
|
return;
|
|
3051
3051
|
}
|
|
3052
|
-
if (k = y[
|
|
3052
|
+
if (k = y[f] || 0, q = Array.isArray(ot) ? ot.length - 1 : 0, k > q) {
|
|
3053
3053
|
if (A)
|
|
3054
|
-
throw new Error("too few values provided for key `" +
|
|
3054
|
+
throw new Error("too few values provided for key `" + f + "`");
|
|
3055
3055
|
return;
|
|
3056
3056
|
}
|
|
3057
|
-
return Y = Array.isArray(ot) ? ot[k] : ot, A && (y[
|
|
3058
|
-
}, o = function(p,
|
|
3057
|
+
return Y = Array.isArray(ot) ? ot[k] : ot, A && (y[f] = k + 1), Y;
|
|
3058
|
+
}, o = function(p, f, y) {
|
|
3059
3059
|
var A, k;
|
|
3060
3060
|
if (Array.isArray(p)) {
|
|
3061
3061
|
for (A = -1, k = p.length; ++A < k; )
|
|
3062
|
-
if (o(p[A],
|
|
3062
|
+
if (o(p[A], f, y))
|
|
3063
3063
|
return !0;
|
|
3064
3064
|
return !1;
|
|
3065
3065
|
}
|
|
3066
3066
|
switch (p.tag) {
|
|
3067
3067
|
case "wildcard":
|
|
3068
|
-
return
|
|
3068
|
+
return g(f, "_", y, !1) != null;
|
|
3069
3069
|
case "named":
|
|
3070
|
-
return
|
|
3070
|
+
return g(f, p.value, y, !1) != null;
|
|
3071
3071
|
case "static":
|
|
3072
3072
|
return !1;
|
|
3073
3073
|
case "optional":
|
|
3074
|
-
return o(p.value,
|
|
3074
|
+
return o(p.value, f, y);
|
|
3075
3075
|
}
|
|
3076
|
-
}, E = function(p,
|
|
3076
|
+
}, E = function(p, f, y) {
|
|
3077
3077
|
if (Array.isArray(p))
|
|
3078
|
-
return
|
|
3079
|
-
return E(A,
|
|
3078
|
+
return C(p, function(A) {
|
|
3079
|
+
return E(A, f, y);
|
|
3080
3080
|
});
|
|
3081
3081
|
switch (p.tag) {
|
|
3082
3082
|
case "wildcard":
|
|
3083
|
-
return
|
|
3083
|
+
return g(f, "_", y, !0);
|
|
3084
3084
|
case "named":
|
|
3085
|
-
return
|
|
3085
|
+
return g(f, p.value, y, !0);
|
|
3086
3086
|
case "static":
|
|
3087
3087
|
return p.value;
|
|
3088
3088
|
case "optional":
|
|
3089
|
-
return o(p.value,
|
|
3089
|
+
return o(p.value, f, y) ? E(p.value, f, y) : "";
|
|
3090
3090
|
}
|
|
3091
|
-
}, e = function(p,
|
|
3091
|
+
}, e = function(p, f) {
|
|
3092
3092
|
var y, A, k, q, Y;
|
|
3093
3093
|
if (p instanceof e) {
|
|
3094
3094
|
this.isRegex = p.isRegex, this.regex = p.regex, this.ast = p.ast, this.names = p.names;
|
|
@@ -3097,12 +3097,12 @@ function Ho() {
|
|
|
3097
3097
|
if (this.isRegex = p instanceof RegExp, !(typeof p == "string" || this.isRegex))
|
|
3098
3098
|
throw new TypeError("argument must be a regex or a string");
|
|
3099
3099
|
if (this.isRegex) {
|
|
3100
|
-
if (this.regex = p,
|
|
3101
|
-
if (!Array.isArray(
|
|
3100
|
+
if (this.regex = p, f != null) {
|
|
3101
|
+
if (!Array.isArray(f))
|
|
3102
3102
|
throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");
|
|
3103
|
-
if (y =
|
|
3104
|
-
throw new Error("regex contains " + y + " groups but array of group names contains " +
|
|
3105
|
-
this.names =
|
|
3103
|
+
if (y = x(this.regex), f.length !== y)
|
|
3104
|
+
throw new Error("regex contains " + y + " groups but array of group names contains " + f.length);
|
|
3105
|
+
this.names = f;
|
|
3106
3106
|
}
|
|
3107
3107
|
return;
|
|
3108
3108
|
}
|
|
@@ -3111,33 +3111,33 @@ function Ho() {
|
|
|
3111
3111
|
if (Y = p.replace(/\s+/g, ""), Y !== p)
|
|
3112
3112
|
throw new Error("argument must not contain whitespace");
|
|
3113
3113
|
if (A = {
|
|
3114
|
-
escapeChar:
|
|
3115
|
-
segmentNameStartChar:
|
|
3116
|
-
segmentNameCharset:
|
|
3117
|
-
segmentValueCharset:
|
|
3118
|
-
optionalSegmentStartChar:
|
|
3119
|
-
optionalSegmentEndChar:
|
|
3120
|
-
wildcardChar:
|
|
3114
|
+
escapeChar: f?.escapeChar || u.escapeChar,
|
|
3115
|
+
segmentNameStartChar: f?.segmentNameStartChar || u.segmentNameStartChar,
|
|
3116
|
+
segmentNameCharset: f?.segmentNameCharset || u.segmentNameCharset,
|
|
3117
|
+
segmentValueCharset: f?.segmentValueCharset || u.segmentValueCharset,
|
|
3118
|
+
optionalSegmentStartChar: f?.optionalSegmentStartChar || u.optionalSegmentStartChar,
|
|
3119
|
+
optionalSegmentEndChar: f?.optionalSegmentEndChar || u.optionalSegmentEndChar,
|
|
3120
|
+
wildcardChar: f?.wildcardChar || u.wildcardChar
|
|
3121
3121
|
}, q = b(A), k = q.pattern(p), k == null)
|
|
3122
3122
|
throw new Error("couldn't parse pattern");
|
|
3123
3123
|
if (k.rest !== "")
|
|
3124
3124
|
throw new Error("could only partially parse pattern");
|
|
3125
3125
|
this.ast = k.value, this.regex = new RegExp(l(this.ast, A.segmentValueCharset)), this.names = n(this.ast);
|
|
3126
3126
|
}, e.prototype.match = function(p) {
|
|
3127
|
-
var
|
|
3128
|
-
return y = this.regex.exec(p), y == null ? null : (
|
|
3127
|
+
var f, y;
|
|
3128
|
+
return y = this.regex.exec(p), y == null ? null : (f = y.slice(1), this.names ? v(this.names, f) : f);
|
|
3129
3129
|
}, e.prototype.stringify = function(p) {
|
|
3130
3130
|
if (p == null && (p = {}), this.isRegex)
|
|
3131
3131
|
throw new Error("can't stringify patterns generated from a regex");
|
|
3132
3132
|
if (p !== Object(p))
|
|
3133
3133
|
throw new Error("argument must be an object or undefined");
|
|
3134
3134
|
return E(this.ast, p, {});
|
|
3135
|
-
}, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap =
|
|
3135
|
+
}, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap = C, e.regexGroupCount = x, e.keysAndValuesToObject = v, e.P = s, e.newParser = b, e.defaultOptions = u, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = g, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = E, e;
|
|
3136
3136
|
});
|
|
3137
3137
|
})(Ue, Ue.exports)), Ue.exports;
|
|
3138
3138
|
}
|
|
3139
3139
|
var Wo = Ho();
|
|
3140
|
-
const
|
|
3140
|
+
const qt = /* @__PURE__ */ Bo(Wo), Ko = Rr, Yo = Vo, Xo = As, Zo = us, Xt = J, Go = et, Je = tt, Qo = He, st = T, Jo = Ce, tn = qt;
|
|
3141
3141
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3142
3142
|
window["concorde-utils"] = {
|
|
3143
3143
|
Utils: Ko,
|
|
@@ -3302,7 +3302,7 @@ const wi = (r) => {
|
|
|
3302
3302
|
* Copyright 2018 Google LLC
|
|
3303
3303
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3304
3304
|
*/
|
|
3305
|
-
const $ = (r) => r ??
|
|
3305
|
+
const $ = (r) => r ?? S, Mt = P`
|
|
3306
3306
|
/*SIZES*/
|
|
3307
3307
|
:host {
|
|
3308
3308
|
--sc-_fs: 1rem;
|
|
@@ -3399,11 +3399,11 @@ let I = class extends wi(Le(Z(w))) {
|
|
|
3399
3399
|
justifyContent: this.justify,
|
|
3400
3400
|
align: this.align,
|
|
3401
3401
|
minWidth: this.minWidth
|
|
3402
|
-
}, t =
|
|
3402
|
+
}, t = m`
|
|
3403
3403
|
<button
|
|
3404
3404
|
part="button"
|
|
3405
3405
|
class=${this.hasPrefix || this.hasSuffix ? "has-prefix-or-suffix" : ""}
|
|
3406
|
-
style=${
|
|
3406
|
+
style=${gt(r)}
|
|
3407
3407
|
aria-controls=${$(this.ariaControls)}
|
|
3408
3408
|
aria-expanded=${$(this.sonicAriaExpanded)}
|
|
3409
3409
|
aria-label=${$(this.ariaLabel)}
|
|
@@ -3423,10 +3423,10 @@ let I = class extends wi(Le(Z(w))) {
|
|
|
3423
3423
|
part="suffix"
|
|
3424
3424
|
name="suffix"
|
|
3425
3425
|
></slot>
|
|
3426
|
-
${this.loading == !0 ?
|
|
3426
|
+
${this.loading == !0 ? m`<sonic-icon name="loader" class="loader"></sonic-icon>` : ""}
|
|
3427
3427
|
</button>
|
|
3428
3428
|
`;
|
|
3429
|
-
return this.href ?
|
|
3429
|
+
return this.href ? m`<a
|
|
3430
3430
|
href="${this.href}"
|
|
3431
3431
|
download=${$(this.download)}
|
|
3432
3432
|
target=${$(this.target)}
|
|
@@ -3434,7 +3434,7 @@ let I = class extends wi(Le(Z(w))) {
|
|
|
3434
3434
|
aria-labelledby=${$(this.ariaLabelledby)}
|
|
3435
3435
|
@click=${this.pushState || this.goBack !== null ? this.handleNavigation : null}
|
|
3436
3436
|
>${t}</a
|
|
3437
|
-
>` :
|
|
3437
|
+
>` : m`${t}`;
|
|
3438
3438
|
}
|
|
3439
3439
|
onSlotChange() {
|
|
3440
3440
|
this.hasPrefix = !!this.prefixes?.length, this.hasSuffix = !!this.suffixes?.length;
|
|
@@ -3442,7 +3442,7 @@ let I = class extends wi(Le(Z(w))) {
|
|
|
3442
3442
|
};
|
|
3443
3443
|
I.styles = [
|
|
3444
3444
|
Mt,
|
|
3445
|
-
|
|
3445
|
+
P`
|
|
3446
3446
|
* {
|
|
3447
3447
|
box-sizing: border-box;
|
|
3448
3448
|
}
|
|
@@ -3902,7 +3902,7 @@ const Xi = (r, t, i) => {
|
|
|
3902
3902
|
return s;
|
|
3903
3903
|
}, Ls = ee(class extends De {
|
|
3904
3904
|
constructor(r) {
|
|
3905
|
-
if (super(r), r.type !==
|
|
3905
|
+
if (super(r), r.type !== be.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
3906
3906
|
}
|
|
3907
3907
|
dt(r, t, i) {
|
|
3908
3908
|
let s;
|
|
@@ -3919,31 +3919,31 @@ const Xi = (r, t, i) => {
|
|
|
3919
3919
|
const e = vo(r), { values: o, keys: n } = this.dt(t, i, s);
|
|
3920
3920
|
if (!Array.isArray(e)) return this.ut = n, o;
|
|
3921
3921
|
const l = this.ut ??= [], c = [];
|
|
3922
|
-
let h,
|
|
3923
|
-
for (; d <=
|
|
3924
|
-
else if (e[
|
|
3922
|
+
let h, u, d = 0, g = e.length - 1, v = 0, b = o.length - 1;
|
|
3923
|
+
for (; d <= g && v <= b; ) if (e[d] === null) d++;
|
|
3924
|
+
else if (e[g] === null) g--;
|
|
3925
3925
|
else if (l[d] === n[v]) c[v] = ne(e[d], o[v]), d++, v++;
|
|
3926
|
-
else if (l[
|
|
3926
|
+
else if (l[g] === n[b]) c[b] = ne(e[g], o[b]), g--, b--;
|
|
3927
3927
|
else if (l[d] === n[b]) c[b] = ne(e[d], o[b]), Fe(r, c[b + 1], e[d]), d++, b--;
|
|
3928
|
-
else if (l[
|
|
3929
|
-
else if (h === void 0 && (h = Xi(n, v, b),
|
|
3930
|
-
const
|
|
3931
|
-
if (
|
|
3928
|
+
else if (l[g] === n[v]) c[v] = ne(e[g], o[v]), Fe(r, e[d], e[g]), g--, v++;
|
|
3929
|
+
else if (h === void 0 && (h = Xi(n, v, b), u = Xi(l, d, g)), h.has(l[d])) if (h.has(l[g])) {
|
|
3930
|
+
const x = u.get(n[v]), C = x !== void 0 ? e[x] : null;
|
|
3931
|
+
if (C === null) {
|
|
3932
3932
|
const E = Fe(r, e[d]);
|
|
3933
3933
|
ne(E, o[v]), c[v] = E;
|
|
3934
|
-
} else c[v] = ne(
|
|
3934
|
+
} else c[v] = ne(C, o[v]), Fe(r, e[d], C), e[x] = null;
|
|
3935
3935
|
v++;
|
|
3936
|
-
} else zs(e[
|
|
3936
|
+
} else zs(e[g]), g--;
|
|
3937
3937
|
else zs(e[d]), d++;
|
|
3938
3938
|
for (; v <= b; ) {
|
|
3939
|
-
const
|
|
3940
|
-
ne(
|
|
3939
|
+
const x = Fe(r, c[b + 1]);
|
|
3940
|
+
ne(x, o[v]), c[v++] = x;
|
|
3941
3941
|
}
|
|
3942
|
-
for (; d <=
|
|
3943
|
-
const
|
|
3944
|
-
|
|
3942
|
+
for (; d <= g; ) {
|
|
3943
|
+
const x = e[d++];
|
|
3944
|
+
x !== null && zs(x);
|
|
3945
3945
|
}
|
|
3946
|
-
return this.ut = n, bo(r, c),
|
|
3946
|
+
return this.ut = n, bo(r, c), wt;
|
|
3947
3947
|
}
|
|
3948
3948
|
}), an = /* @__PURE__ */ new WeakMap();
|
|
3949
3949
|
let Zi = 0;
|
|
@@ -3972,7 +3972,7 @@ const Us = /* @__PURE__ */ new Map(), Gi = /* @__PURE__ */ new WeakSet(), Qi = (
|
|
|
3972
3972
|
} }, ln = { duration: 333, easing: "ease-in-out" }, cn = ["left", "top", "width", "height", "opacity", "color", "background"], er = /* @__PURE__ */ new WeakMap();
|
|
3973
3973
|
class hn extends vi {
|
|
3974
3974
|
constructor(t) {
|
|
3975
|
-
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type ===
|
|
3975
|
+
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === be.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
3976
3976
|
this.createFinished();
|
|
3977
3977
|
}
|
|
3978
3978
|
createFinished() {
|
|
@@ -3984,7 +3984,7 @@ class hn extends vi {
|
|
|
3984
3984
|
this.l?.(), this.l = void 0;
|
|
3985
3985
|
}
|
|
3986
3986
|
render(t) {
|
|
3987
|
-
return
|
|
3987
|
+
return S;
|
|
3988
3988
|
}
|
|
3989
3989
|
getController() {
|
|
3990
3990
|
return an.get(this.u);
|
|
@@ -4100,13 +4100,13 @@ class hn extends vi {
|
|
|
4100
4100
|
let n = !1;
|
|
4101
4101
|
const l = {};
|
|
4102
4102
|
for (const c in i) {
|
|
4103
|
-
const h = t[c],
|
|
4103
|
+
const h = t[c], u = i[c];
|
|
4104
4104
|
if (c in Vs) {
|
|
4105
4105
|
const d = Vs[c];
|
|
4106
|
-
if (h === void 0 ||
|
|
4107
|
-
const
|
|
4108
|
-
|
|
4109
|
-
} else h !==
|
|
4106
|
+
if (h === void 0 || u === void 0) continue;
|
|
4107
|
+
const g = d(h, u);
|
|
4108
|
+
g.transform !== void 0 && (l[c] = g.value, n = !0, e.transform = `${e.transform ?? ""} ${g.transform}`, g.overrideFrom !== void 0 && Object.assign(e, g.overrideFrom));
|
|
4109
|
+
} else h !== u && h !== void 0 && u !== void 0 && (n = !0, e[c] = h, o[c] = u);
|
|
4110
4110
|
}
|
|
4111
4111
|
return e.transformOrigin = o.transformOrigin = s ? "center center" : "top left", this.animatingProperties = l, n ? [e, o] : void 0;
|
|
4112
4112
|
}
|
|
@@ -4198,7 +4198,7 @@ let sr = !1;
|
|
|
4198
4198
|
function fn() {
|
|
4199
4199
|
sr || (sr = !0, vs.custom.url = document.querySelector("[customIconLibraryPath]")?.getAttribute("customIconLibraryPath") || "", vs.custom.defaultPrefix = document.querySelector("[customIconDefaultPrefix]")?.getAttribute("customIconDefaultPrefix") || "");
|
|
4200
4200
|
}
|
|
4201
|
-
const ir = sessionStorage.getItem("sonicIconsCache"),
|
|
4201
|
+
const ir = sessionStorage.getItem("sonicIconsCache"), Vt = ir ? JSON.parse(ir) : { icons: {}, names: [] }, mn = 100, Ni = class Ni {
|
|
4202
4202
|
};
|
|
4203
4203
|
Ni.default = {
|
|
4204
4204
|
get: async (t) => {
|
|
@@ -4211,43 +4211,52 @@ Ni.default = {
|
|
|
4211
4211
|
const c = n + "-" + s;
|
|
4212
4212
|
if (l[c]) return z(l[c]);
|
|
4213
4213
|
const h = (o.url || "").replace("$prefix", n).replace("$name", s);
|
|
4214
|
-
if (
|
|
4215
|
-
|
|
4214
|
+
if (Vt.icons[h]) {
|
|
4215
|
+
const d = Vt.icons[h];
|
|
4216
|
+
if (/^\s*<svg[\s>]/i.test(d || ""))
|
|
4217
|
+
return l[c] = d, z(d);
|
|
4218
|
+
delete Vt.icons[h];
|
|
4219
|
+
}
|
|
4216
4220
|
if (!ds.has(h)) {
|
|
4217
|
-
const d = new Promise(async (
|
|
4221
|
+
const d = new Promise(async (g) => {
|
|
4218
4222
|
try {
|
|
4219
4223
|
const v = await fetch(h);
|
|
4220
4224
|
if (!v.ok) {
|
|
4221
|
-
|
|
4225
|
+
g("");
|
|
4222
4226
|
return;
|
|
4223
4227
|
}
|
|
4224
4228
|
try {
|
|
4225
|
-
const b =
|
|
4226
|
-
|
|
4229
|
+
const b = v.headers.get("content-type") || "";
|
|
4230
|
+
if (!b.includes("image/svg+xml") && !b.includes("svg")) {
|
|
4231
|
+
g("");
|
|
4232
|
+
return;
|
|
4233
|
+
}
|
|
4234
|
+
const x = await v.text(), C = /^\s*<svg[\s>]/i.test(x);
|
|
4235
|
+
g(C ? x : "");
|
|
4227
4236
|
} catch {
|
|
4228
|
-
|
|
4237
|
+
g("");
|
|
4229
4238
|
}
|
|
4230
4239
|
} catch {
|
|
4231
|
-
Oo(),
|
|
4240
|
+
Oo(), g("");
|
|
4232
4241
|
}
|
|
4233
4242
|
});
|
|
4234
4243
|
ds.set(h, d);
|
|
4235
4244
|
}
|
|
4236
|
-
const
|
|
4237
|
-
if (ds.delete(h), l[c] =
|
|
4238
|
-
const d =
|
|
4239
|
-
delete
|
|
4245
|
+
const u = await ds.get(h);
|
|
4246
|
+
if (ds.delete(h), l[c] = u || "", u && /^\s*<svg[\s>]/i.test(u) && (Vt.icons[h] = u, Vt.names.push(h)), Vt.names.length > mn) {
|
|
4247
|
+
const d = Vt.names.shift();
|
|
4248
|
+
delete Vt.icons[d];
|
|
4240
4249
|
}
|
|
4241
|
-
return sessionStorage.setItem("sonicIconsCache", JSON.stringify(
|
|
4250
|
+
return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Vt)), u ? z(u) : "";
|
|
4242
4251
|
}
|
|
4243
4252
|
return z(e.core[t.name] || "");
|
|
4244
4253
|
}
|
|
4245
4254
|
};
|
|
4246
4255
|
let Ks = Ni;
|
|
4247
|
-
var
|
|
4256
|
+
var gn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, ts = (r, t, i, s) => {
|
|
4248
4257
|
for (var e = s > 1 ? void 0 : s ? bn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4249
4258
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
4250
|
-
return s && e &&
|
|
4259
|
+
return s && e && gn(t, i, e), e;
|
|
4251
4260
|
};
|
|
4252
4261
|
const vn = "sonic-icon";
|
|
4253
4262
|
let de = class extends w {
|
|
@@ -4268,10 +4277,10 @@ let de = class extends w {
|
|
|
4268
4277
|
(r.has("name") || r.has("prefix") || r.has("library")) && this.updateIcon(), super.willUpdate(r);
|
|
4269
4278
|
}
|
|
4270
4279
|
render() {
|
|
4271
|
-
return this.iconText ? this.iconText :
|
|
4280
|
+
return this.iconText ? this.iconText : S;
|
|
4272
4281
|
}
|
|
4273
4282
|
};
|
|
4274
|
-
de.styles =
|
|
4283
|
+
de.styles = P`
|
|
4275
4284
|
:host {
|
|
4276
4285
|
line-height: 0.1em;
|
|
4277
4286
|
width: fit-content;
|
|
@@ -4337,7 +4346,7 @@ ts([
|
|
|
4337
4346
|
de = ts([
|
|
4338
4347
|
_(vn)
|
|
4339
4348
|
], de);
|
|
4340
|
-
const es =
|
|
4349
|
+
const es = P`
|
|
4341
4350
|
.custom-scroll {
|
|
4342
4351
|
overflow: auto !important;
|
|
4343
4352
|
overflow-y: overlay !important;
|
|
@@ -4381,9 +4390,9 @@ let _t = class extends w {
|
|
|
4381
4390
|
if (this.dismissForever) {
|
|
4382
4391
|
const r = localStorage.getItem("sonic-toast-dismissed") || "{}";
|
|
4383
4392
|
if (JSON.parse(r)[this.id])
|
|
4384
|
-
return
|
|
4393
|
+
return S;
|
|
4385
4394
|
}
|
|
4386
|
-
return this.visible ?
|
|
4395
|
+
return this.visible ? m`<div
|
|
4387
4396
|
class="sonic-toast ${this.status} ${this.ghost ? "ghost" : ""}"
|
|
4388
4397
|
>
|
|
4389
4398
|
<button
|
|
@@ -4397,21 +4406,21 @@ let _t = class extends w {
|
|
|
4397
4406
|
class="sonic-toast-content custom-scroll"
|
|
4398
4407
|
style="max-height: ${this.maxHeight} ;"
|
|
4399
4408
|
>
|
|
4400
|
-
${this.status &&
|
|
4409
|
+
${this.status && m`<sonic-icon
|
|
4401
4410
|
name=${_n[this.status]}
|
|
4402
4411
|
class="sonic-toast-icon"
|
|
4403
4412
|
size="2xl"
|
|
4404
4413
|
></sonic-icon>`}
|
|
4405
4414
|
|
|
4406
4415
|
<div class="sonic-toast-text">
|
|
4407
|
-
${this.title ?
|
|
4416
|
+
${this.title ? m`<div class="sonic-toast-title">${this.title}</div>` : ""}
|
|
4408
4417
|
${this.text ? z(this.text) : ""}
|
|
4409
4418
|
<slot></slot>
|
|
4410
4419
|
</div>
|
|
4411
4420
|
|
|
4412
4421
|
${this.preserve ? "" : this.autoHide()}
|
|
4413
4422
|
</div>
|
|
4414
|
-
</div>` :
|
|
4423
|
+
</div>` : S;
|
|
4415
4424
|
}
|
|
4416
4425
|
hide() {
|
|
4417
4426
|
if (Xt.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
|
|
@@ -4434,7 +4443,7 @@ let _t = class extends w {
|
|
|
4434
4443
|
};
|
|
4435
4444
|
_t.styles = [
|
|
4436
4445
|
es,
|
|
4437
|
-
|
|
4446
|
+
P`
|
|
4438
4447
|
* {
|
|
4439
4448
|
box-sizing: border-box;
|
|
4440
4449
|
}
|
|
@@ -4646,7 +4655,7 @@ It([
|
|
|
4646
4655
|
_t = It([
|
|
4647
4656
|
_(xn)
|
|
4648
4657
|
], _t);
|
|
4649
|
-
const Pn =
|
|
4658
|
+
const Pn = P`
|
|
4650
4659
|
:host {
|
|
4651
4660
|
/* POLICES */
|
|
4652
4661
|
/*
|
|
@@ -4717,7 +4726,7 @@ const Pn = x`
|
|
|
4717
4726
|
--sc-contrast-content: #fff;
|
|
4718
4727
|
--sc-contrast: #000000;
|
|
4719
4728
|
}
|
|
4720
|
-
`, $n =
|
|
4729
|
+
`, $n = P`
|
|
4721
4730
|
:host([theme="light"]) {
|
|
4722
4731
|
/*Boutons*/
|
|
4723
4732
|
--sc-primary: var(--sc-base-800);
|
|
@@ -4746,7 +4755,7 @@ const Pn = x`
|
|
|
4746
4755
|
--sc-base-900: #0f172a;
|
|
4747
4756
|
--sc-base-content: var(--sc-base-700);
|
|
4748
4757
|
}
|
|
4749
|
-
`, rr =
|
|
4758
|
+
`, rr = P`
|
|
4750
4759
|
--sc-primary: var(--sc-dark-primary, var(--sc-base-700));
|
|
4751
4760
|
--sc-info: var(--sc-dark-info, #3abff8);
|
|
4752
4761
|
--sc-danger: var(--sc-dark-danger, #f87272);
|
|
@@ -4771,7 +4780,7 @@ const Pn = x`
|
|
|
4771
4780
|
--sc-base-800: var(--sc-dark-base-800, #d9dce0);
|
|
4772
4781
|
--sc-base-900: var(--sc-dark-base-900, #e5e7eb);
|
|
4773
4782
|
--sc-base-content: var(--sc-dark-base-content, #e5e7eb);
|
|
4774
|
-
`, Cn =
|
|
4783
|
+
`, Cn = P`
|
|
4775
4784
|
:host([theme="dark"]) {
|
|
4776
4785
|
${rr}
|
|
4777
4786
|
}
|
|
@@ -4788,15 +4797,15 @@ var Sn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, ss = (r, t
|
|
|
4788
4797
|
return s && e && Sn(t, i, e), e;
|
|
4789
4798
|
};
|
|
4790
4799
|
const kn = "sonic-theme";
|
|
4791
|
-
let
|
|
4800
|
+
let yt = class extends w {
|
|
4792
4801
|
constructor() {
|
|
4793
|
-
super(), this.background = !1, this.color = !1, this.font = !1,
|
|
4802
|
+
super(), this.background = !1, this.color = !1, this.font = !1, yt.instance = this;
|
|
4794
4803
|
}
|
|
4795
4804
|
/**
|
|
4796
4805
|
* retourne le conteneur de tout ce qui pop : popups / modale / tooltip? / dropdown / ...
|
|
4797
4806
|
*/
|
|
4798
4807
|
static getPopContainer() {
|
|
4799
|
-
return
|
|
4808
|
+
return yt.instance || document.body;
|
|
4800
4809
|
}
|
|
4801
4810
|
connectedCallback() {
|
|
4802
4811
|
super.connectedCallback(), window.addEventListener("message", (r) => this.receiveMessage(r), !1), window.dispatchEvent(new CustomEvent("SonicThemeReady")), this.postCSSVars();
|
|
@@ -4827,7 +4836,7 @@ let vt = class extends w {
|
|
|
4827
4836
|
}
|
|
4828
4837
|
getCssVariables() {
|
|
4829
4838
|
const r = [], t = [
|
|
4830
|
-
...
|
|
4839
|
+
...yt.styles.map((e) => e.styleSheet),
|
|
4831
4840
|
...Array.from(document.styleSheets)
|
|
4832
4841
|
];
|
|
4833
4842
|
for (const e of t)
|
|
@@ -4847,14 +4856,14 @@ let vt = class extends w {
|
|
|
4847
4856
|
return r.forEach((e) => s[e] = i.getPropertyValue(e)), s;
|
|
4848
4857
|
}
|
|
4849
4858
|
render() {
|
|
4850
|
-
return
|
|
4859
|
+
return m`<slot></slot>`;
|
|
4851
4860
|
}
|
|
4852
4861
|
};
|
|
4853
|
-
|
|
4862
|
+
yt.styles = [
|
|
4854
4863
|
$n,
|
|
4855
4864
|
Cn,
|
|
4856
4865
|
Pn,
|
|
4857
|
-
|
|
4866
|
+
P`
|
|
4858
4867
|
:host([color]) {
|
|
4859
4868
|
color: var(--sc-base-content, #000);
|
|
4860
4869
|
}
|
|
@@ -4890,19 +4899,19 @@ vt.styles = [
|
|
|
4890
4899
|
];
|
|
4891
4900
|
ss([
|
|
4892
4901
|
a({ type: String, reflect: !0 })
|
|
4893
|
-
],
|
|
4902
|
+
], yt.prototype, "theme", 2);
|
|
4894
4903
|
ss([
|
|
4895
4904
|
a({ type: Boolean, reflect: !0 })
|
|
4896
|
-
],
|
|
4905
|
+
], yt.prototype, "background", 2);
|
|
4897
4906
|
ss([
|
|
4898
4907
|
a({ type: Boolean, reflect: !0 })
|
|
4899
|
-
],
|
|
4908
|
+
], yt.prototype, "color", 2);
|
|
4900
4909
|
ss([
|
|
4901
4910
|
a({ type: Boolean, reflect: !0 })
|
|
4902
|
-
],
|
|
4903
|
-
|
|
4911
|
+
], yt.prototype, "font", 2);
|
|
4912
|
+
yt = ss([
|
|
4904
4913
|
_(kn)
|
|
4905
|
-
],
|
|
4914
|
+
], yt);
|
|
4906
4915
|
var On = Object.defineProperty, Dn = Object.getOwnPropertyDescriptor, Pr = (r, t, i, s) => {
|
|
4907
4916
|
for (var e = s > 1 ? void 0 : s ? Dn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4908
4917
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -4934,11 +4943,11 @@ let O = class extends w {
|
|
|
4934
4943
|
zIndex: "10000",
|
|
4935
4944
|
maxWidth: "64ch",
|
|
4936
4945
|
flexDirection: "column-reverse"
|
|
4937
|
-
}), O.handleExistingToastDelegation(), this.toasts ?
|
|
4946
|
+
}), O.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${gt(i)}>
|
|
4938
4947
|
${Ls(
|
|
4939
4948
|
this.toasts,
|
|
4940
4949
|
(s) => s.id,
|
|
4941
|
-
(s) =>
|
|
4950
|
+
(s) => m`
|
|
4942
4951
|
<sonic-toast-item
|
|
4943
4952
|
maxHeight=${t ? "none" : "10rem"}
|
|
4944
4953
|
status=${$(s.status)}
|
|
@@ -4976,7 +4985,7 @@ let O = class extends w {
|
|
|
4976
4985
|
</sonic-toast-item>
|
|
4977
4986
|
`
|
|
4978
4987
|
)}
|
|
4979
|
-
</div>` :
|
|
4988
|
+
</div>` : S;
|
|
4980
4989
|
}
|
|
4981
4990
|
static removeAll() {
|
|
4982
4991
|
if (O.delegateToasts) {
|
|
@@ -5008,7 +5017,7 @@ let O = class extends w {
|
|
|
5008
5017
|
));
|
|
5009
5018
|
}
|
|
5010
5019
|
static getInstance() {
|
|
5011
|
-
return O.instance || (O.instance = document.createElement("sonic-toast"),
|
|
5020
|
+
return O.instance || (O.instance = document.createElement("sonic-toast"), yt.getPopContainer().prepend(O.instance)), O.instance;
|
|
5012
5021
|
}
|
|
5013
5022
|
static add(t) {
|
|
5014
5023
|
if (O.delegateToasts) {
|
|
@@ -5129,7 +5138,7 @@ const _i = (r, t) => {
|
|
|
5129
5138
|
* Un Toast est affiché si le chargement échoue
|
|
5130
5139
|
*/
|
|
5131
5140
|
async _fetchData() {
|
|
5132
|
-
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new
|
|
5141
|
+
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ce(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await st.getInstance().isLocalStrorageReady, !this.isConnected)) return;
|
|
5133
5142
|
const e = st.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
|
|
5134
5143
|
this.isLoading = !0, tt.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
|
|
5135
5144
|
this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1;
|
|
@@ -5284,10 +5293,10 @@ window["concorde-mixins"] = {
|
|
|
5284
5293
|
*/
|
|
5285
5294
|
const Et = ee(class extends De {
|
|
5286
5295
|
constructor(r) {
|
|
5287
|
-
if (super(r), r.type !==
|
|
5296
|
+
if (super(r), r.type !== be.CHILD) throw Error("templateContent can only be used in child bindings");
|
|
5288
5297
|
}
|
|
5289
5298
|
render(r) {
|
|
5290
|
-
return this.vt === r ?
|
|
5299
|
+
return this.vt === r ? wt : (this.vt = r, document.importNode(r.content, !0));
|
|
5291
5300
|
}
|
|
5292
5301
|
});
|
|
5293
5302
|
var Un = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, Ar = (r, t, i, s) => {
|
|
@@ -5298,23 +5307,23 @@ var Un = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, Ar = (r, t
|
|
|
5298
5307
|
const Bn = "sonic-fetch";
|
|
5299
5308
|
let ys = class extends _i(Z(xi(w))) {
|
|
5300
5309
|
renderLoader() {
|
|
5301
|
-
if (!(this.isLoading && this.loader !== void 0)) return
|
|
5310
|
+
if (!(this.isLoading && this.loader !== void 0)) return S;
|
|
5302
5311
|
const r = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
|
|
5303
|
-
return
|
|
5312
|
+
return m`<sonic-loader mode=${r}></sonic-loader>`;
|
|
5304
5313
|
}
|
|
5305
5314
|
renderSkeleton() {
|
|
5306
5315
|
const r = this.templateParts.skeleton;
|
|
5307
|
-
return this.isLoading && r ? Et(r) :
|
|
5316
|
+
return this.isLoading && r ? Et(r) : S;
|
|
5308
5317
|
}
|
|
5309
5318
|
render() {
|
|
5310
|
-
return
|
|
5319
|
+
return m`
|
|
5311
5320
|
${this.renderSkeleton()} ${this.renderLoader()}
|
|
5312
|
-
${this.isLoading ?
|
|
5321
|
+
${this.isLoading ? S : m`<slot></slot>`}
|
|
5313
5322
|
`;
|
|
5314
5323
|
}
|
|
5315
5324
|
};
|
|
5316
5325
|
ys.styles = [
|
|
5317
|
-
|
|
5326
|
+
P`
|
|
5318
5327
|
:host {
|
|
5319
5328
|
display: contents;
|
|
5320
5329
|
}
|
|
@@ -5337,10 +5346,10 @@ let ws = class extends w {
|
|
|
5337
5346
|
super(...arguments), this.condition = !1;
|
|
5338
5347
|
}
|
|
5339
5348
|
render() {
|
|
5340
|
-
return this.condition ?
|
|
5349
|
+
return this.condition ? m` <slot></slot> ` : S;
|
|
5341
5350
|
}
|
|
5342
5351
|
};
|
|
5343
|
-
ws.styles =
|
|
5352
|
+
ws.styles = P`
|
|
5344
5353
|
:host {
|
|
5345
5354
|
display: contents;
|
|
5346
5355
|
}
|
|
@@ -5351,7 +5360,7 @@ kr([
|
|
|
5351
5360
|
ws = kr([
|
|
5352
5361
|
_(Wn)
|
|
5353
5362
|
], ws);
|
|
5354
|
-
const Kn =
|
|
5363
|
+
const Kn = P`
|
|
5355
5364
|
:host([align="left"]) .sonic-loader--inline {
|
|
5356
5365
|
margin-left: 0;
|
|
5357
5366
|
}
|
|
@@ -5418,7 +5427,7 @@ const Kn = x`
|
|
|
5418
5427
|
transform: translate(24px, 0);
|
|
5419
5428
|
}
|
|
5420
5429
|
}
|
|
5421
|
-
`, Yn =
|
|
5430
|
+
`, Yn = P`
|
|
5422
5431
|
@keyframes sonic-loader--fixed {
|
|
5423
5432
|
0% {
|
|
5424
5433
|
transform: scale(0);
|
|
@@ -5485,13 +5494,13 @@ let nt = class extends w {
|
|
|
5485
5494
|
static show(r) {
|
|
5486
5495
|
nt.loader || (nt.loader = document.createElement("sonic-loader"));
|
|
5487
5496
|
const t = nt.loader;
|
|
5488
|
-
r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container =
|
|
5497
|
+
r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container = yt.getPopContainer(), r.mode = "fixed"), r.container.appendChild(t), nt.callCounter++;
|
|
5489
5498
|
}
|
|
5490
5499
|
static hide() {
|
|
5491
5500
|
nt.callCounter--, !(nt.callCounter > 0) && nt.loader && nt.loader.remove();
|
|
5492
5501
|
}
|
|
5493
5502
|
render() {
|
|
5494
|
-
return
|
|
5503
|
+
return m`<div
|
|
5495
5504
|
class="sonic-loader sonic-loader--${this.mode} ${this.noDelay ? "sonic-loader--nodelay" : ""} "
|
|
5496
5505
|
>
|
|
5497
5506
|
<div></div>
|
|
@@ -5504,7 +5513,7 @@ let nt = class extends w {
|
|
|
5504
5513
|
nt.styles = [
|
|
5505
5514
|
Kn,
|
|
5506
5515
|
Yn,
|
|
5507
|
-
|
|
5516
|
+
P`
|
|
5508
5517
|
:host {
|
|
5509
5518
|
--sc-_loader-bg: var(--sc-primary, currentColor);
|
|
5510
5519
|
pointer-events: none;
|
|
@@ -5561,7 +5570,7 @@ let or = class extends Z(w) {
|
|
|
5561
5570
|
super.updated(r), this.children.length == 0 ? this.style.display = "none" : this.style.display = "contents";
|
|
5562
5571
|
}
|
|
5563
5572
|
render() {
|
|
5564
|
-
return
|
|
5573
|
+
return m`<slot></slot> `;
|
|
5565
5574
|
}
|
|
5566
5575
|
};
|
|
5567
5576
|
or = Jn([
|
|
@@ -5591,27 +5600,27 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5591
5600
|
super.disconnectedCallback();
|
|
5592
5601
|
}
|
|
5593
5602
|
renderLoader() {
|
|
5594
|
-
if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return
|
|
5603
|
+
if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return S;
|
|
5595
5604
|
const t = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
|
|
5596
|
-
return
|
|
5605
|
+
return m`<sonic-loader mode=${t}></sonic-loader>`;
|
|
5597
5606
|
}
|
|
5598
5607
|
renderSkeleton() {
|
|
5599
5608
|
if (this.skeleton)
|
|
5600
5609
|
return this.skeleton();
|
|
5601
5610
|
const r = this.templateParts.skeleton;
|
|
5602
|
-
return this.isLoading && r ? Et(r) :
|
|
5611
|
+
return this.isLoading && r ? Et(r) : S;
|
|
5603
5612
|
}
|
|
5604
5613
|
renderSeparator() {
|
|
5605
5614
|
if (this.separator)
|
|
5606
5615
|
return this.separator();
|
|
5607
5616
|
const r = this.templateParts.separator;
|
|
5608
|
-
return r ? Et(r) :
|
|
5617
|
+
return r ? Et(r) : S;
|
|
5609
5618
|
}
|
|
5610
5619
|
renderLoadingState() {
|
|
5611
|
-
return
|
|
5620
|
+
return m`${this.renderSkeleton()} ${this.renderLoader()} `;
|
|
5612
5621
|
}
|
|
5613
5622
|
renderNoResultState() {
|
|
5614
|
-
return
|
|
5623
|
+
return m` <div
|
|
5615
5624
|
style="color: var(--sc-base-400);
|
|
5616
5625
|
font-size: 1.5em;
|
|
5617
5626
|
margin: 4rem 0;
|
|
@@ -5657,7 +5666,7 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5657
5666
|
return { width: e - s, height: n - o };
|
|
5658
5667
|
}
|
|
5659
5668
|
render() {
|
|
5660
|
-
return
|
|
5669
|
+
return m`
|
|
5661
5670
|
${this.renderContent()}
|
|
5662
5671
|
<div
|
|
5663
5672
|
style="grid-column: 1 / -1;min-height:${this.isLoading ? 0 : this.loadingSize.height}px; width:0;float:left;display: var(--list-loader-height-display);"
|
|
@@ -5665,7 +5674,7 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5665
5674
|
`;
|
|
5666
5675
|
}
|
|
5667
5676
|
handleProgrammaticTemplates(r, t, i) {
|
|
5668
|
-
return this.items ?
|
|
5677
|
+
return this.items ? m`<sonic-subscriber
|
|
5669
5678
|
?debug=${this.defferedDebug === !0}
|
|
5670
5679
|
.bindPublisher=${() => this.publisher[i]}
|
|
5671
5680
|
.propertyMap?=${this.itemPropertyMap}
|
|
@@ -5677,7 +5686,7 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5677
5686
|
renderContent() {
|
|
5678
5687
|
if (this.isLoading && !Array.isArray(this.props)) return this.renderLoadingState();
|
|
5679
5688
|
if (typeof this.props == "string") return this.renderNoResultState();
|
|
5680
|
-
if (!tt.isObject(this.props)) return
|
|
5689
|
+
if (!tt.isObject(this.props)) return m`<div></div>`;
|
|
5681
5690
|
const s = this.formatProps();
|
|
5682
5691
|
if ((s?.length || 0) == 0) {
|
|
5683
5692
|
if (this.noItems)
|
|
@@ -5688,45 +5697,45 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5688
5697
|
const e = this.templateList.length;
|
|
5689
5698
|
let o = -1;
|
|
5690
5699
|
const n = this.hasAttribute("extractValues"), l = this.renderSeparator(), c = s?.length || 0, h = s?.slice(this.offset, this.offset + this.limit);
|
|
5691
|
-
return
|
|
5692
|
-
${h?.map((
|
|
5693
|
-
if (
|
|
5694
|
-
let
|
|
5695
|
-
if (typeof
|
|
5696
|
-
n && (
|
|
5697
|
-
const
|
|
5698
|
-
|
|
5699
|
-
}
|
|
5700
|
-
if (
|
|
5701
|
-
const b = d >= c - 1,
|
|
5702
|
-
key:
|
|
5703
|
-
even:
|
|
5704
|
-
odd:
|
|
5700
|
+
return m`
|
|
5701
|
+
${h?.map((u, d) => {
|
|
5702
|
+
if (u == null) return S;
|
|
5703
|
+
let g = d, v = null;
|
|
5704
|
+
if (typeof u == "object" && !Array.isArray(u)) {
|
|
5705
|
+
n && (g = u?.key);
|
|
5706
|
+
const f = u[this.templateKey];
|
|
5707
|
+
f && typeof f == "string" && (v = this.templateParts[f]);
|
|
5708
|
+
}
|
|
5709
|
+
if (g == "_sonic_http_response_" || typeof g != "string" && typeof g != "number") return S;
|
|
5710
|
+
const b = d >= c - 1, x = d % 2, C = this.publisher[g], E = {
|
|
5711
|
+
key: g,
|
|
5712
|
+
even: x == 0,
|
|
5713
|
+
odd: x == 1,
|
|
5705
5714
|
onlyChild: c == 1,
|
|
5706
5715
|
firstChild: d == 0,
|
|
5707
5716
|
lastChild: b
|
|
5708
5717
|
};
|
|
5709
|
-
|
|
5710
|
-
...
|
|
5718
|
+
C._key_ = g + "", C._metadata_ = {
|
|
5719
|
+
...C._metadata_.get(),
|
|
5711
5720
|
...E
|
|
5712
5721
|
};
|
|
5713
5722
|
const p = this.handleProgrammaticTemplates(
|
|
5714
|
-
|
|
5723
|
+
u,
|
|
5715
5724
|
E,
|
|
5716
|
-
|
|
5725
|
+
g
|
|
5717
5726
|
);
|
|
5718
|
-
return p ?
|
|
5727
|
+
return p ? m`${p}${b ? S : l}` : (o++, v && (o = -1), m`
|
|
5719
5728
|
<sonic-subscriber
|
|
5720
5729
|
?debug=${this.defferedDebug === !0}
|
|
5721
5730
|
.bindPublisher=${function() {
|
|
5722
|
-
return
|
|
5731
|
+
return C;
|
|
5723
5732
|
}}
|
|
5724
5733
|
.propertyMap?=${this.itemPropertyMap}
|
|
5725
|
-
dataProvider="${this.dataProvider}/list-item/${
|
|
5734
|
+
dataProvider="${this.dataProvider}/list-item/${g}"
|
|
5726
5735
|
>
|
|
5727
5736
|
${Et(v || this.templateList[o % e])}
|
|
5728
5737
|
</sonic-subscriber>
|
|
5729
|
-
${b ?
|
|
5738
|
+
${b ? S : l}
|
|
5730
5739
|
`);
|
|
5731
5740
|
})}
|
|
5732
5741
|
`;
|
|
@@ -5854,8 +5863,8 @@ let X = class extends Z(w) {
|
|
|
5854
5863
|
}
|
|
5855
5864
|
}
|
|
5856
5865
|
if (Array.isArray(this.props)) {
|
|
5857
|
-
const d = this.props,
|
|
5858
|
-
t = parseInt(
|
|
5866
|
+
const d = this.props, g = d[d.length - 1];
|
|
5867
|
+
t = parseInt(g.offset.toString()) + parseInt(g.limit.toString());
|
|
5859
5868
|
} else {
|
|
5860
5869
|
const d = [];
|
|
5861
5870
|
d.resultCount = this.resultCount, d.lastFetchedData = r?.detail.fetchedData || {}, this.props = d;
|
|
@@ -5870,7 +5879,7 @@ let X = class extends Z(w) {
|
|
|
5870
5879
|
for (const d in c)
|
|
5871
5880
|
this.filteredFields && h.includes(d) || c[d] == null || c[d] == "" || l.set(d, c[d]);
|
|
5872
5881
|
this.searchHash || (this.searchHash = l.toString()), n = n + "?" + l.toString(), e = e + "_item_from_queue_" + this.instanceId, this.listDataProviders.push(e);
|
|
5873
|
-
const
|
|
5882
|
+
const u = [
|
|
5874
5883
|
...this.props,
|
|
5875
5884
|
{
|
|
5876
5885
|
id: l.toString() + "/" + this.props.length,
|
|
@@ -5880,18 +5889,18 @@ let X = class extends Z(w) {
|
|
|
5880
5889
|
limit: this.limit
|
|
5881
5890
|
}
|
|
5882
5891
|
];
|
|
5883
|
-
|
|
5892
|
+
u.resultCount = this.resultCount, u.lastFetchedData = r?.detail.fetchedData || {}, this.props = u, this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime();
|
|
5884
5893
|
}
|
|
5885
5894
|
render() {
|
|
5886
5895
|
if (this.storeScrollPosition(), !Array.isArray(this.props))
|
|
5887
|
-
return
|
|
5896
|
+
return S;
|
|
5888
5897
|
let r = !this.noLazyload;
|
|
5889
|
-
return this.props.length == 1 && (r = !1), this.style.display = "block",
|
|
5898
|
+
return this.props.length == 1 && (r = !1), this.style.display = "block", m`
|
|
5890
5899
|
${Or(this.props, (t, i) => {
|
|
5891
5900
|
const s = i == 0 ? this.templates : this.templates?.filter(
|
|
5892
5901
|
(e) => e.getAttribute("data-value") != "no-item"
|
|
5893
5902
|
);
|
|
5894
|
-
return
|
|
5903
|
+
return m`
|
|
5895
5904
|
<sonic-list
|
|
5896
5905
|
fetch
|
|
5897
5906
|
loader="${this.loader}"
|
|
@@ -6003,7 +6012,7 @@ let Zt = class extends Z(w) {
|
|
|
6003
6012
|
let c = {};
|
|
6004
6013
|
l && (c = l.get());
|
|
6005
6014
|
let h = null;
|
|
6006
|
-
const
|
|
6015
|
+
const u = this.getAncestorAttributeValue("dataProvider"), d = this.endPoint || u, g = async () => {
|
|
6007
6016
|
const b = { ...o };
|
|
6008
6017
|
if (delete b.needsCaptchaValidation, delete c.needsCaptchaValidation, e)
|
|
6009
6018
|
h = await this.api?.submitFormData(
|
|
@@ -6024,11 +6033,11 @@ let Zt = class extends Z(w) {
|
|
|
6024
6033
|
h = await this.api?.delete(d, b, c);
|
|
6025
6034
|
break;
|
|
6026
6035
|
case "get":
|
|
6027
|
-
const
|
|
6036
|
+
const f = new URLSearchParams();
|
|
6028
6037
|
if (b)
|
|
6029
6038
|
for (const A in b)
|
|
6030
|
-
|
|
6031
|
-
const y = "?" +
|
|
6039
|
+
f.append(A, b[A]);
|
|
6040
|
+
const y = "?" + f.toString();
|
|
6032
6041
|
h = await this.api?.get(d + y, c);
|
|
6033
6042
|
break;
|
|
6034
6043
|
default:
|
|
@@ -6038,15 +6047,15 @@ let Zt = class extends Z(w) {
|
|
|
6038
6047
|
nt.hide(), h ? h._sonic_http_response_ && !h._sonic_http_response_.ok && Object.keys(h).length === 1 && (h.messages = [{ content: "Network Error", status: "error" }]) : h = {
|
|
6039
6048
|
messages: [{ content: "Network Error", status: "error" }]
|
|
6040
6049
|
};
|
|
6041
|
-
const
|
|
6050
|
+
const x = this.getAncestorAttributeValue(
|
|
6042
6051
|
"clearedDataOnSuccess"
|
|
6043
6052
|
);
|
|
6044
|
-
|
|
6045
|
-
(
|
|
6053
|
+
x && x.split(" ").forEach(
|
|
6054
|
+
(f) => T.get(f).set({})
|
|
6046
6055
|
);
|
|
6047
|
-
const
|
|
6048
|
-
this.api?.lastResult?.ok && b[
|
|
6049
|
-
b[
|
|
6056
|
+
const C = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", E = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
|
|
6057
|
+
this.api?.lastResult?.ok && b[C] && b[E] && this.saveCredentials(
|
|
6058
|
+
b[C],
|
|
6050
6059
|
b[E]
|
|
6051
6060
|
), this.submitResultKey && (h = tt.traverse(
|
|
6052
6061
|
h,
|
|
@@ -6069,16 +6078,16 @@ let Zt = class extends Z(w) {
|
|
|
6069
6078
|
);
|
|
6070
6079
|
if (v) {
|
|
6071
6080
|
v.captchaToken = "request_token";
|
|
6072
|
-
const b = (
|
|
6073
|
-
|
|
6081
|
+
const b = (x) => {
|
|
6082
|
+
x != "request_token" ? (g(), v.captchaToken.offAssign(b)) : (nt.hide(), this.disabled = !1);
|
|
6074
6083
|
};
|
|
6075
6084
|
v.captchaToken.onAssign(b);
|
|
6076
6085
|
} else
|
|
6077
|
-
|
|
6086
|
+
g();
|
|
6078
6087
|
};
|
|
6079
6088
|
}
|
|
6080
6089
|
connectedCallback() {
|
|
6081
|
-
this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new
|
|
6090
|
+
this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new Ce(this.getApiConfiguration());
|
|
6082
6091
|
}
|
|
6083
6092
|
submitNativeForm() {
|
|
6084
6093
|
const r = Xt.getClosestForm(this);
|
|
@@ -6108,10 +6117,10 @@ let Zt = class extends Z(w) {
|
|
|
6108
6117
|
}
|
|
6109
6118
|
}
|
|
6110
6119
|
render() {
|
|
6111
|
-
return
|
|
6120
|
+
return m`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
|
|
6112
6121
|
}
|
|
6113
6122
|
};
|
|
6114
|
-
Zt.styles =
|
|
6123
|
+
Zt.styles = P`
|
|
6115
6124
|
[data-disabled] {
|
|
6116
6125
|
opacity: 0.3;
|
|
6117
6126
|
pointer-events: none;
|
|
@@ -6142,7 +6151,7 @@ var ha = Object.defineProperty, da = Object.getOwnPropertyDescriptor, is = (r, t
|
|
|
6142
6151
|
return s && e && ha(t, i, e), e;
|
|
6143
6152
|
};
|
|
6144
6153
|
const pa = "sonic-router";
|
|
6145
|
-
let
|
|
6154
|
+
let Se = class extends Qe(w) {
|
|
6146
6155
|
constructor() {
|
|
6147
6156
|
super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
|
|
6148
6157
|
document.location.origin,
|
|
@@ -6185,7 +6194,7 @@ let Ce = class extends Qe(w) {
|
|
|
6185
6194
|
e.shift(), r.push(i([...e]));
|
|
6186
6195
|
} else
|
|
6187
6196
|
try {
|
|
6188
|
-
const o = new
|
|
6197
|
+
const o = new qt(this.patternBasePath + t).match(this.cleanLocation);
|
|
6189
6198
|
if (o) {
|
|
6190
6199
|
const n = o || {};
|
|
6191
6200
|
r.push(i(n));
|
|
@@ -6201,7 +6210,7 @@ let Ce = class extends Qe(w) {
|
|
|
6201
6210
|
render() {
|
|
6202
6211
|
const r = this.handleroutes();
|
|
6203
6212
|
if (r.length > 0)
|
|
6204
|
-
return
|
|
6213
|
+
return m`${r}`;
|
|
6205
6214
|
const t = [];
|
|
6206
6215
|
for (const i of this.templatePartsList) {
|
|
6207
6216
|
const s = i.getAttribute(this.templateValueAttribute) || "";
|
|
@@ -6209,7 +6218,7 @@ let Ce = class extends Qe(w) {
|
|
|
6209
6218
|
t.push(i);
|
|
6210
6219
|
else
|
|
6211
6220
|
try {
|
|
6212
|
-
new
|
|
6221
|
+
new qt(this.patternBasePath + s + "(/*)").match(
|
|
6213
6222
|
this.cleanLocation
|
|
6214
6223
|
) && (i.setAttribute("mode", "patternMatching"), t.push(i));
|
|
6215
6224
|
} catch {
|
|
@@ -6225,7 +6234,7 @@ let Ce = class extends Qe(w) {
|
|
|
6225
6234
|
);
|
|
6226
6235
|
i && t.push(i);
|
|
6227
6236
|
}
|
|
6228
|
-
return
|
|
6237
|
+
return m`${Ls(
|
|
6229
6238
|
t,
|
|
6230
6239
|
(i, s) => s + (/* @__PURE__ */ new Date()).getTime(),
|
|
6231
6240
|
(i) => {
|
|
@@ -6233,17 +6242,17 @@ let Ce = class extends Qe(w) {
|
|
|
6233
6242
|
let s = "";
|
|
6234
6243
|
const e = i.getAttribute("dataProviderExpression") || "";
|
|
6235
6244
|
if (i.getAttribute("mode") == "patternMatching") {
|
|
6236
|
-
const o = new
|
|
6245
|
+
const o = new qt(
|
|
6237
6246
|
"(/)*" + (i.getAttribute(this.templateValueAttribute) || "") + "*"
|
|
6238
6247
|
);
|
|
6239
|
-
s = new
|
|
6248
|
+
s = new qt(e).stringify(o.match(this.cleanLocation));
|
|
6240
6249
|
} else {
|
|
6241
6250
|
const o = new RegExp(
|
|
6242
6251
|
i.getAttribute(this.templateValueAttribute) || ""
|
|
6243
6252
|
), n = (this.cleanLocation + "").match(o);
|
|
6244
6253
|
n && (s = n.shift()?.replace(o, e) || "");
|
|
6245
6254
|
}
|
|
6246
|
-
return
|
|
6255
|
+
return m`<div
|
|
6247
6256
|
style="display:contents"
|
|
6248
6257
|
dataProvider="${s}"
|
|
6249
6258
|
>
|
|
@@ -6257,25 +6266,25 @@ let Ce = class extends Qe(w) {
|
|
|
6257
6266
|
};
|
|
6258
6267
|
is([
|
|
6259
6268
|
a({ type: String })
|
|
6260
|
-
],
|
|
6269
|
+
], Se.prototype, "fallBackRoute", 2);
|
|
6261
6270
|
is([
|
|
6262
6271
|
a({ type: Object })
|
|
6263
|
-
],
|
|
6272
|
+
], Se.prototype, "routes", 2);
|
|
6264
6273
|
is([
|
|
6265
6274
|
a({ type: String })
|
|
6266
|
-
],
|
|
6275
|
+
], Se.prototype, "basePath", 2);
|
|
6267
6276
|
is([
|
|
6268
6277
|
a()
|
|
6269
|
-
],
|
|
6270
|
-
|
|
6278
|
+
], Se.prototype, "location", 1);
|
|
6279
|
+
Se = is([
|
|
6271
6280
|
_(pa)
|
|
6272
|
-
],
|
|
6281
|
+
], Se);
|
|
6273
6282
|
var ua = Object.getOwnPropertyDescriptor, fa = (r, t, i, s) => {
|
|
6274
6283
|
for (var e = s > 1 ? void 0 : s ? ua(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6275
6284
|
(n = r[o]) && (e = n(e) || e);
|
|
6276
6285
|
return e;
|
|
6277
6286
|
};
|
|
6278
|
-
const
|
|
6287
|
+
const ma = "sonic-redirect";
|
|
6279
6288
|
let nr = class extends Z(w) {
|
|
6280
6289
|
connectedCallback() {
|
|
6281
6290
|
this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
|
|
@@ -6294,12 +6303,12 @@ let nr = class extends Z(w) {
|
|
|
6294
6303
|
}
|
|
6295
6304
|
};
|
|
6296
6305
|
nr = fa([
|
|
6297
|
-
_(
|
|
6306
|
+
_(ma)
|
|
6298
6307
|
], nr);
|
|
6299
|
-
var
|
|
6308
|
+
var ga = Object.defineProperty, ba = Object.getOwnPropertyDescriptor, Ns = (r, t, i, s) => {
|
|
6300
6309
|
for (var e = s > 1 ? void 0 : s ? ba(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6301
6310
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6302
|
-
return s && e &&
|
|
6311
|
+
return s && e && ga(t, i, e), e;
|
|
6303
6312
|
};
|
|
6304
6313
|
const va = "sonic-states";
|
|
6305
6314
|
let Ye = class extends Z(Qe(w)) {
|
|
@@ -6331,7 +6340,7 @@ let Ye = class extends Z(Qe(w)) {
|
|
|
6331
6340
|
o.shift(), t.push(s([...o]));
|
|
6332
6341
|
} else
|
|
6333
6342
|
try {
|
|
6334
|
-
const o = new
|
|
6343
|
+
const o = new qt("(/)*" + i + "*");
|
|
6335
6344
|
if (o.match(r)) {
|
|
6336
6345
|
const n = o.match(r) || {};
|
|
6337
6346
|
t.push(s(n));
|
|
@@ -6349,18 +6358,18 @@ let Ye = class extends Z(Qe(w)) {
|
|
|
6349
6358
|
(!Array.isArray(r) && tt.isObject(r) || r === void 0) && (r = "");
|
|
6350
6359
|
const t = this.handleStates(r);
|
|
6351
6360
|
if (t.length > 0)
|
|
6352
|
-
return
|
|
6361
|
+
return m`${t}`;
|
|
6353
6362
|
const i = [];
|
|
6354
6363
|
for (const s of this.templatePartsList) {
|
|
6355
6364
|
let e = s.getAttribute(this.templateValueAttribute), o = r;
|
|
6356
6365
|
if (this.inverted && (o = e, e = r), e == "" && (e = this.inverted ? ".*?" : "^$"), new RegExp(e).test(o + ""))
|
|
6357
6366
|
i.push(s), s.removeAttribute("mode");
|
|
6358
6367
|
else {
|
|
6359
|
-
const l = new
|
|
6368
|
+
const l = new qt(e);
|
|
6360
6369
|
l.names.length > 0 && l.match(o) && (s.setAttribute("mode", "patternMatching"), i.push(s));
|
|
6361
6370
|
}
|
|
6362
6371
|
}
|
|
6363
|
-
return
|
|
6372
|
+
return m`${Ls(
|
|
6364
6373
|
i,
|
|
6365
6374
|
(s, e) => e + (/* @__PURE__ */ new Date()).getTime(),
|
|
6366
6375
|
(s) => {
|
|
@@ -6372,13 +6381,13 @@ let Ye = class extends Z(Qe(w)) {
|
|
|
6372
6381
|
this.templateValueAttribute
|
|
6373
6382
|
);
|
|
6374
6383
|
if (this.inverted && (n = l, l = r), l == "" && (l = this.inverted ? "*" : "^$"), s.getAttribute("mode") == "patternMatching") {
|
|
6375
|
-
const c = new
|
|
6376
|
-
o = new
|
|
6384
|
+
const c = new qt(l);
|
|
6385
|
+
o = new qt(e).stringify(c.match(n));
|
|
6377
6386
|
} else {
|
|
6378
6387
|
const c = new RegExp(l), h = (n + "").match(c);
|
|
6379
6388
|
h && (o = h.shift()?.replace(c, e));
|
|
6380
6389
|
}
|
|
6381
|
-
return
|
|
6390
|
+
return m`<div
|
|
6382
6391
|
style="display:contents"
|
|
6383
6392
|
dataProvider="${o}"
|
|
6384
6393
|
>
|
|
@@ -6413,7 +6422,7 @@ let ar = class extends w {
|
|
|
6413
6422
|
return this;
|
|
6414
6423
|
}
|
|
6415
6424
|
render() {
|
|
6416
|
-
return
|
|
6425
|
+
return m`<slot></slot>`;
|
|
6417
6426
|
}
|
|
6418
6427
|
};
|
|
6419
6428
|
ar = wa([
|
|
@@ -6430,7 +6439,7 @@ let Xs = class extends Z(w) {
|
|
|
6430
6439
|
super(...arguments), this.text = "Example";
|
|
6431
6440
|
}
|
|
6432
6441
|
render() {
|
|
6433
|
-
return
|
|
6442
|
+
return m`<div>${this.text}</div>`;
|
|
6434
6443
|
}
|
|
6435
6444
|
};
|
|
6436
6445
|
Dr([
|
|
@@ -6582,8 +6591,8 @@ class Wa {
|
|
|
6582
6591
|
if (h)
|
|
6583
6592
|
for (const d of h)
|
|
6584
6593
|
e.nodes.push(d);
|
|
6585
|
-
const
|
|
6586
|
-
|
|
6594
|
+
const u = s.parent.nodes?.indexOf(s.child) || -1;
|
|
6595
|
+
u != -1 && (s.parent.nodes?.splice(u, 1), s.parent.nodes?.splice(u, 0, e));
|
|
6587
6596
|
}
|
|
6588
6597
|
}
|
|
6589
6598
|
/**
|
|
@@ -6829,11 +6838,11 @@ let xs = class extends se(w) {
|
|
|
6829
6838
|
}
|
|
6830
6839
|
}
|
|
6831
6840
|
render() {
|
|
6832
|
-
return
|
|
6841
|
+
return m`<slot></slot>`;
|
|
6833
6842
|
}
|
|
6834
6843
|
};
|
|
6835
6844
|
xs.styles = [
|
|
6836
|
-
|
|
6845
|
+
P`
|
|
6837
6846
|
:host {
|
|
6838
6847
|
display: contents;
|
|
6839
6848
|
}
|
|
@@ -6856,7 +6865,7 @@ let lr = class extends se(w) {
|
|
|
6856
6865
|
this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
|
|
6857
6866
|
}
|
|
6858
6867
|
render() {
|
|
6859
|
-
return typeof this.props == "object" || this.props === void 0 ?
|
|
6868
|
+
return typeof this.props == "object" || this.props === void 0 ? m`<slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>` : m`${z(this.props.toString())}<slot name="prefix"></slot><slot></slot
|
|
6860
6869
|
><slot name="suffix"></slot>`;
|
|
6861
6870
|
}
|
|
6862
6871
|
};
|
|
@@ -6871,7 +6880,7 @@ var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Ci = (r, t
|
|
|
6871
6880
|
const il = "sonic-t";
|
|
6872
6881
|
let Ps = class extends w {
|
|
6873
6882
|
render() {
|
|
6874
|
-
return this.key ?
|
|
6883
|
+
return this.key ? m`${Lo(this.key, this.unsafeHTML)}` : S;
|
|
6875
6884
|
}
|
|
6876
6885
|
};
|
|
6877
6886
|
Ci([
|
|
@@ -6894,7 +6903,7 @@ let pe = class extends w {
|
|
|
6894
6903
|
super(...arguments), this.type = "default", this.variant = "default", this.ellipsis = !1;
|
|
6895
6904
|
}
|
|
6896
6905
|
render() {
|
|
6897
|
-
return
|
|
6906
|
+
return m`
|
|
6898
6907
|
<slot name="prefix"></slot>
|
|
6899
6908
|
<slot></slot>
|
|
6900
6909
|
<slot name="suffix"></slot>
|
|
@@ -6903,7 +6912,7 @@ let pe = class extends w {
|
|
|
6903
6912
|
};
|
|
6904
6913
|
pe.styles = [
|
|
6905
6914
|
Mt,
|
|
6906
|
-
|
|
6915
|
+
P`
|
|
6907
6916
|
:host {
|
|
6908
6917
|
--sc-badge-gap: 0.3em;
|
|
6909
6918
|
--sc-badge-py: 0.35em;
|
|
@@ -7108,20 +7117,20 @@ let Gt = class extends w {
|
|
|
7108
7117
|
r.has("href") && this.setFocusable();
|
|
7109
7118
|
}
|
|
7110
7119
|
render() {
|
|
7111
|
-
return this.href ?
|
|
7120
|
+
return this.href ? m`
|
|
7112
7121
|
<a
|
|
7113
7122
|
href="${this.href}"
|
|
7114
|
-
aria-label=${this.ariaLabel ||
|
|
7123
|
+
aria-label=${this.ariaLabel || S}
|
|
7115
7124
|
target=${$(this.target)}
|
|
7116
7125
|
@click=${this.pushState ? this.handlePushState : null}
|
|
7117
7126
|
>
|
|
7118
7127
|
<slot></slot>
|
|
7119
7128
|
</a>
|
|
7120
|
-
` :
|
|
7129
|
+
` : m`<slot></slot>`;
|
|
7121
7130
|
}
|
|
7122
7131
|
};
|
|
7123
7132
|
Gt.styles = [
|
|
7124
|
-
|
|
7133
|
+
P`
|
|
7125
7134
|
a {
|
|
7126
7135
|
color: inherit;
|
|
7127
7136
|
text-decoration: none;
|
|
@@ -7158,7 +7167,7 @@ let Qt = class extends w {
|
|
|
7158
7167
|
super(...arguments), this.max = 100, this.invert = !1, this.type = "default";
|
|
7159
7168
|
}
|
|
7160
7169
|
render() {
|
|
7161
|
-
return
|
|
7170
|
+
return m`
|
|
7162
7171
|
<progress value=${$(this.value)} max=${this.max}></progress>
|
|
7163
7172
|
<div class="slot-container">
|
|
7164
7173
|
<slot></slot>
|
|
@@ -7169,7 +7178,7 @@ let Qt = class extends w {
|
|
|
7169
7178
|
};
|
|
7170
7179
|
Qt.styles = [
|
|
7171
7180
|
Mt,
|
|
7172
|
-
|
|
7181
|
+
P`
|
|
7173
7182
|
:host {
|
|
7174
7183
|
--sc-progress-bg: var(
|
|
7175
7184
|
--sc-input-bg,
|
|
@@ -7301,7 +7310,7 @@ Te([
|
|
|
7301
7310
|
Qt = Te([
|
|
7302
7311
|
_(ul)
|
|
7303
7312
|
], Qt);
|
|
7304
|
-
const fl =
|
|
7313
|
+
const fl = P`
|
|
7305
7314
|
.password-toggle {
|
|
7306
7315
|
color: var(--sc-input-c);
|
|
7307
7316
|
font-size: var(--sc-input-fs);
|
|
@@ -7312,7 +7321,7 @@ const fl = x`
|
|
|
7312
7321
|
:host([inlineContent]) .has-suffix .password-toggle {
|
|
7313
7322
|
margin-right: 0;
|
|
7314
7323
|
}
|
|
7315
|
-
`, Ts =
|
|
7324
|
+
`, Ts = P`
|
|
7316
7325
|
:host {
|
|
7317
7326
|
--sc-label-fs: var(--sc-_fs, 1rem);
|
|
7318
7327
|
--sc-label-fw: var(--sc-label-font-weight, 500);
|
|
@@ -7326,14 +7335,14 @@ const fl = x`
|
|
|
7326
7335
|
margin-bottom: 0.22em;
|
|
7327
7336
|
display: block;
|
|
7328
7337
|
}
|
|
7329
|
-
`, Ms =
|
|
7338
|
+
`, Ms = P`
|
|
7330
7339
|
.form-description {
|
|
7331
7340
|
color: var(--sc-base-400, var(--sc-base-content, #000));
|
|
7332
7341
|
font-size: 0.85em;
|
|
7333
7342
|
margin-top: 0.2em;
|
|
7334
7343
|
display: block;
|
|
7335
7344
|
}
|
|
7336
|
-
`, Si =
|
|
7345
|
+
`, Si = P`
|
|
7337
7346
|
* {
|
|
7338
7347
|
box-sizing: border-box;
|
|
7339
7348
|
}
|
|
@@ -7696,7 +7705,7 @@ const fl = x`
|
|
|
7696
7705
|
*/
|
|
7697
7706
|
const Ai = ee(class extends De {
|
|
7698
7707
|
constructor(r) {
|
|
7699
|
-
if (super(r), r.type !==
|
|
7708
|
+
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "class" || r.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
7700
7709
|
}
|
|
7701
7710
|
render(r) {
|
|
7702
7711
|
return " " + Object.keys(r).filter(((t) => r[t])).join(" ") + " ";
|
|
@@ -7713,13 +7722,13 @@ const Ai = ee(class extends De {
|
|
|
7713
7722
|
const e = !!t[s];
|
|
7714
7723
|
e === this.st.has(s) || this.nt?.has(s) || (e ? (i.add(s), this.st.add(s)) : (i.remove(s), this.st.delete(s)));
|
|
7715
7724
|
}
|
|
7716
|
-
return
|
|
7725
|
+
return wt;
|
|
7717
7726
|
}
|
|
7718
7727
|
});
|
|
7719
|
-
var
|
|
7720
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
7728
|
+
var ml = Object.defineProperty, gl = Object.getOwnPropertyDescriptor, U = (r, t, i, s) => {
|
|
7729
|
+
for (var e = s > 1 ? void 0 : s ? gl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7721
7730
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
7722
|
-
return s && e &&
|
|
7731
|
+
return s && e && ml(t, i, e), e;
|
|
7723
7732
|
};
|
|
7724
7733
|
const bl = "sonic-input";
|
|
7725
7734
|
let j = class extends Es(Le(Z(w))) {
|
|
@@ -7803,7 +7812,7 @@ let j = class extends Es(Le(Z(w))) {
|
|
|
7803
7812
|
"no-suffix": !this.hasSuffix,
|
|
7804
7813
|
"no-prefix": !this.hasPrefix
|
|
7805
7814
|
};
|
|
7806
|
-
return
|
|
7815
|
+
return m`
|
|
7807
7816
|
<label for="${this.id || "form-element"}" class="${this.hasLabel ? "form-label" : "hidden"}"
|
|
7808
7817
|
>${this.label ? z(
|
|
7809
7818
|
this.label
|
|
@@ -7849,7 +7858,7 @@ let j = class extends Es(Le(Z(w))) {
|
|
|
7849
7858
|
.name=${this.name}
|
|
7850
7859
|
.value=${this.value}
|
|
7851
7860
|
/>
|
|
7852
|
-
${this.showPasswordToggle ?
|
|
7861
|
+
${this.showPasswordToggle ? m`<sonic-button
|
|
7853
7862
|
shape="circle"
|
|
7854
7863
|
class="password-toggle"
|
|
7855
7864
|
@click=${this.togglePasswordVisibility}
|
|
@@ -7870,7 +7879,7 @@ let j = class extends Es(Le(Z(w))) {
|
|
|
7870
7879
|
name="description"
|
|
7871
7880
|
@slotchange=${this.hasSlotOrProps}
|
|
7872
7881
|
class="${this.hasDescription ? "form-description" : "hidden"}"
|
|
7873
|
-
>${this.description ?
|
|
7882
|
+
>${this.description ? m`${z(this.description)}` : S}</slot>
|
|
7874
7883
|
<slot name="list"></slot>
|
|
7875
7884
|
</div>
|
|
7876
7885
|
`;
|
|
@@ -7882,7 +7891,7 @@ j.styles = [
|
|
|
7882
7891
|
Ts,
|
|
7883
7892
|
Ms,
|
|
7884
7893
|
fl,
|
|
7885
|
-
|
|
7894
|
+
P`
|
|
7886
7895
|
:host([type="hidden"]) {
|
|
7887
7896
|
appearance: none !important;
|
|
7888
7897
|
display: none !important;
|
|
@@ -7944,19 +7953,19 @@ U([
|
|
|
7944
7953
|
a({ type: Boolean, reflect: !0 })
|
|
7945
7954
|
], j.prototype, "active", 2);
|
|
7946
7955
|
U([
|
|
7947
|
-
|
|
7956
|
+
dt({ slot: "label", flatten: !0 })
|
|
7948
7957
|
], j.prototype, "slotLabelNodes", 2);
|
|
7949
7958
|
U([
|
|
7950
|
-
|
|
7959
|
+
dt({ slot: "description", flatten: !0 })
|
|
7951
7960
|
], j.prototype, "slotDescriptionNodes", 2);
|
|
7952
7961
|
U([
|
|
7953
|
-
|
|
7962
|
+
dt({ slot: "suffix", flatten: !0 })
|
|
7954
7963
|
], j.prototype, "slotSuffixNodes", 2);
|
|
7955
7964
|
U([
|
|
7956
|
-
|
|
7965
|
+
dt({ slot: "prefix", flatten: !0 })
|
|
7957
7966
|
], j.prototype, "slotPrefixNodes", 2);
|
|
7958
7967
|
U([
|
|
7959
|
-
|
|
7968
|
+
ge("input")
|
|
7960
7969
|
], j.prototype, "input", 2);
|
|
7961
7970
|
U([
|
|
7962
7971
|
L()
|
|
@@ -7976,7 +7985,7 @@ U([
|
|
|
7976
7985
|
j = U([
|
|
7977
7986
|
_(bl)
|
|
7978
7987
|
], j);
|
|
7979
|
-
const Er =
|
|
7988
|
+
const Er = P`
|
|
7980
7989
|
/*OMBRE*/
|
|
7981
7990
|
:host([shadow]) .shadowable,
|
|
7982
7991
|
:host([shadow="md"]) .shadowable,
|
|
@@ -8071,45 +8080,45 @@ let it = class extends w {
|
|
|
8071
8080
|
let s = t[1];
|
|
8072
8081
|
const e = 5, o = this.getBoundingClientRect(), l = J.getScrollableAncestor(
|
|
8073
8082
|
this.popContent
|
|
8074
|
-
)?.getBoundingClientRect(), c = Math.max(0, l?.left || 0) + e, h = Math.max(0, l?.top || 0) + e,
|
|
8083
|
+
)?.getBoundingClientRect(), c = Math.max(0, l?.left || 0) + e, h = Math.max(0, l?.top || 0) + e, u = Math.min(
|
|
8075
8084
|
window.innerWidth,
|
|
8076
8085
|
l?.right || window.innerWidth
|
|
8077
8086
|
) - e, d = Math.min(
|
|
8078
8087
|
window.innerHeight,
|
|
8079
8088
|
l?.bottom || window.innerHeight
|
|
8080
|
-
) - e,
|
|
8081
|
-
let b =
|
|
8082
|
-
const E = v -
|
|
8089
|
+
) - e, g = o.left, v = o.top;
|
|
8090
|
+
let b = g, x = v, C = this.popContent?.getBoundingClientRect();
|
|
8091
|
+
const E = v - C.height, p = g - C.width, f = g + o.width, y = v + o.height, A = g + (o.width - C.width) * 0.5, k = v + (o.height - C.height) * 0.5;
|
|
8083
8092
|
switch (i) {
|
|
8084
8093
|
case "bottom":
|
|
8085
|
-
|
|
8094
|
+
x = y, s == "center" && (b = A);
|
|
8086
8095
|
break;
|
|
8087
8096
|
case "top":
|
|
8088
|
-
|
|
8097
|
+
x = E, s == "center" && (b = A);
|
|
8089
8098
|
break;
|
|
8090
8099
|
case "left":
|
|
8091
|
-
b = p, s == "center" && (
|
|
8100
|
+
b = p, s == "center" && (x = k);
|
|
8092
8101
|
break;
|
|
8093
8102
|
case "right":
|
|
8094
|
-
b =
|
|
8103
|
+
b = f, s == "center" && (x = k);
|
|
8095
8104
|
break;
|
|
8096
8105
|
}
|
|
8097
|
-
this.lastContentX += b -
|
|
8106
|
+
this.lastContentX += b - C.x, this.lastContentY += x - C.y, Object.assign(this.popContent.style, {
|
|
8098
8107
|
left: `${this.lastContentX}px`,
|
|
8099
8108
|
top: `${this.lastContentY}px`
|
|
8100
|
-
}),
|
|
8109
|
+
}), C = this.popContent?.getBoundingClientRect(), C.x < c && i == "left" && (b = f), C.y < h && i == "top" && (x = y), C.x + C.width > u && i == "right" && (b = p), C.y + C.height > d && i == "bottom" && (x = E), this.lastContentX += b - C.x, this.lastContentY += x - C.y, Object.assign(this.popContent.style, {
|
|
8101
8110
|
left: `${this.lastContentX}px`,
|
|
8102
8111
|
top: `${this.lastContentY}px`
|
|
8103
|
-
}),
|
|
8112
|
+
}), C = this.popContent?.getBoundingClientRect(), C.x < c && (this.lastContentX += c - C.x), C.y < h && (this.lastContentY += h - C.y), Object.assign(this.popContent.style, {
|
|
8104
8113
|
left: `${this.lastContentX}px`,
|
|
8105
8114
|
top: `${this.lastContentY}px`
|
|
8106
|
-
}),
|
|
8115
|
+
}), C = this.popContent?.getBoundingClientRect(), C.x + C.width > u && (this.lastContentX += u - (C.x + C.width)), C.y + C.height > d && (this.lastContentY += d - (C.y + C.height)), Object.assign(this.popContent.style, {
|
|
8107
8116
|
left: `${this.lastContentX}px`,
|
|
8108
8117
|
top: `${this.lastContentY}px`
|
|
8109
8118
|
});
|
|
8110
8119
|
}
|
|
8111
8120
|
render() {
|
|
8112
|
-
return
|
|
8121
|
+
return m`
|
|
8113
8122
|
<slot
|
|
8114
8123
|
@click=${this.manual ? () => {
|
|
8115
8124
|
} : this.toggle}
|
|
@@ -8130,7 +8139,7 @@ let it = class extends w {
|
|
|
8130
8139
|
};
|
|
8131
8140
|
it.pops = /* @__PURE__ */ new Set();
|
|
8132
8141
|
it.styles = [
|
|
8133
|
-
|
|
8142
|
+
P`
|
|
8134
8143
|
:host {
|
|
8135
8144
|
display: inline-block;
|
|
8136
8145
|
vertical-align: middle;
|
|
@@ -8169,10 +8178,10 @@ jt([
|
|
|
8169
8178
|
L()
|
|
8170
8179
|
], it.prototype, "open", 2);
|
|
8171
8180
|
jt([
|
|
8172
|
-
|
|
8181
|
+
ge("slot:not([name=content])")
|
|
8173
8182
|
], it.prototype, "popBtn", 2);
|
|
8174
8183
|
jt([
|
|
8175
|
-
|
|
8184
|
+
ge("slot[name=content]")
|
|
8176
8185
|
], it.prototype, "popContent", 2);
|
|
8177
8186
|
jt([
|
|
8178
8187
|
a({ type: Boolean })
|
|
@@ -8301,7 +8310,7 @@ let at = class extends xi(
|
|
|
8301
8310
|
const r = this.searchParameter || this.name, t = this.getAncestorAttributeValue("formDataProvider"), i = t + "__" + this.name + "__autocomplete";
|
|
8302
8311
|
this.initSearchDataProvider = `${i}_init_search__`, this.initQueueDataProvider = `${i}_init_queue__`, this.searchDataProvider = `${i}_search__`, this.queueDataProvider = `${i}_queue__`;
|
|
8303
8312
|
const s = st.get;
|
|
8304
|
-
this.searchPublisher = s(this.searchDataProvider)[r], this.formValuePublisher =
|
|
8313
|
+
this.searchPublisher = s(this.searchDataProvider)[r], this.formValuePublisher = pt(
|
|
8305
8314
|
s(t),
|
|
8306
8315
|
this.name
|
|
8307
8316
|
), this.countPublisher = s(this.queueDataProvider).resultCount, this.initCountPublisher = s(
|
|
@@ -8347,7 +8356,7 @@ let at = class extends xi(
|
|
|
8347
8356
|
return this.isSearchParameter() ? this.searchPublisher?.get() : this.lastValidSearch;
|
|
8348
8357
|
}
|
|
8349
8358
|
render() {
|
|
8350
|
-
return
|
|
8359
|
+
return m`
|
|
8351
8360
|
<sonic-pop noToggle style="display:block;" @hide=${this.handleHide}>
|
|
8352
8361
|
<sonic-input
|
|
8353
8362
|
class="form-element"
|
|
@@ -8374,14 +8383,14 @@ let at = class extends xi(
|
|
|
8374
8383
|
@slotchange=${this.hasSlotOrProps}
|
|
8375
8384
|
></slot>
|
|
8376
8385
|
|
|
8377
|
-
${this.select ?
|
|
8386
|
+
${this.select ? m`
|
|
8378
8387
|
<sonic-icon
|
|
8379
8388
|
slot="suffix"
|
|
8380
8389
|
class="select-chevron"
|
|
8381
8390
|
name="nav-arrow-down"
|
|
8382
8391
|
.size=${this.size}
|
|
8383
8392
|
></sonic-icon>
|
|
8384
|
-
` :
|
|
8393
|
+
` : S}
|
|
8385
8394
|
</sonic-input>
|
|
8386
8395
|
<sonic-menu
|
|
8387
8396
|
slot="content"
|
|
@@ -8416,7 +8425,7 @@ let at = class extends xi(
|
|
|
8416
8425
|
};
|
|
8417
8426
|
at.styles = [
|
|
8418
8427
|
es,
|
|
8419
|
-
|
|
8428
|
+
P`
|
|
8420
8429
|
:host {
|
|
8421
8430
|
display: block;
|
|
8422
8431
|
}
|
|
@@ -8470,7 +8479,7 @@ ft([
|
|
|
8470
8479
|
a({ type: String })
|
|
8471
8480
|
], at.prototype, "propertyName", 2);
|
|
8472
8481
|
ft([
|
|
8473
|
-
|
|
8482
|
+
dt({ slot: "prefix", flatten: !0 })
|
|
8474
8483
|
], at.prototype, "slotInputPrefixNodes", 2);
|
|
8475
8484
|
ft([
|
|
8476
8485
|
L()
|
|
@@ -8484,7 +8493,7 @@ ft([
|
|
|
8484
8493
|
at = ft([
|
|
8485
8494
|
_("sonic-input-autocomplete")
|
|
8486
8495
|
], at);
|
|
8487
|
-
var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor,
|
|
8496
|
+
var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, mt = (r, t, i, s) => {
|
|
8488
8497
|
for (var e = s > 1 ? void 0 : s ? Al(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8489
8498
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8490
8499
|
return s && e && Sl(t, i, e), e;
|
|
@@ -8503,10 +8512,10 @@ let lt = class extends se(w) {
|
|
|
8503
8512
|
this.checkValue && this.name && st.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].offAssign(this.checkValue), super.disconnectedCallback();
|
|
8504
8513
|
}
|
|
8505
8514
|
getIcon(t) {
|
|
8506
|
-
return t ?
|
|
8515
|
+
return t ? m`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>` : m`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`;
|
|
8507
8516
|
}
|
|
8508
8517
|
render() {
|
|
8509
|
-
return this.hasNoChar ?
|
|
8518
|
+
return this.hasNoChar ? S : m`
|
|
8510
8519
|
<div>${this.wording_password_helper_decription}</div>
|
|
8511
8520
|
<div>
|
|
8512
8521
|
${this.getIcon(this.hasEnoughChars)}
|
|
@@ -8530,52 +8539,52 @@ let lt = class extends se(w) {
|
|
|
8530
8539
|
`;
|
|
8531
8540
|
}
|
|
8532
8541
|
};
|
|
8533
|
-
|
|
8542
|
+
mt([
|
|
8534
8543
|
a()
|
|
8535
8544
|
], lt.prototype, "name", 2);
|
|
8536
|
-
|
|
8545
|
+
mt([
|
|
8537
8546
|
a()
|
|
8538
8547
|
], lt.prototype, "minChars", 2);
|
|
8539
|
-
|
|
8548
|
+
mt([
|
|
8540
8549
|
L()
|
|
8541
8550
|
], lt.prototype, "hasNoChar", 2);
|
|
8542
|
-
|
|
8551
|
+
mt([
|
|
8543
8552
|
L()
|
|
8544
8553
|
], lt.prototype, "hasEnoughChars", 2);
|
|
8545
|
-
|
|
8554
|
+
mt([
|
|
8546
8555
|
L()
|
|
8547
8556
|
], lt.prototype, "hasMinuscule", 2);
|
|
8548
|
-
|
|
8557
|
+
mt([
|
|
8549
8558
|
L()
|
|
8550
8559
|
], lt.prototype, "hasMajuscule", 2);
|
|
8551
|
-
|
|
8560
|
+
mt([
|
|
8552
8561
|
L()
|
|
8553
8562
|
], lt.prototype, "hasNumber", 2);
|
|
8554
|
-
|
|
8563
|
+
mt([
|
|
8555
8564
|
L()
|
|
8556
8565
|
], lt.prototype, "hasSpecialChar", 2);
|
|
8557
|
-
|
|
8566
|
+
mt([
|
|
8558
8567
|
a()
|
|
8559
8568
|
], lt.prototype, "wording_password_helper_decription", 2);
|
|
8560
|
-
|
|
8569
|
+
mt([
|
|
8561
8570
|
a()
|
|
8562
8571
|
], lt.prototype, "wording_password_helper_min_length", 2);
|
|
8563
|
-
|
|
8572
|
+
mt([
|
|
8564
8573
|
a()
|
|
8565
8574
|
], lt.prototype, "wording_password_helper_lower_case", 2);
|
|
8566
|
-
|
|
8575
|
+
mt([
|
|
8567
8576
|
a()
|
|
8568
8577
|
], lt.prototype, "wording_password_helper_upper_case", 2);
|
|
8569
|
-
|
|
8578
|
+
mt([
|
|
8570
8579
|
a()
|
|
8571
8580
|
], lt.prototype, "wording_password_helper_number", 2);
|
|
8572
|
-
|
|
8581
|
+
mt([
|
|
8573
8582
|
a()
|
|
8574
8583
|
], lt.prototype, "wording_password_helper_special_char", 2);
|
|
8575
|
-
lt =
|
|
8584
|
+
lt = mt([
|
|
8576
8585
|
_(kl)
|
|
8577
8586
|
], lt);
|
|
8578
|
-
var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor,
|
|
8587
|
+
var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ve = (r, t, i, s) => {
|
|
8579
8588
|
for (var e = s > 1 ? void 0 : s ? Dl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8580
8589
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8581
8590
|
return s && e && Ol(t, i, e), e;
|
|
@@ -8591,10 +8600,10 @@ let Jt = class extends se(w) {
|
|
|
8591
8600
|
this.getAncestorAttributeValue("formDataProvider")
|
|
8592
8601
|
);
|
|
8593
8602
|
this.name && this.sameValueAs && (this.checkValue = (t) => {
|
|
8594
|
-
t ? this.hasNoChar = t.length == 0 : this.hasNoChar = !0, this.name && this.sameValueAs && (this.areEqual =
|
|
8595
|
-
},
|
|
8603
|
+
t ? this.hasNoChar = t.length == 0 : this.hasNoChar = !0, this.name && this.sameValueAs && (this.areEqual = pt(r, this.name).get() == pt(r, this.sameValueAs).get());
|
|
8604
|
+
}, pt(r, this.name).onAssign(
|
|
8596
8605
|
this.checkValue
|
|
8597
|
-
),
|
|
8606
|
+
), pt(r, this.sameValueAs).onAssign(
|
|
8598
8607
|
this.checkValue
|
|
8599
8608
|
));
|
|
8600
8609
|
}
|
|
@@ -8603,9 +8612,9 @@ let Jt = class extends se(w) {
|
|
|
8603
8612
|
const r = st.get(
|
|
8604
8613
|
this.getAncestorAttributeValue("formDataProvider")
|
|
8605
8614
|
);
|
|
8606
|
-
|
|
8615
|
+
pt(r, this.name).offAssign(
|
|
8607
8616
|
this.checkValue
|
|
8608
|
-
),
|
|
8617
|
+
), pt(r, this.sameValueAs).offAssign(
|
|
8609
8618
|
this.checkValue
|
|
8610
8619
|
);
|
|
8611
8620
|
}
|
|
@@ -8613,41 +8622,41 @@ let Jt = class extends se(w) {
|
|
|
8613
8622
|
}
|
|
8614
8623
|
//TODO Multilangue
|
|
8615
8624
|
render() {
|
|
8616
|
-
return this.hasNoChar ?
|
|
8625
|
+
return this.hasNoChar ? S : m`
|
|
8617
8626
|
<span>
|
|
8618
8627
|
${this.areEqual ? z(this.descriptionWhenEqual) : z(this.descriptionWhenNotEqual)}
|
|
8619
8628
|
</span>
|
|
8620
8629
|
`;
|
|
8621
8630
|
}
|
|
8622
8631
|
};
|
|
8623
|
-
|
|
8632
|
+
ve([
|
|
8624
8633
|
a()
|
|
8625
8634
|
], Jt.prototype, "name", 2);
|
|
8626
|
-
|
|
8635
|
+
ve([
|
|
8627
8636
|
a()
|
|
8628
8637
|
], Jt.prototype, "sameValueAs", 2);
|
|
8629
|
-
|
|
8638
|
+
ve([
|
|
8630
8639
|
a()
|
|
8631
8640
|
], Jt.prototype, "descriptionWhenEqual", 2);
|
|
8632
|
-
|
|
8641
|
+
ve([
|
|
8633
8642
|
a()
|
|
8634
8643
|
], Jt.prototype, "descriptionWhenNotEqual", 2);
|
|
8635
|
-
|
|
8644
|
+
ve([
|
|
8636
8645
|
L()
|
|
8637
8646
|
], Jt.prototype, "areEqual", 2);
|
|
8638
|
-
|
|
8647
|
+
ve([
|
|
8639
8648
|
L()
|
|
8640
8649
|
], Jt.prototype, "hasNoChar", 2);
|
|
8641
|
-
Jt =
|
|
8650
|
+
Jt = ve([
|
|
8642
8651
|
_(Ll)
|
|
8643
8652
|
], Jt);
|
|
8644
|
-
var El = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor,
|
|
8653
|
+
var El = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, Kt = (r, t, i, s) => {
|
|
8645
8654
|
for (var e = s > 1 ? void 0 : s ? Nl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8646
8655
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8647
8656
|
return s && e && El(t, i, e), e;
|
|
8648
8657
|
};
|
|
8649
8658
|
const Tl = "sonic-checkbox";
|
|
8650
|
-
let
|
|
8659
|
+
let ut = class extends wi(
|
|
8651
8660
|
Es(Le(Z(w)))
|
|
8652
8661
|
) {
|
|
8653
8662
|
constructor() {
|
|
@@ -8657,13 +8666,13 @@ let pt = class extends wi(
|
|
|
8657
8666
|
this.type = "checkbox", this.hasSlotOrProps(), super.connectedCallback();
|
|
8658
8667
|
}
|
|
8659
8668
|
willUpdate(r) {
|
|
8660
|
-
this.hasSlotOrProps(), super.willUpdate(r)
|
|
8669
|
+
this.hasSlotOrProps(), super.willUpdate(r);
|
|
8661
8670
|
}
|
|
8662
8671
|
hasSlotOrProps() {
|
|
8663
8672
|
this.hasLabel = !!(this.label || this.slotLabelNodes?.length), this.hasDescription = !!(this.description || this.slotDescriptionNodes?.length);
|
|
8664
8673
|
}
|
|
8665
8674
|
render() {
|
|
8666
|
-
return
|
|
8675
|
+
return m`
|
|
8667
8676
|
<label class="checkbox-container ${this.disabled ? "disabled" : ""}">
|
|
8668
8677
|
|
|
8669
8678
|
<span class="icon-container">
|
|
@@ -8690,16 +8699,16 @@ let pt = class extends wi(
|
|
|
8690
8699
|
/*+ labelStarSuffix*/
|
|
8691
8700
|
) : ""}
|
|
8692
8701
|
<slot @slotchange=${this.hasSlotOrProps}></slot>
|
|
8693
|
-
<slot @slotchange=${this.hasSlotOrProps} name="description" class="${this.hasDescription ? "description" : "hidden"} ">${this.description ?
|
|
8702
|
+
<slot @slotchange=${this.hasSlotOrProps} name="description" class="${this.hasDescription ? "description" : "hidden"} ">${this.description ? m`${z(this.description)}` : ""}</slot>
|
|
8694
8703
|
</div>
|
|
8695
8704
|
</label>
|
|
8696
8705
|
</label>
|
|
8697
8706
|
`;
|
|
8698
8707
|
}
|
|
8699
8708
|
};
|
|
8700
|
-
|
|
8709
|
+
ut.styles = [
|
|
8701
8710
|
Mt,
|
|
8702
|
-
|
|
8711
|
+
P`
|
|
8703
8712
|
:host {
|
|
8704
8713
|
--sc-checkbox-border-width: var(--sc-form-border-width);
|
|
8705
8714
|
--sc-checkbox-border-color: var(
|
|
@@ -8823,54 +8832,50 @@ pt.styles = [
|
|
|
8823
8832
|
}
|
|
8824
8833
|
`
|
|
8825
8834
|
];
|
|
8826
|
-
|
|
8835
|
+
Kt([
|
|
8827
8836
|
a({ type: Boolean, reflect: !0 })
|
|
8828
|
-
],
|
|
8829
|
-
|
|
8837
|
+
], ut.prototype, "touched", 2);
|
|
8838
|
+
Kt([
|
|
8830
8839
|
a({ type: String })
|
|
8831
|
-
],
|
|
8832
|
-
|
|
8840
|
+
], ut.prototype, "iconName", 2);
|
|
8841
|
+
Kt([
|
|
8833
8842
|
a({ type: String })
|
|
8834
|
-
],
|
|
8835
|
-
|
|
8843
|
+
], ut.prototype, "indeterminateIconName", 2);
|
|
8844
|
+
Kt([
|
|
8836
8845
|
a({ type: Boolean })
|
|
8837
|
-
],
|
|
8838
|
-
|
|
8846
|
+
], ut.prototype, "showAsIndeterminate", 2);
|
|
8847
|
+
Kt([
|
|
8839
8848
|
a({ type: Boolean })
|
|
8840
|
-
],
|
|
8841
|
-
|
|
8849
|
+
], ut.prototype, "hasDescription", 2);
|
|
8850
|
+
Kt([
|
|
8842
8851
|
a({ type: Boolean })
|
|
8843
|
-
],
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
],
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
],
|
|
8850
|
-
|
|
8852
|
+
], ut.prototype, "hasLabel", 2);
|
|
8853
|
+
Kt([
|
|
8854
|
+
dt({ flatten: !0 })
|
|
8855
|
+
], ut.prototype, "slotLabelNodes", 2);
|
|
8856
|
+
Kt([
|
|
8857
|
+
dt({ slot: "description", flatten: !0 })
|
|
8858
|
+
], ut.prototype, "slotDescriptionNodes", 2);
|
|
8859
|
+
ut = Kt([
|
|
8851
8860
|
_(Tl)
|
|
8852
|
-
],
|
|
8861
|
+
], ut);
|
|
8853
8862
|
var Ml = Object.getOwnPropertyDescriptor, Il = (r, t, i, s) => {
|
|
8854
8863
|
for (var e = s > 1 ? void 0 : s ? Ml(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8855
8864
|
(n = r[o]) && (e = n(e) || e);
|
|
8856
8865
|
return e;
|
|
8857
8866
|
};
|
|
8858
8867
|
const jl = "sonic-radio";
|
|
8859
|
-
let Zs = class extends
|
|
8868
|
+
let Zs = class extends ut {
|
|
8860
8869
|
constructor() {
|
|
8861
8870
|
super(), this.radio = !0;
|
|
8862
8871
|
}
|
|
8863
|
-
willUpdate(r) {
|
|
8864
|
-
const t = r.has("type");
|
|
8865
|
-
super.willUpdate(r), t && (this.type = "radio");
|
|
8866
|
-
}
|
|
8867
8872
|
connectedCallback() {
|
|
8868
8873
|
super.connectedCallback(), this.type = "radio";
|
|
8869
8874
|
}
|
|
8870
8875
|
};
|
|
8871
8876
|
Zs.styles = [
|
|
8872
|
-
|
|
8873
|
-
|
|
8877
|
+
ut.styles,
|
|
8878
|
+
P`
|
|
8874
8879
|
:host input {
|
|
8875
8880
|
border-radius: 50%;
|
|
8876
8881
|
}
|
|
@@ -8897,14 +8902,14 @@ var Fl = Object.getOwnPropertyDescriptor, zl = (r, t, i, s) => {
|
|
|
8897
8902
|
return e;
|
|
8898
8903
|
};
|
|
8899
8904
|
const Rl = "sonic-switch";
|
|
8900
|
-
let Gs = class extends
|
|
8905
|
+
let Gs = class extends ut {
|
|
8901
8906
|
constructor() {
|
|
8902
8907
|
super(), this.unique = !0;
|
|
8903
8908
|
}
|
|
8904
8909
|
};
|
|
8905
8910
|
Gs.styles = [
|
|
8906
|
-
|
|
8907
|
-
|
|
8911
|
+
ut.styles,
|
|
8912
|
+
P`
|
|
8908
8913
|
sonic-icon {
|
|
8909
8914
|
display: none;
|
|
8910
8915
|
}
|
|
@@ -9048,7 +9053,7 @@ let W = class extends Le(Z(w)) {
|
|
|
9048
9053
|
"has-prefix": this.hasPrefix,
|
|
9049
9054
|
"has-suffix": this.hasSuffix
|
|
9050
9055
|
};
|
|
9051
|
-
return
|
|
9056
|
+
return m`
|
|
9052
9057
|
<label
|
|
9053
9058
|
for="form-element"
|
|
9054
9059
|
class="${this.hasLabel ? "form-label" : "hidden"}"
|
|
@@ -9084,7 +9089,7 @@ let W = class extends Le(Z(w)) {
|
|
|
9084
9089
|
(t) => t[this.valueKey],
|
|
9085
9090
|
(t) => {
|
|
9086
9091
|
const i = this.value == t[this.valueKey];
|
|
9087
|
-
return
|
|
9092
|
+
return m`<option
|
|
9088
9093
|
?selected=${i}
|
|
9089
9094
|
value="${t[this.valueKey]}"
|
|
9090
9095
|
>
|
|
@@ -9107,7 +9112,7 @@ let W = class extends Le(Z(w)) {
|
|
|
9107
9112
|
name="description"
|
|
9108
9113
|
@slotchange=${this.hasSlotOrProps}
|
|
9109
9114
|
class="${this.hasDescription ? "form-description" : "hidden"}"
|
|
9110
|
-
>${this.description ?
|
|
9115
|
+
>${this.description ? m`${z(this.description)}` : ""}</slot
|
|
9111
9116
|
>
|
|
9112
9117
|
`;
|
|
9113
9118
|
}
|
|
@@ -9117,7 +9122,7 @@ W.styles = [
|
|
|
9117
9122
|
Si,
|
|
9118
9123
|
Ts,
|
|
9119
9124
|
Ms,
|
|
9120
|
-
|
|
9125
|
+
P`
|
|
9121
9126
|
.form-element {
|
|
9122
9127
|
appearance: none;
|
|
9123
9128
|
white-space: nowrap;
|
|
@@ -9206,16 +9211,16 @@ Q([
|
|
|
9206
9211
|
a()
|
|
9207
9212
|
], W.prototype, "label", 1);
|
|
9208
9213
|
Q([
|
|
9209
|
-
|
|
9214
|
+
dt({ slot: "label", flatten: !0 })
|
|
9210
9215
|
], W.prototype, "slotLabelNodes", 2);
|
|
9211
9216
|
Q([
|
|
9212
|
-
|
|
9217
|
+
dt({ slot: "description", flatten: !0 })
|
|
9213
9218
|
], W.prototype, "slotDescriptionNodes", 2);
|
|
9214
9219
|
Q([
|
|
9215
|
-
|
|
9220
|
+
dt({ slot: "suffix", flatten: !0 })
|
|
9216
9221
|
], W.prototype, "slotSuffixNodes", 2);
|
|
9217
9222
|
Q([
|
|
9218
|
-
|
|
9223
|
+
dt({ slot: "prefix", flatten: !0 })
|
|
9219
9224
|
], W.prototype, "slotPrefixNodes", 2);
|
|
9220
9225
|
Q([
|
|
9221
9226
|
L()
|
|
@@ -9263,7 +9268,7 @@ let ct = class extends Es(Le(Z(w))) {
|
|
|
9263
9268
|
const r = {
|
|
9264
9269
|
resize: this.resize
|
|
9265
9270
|
};
|
|
9266
|
-
return
|
|
9271
|
+
return m`
|
|
9267
9272
|
<label
|
|
9268
9273
|
for="${this.id || "form-element"}"
|
|
9269
9274
|
class="${this.hasLabel ? "form-label" : "hidden"}"
|
|
@@ -9298,7 +9303,7 @@ let ct = class extends Es(Le(Z(w))) {
|
|
|
9298
9303
|
class="form-element textarea custom-scroll"
|
|
9299
9304
|
aria-label=${$(this.ariaLabel)}
|
|
9300
9305
|
aria-labelledby=${$(this.ariaLabelledby)}
|
|
9301
|
-
style=${
|
|
9306
|
+
style=${gt(r)}
|
|
9302
9307
|
>
|
|
9303
9308
|
${this.value}</textarea
|
|
9304
9309
|
>
|
|
@@ -9308,7 +9313,7 @@ ${this.value}</textarea
|
|
|
9308
9313
|
name="description"
|
|
9309
9314
|
@slotchange=${this.hasSlotOrProps}
|
|
9310
9315
|
class="${this.hasDescription ? "form-description" : "hidden"}"
|
|
9311
|
-
>${this.description ?
|
|
9316
|
+
>${this.description ? m`${z(this.description)}` : ""}</slot
|
|
9312
9317
|
>
|
|
9313
9318
|
`;
|
|
9314
9319
|
}
|
|
@@ -9319,7 +9324,7 @@ ct.styles = [
|
|
|
9319
9324
|
Ts,
|
|
9320
9325
|
Ms,
|
|
9321
9326
|
es,
|
|
9322
|
-
|
|
9327
|
+
P`
|
|
9323
9328
|
textarea {
|
|
9324
9329
|
overflow-y: auto !important;
|
|
9325
9330
|
font-size: inherit;
|
|
@@ -9354,10 +9359,10 @@ bt([
|
|
|
9354
9359
|
a({ type: String })
|
|
9355
9360
|
], ct.prototype, "resize", 2);
|
|
9356
9361
|
bt([
|
|
9357
|
-
|
|
9362
|
+
dt({ slot: "label", flatten: !0 })
|
|
9358
9363
|
], ct.prototype, "slotLabelNodes", 2);
|
|
9359
9364
|
bt([
|
|
9360
|
-
|
|
9365
|
+
dt({ slot: "description", flatten: !0 })
|
|
9361
9366
|
], ct.prototype, "slotDescriptionNodes", 2);
|
|
9362
9367
|
bt([
|
|
9363
9368
|
L()
|
|
@@ -9375,11 +9380,11 @@ var Kl = Object.getOwnPropertyDescriptor, Yl = (r, t, i, s) => {
|
|
|
9375
9380
|
};
|
|
9376
9381
|
let Qs = class extends w {
|
|
9377
9382
|
render() {
|
|
9378
|
-
return
|
|
9383
|
+
return m`<slot></slot>`;
|
|
9379
9384
|
}
|
|
9380
9385
|
};
|
|
9381
9386
|
Qs.styles = [
|
|
9382
|
-
|
|
9387
|
+
P`
|
|
9383
9388
|
:host {
|
|
9384
9389
|
font-size: 1.15rem;
|
|
9385
9390
|
line-height: 1.2;
|
|
@@ -9401,13 +9406,13 @@ Qs.styles = [
|
|
|
9401
9406
|
Qs = Yl([
|
|
9402
9407
|
_("sonic-legend-description")
|
|
9403
9408
|
], Qs);
|
|
9404
|
-
var Xl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor,
|
|
9409
|
+
var Xl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, ye = (r, t, i, s) => {
|
|
9405
9410
|
for (var e = s > 1 ? void 0 : s ? Zl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9406
9411
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9407
9412
|
return s && e && Xl(t, i, e), e;
|
|
9408
9413
|
};
|
|
9409
9414
|
const Gl = "sonic-legend";
|
|
9410
|
-
let
|
|
9415
|
+
let Ht = class extends w {
|
|
9411
9416
|
constructor() {
|
|
9412
9417
|
super(...arguments), this.forceAutoFill = !1;
|
|
9413
9418
|
}
|
|
@@ -9424,8 +9429,8 @@ let qt = class extends w {
|
|
|
9424
9429
|
this.hasAttribute("label") && !this.forceAutoFill && (r = this.getAttribute("label")), this._label = r, this.requestUpdate();
|
|
9425
9430
|
}
|
|
9426
9431
|
render() {
|
|
9427
|
-
return
|
|
9428
|
-
${this.iconName ?
|
|
9432
|
+
return m`<legend part="legend">
|
|
9433
|
+
${this.iconName ? m`<div class="icon">
|
|
9429
9434
|
<sonic-icon
|
|
9430
9435
|
name=${this.iconName}
|
|
9431
9436
|
prefix=${$(this.iconPrefix)}
|
|
@@ -9435,7 +9440,7 @@ let qt = class extends w {
|
|
|
9435
9440
|
|
|
9436
9441
|
<div class="legend-content">
|
|
9437
9442
|
${z(this.label ? this.label : "")}
|
|
9438
|
-
${this.description ?
|
|
9443
|
+
${this.description ? m`<sonic-legend-description
|
|
9439
9444
|
>${z(this.description)}</sonic-legend-description
|
|
9440
9445
|
>` : ""}
|
|
9441
9446
|
<slot></slot>
|
|
@@ -9444,8 +9449,8 @@ let qt = class extends w {
|
|
|
9444
9449
|
</legend>`;
|
|
9445
9450
|
}
|
|
9446
9451
|
};
|
|
9447
|
-
|
|
9448
|
-
|
|
9452
|
+
Ht.styles = [
|
|
9453
|
+
P`
|
|
9449
9454
|
:host {
|
|
9450
9455
|
--sc-legend-font-size: 1.5rem;
|
|
9451
9456
|
--sc-legend-font-weight: var(--sc-font-weight-base, 400);
|
|
@@ -9491,27 +9496,27 @@ qt.styles = [
|
|
|
9491
9496
|
}
|
|
9492
9497
|
`
|
|
9493
9498
|
];
|
|
9494
|
-
|
|
9499
|
+
ye([
|
|
9495
9500
|
a({ type: Boolean })
|
|
9496
|
-
],
|
|
9497
|
-
|
|
9501
|
+
], Ht.prototype, "forceAutoFill", 2);
|
|
9502
|
+
ye([
|
|
9498
9503
|
a()
|
|
9499
|
-
],
|
|
9500
|
-
|
|
9504
|
+
], Ht.prototype, "description", 1);
|
|
9505
|
+
ye([
|
|
9501
9506
|
a()
|
|
9502
|
-
],
|
|
9503
|
-
|
|
9507
|
+
], Ht.prototype, "label", 1);
|
|
9508
|
+
ye([
|
|
9504
9509
|
a({ type: String })
|
|
9505
|
-
],
|
|
9506
|
-
|
|
9510
|
+
], Ht.prototype, "iconName", 2);
|
|
9511
|
+
ye([
|
|
9507
9512
|
a({ type: String })
|
|
9508
|
-
],
|
|
9509
|
-
|
|
9513
|
+
], Ht.prototype, "iconLibrary", 2);
|
|
9514
|
+
ye([
|
|
9510
9515
|
a({ type: String })
|
|
9511
|
-
],
|
|
9512
|
-
|
|
9516
|
+
], Ht.prototype, "iconPrefix", 2);
|
|
9517
|
+
Ht = ye([
|
|
9513
9518
|
_(Gl)
|
|
9514
|
-
],
|
|
9519
|
+
], Ht);
|
|
9515
9520
|
var Ql = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, Ft = (r, t, i, s) => {
|
|
9516
9521
|
for (var e = s > 1 ? void 0 : s ? Jl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9517
9522
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -9523,23 +9528,23 @@ let Pt = class extends Z(w) {
|
|
|
9523
9528
|
super(...arguments), this.disabled = !1, this.variant = "default";
|
|
9524
9529
|
}
|
|
9525
9530
|
render() {
|
|
9526
|
-
return
|
|
9531
|
+
return m`<fieldset
|
|
9527
9532
|
form="${$(this.form)}"
|
|
9528
9533
|
?disabled="${this.disabled}"
|
|
9529
9534
|
>
|
|
9530
|
-
${this.label ?
|
|
9535
|
+
${this.label ? m` <sonic-legend
|
|
9531
9536
|
label=${$(this.label)}
|
|
9532
9537
|
description=${$(this.description)}
|
|
9533
9538
|
iconName=${$(this.iconName)}
|
|
9534
9539
|
iconPrefix=${$(this.iconPrefix)}
|
|
9535
9540
|
iconLibrary=${$(this.iconLibrary)}
|
|
9536
|
-
></sonic-legend>` :
|
|
9541
|
+
></sonic-legend>` : S}
|
|
9537
9542
|
<slot></slot>
|
|
9538
9543
|
</fieldset>`;
|
|
9539
9544
|
}
|
|
9540
9545
|
};
|
|
9541
9546
|
Pt.styles = [
|
|
9542
|
-
|
|
9547
|
+
P`
|
|
9543
9548
|
:host {
|
|
9544
9549
|
--sc-fieldset-mt: 0;
|
|
9545
9550
|
--sc-fieldset-mb: 1rem;
|
|
@@ -9640,13 +9645,13 @@ let Xe = class extends Z(w) {
|
|
|
9640
9645
|
"cq--md": this.offsetWidth > 440,
|
|
9641
9646
|
"one-form-element": this.oneFormElement
|
|
9642
9647
|
};
|
|
9643
|
-
return
|
|
9648
|
+
return m`<div class=${Ai(r)}>
|
|
9644
9649
|
<slot @slotchange=${this.onSlotChange}></slot>
|
|
9645
9650
|
</div>`;
|
|
9646
9651
|
}
|
|
9647
9652
|
};
|
|
9648
9653
|
Xe.styles = [
|
|
9649
|
-
|
|
9654
|
+
P`
|
|
9650
9655
|
:host {
|
|
9651
9656
|
display: block;
|
|
9652
9657
|
}
|
|
@@ -9707,11 +9712,11 @@ let Ze = class extends w {
|
|
|
9707
9712
|
flexDirection: this.direction,
|
|
9708
9713
|
justifyContent: this.justify
|
|
9709
9714
|
};
|
|
9710
|
-
return
|
|
9715
|
+
return m`<slot style=${gt(r)}></slot>`;
|
|
9711
9716
|
}
|
|
9712
9717
|
};
|
|
9713
9718
|
Ze.styles = [
|
|
9714
|
-
|
|
9719
|
+
P`
|
|
9715
9720
|
:host {
|
|
9716
9721
|
display: block;
|
|
9717
9722
|
}
|
|
@@ -9763,7 +9768,7 @@ let Nt = class extends w {
|
|
|
9763
9768
|
const r = {
|
|
9764
9769
|
alignItems: this.alignItems
|
|
9765
9770
|
};
|
|
9766
|
-
return
|
|
9771
|
+
return m`<span class="${this.hasLabel ? "form-label" : "hidden"}"
|
|
9767
9772
|
>${this.label ? z(
|
|
9768
9773
|
this.label
|
|
9769
9774
|
/*+ labelStarSuffix*/
|
|
@@ -9772,13 +9777,13 @@ let Nt = class extends w {
|
|
|
9772
9777
|
@slotchange=${this.hasSlotOrProps}
|
|
9773
9778
|
></slot
|
|
9774
9779
|
></span>
|
|
9775
|
-
<slot class="main-slot" style=${
|
|
9780
|
+
<slot class="main-slot" style=${gt(r)}></slot>
|
|
9776
9781
|
<slot
|
|
9777
9782
|
name="description"
|
|
9778
9783
|
@slotchange=${this.hasSlotOrProps}
|
|
9779
9784
|
class="${this.hasDescription ? "form-description" : "hidden"}"
|
|
9780
9785
|
>
|
|
9781
|
-
${this.description ?
|
|
9786
|
+
${this.description ? m`${z(this.description)}` : ""}
|
|
9782
9787
|
</slot>`;
|
|
9783
9788
|
}
|
|
9784
9789
|
};
|
|
@@ -9786,7 +9791,7 @@ Nt.styles = [
|
|
|
9786
9791
|
Mt,
|
|
9787
9792
|
Ts,
|
|
9788
9793
|
Ms,
|
|
9789
|
-
|
|
9794
|
+
P`
|
|
9790
9795
|
:host {
|
|
9791
9796
|
display: inline-block;
|
|
9792
9797
|
vertical-align: middle;
|
|
@@ -9818,10 +9823,10 @@ ie([
|
|
|
9818
9823
|
a({ type: String })
|
|
9819
9824
|
], Nt.prototype, "description", 2);
|
|
9820
9825
|
ie([
|
|
9821
|
-
|
|
9826
|
+
dt({ slot: "label", flatten: !0 })
|
|
9822
9827
|
], Nt.prototype, "slotLabelNodes", 2);
|
|
9823
9828
|
ie([
|
|
9824
|
-
|
|
9829
|
+
dt({ slot: "description", flatten: !0 })
|
|
9825
9830
|
], Nt.prototype, "slotDescriptionNodes", 2);
|
|
9826
9831
|
ie([
|
|
9827
9832
|
L()
|
|
@@ -9858,20 +9863,20 @@ let $t = class extends w {
|
|
|
9858
9863
|
imageRendering: this.imageRendering,
|
|
9859
9864
|
objectPosition: this.objectPosition
|
|
9860
9865
|
};
|
|
9861
|
-
return
|
|
9866
|
+
return m`<div part="image">
|
|
9862
9867
|
<picture part="picture"
|
|
9863
9868
|
><img
|
|
9864
9869
|
part="img"
|
|
9865
9870
|
src="${this.src}"
|
|
9866
9871
|
loading="${this.loading}"
|
|
9867
9872
|
alt="${this.alt}"
|
|
9868
|
-
style=${
|
|
9873
|
+
style=${gt(r)}
|
|
9869
9874
|
/></picture>
|
|
9870
9875
|
</div>`;
|
|
9871
9876
|
}
|
|
9872
9877
|
};
|
|
9873
9878
|
$t.styles = [
|
|
9874
|
-
|
|
9879
|
+
P`
|
|
9875
9880
|
:host {
|
|
9876
9881
|
--sc-img-radius: 0;
|
|
9877
9882
|
--sc-img-bg: var(--sc-placeholder-bg, rgba(12, 12, 12, 0.05));
|
|
@@ -9977,21 +9982,26 @@ zt([
|
|
|
9977
9982
|
$t = zt([
|
|
9978
9983
|
_(pc)
|
|
9979
9984
|
], $t);
|
|
9980
|
-
var uc = Object.defineProperty, fc = Object.getOwnPropertyDescriptor,
|
|
9985
|
+
var uc = Object.defineProperty, fc = Object.getOwnPropertyDescriptor, vt = (r, t, i, s) => {
|
|
9981
9986
|
for (var e = s > 1 ? void 0 : s ? fc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9982
9987
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9983
9988
|
return s && e && uc(t, i, e), e;
|
|
9984
9989
|
};
|
|
9985
|
-
const
|
|
9986
|
-
let
|
|
9990
|
+
const mc = "sonic-menu";
|
|
9991
|
+
let ht = class extends w {
|
|
9987
9992
|
constructor() {
|
|
9988
|
-
super(...arguments), this.direction = "column", this.gap = "var(--sc-menu-gap)", this.align = "left", this.shadow = null, this.moreShape = "circle", this.scrollable = !1, this.observer = null, this.minWidth = "0", this.hasMoreElements = !1, this.
|
|
9989
|
-
this.
|
|
9993
|
+
super(...arguments), this.direction = "column", this.gap = "var(--sc-menu-gap)", this.align = "left", this.shadow = null, this.moreShape = "circle", this.scrollable = !1, this.observer = null, this.attributeObserver = null, this.minWidth = "0", this.hasMoreElements = !1, this.handleScrollEnd = () => {
|
|
9994
|
+
this.setScrollShadow(this.menuContent, this.direction);
|
|
9995
|
+
}, this.updateIsScollable = () => {
|
|
9996
|
+
this.scrollable && (this.initScrollable(), this.setScrollShadow(this.menuContent, this.direction));
|
|
9990
9997
|
};
|
|
9991
9998
|
}
|
|
9992
9999
|
checkIfMore() {
|
|
9993
10000
|
this.hasMoreElements = !!this.moreElements?.length;
|
|
9994
10001
|
}
|
|
10002
|
+
moreSlotChange() {
|
|
10003
|
+
this.checkIfMore(), this.updateIsScollable();
|
|
10004
|
+
}
|
|
9995
10005
|
updated(r) {
|
|
9996
10006
|
const t = this.querySelector(".more-btn");
|
|
9997
10007
|
this.size && t && t.setAttribute("size", this.size), this.querySelectorAll("sonic-divider").forEach((s) => {
|
|
@@ -9999,18 +10009,45 @@ let ut = class extends w {
|
|
|
9999
10009
|
}), super.updated(r);
|
|
10000
10010
|
}
|
|
10001
10011
|
mainSlotChange() {
|
|
10002
|
-
this.setChildrenSize(this.menuChildren), this.updateIsScollable();
|
|
10012
|
+
this.setChildrenSize(this.menuChildren), this.updateIsScollable(), this.updateScrollPosition(), this.observeMenuItemsAttributes();
|
|
10013
|
+
}
|
|
10014
|
+
observeMenuItemsAttributes() {
|
|
10015
|
+
this.attributeObserver?.disconnect(), this.attributeObserver = new MutationObserver(() => {
|
|
10016
|
+
this.updateScrollPosition();
|
|
10017
|
+
}), this.menuChildren.forEach((r) => {
|
|
10018
|
+
this.attributeObserver.observe(r, {
|
|
10019
|
+
attributes: !0,
|
|
10020
|
+
attributeFilter: ["active"]
|
|
10021
|
+
});
|
|
10022
|
+
});
|
|
10023
|
+
}
|
|
10024
|
+
updateScrollPosition() {
|
|
10025
|
+
if (this.scrollable) {
|
|
10026
|
+
const r = this.menuChildren.filter(
|
|
10027
|
+
(t) => t.hasAttribute("active") && t.getAttribute("active") !== "false"
|
|
10028
|
+
);
|
|
10029
|
+
r.length === 1 && requestAnimationFrame(() => {
|
|
10030
|
+
r[0].scrollIntoView({
|
|
10031
|
+
behavior: "smooth",
|
|
10032
|
+
block: "nearest",
|
|
10033
|
+
inline: "center"
|
|
10034
|
+
});
|
|
10035
|
+
});
|
|
10036
|
+
}
|
|
10003
10037
|
}
|
|
10004
10038
|
connectedCallback() {
|
|
10005
10039
|
this.observer = new ResizeObserver(this.updateIsScollable), this.observer.observe(this), super.connectedCallback();
|
|
10006
10040
|
}
|
|
10041
|
+
firstUpdated(r) {
|
|
10042
|
+
this.menuContent.addEventListener("scrollend", this.handleScrollEnd);
|
|
10043
|
+
}
|
|
10007
10044
|
disconnectedCallback() {
|
|
10008
|
-
this.observer?.disconnect(), super.disconnectedCallback();
|
|
10045
|
+
this.observer?.disconnect(), this.attributeObserver?.disconnect(), this.menuContent.removeEventListener("scrollend", this.handleScrollEnd), super.disconnectedCallback();
|
|
10009
10046
|
}
|
|
10010
10047
|
initScrollable() {
|
|
10011
10048
|
let r = !1, t, i;
|
|
10012
10049
|
this.scrollable && (this.addEventListener("mousedown", (s) => {
|
|
10013
|
-
r = !0, this.classList.add("active"), t = s.pageX - this.offsetLeft, i = this.scrollLeft;
|
|
10050
|
+
r = !0, this.classList.add("active"), t = s.pageX - this.menuContent.offsetLeft, i = this.menuContent.scrollLeft;
|
|
10014
10051
|
}), this.addEventListener("mouseleave", () => {
|
|
10015
10052
|
r = !1, this.classList.remove("active");
|
|
10016
10053
|
}), this.addEventListener("mouseup", () => {
|
|
@@ -10018,10 +10055,10 @@ let ut = class extends w {
|
|
|
10018
10055
|
}), this.addEventListener("mousemove", (s) => {
|
|
10019
10056
|
if (!r) return;
|
|
10020
10057
|
s.preventDefault();
|
|
10021
|
-
const o = (s.pageX - this.offsetLeft - t) * 1.5;
|
|
10022
|
-
this.scrollLeft = i - o, this.setScrollShadow(this, this.direction);
|
|
10058
|
+
const o = (s.pageX - this.menuContent.offsetLeft - t) * 1.5;
|
|
10059
|
+
this.menuContent.scrollLeft = i - o, this.setScrollShadow(this.menuContent, this.direction);
|
|
10023
10060
|
}), this.addEventListener("scroll", (s) => {
|
|
10024
|
-
s.preventDefault(), this.setScrollShadow(this, this.direction);
|
|
10061
|
+
s.preventDefault(), this.setScrollShadow(this.menuContent, this.direction);
|
|
10025
10062
|
}));
|
|
10026
10063
|
}
|
|
10027
10064
|
setScrollShadow(r, t) {
|
|
@@ -10045,18 +10082,18 @@ let ut = class extends w {
|
|
|
10045
10082
|
}, s = {
|
|
10046
10083
|
marginLeft: t ? "" : ".55em"
|
|
10047
10084
|
};
|
|
10048
|
-
return
|
|
10085
|
+
return m`<menu
|
|
10049
10086
|
part="menu"
|
|
10050
10087
|
class="shadowable"
|
|
10051
|
-
style=${
|
|
10088
|
+
style=${gt(r)}
|
|
10052
10089
|
>
|
|
10053
|
-
<slot @slotchange=${this.mainSlotChange}></slot>
|
|
10090
|
+
<slot @slotchange=${this.mainSlotChange} id="menu-content"></slot>
|
|
10054
10091
|
<sonic-pop
|
|
10055
|
-
style=${
|
|
10092
|
+
style=${gt(i)}
|
|
10056
10093
|
class=${this.hasMoreElements ? "" : "hidden"}
|
|
10057
10094
|
>
|
|
10058
10095
|
<sonic-menu-item
|
|
10059
|
-
style=${
|
|
10096
|
+
style=${gt(s)}
|
|
10060
10097
|
class="more-btn"
|
|
10061
10098
|
shape=${this.moreShape}
|
|
10062
10099
|
align="center"
|
|
@@ -10066,13 +10103,17 @@ let ut = class extends w {
|
|
|
10066
10103
|
name=${t ? "more-vert" : "more-horiz"}
|
|
10067
10104
|
></sonic-icon>
|
|
10068
10105
|
</sonic-menu-item>
|
|
10069
|
-
<slot
|
|
10106
|
+
<slot
|
|
10107
|
+
name="more"
|
|
10108
|
+
@slotchange=${this.moreSlotChange}
|
|
10109
|
+
slot="content"
|
|
10110
|
+
></slot>
|
|
10070
10111
|
</sonic-pop>
|
|
10071
10112
|
</menu>`;
|
|
10072
10113
|
}
|
|
10073
10114
|
};
|
|
10074
|
-
|
|
10075
|
-
|
|
10115
|
+
ht.styles = [
|
|
10116
|
+
P`
|
|
10076
10117
|
:host {
|
|
10077
10118
|
display: block;
|
|
10078
10119
|
--sc-menu-gap: 0.15rem;
|
|
@@ -10080,9 +10121,8 @@ ut.styles = [
|
|
|
10080
10121
|
|
|
10081
10122
|
:host > menu {
|
|
10082
10123
|
display: flex;
|
|
10083
|
-
|
|
10124
|
+
padding: 0;
|
|
10084
10125
|
margin: 0;
|
|
10085
|
-
padding: 0.35em;
|
|
10086
10126
|
}
|
|
10087
10127
|
|
|
10088
10128
|
.hidden {
|
|
@@ -10090,26 +10130,34 @@ ut.styles = [
|
|
|
10090
10130
|
}
|
|
10091
10131
|
|
|
10092
10132
|
/* SCROLLABLE*/
|
|
10093
|
-
:host([scrollable]) {
|
|
10133
|
+
:host([scrollable]) #menu-content {
|
|
10094
10134
|
scrollbar-width: none;
|
|
10135
|
+
max-width: 100%;
|
|
10095
10136
|
-ms-overflow-style: none;
|
|
10096
|
-
}
|
|
10097
|
-
:host([scrollable]) menu > * {
|
|
10098
10137
|
scroll-snap-align: start;
|
|
10099
10138
|
white-space: nowrap;
|
|
10139
|
+
display: flex;
|
|
10140
|
+
gap: var(--sc-menu-gap);
|
|
10141
|
+
border-radius: min(calc(var(--sc-btn-rounded) * 2), 0.4em);
|
|
10142
|
+
margin: 0;
|
|
10143
|
+
padding: 0.35em;
|
|
10144
|
+
transition: mask-image 0.15s linear;
|
|
10100
10145
|
}
|
|
10101
|
-
|
|
10146
|
+
|
|
10147
|
+
:host([scrollable][direction="row"]) #menu-content {
|
|
10102
10148
|
overflow-x: scroll;
|
|
10149
|
+
scroll-snap-align: start;
|
|
10103
10150
|
scroll-snap-type: x mandatory;
|
|
10104
10151
|
}
|
|
10105
|
-
:host([scrollable][direction="column"]) {
|
|
10152
|
+
:host([scrollable][direction="column"]) #menu-content {
|
|
10106
10153
|
overflow-y: scroll;
|
|
10154
|
+
scroll-snap-align: start;
|
|
10107
10155
|
scroll-snap-type: y mandatory;
|
|
10108
10156
|
}
|
|
10109
10157
|
:host([scrollable])::-webkit-scrollbar {
|
|
10110
10158
|
display: none !important;
|
|
10111
10159
|
}
|
|
10112
|
-
:host([scrollable][direction="row"].shadow-right) {
|
|
10160
|
+
:host([scrollable][direction="row"].shadow-right) #menu-content {
|
|
10113
10161
|
-webkit-mask-image: linear-gradient(
|
|
10114
10162
|
to left,
|
|
10115
10163
|
rgba(0, 0, 0, 0),
|
|
@@ -10121,7 +10169,7 @@ ut.styles = [
|
|
|
10121
10169
|
rgba(0, 0, 0, 1) 10%
|
|
10122
10170
|
);
|
|
10123
10171
|
}
|
|
10124
|
-
:host([scrollable][direction="row"].shadow-left) {
|
|
10172
|
+
:host([scrollable][direction="row"].shadow-left) #menu-content {
|
|
10125
10173
|
-webkit-mask-image: linear-gradient(
|
|
10126
10174
|
to right,
|
|
10127
10175
|
rgba(0, 0, 0, 0),
|
|
@@ -10133,7 +10181,8 @@ ut.styles = [
|
|
|
10133
10181
|
rgba(0, 0, 0, 1) 10%
|
|
10134
10182
|
);
|
|
10135
10183
|
}
|
|
10136
|
-
:host([scrollable][direction="row"].shadow-left.shadow-right)
|
|
10184
|
+
:host([scrollable][direction="row"].shadow-left.shadow-right)
|
|
10185
|
+
#menu-content {
|
|
10137
10186
|
-webkit-mask-image: linear-gradient(
|
|
10138
10187
|
to right,
|
|
10139
10188
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -10149,7 +10198,7 @@ ut.styles = [
|
|
|
10149
10198
|
rgba(0, 0, 0, 0) 100%
|
|
10150
10199
|
);
|
|
10151
10200
|
}
|
|
10152
|
-
:host([scrollable][direction="column"].shadow-top) {
|
|
10201
|
+
:host([scrollable][direction="column"].shadow-top) #menu-content {
|
|
10153
10202
|
-webkit-mask-image: linear-gradient(
|
|
10154
10203
|
to bottom,
|
|
10155
10204
|
rgba(0, 0, 0, 0),
|
|
@@ -10161,7 +10210,7 @@ ut.styles = [
|
|
|
10161
10210
|
rgba(0, 0, 0, 1) 10%
|
|
10162
10211
|
);
|
|
10163
10212
|
}
|
|
10164
|
-
:host([scrollable][direction="column"].shadow-bottom) {
|
|
10213
|
+
:host([scrollable][direction="column"].shadow-bottom) #menu-content {
|
|
10165
10214
|
-webkit-mask-image: linear-gradient(
|
|
10166
10215
|
to top,
|
|
10167
10216
|
rgba(0, 0, 0, 0),
|
|
@@ -10173,7 +10222,8 @@ ut.styles = [
|
|
|
10173
10222
|
rgba(0, 0, 0, 1) 10%
|
|
10174
10223
|
);
|
|
10175
10224
|
}
|
|
10176
|
-
:host([scrollable][direction="column"].shadow-top.shadow-bottom)
|
|
10225
|
+
:host([scrollable][direction="column"].shadow-top.shadow-bottom)
|
|
10226
|
+
#menu-content {
|
|
10177
10227
|
-webkit-mask-image: linear-gradient(
|
|
10178
10228
|
to top,
|
|
10179
10229
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -10192,49 +10242,52 @@ ut.styles = [
|
|
|
10192
10242
|
`,
|
|
10193
10243
|
Er
|
|
10194
10244
|
];
|
|
10195
|
-
|
|
10245
|
+
vt([
|
|
10196
10246
|
a({ type: String, reflect: !0 })
|
|
10197
|
-
],
|
|
10198
|
-
|
|
10247
|
+
], ht.prototype, "size", 2);
|
|
10248
|
+
vt([
|
|
10199
10249
|
a({ type: String, reflect: !0 })
|
|
10200
|
-
],
|
|
10201
|
-
|
|
10250
|
+
], ht.prototype, "direction", 2);
|
|
10251
|
+
vt([
|
|
10202
10252
|
a({ type: String })
|
|
10203
|
-
],
|
|
10204
|
-
|
|
10253
|
+
], ht.prototype, "gap", 2);
|
|
10254
|
+
vt([
|
|
10205
10255
|
a({ type: String, reflect: !0 })
|
|
10206
|
-
],
|
|
10207
|
-
|
|
10256
|
+
], ht.prototype, "align", 2);
|
|
10257
|
+
vt([
|
|
10208
10258
|
a({ type: String, reflect: !0 })
|
|
10209
|
-
],
|
|
10210
|
-
|
|
10259
|
+
], ht.prototype, "shadow", 2);
|
|
10260
|
+
vt([
|
|
10211
10261
|
a({ type: String })
|
|
10212
|
-
],
|
|
10213
|
-
|
|
10262
|
+
], ht.prototype, "moreShape", 2);
|
|
10263
|
+
vt([
|
|
10214
10264
|
a({ type: Boolean })
|
|
10215
|
-
],
|
|
10216
|
-
|
|
10265
|
+
], ht.prototype, "scrollable", 2);
|
|
10266
|
+
vt([
|
|
10217
10267
|
a({ type: String })
|
|
10218
|
-
],
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
],
|
|
10222
|
-
|
|
10268
|
+
], ht.prototype, "minWidth", 2);
|
|
10269
|
+
vt([
|
|
10270
|
+
ge("menu")
|
|
10271
|
+
], ht.prototype, "menu", 2);
|
|
10272
|
+
vt([
|
|
10273
|
+
ge("#menu-content")
|
|
10274
|
+
], ht.prototype, "menuContent", 2);
|
|
10275
|
+
vt([
|
|
10223
10276
|
ke({ selector: "sonic-menu-item" })
|
|
10224
|
-
],
|
|
10225
|
-
|
|
10277
|
+
], ht.prototype, "menuChildren", 2);
|
|
10278
|
+
vt([
|
|
10226
10279
|
ke({ slot: "more", selector: "*" })
|
|
10227
|
-
],
|
|
10228
|
-
|
|
10280
|
+
], ht.prototype, "moreElements", 2);
|
|
10281
|
+
vt([
|
|
10229
10282
|
L()
|
|
10230
|
-
],
|
|
10231
|
-
|
|
10232
|
-
_(
|
|
10233
|
-
],
|
|
10234
|
-
var
|
|
10283
|
+
], ht.prototype, "hasMoreElements", 2);
|
|
10284
|
+
ht = vt([
|
|
10285
|
+
_(mc)
|
|
10286
|
+
], ht);
|
|
10287
|
+
var gc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, Tr = (r, t, i, s) => {
|
|
10235
10288
|
for (var e = s > 1 ? void 0 : s ? bc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10236
10289
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
10237
|
-
return s && e &&
|
|
10290
|
+
return s && e && gc(t, i, e), e;
|
|
10238
10291
|
};
|
|
10239
10292
|
const vc = "sonic-modal-actions";
|
|
10240
10293
|
let $s = class extends w {
|
|
@@ -10249,11 +10302,11 @@ let $s = class extends w {
|
|
|
10249
10302
|
}), super.firstUpdated(r);
|
|
10250
10303
|
}
|
|
10251
10304
|
render() {
|
|
10252
|
-
return
|
|
10305
|
+
return m`<slot></slot>`;
|
|
10253
10306
|
}
|
|
10254
10307
|
};
|
|
10255
10308
|
$s.styles = [
|
|
10256
|
-
|
|
10309
|
+
P`
|
|
10257
10310
|
:host {
|
|
10258
10311
|
display: flex;
|
|
10259
10312
|
gap: 0.5rem;
|
|
@@ -10288,7 +10341,7 @@ let Cs = class extends w {
|
|
|
10288
10341
|
super.connectedCallback(), this.lang = document.documentElement.lang?.split("-")[0] ?? "fr";
|
|
10289
10342
|
}
|
|
10290
10343
|
render() {
|
|
10291
|
-
return
|
|
10344
|
+
return m`<sonic-button
|
|
10292
10345
|
aria-label=${this.translation[this.lang]}
|
|
10293
10346
|
reset=${$(this.reset)}
|
|
10294
10347
|
shape="circle"
|
|
@@ -10317,11 +10370,11 @@ var xc = Object.getOwnPropertyDescriptor, Pc = (r, t, i, s) => {
|
|
|
10317
10370
|
const $c = "sonic-modal-content";
|
|
10318
10371
|
let Js = class extends w {
|
|
10319
10372
|
render() {
|
|
10320
|
-
return
|
|
10373
|
+
return m`<slot></slot>`;
|
|
10321
10374
|
}
|
|
10322
10375
|
};
|
|
10323
10376
|
Js.styles = [
|
|
10324
|
-
|
|
10377
|
+
P`
|
|
10325
10378
|
:host {
|
|
10326
10379
|
display: block;
|
|
10327
10380
|
width: 100%;
|
|
@@ -10339,11 +10392,11 @@ var Cc = Object.getOwnPropertyDescriptor, Sc = (r, t, i, s) => {
|
|
|
10339
10392
|
const Ac = "sonic-modal-subtitle";
|
|
10340
10393
|
let ti = class extends w {
|
|
10341
10394
|
render() {
|
|
10342
|
-
return
|
|
10395
|
+
return m`<slot></slot>`;
|
|
10343
10396
|
}
|
|
10344
10397
|
};
|
|
10345
10398
|
ti.styles = [
|
|
10346
|
-
|
|
10399
|
+
P`
|
|
10347
10400
|
:host {
|
|
10348
10401
|
font-size: 1.25rem;
|
|
10349
10402
|
display: block;
|
|
@@ -10368,11 +10421,11 @@ var kc = Object.getOwnPropertyDescriptor, Oc = (r, t, i, s) => {
|
|
|
10368
10421
|
const Dc = "sonic-modal-title";
|
|
10369
10422
|
let ei = class extends w {
|
|
10370
10423
|
render() {
|
|
10371
|
-
return
|
|
10424
|
+
return m`<slot></slot>`;
|
|
10372
10425
|
}
|
|
10373
10426
|
};
|
|
10374
10427
|
ei.styles = [
|
|
10375
|
-
|
|
10428
|
+
P`
|
|
10376
10429
|
:host {
|
|
10377
10430
|
font-weight: bold;
|
|
10378
10431
|
font-size: 1.5rem;
|
|
@@ -10409,7 +10462,7 @@ let M = class extends Z(w) {
|
|
|
10409
10462
|
}
|
|
10410
10463
|
static create(r) {
|
|
10411
10464
|
const t = document.createElement(Mr);
|
|
10412
|
-
return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r?.maxWidth), r.width && (t.width = r?.width), r.maxHeight && (t.maxHeight = r?.maxHeight), r.height && (t.height = r?.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r?.fullScreen), r.effect && (t.effect = r?.effect), r.noCloseButton && (t.noCloseButton = !0), r.paddingX && (t.paddingX = r?.paddingX), r.paddingY && (t.paddingY = r?.paddingY), r.zIndex && (t.zIndex = r?.zIndex),
|
|
10465
|
+
return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r?.maxWidth), r.width && (t.width = r?.width), r.maxHeight && (t.maxHeight = r?.maxHeight), r.height && (t.height = r?.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r?.fullScreen), r.effect && (t.effect = r?.effect), r.noCloseButton && (t.noCloseButton = !0), r.paddingX && (t.paddingX = r?.paddingX), r.paddingY && (t.paddingY = r?.paddingY), r.zIndex && (t.zIndex = r?.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
|
|
10413
10466
|
t.show();
|
|
10414
10467
|
}), t;
|
|
10415
10468
|
}
|
|
@@ -10455,48 +10508,48 @@ let M = class extends Z(w) {
|
|
|
10455
10508
|
maxHeight: this.maxHeight,
|
|
10456
10509
|
width: this.width,
|
|
10457
10510
|
height: this.height,
|
|
10458
|
-
pointerEvents: this._animationState
|
|
10511
|
+
pointerEvents: this._animationState !== "hidden" ? "auto" : "none"
|
|
10459
10512
|
}, t = {
|
|
10460
10513
|
display: this.fullScreen ? "none" : "block",
|
|
10461
10514
|
pointerEvents: this._animationState === "visible" ? "auto" : "none"
|
|
10462
10515
|
};
|
|
10463
|
-
return
|
|
10516
|
+
return m`
|
|
10464
10517
|
<div
|
|
10465
10518
|
id="backdrop"
|
|
10466
10519
|
@click=${this.handleOverlayClick}
|
|
10467
|
-
style=${
|
|
10520
|
+
style=${gt(t)}
|
|
10468
10521
|
></div>
|
|
10469
10522
|
<dialog
|
|
10470
10523
|
id="modal"
|
|
10471
10524
|
part="modal"
|
|
10472
10525
|
class="custom-scroll"
|
|
10473
10526
|
aria-modal="true"
|
|
10474
|
-
style=${
|
|
10527
|
+
style=${gt(r)}
|
|
10475
10528
|
>
|
|
10476
|
-
${this._animationState !== "hidden" ?
|
|
10477
|
-
${!this.forceAction && !this.noCloseButton ?
|
|
10529
|
+
${this._animationState !== "hidden" ? m`<div id="modal-content">
|
|
10530
|
+
${!this.forceAction && !this.noCloseButton ? m`<sonic-modal-close></sonic-modal-close>` : S}
|
|
10478
10531
|
${this.modalFragment("title")} ${this.modalFragment("subtitle")}
|
|
10479
10532
|
${this.modalFragment("content")} ${this.modalFragment("actions")}
|
|
10480
10533
|
<slot></slot>
|
|
10481
|
-
</div>` :
|
|
10534
|
+
</div>` : S}
|
|
10482
10535
|
</dialog>
|
|
10483
10536
|
`;
|
|
10484
10537
|
}
|
|
10485
10538
|
modalFragment(r) {
|
|
10486
10539
|
const t = this.options?.[r];
|
|
10487
|
-
if (!t) return
|
|
10540
|
+
if (!t) return S;
|
|
10488
10541
|
let i;
|
|
10489
10542
|
switch (t instanceof Object ? i = t : i = z(t), r) {
|
|
10490
10543
|
case "title":
|
|
10491
|
-
return
|
|
10544
|
+
return m`<sonic-modal-title>${i}</sonic-modal-title>`;
|
|
10492
10545
|
case "subtitle":
|
|
10493
|
-
return
|
|
10546
|
+
return m`<sonic-modal-subtitle>${i}</sonic-modal-subtitle>`;
|
|
10494
10547
|
case "content":
|
|
10495
|
-
return
|
|
10548
|
+
return m`<sonic-modal-content>${i}</sonic-modal-content>`;
|
|
10496
10549
|
case "actions":
|
|
10497
|
-
return
|
|
10550
|
+
return m`<sonic-modal-actions>${i}</sonic-modal-actions>`;
|
|
10498
10551
|
default:
|
|
10499
|
-
return
|
|
10552
|
+
return S;
|
|
10500
10553
|
}
|
|
10501
10554
|
}
|
|
10502
10555
|
// Show the modal
|
|
@@ -10536,35 +10589,35 @@ let M = class extends Z(w) {
|
|
|
10536
10589
|
return new Promise((t) => {
|
|
10537
10590
|
const { quartOut: i, linear: s, translateY: e, durationIn: o, durationOut: n, quadOut: l } = this._animationConfig, c = this._modalElement;
|
|
10538
10591
|
if (!c) return t();
|
|
10539
|
-
const h = r === "in",
|
|
10592
|
+
const h = r === "in", u = h ? o : n, d = !this.fullScreen && h ? 100 : 0;
|
|
10540
10593
|
this.fullScreen || (h ? this.style.setProperty("--sc_backdrop-opacity", "0.8") : setTimeout(() => {
|
|
10541
10594
|
this.style.setProperty("--sc_backdrop-opacity", "0");
|
|
10542
10595
|
}, 150));
|
|
10543
|
-
const
|
|
10544
|
-
this.effect === "slide" && (
|
|
10596
|
+
const g = [];
|
|
10597
|
+
this.effect === "slide" && (g.push(
|
|
10545
10598
|
c.animate(
|
|
10546
10599
|
[
|
|
10547
10600
|
{ transform: h ? e : "translateY(0)" },
|
|
10548
10601
|
{ transform: h ? "translateY(0)" : e }
|
|
10549
10602
|
],
|
|
10550
10603
|
{
|
|
10551
|
-
duration:
|
|
10604
|
+
duration: u,
|
|
10552
10605
|
easing: h ? i : l,
|
|
10553
10606
|
fill: "both",
|
|
10554
10607
|
delay: d
|
|
10555
10608
|
}
|
|
10556
10609
|
)
|
|
10557
|
-
),
|
|
10610
|
+
), g.push(
|
|
10558
10611
|
c.animate(
|
|
10559
10612
|
[{ opacity: h ? 0 : 1 }, { opacity: h ? 1 : 0 }],
|
|
10560
10613
|
{
|
|
10561
|
-
duration:
|
|
10614
|
+
duration: u,
|
|
10562
10615
|
easing: s,
|
|
10563
10616
|
fill: "both",
|
|
10564
10617
|
delay: d
|
|
10565
10618
|
}
|
|
10566
10619
|
)
|
|
10567
|
-
)), Promise.all(
|
|
10620
|
+
)), Promise.all(g.map((v) => v.finished)).then(
|
|
10568
10621
|
() => t()
|
|
10569
10622
|
);
|
|
10570
10623
|
});
|
|
@@ -10572,7 +10625,7 @@ let M = class extends Z(w) {
|
|
|
10572
10625
|
};
|
|
10573
10626
|
M.styles = [
|
|
10574
10627
|
es,
|
|
10575
|
-
|
|
10628
|
+
P`
|
|
10576
10629
|
:host {
|
|
10577
10630
|
--sc-modal-py: 2.5rem;
|
|
10578
10631
|
--sc-modal-px: 1.5rem;
|
|
@@ -10649,12 +10702,12 @@ M.styles = [
|
|
|
10649
10702
|
/* Layout des éléments slottés */
|
|
10650
10703
|
::slotted(sonic-modal-title),
|
|
10651
10704
|
sonic-modal-title {
|
|
10652
|
-
margin-bottom: 1.
|
|
10705
|
+
margin-bottom: 1.2rem;
|
|
10653
10706
|
}
|
|
10654
10707
|
::slotted(sonic-modal-subtitle),
|
|
10655
10708
|
sonic-modal-subtitle {
|
|
10656
|
-
margin-bottom: 1.
|
|
10657
|
-
margin-top: -
|
|
10709
|
+
margin-bottom: 1.2rem;
|
|
10710
|
+
margin-top: -1rem;
|
|
10658
10711
|
}
|
|
10659
10712
|
|
|
10660
10713
|
:host([align="left"]) ::slotted(sonic-modal-title),
|
|
@@ -10758,7 +10811,7 @@ G([
|
|
|
10758
10811
|
a({ type: Boolean, reflect: !0 })
|
|
10759
10812
|
], M.prototype, "visible", 2);
|
|
10760
10813
|
G([
|
|
10761
|
-
|
|
10814
|
+
ge("#modal")
|
|
10762
10815
|
], M.prototype, "_modalElement", 2);
|
|
10763
10816
|
G([
|
|
10764
10817
|
a({ type: Boolean })
|
|
@@ -10797,17 +10850,17 @@ let Ct = class extends w {
|
|
|
10797
10850
|
super.connectedCallback();
|
|
10798
10851
|
}
|
|
10799
10852
|
render() {
|
|
10800
|
-
return
|
|
10853
|
+
return m`
|
|
10801
10854
|
<slot name="icon" class="${this.noIcon ? "hidden" : ""}"
|
|
10802
|
-
>${this.noIcon ?
|
|
10803
|
-
${this.status &&
|
|
10855
|
+
>${this.noIcon ? S : m`<div>
|
|
10856
|
+
${this.status && m`<sonic-icon name=${Mc[this.status]}></sonic-icon>`}
|
|
10804
10857
|
</div>`}</slot
|
|
10805
10858
|
>
|
|
10806
10859
|
<div class="content">
|
|
10807
|
-
${this.label ?
|
|
10860
|
+
${this.label ? m`<span class="label">${z(this.label)}</span>` : S}
|
|
10808
10861
|
<div>${this.text}<slot></slot></div>
|
|
10809
10862
|
</div>
|
|
10810
|
-
${this.dismissible ?
|
|
10863
|
+
${this.dismissible ? m`<sonic-button
|
|
10811
10864
|
@click=${this.close}
|
|
10812
10865
|
class="close-btn"
|
|
10813
10866
|
variant="unstyled"
|
|
@@ -10815,7 +10868,7 @@ let Ct = class extends w {
|
|
|
10815
10868
|
icon
|
|
10816
10869
|
>
|
|
10817
10870
|
<sonic-icon name="cancel"></sonic-icon>
|
|
10818
|
-
</sonic-button>` :
|
|
10871
|
+
</sonic-button>` : S}
|
|
10819
10872
|
`;
|
|
10820
10873
|
}
|
|
10821
10874
|
close() {
|
|
@@ -10830,7 +10883,7 @@ let Ct = class extends w {
|
|
|
10830
10883
|
};
|
|
10831
10884
|
Ct.styles = [
|
|
10832
10885
|
Mt,
|
|
10833
|
-
|
|
10886
|
+
P`
|
|
10834
10887
|
:host {
|
|
10835
10888
|
--sc_color: var(--sc-base-content, #000);
|
|
10836
10889
|
--sc_rounded: var(--sc-rounded);
|
|
@@ -10960,19 +11013,19 @@ let ue = class extends Z(w) {
|
|
|
10960
11013
|
super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
|
|
10961
11014
|
}
|
|
10962
11015
|
render() {
|
|
10963
|
-
return this.messages?.length ?
|
|
10964
|
-
${Or(this.messages, (r) => r.type == "public" ?
|
|
11016
|
+
return this.messages?.length ? m`<div class="container">
|
|
11017
|
+
${Or(this.messages, (r) => r.type == "public" ? m`<sonic-alert
|
|
10965
11018
|
status=${r.status || "default"}
|
|
10966
11019
|
text=${$(r.content)}
|
|
10967
11020
|
size=${this.size}
|
|
10968
11021
|
?noIcon=${this.noIcon}
|
|
10969
11022
|
?background=${this.background}
|
|
10970
|
-
></sonic-alert>` :
|
|
10971
|
-
</div>` :
|
|
11023
|
+
></sonic-alert>` : S)}
|
|
11024
|
+
</div>` : S;
|
|
10972
11025
|
}
|
|
10973
11026
|
};
|
|
10974
11027
|
ue.styles = [
|
|
10975
|
-
|
|
11028
|
+
P`
|
|
10976
11029
|
.container {
|
|
10977
11030
|
display: grid;
|
|
10978
11031
|
gap: 0.5em;
|
|
@@ -11015,7 +11068,7 @@ let si = class extends Z(w) {
|
|
|
11015
11068
|
});
|
|
11016
11069
|
}
|
|
11017
11070
|
render() {
|
|
11018
|
-
return
|
|
11071
|
+
return S;
|
|
11019
11072
|
}
|
|
11020
11073
|
};
|
|
11021
11074
|
Ir([
|
|
@@ -11043,7 +11096,7 @@ let fe = class extends w {
|
|
|
11043
11096
|
}
|
|
11044
11097
|
render() {
|
|
11045
11098
|
const r = this.disabled || this.label == "" ? "disabled" : "";
|
|
11046
|
-
return
|
|
11099
|
+
return m`<div
|
|
11047
11100
|
data-tooltip-text="${this.label.trim().replace(" ", " ")}"
|
|
11048
11101
|
class="tooltip ${r}"
|
|
11049
11102
|
>
|
|
@@ -11052,7 +11105,7 @@ let fe = class extends w {
|
|
|
11052
11105
|
}
|
|
11053
11106
|
};
|
|
11054
11107
|
fe.styles = [
|
|
11055
|
-
|
|
11108
|
+
P`
|
|
11056
11109
|
:host {
|
|
11057
11110
|
position: relative;
|
|
11058
11111
|
display: inline-flex;
|
|
@@ -11190,7 +11243,7 @@ let St = class extends w {
|
|
|
11190
11243
|
super.firstUpdated(r), (this.label || this.slotNodes?.length) && this.divider?.classList.add("has-text");
|
|
11191
11244
|
}
|
|
11192
11245
|
render() {
|
|
11193
|
-
return
|
|
11246
|
+
return m`<div part="divider">
|
|
11194
11247
|
<span class="text"
|
|
11195
11248
|
>${z(this.label ? this.label : "")}<slot></slot
|
|
11196
11249
|
></span>
|
|
@@ -11198,7 +11251,7 @@ let St = class extends w {
|
|
|
11198
11251
|
}
|
|
11199
11252
|
};
|
|
11200
11253
|
St.styles = [
|
|
11201
|
-
|
|
11254
|
+
P`
|
|
11202
11255
|
:host {
|
|
11203
11256
|
--sc-divider-my: 0.5rem;
|
|
11204
11257
|
--sc-divider-mx: 0;
|
|
@@ -11332,10 +11385,10 @@ St.styles = [
|
|
|
11332
11385
|
`
|
|
11333
11386
|
];
|
|
11334
11387
|
Ut([
|
|
11335
|
-
|
|
11388
|
+
dt({ flatten: !0 })
|
|
11336
11389
|
], St.prototype, "slotNodes", 2);
|
|
11337
11390
|
Ut([
|
|
11338
|
-
|
|
11391
|
+
ge("div")
|
|
11339
11392
|
], St.prototype, "divider", 2);
|
|
11340
11393
|
Ut([
|
|
11341
11394
|
a({ type: String })
|
|
@@ -11369,11 +11422,11 @@ var Xc = Object.getOwnPropertyDescriptor, Zc = (r, t, i, s) => {
|
|
|
11369
11422
|
const Gc = "sonic-card-header-description";
|
|
11370
11423
|
let ii = class extends w {
|
|
11371
11424
|
render() {
|
|
11372
|
-
return
|
|
11425
|
+
return m`<slot></slot>`;
|
|
11373
11426
|
}
|
|
11374
11427
|
};
|
|
11375
11428
|
ii.styles = [
|
|
11376
|
-
|
|
11429
|
+
P`
|
|
11377
11430
|
:host() {
|
|
11378
11431
|
display: block;
|
|
11379
11432
|
font-size: 0.7em;
|
|
@@ -11394,12 +11447,12 @@ var Qc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor, Li = (r, t
|
|
|
11394
11447
|
const th = "sonic-card-header";
|
|
11395
11448
|
let Ge = class extends w {
|
|
11396
11449
|
render() {
|
|
11397
|
-
return
|
|
11450
|
+
return m`
|
|
11398
11451
|
<div class="header-content">
|
|
11399
11452
|
${z(this.label)}
|
|
11400
|
-
${this.description ?
|
|
11453
|
+
${this.description ? m`<sonic-card-header-description
|
|
11401
11454
|
>${z(this.description)}</sonic-card-header-description
|
|
11402
|
-
>` :
|
|
11455
|
+
>` : S}
|
|
11403
11456
|
<slot></slot>
|
|
11404
11457
|
</div>
|
|
11405
11458
|
<slot name="suffix"></slot>
|
|
@@ -11407,7 +11460,7 @@ let Ge = class extends w {
|
|
|
11407
11460
|
}
|
|
11408
11461
|
};
|
|
11409
11462
|
Ge.styles = [
|
|
11410
|
-
|
|
11463
|
+
P`
|
|
11411
11464
|
:host {
|
|
11412
11465
|
--sc-card-header-mb: 1.35rem;
|
|
11413
11466
|
--sc-card-header-font-size: 1.875rem;
|
|
@@ -11464,11 +11517,11 @@ var eh = Object.getOwnPropertyDescriptor, sh = (r, t, i, s) => {
|
|
|
11464
11517
|
const ih = "sonic-card-main";
|
|
11465
11518
|
let ri = class extends w {
|
|
11466
11519
|
render() {
|
|
11467
|
-
return
|
|
11520
|
+
return m`<slot></slot>`;
|
|
11468
11521
|
}
|
|
11469
11522
|
};
|
|
11470
11523
|
ri.styles = [
|
|
11471
|
-
|
|
11524
|
+
P`
|
|
11472
11525
|
:host {
|
|
11473
11526
|
display: block;
|
|
11474
11527
|
}
|
|
@@ -11485,11 +11538,11 @@ var rh = Object.getOwnPropertyDescriptor, oh = (r, t, i, s) => {
|
|
|
11485
11538
|
const nh = "sonic-card-footer";
|
|
11486
11539
|
let oi = class extends w {
|
|
11487
11540
|
render() {
|
|
11488
|
-
return
|
|
11541
|
+
return m` <slot></slot> `;
|
|
11489
11542
|
}
|
|
11490
11543
|
};
|
|
11491
11544
|
oi.styles = [
|
|
11492
|
-
|
|
11545
|
+
P`
|
|
11493
11546
|
:host {
|
|
11494
11547
|
display: block;
|
|
11495
11548
|
}
|
|
@@ -11498,7 +11551,7 @@ oi.styles = [
|
|
|
11498
11551
|
oi = oh([
|
|
11499
11552
|
_(nh)
|
|
11500
11553
|
], oi);
|
|
11501
|
-
const Ei =
|
|
11554
|
+
const Ei = P`
|
|
11502
11555
|
:host {
|
|
11503
11556
|
--sc-_color: inherit;
|
|
11504
11557
|
color: var(--sc-_color);
|
|
@@ -11523,7 +11576,7 @@ const Ei = x`
|
|
|
11523
11576
|
.inherit-color {
|
|
11524
11577
|
color: var(--sc-_color);
|
|
11525
11578
|
}
|
|
11526
|
-
`, ah =
|
|
11579
|
+
`, ah = P`
|
|
11527
11580
|
:host {
|
|
11528
11581
|
--sc-_color: inherit;
|
|
11529
11582
|
--sc-_bg: inherit;
|
|
@@ -11598,12 +11651,12 @@ let Ss = class extends w {
|
|
|
11598
11651
|
super(...arguments), this.type = "base";
|
|
11599
11652
|
}
|
|
11600
11653
|
render() {
|
|
11601
|
-
return
|
|
11654
|
+
return m`<slot></slot> `;
|
|
11602
11655
|
}
|
|
11603
11656
|
};
|
|
11604
11657
|
Ss.styles = [
|
|
11605
11658
|
ah,
|
|
11606
|
-
|
|
11659
|
+
P`
|
|
11607
11660
|
* {
|
|
11608
11661
|
box-sizing: border-box;
|
|
11609
11662
|
}
|
|
@@ -11647,7 +11700,7 @@ var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, as = (r, t
|
|
|
11647
11700
|
return s && e && dh(t, i, e), e;
|
|
11648
11701
|
};
|
|
11649
11702
|
const uh = "sonic-tr";
|
|
11650
|
-
let
|
|
11703
|
+
let me = class extends Z(w) {
|
|
11651
11704
|
constructor() {
|
|
11652
11705
|
super(...arguments), this._metadata_ = {};
|
|
11653
11706
|
}
|
|
@@ -11655,12 +11708,12 @@ let ge = class extends Z(w) {
|
|
|
11655
11708
|
r.has("_metadata_") && (this.even = !!this._metadata_.even, this.odd = !!this._metadata_.odd, this.last = !!this._metadata_.lastChild), super.willUpdate(r);
|
|
11656
11709
|
}
|
|
11657
11710
|
render() {
|
|
11658
|
-
return
|
|
11711
|
+
return m`<slot></slot>`;
|
|
11659
11712
|
}
|
|
11660
11713
|
};
|
|
11661
|
-
|
|
11714
|
+
me.styles = [
|
|
11662
11715
|
Ei,
|
|
11663
|
-
|
|
11716
|
+
P`
|
|
11664
11717
|
:host {
|
|
11665
11718
|
display: table-row;
|
|
11666
11719
|
}
|
|
@@ -11682,26 +11735,26 @@ ge.styles = [
|
|
|
11682
11735
|
];
|
|
11683
11736
|
as([
|
|
11684
11737
|
a({ type: Object })
|
|
11685
|
-
],
|
|
11738
|
+
], me.prototype, "_metadata_", 2);
|
|
11686
11739
|
as([
|
|
11687
11740
|
a({ type: Boolean, reflect: !0 })
|
|
11688
|
-
],
|
|
11741
|
+
], me.prototype, "even", 2);
|
|
11689
11742
|
as([
|
|
11690
11743
|
a({ type: Boolean, reflect: !0 })
|
|
11691
|
-
],
|
|
11744
|
+
], me.prototype, "odd", 2);
|
|
11692
11745
|
as([
|
|
11693
11746
|
a({ type: Boolean, reflect: !0 })
|
|
11694
|
-
],
|
|
11695
|
-
|
|
11747
|
+
], me.prototype, "last", 2);
|
|
11748
|
+
me = as([
|
|
11696
11749
|
_(uh)
|
|
11697
|
-
],
|
|
11698
|
-
var fh = Object.defineProperty,
|
|
11699
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
11750
|
+
], me);
|
|
11751
|
+
var fh = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, we = (r, t, i, s) => {
|
|
11752
|
+
for (var e = s > 1 ? void 0 : s ? mh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11700
11753
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11701
11754
|
return s && e && fh(t, i, e), e;
|
|
11702
11755
|
};
|
|
11703
|
-
const
|
|
11704
|
-
let
|
|
11756
|
+
const gh = "sonic-th";
|
|
11757
|
+
let Wt = class extends w {
|
|
11705
11758
|
render() {
|
|
11706
11759
|
const r = {
|
|
11707
11760
|
textAlign: this.align,
|
|
@@ -11709,9 +11762,9 @@ let Ht = class extends w {
|
|
|
11709
11762
|
maxWidth: this.maxWidth,
|
|
11710
11763
|
width: this.width
|
|
11711
11764
|
};
|
|
11712
|
-
return
|
|
11765
|
+
return m`<th
|
|
11713
11766
|
part="th"
|
|
11714
|
-
style=${
|
|
11767
|
+
style=${gt(r)}
|
|
11715
11768
|
colspan=${$(this.colSpan)}
|
|
11716
11769
|
rowspan=${$(this.rowSpan)}
|
|
11717
11770
|
>
|
|
@@ -11719,9 +11772,9 @@ let Ht = class extends w {
|
|
|
11719
11772
|
</th> `;
|
|
11720
11773
|
}
|
|
11721
11774
|
};
|
|
11722
|
-
|
|
11775
|
+
Wt.styles = [
|
|
11723
11776
|
Ei,
|
|
11724
|
-
|
|
11777
|
+
P`
|
|
11725
11778
|
:host {
|
|
11726
11779
|
display: contents;
|
|
11727
11780
|
background: var(--sc-table-bg);
|
|
@@ -11746,27 +11799,27 @@ Ht.styles = [
|
|
|
11746
11799
|
}
|
|
11747
11800
|
`
|
|
11748
11801
|
];
|
|
11749
|
-
|
|
11802
|
+
we([
|
|
11750
11803
|
a({ type: Number })
|
|
11751
|
-
],
|
|
11752
|
-
|
|
11804
|
+
], Wt.prototype, "colSpan", 2);
|
|
11805
|
+
we([
|
|
11753
11806
|
a({ type: Number })
|
|
11754
|
-
],
|
|
11755
|
-
|
|
11807
|
+
], Wt.prototype, "rowSpan", 2);
|
|
11808
|
+
we([
|
|
11756
11809
|
a({ type: String })
|
|
11757
|
-
],
|
|
11758
|
-
|
|
11810
|
+
], Wt.prototype, "align", 2);
|
|
11811
|
+
we([
|
|
11759
11812
|
a({ type: String })
|
|
11760
|
-
],
|
|
11761
|
-
|
|
11813
|
+
], Wt.prototype, "minWidth", 2);
|
|
11814
|
+
we([
|
|
11762
11815
|
a({ type: String })
|
|
11763
|
-
],
|
|
11764
|
-
|
|
11816
|
+
], Wt.prototype, "maxWidth", 2);
|
|
11817
|
+
we([
|
|
11765
11818
|
a({ type: String })
|
|
11766
|
-
],
|
|
11767
|
-
|
|
11768
|
-
_(
|
|
11769
|
-
],
|
|
11819
|
+
], Wt.prototype, "width", 2);
|
|
11820
|
+
Wt = we([
|
|
11821
|
+
_(gh)
|
|
11822
|
+
], Wt);
|
|
11770
11823
|
var bh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor, re = (r, t, i, s) => {
|
|
11771
11824
|
for (var e = s > 1 ? void 0 : s ? vh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11772
11825
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -11782,14 +11835,14 @@ let Tt = class extends w {
|
|
|
11782
11835
|
maxWidth: this.maxWidth,
|
|
11783
11836
|
width: this.width
|
|
11784
11837
|
};
|
|
11785
|
-
return
|
|
11838
|
+
return m`<td part="td" style=${gt(r)} colspan=${$(this.colSpan)} rowspan=${$(this.rowSpan)}>
|
|
11786
11839
|
<slot></slot>
|
|
11787
11840
|
</td>`;
|
|
11788
11841
|
}
|
|
11789
11842
|
};
|
|
11790
11843
|
Tt.styles = [
|
|
11791
11844
|
Ei,
|
|
11792
|
-
|
|
11845
|
+
P`
|
|
11793
11846
|
:host {
|
|
11794
11847
|
display: contents;
|
|
11795
11848
|
}
|
|
@@ -11836,11 +11889,11 @@ var wh = Object.getOwnPropertyDescriptor, _h = (r, t, i, s) => {
|
|
|
11836
11889
|
const xh = "sonic-thead";
|
|
11837
11890
|
let ni = class extends w {
|
|
11838
11891
|
render() {
|
|
11839
|
-
return
|
|
11892
|
+
return m`<slot></slot>`;
|
|
11840
11893
|
}
|
|
11841
11894
|
};
|
|
11842
11895
|
ni.styles = [
|
|
11843
|
-
|
|
11896
|
+
P`
|
|
11844
11897
|
:host {
|
|
11845
11898
|
display: table-header-group;
|
|
11846
11899
|
}
|
|
@@ -11857,13 +11910,13 @@ var Ph = Object.getOwnPropertyDescriptor, $h = (r, t, i, s) => {
|
|
|
11857
11910
|
const Ch = "sonic-tbody";
|
|
11858
11911
|
let ai = class extends w {
|
|
11859
11912
|
render() {
|
|
11860
|
-
return
|
|
11913
|
+
return m`<tbody part="tbody">
|
|
11861
11914
|
<slot></slot>
|
|
11862
11915
|
</tbody>`;
|
|
11863
11916
|
}
|
|
11864
11917
|
};
|
|
11865
11918
|
ai.styles = [
|
|
11866
|
-
|
|
11919
|
+
P`
|
|
11867
11920
|
:host {
|
|
11868
11921
|
display: table-row-group;
|
|
11869
11922
|
}
|
|
@@ -11893,13 +11946,13 @@ var Sh = Object.getOwnPropertyDescriptor, Ah = (r, t, i, s) => {
|
|
|
11893
11946
|
const kh = "sonic-tfoot";
|
|
11894
11947
|
let li = class extends w {
|
|
11895
11948
|
render() {
|
|
11896
|
-
return
|
|
11949
|
+
return m`<tfoot>
|
|
11897
11950
|
<slot></slot>
|
|
11898
11951
|
</tfoot>`;
|
|
11899
11952
|
}
|
|
11900
11953
|
};
|
|
11901
11954
|
li.styles = [
|
|
11902
|
-
|
|
11955
|
+
P`
|
|
11903
11956
|
:host {
|
|
11904
11957
|
display: contents;
|
|
11905
11958
|
}
|
|
@@ -11916,11 +11969,11 @@ var Oh = Object.getOwnPropertyDescriptor, Dh = (r, t, i, s) => {
|
|
|
11916
11969
|
const Lh = "sonic-caption";
|
|
11917
11970
|
let ci = class extends w {
|
|
11918
11971
|
render() {
|
|
11919
|
-
return
|
|
11972
|
+
return m`<slot></slot>`;
|
|
11920
11973
|
}
|
|
11921
11974
|
};
|
|
11922
11975
|
ci.styles = [
|
|
11923
|
-
|
|
11976
|
+
P`
|
|
11924
11977
|
:host {
|
|
11925
11978
|
display: table-caption;
|
|
11926
11979
|
font-size: 0.75rem;
|
|
@@ -11943,10 +11996,10 @@ let te = class extends w {
|
|
|
11943
11996
|
const r = {
|
|
11944
11997
|
maxHeight: this.maxHeight
|
|
11945
11998
|
};
|
|
11946
|
-
return
|
|
11999
|
+
return m`
|
|
11947
12000
|
<div
|
|
11948
12001
|
class="table-container ${this.noCustomScroll ? "" : "custom-scroll"}"
|
|
11949
|
-
style=${
|
|
12002
|
+
style=${gt(r)}
|
|
11950
12003
|
>
|
|
11951
12004
|
<div class="table">
|
|
11952
12005
|
<slot></slot>
|
|
@@ -11958,7 +12011,7 @@ let te = class extends w {
|
|
|
11958
12011
|
te.styles = [
|
|
11959
12012
|
es,
|
|
11960
12013
|
Mt,
|
|
11961
|
-
|
|
12014
|
+
P`
|
|
11962
12015
|
:host {
|
|
11963
12016
|
--sc-table-fw: var(--sc-font-weight-base, 400);
|
|
11964
12017
|
--sc-table-fst: var(--sc-font-style-base, normal);
|
|
@@ -12049,7 +12102,7 @@ async function Fh(r, t, i) {
|
|
|
12049
12102
|
);
|
|
12050
12103
|
return jh(e);
|
|
12051
12104
|
}
|
|
12052
|
-
const zh =
|
|
12105
|
+
const zh = P`
|
|
12053
12106
|
@keyframes altcha-spinner {
|
|
12054
12107
|
to {
|
|
12055
12108
|
transform: rotate(360deg);
|
|
@@ -12281,7 +12334,7 @@ var Rh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor, Is = (r, t
|
|
|
12281
12334
|
const Vh = "supersoniks_altcha", Bh = "Si2\\]X8M4!n9DCLd";
|
|
12282
12335
|
let hr = !1;
|
|
12283
12336
|
const qh = "sonic-captcha";
|
|
12284
|
-
let
|
|
12337
|
+
let Ae = class extends se(w) {
|
|
12285
12338
|
constructor() {
|
|
12286
12339
|
super(...arguments), this.key = "", this.action = null, this.zIndex = 9999, this.onCaptchaTokenChanged = (r) => {
|
|
12287
12340
|
r == "request_token" && (this.formPublisher && (this.formPublisher.captchaToken = ""), this.requestToken());
|
|
@@ -12319,7 +12372,7 @@ let Se = class extends se(w) {
|
|
|
12319
12372
|
}
|
|
12320
12373
|
render() {
|
|
12321
12374
|
if (!this.key)
|
|
12322
|
-
return
|
|
12375
|
+
return S;
|
|
12323
12376
|
const t = Xt.getLanguage().match("^fr\\b") ? {
|
|
12324
12377
|
aria: "Visitez altcha.org",
|
|
12325
12378
|
error: "La vérification a échoué, réessayez plus tard.",
|
|
@@ -12339,7 +12392,7 @@ let Se = class extends se(w) {
|
|
|
12339
12392
|
verifying: "Verifying...",
|
|
12340
12393
|
wait: "Verifying... Please wait."
|
|
12341
12394
|
};
|
|
12342
|
-
return
|
|
12395
|
+
return m`
|
|
12343
12396
|
<form>
|
|
12344
12397
|
<altcha-widget
|
|
12345
12398
|
challengeurl="${this.chalengeUrl}?key=${this.key}&maxNumber=${this.maxNumber}"
|
|
@@ -12354,9 +12407,9 @@ let Se = class extends se(w) {
|
|
|
12354
12407
|
`;
|
|
12355
12408
|
}
|
|
12356
12409
|
};
|
|
12357
|
-
|
|
12410
|
+
Ae.styles = [
|
|
12358
12411
|
zh,
|
|
12359
|
-
|
|
12412
|
+
P`
|
|
12360
12413
|
:host {
|
|
12361
12414
|
--altcha-border-width: var(--sc-border-width, 1px);
|
|
12362
12415
|
--altcha-border-radius: var(--sc-rounded);
|
|
@@ -12379,16 +12432,16 @@ Se.styles = [
|
|
|
12379
12432
|
];
|
|
12380
12433
|
Is([
|
|
12381
12434
|
a()
|
|
12382
|
-
],
|
|
12435
|
+
], Ae.prototype, "key", 2);
|
|
12383
12436
|
Is([
|
|
12384
12437
|
a()
|
|
12385
|
-
],
|
|
12438
|
+
], Ae.prototype, "action", 2);
|
|
12386
12439
|
Is([
|
|
12387
12440
|
a({ type: Number })
|
|
12388
|
-
],
|
|
12389
|
-
|
|
12441
|
+
], Ae.prototype, "zIndex", 2);
|
|
12442
|
+
Ae = Is([
|
|
12390
12443
|
_(qh)
|
|
12391
|
-
],
|
|
12444
|
+
], Ae);
|
|
12392
12445
|
window.queueMicrotask = window.queueMicrotask || function(r) {
|
|
12393
12446
|
Promise.resolve().then(r).catch(
|
|
12394
12447
|
(t) => setTimeout(() => {
|
|
@@ -12442,8 +12495,8 @@ function Yh(...r) {
|
|
|
12442
12495
|
const n = o.shift() || "";
|
|
12443
12496
|
let l = T.get(n);
|
|
12444
12497
|
l = Je.traverse(l, o);
|
|
12445
|
-
const c = /* @__PURE__ */ new Set(), h = (
|
|
12446
|
-
t[s] =
|
|
12498
|
+
const c = /* @__PURE__ */ new Set(), h = (u) => {
|
|
12499
|
+
t[s] = u, t.filter((d) => d !== null).length == r.length && c.forEach((d) => d(...t));
|
|
12447
12500
|
};
|
|
12448
12501
|
i.push({ publisher: l, onAssign: h, callbacks: c });
|
|
12449
12502
|
}
|