@supersoniks/concorde 2.0.6 → 3.0.0
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 -0
- package/index.html +44 -0
- package/notes de migration.md +21 -0
- package/package.json +23 -287
- package/scripts/prebuild.mjs +22 -0
- package/{components.js → src/components.ts} +5 -2
- package/src/concorde-loaded.ts +3 -0
- package/src/core/_types/types.ts +55 -0
- package/src/core/components/functional/date/date.md +290 -0
- package/src/core/components/functional/date/date.ts +206 -0
- package/src/core/components/functional/example/example.ts +11 -0
- package/src/core/components/functional/fetch/fetch.md +117 -0
- package/{core/components/functional/fetch/fetch.js → src/core/components/functional/fetch/fetch.ts} +33 -37
- package/src/core/components/functional/if/if.md +16 -0
- package/src/core/components/functional/if/if.test.ts +40 -0
- package/src/core/components/functional/if/if.ts +23 -0
- package/src/core/components/functional/list/list.md +194 -0
- package/src/core/components/functional/list/list.ts +236 -0
- package/src/core/components/functional/mix/mix.md +41 -0
- package/src/core/components/functional/mix/mix.ts +95 -0
- package/src/core/components/functional/queue/queue.md +87 -0
- package/src/core/components/functional/queue/queue.ts +279 -0
- package/src/core/components/functional/router/redirect.ts +44 -0
- package/src/core/components/functional/router/router.md +112 -0
- package/src/core/components/functional/router/router.ts +108 -0
- package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +229 -0
- package/{core → src/core}/components/functional/sdui/default-library.json +13 -13
- package/src/core/components/functional/sdui/example.json +99 -0
- package/src/core/components/functional/sdui/sdui-utils.ts +62 -0
- package/src/core/components/functional/sdui/sdui.md +356 -0
- package/src/core/components/functional/sdui/sdui.ts +230 -0
- package/src/core/components/functional/sdui/types.ts +34 -0
- package/src/core/components/functional/sonic-scope/sonic-scope.ts +13 -0
- package/src/core/components/functional/states/states.md +87 -0
- package/src/core/components/functional/states/states.ts +121 -0
- package/src/core/components/functional/submit/submit.md +48 -0
- package/src/core/components/functional/submit/submit.ts +265 -0
- package/src/core/components/functional/subscriber/subscriber.md +91 -0
- package/src/core/components/functional/subscriber/subscriber.ts +28 -0
- package/src/core/components/functional/value/value.md +35 -0
- package/src/core/components/functional/value/value.ts +18 -0
- package/{core/components/ui/_css/scroll.js → src/core/components/ui/_css/scroll.ts} +3 -2
- package/{core/components/ui/_css/size.js → src/core/components/ui/_css/size.ts} +5 -2
- package/{core/components/ui/_css/type.js → src/core/components/ui/_css/type.ts} +5 -3
- package/src/core/components/ui/alert/alert.md +121 -0
- package/src/core/components/ui/alert/alert.ts +177 -0
- package/src/core/components/ui/badge/badge.md +102 -0
- package/{core/components/ui/badge/badge.js → src/core/components/ui/badge/badge.ts} +36 -51
- package/src/core/components/ui/button/button.md +184 -0
- package/{core/components/ui/button/button.js → src/core/components/ui/button/button.ts} +258 -302
- package/src/core/components/ui/captcha/captcha.md +12 -0
- package/src/core/components/ui/captcha/captcha.ts +88 -0
- package/src/core/components/ui/card/card-footer.ts +19 -0
- package/src/core/components/ui/card/card-header-descripton.ts +24 -0
- package/{core/components/ui/card/card-header.js → src/core/components/ui/card/card-header.ts} +28 -38
- package/src/core/components/ui/card/card-main.ts +24 -0
- package/src/core/components/ui/card/card.md +96 -0
- package/{core/components/ui/card/card.js → src/core/components/ui/card/card.ts} +23 -34
- package/src/core/components/ui/divider/divider.md +35 -0
- package/{core/components/ui/divider/divider.js → src/core/components/ui/divider/divider.ts} +35 -65
- package/src/core/components/ui/form/checkbox/checkbox.md +96 -0
- package/{core/components/ui/form/checkbox/checkbox.js → src/core/components/ui/form/checkbox/checkbox.ts} +79 -98
- package/{core/components/ui/form/css/form-control.js → src/core/components/ui/form/css/form-control.ts} +9 -5
- package/src/core/components/ui/form/fieldset/fieldset.md +129 -0
- package/src/core/components/ui/form/fieldset/fieldset.ts +96 -0
- package/src/core/components/ui/form/fieldset/legend-description.ts +23 -0
- package/src/core/components/ui/form/fieldset/legend.ts +90 -0
- package/src/core/components/ui/form/form-actions/form-actions.md +77 -0
- package/src/core/components/ui/form/form-actions/form-actions.ts +32 -0
- package/src/core/components/ui/form/form-layout/form-layout.md +43 -0
- package/src/core/components/ui/form/form-layout/form-layout.ts +71 -0
- package/src/core/components/ui/form/input/input.md +168 -0
- package/src/core/components/ui/form/input/input.ts +227 -0
- package/src/core/components/ui/form/input/password-helper.ts +68 -0
- package/src/core/components/ui/form/input/same-value-helper.ts +48 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +130 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +285 -0
- package/src/core/components/ui/form/radio/radio.md +86 -0
- package/src/core/components/ui/form/radio/radio.ts +44 -0
- package/src/core/components/ui/form/select/select.md +99 -0
- package/src/core/components/ui/form/select/select.ts +310 -0
- package/src/core/components/ui/form/textarea/textarea.md +66 -0
- package/src/core/components/ui/form/textarea/textarea.ts +119 -0
- package/src/core/components/ui/group/group.md +75 -0
- package/src/core/components/ui/group/group.ts +101 -0
- package/src/core/components/ui/icon/icon.md +125 -0
- package/src/core/components/ui/icon/icon.stories.ts +100 -0
- package/src/core/components/ui/icon/icon.ts +106 -0
- package/src/core/components/ui/icon/icons.json +1 -0
- package/src/core/components/ui/icon/icons.ts +130 -0
- package/src/core/components/ui/icon/svgs/cancel.svg +3 -0
- package/src/core/components/ui/icon/svgs/check-circled-outline.svg +4 -0
- package/src/core/components/ui/icon/svgs/check.svg +3 -0
- package/src/core/components/ui/icon/svgs/emoji-puzzled.svg +1 -0
- package/src/core/components/ui/icon/svgs/info-empty.svg +5 -0
- package/src/core/components/ui/icon/svgs/loader.svg +1 -0
- package/src/core/components/ui/icon/svgs/minus-small.svg +3 -0
- package/src/core/components/ui/icon/svgs/more-horiz.svg +5 -0
- package/src/core/components/ui/icon/svgs/more-vert.svg +5 -0
- package/src/core/components/ui/icon/svgs/nav-arrow-down.svg +3 -0
- package/src/core/components/ui/icon/svgs/warning-circled-outline.svg +5 -0
- package/src/core/components/ui/image/image.md +107 -0
- package/src/core/components/ui/image/image.ts +117 -0
- package/src/core/components/ui/link/link.md +43 -0
- package/src/core/components/ui/link/link.ts +108 -0
- package/src/core/components/ui/loader/loader.md +37 -0
- package/src/core/components/ui/loader/loader.stories.ts +25 -0
- package/src/core/components/ui/loader/loader.ts +81 -0
- package/{core/components/ui/loader/styles/fixed.js → src/core/components/ui/loader/styles/fixed.ts} +2 -1
- package/{core/components/ui/loader/styles/inline.js → src/core/components/ui/loader/styles/inline.ts} +3 -2
- package/src/core/components/ui/menu/menu-item.ts +30 -0
- package/src/core/components/ui/menu/menu.md +288 -0
- package/src/core/components/ui/menu/menu.ts +292 -0
- package/src/core/components/ui/modal/modal-actions.ts +35 -0
- package/src/core/components/ui/modal/modal-close.ts +36 -0
- package/src/core/components/ui/modal/modal-content.ts +19 -0
- package/src/core/components/ui/modal/modal-subtitle.ts +23 -0
- package/src/core/components/ui/modal/modal-title.ts +22 -0
- package/src/core/components/ui/modal/modal.md +123 -0
- package/src/core/components/ui/modal/modal.stories.ts +140 -0
- package/src/core/components/ui/modal/modal.ts +386 -0
- package/src/core/components/ui/pop/pop.md +79 -0
- package/src/core/components/ui/pop/pop.ts +291 -0
- package/src/core/components/ui/progress/progress.md +65 -0
- package/{core/components/ui/progress/progress.js → src/core/components/ui/progress/progress.ts} +31 -50
- package/src/core/components/ui/table/table-caption.ts +21 -0
- package/src/core/components/ui/table/table-tbody.ts +32 -0
- package/src/core/components/ui/table/table-td.ts +47 -0
- package/src/core/components/ui/table/table-tfoot.ts +20 -0
- package/src/core/components/ui/table/table-th.ts +56 -0
- package/src/core/components/ui/table/table-thead.ts +18 -0
- package/src/core/components/ui/table/table-tr.ts +48 -0
- package/src/core/components/ui/table/table.md +467 -0
- package/{core/components/ui/table/table.js → src/core/components/ui/table/table.ts} +32 -53
- package/{core/components/ui/theme/theme-collection/core-variables.js → src/core/components/ui/theme/theme-collection/core-variables.ts} +3 -2
- package/{core/components/ui/theme/theme-collection/dark.js → src/core/components/ui/theme/theme-collection/dark.ts} +5 -3
- package/{core/components/ui/theme/theme-collection/light.js → src/core/components/ui/theme/theme-collection/light.ts} +3 -2
- package/src/core/components/ui/theme/theme.ts +118 -0
- package/src/core/components/ui/toast/message-subscriber.stories.ts +43 -0
- package/src/core/components/ui/toast/message-subscriber.ts +37 -0
- package/{core/components/ui/toast/toast-item.js → src/core/components/ui/toast/toast-item.ts} +86 -113
- package/src/core/components/ui/toast/toast.ts +237 -0
- package/src/core/components/ui/toast/types.ts +14 -0
- package/src/core/components/ui/tooltip/tooltip.md +37 -0
- package/{core/components/ui/tooltip/tooltip.js → src/core/components/ui/tooltip/tooltip.ts} +26 -47
- package/{core/components/ui/ui.js → src/core/components/ui/ui.ts} +2 -0
- package/src/core/core.ts +22 -0
- package/src/core/decorators/Subscriber.ts +187 -0
- package/src/core/directives/DataProvider.ts +113 -0
- package/src/core/directives/Wording.ts +220 -0
- package/src/core/mixins/Fetcher.ts +258 -0
- package/src/core/mixins/FormCheckable.ts +287 -0
- package/src/core/mixins/FormElement.ts +275 -0
- package/src/core/mixins/FormInput.ts +135 -0
- package/src/core/mixins/Subscriber.ts +352 -0
- package/src/core/mixins/TemplatesContainer.ts +70 -0
- package/{core/mixins/mixins.d.ts → src/core/mixins/mixins.ts} +1 -1
- package/src/core/utils/Arrays.ts +161 -0
- package/src/core/utils/DataBindObserver.ts +286 -0
- package/src/core/utils/Electron.ts +15 -0
- package/src/core/utils/Format.ts +58 -0
- package/src/core/utils/HTML.ts +126 -0
- package/src/core/utils/LocationHandler.ts +139 -0
- package/src/core/utils/Objects.ts +103 -0
- package/src/core/utils/PublisherProxy.ts +786 -0
- package/src/core/utils/Utils.ts +12 -0
- package/src/core/utils/api.ts +456 -0
- package/{core/utils/url-pattern.d.ts → src/core/utils/url-pattern.ts} +1 -0
- package/{decorators.js → src/decorators.ts} +6 -2
- package/{directives.js → src/directives.ts} +11 -6
- package/src/docs/_core-concept/overview.md +57 -0
- package/src/docs/_core-concept/subscriber.md +76 -0
- package/src/docs/_getting-started/concorde-outside.md +141 -0
- package/src/docs/_getting-started/create-a-component.md +137 -0
- package/src/docs/_getting-started/pubsub.md +150 -0
- package/src/docs/_getting-started/start.md +37 -0
- package/src/docs/_getting-started/theming.md +91 -0
- package/src/docs/code.ts +281 -0
- package/src/docs/docs.ts +6 -0
- package/src/docs/example/users.ts +64 -0
- package/src/docs/navigation/navigation.ts +101 -0
- package/src/docs/prism/index.ts +6 -0
- package/src/docs/prism/prism.css +158 -0
- package/src/docs/prism/prism.js +1022 -0
- package/src/docs/search/docs-search.json +3767 -0
- package/src/docs/search/markdown-renderer.ts +40 -0
- package/src/docs/search/page.ts +40 -0
- package/src/docs/search/search.ts +184 -0
- package/src/docs.ts +2 -0
- package/src/index.ts +7 -0
- package/{mixins.js → src/mixins.ts} +10 -6
- package/src/tag-list.json +1 -0
- package/src/test-utils/TestUtils.ts +13 -0
- package/src/tsconfig.json +113 -0
- package/{utils.js → src/utils.ts} +15 -11
- package/test-utils/TestUtils.ts +13 -0
- package/vite/config.js +136 -0
- package/vite.config.mts +87 -0
- package/README.md +0 -27
- package/cli.js +0 -74
- package/components.d.ts +0 -4
- package/concorde-core.bundle.js +0 -3427
- package/concorde-core.es.js +0 -14199
- package/core/_types/types.d.ts +0 -28
- package/core/_types/types.js +0 -2
- package/core/components/functional/date/date.d.ts +0 -45
- package/core/components/functional/date/date.js +0 -243
- package/core/components/functional/example/example.d.ts +0 -7
- package/core/components/functional/example/example.js +0 -26
- package/core/components/functional/fetch/fetch.d.ts +0 -93
- package/core/components/functional/functional.js +0 -15
- package/core/components/functional/if/if.d.ts +0 -12
- package/core/components/functional/if/if.js +0 -38
- package/core/components/functional/if/if.test.d.ts +0 -1
- package/core/components/functional/if/if.test.js +0 -35
- package/core/components/functional/list/list.d.ts +0 -117
- package/core/components/functional/list/list.js +0 -214
- package/core/components/functional/mix/mix.d.ts +0 -22
- package/core/components/functional/mix/mix.js +0 -102
- package/core/components/functional/queue/queue.d.ts +0 -67
- package/core/components/functional/queue/queue.js +0 -310
- package/core/components/functional/router/redirect.d.ts +0 -18
- package/core/components/functional/router/redirect.js +0 -53
- package/core/components/functional/router/router.d.ts +0 -27
- package/core/components/functional/router/router.js +0 -119
- package/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +0 -58
- package/core/components/functional/sdui/SDUIDescriptorTransformer.js +0 -215
- package/core/components/functional/sdui/sdui-utils.d.ts +0 -5
- package/core/components/functional/sdui/sdui-utils.js +0 -63
- package/core/components/functional/sdui/sdui.d.ts +0 -136
- package/core/components/functional/sdui/sdui.js +0 -254
- package/core/components/functional/sdui/types.d.ts +0 -37
- package/core/components/functional/sdui/types.js +0 -1
- package/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -5
- package/core/components/functional/sonic-scope/sonic-scope.js +0 -21
- package/core/components/functional/states/states.d.ts +0 -29
- package/core/components/functional/states/states.js +0 -134
- package/core/components/functional/submit/submit.d.ts +0 -30
- package/core/components/functional/submit/submit.js +0 -236
- package/core/components/functional/subscriber/subscriber.d.ts +0 -12
- package/core/components/functional/subscriber/subscriber.js +0 -38
- package/core/components/functional/value/value.d.ts +0 -7
- package/core/components/functional/value/value.js +0 -27
- package/core/components/ui/_css/scroll.d.ts +0 -1
- package/core/components/ui/_css/size.d.ts +0 -2
- package/core/components/ui/_css/type.d.ts +0 -2
- package/core/components/ui/alert/alert.d.ts +0 -34
- package/core/components/ui/alert/alert.js +0 -202
- package/core/components/ui/badge/badge.d.ts +0 -26
- package/core/components/ui/button/button.d.ts +0 -171
- package/core/components/ui/captcha/captcha.d.ts +0 -30
- package/core/components/ui/captcha/captcha.js +0 -93
- package/core/components/ui/card/card-footer.d.ts +0 -4
- package/core/components/ui/card/card-footer.js +0 -24
- package/core/components/ui/card/card-header-descripton.d.ts +0 -5
- package/core/components/ui/card/card-header-descripton.js +0 -32
- package/core/components/ui/card/card-header.d.ts +0 -8
- package/core/components/ui/card/card-main.d.ts +0 -4
- package/core/components/ui/card/card-main.js +0 -28
- package/core/components/ui/card/card.d.ts +0 -12
- package/core/components/ui/divider/divider.d.ts +0 -15
- package/core/components/ui/form/checkbox/checkbox.d.ts +0 -181
- package/core/components/ui/form/css/form-control.d.ts +0 -4
- package/core/components/ui/form/fieldset/fieldset.d.ts +0 -23
- package/core/components/ui/form/fieldset/fieldset.js +0 -118
- package/core/components/ui/form/fieldset/legend-description.d.ts +0 -5
- package/core/components/ui/form/fieldset/legend-description.js +0 -30
- package/core/components/ui/form/fieldset/legend.d.ts +0 -16
- package/core/components/ui/form/fieldset/legend.js +0 -112
- package/core/components/ui/form/form-actions/form-actions.d.ts +0 -7
- package/core/components/ui/form/form-actions/form-actions.js +0 -46
- package/core/components/ui/form/form-layout/form-layout.d.ts +0 -12
- package/core/components/ui/form/form-layout/form-layout.js +0 -83
- package/core/components/ui/form/input/input.d.ts +0 -106
- package/core/components/ui/form/input/input.js +0 -268
- package/core/components/ui/form/input/password-helper.d.ts +0 -25
- package/core/components/ui/form/input/password-helper.js +0 -119
- package/core/components/ui/form/input/same-value-helper.d.ts +0 -16
- package/core/components/ui/form/input/same-value-helper.js +0 -77
- package/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +0 -136
- package/core/components/ui/form/input-autocomplete/input-autocomplete.js +0 -296
- package/core/components/ui/form/radio/radio.d.ts +0 -12
- package/core/components/ui/form/radio/radio.js +0 -50
- package/core/components/ui/form/select/select.d.ts +0 -58
- package/core/components/ui/form/select/select.js +0 -298
- package/core/components/ui/form/textarea/textarea.d.ts +0 -84
- package/core/components/ui/form/textarea/textarea.js +0 -150
- package/core/components/ui/group/group.d.ts +0 -16
- package/core/components/ui/group/group.js +0 -118
- package/core/components/ui/icon/icon.d.ts +0 -26
- package/core/components/ui/icon/icon.js +0 -113
- package/core/components/ui/icon/icons.d.ts +0 -10
- package/core/components/ui/icon/icons.js +0 -126
- package/core/components/ui/icon/icons.json +0 -1
- package/core/components/ui/image/image.d.ts +0 -15
- package/core/components/ui/image/image.js +0 -153
- package/core/components/ui/link/link.d.ts +0 -29
- package/core/components/ui/link/link.js +0 -124
- package/core/components/ui/loader/loader.d.ts +0 -23
- package/core/components/ui/loader/loader.js +0 -97
- package/core/components/ui/loader/styles/fixed.d.ts +0 -1
- package/core/components/ui/loader/styles/inline.d.ts +0 -1
- package/core/components/ui/menu/menu-item.d.ts +0 -5
- package/core/components/ui/menu/menu-item.js +0 -34
- package/core/components/ui/menu/menu.d.ts +0 -41
- package/core/components/ui/menu/menu.js +0 -313
- package/core/components/ui/modal/modal-actions.d.ts +0 -7
- package/core/components/ui/modal/modal-actions.js +0 -42
- package/core/components/ui/modal/modal-close.d.ts +0 -7
- package/core/components/ui/modal/modal-close.js +0 -43
- package/core/components/ui/modal/modal-content.d.ts +0 -5
- package/core/components/ui/modal/modal-content.js +0 -26
- package/core/components/ui/modal/modal-subtitle.d.ts +0 -5
- package/core/components/ui/modal/modal-subtitle.js +0 -30
- package/core/components/ui/modal/modal-title.d.ts +0 -5
- package/core/components/ui/modal/modal-title.js +0 -29
- package/core/components/ui/modal/modal.d.ts +0 -58
- package/core/components/ui/modal/modal.js +0 -401
- package/core/components/ui/pop/pop.d.ts +0 -37
- package/core/components/ui/pop/pop.js +0 -299
- package/core/components/ui/progress/progress.d.ts +0 -10
- package/core/components/ui/table/table-caption.d.ts +0 -5
- package/core/components/ui/table/table-caption.js +0 -28
- package/core/components/ui/table/table-tbody.d.ts +0 -5
- package/core/components/ui/table/table-tbody.js +0 -39
- package/core/components/ui/table/table-td.d.ts +0 -12
- package/core/components/ui/table/table-td.js +0 -68
- package/core/components/ui/table/table-tfoot.d.ts +0 -5
- package/core/components/ui/table/table-tfoot.js +0 -27
- package/core/components/ui/table/table-th.d.ts +0 -11
- package/core/components/ui/table/table-th.js +0 -73
- package/core/components/ui/table/table-thead.d.ts +0 -5
- package/core/components/ui/table/table-thead.js +0 -25
- package/core/components/ui/table/table-tr.d.ts +0 -13
- package/core/components/ui/table/table-tr.js +0 -66
- package/core/components/ui/table/table.d.ts +0 -17
- package/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -1
- package/core/components/ui/theme/theme-collection/dark.d.ts +0 -1
- package/core/components/ui/theme/theme-collection/light.d.ts +0 -1
- package/core/components/ui/theme/theme.d.ts +0 -19
- package/core/components/ui/theme/theme.js +0 -124
- package/core/components/ui/toast/message-subscriber.d.ts +0 -18
- package/core/components/ui/toast/message-subscriber.js +0 -40
- package/core/components/ui/toast/toast-item.d.ts +0 -19
- package/core/components/ui/toast/toast.d.ts +0 -25
- package/core/components/ui/toast/toast.js +0 -226
- package/core/components/ui/toast/types.d.ts +0 -11
- package/core/components/ui/toast/types.js +0 -1
- package/core/components/ui/tooltip/tooltip.d.ts +0 -10
- package/core/components/ui/ui.d.ts +0 -32
- package/core/core.d.ts +0 -4
- package/core/core.js +0 -19
- package/core/decorators/Subscriber.d.ts +0 -4
- package/core/decorators/Subscriber.js +0 -166
- package/core/directives/DataProvider.d.ts +0 -23
- package/core/directives/DataProvider.js +0 -102
- package/core/directives/Wording.d.ts +0 -42
- package/core/directives/Wording.js +0 -202
- package/core/mixins/Fetcher.d.ts +0 -90
- package/core/mixins/Fetcher.js +0 -242
- package/core/mixins/FormCheckable.d.ts +0 -88
- package/core/mixins/FormCheckable.js +0 -306
- package/core/mixins/FormElement.d.ts +0 -32
- package/core/mixins/FormElement.js +0 -272
- package/core/mixins/FormInput.d.ts +0 -70
- package/core/mixins/FormInput.js +0 -81
- package/core/mixins/Subscriber.d.ts +0 -36
- package/core/mixins/Subscriber.js +0 -333
- package/core/mixins/TemplatesContainer.d.ts +0 -13
- package/core/mixins/TemplatesContainer.js +0 -69
- package/core/mixins/mixins.js +0 -6
- package/core/utils/Arrays.d.ts +0 -97
- package/core/utils/Arrays.js +0 -140
- package/core/utils/DataBindObserver.d.ts +0 -83
- package/core/utils/DataBindObserver.js +0 -264
- package/core/utils/Electron.d.ts +0 -7
- package/core/utils/Electron.js +0 -11
- package/core/utils/Format.d.ts +0 -12
- package/core/utils/Format.js +0 -38
- package/core/utils/HTML.d.ts +0 -42
- package/core/utils/HTML.js +0 -119
- package/core/utils/LocationHandler.d.ts +0 -46
- package/core/utils/LocationHandler.js +0 -133
- package/core/utils/Objects.d.ts +0 -28
- package/core/utils/Objects.js +0 -102
- package/core/utils/PublisherProxy.d.ts +0 -176
- package/core/utils/PublisherProxy.js +0 -709
- package/core/utils/Utils.d.ts +0 -4
- package/core/utils/Utils.js +0 -12
- package/core/utils/api.d.ts +0 -139
- package/core/utils/api.js +0 -391
- package/core/utils/url-pattern.js +0 -2
- package/decorators.d.ts +0 -3
- package/directives.d.ts +0 -40
- package/img/concorde-logo.svg +0 -1
- package/img/concorde.png +0 -0
- package/img/concorde_def.png +0 -0
- package/mixins.d.ts +0 -181
- package/svg/regular/plane.svg +0 -1
- package/svg/solid/plane.svg +0 -1
- package/test-utils/TestUtils.d.ts +0 -4
- package/test-utils/TestUtils.js +0 -12
- package/utils.d.ts +0 -20
- /package/{core/components/functional/functional.d.ts → src/core/components/functional/functional.ts} +0 -0
- /package/{core → src/core}/components/ui/theme/css/tailwind.css +0 -0
- /package/{core → src/core}/components/ui/theme/css/tailwind.d.ts +0 -0
package/build-infos.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"date":1712659216}
|
package/index.html
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Vite + Lit + TS</title>
|
|
8
|
+
<script type="module" src="/src/index.ts"></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<sonic-queue
|
|
12
|
+
lazyload
|
|
13
|
+
dataproviderexpression="api/users?page=$offset&per_page=$limit"
|
|
14
|
+
offset="2"
|
|
15
|
+
limit="5"
|
|
16
|
+
datafilterprovider="filter"
|
|
17
|
+
targetrequestduration="500"
|
|
18
|
+
serviceurl="https://reqres.in"
|
|
19
|
+
key="data"
|
|
20
|
+
debug
|
|
21
|
+
>
|
|
22
|
+
<template>
|
|
23
|
+
<div>
|
|
24
|
+
<div class="text-bold text-2xl mb-2">
|
|
25
|
+
<span data-bind ::inner-html="$first_name"></span>
|
|
26
|
+
<span data-bind ::inner-html="$last_name"></span>
|
|
27
|
+
</div>
|
|
28
|
+
<sonic-button
|
|
29
|
+
data-bind
|
|
30
|
+
::href="mailto|$email"
|
|
31
|
+
size="xs"
|
|
32
|
+
variant="outline"
|
|
33
|
+
>
|
|
34
|
+
Contact
|
|
35
|
+
</sonic-button>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div
|
|
39
|
+
class="border-0 border-t-2 border-t-neutral-200 w-full border-solid"
|
|
40
|
+
></div>
|
|
41
|
+
</template>
|
|
42
|
+
</sonic-queue>
|
|
43
|
+
</body>
|
|
44
|
+
</html>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
* ajouter les .js dans les imports de directives lit
|
|
2
|
+
|
|
3
|
+
* supprimer les .ts des imports :
|
|
4
|
+
chercher : import (.*?)\.ts";
|
|
5
|
+
remplacer par : import $1";
|
|
6
|
+
|
|
7
|
+
* redef les type dep a la billetterier (dans types, submit, messageSubscriber)
|
|
8
|
+
* suppimer "module" de publisher
|
|
9
|
+
* déclarer les methodes Intl manquantes dans format.ts
|
|
10
|
+
declare namespace Intl {
|
|
11
|
+
class ListFormat {
|
|
12
|
+
constructor(locale: string, options: any);
|
|
13
|
+
public format(list: string[]): string;
|
|
14
|
+
}
|
|
15
|
+
class NumberFormat {
|
|
16
|
+
constructor(locale: string, options: any);
|
|
17
|
+
public format(value: number): string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
package/package.json
CHANGED
|
@@ -1,296 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supersoniks/concorde",
|
|
3
|
-
"version": "
|
|
4
|
-
"customElements": "custom-elements.json",
|
|
3
|
+
"version": "3.0.0",
|
|
5
4
|
"license": "MIT",
|
|
6
|
-
"
|
|
7
|
-
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "vite --host 0.0.0.0 --port 3000",
|
|
9
|
+
"prebuild": "node scripts/prebuild.mjs",
|
|
10
|
+
"build": "tsc --build src/tsconfig.json && vite build"
|
|
8
11
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"chart.js": "^3.9.1",
|
|
16
|
-
"iframe-resizer": "^4.3.6",
|
|
17
|
-
"intl": "^1.2.5",
|
|
18
|
-
"jsbarcode": "^3.11.5",
|
|
19
|
-
"lit": "^3.0.0",
|
|
20
|
-
"marked": "^9.1.2",
|
|
21
|
-
"marked-gfm-heading-id": "^3.1.2",
|
|
22
|
-
"prettier": "^3.0.3",
|
|
23
|
-
"prismjs": "^1.29.0",
|
|
24
|
-
"typescript": "^5.2.2",
|
|
25
|
-
"url-pattern": "^1.0.3",
|
|
26
|
-
"vanilla-calendar-pro": "2.9.6"
|
|
12
|
+
"exports": {
|
|
13
|
+
"./core/components/ui/icon/icons.json": "./src/core/components/ui/icon/icons.json",
|
|
14
|
+
"./core/components/functional/sdui/default-library.json": "./src/core/components/functional/sdui/default-library.json",
|
|
15
|
+
"./*": "./src/*.ts",
|
|
16
|
+
"./vite-config": "./vite/config.js",
|
|
17
|
+
"./rollup-plugin-*": "./rollup/plugin-*.js"
|
|
27
18
|
},
|
|
28
19
|
"devDependencies": {
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@types/
|
|
33
|
-
"@types/
|
|
34
|
-
"@
|
|
35
|
-
"@typescript-eslint/parser": "^6.8.0",
|
|
36
|
-
"add": "^2.0.6",
|
|
37
|
-
"autoprefixer": "^10.4.5",
|
|
38
|
-
"eslint": "^8.32.0",
|
|
39
|
-
"eslint-config-prettier": "^9.0.0",
|
|
20
|
+
"@jest/globals": "^29.7.0",
|
|
21
|
+
"@lit-labs/motion": "^1.0.7",
|
|
22
|
+
"@lit-labs/observers": "^2.0.2",
|
|
23
|
+
"@types/intl": "^1.2.2",
|
|
24
|
+
"@types/jest": "^29.5.12",
|
|
25
|
+
"@types/node": "^20.12.4",
|
|
40
26
|
"intl": "^1.2.5",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"swagger-typescript-api": "^13.0.3",
|
|
46
|
-
"tailwindcss": "^3.0.23",
|
|
47
|
-
"ts-jest": "^29.0.5",
|
|
48
|
-
"ts-node": "^10.9.1",
|
|
49
|
-
"vite": "^4.5.0",
|
|
50
|
-
"vite-jest": "^0.1.4",
|
|
51
|
-
"yarn": "^1.22.19"
|
|
52
|
-
},
|
|
53
|
-
"exports": {
|
|
54
|
-
"./components": "./components.js",
|
|
55
|
-
"./concorde-loaded": "./concorde-loaded.js",
|
|
56
|
-
"./core/_types/types": "./core/_types/types.js",
|
|
57
|
-
"./core/components/functional/date/date": "./core/components/functional/date/date.js",
|
|
58
|
-
"./functional/date": "./core/components/functional/date/date.js",
|
|
59
|
-
"./core/components/functional/example/example": "./core/components/functional/example/example.js",
|
|
60
|
-
"./functional/example": "./core/components/functional/example/example.js",
|
|
61
|
-
"./core/components/functional/fetch/fetch": "./core/components/functional/fetch/fetch.js",
|
|
62
|
-
"./functional/fetch": "./core/components/functional/fetch/fetch.js",
|
|
63
|
-
"./core/components/functional/functional": "./core/components/functional/functional.js",
|
|
64
|
-
"./functional": "./core/components/functional/functional.js",
|
|
65
|
-
"./core/components/functional/if/if.test": "./core/components/functional/if/if.test.js",
|
|
66
|
-
"./functional/if/if.test": "./core/components/functional/if/if.test.js",
|
|
67
|
-
"./core/components/functional/if/if": "./core/components/functional/if/if.js",
|
|
68
|
-
"./functional/if": "./core/components/functional/if/if.js",
|
|
69
|
-
"./core/components/functional/list/list": "./core/components/functional/list/list.js",
|
|
70
|
-
"./functional/list": "./core/components/functional/list/list.js",
|
|
71
|
-
"./core/components/functional/mix/mix": "./core/components/functional/mix/mix.js",
|
|
72
|
-
"./functional/mix": "./core/components/functional/mix/mix.js",
|
|
73
|
-
"./core/components/functional/queue/queue": "./core/components/functional/queue/queue.js",
|
|
74
|
-
"./functional/queue": "./core/components/functional/queue/queue.js",
|
|
75
|
-
"./core/components/functional/router/redirect": "./core/components/functional/router/redirect.js",
|
|
76
|
-
"./functional/router/redirect": "./core/components/functional/router/redirect.js",
|
|
77
|
-
"./core/components/functional/router/router": "./core/components/functional/router/router.js",
|
|
78
|
-
"./functional/router": "./core/components/functional/router/router.js",
|
|
79
|
-
"./core/components/functional/sdui/SDUIDescriptorTransformer": "./core/components/functional/sdui/SDUIDescriptorTransformer.js",
|
|
80
|
-
"./functional/sdui/SDUIDescriptorTransformer": "./core/components/functional/sdui/SDUIDescriptorTransformer.js",
|
|
81
|
-
"./core/components/functional/sdui/default-library.json": "./core/components/functional/sdui/default-library.json",
|
|
82
|
-
"./functional/sdui/default-library.json": "./core/components/functional/sdui/default-library.json",
|
|
83
|
-
"./core/components/functional/sdui/example.json": "./core/components/functional/sdui/example.json",
|
|
84
|
-
"./functional/sdui/example.json": "./core/components/functional/sdui/example.json",
|
|
85
|
-
"./core/components/functional/sdui/sdui-utils": "./core/components/functional/sdui/sdui-utils.js",
|
|
86
|
-
"./functional/sdui/sdui-utils": "./core/components/functional/sdui/sdui-utils.js",
|
|
87
|
-
"./core/components/functional/sdui/sdui": "./core/components/functional/sdui/sdui.js",
|
|
88
|
-
"./functional/sdui": "./core/components/functional/sdui/sdui.js",
|
|
89
|
-
"./core/components/functional/sdui/types": "./core/components/functional/sdui/types.js",
|
|
90
|
-
"./functional/sdui/types": "./core/components/functional/sdui/types.js",
|
|
91
|
-
"./core/components/functional/sonic-scope/sonic-scope": "./core/components/functional/sonic-scope/sonic-scope.js",
|
|
92
|
-
"./functional/sonic-scope": "./core/components/functional/sonic-scope/sonic-scope.js",
|
|
93
|
-
"./core/components/functional/states/states": "./core/components/functional/states/states.js",
|
|
94
|
-
"./functional/states": "./core/components/functional/states/states.js",
|
|
95
|
-
"./core/components/functional/submit/submit": "./core/components/functional/submit/submit.js",
|
|
96
|
-
"./functional/submit": "./core/components/functional/submit/submit.js",
|
|
97
|
-
"./core/components/functional/subscriber/subscriber": "./core/components/functional/subscriber/subscriber.js",
|
|
98
|
-
"./functional/subscriber": "./core/components/functional/subscriber/subscriber.js",
|
|
99
|
-
"./core/components/functional/value/value": "./core/components/functional/value/value.js",
|
|
100
|
-
"./functional/value": "./core/components/functional/value/value.js",
|
|
101
|
-
"./core/components/ui/_css/scroll": "./core/components/ui/_css/scroll.js",
|
|
102
|
-
"./ui/_css/scroll": "./core/components/ui/_css/scroll.js",
|
|
103
|
-
"./core/components/ui/_css/size": "./core/components/ui/_css/size.js",
|
|
104
|
-
"./ui/_css/size": "./core/components/ui/_css/size.js",
|
|
105
|
-
"./core/components/ui/_css/type": "./core/components/ui/_css/type.js",
|
|
106
|
-
"./ui/_css/type": "./core/components/ui/_css/type.js",
|
|
107
|
-
"./core/components/ui/alert/alert": "./core/components/ui/alert/alert.js",
|
|
108
|
-
"./ui/alert": "./core/components/ui/alert/alert.js",
|
|
109
|
-
"./core/components/ui/badge/badge": "./core/components/ui/badge/badge.js",
|
|
110
|
-
"./ui/badge": "./core/components/ui/badge/badge.js",
|
|
111
|
-
"./core/components/ui/button/button": "./core/components/ui/button/button.js",
|
|
112
|
-
"./ui/button": "./core/components/ui/button/button.js",
|
|
113
|
-
"./core/components/ui/captcha/captcha": "./core/components/ui/captcha/captcha.js",
|
|
114
|
-
"./ui/captcha": "./core/components/ui/captcha/captcha.js",
|
|
115
|
-
"./core/components/ui/card/card-footer": "./core/components/ui/card/card-footer.js",
|
|
116
|
-
"./ui/card/card-footer": "./core/components/ui/card/card-footer.js",
|
|
117
|
-
"./core/components/ui/card/card-header-descripton": "./core/components/ui/card/card-header-descripton.js",
|
|
118
|
-
"./ui/card/card-header-descripton": "./core/components/ui/card/card-header-descripton.js",
|
|
119
|
-
"./core/components/ui/card/card-header": "./core/components/ui/card/card-header.js",
|
|
120
|
-
"./ui/card/card-header": "./core/components/ui/card/card-header.js",
|
|
121
|
-
"./core/components/ui/card/card-main": "./core/components/ui/card/card-main.js",
|
|
122
|
-
"./ui/card/card-main": "./core/components/ui/card/card-main.js",
|
|
123
|
-
"./core/components/ui/card/card": "./core/components/ui/card/card.js",
|
|
124
|
-
"./ui/card": "./core/components/ui/card/card.js",
|
|
125
|
-
"./core/components/ui/divider/divider": "./core/components/ui/divider/divider.js",
|
|
126
|
-
"./ui/divider": "./core/components/ui/divider/divider.js",
|
|
127
|
-
"./core/components/ui/form/checkbox/checkbox": "./core/components/ui/form/checkbox/checkbox.js",
|
|
128
|
-
"./ui/form/checkbox": "./core/components/ui/form/checkbox/checkbox.js",
|
|
129
|
-
"./core/components/ui/form/css/form-control": "./core/components/ui/form/css/form-control.js",
|
|
130
|
-
"./ui/form/css/form-control": "./core/components/ui/form/css/form-control.js",
|
|
131
|
-
"./core/components/ui/form/fieldset/fieldset": "./core/components/ui/form/fieldset/fieldset.js",
|
|
132
|
-
"./ui/form/fieldset": "./core/components/ui/form/fieldset/fieldset.js",
|
|
133
|
-
"./core/components/ui/form/fieldset/legend-description": "./core/components/ui/form/fieldset/legend-description.js",
|
|
134
|
-
"./ui/form/fieldset/legend-description": "./core/components/ui/form/fieldset/legend-description.js",
|
|
135
|
-
"./core/components/ui/form/fieldset/legend": "./core/components/ui/form/fieldset/legend.js",
|
|
136
|
-
"./ui/form/fieldset/legend": "./core/components/ui/form/fieldset/legend.js",
|
|
137
|
-
"./core/components/ui/form/form-actions/form-actions": "./core/components/ui/form/form-actions/form-actions.js",
|
|
138
|
-
"./ui/form/form-actions": "./core/components/ui/form/form-actions/form-actions.js",
|
|
139
|
-
"./core/components/ui/form/form-layout/form-layout": "./core/components/ui/form/form-layout/form-layout.js",
|
|
140
|
-
"./ui/form/form-layout": "./core/components/ui/form/form-layout/form-layout.js",
|
|
141
|
-
"./core/components/ui/form/input/input": "./core/components/ui/form/input/input.js",
|
|
142
|
-
"./ui/form/input": "./core/components/ui/form/input/input.js",
|
|
143
|
-
"./core/components/ui/form/input/password-helper": "./core/components/ui/form/input/password-helper.js",
|
|
144
|
-
"./ui/form/input/password-helper": "./core/components/ui/form/input/password-helper.js",
|
|
145
|
-
"./core/components/ui/form/input/same-value-helper": "./core/components/ui/form/input/same-value-helper.js",
|
|
146
|
-
"./ui/form/input/same-value-helper": "./core/components/ui/form/input/same-value-helper.js",
|
|
147
|
-
"./core/components/ui/form/input-autocomplete/input-autocomplete": "./core/components/ui/form/input-autocomplete/input-autocomplete.js",
|
|
148
|
-
"./ui/form/input-autocomplete": "./core/components/ui/form/input-autocomplete/input-autocomplete.js",
|
|
149
|
-
"./core/components/ui/form/radio/radio": "./core/components/ui/form/radio/radio.js",
|
|
150
|
-
"./ui/form/radio": "./core/components/ui/form/radio/radio.js",
|
|
151
|
-
"./core/components/ui/form/select/select": "./core/components/ui/form/select/select.js",
|
|
152
|
-
"./ui/form/select": "./core/components/ui/form/select/select.js",
|
|
153
|
-
"./core/components/ui/form/textarea/textarea": "./core/components/ui/form/textarea/textarea.js",
|
|
154
|
-
"./ui/form/textarea": "./core/components/ui/form/textarea/textarea.js",
|
|
155
|
-
"./core/components/ui/group/group": "./core/components/ui/group/group.js",
|
|
156
|
-
"./ui/group": "./core/components/ui/group/group.js",
|
|
157
|
-
"./core/components/ui/icon/icon": "./core/components/ui/icon/icon.js",
|
|
158
|
-
"./ui/icon": "./core/components/ui/icon/icon.js",
|
|
159
|
-
"./core/components/ui/icon/icons.json": "./core/components/ui/icon/icons.json",
|
|
160
|
-
"./ui/icon/icons.json": "./core/components/ui/icon/icons.json",
|
|
161
|
-
"./core/components/ui/icon/icons": "./core/components/ui/icon/icons.js",
|
|
162
|
-
"./ui/icon/icons": "./core/components/ui/icon/icons.js",
|
|
163
|
-
"./core/components/ui/image/image": "./core/components/ui/image/image.js",
|
|
164
|
-
"./ui/image": "./core/components/ui/image/image.js",
|
|
165
|
-
"./core/components/ui/link/link": "./core/components/ui/link/link.js",
|
|
166
|
-
"./ui/link": "./core/components/ui/link/link.js",
|
|
167
|
-
"./core/components/ui/loader/loader": "./core/components/ui/loader/loader.js",
|
|
168
|
-
"./ui/loader": "./core/components/ui/loader/loader.js",
|
|
169
|
-
"./core/components/ui/loader/styles/fixed": "./core/components/ui/loader/styles/fixed.js",
|
|
170
|
-
"./ui/loader/styles/fixed": "./core/components/ui/loader/styles/fixed.js",
|
|
171
|
-
"./core/components/ui/loader/styles/inline": "./core/components/ui/loader/styles/inline.js",
|
|
172
|
-
"./ui/loader/styles/inline": "./core/components/ui/loader/styles/inline.js",
|
|
173
|
-
"./core/components/ui/menu/menu-item": "./core/components/ui/menu/menu-item.js",
|
|
174
|
-
"./ui/menu/menu-item": "./core/components/ui/menu/menu-item.js",
|
|
175
|
-
"./core/components/ui/menu/menu": "./core/components/ui/menu/menu.js",
|
|
176
|
-
"./ui/menu": "./core/components/ui/menu/menu.js",
|
|
177
|
-
"./core/components/ui/modal/modal-actions": "./core/components/ui/modal/modal-actions.js",
|
|
178
|
-
"./ui/modal/modal-actions": "./core/components/ui/modal/modal-actions.js",
|
|
179
|
-
"./core/components/ui/modal/modal-close": "./core/components/ui/modal/modal-close.js",
|
|
180
|
-
"./ui/modal/modal-close": "./core/components/ui/modal/modal-close.js",
|
|
181
|
-
"./core/components/ui/modal/modal-content": "./core/components/ui/modal/modal-content.js",
|
|
182
|
-
"./ui/modal/modal-content": "./core/components/ui/modal/modal-content.js",
|
|
183
|
-
"./core/components/ui/modal/modal-subtitle": "./core/components/ui/modal/modal-subtitle.js",
|
|
184
|
-
"./ui/modal/modal-subtitle": "./core/components/ui/modal/modal-subtitle.js",
|
|
185
|
-
"./core/components/ui/modal/modal-title": "./core/components/ui/modal/modal-title.js",
|
|
186
|
-
"./ui/modal/modal-title": "./core/components/ui/modal/modal-title.js",
|
|
187
|
-
"./core/components/ui/modal/modal": "./core/components/ui/modal/modal.js",
|
|
188
|
-
"./ui/modal": "./core/components/ui/modal/modal.js",
|
|
189
|
-
"./core/components/ui/pop/pop": "./core/components/ui/pop/pop.js",
|
|
190
|
-
"./ui/pop": "./core/components/ui/pop/pop.js",
|
|
191
|
-
"./core/components/ui/progress/progress": "./core/components/ui/progress/progress.js",
|
|
192
|
-
"./ui/progress": "./core/components/ui/progress/progress.js",
|
|
193
|
-
"./core/components/ui/table/table-caption": "./core/components/ui/table/table-caption.js",
|
|
194
|
-
"./ui/table/table-caption": "./core/components/ui/table/table-caption.js",
|
|
195
|
-
"./core/components/ui/table/table-tbody": "./core/components/ui/table/table-tbody.js",
|
|
196
|
-
"./ui/table/table-tbody": "./core/components/ui/table/table-tbody.js",
|
|
197
|
-
"./core/components/ui/table/table-td": "./core/components/ui/table/table-td.js",
|
|
198
|
-
"./ui/table/table-td": "./core/components/ui/table/table-td.js",
|
|
199
|
-
"./core/components/ui/table/table-tfoot": "./core/components/ui/table/table-tfoot.js",
|
|
200
|
-
"./ui/table/table-tfoot": "./core/components/ui/table/table-tfoot.js",
|
|
201
|
-
"./core/components/ui/table/table-th": "./core/components/ui/table/table-th.js",
|
|
202
|
-
"./ui/table/table-th": "./core/components/ui/table/table-th.js",
|
|
203
|
-
"./core/components/ui/table/table-thead": "./core/components/ui/table/table-thead.js",
|
|
204
|
-
"./ui/table/table-thead": "./core/components/ui/table/table-thead.js",
|
|
205
|
-
"./core/components/ui/table/table-tr": "./core/components/ui/table/table-tr.js",
|
|
206
|
-
"./ui/table/table-tr": "./core/components/ui/table/table-tr.js",
|
|
207
|
-
"./core/components/ui/table/table": "./core/components/ui/table/table.js",
|
|
208
|
-
"./ui/table": "./core/components/ui/table/table.js",
|
|
209
|
-
"./core/components/ui/theme/theme-collection/core-variables": "./core/components/ui/theme/theme-collection/core-variables.js",
|
|
210
|
-
"./ui/theme/theme-collection/core-variables": "./core/components/ui/theme/theme-collection/core-variables.js",
|
|
211
|
-
"./core/components/ui/theme/theme-collection/dark": "./core/components/ui/theme/theme-collection/dark.js",
|
|
212
|
-
"./ui/theme/theme-collection/dark": "./core/components/ui/theme/theme-collection/dark.js",
|
|
213
|
-
"./core/components/ui/theme/theme-collection/light": "./core/components/ui/theme/theme-collection/light.js",
|
|
214
|
-
"./ui/theme/theme-collection/light": "./core/components/ui/theme/theme-collection/light.js",
|
|
215
|
-
"./core/components/ui/theme/theme": "./core/components/ui/theme/theme.js",
|
|
216
|
-
"./ui/theme": "./core/components/ui/theme/theme.js",
|
|
217
|
-
"./core/components/ui/toast/message-subscriber": "./core/components/ui/toast/message-subscriber.js",
|
|
218
|
-
"./ui/toast/message-subscriber": "./core/components/ui/toast/message-subscriber.js",
|
|
219
|
-
"./core/components/ui/toast/toast-item": "./core/components/ui/toast/toast-item.js",
|
|
220
|
-
"./ui/toast/toast-item": "./core/components/ui/toast/toast-item.js",
|
|
221
|
-
"./core/components/ui/toast/toast": "./core/components/ui/toast/toast.js",
|
|
222
|
-
"./ui/toast": "./core/components/ui/toast/toast.js",
|
|
223
|
-
"./core/components/ui/toast/types": "./core/components/ui/toast/types.js",
|
|
224
|
-
"./ui/toast/types": "./core/components/ui/toast/types.js",
|
|
225
|
-
"./core/components/ui/tooltip/tooltip": "./core/components/ui/tooltip/tooltip.js",
|
|
226
|
-
"./ui/tooltip": "./core/components/ui/tooltip/tooltip.js",
|
|
227
|
-
"./core/components/ui/ui": "./core/components/ui/ui.js",
|
|
228
|
-
"./ui": "./core/components/ui/ui.js",
|
|
229
|
-
"./core/core": "./core/core.js",
|
|
230
|
-
"./core": "./core/core.js",
|
|
231
|
-
"./core/decorators/Subscriber": "./core/decorators/Subscriber.js",
|
|
232
|
-
"./core/directives/DataProvider": "./core/directives/DataProvider.js",
|
|
233
|
-
"./core/directives/Wording": "./core/directives/Wording.js",
|
|
234
|
-
"./core/mixins/Fetcher": "./core/mixins/Fetcher.js",
|
|
235
|
-
"./mixins/Fetcher": "./core/mixins/Fetcher.js",
|
|
236
|
-
"./core/mixins/FormCheckable": "./core/mixins/FormCheckable.js",
|
|
237
|
-
"./mixins/FormCheckable": "./core/mixins/FormCheckable.js",
|
|
238
|
-
"./core/mixins/FormElement": "./core/mixins/FormElement.js",
|
|
239
|
-
"./mixins/FormElement": "./core/mixins/FormElement.js",
|
|
240
|
-
"./core/mixins/FormInput": "./core/mixins/FormInput.js",
|
|
241
|
-
"./mixins/FormInput": "./core/mixins/FormInput.js",
|
|
242
|
-
"./core/mixins/Subscriber": "./core/mixins/Subscriber.js",
|
|
243
|
-
"./mixins/Subscriber": "./core/mixins/Subscriber.js",
|
|
244
|
-
"./core/mixins/TemplatesContainer": "./core/mixins/TemplatesContainer.js",
|
|
245
|
-
"./mixins/TemplatesContainer": "./core/mixins/TemplatesContainer.js",
|
|
246
|
-
"./core/mixins/mixins": "./core/mixins/mixins.js",
|
|
247
|
-
"./mixins": "./mixins.js",
|
|
248
|
-
"./core/utils/Arrays": "./core/utils/Arrays.js",
|
|
249
|
-
"./utils/Arrays": "./core/utils/Arrays.js",
|
|
250
|
-
"./core/utils/DataBindObserver": "./core/utils/DataBindObserver.js",
|
|
251
|
-
"./utils/DataBindObserver": "./core/utils/DataBindObserver.js",
|
|
252
|
-
"./core/utils/Electron": "./core/utils/Electron.js",
|
|
253
|
-
"./utils/Electron": "./core/utils/Electron.js",
|
|
254
|
-
"./core/utils/Format": "./core/utils/Format.js",
|
|
255
|
-
"./utils/Format": "./core/utils/Format.js",
|
|
256
|
-
"./core/utils/HTML": "./core/utils/HTML.js",
|
|
257
|
-
"./utils/HTML": "./core/utils/HTML.js",
|
|
258
|
-
"./core/utils/LocationHandler": "./core/utils/LocationHandler.js",
|
|
259
|
-
"./utils/LocationHandler": "./core/utils/LocationHandler.js",
|
|
260
|
-
"./core/utils/Objects": "./core/utils/Objects.js",
|
|
261
|
-
"./utils/Objects": "./core/utils/Objects.js",
|
|
262
|
-
"./core/utils/PublisherProxy": "./core/utils/PublisherProxy.js",
|
|
263
|
-
"./utils/PublisherProxy": "./core/utils/PublisherProxy.js",
|
|
264
|
-
"./core/utils/Utils": "./core/utils/Utils.js",
|
|
265
|
-
"./utils/Utils": "./core/utils/Utils.js",
|
|
266
|
-
"./core/utils/api": "./core/utils/api.js",
|
|
267
|
-
"./utils/api": "./core/utils/api.js",
|
|
268
|
-
"./core/utils/url-pattern": "./core/utils/url-pattern.js",
|
|
269
|
-
"./utils/url-pattern": "./core/utils/url-pattern.js",
|
|
270
|
-
"./decorators": "./decorators.js",
|
|
271
|
-
"./directives": "./directives.js",
|
|
272
|
-
"./docs/code": "./docs/code.js",
|
|
273
|
-
"./docs/docs": "./docs/docs.js",
|
|
274
|
-
"./docs": "./docs.js",
|
|
275
|
-
"./docs/example/users": "./docs/example/users.js",
|
|
276
|
-
"./docs/navigation/navigation": "./docs/navigation/navigation.js",
|
|
277
|
-
"./docs/navigation": "./docs/navigation/navigation.js",
|
|
278
|
-
"./docs/prism/index": "./docs/prism/index.js",
|
|
279
|
-
"./docs/search/docs-search.json": "./docs/search/docs-search.json",
|
|
280
|
-
"./docs/search/markdown-renderer": "./docs/search/markdown-renderer.js",
|
|
281
|
-
"./docs/search/page": "./docs/search/page.js",
|
|
282
|
-
"./docs/search/search": "./docs/search/search.js",
|
|
283
|
-
"./docs/search": "./docs/search/search.js",
|
|
284
|
-
"./index-billetterie": "./index-billetterie.js",
|
|
285
|
-
"./index-customer": "./index-customer.js",
|
|
286
|
-
"./index-shared": "./index-shared.js",
|
|
287
|
-
"./index": "./index.js",
|
|
288
|
-
"./test-utils/TestUtils": "./test-utils/TestUtils.js",
|
|
289
|
-
"./utils": "./utils.js",
|
|
290
|
-
".": "./core/core"
|
|
291
|
-
},
|
|
292
|
-
"type": "module",
|
|
293
|
-
"bin": {
|
|
294
|
-
"concorde": "./cli.js"
|
|
27
|
+
"url-pattern": "^1.0.3",
|
|
28
|
+
"lit": "^3.0.0",
|
|
29
|
+
"typescript": "^5.4.3",
|
|
30
|
+
"vite": "^5.2.8"
|
|
295
31
|
}
|
|
296
32
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// console.log("hey");
|
|
2
|
+
|
|
3
|
+
import fs from "fs";
|
|
4
|
+
import path from "path";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Generates concorde icons from svgs
|
|
8
|
+
*/
|
|
9
|
+
console.log("🚀 Génération des Icones");
|
|
10
|
+
let icons = { core: {} };
|
|
11
|
+
let svgsPath = path.resolve("src/core/components/ui/icon/svgs");
|
|
12
|
+
let iconFiles = fs.readdirSync(svgsPath, { withFileTypes: true });
|
|
13
|
+
iconFiles.forEach((file) => {
|
|
14
|
+
let fileName = file.name.split(".")[0];
|
|
15
|
+
icons["core"][fileName] = fs
|
|
16
|
+
.readFileSync(svgsPath + "/" + file.name)
|
|
17
|
+
.toString();
|
|
18
|
+
});
|
|
19
|
+
fs.writeFileSync(
|
|
20
|
+
path.resolve("src/core/components/ui/icon/icons.json"),
|
|
21
|
+
JSON.stringify(icons)
|
|
22
|
+
);
|
|
@@ -4,8 +4,11 @@ import * as mySonicToast from "@supersoniks/concorde/core/components/ui/toast/to
|
|
|
4
4
|
export const SonicToast = mySonicToast.SonicToast;
|
|
5
5
|
import * as myModal from "@supersoniks/concorde/core/components/ui/modal/modal";
|
|
6
6
|
export const SonicModal = myModal.Modal;
|
|
7
|
+
import {ConcordeWindow} from "./core/_types/types";
|
|
8
|
+
declare const window: ConcordeWindow;
|
|
9
|
+
|
|
7
10
|
window["concorde-components"] = window["concorde-components"] || {};
|
|
8
11
|
window["concorde-components"] = {
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
SonicToast: SonicToast,
|
|
13
|
+
SonicModal: SonicModal,
|
|
11
14
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
2
|
+
|
|
3
|
+
import DataBindObserver from "@supersoniks/concorde/core/utils/DataBindObserver";
|
|
4
|
+
import Publisher from "../utils/PublisherProxy";
|
|
5
|
+
export type Message = {
|
|
6
|
+
type?: string;
|
|
7
|
+
content?: string;
|
|
8
|
+
status?: string;
|
|
9
|
+
};
|
|
10
|
+
export interface ConcordeWindow extends Window {
|
|
11
|
+
SonicPublisherManager: any; //{get: () => any; getInstance: () => PublisherManager};
|
|
12
|
+
SonicDataBindObserver: DataBindObserver;
|
|
13
|
+
PasswordCredential: new (options: {
|
|
14
|
+
id: string;
|
|
15
|
+
password: string;
|
|
16
|
+
}) => Credential;
|
|
17
|
+
grecaptcha: {
|
|
18
|
+
ready: (handler: () => void) => void;
|
|
19
|
+
execute: (key: string, options: { action: string }) => Promise<string>;
|
|
20
|
+
};
|
|
21
|
+
SonicModal: any;
|
|
22
|
+
SonicToast: any;
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
//any étant obligatoir pour les mixin on le masque par ce type.
|
|
27
|
+
export type MixinArgsType = any;
|
|
28
|
+
|
|
29
|
+
export type PrimitiveType =
|
|
30
|
+
| string
|
|
31
|
+
| number
|
|
32
|
+
| boolean
|
|
33
|
+
| bigint
|
|
34
|
+
| undefined
|
|
35
|
+
| null
|
|
36
|
+
| symbol;
|
|
37
|
+
|
|
38
|
+
export type PublisherInterface<T = PublisherContentType> = Publisher<T> & any;
|
|
39
|
+
|
|
40
|
+
export type CoreJSType =
|
|
41
|
+
| string
|
|
42
|
+
| number
|
|
43
|
+
| boolean
|
|
44
|
+
| null
|
|
45
|
+
| { [property: string | number | symbol]: CoreJSType }
|
|
46
|
+
| CoreJSType[];
|
|
47
|
+
|
|
48
|
+
export type TypeAndRecordOfType<U> = U & Record<string | number, U>;
|
|
49
|
+
|
|
50
|
+
export type PublisherContentType = unknown;
|
|
51
|
+
|
|
52
|
+
export type HTMLFormControl =
|
|
53
|
+
| HTMLInputElement
|
|
54
|
+
| HTMLSelectElement
|
|
55
|
+
| HTMLTextAreaElement;
|