@3t-transform/threeteeui 0.0.16 → 0.0.18
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-864b7110.js → index-bf777121.js} +3 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tttx-button.cjs.entry.js +25 -19
- package/dist/cjs/tttx-checkbox.cjs.entry.js +18 -18
- package/dist/cjs/tttx-form.cjs.entry.js +365 -365
- package/dist/cjs/tttx-icon.cjs.entry.js +14 -1856
- package/dist/cjs/tttx-input-calendar.cjs.entry.js +125 -0
- package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +33 -0
- package/dist/cjs/tttx-list.cjs.entry.js +188 -188
- package/dist/cjs/tttx-loading-spinner.cjs.entry.js +16 -16
- package/dist/cjs/tttx-popover-content.cjs.entry.js +13 -13
- package/dist/cjs/tttx-standalone-input.cjs.entry.js +127 -127
- package/dist/cjs/tttx-table.cjs.entry.js +50 -50
- package/dist/cjs/tttx.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.css +94 -18
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +110 -93
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +74 -27
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.css +8 -5
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +62 -116
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +22 -47
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.css +26 -0
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +56 -0
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +12 -0
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +67 -66
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -17
- package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.js +97 -96
- package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.stories.js +23 -23
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +102 -101
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-form/tttx-form.css +95 -11
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +452 -451
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +109 -109
- package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.css +93 -0
- package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.js +174 -0
- package/dist/collection/components/molecules/tttx-input-calendar/tttx-input-calendar.stories.js +27 -0
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +312 -311
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +14 -14
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +570 -569
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +134 -134
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +174 -177
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +65 -65
- 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/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/tttx-button.js +1 -40
- package/dist/components/tttx-button2.js +56 -0
- package/dist/components/tttx-checkbox.js +36 -36
- package/dist/components/tttx-form.js +382 -382
- package/dist/components/tttx-icon2.js +32 -1874
- package/dist/components/tttx-input-calendar.d.ts +11 -0
- package/dist/components/tttx-input-calendar.js +157 -0
- package/dist/components/tttx-keyvalue-block.d.ts +11 -0
- package/dist/components/tttx-keyvalue-block.js +49 -0
- package/dist/components/tttx-list.js +214 -214
- package/dist/components/tttx-loading-spinner2.js +33 -33
- package/dist/components/tttx-popover-content2.js +32 -32
- package/dist/components/tttx-standalone-input.js +168 -169
- package/dist/components/tttx-table.js +79 -79
- package/dist/esm/{index-232e347b.js → index-a05bd606.js} +3 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- 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 +25 -19
- package/dist/esm/tttx-checkbox.entry.js +18 -18
- package/dist/esm/tttx-form.entry.js +365 -365
- package/dist/esm/tttx-icon.entry.js +14 -1856
- package/dist/esm/tttx-input-calendar.entry.js +121 -0
- package/dist/esm/tttx-keyvalue-block.entry.js +29 -0
- package/dist/esm/tttx-list.entry.js +188 -188
- package/dist/esm/tttx-loading-spinner.entry.js +16 -16
- package/dist/esm/tttx-popover-content.entry.js +13 -13
- package/dist/esm/tttx-standalone-input.entry.js +127 -127
- package/dist/esm/tttx-table.entry.js +50 -50
- package/dist/esm/tttx.js +3 -3
- package/dist/tttx/{p-3973b7dd.entry.js → p-037d286f.entry.js} +1 -1
- package/dist/tttx/{p-184c4fae.js → p-07b134af.js} +1 -1
- package/dist/tttx/{p-125f06b3.entry.js → p-1b63f16a.entry.js} +1 -1
- package/dist/tttx/p-45afb84c.entry.js +1 -0
- package/dist/tttx/p-68ff0f39.entry.js +1 -0
- package/dist/tttx/{p-6828fe6f.entry.js → p-93763d3c.entry.js} +1 -1
- package/dist/tttx/p-a5808741.entry.js +1 -0
- package/dist/tttx/{p-fe4c70b2.entry.js → p-a92ca87e.entry.js} +1 -1
- package/dist/tttx/{p-5ce1ba22.entry.js → p-a96ca037.entry.js} +1 -1
- package/dist/tttx/p-dc087fd8.entry.js +1 -0
- package/dist/tttx/p-e3cc75bb.entry.js +1 -0
- package/dist/tttx/{p-01e1894e.entry.js → p-f579ed1e.entry.js} +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +10 -9
- package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +10 -20
- package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +5 -14
- package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +20 -21
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +4 -0
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +6 -0
- 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/atoms/tttx-popover-content/tttx-popover-content.d.ts +7 -7
- package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.stories.d.ts +18 -18
- package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +9 -9
- package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +6 -6
- package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +134 -134
- package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +12 -12
- package/dist/types/components/molecules/tttx-input-calendar/tttx-input-calendar.d.ts +19 -0
- package/dist/types/components/molecules/tttx-input-calendar/tttx-input-calendar.stories.d.ts +26 -0
- package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +51 -51
- package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +13 -13
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +38 -38
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +106 -106
- package/dist/types/components/molecules/tttx-table/tttx-table.d.ts +15 -15
- package/dist/types/components/molecules/tttx-table/tttx-table.stories.d.ts +21 -21
- package/dist/types/components/palette.stories.d.ts +6 -6
- package/dist/types/components.d.ts +46 -15
- 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/package.json +4 -4
- package/dist/tttx/p-10316ff1.entry.js +0 -1
- package/dist/tttx/p-b1c22f5f.entry.js +0 -1
- package/dist/tttx/p-c7f9be65.entry.js +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
required: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
parameters: {
|
|
12
|
+
actions: {
|
|
13
|
+
handles: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const BasicCalendar: {
|
|
20
|
+
({ required }: {
|
|
21
|
+
required: any;
|
|
22
|
+
}): string;
|
|
23
|
+
args: {
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
interface LoadEventOptions {
|
|
3
|
-
name: string;
|
|
4
|
-
items: object[];
|
|
5
|
-
lastPage: boolean;
|
|
6
|
-
}
|
|
7
|
-
interface ActionSelectedEventOptions {
|
|
8
|
-
name: string;
|
|
9
|
-
eventName: string;
|
|
10
|
-
removeRows: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface GenericTemplateData {
|
|
13
|
-
text: string;
|
|
14
|
-
icon?: string;
|
|
15
|
-
iconColor?: string;
|
|
16
|
-
}
|
|
17
|
-
export declare class TttxList {
|
|
18
|
-
host: HTMLElement;
|
|
19
|
-
name: string;
|
|
20
|
-
selectable: boolean;
|
|
21
|
-
items: object[];
|
|
22
|
-
selectedIds: number[];
|
|
23
|
-
loading: boolean;
|
|
24
|
-
lastPage: boolean;
|
|
25
|
-
private template;
|
|
26
|
-
private scrollableParent;
|
|
27
|
-
private rowCount;
|
|
28
|
-
listLoadHandler(event: CustomEvent<LoadEventOptions>): void;
|
|
29
|
-
listPaginate: EventEmitter;
|
|
30
|
-
listPaginateHandler(): void;
|
|
31
|
-
listClearDataCacheHandler(event: CustomEvent): void;
|
|
32
|
-
listActionSelectedEventHandler(event: CustomEvent<ActionSelectedEventOptions>): void;
|
|
33
|
-
listSelectedEvent: EventEmitter;
|
|
34
|
-
removeSelectedRows(): void;
|
|
35
|
-
listItemClick: EventEmitter;
|
|
36
|
-
listItemClickHandler(itemData: object): void;
|
|
37
|
-
componentWillLoad(): void;
|
|
38
|
-
componentDidLoad(): void;
|
|
39
|
-
listItemContainer(): Element;
|
|
40
|
-
scrollHandler(): Promise<void>;
|
|
41
|
-
isScrollable(node: HTMLElement): boolean;
|
|
42
|
-
getScrollableParent(node: HTMLElement): any;
|
|
43
|
-
appendRowCheckbox(rowContainer: HTMLElement): void;
|
|
44
|
-
appendSeededTemplate(rowData: object, rowContainer: HTMLElement): void;
|
|
45
|
-
appendGenericTemplate(rowData: GenericTemplateData, rowContainer: HTMLElement): void;
|
|
46
|
-
row(rowData: object): HTMLDivElement;
|
|
47
|
-
renderRows(batchData: object[]): void;
|
|
48
|
-
loadIndicator(): any;
|
|
49
|
-
render(): any;
|
|
50
|
-
}
|
|
51
|
-
export {};
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
interface LoadEventOptions {
|
|
3
|
+
name: string;
|
|
4
|
+
items: object[];
|
|
5
|
+
lastPage: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface ActionSelectedEventOptions {
|
|
8
|
+
name: string;
|
|
9
|
+
eventName: string;
|
|
10
|
+
removeRows: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface GenericTemplateData {
|
|
13
|
+
text: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
iconColor?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class TttxList {
|
|
18
|
+
host: HTMLElement;
|
|
19
|
+
name: string;
|
|
20
|
+
selectable: boolean;
|
|
21
|
+
items: object[];
|
|
22
|
+
selectedIds: number[];
|
|
23
|
+
loading: boolean;
|
|
24
|
+
lastPage: boolean;
|
|
25
|
+
private template;
|
|
26
|
+
private scrollableParent;
|
|
27
|
+
private rowCount;
|
|
28
|
+
listLoadHandler(event: CustomEvent<LoadEventOptions>): void;
|
|
29
|
+
listPaginate: EventEmitter;
|
|
30
|
+
listPaginateHandler(): void;
|
|
31
|
+
listClearDataCacheHandler(event: CustomEvent): void;
|
|
32
|
+
listActionSelectedEventHandler(event: CustomEvent<ActionSelectedEventOptions>): void;
|
|
33
|
+
listSelectedEvent: EventEmitter;
|
|
34
|
+
removeSelectedRows(): void;
|
|
35
|
+
listItemClick: EventEmitter;
|
|
36
|
+
listItemClickHandler(itemData: object): void;
|
|
37
|
+
componentWillLoad(): void;
|
|
38
|
+
componentDidLoad(): void;
|
|
39
|
+
listItemContainer(): Element;
|
|
40
|
+
scrollHandler(): Promise<void>;
|
|
41
|
+
isScrollable(node: HTMLElement): boolean;
|
|
42
|
+
getScrollableParent(node: HTMLElement): any;
|
|
43
|
+
appendRowCheckbox(rowContainer: HTMLElement): void;
|
|
44
|
+
appendSeededTemplate(rowData: object, rowContainer: HTMLElement): void;
|
|
45
|
+
appendGenericTemplate(rowData: GenericTemplateData, rowContainer: HTMLElement): void;
|
|
46
|
+
row(rowData: object): HTMLDivElement;
|
|
47
|
+
renderRows(batchData: object[]): void;
|
|
48
|
+
loadIndicator(): any;
|
|
49
|
+
render(): any;
|
|
50
|
+
}
|
|
51
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
selectable: {
|
|
6
|
-
control: {
|
|
7
|
-
type: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const ListWithGenericTemplate: (args: any) => string;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
selectable: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const ListWithGenericTemplate: (args: any) => string;
|
|
@@ -1,38 +1,38 @@
|
|
|
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
|
-
showerrormsg: boolean;
|
|
11
|
-
errormsg: string;
|
|
12
|
-
iconleft: string;
|
|
13
|
-
iconright: string;
|
|
14
|
-
autocapitalize: string;
|
|
15
|
-
autocomplete: 'off' | 'on';
|
|
16
|
-
autofocus: boolean;
|
|
17
|
-
checked: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
max: MinMaxDates | number;
|
|
20
|
-
maxlength: string | number;
|
|
21
|
-
min: MinMaxDates | number;
|
|
22
|
-
minlength: string | number;
|
|
23
|
-
name: string;
|
|
24
|
-
pattern: string;
|
|
25
|
-
placeholder: string;
|
|
26
|
-
readonly: string | boolean;
|
|
27
|
-
required: boolean;
|
|
28
|
-
step: string | number;
|
|
29
|
-
type: string;
|
|
30
|
-
value: string | number;
|
|
31
|
-
valueChanged: EventEmitter<string>;
|
|
32
|
-
handleChange(event: Event | InputEvent): void;
|
|
33
|
-
focusChanged: EventEmitter<string>;
|
|
34
|
-
handleFocus(event: Event | InputEvent): void;
|
|
35
|
-
blurChanged: EventEmitter<string>;
|
|
36
|
-
handleBlur(event: Event | InputEvent): void;
|
|
37
|
-
render(): any;
|
|
38
|
-
}
|
|
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
|
+
showerrormsg: boolean;
|
|
11
|
+
errormsg: string;
|
|
12
|
+
iconleft: string;
|
|
13
|
+
iconright: string;
|
|
14
|
+
autocapitalize: string;
|
|
15
|
+
autocomplete: 'off' | 'on';
|
|
16
|
+
autofocus: boolean;
|
|
17
|
+
checked: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
max: MinMaxDates | number;
|
|
20
|
+
maxlength: string | number;
|
|
21
|
+
min: MinMaxDates | number;
|
|
22
|
+
minlength: string | number;
|
|
23
|
+
name: string;
|
|
24
|
+
pattern: string;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
readonly: string | boolean;
|
|
27
|
+
required: boolean;
|
|
28
|
+
step: string | number;
|
|
29
|
+
type: string;
|
|
30
|
+
value: string | number;
|
|
31
|
+
valueChanged: EventEmitter<string>;
|
|
32
|
+
handleChange(event: Event | InputEvent): void;
|
|
33
|
+
focusChanged: EventEmitter<string>;
|
|
34
|
+
handleFocus(event: Event | InputEvent): void;
|
|
35
|
+
blurChanged: EventEmitter<string>;
|
|
36
|
+
handleBlur(event: Event | InputEvent): void;
|
|
37
|
+
render(): any;
|
|
38
|
+
}
|
package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
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
|
-
label: {
|
|
18
|
-
control: {
|
|
19
|
-
type: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
errormsg: {
|
|
23
|
-
control: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
showerrormsg: {
|
|
28
|
-
control: {
|
|
29
|
-
type: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
checked: {
|
|
33
|
-
control: {
|
|
34
|
-
type: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
disabled: {
|
|
38
|
-
control: {
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
max: {
|
|
43
|
-
control: {
|
|
44
|
-
type: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
maxlength: {
|
|
48
|
-
control: {
|
|
49
|
-
type: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
min: {
|
|
53
|
-
control: {
|
|
54
|
-
type: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
minlength: {
|
|
58
|
-
control: {
|
|
59
|
-
type: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
name: {
|
|
63
|
-
control: {
|
|
64
|
-
type: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
pattern: {
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
placeholder: {
|
|
73
|
-
control: {
|
|
74
|
-
type: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
readonly: {
|
|
78
|
-
control: {
|
|
79
|
-
type: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
required: {
|
|
83
|
-
control: {
|
|
84
|
-
type: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
step: {
|
|
88
|
-
control: {
|
|
89
|
-
type: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
type: {
|
|
93
|
-
options: string[];
|
|
94
|
-
control: {
|
|
95
|
-
type: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
value: {
|
|
99
|
-
control: {
|
|
100
|
-
type: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
export default _default;
|
|
106
|
-
export declare const InputField: 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
|
+
label: {
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
errormsg: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
showerrormsg: {
|
|
28
|
+
control: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
checked: {
|
|
33
|
+
control: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
control: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
max: {
|
|
43
|
+
control: {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
maxlength: {
|
|
48
|
+
control: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
min: {
|
|
53
|
+
control: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
minlength: {
|
|
58
|
+
control: {
|
|
59
|
+
type: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
name: {
|
|
63
|
+
control: {
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
pattern: {
|
|
68
|
+
control: {
|
|
69
|
+
type: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
placeholder: {
|
|
73
|
+
control: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
readonly: {
|
|
78
|
+
control: {
|
|
79
|
+
type: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
required: {
|
|
83
|
+
control: {
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
step: {
|
|
88
|
+
control: {
|
|
89
|
+
type: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
type: {
|
|
93
|
+
options: string[];
|
|
94
|
+
control: {
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
value: {
|
|
99
|
+
control: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default _default;
|
|
106
|
+
export declare const InputField: any;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
export declare class TttxTable {
|
|
3
|
-
headers: any;
|
|
4
|
-
data: any;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
selected: number;
|
|
7
|
-
rowSelected: EventEmitter<any>;
|
|
8
|
-
headerClicked: EventEmitter<any>;
|
|
9
|
-
handleKeyDown(ev: KeyboardEvent): void;
|
|
10
|
-
updateSelectedIndex(key: string): void;
|
|
11
|
-
emitRowSelected(): void;
|
|
12
|
-
rowSelectedHandler(row: any): void;
|
|
13
|
-
headerClickedHandler(key: string): void;
|
|
14
|
-
render(): any;
|
|
15
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class TttxTable {
|
|
3
|
+
headers: any[];
|
|
4
|
+
data: any[];
|
|
5
|
+
loading: boolean;
|
|
6
|
+
selected: number;
|
|
7
|
+
rowSelected: EventEmitter<any>;
|
|
8
|
+
headerClicked: EventEmitter<any>;
|
|
9
|
+
handleKeyDown(ev: KeyboardEvent): void;
|
|
10
|
+
updateSelectedIndex(key: string): void;
|
|
11
|
+
emitRowSelected(): void;
|
|
12
|
+
rowSelectedHandler(row: any): void;
|
|
13
|
+
headerClickedHandler(key: string): void;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
loading: {
|
|
6
|
-
control: {
|
|
7
|
-
type: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
parameters: {
|
|
12
|
-
actions: {
|
|
13
|
-
handles: string[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
19
|
-
export declare const BasicTable: any;
|
|
20
|
-
export declare const TablePreSelected: any;
|
|
21
|
-
export declare const TableLoading: any;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
loading: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
parameters: {
|
|
12
|
+
actions: {
|
|
13
|
+
handles: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const BasicTable: any;
|
|
20
|
+
export declare const TablePreSelected: any;
|
|
21
|
+
export declare const TableLoading: 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;
|
|
@@ -8,8 +8,10 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { MinMaxDates } from "./components/molecules/tttx-standalone-input/tttx-standalone-input";
|
|
9
9
|
export namespace Components {
|
|
10
10
|
interface TttxButton {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"design": string;
|
|
12
|
+
"icon": string;
|
|
13
|
+
"iconposition": 'left' | 'right';
|
|
14
|
+
"notext": boolean;
|
|
13
15
|
}
|
|
14
16
|
interface TttxCheckbox {
|
|
15
17
|
"label": string;
|
|
@@ -21,9 +23,16 @@ export namespace Components {
|
|
|
21
23
|
"submitValue": any;
|
|
22
24
|
}
|
|
23
25
|
interface TttxIcon {
|
|
24
|
-
"
|
|
26
|
+
"color": string;
|
|
25
27
|
"icon": string;
|
|
26
28
|
}
|
|
29
|
+
interface TttxInputCalendar {
|
|
30
|
+
"months": boolean;
|
|
31
|
+
"years": boolean;
|
|
32
|
+
}
|
|
33
|
+
interface TttxKeyvalueBlock {
|
|
34
|
+
"keyvalues": any;
|
|
35
|
+
}
|
|
27
36
|
interface TttxList {
|
|
28
37
|
"name": string;
|
|
29
38
|
"selectable": boolean;
|
|
@@ -63,16 +72,12 @@ export namespace Components {
|
|
|
63
72
|
"value": string | number;
|
|
64
73
|
}
|
|
65
74
|
interface TttxTable {
|
|
66
|
-
"data": any;
|
|
67
|
-
"headers": any;
|
|
75
|
+
"data": any[];
|
|
76
|
+
"headers": any[];
|
|
68
77
|
"loading": boolean;
|
|
69
78
|
"selected": number;
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
|
-
export interface TttxButtonCustomEvent<T> extends CustomEvent<T> {
|
|
73
|
-
detail: T;
|
|
74
|
-
target: HTMLTttxButtonElement;
|
|
75
|
-
}
|
|
76
81
|
export interface TttxCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
77
82
|
detail: T;
|
|
78
83
|
target: HTMLTttxCheckboxElement;
|
|
@@ -118,6 +123,18 @@ declare global {
|
|
|
118
123
|
prototype: HTMLTttxIconElement;
|
|
119
124
|
new (): HTMLTttxIconElement;
|
|
120
125
|
};
|
|
126
|
+
interface HTMLTttxInputCalendarElement extends Components.TttxInputCalendar, HTMLStencilElement {
|
|
127
|
+
}
|
|
128
|
+
var HTMLTttxInputCalendarElement: {
|
|
129
|
+
prototype: HTMLTttxInputCalendarElement;
|
|
130
|
+
new (): HTMLTttxInputCalendarElement;
|
|
131
|
+
};
|
|
132
|
+
interface HTMLTttxKeyvalueBlockElement extends Components.TttxKeyvalueBlock, HTMLStencilElement {
|
|
133
|
+
}
|
|
134
|
+
var HTMLTttxKeyvalueBlockElement: {
|
|
135
|
+
prototype: HTMLTttxKeyvalueBlockElement;
|
|
136
|
+
new (): HTMLTttxKeyvalueBlockElement;
|
|
137
|
+
};
|
|
121
138
|
interface HTMLTttxListElement extends Components.TttxList, HTMLStencilElement {
|
|
122
139
|
}
|
|
123
140
|
var HTMLTttxListElement: {
|
|
@@ -153,6 +170,8 @@ declare global {
|
|
|
153
170
|
"tttx-checkbox": HTMLTttxCheckboxElement;
|
|
154
171
|
"tttx-form": HTMLTttxFormElement;
|
|
155
172
|
"tttx-icon": HTMLTttxIconElement;
|
|
173
|
+
"tttx-input-calendar": HTMLTttxInputCalendarElement;
|
|
174
|
+
"tttx-keyvalue-block": HTMLTttxKeyvalueBlockElement;
|
|
156
175
|
"tttx-list": HTMLTttxListElement;
|
|
157
176
|
"tttx-loading-spinner": HTMLTttxLoadingSpinnerElement;
|
|
158
177
|
"tttx-popover-content": HTMLTttxPopoverContentElement;
|
|
@@ -162,9 +181,10 @@ declare global {
|
|
|
162
181
|
}
|
|
163
182
|
declare namespace LocalJSX {
|
|
164
183
|
interface TttxButton {
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
184
|
+
"design"?: string;
|
|
185
|
+
"icon"?: string;
|
|
186
|
+
"iconposition"?: 'left' | 'right';
|
|
187
|
+
"notext"?: boolean;
|
|
168
188
|
}
|
|
169
189
|
interface TttxCheckbox {
|
|
170
190
|
"label"?: string;
|
|
@@ -179,9 +199,16 @@ declare namespace LocalJSX {
|
|
|
179
199
|
"submitValue"?: any;
|
|
180
200
|
}
|
|
181
201
|
interface TttxIcon {
|
|
182
|
-
"
|
|
202
|
+
"color"?: string;
|
|
183
203
|
"icon"?: string;
|
|
184
204
|
}
|
|
205
|
+
interface TttxInputCalendar {
|
|
206
|
+
"months"?: boolean;
|
|
207
|
+
"years"?: boolean;
|
|
208
|
+
}
|
|
209
|
+
interface TttxKeyvalueBlock {
|
|
210
|
+
"keyvalues"?: any;
|
|
211
|
+
}
|
|
185
212
|
interface TttxList {
|
|
186
213
|
"name"?: string;
|
|
187
214
|
"onListItemClick"?: (event: TttxListCustomEvent<any>) => void;
|
|
@@ -227,8 +254,8 @@ declare namespace LocalJSX {
|
|
|
227
254
|
"value"?: string | number;
|
|
228
255
|
}
|
|
229
256
|
interface TttxTable {
|
|
230
|
-
"data"?: any;
|
|
231
|
-
"headers"?: any;
|
|
257
|
+
"data"?: any[];
|
|
258
|
+
"headers"?: any[];
|
|
232
259
|
"loading"?: boolean;
|
|
233
260
|
"onHeaderClicked"?: (event: TttxTableCustomEvent<any>) => void;
|
|
234
261
|
"onRowSelected"?: (event: TttxTableCustomEvent<any>) => void;
|
|
@@ -239,6 +266,8 @@ declare namespace LocalJSX {
|
|
|
239
266
|
"tttx-checkbox": TttxCheckbox;
|
|
240
267
|
"tttx-form": TttxForm;
|
|
241
268
|
"tttx-icon": TttxIcon;
|
|
269
|
+
"tttx-input-calendar": TttxInputCalendar;
|
|
270
|
+
"tttx-keyvalue-block": TttxKeyvalueBlock;
|
|
242
271
|
"tttx-list": TttxList;
|
|
243
272
|
"tttx-loading-spinner": TttxLoadingSpinner;
|
|
244
273
|
"tttx-popover-content": TttxPopoverContent;
|
|
@@ -254,6 +283,8 @@ declare module "@stencil/core" {
|
|
|
254
283
|
"tttx-checkbox": LocalJSX.TttxCheckbox & JSXBase.HTMLAttributes<HTMLTttxCheckboxElement>;
|
|
255
284
|
"tttx-form": LocalJSX.TttxForm & JSXBase.HTMLAttributes<HTMLTttxFormElement>;
|
|
256
285
|
"tttx-icon": LocalJSX.TttxIcon & JSXBase.HTMLAttributes<HTMLTttxIconElement>;
|
|
286
|
+
"tttx-input-calendar": LocalJSX.TttxInputCalendar & JSXBase.HTMLAttributes<HTMLTttxInputCalendarElement>;
|
|
287
|
+
"tttx-keyvalue-block": LocalJSX.TttxKeyvalueBlock & JSXBase.HTMLAttributes<HTMLTttxKeyvalueBlockElement>;
|
|
257
288
|
"tttx-list": LocalJSX.TttxList & JSXBase.HTMLAttributes<HTMLTttxListElement>;
|
|
258
289
|
"tttx-loading-spinner": LocalJSX.TttxLoadingSpinner & JSXBase.HTMLAttributes<HTMLTttxLoadingSpinnerElement>;
|
|
259
290
|
"tttx-popover-content": LocalJSX.TttxPopoverContent & JSXBase.HTMLAttributes<HTMLTttxPopoverContentElement>;
|
|
@@ -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;
|