intelliwaketssveltekitv25 0.1.178 → 0.1.180
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/Modal.svelte +6 -2
- package/dist/Modal.svelte.d.ts +2 -0
- package/dist/MultiSelect.svelte +6 -2
- package/package.json +1 -1
package/dist/Modal.svelte
CHANGED
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
class: clazz = '',
|
|
38
38
|
color,
|
|
39
39
|
classHeader = '',
|
|
40
|
+
classBody = '',
|
|
41
|
+
classFooter = '',
|
|
40
42
|
classButton = '',
|
|
41
43
|
borderFooter = true,
|
|
42
44
|
onOK = () => {
|
|
@@ -72,6 +74,8 @@
|
|
|
72
74
|
okColor?: string
|
|
73
75
|
color?: string
|
|
74
76
|
classHeader?: string
|
|
77
|
+
classBody?: string
|
|
78
|
+
classFooter?: string
|
|
75
79
|
classButton?: string
|
|
76
80
|
borderFooter?: boolean
|
|
77
81
|
onOK?: () => void
|
|
@@ -243,7 +247,7 @@
|
|
|
243
247
|
</div>
|
|
244
248
|
{/if}
|
|
245
249
|
</h4>
|
|
246
|
-
<fieldset class='px-4 pb-6 dialogBody overflow-x-hidden'
|
|
250
|
+
<fieldset class='px-4 pb-6 dialogBody overflow-x-hidden {classBody}'
|
|
247
251
|
disabled={useDisable}
|
|
248
252
|
class:pt-3={!marginForStickyHeader}
|
|
249
253
|
class:mt-3={marginForStickyHeader}
|
|
@@ -255,7 +259,7 @@
|
|
|
255
259
|
</fieldset>
|
|
256
260
|
{#if !!cancelButton || !!okButton}
|
|
257
261
|
<fieldset
|
|
258
|
-
class='dialogButtons grid grid-cols-[min-content_auto_auto_min-content] border-t-slate-200 dark:border-t-slate-700 px-4 py-2'
|
|
262
|
+
class='dialogButtons grid grid-cols-[min-content_auto_auto_min-content] border-t-slate-200 dark:border-t-slate-700 px-4 py-2 {classFooter}'
|
|
259
263
|
class:border-t={borderFooter}
|
|
260
264
|
disabled={useDisable}>
|
|
261
265
|
<div class='pr-2'>
|
package/dist/Modal.svelte.d.ts
CHANGED
package/dist/MultiSelect.svelte
CHANGED
|
@@ -188,8 +188,11 @@
|
|
|
188
188
|
})))
|
|
189
189
|
|
|
190
190
|
function setSelected(selIDs: (string | number)[] | undefined, poss: T[]) {
|
|
191
|
-
if (selIDs
|
|
192
|
-
|
|
191
|
+
if (selIDs) {
|
|
192
|
+
const newSelected = poss.filter(po => !!selIDs?.some(selID => selID == idValue(po)))
|
|
193
|
+
if (!DeepEqual(selected, newSelected)) {
|
|
194
|
+
selected = poss.filter(po => !!selIDs?.some(selID => selID == idValue(po)))
|
|
195
|
+
}
|
|
193
196
|
}
|
|
194
197
|
}
|
|
195
198
|
|
|
@@ -300,6 +303,7 @@
|
|
|
300
303
|
{#snippet toggle()}
|
|
301
304
|
<div class='inputControl box-border grid grid-cols-[1fr_auto] !p-0 overflow-hidden
|
|
302
305
|
text-[85%]'
|
|
306
|
+
class:readonly={useDisabled}
|
|
303
307
|
id="MultiSelectInput"
|
|
304
308
|
role='button'
|
|
305
309
|
tabindex={-1}
|