@supersoniks/concorde 1.1.39 → 1.1.40
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/README.md +0 -0
- package/cli.js +0 -0
- package/components.d.ts +0 -0
- package/components.js +0 -0
- package/concorde-core.bundle.js +4 -4
- package/concorde-core.es.js +22 -40
- package/core/components/functional/configuration/configuration.d.ts +0 -0
- package/core/components/functional/configuration/configuration.js +0 -0
- package/core/components/functional/date/date.d.ts +0 -0
- package/core/components/functional/date/date.js +0 -0
- package/core/components/functional/example/example.d.ts +0 -0
- package/core/components/functional/example/example.js +0 -0
- package/core/components/functional/fetch/fetch.d.ts +1 -0
- package/core/components/functional/fetch/fetch.js +0 -0
- package/core/components/functional/functional.d.ts +0 -0
- package/core/components/functional/functional.js +0 -0
- package/core/components/functional/if/if.d.ts +0 -0
- package/core/components/functional/if/if.js +0 -0
- package/core/components/functional/list/list.d.ts +1 -0
- package/core/components/functional/list/list.js +0 -0
- package/core/components/functional/queue/queue.d.ts +0 -3
- package/core/components/functional/queue/queue.js +1 -18
- package/core/components/functional/router/redirect.d.ts +0 -0
- package/core/components/functional/router/redirect.js +0 -0
- package/core/components/functional/router/router.d.ts +0 -0
- package/core/components/functional/router/router.js +0 -0
- package/core/components/functional/sdui/sdui.d.ts +1 -0
- package/core/components/functional/sdui/sdui.js +0 -0
- package/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -0
- package/core/components/functional/sonic-scope/sonic-scope.js +0 -0
- package/core/components/functional/states/states.d.ts +0 -0
- package/core/components/functional/states/states.js +0 -0
- package/core/components/functional/submit/submit.d.ts +0 -0
- package/core/components/functional/submit/submit.js +0 -0
- package/core/components/functional/subscriber/subscriber.d.ts +0 -0
- package/core/components/functional/subscriber/subscriber.js +0 -0
- package/core/components/ui/_css/scroll.d.ts +0 -0
- package/core/components/ui/_css/scroll.js +0 -0
- package/core/components/ui/_css/size.d.ts +0 -0
- package/core/components/ui/_css/size.js +0 -0
- package/core/components/ui/_css/type.d.ts +0 -0
- package/core/components/ui/_css/type.js +0 -0
- package/core/components/ui/alert/alert.d.ts +0 -0
- package/core/components/ui/alert/alert.js +9 -11
- package/core/components/ui/badge/badge.d.ts +0 -0
- package/core/components/ui/badge/badge.js +0 -0
- package/core/components/ui/button/button.d.ts +1 -0
- package/core/components/ui/button/button.js +0 -0
- package/core/components/ui/captcha/captcha.d.ts +0 -0
- package/core/components/ui/captcha/captcha.js +0 -0
- package/core/components/ui/card/card-footer.d.ts +0 -0
- package/core/components/ui/card/card-footer.js +0 -0
- package/core/components/ui/card/card-header-descripton.d.ts +0 -0
- package/core/components/ui/card/card-header-descripton.js +0 -0
- package/core/components/ui/card/card-header.d.ts +1 -1
- package/core/components/ui/card/card-header.js +11 -10
- package/core/components/ui/card/card-main.d.ts +0 -0
- package/core/components/ui/card/card-main.js +0 -0
- package/core/components/ui/card/card.d.ts +0 -0
- package/core/components/ui/card/card.js +0 -0
- package/core/components/ui/divider/divider.d.ts +0 -0
- package/core/components/ui/divider/divider.js +3 -2
- package/core/components/ui/form/checkbox/checkbox.d.ts +2 -0
- package/core/components/ui/form/checkbox/checkbox.js +3 -2
- package/core/components/ui/form/css/form-control.d.ts +0 -0
- package/core/components/ui/form/css/form-control.js +0 -0
- package/core/components/ui/form/fieldset/fieldset.d.ts +0 -0
- package/core/components/ui/form/fieldset/fieldset.js +0 -0
- package/core/components/ui/form/fieldset/legend-description.d.ts +0 -0
- package/core/components/ui/form/fieldset/legend-description.js +0 -0
- package/core/components/ui/form/fieldset/legend.d.ts +0 -0
- package/core/components/ui/form/fieldset/legend.js +5 -2
- package/core/components/ui/form/form-actions/form-actions.d.ts +0 -0
- package/core/components/ui/form/form-actions/form-actions.js +0 -0
- package/core/components/ui/form/form-layout/form-layout.d.ts +0 -0
- package/core/components/ui/form/form-layout/form-layout.js +0 -0
- package/core/components/ui/form/input/input.d.ts +11 -0
- package/core/components/ui/form/input/input.js +3 -2
- package/core/components/ui/form/radio/radio.d.ts +0 -0
- package/core/components/ui/form/radio/radio.js +0 -0
- package/core/components/ui/form/select/select.d.ts +0 -0
- package/core/components/ui/form/select/select.js +3 -2
- package/core/components/ui/form/textarea/textarea.d.ts +1 -0
- package/core/components/ui/form/textarea/textarea.js +3 -2
- package/core/components/ui/group/group.d.ts +0 -0
- package/core/components/ui/group/group.js +0 -0
- package/core/components/ui/icon/icon.d.ts +0 -0
- package/core/components/ui/icon/icon.js +0 -0
- package/core/components/ui/icon/icons.d.ts +0 -0
- package/core/components/ui/icon/icons.js +0 -0
- package/core/components/ui/icon/icons.json +0 -0
- package/core/components/ui/image/image.d.ts +0 -0
- package/core/components/ui/image/image.js +0 -0
- package/core/components/ui/link/link.d.ts +0 -0
- package/core/components/ui/link/link.js +0 -0
- package/core/components/ui/loader/loader.d.ts +0 -0
- package/core/components/ui/loader/loader.js +0 -0
- package/core/components/ui/loader/styles/fixed.d.ts +0 -0
- package/core/components/ui/loader/styles/fixed.js +0 -0
- package/core/components/ui/loader/styles/inline.d.ts +0 -0
- package/core/components/ui/loader/styles/inline.js +0 -0
- package/core/components/ui/menu/menu-item.d.ts +0 -0
- package/core/components/ui/menu/menu-item.js +0 -0
- package/core/components/ui/menu/menu.d.ts +0 -0
- package/core/components/ui/menu/menu.js +0 -0
- package/core/components/ui/modal/modal-actions.d.ts +0 -0
- package/core/components/ui/modal/modal-actions.js +0 -0
- package/core/components/ui/modal/modal-close.d.ts +0 -0
- package/core/components/ui/modal/modal-close.js +0 -0
- package/core/components/ui/modal/modal-content.d.ts +0 -0
- package/core/components/ui/modal/modal-content.js +0 -0
- package/core/components/ui/modal/modal-subtitle.d.ts +0 -0
- package/core/components/ui/modal/modal-subtitle.js +0 -0
- package/core/components/ui/modal/modal-title.d.ts +0 -0
- package/core/components/ui/modal/modal-title.js +0 -0
- package/core/components/ui/modal/modal.d.ts +0 -0
- package/core/components/ui/modal/modal.js +0 -0
- package/core/components/ui/pop/pop.d.ts +0 -0
- package/core/components/ui/pop/pop.js +0 -0
- package/core/components/ui/progress/progress.d.ts +0 -0
- package/core/components/ui/progress/progress.js +0 -0
- package/core/components/ui/table/table-caption.d.ts +0 -0
- package/core/components/ui/table/table-caption.js +0 -0
- package/core/components/ui/table/table-tbody.d.ts +0 -0
- package/core/components/ui/table/table-tbody.js +0 -0
- package/core/components/ui/table/table-td.d.ts +0 -0
- package/core/components/ui/table/table-td.js +0 -0
- package/core/components/ui/table/table-tfoot.d.ts +0 -0
- package/core/components/ui/table/table-tfoot.js +0 -0
- package/core/components/ui/table/table-th.d.ts +0 -0
- package/core/components/ui/table/table-th.js +0 -0
- package/core/components/ui/table/table-thead.d.ts +0 -0
- package/core/components/ui/table/table-thead.js +0 -0
- package/core/components/ui/table/table-tr.d.ts +0 -0
- package/core/components/ui/table/table-tr.js +0 -0
- package/core/components/ui/table/table.d.ts +0 -0
- package/core/components/ui/table/table.js +0 -0
- package/core/components/ui/tabs/tab.d.ts +0 -0
- package/core/components/ui/tabs/tab.js +0 -0
- package/core/components/ui/tabs/tabs.d.ts +0 -0
- package/core/components/ui/tabs/tabs.js +0 -0
- package/core/components/ui/taxonomy/taxonomy.d.ts +0 -0
- package/core/components/ui/taxonomy/taxonomy.js +0 -0
- package/core/components/ui/theme/css/tailwind.css +0 -0
- package/core/components/ui/theme/css/tailwind.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/core-variables.js +0 -0
- package/core/components/ui/theme/theme-collection/dark.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/dark.js +0 -0
- package/core/components/ui/theme/theme-collection/light.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/light.js +0 -0
- package/core/components/ui/theme/theme.d.ts +0 -0
- package/core/components/ui/theme/theme.js +0 -0
- package/core/components/ui/toast/message-subscriber.d.ts +0 -0
- package/core/components/ui/toast/message-subscriber.js +0 -0
- package/core/components/ui/toast/toast-item.d.ts +0 -0
- package/core/components/ui/toast/toast-item.js +0 -0
- package/core/components/ui/toast/toast.d.ts +0 -0
- package/core/components/ui/toast/toast.js +0 -0
- package/core/components/ui/toast/types.d.ts +0 -0
- package/core/components/ui/toast/types.js +0 -0
- package/core/components/ui/tooltip/tooltip.d.ts +0 -0
- package/core/components/ui/tooltip/tooltip.js +0 -0
- package/core/components/ui/ui.d.ts +0 -0
- package/core/components/ui/ui.js +0 -0
- package/core/core.d.ts +0 -0
- package/core/core.js +0 -0
- package/core/mixins/Fetcher.d.ts +1 -0
- package/core/mixins/Fetcher.js +0 -0
- package/core/mixins/FormCheckable.d.ts +2 -3
- package/core/mixins/FormCheckable.js +0 -0
- package/core/mixins/FormElement.d.ts +0 -0
- package/core/mixins/FormElement.js +0 -0
- package/core/mixins/FormInput.d.ts +1 -0
- package/core/mixins/FormInput.js +0 -0
- package/core/mixins/Subscriber.d.ts +1 -0
- package/core/mixins/Subscriber.js +10 -12
- package/core/mixins/TemplatesContainer.d.ts +0 -0
- package/core/mixins/TemplatesContainer.js +0 -0
- package/core/mixins/mixins.d.ts +0 -0
- package/core/mixins/mixins.js +0 -0
- package/core/utils/Arrays.d.ts +0 -0
- package/core/utils/Arrays.js +0 -0
- package/core/utils/DataBindObserver.d.ts +0 -0
- package/core/utils/DataBindObserver.js +0 -0
- package/core/utils/Electron.d.ts +0 -0
- package/core/utils/Electron.js +0 -0
- package/core/utils/Format.d.ts +0 -0
- package/core/utils/Format.js +0 -0
- package/core/utils/HTML.d.ts +0 -0
- package/core/utils/HTML.js +0 -0
- package/core/utils/LocationHandler.d.ts +0 -0
- package/core/utils/LocationHandler.js +0 -0
- package/core/utils/Objects.d.ts +0 -0
- package/core/utils/Objects.js +0 -0
- package/core/utils/PublisherProxy.d.mts +0 -0
- package/core/utils/PublisherProxy.mjs +0 -0
- package/core/utils/api.d.ts +0 -0
- package/core/utils/api.js +0 -0
- package/mixins.d.ts +3 -0
- package/mixins.js +0 -0
- package/package.json +1 -1
- package/utils.d.ts +0 -0
- package/utils.js +0 -0
|
@@ -13,6 +13,7 @@ export interface SubscriberInterface {
|
|
|
13
13
|
noShadowDom: string | null;
|
|
14
14
|
debug: HTMLElement | null;
|
|
15
15
|
defferedDebug: boolean | null;
|
|
16
|
+
displayContents: boolean;
|
|
16
17
|
dispatchEvent(event: Event): void;
|
|
17
18
|
setAttribute(name: string, value: string): void;
|
|
18
19
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -46,6 +46,7 @@ const Subscriber = (superClass) => {
|
|
|
46
46
|
class SubscriberElement extends superClass {
|
|
47
47
|
constructor(...args) {
|
|
48
48
|
super();
|
|
49
|
+
this.displayContents = false;
|
|
49
50
|
/**
|
|
50
51
|
* noAutoFill permet de désactiver le remplissage automatique des propriétés par le publisher dans le cas ou on utilise "props" seulement ou le dataBinding par exemple
|
|
51
52
|
*/
|
|
@@ -130,18 +131,12 @@ const Subscriber = (superClass) => {
|
|
|
130
131
|
}
|
|
131
132
|
updated(_changedProperties) {
|
|
132
133
|
super.updated(_changedProperties);
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
else {
|
|
140
|
-
if (this.children.length == 0)
|
|
141
|
-
this.style.display = "none";
|
|
142
|
-
else
|
|
143
|
-
this.style.removeProperty("display");
|
|
144
|
-
}
|
|
134
|
+
let ref = this.shadowRoot || this;
|
|
135
|
+
let display = this.displayContents ? "contents" : ref.children.length == 0 ? "none" : null;
|
|
136
|
+
if (display)
|
|
137
|
+
this.style.display = display;
|
|
138
|
+
else
|
|
139
|
+
this.style.removeProperty("display");
|
|
145
140
|
}
|
|
146
141
|
connectedCallback() {
|
|
147
142
|
if (this.hasAttribute("lazyRendering")) {
|
|
@@ -359,6 +354,9 @@ const Subscriber = (superClass) => {
|
|
|
359
354
|
}
|
|
360
355
|
}
|
|
361
356
|
SubscriberElement.instanceCounter = 0;
|
|
357
|
+
__decorate([
|
|
358
|
+
property({ type: Boolean })
|
|
359
|
+
], SubscriberElement.prototype, "displayContents", void 0);
|
|
362
360
|
__decorate([
|
|
363
361
|
property({ type: Boolean })
|
|
364
362
|
], SubscriberElement.prototype, "noAutoFill", void 0);
|
|
File without changes
|
|
File without changes
|
package/core/mixins/mixins.d.ts
CHANGED
|
File without changes
|
package/core/mixins/mixins.js
CHANGED
|
File without changes
|
package/core/utils/Arrays.d.ts
CHANGED
|
File without changes
|
package/core/utils/Arrays.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/Electron.d.ts
CHANGED
|
File without changes
|
package/core/utils/Electron.js
CHANGED
|
File without changes
|
package/core/utils/Format.d.ts
CHANGED
|
File without changes
|
package/core/utils/Format.js
CHANGED
|
File without changes
|
package/core/utils/HTML.d.ts
CHANGED
|
File without changes
|
package/core/utils/HTML.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/Objects.d.ts
CHANGED
|
File without changes
|
package/core/utils/Objects.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/api.d.ts
CHANGED
|
File without changes
|
package/core/utils/api.js
CHANGED
|
File without changes
|
package/mixins.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const Fetcher: <T extends new (...args: any[]) => mySubscriber.Su
|
|
|
26
26
|
noShadowDom: string | null;
|
|
27
27
|
debug: HTMLElement | null;
|
|
28
28
|
defferedDebug: boolean | null;
|
|
29
|
+
displayContents: boolean;
|
|
29
30
|
dispatchEvent(event: Event): void;
|
|
30
31
|
setAttribute(name: string, value: string): void;
|
|
31
32
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
@@ -74,6 +75,7 @@ export declare const FormCheckable: <T extends new (...args: any[]) => myFormEle
|
|
|
74
75
|
noShadowDom: string | null;
|
|
75
76
|
debug: HTMLElement | null;
|
|
76
77
|
defferedDebug: boolean | null;
|
|
78
|
+
displayContents: boolean;
|
|
77
79
|
dispatchEvent(event: Event): void;
|
|
78
80
|
setAttribute(name: string, value: string): void;
|
|
79
81
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
@@ -126,6 +128,7 @@ export declare const FormInput: <T extends new (...args: any[]) => myFormElement
|
|
|
126
128
|
noShadowDom: string | null;
|
|
127
129
|
debug: HTMLElement | null;
|
|
128
130
|
defferedDebug: boolean | null;
|
|
131
|
+
displayContents: boolean;
|
|
129
132
|
dispatchEvent(event: Event): void;
|
|
130
133
|
setAttribute(name: string, value: string): void;
|
|
131
134
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
package/mixins.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/utils.d.ts
CHANGED
|
File without changes
|
package/utils.js
CHANGED
|
File without changes
|