@3t-transform/threeteeui 0.1.28 → 0.1.30
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/{index-dc6cc829.js → index-457ca775.js} +104 -2
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/tttx-button.cjs.entry.js +24 -24
- package/dist/cjs/tttx-filter.cjs.entry.js +159 -159
- package/dist/cjs/tttx-form.cjs.entry.js +376 -364
- 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 +43 -43
- 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 +62 -62
- package/dist/cjs/tttx-toolbar.cjs.entry.js +10 -10
- package/dist/cjs/tttx.cjs.js +7 -3
- package/dist/collection/collection-manifest.json +2 -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-filter/tttx-filter.js +334 -334
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +62 -62
- package/dist/collection/components/molecules/tttx-form/lib/setErrorState.js +37 -35
- package/dist/collection/components/molecules/tttx-form/lib/validityCheck.js +58 -58
- package/dist/collection/components/molecules/tttx-form/tttx-form.css +5 -0
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +396 -364
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +248 -127
- 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.css +27 -5
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +645 -645
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +163 -163
- 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/index.d.ts +9 -0
- package/dist/components/index.js +1 -1
- package/dist/components/tttx-button.js +48 -48
- package/dist/components/tttx-filter.js +191 -191
- package/dist/components/tttx-form.js +394 -381
- package/dist/components/tttx-icon2.js +28 -28
- package/dist/components/tttx-keyvalue-block.js +76 -76
- package/dist/components/tttx-list.js +65 -65
- package/dist/components/tttx-loading-spinner.js +33 -33
- package/dist/components/tttx-sorter.js +130 -130
- package/dist/components/tttx-standalone-input.js +110 -110
- package/dist/components/tttx-toolbar.js +26 -26
- package/dist/esm/{index-86faeaab.js → index-d784fb3e.js} +104 -3
- package/dist/esm/loader.js +4 -3
- 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-filter.entry.js +159 -159
- package/dist/esm/tttx-form.entry.js +376 -364
- 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 +43 -43
- 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 +62 -62
- package/dist/esm/tttx-toolbar.entry.js +10 -10
- package/dist/esm/tttx.js +4 -3
- package/dist/tttx/p-0ebffdfc.js +2 -0
- package/dist/tttx/p-1112ed2e.entry.js +1 -0
- package/dist/tttx/p-13495422.entry.js +1 -0
- package/dist/tttx/{p-ae00cae3.entry.js → p-1ed7a43d.entry.js} +1 -1
- package/dist/tttx/p-237fe0d5.entry.js +1 -0
- package/dist/tttx/p-2731fbc6.entry.js +1 -0
- package/dist/tttx/p-280b8e45.entry.js +1 -0
- package/dist/tttx/p-3772f4d0.entry.js +1 -0
- package/dist/tttx/p-390d97dd.entry.js +1 -0
- package/dist/tttx/p-49796abf.entry.js +1 -0
- package/dist/tttx/p-4f68f1eb.entry.js +1 -0
- package/dist/tttx/p-53793ed2.entry.js +1 -0
- package/dist/tttx/p-5f335153.entry.js +1 -0
- package/dist/tttx/p-60a0fee2.entry.js +1 -0
- package/dist/tttx/p-6ab75c0b.entry.js +1 -0
- package/dist/tttx/{p-daa27411.entry.js → p-6b006ccf.entry.js} +1 -1
- package/dist/tttx/p-6cbe1824.entry.js +1 -0
- package/dist/tttx/p-6cefa1ce.entry.js +1 -0
- package/dist/tttx/p-72e7f7dd.entry.js +3 -0
- package/dist/tttx/{p-c72d1a03.entry.js → p-798a098a.entry.js} +1 -1
- package/dist/tttx/p-824af346.entry.js +1 -0
- package/dist/tttx/{p-f1d7eb35.entry.js → p-91e42647.entry.js} +1 -1
- package/dist/tttx/{p-8f3badad.entry.js → p-b720c4ad.entry.js} +1 -1
- package/dist/tttx/p-c06f1207.entry.js +1 -0
- package/dist/tttx/p-c0a15524.entry.js +1 -0
- package/dist/tttx/{p-e25d5fe2.entry.js → p-c4162029.entry.js} +1 -1
- package/dist/tttx/p-c7c968dd.entry.js +1 -0
- package/dist/tttx/{p-c4538d55.entry.js → p-cac26a1b.entry.js} +1 -1
- package/dist/tttx/p-ce728715.entry.js +1 -0
- package/dist/tttx/p-d3932db5.entry.js +1 -0
- package/dist/tttx/p-d575ef2d.entry.js +1 -0
- package/dist/tttx/p-d83edcfb.entry.js +1 -0
- package/dist/tttx/p-d8e03ed6.entry.js +1 -0
- package/dist/tttx/p-ebb496a2.entry.js +1 -0
- package/dist/tttx/p-fb5e737b.entry.js +1 -0
- package/dist/tttx/p-fce571c2.entry.js +1 -0
- package/dist/tttx/tttx.esm.js +1 -1
- 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-filter/tttx-filter.d.ts +39 -39
- package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +68 -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 +111 -114
- package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +13 -13
- 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 +60 -60
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +128 -128
- 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 +3 -2
- 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 +1 -1
- package/dist/cjs/domsanitiser.options-277161b9.js +0 -1667
- package/dist/collection/components/atoms/tttx-button/test/tttx-button.e2e.js +0 -9
- package/dist/collection/components/atoms/tttx-button/test/tttx-button.spec.js +0 -83
- package/dist/collection/components/atoms/tttx-icon/test/tttx-icon.e2e.js +0 -9
- package/dist/collection/components/atoms/tttx-icon/test/tttx-icon.spec.js +0 -16
- package/dist/collection/components/atoms/tttx-keyvalue-block/test/tttx-keyvalue-block.spec.js +0 -216
- package/dist/collection/components/atoms/tttx-loading-spinner/Test/tttx-loading-spinner.spec.js +0 -64
- package/dist/collection/components/molecules/tttx-filter/test/tttx-filter.spec.js +0 -231
- package/dist/collection/components/molecules/tttx-form/lib/setErrorState.spec.js +0 -38
- package/dist/collection/components/molecules/tttx-form/lib/validityCheck.spec.js +0 -214
- package/dist/collection/components/molecules/tttx-form/test/tttx-form.e2e.js +0 -9
- package/dist/collection/components/molecules/tttx-form/test/tttx-form.spec.js +0 -232
- package/dist/collection/components/molecules/tttx-list/test/ttttx-list.spec.e2e.js +0 -26
- package/dist/collection/components/molecules/tttx-list/test/tttx-list.spec.js +0 -183
- package/dist/collection/components/molecules/tttx-sorter/test/tttx-sorter.spec.js +0 -87
- package/dist/collection/components/molecules/tttx-standalone-input/test/tttx-standalone-input.e2e.js +0 -9
- package/dist/collection/components/molecules/tttx-standalone-input/test/tttx-standalone-input.spec.js +0 -215
- package/dist/collection/components/molecules/tttx-toolbar/test/tttx-toolbar.spec.js +0 -52
- package/dist/collection/shared/test/domsanitiser.options.spec.js +0 -23
- package/dist/components/domsanitiser.options.js +0 -1664
- package/dist/esm/domsanitiser.options-cc420431.js +0 -1664
- package/dist/tttx/p-12fc0b16.entry.js +0 -3
- package/dist/tttx/p-2e43a578.entry.js +0 -1
- package/dist/tttx/p-33c0cbdc.entry.js +0 -1
- package/dist/tttx/p-52a47b7c.js +0 -2
- package/dist/tttx/p-72b4c98a.entry.js +0 -1
- package/dist/tttx/p-7e6fa227.entry.js +0 -1
- package/dist/tttx/p-90b0f72a.entry.js +0 -1
- package/dist/tttx/p-b4290a5b.js +0 -3
- package/dist/tttx/p-c4f2186e.entry.js +0 -1
- package/dist/types/components/atoms/tttx-button/test/tttx-button.e2e.d.ts +0 -1
- package/dist/types/components/atoms/tttx-button/test/tttx-button.spec.d.ts +0 -1
- package/dist/types/components/atoms/tttx-icon/test/tttx-icon.e2e.d.ts +0 -1
- package/dist/types/components/atoms/tttx-icon/test/tttx-icon.spec.d.ts +0 -1
- package/dist/types/components/atoms/tttx-keyvalue-block/test/tttx-keyvalue-block.spec.d.ts +0 -1
- package/dist/types/components/atoms/tttx-loading-spinner/Test/tttx-loading-spinner.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-filter/test/tttx-filter.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-form/lib/setErrorState.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-form/lib/validityCheck.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-form/test/tttx-form.e2e.d.ts +0 -1
- package/dist/types/components/molecules/tttx-form/test/tttx-form.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-list/test/ttttx-list.spec.e2e.d.ts +0 -1
- package/dist/types/components/molecules/tttx-list/test/tttx-list.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-sorter/test/tttx-sorter.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-standalone-input/test/tttx-standalone-input.e2e.d.ts +0 -1
- package/dist/types/components/molecules/tttx-standalone-input/test/tttx-standalone-input.spec.d.ts +0 -1
- package/dist/types/components/molecules/tttx-toolbar/test/tttx-toolbar.spec.d.ts +0 -1
- package/dist/types/shared/test/domsanitiser.options.spec.d.ts +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
parameters: {
|
|
5
|
-
actions: {
|
|
6
|
-
handles: string[];
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const BasicStringList: any;
|
|
13
|
-
export declare const BasicObjectList: any;
|
|
14
|
-
export declare const BasicClickableList: any;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
parameters: {
|
|
5
|
+
actions: {
|
|
6
|
+
handles: string[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const BasicStringList: any;
|
|
13
|
+
export declare const BasicObjectList: any;
|
|
14
|
+
export declare const BasicClickableList: any;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import { SorterData, SorterChangeEvent } from './interfaces';
|
|
3
|
-
export declare class TttxSorter {
|
|
4
|
-
sorterKey: string;
|
|
5
|
-
defaultSortDirection: 'ascending' | 'descending';
|
|
6
|
-
fieldOptionsData: string | SorterData;
|
|
7
|
-
defaultOption: string;
|
|
8
|
-
selectedField: string;
|
|
9
|
-
sortDirection: 'ascending' | 'descending';
|
|
10
|
-
dropdownExpand: boolean;
|
|
11
|
-
dropdownOptions: HTMLElement[];
|
|
12
|
-
sorterChangeEvent: EventEmitter<SorterChangeEvent>;
|
|
13
|
-
el: any;
|
|
14
|
-
emitSortEvent(): void;
|
|
15
|
-
onSortToggleClick(event: Event): void;
|
|
16
|
-
onDropdownClicked(): void;
|
|
17
|
-
onDropdownSelected(event: Event): void;
|
|
18
|
-
render(): any;
|
|
19
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { SorterData, SorterChangeEvent } from './interfaces';
|
|
3
|
+
export declare class TttxSorter {
|
|
4
|
+
sorterKey: string;
|
|
5
|
+
defaultSortDirection: 'ascending' | 'descending';
|
|
6
|
+
fieldOptionsData: string | SorterData;
|
|
7
|
+
defaultOption: string;
|
|
8
|
+
selectedField: string;
|
|
9
|
+
sortDirection: 'ascending' | 'descending';
|
|
10
|
+
dropdownExpand: boolean;
|
|
11
|
+
dropdownOptions: HTMLElement[];
|
|
12
|
+
sorterChangeEvent: EventEmitter<SorterChangeEvent>;
|
|
13
|
+
el: any;
|
|
14
|
+
emitSortEvent(): void;
|
|
15
|
+
onSortToggleClick(event: Event): void;
|
|
16
|
+
onDropdownClicked(): void;
|
|
17
|
+
onDropdownSelected(event: Event): void;
|
|
18
|
+
render(): any;
|
|
19
|
+
}
|
|
@@ -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,60 +1,60 @@
|
|
|
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
|
-
iconright: string;
|
|
19
|
-
inputicon: string;
|
|
20
|
-
inline: boolean;
|
|
21
|
-
inputautocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
22
|
-
inputautofocus: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Defines what action to present for the enter key on virtual keyboards
|
|
25
|
-
*/
|
|
26
|
-
inputkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
27
|
-
/**
|
|
28
|
-
* tabindex - Allows the HTML elements to be focusable
|
|
29
|
-
* @example <caption>In HTML (like `index.html`)</caption>
|
|
30
|
-
* <tttx-standalone-input input-index="1" />
|
|
31
|
-
* @example <caption>In TSX files</caption>
|
|
32
|
-
* <tttx-standalone-input inputindex={1} />
|
|
33
|
-
*/
|
|
34
|
-
inputindex: string | number;
|
|
35
|
-
inputtitle: string;
|
|
36
|
-
autocomplete: 'off' | 'on';
|
|
37
|
-
checked: boolean;
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
max: MinMaxDates | number;
|
|
40
|
-
maxlength: string | number;
|
|
41
|
-
min: MinMaxDates | number;
|
|
42
|
-
minlength: string | number;
|
|
43
|
-
name: string;
|
|
44
|
-
pattern: string;
|
|
45
|
-
placeholder: string;
|
|
46
|
-
readonly: string | boolean;
|
|
47
|
-
required: boolean;
|
|
48
|
-
step: string | number;
|
|
49
|
-
type: string;
|
|
50
|
-
value: string | number;
|
|
51
|
-
valueChanged: EventEmitter<string>;
|
|
52
|
-
handleChange(event: Event | InputEvent): void;
|
|
53
|
-
focusChanged: EventEmitter<string>;
|
|
54
|
-
handleFocus(event: Event | InputEvent): void;
|
|
55
|
-
blurChanged: EventEmitter<string>;
|
|
56
|
-
handleBlur(event: Event | InputEvent): void;
|
|
57
|
-
invalidChanged: EventEmitter<string>;
|
|
58
|
-
handleInvalid(event: Event | InputEvent): void;
|
|
59
|
-
render(): any;
|
|
60
|
-
}
|
|
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
|
+
iconright: string;
|
|
19
|
+
inputicon: string;
|
|
20
|
+
inline: boolean;
|
|
21
|
+
inputautocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
22
|
+
inputautofocus: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Defines what action to present for the enter key on virtual keyboards
|
|
25
|
+
*/
|
|
26
|
+
inputkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
27
|
+
/**
|
|
28
|
+
* tabindex - Allows the HTML elements to be focusable
|
|
29
|
+
* @example <caption>In HTML (like `index.html`)</caption>
|
|
30
|
+
* <tttx-standalone-input input-index="1" />
|
|
31
|
+
* @example <caption>In TSX files</caption>
|
|
32
|
+
* <tttx-standalone-input inputindex={1} />
|
|
33
|
+
*/
|
|
34
|
+
inputindex: string | number;
|
|
35
|
+
inputtitle: string;
|
|
36
|
+
autocomplete: 'off' | 'on';
|
|
37
|
+
checked: boolean;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
max: MinMaxDates | number;
|
|
40
|
+
maxlength: string | number;
|
|
41
|
+
min: MinMaxDates | number;
|
|
42
|
+
minlength: string | number;
|
|
43
|
+
name: string;
|
|
44
|
+
pattern: string;
|
|
45
|
+
placeholder: string;
|
|
46
|
+
readonly: string | boolean;
|
|
47
|
+
required: boolean;
|
|
48
|
+
step: string | number;
|
|
49
|
+
type: string;
|
|
50
|
+
value: string | number;
|
|
51
|
+
valueChanged: EventEmitter<string>;
|
|
52
|
+
handleChange(event: Event | InputEvent): void;
|
|
53
|
+
focusChanged: EventEmitter<string>;
|
|
54
|
+
handleFocus(event: Event | InputEvent): void;
|
|
55
|
+
blurChanged: EventEmitter<string>;
|
|
56
|
+
handleBlur(event: Event | InputEvent): void;
|
|
57
|
+
invalidChanged: EventEmitter<string>;
|
|
58
|
+
handleInvalid(event: Event | InputEvent): void;
|
|
59
|
+
render(): any;
|
|
60
|
+
}
|
package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
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
|
-
iconright: {
|
|
12
|
-
options: string[];
|
|
13
|
-
control: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
inputicon: {
|
|
18
|
-
options: string[];
|
|
19
|
-
control: {
|
|
20
|
-
type: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
label: {
|
|
24
|
-
control: {
|
|
25
|
-
type: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
secondarylabel: {
|
|
29
|
-
control: {
|
|
30
|
-
type: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
errormsg: {
|
|
34
|
-
control: {
|
|
35
|
-
type: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
showerrorbubble: {
|
|
39
|
-
control: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
showerrormsg: {
|
|
44
|
-
control: {
|
|
45
|
-
type: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
inline: {
|
|
49
|
-
control: {
|
|
50
|
-
type: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
checked: {
|
|
54
|
-
control: {
|
|
55
|
-
type: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
disabled: {
|
|
59
|
-
control: {
|
|
60
|
-
type: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
max: {
|
|
64
|
-
control: {
|
|
65
|
-
type: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
maxlength: {
|
|
69
|
-
control: {
|
|
70
|
-
type: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
min: {
|
|
74
|
-
control: {
|
|
75
|
-
type: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
minlength: {
|
|
79
|
-
control: {
|
|
80
|
-
type: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
name: {
|
|
84
|
-
control: {
|
|
85
|
-
type: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
pattern: {
|
|
89
|
-
control: {
|
|
90
|
-
type: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
placeholder: {
|
|
94
|
-
control: {
|
|
95
|
-
type: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
readonly: {
|
|
99
|
-
control: {
|
|
100
|
-
type: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
required: {
|
|
104
|
-
control: {
|
|
105
|
-
type: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
step: {
|
|
109
|
-
control: {
|
|
110
|
-
type: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
type: {
|
|
114
|
-
options: string[];
|
|
115
|
-
control: {
|
|
116
|
-
type: string;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
value: {
|
|
120
|
-
control: {
|
|
121
|
-
type: string;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
export default _default;
|
|
127
|
-
export declare const InputField: any;
|
|
128
|
-
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
|
+
iconright: {
|
|
12
|
+
options: string[];
|
|
13
|
+
control: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
inputicon: {
|
|
18
|
+
options: string[];
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
label: {
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
secondarylabel: {
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
errormsg: {
|
|
34
|
+
control: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
showerrorbubble: {
|
|
39
|
+
control: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
showerrormsg: {
|
|
44
|
+
control: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
inline: {
|
|
49
|
+
control: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
checked: {
|
|
54
|
+
control: {
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
disabled: {
|
|
59
|
+
control: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
max: {
|
|
64
|
+
control: {
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
maxlength: {
|
|
69
|
+
control: {
|
|
70
|
+
type: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
min: {
|
|
74
|
+
control: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
minlength: {
|
|
79
|
+
control: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
name: {
|
|
84
|
+
control: {
|
|
85
|
+
type: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
pattern: {
|
|
89
|
+
control: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
placeholder: {
|
|
94
|
+
control: {
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
readonly: {
|
|
99
|
+
control: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
required: {
|
|
104
|
+
control: {
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
step: {
|
|
109
|
+
control: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
type: {
|
|
114
|
+
options: string[];
|
|
115
|
+
control: {
|
|
116
|
+
type: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
value: {
|
|
120
|
+
control: {
|
|
121
|
+
type: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
export default _default;
|
|
127
|
+
export declare const InputField: any;
|
|
128
|
+
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;
|
|
@@ -26,8 +26,9 @@ export namespace Components {
|
|
|
26
26
|
"showSelectAll": boolean;
|
|
27
27
|
}
|
|
28
28
|
interface TttxForm {
|
|
29
|
+
"data": any;
|
|
29
30
|
"formschema": any;
|
|
30
|
-
"
|
|
31
|
+
"submit": () => Promise<void>;
|
|
31
32
|
}
|
|
32
33
|
interface TttxIcon {
|
|
33
34
|
"color": string;
|
|
@@ -209,10 +210,10 @@ declare namespace LocalJSX {
|
|
|
209
210
|
"showSelectAll"?: boolean;
|
|
210
211
|
}
|
|
211
212
|
interface TttxForm {
|
|
213
|
+
"data"?: any;
|
|
212
214
|
"formschema"?: any;
|
|
213
215
|
"onDataChanged"?: (event: TttxFormCustomEvent<{ name: string, value: any }>) => void;
|
|
214
216
|
"onDataSubmitted"?: (event: TttxFormCustomEvent<FormData>) => void;
|
|
215
|
-
"submitValue"?: any;
|
|
216
217
|
}
|
|
217
218
|
interface TttxIcon {
|
|
218
219
|
"color"?: string;
|
|
@@ -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;
|