@3t-transform/threeteeui 0.1.42 → 0.1.44
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/cjs/{domsanitiser.options-277161b9.js → domsanitiser.options-975e3317.js} +12 -12
- package/dist/cjs/{index-76f14107.js → index-2ea393bb.js} +146 -3
- package/dist/cjs/loader.cjs.js +4 -19
- package/dist/cjs/tttx-button.cjs.entry.js +24 -24
- package/dist/cjs/tttx-dialog-box.cjs.entry.js +80 -0
- package/dist/cjs/tttx-filter.cjs.entry.js +177 -159
- package/dist/cjs/tttx-form.cjs.entry.js +458 -458
- package/dist/cjs/tttx-icon.cjs.entry.js +11 -11
- package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +59 -59
- package/dist/cjs/tttx-list.cjs.entry.js +32 -32
- package/dist/cjs/tttx-loading-spinner.cjs.entry.js +16 -16
- package/dist/cjs/tttx-sorter.cjs.entry.js +102 -102
- package/dist/cjs/tttx-standalone-input.cjs.entry.js +79 -79
- package/dist/cjs/tttx-toolbar.cjs.entry.js +10 -10
- package/dist/cjs/tttx.cjs.js +9 -117
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +110 -110
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +14 -14
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +62 -62
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +22 -22
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +109 -109
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +38 -38
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +67 -67
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -17
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.css +146 -0
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +172 -0
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +380 -0
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +369 -334
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +73 -62
- package/dist/collection/components/molecules/tttx-form/lib/setErrorState.js +37 -37
- package/dist/collection/components/molecules/tttx-form/lib/validityCheck.js +61 -61
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +479 -479
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +272 -272
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +105 -105
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +43 -43
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +224 -224
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +42 -42
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +759 -759
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +172 -172
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +44 -44
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +14 -14
- package/dist/collection/components/palette.stories.js +7 -7
- package/dist/collection/docs/gettingstarted-developer.stories.js +5 -5
- package/dist/collection/icons.js +2838 -2838
- package/dist/collection/index.js +1 -1
- package/dist/collection/shared/domsanitiser.options.js +14 -14
- package/dist/components/domsanitiser.options.js +15 -45
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +2 -5
- package/dist/components/tttx-button.js +1 -54
- package/dist/{tttx/tttx-button.entry.js → components/tttx-button2.js} +52 -26
- package/dist/components/tttx-dialog-box.d.ts +11 -0
- package/dist/components/tttx-dialog-box.js +110 -0
- package/dist/components/tttx-filter.js +210 -191
- package/dist/components/tttx-form.js +475 -475
- package/dist/components/tttx-icon2.js +28 -28
- package/dist/components/tttx-keyvalue-block.js +76 -76
- package/dist/components/tttx-list.js +53 -53
- package/dist/components/tttx-loading-spinner.js +33 -33
- package/dist/components/tttx-sorter.js +130 -130
- package/dist/components/tttx-standalone-input.js +130 -130
- package/dist/components/tttx-toolbar.js +26 -26
- package/dist/esm/{domsanitiser.options-cc420431.js → domsanitiser.options-3c7ded83.js} +12 -12
- package/dist/esm/{index-9cde46a5.js → index-018a3e54.js} +146 -4
- package/dist/esm/loader.js +4 -19
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/tttx-button.entry.js +24 -24
- package/dist/esm/tttx-dialog-box.entry.js +76 -0
- package/dist/esm/tttx-filter.entry.js +177 -159
- package/dist/esm/tttx-form.entry.js +458 -458
- package/dist/esm/tttx-icon.entry.js +11 -11
- package/dist/esm/tttx-keyvalue-block.entry.js +59 -59
- package/dist/esm/tttx-list.entry.js +32 -32
- package/dist/esm/tttx-loading-spinner.entry.js +16 -16
- package/dist/esm/tttx-sorter.entry.js +102 -102
- package/dist/esm/tttx-standalone-input.entry.js +79 -79
- package/dist/esm/tttx-toolbar.entry.js +10 -10
- package/dist/esm/tttx.js +6 -117
- package/dist/tttx/index.esm.js +0 -1
- package/dist/tttx/{p-e53c7f9d.entry.js → p-01863bf1.entry.js} +1 -1
- package/dist/tttx/{p-4e637d50.entry.js → p-0ed6f369.entry.js} +1 -1
- package/dist/tttx/p-2dd43e97.entry.js +1 -0
- package/dist/tttx/{p-aef96333.entry.js → p-2e135be9.entry.js} +1 -1
- package/dist/tttx/p-350ddb03.js +3 -0
- package/dist/tttx/{p-d2f1aa8e.entry.js → p-48b15a3d.entry.js} +1 -1
- package/dist/tttx/{p-561224f5.entry.js → p-5e91cf1c.entry.js} +1 -1
- package/dist/tttx/p-71c244bd.js +2 -0
- package/dist/tttx/{p-dc2a37b0.entry.js → p-7bba2014.entry.js} +1 -1
- package/dist/tttx/p-d075a2c0.entry.js +1 -0
- package/dist/tttx/{p-bd1edaed.entry.js → p-deec335c.entry.js} +1 -1
- package/dist/tttx/{p-9f1e9cc1.entry.js → p-e061910d.entry.js} +1 -1
- package/dist/tttx/{p-f885f17a.entry.js → p-f247a7bc.entry.js} +1 -1
- package/dist/tttx/tttx.esm.js +1 -129
- package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +10 -10
- package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +10 -10
- package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +5 -5
- package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +20 -20
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +7 -7
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +9 -9
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -6
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -17
- package/dist/types/components/molecules/tttx-dialog-box/interfaces.d.ts +25 -0
- package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.d.ts +18 -0
- package/dist/types/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.d.ts +23 -0
- package/dist/types/components/molecules/tttx-filter/tttx-filter.d.ts +41 -39
- package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +70 -68
- package/dist/types/components/molecules/tttx-form/lib/setErrorState.d.ts +13 -13
- package/dist/types/components/molecules/tttx-form/lib/validityCheck.d.ts +17 -17
- package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +133 -133
- package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +278 -278
- package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +11 -11
- package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +14 -14
- package/dist/types/components/molecules/tttx-sorter/tttx-sorter.d.ts +19 -19
- package/dist/types/components/molecules/tttx-sorter/tttx-sorter.stories.d.ts +30 -30
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +69 -69
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +143 -143
- package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.d.ts +4 -4
- package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.stories.d.ts +13 -13
- package/dist/types/components/palette.stories.d.ts +6 -6
- package/dist/types/components.d.ts +26 -0
- package/dist/types/docs/gettingstarted-developer.stories.d.ts +5 -5
- package/dist/types/icons.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/shared/domsanitiser.options.d.ts +10 -10
- package/dist/types/stencil-public-runtime.d.ts +59 -3
- package/loader/index.d.ts +9 -0
- package/package.json +2 -2
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-211819bc.js +0 -6
- package/dist/cjs/dom-9deb26c8.js +0 -75
- package/dist/cjs/domsanitiser.options-3f1501b5.js +0 -1697
- package/dist/cjs/index-39a867c5.js +0 -3298
- package/dist/cjs/shadow-css-bf3843d2.js +0 -389
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/css-shim-9d54a2f2.js +0 -4
- package/dist/esm/dom-6be6f662.js +0 -73
- package/dist/esm/domsanitiser.options-6f2878c8.js +0 -1694
- package/dist/esm/index-e3e64631.js +0 -3262
- package/dist/esm/shadow-css-ed4599f8.js +0 -387
- package/dist/tttx/app-globals-0f993ce5.js +0 -3
- package/dist/tttx/css-shim-9d54a2f2.js +0 -4
- package/dist/tttx/dom-6be6f662.js +0 -73
- package/dist/tttx/domsanitiser.options-6f2878c8.js +0 -1694
- package/dist/tttx/index-e3e64631.js +0 -3262
- package/dist/tttx/p-3b1be372.entry.js +0 -1
- package/dist/tttx/p-b4290a5b.js +0 -3
- package/dist/tttx/p-d0ff9ad0.entry.js +0 -1
- package/dist/tttx/p-db059a69.js +0 -2
- package/dist/tttx/shadow-css-ed4599f8.js +0 -387
- package/dist/tttx/tttx-filter.entry.js +0 -165
- package/dist/tttx/tttx-form.entry.js +0 -468
- package/dist/tttx/tttx-icon.entry.js +0 -17
- package/dist/tttx/tttx-keyvalue-block.entry.js +0 -65
- package/dist/tttx/tttx-list.entry.js +0 -38
- package/dist/tttx/tttx-loading-spinner.entry.js +0 -22
- package/dist/tttx/tttx-sorter.entry.js +0 -108
- package/dist/tttx/tttx-standalone-input.entry.js +0 -85
- package/dist/tttx/tttx-toolbar.entry.js +0 -16
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
fieldOptionsData: {
|
|
6
|
-
control: {
|
|
7
|
-
type: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
defaultOption: {
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
sorterKey: {
|
|
16
|
-
control: {
|
|
17
|
-
type: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
parameters: {
|
|
22
|
-
actions: {
|
|
23
|
-
handles: string[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
|
|
27
|
-
};
|
|
28
|
-
export default _default;
|
|
29
|
-
export declare const BasicSorter: any;
|
|
30
|
-
export declare const AnotherSorter: any;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
fieldOptionsData: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
defaultOption: {
|
|
11
|
+
control: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
sorterKey: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
parameters: {
|
|
22
|
+
actions: {
|
|
23
|
+
handles: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const BasicSorter: any;
|
|
30
|
+
export declare const AnotherSorter: any;
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export declare class TttxInput {
|
|
9
|
-
label: string;
|
|
10
|
-
/**
|
|
11
|
-
* Footnote under the input field
|
|
12
|
-
*/
|
|
13
|
-
secondarylabel: string;
|
|
14
|
-
showerrormsg: boolean;
|
|
15
|
-
showerrorbubble: boolean;
|
|
16
|
-
errormsg: string;
|
|
17
|
-
iconleft: string;
|
|
18
|
-
iconleftcolor: string;
|
|
19
|
-
iconright: string;
|
|
20
|
-
iconrightcolor: string;
|
|
21
|
-
inputicon: string;
|
|
22
|
-
inputiconcolor: string;
|
|
23
|
-
inline: boolean;
|
|
24
|
-
inputautocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
25
|
-
inputautofocus: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Defines what action to present for the enter key on virtual keyboards
|
|
28
|
-
*/
|
|
29
|
-
inputkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
30
|
-
/**
|
|
31
|
-
* tabindex - Allows the HTML elements to be focusable
|
|
32
|
-
* @example <caption>In HTML (like `index.html`)</caption>
|
|
33
|
-
* <tttx-standalone-input input-index="1" />
|
|
34
|
-
* @example <caption>In TSX files</caption>
|
|
35
|
-
* <tttx-standalone-input inputindex={1} />
|
|
36
|
-
*/
|
|
37
|
-
inputindex: string | number;
|
|
38
|
-
inputtitle: string;
|
|
39
|
-
autocomplete: 'off' | 'on';
|
|
40
|
-
checked: boolean;
|
|
41
|
-
disabled: boolean;
|
|
42
|
-
max: MinMaxDates | number;
|
|
43
|
-
maxlength: string | number;
|
|
44
|
-
min: MinMaxDates | number;
|
|
45
|
-
minlength: string | number;
|
|
46
|
-
name: string;
|
|
47
|
-
pattern: string;
|
|
48
|
-
placeholder: string;
|
|
49
|
-
readonly: string | boolean;
|
|
50
|
-
required: boolean;
|
|
51
|
-
step: string | number;
|
|
52
|
-
type: string;
|
|
53
|
-
value: string | number;
|
|
54
|
-
valueChanged: EventEmitter<string>;
|
|
55
|
-
handleChange(event: Event | InputEvent): void;
|
|
56
|
-
focusChanged: EventEmitter<string>;
|
|
57
|
-
handleFocus(event: Event | InputEvent): void;
|
|
58
|
-
blurChanged: EventEmitter<string>;
|
|
59
|
-
handleBlur(event: Event | InputEvent): void;
|
|
60
|
-
invalidChanged: EventEmitter<string>;
|
|
61
|
-
handleInvalid(event: Event | InputEvent): void;
|
|
62
|
-
inputIconClick: EventEmitter<void>;
|
|
63
|
-
handleInputIconClick(event: PointerEvent): void;
|
|
64
|
-
leftIconClick: EventEmitter<void>;
|
|
65
|
-
handleLeftIconClick(event: PointerEvent): void;
|
|
66
|
-
rightIconClick: EventEmitter<void>;
|
|
67
|
-
handleRightIconClick(event: PointerEvent): void;
|
|
68
|
-
render(): any;
|
|
69
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export type DateSyntax = `${number}${number}${number}${number}-${number}${number}-${number}${number}`;
|
|
3
|
+
export type MonthSyntax = `${number}${number}${number}${number}-${number}${number}`;
|
|
4
|
+
export type WeekSyntax = `${number}${number}${number}${number}-W${number}${number}`;
|
|
5
|
+
export type TimeSyntax = `${number}${number}:${number}${number}`;
|
|
6
|
+
export type DateTimeLocalSyntax = `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}`;
|
|
7
|
+
export type MinMaxDates = DateSyntax | MonthSyntax | WeekSyntax | TimeSyntax | DateTimeLocalSyntax;
|
|
8
|
+
export declare class TttxInput {
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* Footnote under the input field
|
|
12
|
+
*/
|
|
13
|
+
secondarylabel: string;
|
|
14
|
+
showerrormsg: boolean;
|
|
15
|
+
showerrorbubble: boolean;
|
|
16
|
+
errormsg: string;
|
|
17
|
+
iconleft: string;
|
|
18
|
+
iconleftcolor: string;
|
|
19
|
+
iconright: string;
|
|
20
|
+
iconrightcolor: string;
|
|
21
|
+
inputicon: string;
|
|
22
|
+
inputiconcolor: string;
|
|
23
|
+
inline: boolean;
|
|
24
|
+
inputautocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
25
|
+
inputautofocus: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Defines what action to present for the enter key on virtual keyboards
|
|
28
|
+
*/
|
|
29
|
+
inputkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
30
|
+
/**
|
|
31
|
+
* tabindex - Allows the HTML elements to be focusable
|
|
32
|
+
* @example <caption>In HTML (like `index.html`)</caption>
|
|
33
|
+
* <tttx-standalone-input input-index="1" />
|
|
34
|
+
* @example <caption>In TSX files</caption>
|
|
35
|
+
* <tttx-standalone-input inputindex={1} />
|
|
36
|
+
*/
|
|
37
|
+
inputindex: string | number;
|
|
38
|
+
inputtitle: string;
|
|
39
|
+
autocomplete: 'off' | 'on';
|
|
40
|
+
checked: boolean;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
max: MinMaxDates | number;
|
|
43
|
+
maxlength: string | number;
|
|
44
|
+
min: MinMaxDates | number;
|
|
45
|
+
minlength: string | number;
|
|
46
|
+
name: string;
|
|
47
|
+
pattern: string;
|
|
48
|
+
placeholder: string;
|
|
49
|
+
readonly: string | boolean;
|
|
50
|
+
required: boolean;
|
|
51
|
+
step: string | number;
|
|
52
|
+
type: string;
|
|
53
|
+
value: string | number;
|
|
54
|
+
valueChanged: EventEmitter<string>;
|
|
55
|
+
handleChange(event: Event | InputEvent): void;
|
|
56
|
+
focusChanged: EventEmitter<string>;
|
|
57
|
+
handleFocus(event: Event | InputEvent): void;
|
|
58
|
+
blurChanged: EventEmitter<string>;
|
|
59
|
+
handleBlur(event: Event | InputEvent): void;
|
|
60
|
+
invalidChanged: EventEmitter<string>;
|
|
61
|
+
handleInvalid(event: Event | InputEvent): void;
|
|
62
|
+
inputIconClick: EventEmitter<void>;
|
|
63
|
+
handleInputIconClick(event: PointerEvent): void;
|
|
64
|
+
leftIconClick: EventEmitter<void>;
|
|
65
|
+
handleLeftIconClick(event: PointerEvent): void;
|
|
66
|
+
rightIconClick: EventEmitter<void>;
|
|
67
|
+
handleRightIconClick(event: PointerEvent): void;
|
|
68
|
+
render(): any;
|
|
69
|
+
}
|
package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts
CHANGED
|
@@ -1,143 +1,143 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
iconleft: {
|
|
6
|
-
options: string[];
|
|
7
|
-
control: {
|
|
8
|
-
type: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
iconleftcolor: {
|
|
12
|
-
control: {
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
iconright: {
|
|
17
|
-
options: string[];
|
|
18
|
-
control: {
|
|
19
|
-
type: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
iconrightcolor: {
|
|
23
|
-
control: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
inputicon: {
|
|
28
|
-
options: string[];
|
|
29
|
-
control: {
|
|
30
|
-
type: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
inputiconcolor: {
|
|
34
|
-
control: {
|
|
35
|
-
type: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
label: {
|
|
39
|
-
control: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
secondarylabel: {
|
|
44
|
-
control: {
|
|
45
|
-
type: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
errormsg: {
|
|
49
|
-
control: {
|
|
50
|
-
type: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
showerrorbubble: {
|
|
54
|
-
control: {
|
|
55
|
-
type: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
showerrormsg: {
|
|
59
|
-
control: {
|
|
60
|
-
type: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
inline: {
|
|
64
|
-
control: {
|
|
65
|
-
type: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
checked: {
|
|
69
|
-
control: {
|
|
70
|
-
type: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
disabled: {
|
|
74
|
-
control: {
|
|
75
|
-
type: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
max: {
|
|
79
|
-
control: {
|
|
80
|
-
type: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
maxlength: {
|
|
84
|
-
control: {
|
|
85
|
-
type: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
min: {
|
|
89
|
-
control: {
|
|
90
|
-
type: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
minlength: {
|
|
94
|
-
control: {
|
|
95
|
-
type: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
name: {
|
|
99
|
-
control: {
|
|
100
|
-
type: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
pattern: {
|
|
104
|
-
control: {
|
|
105
|
-
type: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
placeholder: {
|
|
109
|
-
control: {
|
|
110
|
-
type: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
readonly: {
|
|
114
|
-
control: {
|
|
115
|
-
type: string;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
required: {
|
|
119
|
-
control: {
|
|
120
|
-
type: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
step: {
|
|
124
|
-
control: {
|
|
125
|
-
type: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
type: {
|
|
129
|
-
options: string[];
|
|
130
|
-
control: {
|
|
131
|
-
type: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
value: {
|
|
135
|
-
control: {
|
|
136
|
-
type: string;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
export default _default;
|
|
142
|
-
export declare const InputField: any;
|
|
143
|
-
export declare const searchField: any;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
iconleft: {
|
|
6
|
+
options: string[];
|
|
7
|
+
control: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
iconleftcolor: {
|
|
12
|
+
control: {
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
iconright: {
|
|
17
|
+
options: string[];
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
iconrightcolor: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
inputicon: {
|
|
28
|
+
options: string[];
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
inputiconcolor: {
|
|
34
|
+
control: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
label: {
|
|
39
|
+
control: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
secondarylabel: {
|
|
44
|
+
control: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
errormsg: {
|
|
49
|
+
control: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
showerrorbubble: {
|
|
54
|
+
control: {
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
showerrormsg: {
|
|
59
|
+
control: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
inline: {
|
|
64
|
+
control: {
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
checked: {
|
|
69
|
+
control: {
|
|
70
|
+
type: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
disabled: {
|
|
74
|
+
control: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
max: {
|
|
79
|
+
control: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
maxlength: {
|
|
84
|
+
control: {
|
|
85
|
+
type: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
min: {
|
|
89
|
+
control: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
minlength: {
|
|
94
|
+
control: {
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
name: {
|
|
99
|
+
control: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
pattern: {
|
|
104
|
+
control: {
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
placeholder: {
|
|
109
|
+
control: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly: {
|
|
114
|
+
control: {
|
|
115
|
+
type: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
required: {
|
|
119
|
+
control: {
|
|
120
|
+
type: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
step: {
|
|
124
|
+
control: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
type: {
|
|
129
|
+
options: string[];
|
|
130
|
+
control: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
value: {
|
|
135
|
+
control: {
|
|
136
|
+
type: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
export default _default;
|
|
142
|
+
export declare const InputField: any;
|
|
143
|
+
export declare const searchField: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class TttxToolbar {
|
|
2
|
-
border: boolean;
|
|
3
|
-
render(): any;
|
|
4
|
-
}
|
|
1
|
+
export declare class TttxToolbar {
|
|
2
|
+
border: boolean;
|
|
3
|
+
render(): any;
|
|
4
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
border: {
|
|
6
|
-
control: {
|
|
7
|
-
type: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const BasicStringList: any;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
border: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const BasicStringList: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Default: any;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: any;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { DialogItems } from "./components/molecules/tttx-dialog-box/interfaces";
|
|
8
9
|
import { FilterChangeEvent, FilterSettings } from "./components/molecules/tttx-filter/tttx-filter";
|
|
9
10
|
import { ListItem } from "./components/molecules/tttx-list/interfaces";
|
|
10
11
|
import { SorterChangeEvent, SorterData } from "./components/molecules/tttx-sorter/interfaces";
|
|
@@ -16,7 +17,12 @@ export namespace Components {
|
|
|
16
17
|
"iconposition": 'left' | 'right';
|
|
17
18
|
"notext": boolean;
|
|
18
19
|
}
|
|
20
|
+
interface TttxDialogBox {
|
|
21
|
+
"data": string | DialogItems;
|
|
22
|
+
"size": 'regular' | 'mobile' | 'large' | 'small';
|
|
23
|
+
}
|
|
19
24
|
interface TttxFilter {
|
|
25
|
+
"defaultFilterOptions": string[] | string;
|
|
20
26
|
"filterButtonStyle": 'list filter' | 'list icon' | 'table icon';
|
|
21
27
|
"filterHeader": string;
|
|
22
28
|
"filterKey": string;
|
|
@@ -101,6 +107,10 @@ export namespace Components {
|
|
|
101
107
|
"border": boolean;
|
|
102
108
|
}
|
|
103
109
|
}
|
|
110
|
+
export interface TttxDialogBoxCustomEvent<T> extends CustomEvent<T> {
|
|
111
|
+
detail: T;
|
|
112
|
+
target: HTMLTttxDialogBoxElement;
|
|
113
|
+
}
|
|
104
114
|
export interface TttxFilterCustomEvent<T> extends CustomEvent<T> {
|
|
105
115
|
detail: T;
|
|
106
116
|
target: HTMLTttxFilterElement;
|
|
@@ -128,6 +138,12 @@ declare global {
|
|
|
128
138
|
prototype: HTMLTttxButtonElement;
|
|
129
139
|
new (): HTMLTttxButtonElement;
|
|
130
140
|
};
|
|
141
|
+
interface HTMLTttxDialogBoxElement extends Components.TttxDialogBox, HTMLStencilElement {
|
|
142
|
+
}
|
|
143
|
+
var HTMLTttxDialogBoxElement: {
|
|
144
|
+
prototype: HTMLTttxDialogBoxElement;
|
|
145
|
+
new (): HTMLTttxDialogBoxElement;
|
|
146
|
+
};
|
|
131
147
|
interface HTMLTttxFilterElement extends Components.TttxFilter, HTMLStencilElement {
|
|
132
148
|
}
|
|
133
149
|
var HTMLTttxFilterElement: {
|
|
@@ -184,6 +200,7 @@ declare global {
|
|
|
184
200
|
};
|
|
185
201
|
interface HTMLElementTagNameMap {
|
|
186
202
|
"tttx-button": HTMLTttxButtonElement;
|
|
203
|
+
"tttx-dialog-box": HTMLTttxDialogBoxElement;
|
|
187
204
|
"tttx-filter": HTMLTttxFilterElement;
|
|
188
205
|
"tttx-form": HTMLTttxFormElement;
|
|
189
206
|
"tttx-icon": HTMLTttxIconElement;
|
|
@@ -202,7 +219,14 @@ declare namespace LocalJSX {
|
|
|
202
219
|
"iconposition"?: 'left' | 'right';
|
|
203
220
|
"notext"?: boolean;
|
|
204
221
|
}
|
|
222
|
+
interface TttxDialogBox {
|
|
223
|
+
"data"?: string | DialogItems;
|
|
224
|
+
"onButtonClick"?: (event: TttxDialogBoxCustomEvent<any>) => void;
|
|
225
|
+
"onCloseButtonClick"?: (event: TttxDialogBoxCustomEvent<any>) => void;
|
|
226
|
+
"size"?: 'regular' | 'mobile' | 'large' | 'small';
|
|
227
|
+
}
|
|
205
228
|
interface TttxFilter {
|
|
229
|
+
"defaultFilterOptions"?: string[] | string;
|
|
206
230
|
"filterButtonStyle"?: 'list filter' | 'list icon' | 'table icon';
|
|
207
231
|
"filterHeader"?: string;
|
|
208
232
|
"filterKey"?: string;
|
|
@@ -299,6 +323,7 @@ declare namespace LocalJSX {
|
|
|
299
323
|
}
|
|
300
324
|
interface IntrinsicElements {
|
|
301
325
|
"tttx-button": TttxButton;
|
|
326
|
+
"tttx-dialog-box": TttxDialogBox;
|
|
302
327
|
"tttx-filter": TttxFilter;
|
|
303
328
|
"tttx-form": TttxForm;
|
|
304
329
|
"tttx-icon": TttxIcon;
|
|
@@ -315,6 +340,7 @@ declare module "@stencil/core" {
|
|
|
315
340
|
export namespace JSX {
|
|
316
341
|
interface IntrinsicElements {
|
|
317
342
|
"tttx-button": LocalJSX.TttxButton & JSXBase.HTMLAttributes<HTMLTttxButtonElement>;
|
|
343
|
+
"tttx-dialog-box": LocalJSX.TttxDialogBox & JSXBase.HTMLAttributes<HTMLTttxDialogBoxElement>;
|
|
318
344
|
"tttx-filter": LocalJSX.TttxFilter & JSXBase.HTMLAttributes<HTMLTttxFilterElement>;
|
|
319
345
|
"tttx-form": LocalJSX.TttxForm & JSXBase.HTMLAttributes<HTMLTttxFormElement>;
|
|
320
346
|
"tttx-icon": LocalJSX.TttxIcon & JSXBase.HTMLAttributes<HTMLTttxIconElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
};
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: any;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: any;
|
package/dist/types/icons.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const icons: string[];
|
|
2
|
-
export default icons;
|
|
1
|
+
declare const icons: string[];
|
|
2
|
+
export default icons;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Components, JSX } from './components';
|
|
1
|
+
export { Components, JSX } from './components';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare function tagRegXp(tagName: string): RegExpExecArray;
|
|
2
|
-
declare function attributeNameCheck(): boolean;
|
|
3
|
-
declare const domSanitiserOptions: {
|
|
4
|
-
CUSTOM_ELEMENT_HANDLING: {
|
|
5
|
-
tagNameCheck: typeof tagRegXp;
|
|
6
|
-
attributeNameCheck: typeof attributeNameCheck;
|
|
7
|
-
allowCustomizedBuiltInElements: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default domSanitiserOptions;
|
|
1
|
+
declare function tagRegXp(tagName: string): RegExpExecArray;
|
|
2
|
+
declare function attributeNameCheck(): boolean;
|
|
3
|
+
declare const domSanitiserOptions: {
|
|
4
|
+
CUSTOM_ELEMENT_HANDLING: {
|
|
5
|
+
tagNameCheck: typeof tagRegXp;
|
|
6
|
+
attributeNameCheck: typeof attributeNameCheck;
|
|
7
|
+
allowCustomizedBuiltInElements: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default domSanitiserOptions;
|