intelliwaketssveltekitv25 1.0.31 → 1.0.34
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/About.svelte.d.ts +6 -13
- package/dist/AboutBullets.svelte.d.ts +7 -13
- package/dist/AccordianSelect.svelte.d.ts +40 -11
- package/dist/ActivityOverlay.svelte.d.ts +10 -13
- package/dist/ArrayTable.svelte.d.ts +31 -11
- package/dist/BlockNav.svelte.d.ts +7 -13
- package/dist/ButtonGroup.svelte.d.ts +33 -11
- package/dist/Calendar.svelte.d.ts +20 -13
- package/dist/CheckBox.svelte.d.ts +21 -13
- package/dist/DateRangePicker.svelte.d.ts +16 -13
- package/dist/DisplayColor.svelte.d.ts +13 -13
- package/dist/DisplayFraction.svelte.d.ts +8 -13
- package/dist/DisplayHTML.svelte.d.ts +12 -13
- package/dist/DropDown.svelte.d.ts +27 -13
- package/dist/DropDownControl.svelte.d.ts +37 -13
- package/dist/EllipsesTruncate.svelte.d.ts +13 -13
- package/dist/Icon.svelte.d.ts +29 -13
- package/dist/InputNumber.svelte.d.ts +4 -14
- package/dist/InputNumberScroll.svelte.d.ts +30 -13
- package/dist/ListGroupItems.svelte.d.ts +26 -13
- package/dist/MasterDetailLayout.svelte.d.ts +33 -13
- package/dist/MessageBoxes.svelte.d.ts +16 -12
- package/dist/Modal.svelte.d.ts +40 -13
- package/dist/ModalFormAction.svelte.d.ts +31 -13
- package/dist/ModalPromptControl.svelte.d.ts +3 -14
- package/dist/MultiSelect.svelte.d.ts +65 -11
- package/dist/NumberFormat.svelte.d.ts +9 -14
- package/dist/Paginator.svelte +9 -3
- package/dist/Paginator.svelte.d.ts +13 -14
- package/dist/Search.svelte.d.ts +17 -13
- package/dist/SelectTimezone.svelte.d.ts +12 -13
- package/dist/SlideDown.svelte.d.ts +17 -13
- package/dist/SliderDual.svelte.d.ts +26 -11
- package/dist/SpinControl.svelte.d.ts +35 -11
- package/dist/Switch.svelte.d.ts +20 -13
- package/dist/SwitchDateNull.svelte.d.ts +18 -13
- package/dist/TabHeader.svelte.d.ts +28 -11
- package/dist/TabHref.svelte.d.ts +17 -13
- package/dist/TextArea.svelte.d.ts +10 -13
- package/dist/TextSpan.svelte.d.ts +8 -13
- package/dist/VirtualList.svelte.d.ts +30 -11
- package/dist/VirtualTable.svelte.d.ts +35 -11
- package/package.json +6 -2
|
@@ -1,14 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
type $$ComponentProps = {
|
|
2
|
+
value?: number | null | undefined;
|
|
3
|
+
valueHighlight?: number | undefined;
|
|
4
|
+
lowerRange?: number;
|
|
5
|
+
increment?: number;
|
|
6
|
+
upperRange?: number;
|
|
7
|
+
maxDigitsDisplay?: number;
|
|
8
|
+
offValue?: number | null;
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
allowManualEntryMode?: boolean;
|
|
11
|
+
saveManualEntryMode?: string | null;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
manualEntryMode?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Maximum number of digits allowed for manual entry.
|
|
16
|
+
*
|
|
17
|
+
* @type {number | null}
|
|
18
|
+
*/
|
|
19
|
+
maxManualEntryDigits?: number | null;
|
|
20
|
+
displayPercent?: boolean;
|
|
21
|
+
center?: boolean;
|
|
22
|
+
buttonClassOff?: string;
|
|
23
|
+
buttonClassOn?: string;
|
|
24
|
+
buttonClassHighlightOn?: string;
|
|
25
|
+
buttonClassHighlightOff?: string;
|
|
26
|
+
displayQualifier?: string;
|
|
27
|
+
onChange?: (val: number | null | undefined) => void;
|
|
8
28
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class InputNumberScroll extends SvelteComponentTyped<InputNumberScrollProps, InputNumberScrollEvents, InputNumberScrollSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
29
|
+
declare const InputNumberScroll: import("svelte").Component<$$ComponentProps, {}, "value">;
|
|
30
|
+
type InputNumberScroll = ReturnType<typeof InputNumberScroll>;
|
|
31
|
+
export default InputNumberScroll;
|
|
@@ -1,14 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import type { PathAnalyzer } from './PathAnalyzer';
|
|
2
|
+
import { type TFindIsActive } from '@solidbasisventures/intelliwaketsfoundation';
|
|
3
|
+
import type { TListGroupItem } from './Definitions';
|
|
4
|
+
import { type Snippet } from 'svelte';
|
|
5
|
+
import { ListGroupItems } from './';
|
|
6
|
+
type $$ComponentProps = {
|
|
7
|
+
listItems?: TListGroupItem[];
|
|
8
|
+
emptyListMessage?: string | null;
|
|
9
|
+
borders?: boolean;
|
|
10
|
+
subsExist?: boolean;
|
|
11
|
+
topValue?: string | null;
|
|
12
|
+
active?: TFindIsActive;
|
|
13
|
+
indentLevel?: number;
|
|
14
|
+
collapsedValues?: string[];
|
|
15
|
+
collapsedSections?: string[];
|
|
16
|
+
rememberKey?: string | null;
|
|
17
|
+
pathAnalyzer?: PathAnalyzer | null | undefined;
|
|
18
|
+
wrapText?: boolean;
|
|
19
|
+
ellipses?: boolean;
|
|
20
|
+
noLinkReplace?: boolean;
|
|
21
|
+
rounded?: boolean;
|
|
22
|
+
caret?: boolean | 'left' | 'right';
|
|
23
|
+
empty?: Snippet;
|
|
8
24
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class ListGroupItems extends SvelteComponentTyped<ListGroupItemsProps, ListGroupItemsEvents, ListGroupItemsSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
25
|
+
declare const ListGroupItems: import("svelte").Component<$$ComponentProps, {}, "collapsedValues" | "collapsedSections">;
|
|
26
|
+
type ListGroupItems = ReturnType<typeof ListGroupItems>;
|
|
27
|
+
export default ListGroupItems;
|
|
@@ -1,14 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import type { IFAProps, TMasterDetailListGroupItem } from './Definitions';
|
|
2
|
+
import { type TFindIsActive } from '@solidbasisventures/intelliwaketsfoundation';
|
|
3
|
+
import { type Snippet } from 'svelte';
|
|
4
|
+
import { type TBreakAt } from './BreakAtManager.js';
|
|
5
|
+
type $$ComponentProps = {
|
|
6
|
+
pageRoute: string;
|
|
7
|
+
breakAt?: TBreakAt;
|
|
8
|
+
backName?: string | null;
|
|
9
|
+
listItems?: TMasterDetailListGroupItem[] | null;
|
|
10
|
+
caret?: boolean | 'left' | 'right';
|
|
11
|
+
emptyListMessage?: string | null;
|
|
12
|
+
active?: TFindIsActive;
|
|
13
|
+
mdClass?: string;
|
|
14
|
+
masterClass?: string;
|
|
15
|
+
detailClass?: string;
|
|
16
|
+
wrapText?: boolean;
|
|
17
|
+
ellipses?: boolean;
|
|
18
|
+
borders?: boolean;
|
|
19
|
+
noLinkReplace?: boolean;
|
|
20
|
+
rounded?: boolean;
|
|
21
|
+
roundedDetailFormatted?: boolean;
|
|
22
|
+
roundedDetailFormattedHome?: boolean;
|
|
23
|
+
detailShowHeader?: boolean | string;
|
|
24
|
+
detailShowHeaderFAProps?: IFAProps | null;
|
|
25
|
+
empty?: Snippet;
|
|
26
|
+
header?: Snippet;
|
|
27
|
+
subheader?: Snippet;
|
|
28
|
+
list?: Snippet;
|
|
29
|
+
footer?: Snippet;
|
|
30
|
+
detail?: Snippet;
|
|
8
31
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class MasterDetailLayout extends SvelteComponentTyped<MasterDetailLayoutProps, MasterDetailLayoutEvents, MasterDetailLayoutSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
32
|
+
declare const MasterDetailLayout: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
33
|
+
type MasterDetailLayout = ReturnType<typeof MasterDetailLayout>;
|
|
34
|
+
export default MasterDetailLayout;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
|
+
$$bindings?: Bindings;
|
|
4
|
+
} & Exports;
|
|
5
|
+
(internal: unknown, props: {
|
|
6
|
+
$$events?: Events;
|
|
7
|
+
$$slots?: Slots;
|
|
8
|
+
}): Exports & {
|
|
9
|
+
$set?: any;
|
|
10
|
+
$on?: any;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export type MessageBoxesProps = typeof __propDef.props;
|
|
10
|
-
export type MessageBoxesEvents = typeof __propDef.events;
|
|
11
|
-
export type MessageBoxesSlots = typeof __propDef.slots;
|
|
12
|
-
export default class MessageBoxes extends SvelteComponentTyped<MessageBoxesProps, MessageBoxesEvents, MessageBoxesSlots> {
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
declare const MessageBoxes: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
}, {}, {}, string>;
|
|
17
|
+
type MessageBoxes = InstanceType<typeof MessageBoxes>;
|
|
18
|
+
export default MessageBoxes;
|
package/dist/Modal.svelte.d.ts
CHANGED
|
@@ -1,19 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { type Snippet } from 'svelte';
|
|
2
|
+
import { type IFAProps } from './Definitions';
|
|
3
|
+
type $$ComponentProps = {
|
|
4
|
+
header?: Snippet;
|
|
5
|
+
body?: Snippet;
|
|
6
|
+
leftFooter?: Snippet;
|
|
7
|
+
centerFooter?: Snippet;
|
|
8
|
+
rightFooter?: Snippet;
|
|
9
|
+
/** A value equal to the 'noShowValue' or 'false' will have the modal hidden, any other value will show it */
|
|
10
|
+
show: unknown;
|
|
11
|
+
/** The value to compare against to have the modal hidden, default 'false' */
|
|
12
|
+
noShowValue?: unknown;
|
|
13
|
+
forceNoShow?: boolean;
|
|
14
|
+
width?: string;
|
|
15
|
+
cancelButton?: string | false;
|
|
16
|
+
okButton?: string | false;
|
|
17
|
+
okFAProps?: IFAProps;
|
|
18
|
+
okActionNotOnEnter?: boolean;
|
|
19
|
+
okDisabled?: boolean;
|
|
20
|
+
noCloseOnOK?: boolean;
|
|
21
|
+
overflowY?: 'auto' | 'visible' | 'hidden';
|
|
22
|
+
disable?: boolean;
|
|
23
|
+
okType?: 'submit' | 'button';
|
|
24
|
+
marginForStickyHeader?: boolean;
|
|
25
|
+
okButtonWrap?: boolean;
|
|
26
|
+
class?: string;
|
|
27
|
+
okColor?: TDefaultColorPalate;
|
|
28
|
+
color?: TDefaultColorPalate;
|
|
29
|
+
classHeader?: string;
|
|
30
|
+
classBody?: string;
|
|
31
|
+
classFooter?: string;
|
|
32
|
+
classButton?: string;
|
|
33
|
+
borderFooter?: boolean;
|
|
34
|
+
onOK?: () => void;
|
|
35
|
+
onOKPromise?: () => Promise<unknown>;
|
|
36
|
+
onCancel?: () => void;
|
|
37
|
+
onClose?: () => void;
|
|
8
38
|
};
|
|
9
|
-
export type ModalProps = typeof __propDef.props;
|
|
10
|
-
export type ModalEvents = typeof __propDef.events;
|
|
11
|
-
export type ModalSlots = typeof __propDef.slots;
|
|
12
39
|
/**
|
|
13
40
|
* This component presents a modal window using the HTML5 dialog element
|
|
14
41
|
* @param {any} show A property that determines if the modal should be shown or not
|
|
15
42
|
* @param {any} noShowValue A property that, if equal to the show property, will hide the modal, otherwise show the modal
|
|
16
43
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export
|
|
44
|
+
declare const Modal: import("svelte").Component<$$ComponentProps, {}, "show">;
|
|
45
|
+
type Modal = ReturnType<typeof Modal>;
|
|
46
|
+
export default Modal;
|
|
@@ -1,14 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { type Snippet } from 'svelte';
|
|
2
|
+
import type { TEnhanceOptions } from './FormEnhance';
|
|
3
|
+
import { type IFAProps } from './index';
|
|
4
|
+
type $$ComponentProps = {
|
|
5
|
+
header?: Snippet;
|
|
6
|
+
body?: Snippet;
|
|
7
|
+
leftFooter?: Snippet;
|
|
8
|
+
rightFooter?: Snippet;
|
|
9
|
+
action: string;
|
|
10
|
+
formEnhance?: TEnhanceOptions | null | undefined;
|
|
11
|
+
show?: unknown;
|
|
12
|
+
noShowValue?: unknown;
|
|
13
|
+
width?: string;
|
|
14
|
+
cancelButton?: string | false;
|
|
15
|
+
okButton?: string | false;
|
|
16
|
+
okDisabled?: boolean;
|
|
17
|
+
okFAProps?: IFAProps;
|
|
18
|
+
noCloseOnOK?: boolean;
|
|
19
|
+
overflowVisible?: boolean;
|
|
20
|
+
disable?: boolean;
|
|
21
|
+
marginForStickyHeader?: boolean;
|
|
22
|
+
okButtonWrap?: boolean;
|
|
23
|
+
class?: string;
|
|
24
|
+
classHeader?: string;
|
|
25
|
+
classButton?: string;
|
|
26
|
+
borderFooter?: boolean;
|
|
27
|
+
onCancel?: () => void;
|
|
28
|
+
onClose?: () => void;
|
|
8
29
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class ModalFormAction extends SvelteComponentTyped<ModalFormActionProps, ModalFormActionEvents, ModalFormActionSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
30
|
+
declare const ModalFormAction: import("svelte").Component<$$ComponentProps, {}, "show">;
|
|
31
|
+
type ModalFormAction = ReturnType<typeof ModalFormAction>;
|
|
32
|
+
export default ModalFormAction;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
events: {
|
|
5
|
-
[evt: string]: CustomEvent<any>;
|
|
6
|
-
};
|
|
7
|
-
slots: {};
|
|
8
|
-
};
|
|
9
|
-
export type ModalPromptControlProps = typeof __propDef.props;
|
|
10
|
-
export type ModalPromptControlEvents = typeof __propDef.events;
|
|
11
|
-
export type ModalPromptControlSlots = typeof __propDef.slots;
|
|
12
|
-
export default class ModalPromptControl extends SvelteComponentTyped<ModalPromptControlProps, ModalPromptControlEvents, ModalPromptControlSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
declare const ModalPromptControl: import("svelte").Component<Record<string, never>, {}, "">;
|
|
2
|
+
type ModalPromptControl = ReturnType<typeof ModalPromptControl>;
|
|
3
|
+
export default ModalPromptControl;
|
|
@@ -1,15 +1,69 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
1
|
import { type TGenericMultiSelect } from './Definitions';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { type ActionArray } from './useActions';
|
|
3
|
+
declare function $$render<T extends TGenericMultiSelect>(): {
|
|
4
|
+
props: {
|
|
5
|
+
id?: string;
|
|
6
|
+
show?: boolean;
|
|
7
|
+
use?: ActionArray;
|
|
8
|
+
possibles: T[];
|
|
9
|
+
selected?: T[];
|
|
10
|
+
selectedIDs?: (number | string)[] | undefined;
|
|
11
|
+
created?: T[];
|
|
12
|
+
existing?: T[];
|
|
13
|
+
name?: string | null;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
invalid?: boolean;
|
|
19
|
+
isMulti?: boolean;
|
|
20
|
+
allowClearAll?: boolean;
|
|
21
|
+
createPrefix?: string;
|
|
22
|
+
create?: undefined | ((value: string) => T | null);
|
|
23
|
+
createValid?: undefined | ((value: string) => boolean | string);
|
|
24
|
+
tabindex?: number;
|
|
25
|
+
displayValue?: ((item: T) => string | number);
|
|
26
|
+
idValue?: ((item: T) => any);
|
|
27
|
+
/** Compute the value of the "key" in the "each" statements to make them unique */
|
|
28
|
+
keyValue?: ((item: T, idx?: number) => any);
|
|
29
|
+
inputValue?: ((item: T) => any);
|
|
30
|
+
headerValue?: ((item: T | null | undefined) => string | null | undefined);
|
|
31
|
+
sameSize?: boolean;
|
|
32
|
+
resizeTS?: number;
|
|
33
|
+
autoFocus?: boolean;
|
|
34
|
+
zIndex?: number;
|
|
35
|
+
bodyClass?: string;
|
|
36
|
+
toggleClass?: string;
|
|
37
|
+
controlClass?: string;
|
|
38
|
+
inputClass?: string;
|
|
39
|
+
parentDivElement?: HTMLDivElement | null;
|
|
40
|
+
form?: string | undefined;
|
|
41
|
+
onadd?: (id: string | number) => void;
|
|
42
|
+
onselect?: (id: string | number) => void;
|
|
43
|
+
oncreate?: (item: string) => void;
|
|
44
|
+
onchange?: (items: T[]) => void;
|
|
45
|
+
onclear?: (id: string | number) => void;
|
|
46
|
+
onclearall?: () => void;
|
|
7
47
|
};
|
|
8
|
-
|
|
48
|
+
exports: {};
|
|
49
|
+
bindings: "selected" | "show" | "selectedIDs" | "created" | "existing";
|
|
50
|
+
slots: {};
|
|
51
|
+
events: {};
|
|
52
|
+
};
|
|
53
|
+
declare class __sveltets_Render<T extends TGenericMultiSelect> {
|
|
54
|
+
props(): ReturnType<typeof $$render<T>>['props'];
|
|
55
|
+
events(): ReturnType<typeof $$render<T>>['events'];
|
|
56
|
+
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
57
|
+
bindings(): "selected" | "show" | "selectedIDs" | "created" | "existing";
|
|
58
|
+
exports(): {};
|
|
9
59
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
60
|
+
interface $$IsomorphicComponent {
|
|
61
|
+
new <T extends TGenericMultiSelect>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<T>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<T>['props']>, ReturnType<__sveltets_Render<T>['events']>, ReturnType<__sveltets_Render<T>['slots']>> & {
|
|
62
|
+
$$bindings?: ReturnType<__sveltets_Render<T>['bindings']>;
|
|
63
|
+
} & ReturnType<__sveltets_Render<T>['exports']>;
|
|
64
|
+
<T extends TGenericMultiSelect>(internal: unknown, props: ReturnType<__sveltets_Render<T>['props']> & {}): ReturnType<__sveltets_Render<T>['exports']>;
|
|
65
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
14
66
|
}
|
|
15
|
-
|
|
67
|
+
declare const MultiSelect: $$IsomorphicComponent;
|
|
68
|
+
type MultiSelect<T extends TGenericMultiSelect> = InstanceType<typeof MultiSelect<T>>;
|
|
69
|
+
export default MultiSelect;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
export type NumberFormatEvents = typeof __propDef.events;
|
|
11
|
-
export type NumberFormatSlots = typeof __propDef.slots;
|
|
12
|
-
export default class NumberFormat extends SvelteComponentTyped<NumberFormatProps, NumberFormatEvents, NumberFormatSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import { type TNumberStringOptions } from '@solidbasisventures/intelliwaketsfoundation';
|
|
2
|
+
type $$ComponentProps = ({
|
|
3
|
+
value?: number | null;
|
|
4
|
+
className?: string;
|
|
5
|
+
classNameAddOnNegative?: string;
|
|
6
|
+
} & TNumberStringOptions);
|
|
7
|
+
declare const NumberFormat: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
8
|
+
type NumberFormat = ReturnType<typeof NumberFormat>;
|
|
9
|
+
export default NumberFormat;
|
package/dist/Paginator.svelte
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import { goto, invalidate as doInvalidate, invalidateAll } from '$app/navigation'
|
|
16
16
|
import { browser } from '$app/environment'
|
|
17
17
|
import DropDown from './DropDown.svelte'
|
|
18
|
+
import { untrack } from 'svelte'
|
|
18
19
|
|
|
19
20
|
let {
|
|
20
21
|
page = $bindable(),
|
|
@@ -24,7 +25,8 @@
|
|
|
24
25
|
cookieParms = false,
|
|
25
26
|
cookieDays,
|
|
26
27
|
invalidate,
|
|
27
|
-
class: clazz = ''
|
|
28
|
+
class: clazz = '',
|
|
29
|
+
onPageChange
|
|
28
30
|
}: (Pick<IPaginatorResponse, 'page' | 'pageCount'> &
|
|
29
31
|
{
|
|
30
32
|
verbose?: boolean
|
|
@@ -32,7 +34,8 @@
|
|
|
32
34
|
cookieParms?: boolean | string
|
|
33
35
|
cookieDays?: number
|
|
34
36
|
invalidate?: string | string[] | (string | URL | ((url: URL) => boolean)) | (string | URL | ((url: URL) => boolean))[] | null
|
|
35
|
-
class?: string
|
|
37
|
+
class?: string,
|
|
38
|
+
onPageChange?: (page: number) => void | Promise<void>
|
|
36
39
|
}) = $props()
|
|
37
40
|
|
|
38
41
|
type TDisplay = {
|
|
@@ -49,6 +52,7 @@
|
|
|
49
52
|
|
|
50
53
|
function setPage(newPage: number) {
|
|
51
54
|
page = newPage
|
|
55
|
+
if (onPageChange) onPageChange(page)
|
|
52
56
|
}
|
|
53
57
|
|
|
54
58
|
function createDisplay(parm_page: number, parm_pageCount: number, parm_clientWidth: number): TDisplay {
|
|
@@ -95,7 +99,9 @@
|
|
|
95
99
|
.map<IDDAction>((pg, idx) => ({
|
|
96
100
|
title: !pg ? '...' : `Page ${ToDigits(pg)}`,
|
|
97
101
|
active: !!pg && usePage === pg,
|
|
98
|
-
action: !pg ? undefined : () =>
|
|
102
|
+
action: !pg ? undefined : () => {
|
|
103
|
+
untrack(() => setPage(pg))
|
|
104
|
+
},
|
|
99
105
|
key: idx.toString()
|
|
100
106
|
})),
|
|
101
107
|
showBackNext: remainingButtonsFittable >= 2,
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export {};
|
|
1
|
+
import { type IPaginatorResponse } from '@solidbasisventures/intelliwaketsfoundation';
|
|
2
|
+
type $$ComponentProps = (Pick<IPaginatorResponse, 'page' | 'pageCount'> & {
|
|
3
|
+
verbose?: boolean;
|
|
4
|
+
updateQueryParams?: boolean | string;
|
|
5
|
+
cookieParms?: boolean | string;
|
|
6
|
+
cookieDays?: number;
|
|
7
|
+
invalidate?: string | string[] | (string | URL | ((url: URL) => boolean)) | (string | URL | ((url: URL) => boolean))[] | null;
|
|
8
|
+
class?: string;
|
|
9
|
+
onPageChange?: (page: number) => void | Promise<void>;
|
|
10
|
+
});
|
|
11
|
+
declare const Paginator: import("svelte").Component<$$ComponentProps, {}, "page">;
|
|
12
|
+
type Paginator = ReturnType<typeof Paginator>;
|
|
13
|
+
export default Paginator;
|
package/dist/Search.svelte.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { type ActionArray } from './useActions';
|
|
2
|
+
import type { HTMLInputAttributes } from 'svelte/elements';
|
|
3
|
+
type $$ComponentProps = HTMLInputAttributes & {
|
|
4
|
+
id?: string | undefined;
|
|
5
|
+
value?: string;
|
|
6
|
+
use?: ActionArray;
|
|
7
|
+
delayMS?: number;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
bordered?: boolean;
|
|
10
|
+
element?: HTMLInputElement | undefined;
|
|
11
|
+
class?: string;
|
|
12
|
+
sessionKey?: string;
|
|
13
|
+
noMagnifyingGlass?: boolean;
|
|
14
|
+
onChange?: (val: string) => void;
|
|
8
15
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class Search extends SvelteComponentTyped<SearchProps, SearchEvents, SearchSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
16
|
+
declare const Search: import("svelte").Component<$$ComponentProps, {}, "value">;
|
|
17
|
+
type Search = ReturnType<typeof Search>;
|
|
18
|
+
export default Search;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { type TDateAny } from '@solidbasisventures/intelliwaketsfoundation';
|
|
2
|
+
type $$ComponentProps = {
|
|
3
|
+
value?: string | null;
|
|
4
|
+
id?: string | undefined;
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
timezoneList?: 'AmericaCommon' | 'America' | 'All';
|
|
7
|
+
hideIANA?: boolean;
|
|
8
|
+
forDate?: TDateAny;
|
|
9
|
+
showPrefix?: boolean;
|
|
8
10
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class SelectTimezone extends SvelteComponentTyped<SelectTimezoneProps, SelectTimezoneEvents, SelectTimezoneSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
11
|
+
declare const SelectTimezone: import("svelte").Component<$$ComponentProps, {}, "value">;
|
|
12
|
+
type SelectTimezone = ReturnType<typeof SelectTimezone>;
|
|
13
|
+
export default SelectTimezone;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import type { IDDAction } from './Definitions';
|
|
2
|
+
import { type Snippet } from 'svelte';
|
|
3
|
+
import { type ActionArray } from './useActions';
|
|
4
|
+
type $$ComponentProps = {
|
|
5
|
+
button?: Snippet;
|
|
6
|
+
actions?: Snippet;
|
|
7
|
+
ddActions: IDDAction[];
|
|
8
|
+
use?: ActionArray;
|
|
9
|
+
show?: boolean;
|
|
10
|
+
width?: string;
|
|
11
|
+
maxHeight?: string | null;
|
|
12
|
+
caret?: boolean;
|
|
13
|
+
buttonTitle?: string | null;
|
|
14
|
+
highlightedIndex?: number;
|
|
8
15
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export default class SlideDown extends SvelteComponentTyped<SlideDownProps, SlideDownEvents, SlideDownSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
16
|
+
declare const SlideDown: import("svelte").Component<$$ComponentProps, {}, "show">;
|
|
17
|
+
type SlideDown = ReturnType<typeof SlideDown>;
|
|
18
|
+
export default SlideDown;
|
|
@@ -1,14 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare function $$render<T extends number>(): {
|
|
2
|
+
props: {
|
|
3
|
+
values: T[];
|
|
4
|
+
minValue?: T;
|
|
5
|
+
maxValue?: T;
|
|
6
|
+
onchange?: (minValue: T, maxValue: T) => void;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
+
exports: {};
|
|
9
|
+
bindings: "minValue" | "maxValue";
|
|
10
|
+
slots: {};
|
|
11
|
+
events: {};
|
|
12
|
+
};
|
|
13
|
+
declare class __sveltets_Render<T extends number> {
|
|
14
|
+
props(): ReturnType<typeof $$render<T>>['props'];
|
|
15
|
+
events(): ReturnType<typeof $$render<T>>['events'];
|
|
16
|
+
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
17
|
+
bindings(): "minValue" | "maxValue";
|
|
18
|
+
exports(): {};
|
|
8
19
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
20
|
+
interface $$IsomorphicComponent {
|
|
21
|
+
new <T extends number>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<T>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<T>['props']>, ReturnType<__sveltets_Render<T>['events']>, ReturnType<__sveltets_Render<T>['slots']>> & {
|
|
22
|
+
$$bindings?: ReturnType<__sveltets_Render<T>['bindings']>;
|
|
23
|
+
} & ReturnType<__sveltets_Render<T>['exports']>;
|
|
24
|
+
<T extends number>(internal: unknown, props: ReturnType<__sveltets_Render<T>['props']> & {}): ReturnType<__sveltets_Render<T>['exports']>;
|
|
25
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
|
|
13
26
|
}
|
|
14
|
-
|
|
27
|
+
declare const SliderDual: $$IsomorphicComponent;
|
|
28
|
+
type SliderDual<T extends number> = InstanceType<typeof SliderDual<T>>;
|
|
29
|
+
export default SliderDual;
|