@supersoniks/concorde 3.1.17 → 3.1.19
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 +183 -150
- package/concorde-core.es.js +1766 -1660
- package/dist/concorde-core.bundle.js +183 -150
- package/dist/concorde-core.es.js +1766 -1660
- package/dist/css/docs.css +0 -0
- package/dist/fonts/ClashGrotesk-Bold.eot +0 -0
- package/dist/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Bold.woff +0 -0
- package/dist/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Light.eot +0 -0
- package/dist/fonts/ClashGrotesk-Light.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Light.woff +0 -0
- package/dist/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Medium.eot +0 -0
- package/dist/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Medium.woff +0 -0
- package/dist/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Regular.eot +0 -0
- package/dist/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Regular.woff +0 -0
- package/dist/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Variable.eot +0 -0
- package/dist/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Variable.woff +0 -0
- package/dist/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/dist/img/concorde-icon.svg +0 -0
- package/dist/img/concorde-logo.svg +0 -0
- package/dist/img/concorde.png +0 -0
- package/dist/img/concorde_def.png +0 -0
- package/dist/img/concorde_seuil.png.webp +0 -0
- package/dist/img/concorde_seuil_invert.png +0 -0
- package/dist/img/paul_metrand.jpg +0 -0
- package/dist/img/paul_metrand_xs.jpg +0 -0
- package/dist/svg/regular/plane.svg +0 -0
- package/dist/svg/solid/plane.svg +0 -0
- package/index.html +0 -0
- package/notes de migration.md +0 -0
- package/package.json +3 -2
- package/postcss.config.cjs +0 -0
- package/public/css/docs.css +0 -0
- package/public/fonts/ClashGrotesk-Bold.eot +0 -0
- package/public/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/public/fonts/ClashGrotesk-Bold.woff +0 -0
- package/public/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/public/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/public/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/public/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Light.eot +0 -0
- package/public/fonts/ClashGrotesk-Light.ttf +0 -0
- package/public/fonts/ClashGrotesk-Light.woff +0 -0
- package/public/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Medium.eot +0 -0
- package/public/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/public/fonts/ClashGrotesk-Medium.woff +0 -0
- package/public/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Regular.eot +0 -0
- package/public/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/public/fonts/ClashGrotesk-Regular.woff +0 -0
- package/public/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/public/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/public/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/public/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Variable.eot +0 -0
- package/public/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/public/fonts/ClashGrotesk-Variable.woff +0 -0
- package/public/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/public/img/concorde-icon.svg +0 -0
- package/public/img/concorde-logo.svg +0 -0
- package/public/img/concorde.png +0 -0
- package/public/img/concorde_def.png +0 -0
- package/public/img/concorde_seuil.png.webp +0 -0
- package/public/img/concorde_seuil_invert.png +0 -0
- package/public/img/paul_metrand.jpg +0 -0
- package/public/img/paul_metrand_xs.jpg +0 -0
- package/public/svg/regular/plane.svg +0 -0
- package/public/svg/solid/plane.svg +0 -0
- package/scripts/create-search.js +0 -0
- package/scripts/post-build-docs.js +0 -0
- package/scripts/post-build.mjs +0 -0
- package/scripts/pre-build.mjs +0 -0
- package/scripts/pre-publish.mjs +24 -0
- package/src/components.ts +0 -0
- package/src/concorde-loaded.ts +0 -0
- package/src/core/_types/types.ts +0 -0
- package/src/core/components/functional/date/date.md +0 -0
- package/src/core/components/functional/date/date.ts +0 -0
- package/src/core/components/functional/example/example.ts +0 -0
- package/src/core/components/functional/fetch/fetch.md +0 -0
- package/src/core/components/functional/fetch/fetch.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/if/if.ts +0 -0
- package/src/core/components/functional/list/list.md +0 -0
- package/src/core/components/functional/list/list.ts +0 -0
- package/src/core/components/functional/mix/mix.md +0 -0
- package/src/core/components/functional/mix/mix.ts +0 -0
- package/src/core/components/functional/queue/queue.md +0 -0
- package/src/core/components/functional/queue/queue.ts +0 -0
- package/src/core/components/functional/router/redirect.ts +0 -0
- package/src/core/components/functional/router/router.md +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +0 -0
- package/src/core/components/functional/sdui/default-library.json +0 -0
- package/src/core/components/functional/sdui/example.json +0 -0
- package/src/core/components/functional/sdui/sdui-utils.ts +0 -0
- package/src/core/components/functional/sdui/sdui.md +0 -0
- package/src/core/components/functional/sdui/sdui.ts +0 -0
- package/src/core/components/functional/sdui/types.ts +0 -0
- package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/states/states.ts +0 -0
- package/src/core/components/functional/submit/submit.md +35 -0
- package/src/core/components/functional/submit/submit.ts +12 -1
- package/src/core/components/functional/subscriber/subscriber.md +0 -0
- package/src/core/components/functional/subscriber/subscriber.ts +0 -0
- package/src/core/components/functional/value/value.md +0 -0
- package/src/core/components/functional/value/value.ts +0 -0
- package/src/core/components/ui/_css/scroll.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/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 +94 -43
- 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.md +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 -0
- package/src/core/components/ui/form/css/form-control.ts +0 -0
- package/src/core/components/ui/form/fieldset/fieldset.md +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-actions/form-actions.md +0 -0
- package/src/core/components/ui/form/form-actions/form-actions.ts +0 -0
- package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
- package/src/core/components/ui/form/form-layout/form-layout.ts +0 -0
- package/src/core/components/ui/form/input/input.md +0 -0
- package/src/core/components/ui/form/input/input.ts +0 -0
- package/src/core/components/ui/form/input/password-helper.ts +32 -12
- package/src/core/components/ui/form/input/same-value-helper.ts +32 -13
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +5 -1
- package/src/core/components/ui/form/radio/radio.md +0 -0
- package/src/core/components/ui/form/radio/radio.ts +0 -0
- package/src/core/components/ui/form/select/select.md +0 -0
- package/src/core/components/ui/form/select/select.ts +1 -4
- package/src/core/components/ui/form/textarea/textarea.md +0 -0
- package/src/core/components/ui/form/textarea/textarea.ts +0 -0
- package/src/core/components/ui/group/group.md +0 -0
- package/src/core/components/ui/group/group.ts +0 -0
- package/src/core/components/ui/icon/icon.md +0 -0
- package/src/core/components/ui/icon/icon.stories.ts +0 -0
- package/src/core/components/ui/icon/icon.ts +0 -0
- package/src/core/components/ui/icon/icons.json +0 -0
- package/src/core/components/ui/icon/icons.ts +0 -0
- package/src/core/components/ui/icon/svgs/cancel.svg +0 -0
- package/src/core/components/ui/icon/svgs/check-circled-outline.svg +0 -0
- package/src/core/components/ui/icon/svgs/check.svg +0 -0
- package/src/core/components/ui/icon/svgs/emoji-puzzled.svg +0 -0
- package/src/core/components/ui/icon/svgs/info-empty.svg +0 -0
- package/src/core/components/ui/icon/svgs/loader.svg +0 -0
- package/src/core/components/ui/icon/svgs/minus-small.svg +0 -0
- package/src/core/components/ui/icon/svgs/more-horiz.svg +0 -0
- package/src/core/components/ui/icon/svgs/more-vert.svg +0 -0
- package/src/core/components/ui/icon/svgs/nav-arrow-down.svg +0 -0
- package/src/core/components/ui/icon/svgs/warning-circled-outline.svg +0 -0
- 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/link/link.md +0 -0
- package/src/core/components/ui/link/link.ts +0 -0
- package/src/core/components/ui/loader/loader.md +0 -0
- package/src/core/components/ui/loader/loader.stories.ts +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-item.ts +0 -0
- package/src/core/components/ui/menu/menu.md +0 -0
- package/src/core/components/ui/menu/menu.ts +0 -0
- 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-content.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.stories.ts +0 -0
- package/src/core/components/ui/pop/pop.md +0 -0
- package/src/core/components/ui/pop/pop.ts +0 -0
- package/src/core/components/ui/progress/progress.md +0 -0
- package/src/core/components/ui/progress/progress.ts +0 -0
- package/src/core/components/ui/table/table-caption.ts +0 -0
- package/src/core/components/ui/table/table-tbody.ts +0 -0
- package/src/core/components/ui/table/table-td.ts +0 -0
- package/src/core/components/ui/table/table-tfoot.ts +0 -0
- package/src/core/components/ui/table/table-th.ts +0 -0
- package/src/core/components/ui/table/table-thead.ts +0 -0
- package/src/core/components/ui/table/table-tr.ts +0 -0
- package/src/core/components/ui/table/table.md +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/message-subscriber.stories.ts +0 -0
- package/src/core/components/ui/toast/message-subscriber.ts +0 -0
- package/src/core/components/ui/toast/toast-item.ts +0 -0
- package/src/core/components/ui/toast/toast.ts +0 -0
- package/src/core/components/ui/toast/types.ts +0 -0
- package/src/core/components/ui/tooltip/tooltip.md +0 -0
- package/src/core/components/ui/tooltip/tooltip.ts +0 -0
- package/src/core/components/ui/ui.ts +0 -0
- package/src/core/core.ts +0 -0
- package/src/core/decorators/Subscriber.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 +57 -33
- package/src/core/mixins/FormElement.ts +44 -12
- package/src/core/mixins/FormInput.ts +0 -0
- package/src/core/mixins/Subscriber.ts +0 -0
- package/src/core/mixins/TemplatesContainer.ts +0 -0
- package/src/core/mixins/mixins.ts +0 -0
- package/src/core/utils/Arrays.ts +0 -0
- package/src/core/utils/DataBindObserver.ts +0 -0
- package/src/core/utils/Electron.ts +0 -0
- package/src/core/utils/Format.ts +0 -0
- package/src/core/utils/HTML.ts +0 -0
- package/src/core/utils/LocationHandler.ts +28 -12
- package/src/core/utils/Objects.ts +10 -0
- package/src/core/utils/PublisherProxy.ts +111 -21
- package/src/core/utils/Utils.ts +0 -0
- package/src/core/utils/api.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/core/utils/url-pattern.ts +0 -0
- package/src/decorators.ts +0 -0
- package/src/directives.ts +0 -0
- package/src/docs/_core-concept/overview.md +0 -0
- package/src/docs/_core-concept/subscriber.md +0 -0
- package/src/docs/_getting-started/concorde-outside.md +0 -0
- package/src/docs/_getting-started/create-a-component.md +0 -0
- package/src/docs/_getting-started/my-first-subscriber.md +0 -0
- package/src/docs/_getting-started/pubsub.md +0 -0
- package/src/docs/_getting-started/start.md +0 -0
- package/src/docs/_getting-started/theming.md +0 -0
- package/src/docs/code.ts +0 -0
- package/src/docs/docs.ts +0 -0
- package/src/docs/example/users.ts +0 -0
- package/src/docs/header/header.ts +0 -0
- package/src/docs/navigation/navigation.ts +0 -0
- package/src/docs/prism/index.ts +0 -0
- package/src/docs/prism/prism.css +0 -0
- package/src/docs/prism/prism.js +0 -0
- package/src/docs/search/docs-search.json +30 -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/tailwind.d.ts +0 -0
- package/src/docs/tailwind/index.ts +0 -0
- package/src/docs.ts +0 -0
- package/src/index.ts +0 -0
- package/src/mixins.ts +0 -0
- package/src/tag-list.json +0 -0
- package/src/test-utils/TestUtils.ts +0 -0
- package/src/tsconfig-model.json +0 -0
- package/src/tsconfig.json +0 -0
- package/src/utils.ts +0 -0
- package/tailwind.config.js +0 -0
- package/test-utils/TestUtils.ts +0 -0
- package/vite.config.mts +0 -0
- package/docs/assets/index--bDsd7qW.css +0 -1
- package/docs/assets/index-Ce3mr_lI.js +0 -4040
- package/docs/css/docs.css +0 -0
- 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/index.html +0 -132
- 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 -194
- 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 -112
- 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 -48
- 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/badge/badge.md +0 -102
- package/docs/src/core/components/ui/button/button.md +0 -184
- package/docs/src/core/components/ui/captcha/captcha.md +0 -12
- package/docs/src/core/components/ui/card/card.md +0 -96
- package/docs/src/core/components/ui/divider/divider.md +0 -35
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -96
- 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 -43
- package/docs/src/core/components/ui/form/input/input.md +0 -168
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -130
- package/docs/src/core/components/ui/form/radio/radio.md +0 -86
- package/docs/src/core/components/ui/form/select/select.md +0 -99
- package/docs/src/core/components/ui/form/textarea/textarea.md +0 -66
- 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 -37
- 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 -79
- package/docs/src/core/components/ui/progress/progress.md +0 -65
- package/docs/src/core/components/ui/table/table.md +0 -467
- package/docs/src/core/components/ui/tooltip/tooltip.md +0 -37
- 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 -141
- package/docs/src/docs/_getting-started/create-a-component.md +0 -137
- package/docs/src/docs/_getting-started/pubsub.md +0 -150
- package/docs/src/docs/_getting-started/start.md +0 -37
- package/docs/src/docs/_getting-started/theming.md +0 -91
- package/docs/src/docs/search/docs-search.json +0 -3737
- package/docs/src/tag-list.json +0 -1
- package/docs/src/tsconfig.json +0 -113
- package/docs/svg/regular/plane.svg +0 -1
- package/docs/svg/solid/plane.svg +0 -1
package/dist/css/docs.css
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/img/concorde.png
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/svg/solid/plane.svg
CHANGED
|
File without changes
|
package/index.html
CHANGED
|
File without changes
|
package/notes de migration.md
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supersoniks/concorde",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.19",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"postbuild": "node scripts/post-build.mjs",
|
|
11
11
|
"build": "tsc --build src/tsconfig.json && vite build",
|
|
12
12
|
"build-docs": "LIB_NAME=docs vite build",
|
|
13
|
-
"postbuild-docs": "node scripts/post-build-docs.js"
|
|
13
|
+
"postbuild-docs": "node scripts/post-build-docs.js",
|
|
14
|
+
"prepublishOnly": "node scripts/pre-publish.mjs"
|
|
14
15
|
},
|
|
15
16
|
"exports": {
|
|
16
17
|
"./core/components/ui/icon/icons.json": "./src/core/components/ui/icon/icons.json",
|
package/postcss.config.cjs
CHANGED
|
File without changes
|
package/public/css/docs.css
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/public/img/concorde.png
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/scripts/create-search.js
CHANGED
|
File without changes
|
|
File without changes
|
package/scripts/post-build.mjs
CHANGED
|
File without changes
|
package/scripts/pre-build.mjs
CHANGED
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
|
|
3
|
+
// Liste des fichiers requis
|
|
4
|
+
const requiredFiles = [
|
|
5
|
+
'concorde-core.bundle.js',
|
|
6
|
+
'concorde-core.es.js',
|
|
7
|
+
// Ajoute ici les autres fichiers que tu veux vérifier
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
let allFilesExist = true;
|
|
11
|
+
|
|
12
|
+
requiredFiles.forEach((file) => {
|
|
13
|
+
if (!fs.existsSync(file)) {
|
|
14
|
+
console.error(`Le fichier requis est manquant: ${file}`);
|
|
15
|
+
allFilesExist = false;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
if (!allFilesExist) {
|
|
20
|
+
console.error('La publication est bloquée en raison de fichiers manquants.');
|
|
21
|
+
process.exit(1); // Bloque la publication en renvoyant un code d'erreur
|
|
22
|
+
} else {
|
|
23
|
+
console.log('Tous les fichiers requis sont présents.');
|
|
24
|
+
}
|
package/src/components.ts
CHANGED
|
File without changes
|
package/src/concorde-loaded.ts
CHANGED
|
File without changes
|
package/src/core/_types/types.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
</sonic-code>
|
|
34
34
|
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
35
39
|
## Result handling example
|
|
36
40
|
|
|
37
41
|
Result will show when something has been submit because the **dataprovider** used in this example is the same as the **submitResultDataProvider** used in the previous form.
|
|
@@ -46,3 +50,34 @@ Result will show when something has been submit because the **dataprovider** use
|
|
|
46
50
|
</sonic-code>
|
|
47
51
|
|
|
48
52
|
|
|
53
|
+
## dot notation
|
|
54
|
+
|
|
55
|
+
You can write the folowing code where the name attribute is written in dot notation.
|
|
56
|
+
|
|
57
|
+
<sonic-code>
|
|
58
|
+
<template>
|
|
59
|
+
<sonic-scope formDataProvider="submit-example-dot-notation">
|
|
60
|
+
<div class="grid grid-cols-2 gap-4 mb-4 ">
|
|
61
|
+
<sonic-input required name="email.value" type="email" value="eve.holt@reqres.in"></sonic-input>
|
|
62
|
+
<sonic-input required type="password" name="details.password.value" value="pistol"></sonic-input>
|
|
63
|
+
</div>
|
|
64
|
+
</sonic-scope>
|
|
65
|
+
</template>
|
|
66
|
+
</sonic-code>
|
|
67
|
+
|
|
68
|
+
The data will be stored in the following format:
|
|
69
|
+
|
|
70
|
+
<sonic-code language="typescript">
|
|
71
|
+
<template>
|
|
72
|
+
{
|
|
73
|
+
email: {
|
|
74
|
+
value: "eve.holt@reqres.in",
|
|
75
|
+
},
|
|
76
|
+
details: {
|
|
77
|
+
password: {
|
|
78
|
+
value: "pistol",
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
}
|
|
82
|
+
</template>
|
|
83
|
+
</sonic-code>
|
|
@@ -108,7 +108,7 @@ export class Submit extends Subscriber(LitElement) {
|
|
|
108
108
|
//
|
|
109
109
|
// Validation du formulaire
|
|
110
110
|
formPublisher.isFormValid = true;
|
|
111
|
-
formPublisher.
|
|
111
|
+
formPublisher.invalidateForm();
|
|
112
112
|
if (!formPublisher.isFormValid.get()) return;
|
|
113
113
|
this.disabled = true;
|
|
114
114
|
formPublisher.isFormValid;
|
|
@@ -186,6 +186,7 @@ export class Submit extends Subscriber(LitElement) {
|
|
|
186
186
|
Object.keys(result).length === 1
|
|
187
187
|
)
|
|
188
188
|
result.messages = [{ content: "Network Error", status: "error" }];
|
|
189
|
+
|
|
189
190
|
const clearedDataProvider = this.getAncestorAttributeValue(
|
|
190
191
|
"clearedDataOnSuccess"
|
|
191
192
|
);
|
|
@@ -218,12 +219,22 @@ export class Submit extends Subscriber(LitElement) {
|
|
|
218
219
|
true
|
|
219
220
|
);
|
|
220
221
|
}
|
|
222
|
+
|
|
221
223
|
const submitResultDataProvider = this.getAncestorAttributeValue(
|
|
222
224
|
"submitResultDataProvider"
|
|
223
225
|
);
|
|
224
226
|
if (submitResultDataProvider)
|
|
225
227
|
PublisherManager.get(submitResultDataProvider).set(result);
|
|
226
228
|
this.disabled = false;
|
|
229
|
+
|
|
230
|
+
//dispacher event
|
|
231
|
+
this.dispatchEvent(
|
|
232
|
+
new CustomEvent("submit", {
|
|
233
|
+
detail: result,
|
|
234
|
+
bubbles: true,
|
|
235
|
+
composed: true,
|
|
236
|
+
})
|
|
237
|
+
);
|
|
227
238
|
};
|
|
228
239
|
const captchaPublisher = headerPublisher?.needsCaptchaValidation.get()
|
|
229
240
|
? headerPublisher
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|