@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.
@@ -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;
@@ -33,6 +33,8 @@ declare const __propDef: {
33
33
  sidebarRight: {};
34
34
  footer: {};
35
35
  };
36
+ exports?: {} | undefined;
37
+ bindings?: string | undefined;
36
38
  };
37
39
  export type AppShellProps = typeof __propDef.props;
38
40
  export type AppShellEvents = typeof __propDef.events;
@@ -28,6 +28,8 @@ declare const __propDef: {
28
28
  slots: {
29
29
  default: {};
30
30
  };
31
+ exports?: {} | undefined;
32
+ bindings?: string | undefined;
31
33
  };
32
34
  export type BackdropProps = typeof __propDef.props;
33
35
  export type BackdropEvents = typeof __propDef.events;
@@ -71,6 +71,8 @@ declare const __propDef: {
71
71
  slots: {
72
72
  default: {};
73
73
  };
74
+ exports?: undefined;
75
+ bindings?: undefined;
74
76
  };
75
77
  export type ButtonProps = typeof __propDef.props;
76
78
  export type ButtonEvents = typeof __propDef.events;
@@ -19,5 +19,7 @@ declare const __propDef: {
19
19
  [evt: string]: CustomEvent<any>;
20
20
  };
21
21
  slots: {};
22
+ exports?: undefined;
23
+ bindings?: undefined;
22
24
  };
23
25
  export {};
@@ -19,5 +19,7 @@ declare const __propDef: {
19
19
  [evt: string]: CustomEvent<any>;
20
20
  };
21
21
  slots: {};
22
+ exports?: undefined;
23
+ bindings?: undefined;
22
24
  };
23
25
  export {};
@@ -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;
@@ -25,6 +25,8 @@ declare const __propDef: {
25
25
  slots: {
26
26
  default: {};
27
27
  };
28
+ exports?: {} | undefined;
29
+ bindings?: string | undefined;
28
30
  };
29
31
  export type DrawerProps = typeof __propDef.props;
30
32
  export type DrawerEvents = 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;
@@ -90,6 +90,8 @@ declare const __propDef: {
90
90
  id: string;
91
91
  };
92
92
  };
93
+ exports?: undefined;
94
+ bindings?: undefined;
93
95
  };
94
96
  export type FieldProps = typeof __propDef.props;
95
97
  export type FieldEvents = typeof __propDef.events;
@@ -54,6 +54,8 @@ declare const __propDef: {
54
54
  slots: {
55
55
  description: {};
56
56
  };
57
+ exports?: {} | undefined;
58
+ bindings?: string | undefined;
57
59
  };
58
60
  export type FieldCheckboxProps = typeof __propDef.props;
59
61
  export type FieldCheckboxEvents = 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;
@@ -78,6 +78,8 @@ declare const __propDef: {
78
78
  id: string;
79
79
  };
80
80
  };
81
+ exports?: {} | undefined;
82
+ bindings?: string | undefined;
81
83
  };
82
84
  export type FieldSelectProps = typeof __propDef.props;
83
85
  export type FieldSelectEvents = typeof __propDef.events;
@@ -17,6 +17,8 @@ declare const __propDef: {
17
17
  slots: {
18
18
  default: {};
19
19
  };
20
+ exports?: {} | undefined;
21
+ bindings?: string | undefined;
20
22
  };
21
23
  export type FieldsetProps = typeof __propDef.props;
22
24
  export type FieldsetEvents = 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;
@@ -23,6 +23,8 @@ declare const __propDef: {
23
23
  slots: {
24
24
  default: {};
25
25
  };
26
+ exports?: {} | undefined;
27
+ bindings?: string | undefined;
26
28
  };
27
29
  export type ModalDialogProps = typeof __propDef.props;
28
30
  export type ModalDialogEvents = 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;
@@ -11,6 +11,8 @@ declare const __propDef: {
11
11
  default: {};
12
12
  popover: {};
13
13
  };
14
+ exports?: {} | undefined;
15
+ bindings?: string | undefined;
14
16
  };
15
17
  export type PopoverProps = typeof __propDef.props;
16
18
  export type PopoverEvents = typeof __propDef.events;
@@ -56,6 +56,8 @@ declare const __propDef: {
56
56
  on: {};
57
57
  off: {};
58
58
  };
59
+ exports?: {} | undefined;
60
+ bindings?: string | undefined;
59
61
  };
60
62
  export type SwitchProps = typeof __propDef.props;
61
63
  export type SwitchEvents = 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 _filter(thc)}{:else}{_filter(thc)}{/if}
11
+ {#if forceAsHtml}{@html thc}{:else}{thc}{/if}
14
12
  {:else if thc?.text}
15
- {#if forceAsHtml}{@html _filter(thc.text)}{:else}{_filter(thc.text)}{/if}
13
+ {#if forceAsHtml}{@html thc.text}{:else}{thc.text}{/if}
16
14
  {:else if thc?.html}
17
- {@html _filter(thc.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
- {_filter(thc)}
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;
@@ -8,6 +8,8 @@ declare const __propDef: {
8
8
  [evt: string]: CustomEvent<any>;
9
9
  };
10
10
  slots: {};
11
+ exports?: {} | undefined;
12
+ bindings?: string | undefined;
11
13
  };
12
14
  export type XProps = typeof __propDef.props;
13
15
  export type XEvents = typeof __propDef.events;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.102.0",
3
+ "version": "1.104.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package && node ./scripts/date.js",