@marianmeres/stuic 1.102.0 → 1.104.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/dist/components/AlertConfirmPrompt/AlertConfirmPrompt.svelte.d.ts +2 -0
- package/dist/components/AppShell/AppShell.svelte.d.ts +2 -0
- package/dist/components/Backdrop/Backdrop.svelte.d.ts +2 -0
- package/dist/components/Button/Button.svelte.d.ts +2 -0
- package/dist/components/ColorScheme/LocalColorScheme.svelte.d.ts +2 -0
- package/dist/components/ColorScheme/SystemAwareColorScheme.svelte.d.ts +2 -0
- package/dist/components/DismissibleMessage/DismissibleMessage.svelte.d.ts +2 -0
- package/dist/components/Drawer/Drawer.svelte.d.ts +2 -0
- package/dist/components/HoverExpandableWidth/HoverExpandableWidth.svelte.d.ts +2 -0
- package/dist/components/Input/Field.svelte.d.ts +2 -0
- package/dist/components/Input/FieldCheckbox.svelte.d.ts +2 -0
- package/dist/components/Input/FieldRadios.svelte.d.ts +2 -0
- package/dist/components/Input/FieldSelect.svelte.d.ts +2 -0
- package/dist/components/Input/Fieldset.svelte.d.ts +2 -0
- package/dist/components/Input/XFieldRadioInternal.svelte.d.ts +2 -0
- package/dist/components/ModalDialog/ModalDialog.svelte.d.ts +2 -0
- package/dist/components/Notifications/Notifications.svelte.d.ts +2 -0
- package/dist/components/Popover/Popover.svelte.d.ts +2 -0
- package/dist/components/Switch/Switch.svelte.d.ts +2 -0
- package/dist/components/Thc/Thc.svelte +4 -6
- package/dist/components/Thc/Thc.svelte.d.ts +2 -1
- package/dist/components/X/X.svelte.d.ts +2 -0
- package/package.json +1 -1
|
@@ -90,6 +90,8 @@ declare const __propDef: {
|
|
|
90
90
|
[evt: string]: CustomEvent<any>;
|
|
91
91
|
};
|
|
92
92
|
slots: {};
|
|
93
|
+
exports?: {} | undefined;
|
|
94
|
+
bindings?: string | undefined;
|
|
93
95
|
};
|
|
94
96
|
export type AlertConfirmPromptProps = typeof __propDef.props;
|
|
95
97
|
export type AlertConfirmPromptEvents = typeof __propDef.events;
|
|
@@ -27,6 +27,8 @@ declare const __propDef: {
|
|
|
27
27
|
[evt: string]: CustomEvent<any>;
|
|
28
28
|
};
|
|
29
29
|
slots: {};
|
|
30
|
+
exports?: {} | undefined;
|
|
31
|
+
bindings?: string | undefined;
|
|
30
32
|
};
|
|
31
33
|
export type DismissibleMessageProps = typeof __propDef.props;
|
|
32
34
|
export type DismissibleMessageEvents = typeof __propDef.events;
|
|
@@ -23,6 +23,8 @@ declare const __propDef: {
|
|
|
23
23
|
inTransition: boolean;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
+
exports?: {} | undefined;
|
|
27
|
+
bindings?: string | undefined;
|
|
26
28
|
};
|
|
27
29
|
export type HoverExpandableWidthProps = typeof __propDef.props;
|
|
28
30
|
export type HoverExpandableWidthEvents = typeof __propDef.events;
|
|
@@ -51,6 +51,8 @@ declare const __propDef: {
|
|
|
51
51
|
[evt: string]: CustomEvent<any>;
|
|
52
52
|
};
|
|
53
53
|
slots: {};
|
|
54
|
+
exports?: {} | undefined;
|
|
55
|
+
bindings?: string | undefined;
|
|
54
56
|
};
|
|
55
57
|
export type FieldRadiosProps = typeof __propDef.props;
|
|
56
58
|
export type FieldRadiosEvents = typeof __propDef.events;
|
|
@@ -34,6 +34,8 @@ declare const __propDef: {
|
|
|
34
34
|
[evt: string]: CustomEvent<any>;
|
|
35
35
|
};
|
|
36
36
|
slots: {};
|
|
37
|
+
exports?: {} | undefined;
|
|
38
|
+
bindings?: string | undefined;
|
|
37
39
|
};
|
|
38
40
|
export type XFieldRadioInternalProps = typeof __propDef.props;
|
|
39
41
|
export type XFieldRadioInternalEvents = typeof __propDef.events;
|
|
@@ -43,6 +43,8 @@ declare const __propDef: {
|
|
|
43
43
|
[evt: string]: CustomEvent<any>;
|
|
44
44
|
};
|
|
45
45
|
slots: {};
|
|
46
|
+
exports?: {} | undefined;
|
|
47
|
+
bindings?: string | undefined;
|
|
46
48
|
};
|
|
47
49
|
export type NotificationsProps = typeof __propDef.props;
|
|
48
50
|
export type NotificationsEvents = typeof __propDef.events;
|
|
@@ -5,21 +5,19 @@ export const isTHCNotEmpty = (m) => _is(m) || _is(m?.text) || _is(m?.html) || m?
|
|
|
5
5
|
<script>export let thc;
|
|
6
6
|
export let forceAsHtml = false;
|
|
7
7
|
export let allowCastToStringFallback = true;
|
|
8
|
-
export let filter = void 0;
|
|
9
|
-
const _filter = (s) => typeof filter === "function" ? filter(s) : s;
|
|
10
8
|
</script>
|
|
11
9
|
|
|
12
10
|
{#if typeof thc === 'string'}
|
|
13
|
-
{#if forceAsHtml}{@html
|
|
11
|
+
{#if forceAsHtml}{@html thc}{:else}{thc}{/if}
|
|
14
12
|
{:else if thc?.text}
|
|
15
|
-
{#if forceAsHtml}{@html
|
|
13
|
+
{#if forceAsHtml}{@html thc.text}{:else}{thc.text}{/if}
|
|
16
14
|
{:else if thc?.html}
|
|
17
|
-
{@html
|
|
15
|
+
{@html thc.html}
|
|
18
16
|
{:else if thc?.component}
|
|
19
17
|
<svelte:component this={thc.component} {...thc?.props || {}} {...$$restProps || {}} />
|
|
20
18
|
{:else if allowCastToStringFallback}
|
|
21
19
|
<!-- cast to string as the last resort (if enabled) -->
|
|
22
|
-
{
|
|
20
|
+
{thc}
|
|
23
21
|
{:else}
|
|
24
22
|
<!-- silence -->
|
|
25
23
|
{/if}
|
|
@@ -17,12 +17,13 @@ declare const __propDef: {
|
|
|
17
17
|
thc: THC;
|
|
18
18
|
forceAsHtml?: boolean | undefined;
|
|
19
19
|
allowCastToStringFallback?: boolean | undefined;
|
|
20
|
-
filter?: undefined | ((s: string) => string);
|
|
21
20
|
};
|
|
22
21
|
events: {
|
|
23
22
|
[evt: string]: CustomEvent<any>;
|
|
24
23
|
};
|
|
25
24
|
slots: {};
|
|
25
|
+
exports?: undefined;
|
|
26
|
+
bindings?: undefined;
|
|
26
27
|
};
|
|
27
28
|
export type ThcProps = typeof __propDef.props;
|
|
28
29
|
export type ThcEvents = typeof __propDef.events;
|