@ticatec/uniface-element 0.1.22 → 0.1.23
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.
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
</script>
|
|
38
38
|
<CommonEditor {displayMode} {style} {value} {suffix} {prefix} {readonly} {variant} {compact} class={className}
|
|
39
|
-
hasLeadingIcon={$$slots['leading-icon']} hasTrailingIcon={$$slots['trailing-icon']}
|
|
39
|
+
hasLeadingIcon={$$slots['leading-icon']!=null} hasTrailingIcon={$$slots['trailing-icon']!=null}
|
|
40
40
|
showActionIcon={removable && !readonly && !disabled && value != null} {clean}>
|
|
41
41
|
<svelte:fragment slot="leading-icon">
|
|
42
42
|
{#if $$slots['leading-icon']}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
</script>
|
|
49
49
|
<CommonEditor {displayMode} {style} {value} {suffix} {prefix} {readonly} {disabled} {variant} {compact}
|
|
50
|
-
hasLeadingIcon={$$slots['leading-icon']} hasTrailingIcon={$$slots['trailing-icon']}
|
|
50
|
+
hasLeadingIcon={$$slots['leading-icon']!=null} hasTrailingIcon={$$slots['trailing-icon']!=null}
|
|
51
51
|
showActionIcon={!readonly && !disabled && removable && value?.length > 0} placeholder={input$['placeholder']}
|
|
52
52
|
class={className} clean={clean}>
|
|
53
53
|
<svelte:fragment slot="leading-icon">
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
|
|
172
172
|
</script>
|
|
173
173
|
<CommonEditor {displayMode} {style} value={toTimeText(value)} {suffix} {prefix} {disabled} {readonly} {variant} {compact} class={className}
|
|
174
|
-
hasLeadingIcon={$$slots['leading-icon']} hasTrailingIcon={$$slots['trailing-icon']}
|
|
174
|
+
hasLeadingIcon={$$slots['leading-icon']!=null} hasTrailingIcon={$$slots['trailing-icon']!=null}
|
|
175
175
|
showActionIcon={textValue!=emptyStr} clean={handleDeleteButton}>
|
|
176
176
|
<svelte:fragment slot="leading-icon">
|
|
177
177
|
{#if $$slots['leading-icon']}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
<div bind:this={divPanel}>
|
|
100
100
|
<CommonEditor {displayMode} {style} {value} {prefix} suffix={unit?.text??unit?.code} {readonly} {variant} {compact} class={className}
|
|
101
|
-
hasLeadingIcon={$$slots['leading-icon']}
|
|
101
|
+
hasLeadingIcon={$$slots['leading-icon']!=null}
|
|
102
102
|
showActionIcon={removable && !readonly && !disabled && value != null} {clean}>
|
|
103
103
|
<svelte:fragment slot="leading-icon">
|
|
104
104
|
{#if $$slots['leading-icon']}
|