@3t-transform/threeteeui 0.0.13 → 0.0.15
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/package.json +7 -4
- package/dist/cjs/index-bf39be87.js +0 -1530
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -22
- package/dist/cjs/tttx-button.cjs.entry.js +0 -28
- package/dist/cjs/tttx-checkbox.cjs.entry.js +0 -28
- package/dist/cjs/tttx-form.cjs.entry.js +0 -186
- package/dist/cjs/tttx-icon.cjs.entry.js +0 -1861
- package/dist/cjs/tttx-list.cjs.entry.js +0 -198
- package/dist/cjs/tttx-loading-spinner.cjs.entry.js +0 -26
- package/dist/cjs/tttx-popover-content.cjs.entry.js +0 -23
- package/dist/cjs/tttx-standalone-input.cjs.entry.js +0 -136
- package/dist/cjs/tttx.cjs.js +0 -23
- package/dist/collection/collection-manifest.json +0 -19
- package/dist/collection/components/atoms/tttx-button/tttx-button.css +0 -62
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +0 -93
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +0 -27
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.css +0 -105
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +0 -114
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +0 -47
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.css +0 -48
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +0 -66
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +0 -17
- package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.css +0 -30
- package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.js +0 -96
- package/dist/collection/components/atoms/tttx-popover-content/tttx-popover-content.stories.js +0 -23
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.css +0 -181
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.js +0 -101
- package/dist/collection/components/atoms/ttx-checkbox/tttx-checkbox.stories.js +0 -13
- package/dist/collection/components/molecules/tttx-form/tttx-form.css +0 -230
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +0 -249
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +0 -102
- package/dist/collection/components/molecules/tttx-list/tttx-list.css +0 -56
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +0 -311
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +0 -37
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.css +0 -177
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +0 -569
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +0 -156
- package/dist/collection/components/palette.stories.js +0 -88
- package/dist/collection/docs/gettingstarted-developer.stories.js +0 -9
- package/dist/collection/icons.js +0 -2838
- package/dist/collection/index.js +0 -1
- package/dist/components/index.d.ts +0 -38
- package/dist/components/index.js +0 -9
- package/dist/components/tttx-button.d.ts +0 -11
- package/dist/components/tttx-button.js +0 -45
- package/dist/components/tttx-checkbox.d.ts +0 -11
- package/dist/components/tttx-checkbox.js +0 -46
- package/dist/components/tttx-form.d.ts +0 -11
- package/dist/components/tttx-form.js +0 -203
- package/dist/components/tttx-icon.d.ts +0 -11
- package/dist/components/tttx-icon.js +0 -6
- package/dist/components/tttx-icon2.js +0 -1875
- package/dist/components/tttx-list.d.ts +0 -11
- package/dist/components/tttx-list.js +0 -225
- package/dist/components/tttx-loading-spinner.d.ts +0 -11
- package/dist/components/tttx-loading-spinner.js +0 -6
- package/dist/components/tttx-loading-spinner2.js +0 -40
- package/dist/components/tttx-popover-content.d.ts +0 -11
- package/dist/components/tttx-popover-content.js +0 -42
- package/dist/components/tttx-standalone-input.d.ts +0 -11
- package/dist/components/tttx-standalone-input.js +0 -178
- package/dist/esm/index-63c4d25e.js +0 -1501
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -18
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/tttx-button.entry.js +0 -24
- package/dist/esm/tttx-checkbox.entry.js +0 -24
- package/dist/esm/tttx-form.entry.js +0 -182
- package/dist/esm/tttx-icon.entry.js +0 -1857
- package/dist/esm/tttx-list.entry.js +0 -194
- package/dist/esm/tttx-loading-spinner.entry.js +0 -22
- package/dist/esm/tttx-popover-content.entry.js +0 -19
- package/dist/esm/tttx-standalone-input.entry.js +0 -132
- package/dist/esm/tttx.js +0 -18
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/tttx/index.esm.js +0 -0
- package/dist/tttx/p-1a4eb1f3.entry.js +0 -1
- package/dist/tttx/p-25953f82.entry.js +0 -1
- package/dist/tttx/p-2b6720ac.entry.js +0 -1
- package/dist/tttx/p-2d54f8aa.entry.js +0 -1
- package/dist/tttx/p-4c57bcbd.entry.js +0 -1
- package/dist/tttx/p-709246f5.entry.js +0 -1
- package/dist/tttx/p-95a29e09.entry.js +0 -1
- package/dist/tttx/p-ad0c3fe4.entry.js +0 -1
- package/dist/tttx/p-bec472d8.js +0 -2
- package/dist/tttx/tttx.esm.js +0 -1
- package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +0 -9
- package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +0 -20
- package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +0 -14
- package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +0 -21
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +0 -6
- package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +0 -17
- package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.d.ts +0 -7
- package/dist/types/components/atoms/tttx-popover-content/tttx-popover-content.stories.d.ts +0 -18
- package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.d.ts +0 -9
- package/dist/types/components/atoms/ttx-checkbox/tttx-checkbox.stories.d.ts +0 -6
- package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +0 -18
- package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +0 -6
- package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +0 -51
- package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +0 -13
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +0 -38
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +0 -106
- package/dist/types/components/palette.stories.d.ts +0 -6
- package/dist/types/components.d.ts +0 -236
- package/dist/types/docs/gettingstarted-developer.stories.d.ts +0 -5
- package/dist/types/icons.d.ts +0 -2
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1637
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -21
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
icon: {
|
|
6
|
-
control: {
|
|
7
|
-
type: string;
|
|
8
|
-
options: string[];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
colour: {
|
|
12
|
-
control: {
|
|
13
|
-
type: string;
|
|
14
|
-
options: string[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
20
|
-
export declare const Basic: any;
|
|
21
|
-
export declare const WithPopover: any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
loadingMessage: {
|
|
6
|
-
control: string;
|
|
7
|
-
};
|
|
8
|
-
size: {
|
|
9
|
-
control: {
|
|
10
|
-
type: string;
|
|
11
|
-
};
|
|
12
|
-
options: string[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
17
|
-
export declare const Example: (args: any) => string;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: string;
|
|
4
|
-
argTypes: {
|
|
5
|
-
header: {
|
|
6
|
-
control: {
|
|
7
|
-
type: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
body: {
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
18
|
-
export declare const Basic: any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
export declare class TttxForm {
|
|
3
|
-
private fieldset;
|
|
4
|
-
private template;
|
|
5
|
-
private _formSchema;
|
|
6
|
-
formschema: any;
|
|
7
|
-
submitValue: any;
|
|
8
|
-
submitEvent: EventEmitter<FormData>;
|
|
9
|
-
onFormSchemaChange(newValue: any): void;
|
|
10
|
-
validityCheck(event: FocusEvent): void;
|
|
11
|
-
doSubmit(event: SubmitEvent): void;
|
|
12
|
-
fieldsetChange(event: Event): void;
|
|
13
|
-
componentWillLoad(): void;
|
|
14
|
-
componentWillRender(): void;
|
|
15
|
-
populateFormFromSchema(): void;
|
|
16
|
-
componentDidRender(): void;
|
|
17
|
-
render(): any;
|
|
18
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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,38 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
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,236 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/**
|
|
4
|
-
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
-
* It contains typing information for all components that exist in this project.
|
|
6
|
-
*/
|
|
7
|
-
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { MinMaxDates } from "./components/molecules/tttx-standalone-input/tttx-standalone-input";
|
|
9
|
-
export namespace Components {
|
|
10
|
-
interface TttxButton {
|
|
11
|
-
"buttonStyle": string;
|
|
12
|
-
"fontColor": string;
|
|
13
|
-
}
|
|
14
|
-
interface TttxCheckbox {
|
|
15
|
-
"label": string;
|
|
16
|
-
"required": boolean;
|
|
17
|
-
"value": boolean;
|
|
18
|
-
}
|
|
19
|
-
interface TttxForm {
|
|
20
|
-
"formschema": any;
|
|
21
|
-
"submitValue": any;
|
|
22
|
-
}
|
|
23
|
-
interface TttxIcon {
|
|
24
|
-
"colour": string;
|
|
25
|
-
"icon": string;
|
|
26
|
-
}
|
|
27
|
-
interface TttxList {
|
|
28
|
-
"name": string;
|
|
29
|
-
"selectable": boolean;
|
|
30
|
-
}
|
|
31
|
-
interface TttxLoadingSpinner {
|
|
32
|
-
"loadingMessage": boolean;
|
|
33
|
-
"size": 'small' | 'large';
|
|
34
|
-
}
|
|
35
|
-
interface TttxPopoverContent {
|
|
36
|
-
"body": string;
|
|
37
|
-
"header": string;
|
|
38
|
-
"linkcontext": string;
|
|
39
|
-
"linktext": string;
|
|
40
|
-
}
|
|
41
|
-
interface TttxStandaloneInput {
|
|
42
|
-
"autocapitalize": string;
|
|
43
|
-
"autocomplete": 'off' | 'on';
|
|
44
|
-
"autofocus": boolean;
|
|
45
|
-
"checked": boolean;
|
|
46
|
-
"disabled": boolean;
|
|
47
|
-
"errormsg": string;
|
|
48
|
-
"iconleft": string;
|
|
49
|
-
"iconright": string;
|
|
50
|
-
"label": string;
|
|
51
|
-
"max": MinMaxDates | number;
|
|
52
|
-
"maxlength": string | number;
|
|
53
|
-
"min": MinMaxDates | number;
|
|
54
|
-
"minlength": string | number;
|
|
55
|
-
"name": string;
|
|
56
|
-
"pattern": string;
|
|
57
|
-
"placeholder": string;
|
|
58
|
-
"readonly": string | boolean;
|
|
59
|
-
"required": boolean;
|
|
60
|
-
"showerrormsg": boolean;
|
|
61
|
-
"step": string | number;
|
|
62
|
-
"type": string;
|
|
63
|
-
"value": string | number;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export interface TttxButtonCustomEvent<T> extends CustomEvent<T> {
|
|
67
|
-
detail: T;
|
|
68
|
-
target: HTMLTttxButtonElement;
|
|
69
|
-
}
|
|
70
|
-
export interface TttxCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
71
|
-
detail: T;
|
|
72
|
-
target: HTMLTttxCheckboxElement;
|
|
73
|
-
}
|
|
74
|
-
export interface TttxFormCustomEvent<T> extends CustomEvent<T> {
|
|
75
|
-
detail: T;
|
|
76
|
-
target: HTMLTttxFormElement;
|
|
77
|
-
}
|
|
78
|
-
export interface TttxListCustomEvent<T> extends CustomEvent<T> {
|
|
79
|
-
detail: T;
|
|
80
|
-
target: HTMLTttxListElement;
|
|
81
|
-
}
|
|
82
|
-
export interface TttxStandaloneInputCustomEvent<T> extends CustomEvent<T> {
|
|
83
|
-
detail: T;
|
|
84
|
-
target: HTMLTttxStandaloneInputElement;
|
|
85
|
-
}
|
|
86
|
-
declare global {
|
|
87
|
-
interface HTMLTttxButtonElement extends Components.TttxButton, HTMLStencilElement {
|
|
88
|
-
}
|
|
89
|
-
var HTMLTttxButtonElement: {
|
|
90
|
-
prototype: HTMLTttxButtonElement;
|
|
91
|
-
new (): HTMLTttxButtonElement;
|
|
92
|
-
};
|
|
93
|
-
interface HTMLTttxCheckboxElement extends Components.TttxCheckbox, HTMLStencilElement {
|
|
94
|
-
}
|
|
95
|
-
var HTMLTttxCheckboxElement: {
|
|
96
|
-
prototype: HTMLTttxCheckboxElement;
|
|
97
|
-
new (): HTMLTttxCheckboxElement;
|
|
98
|
-
};
|
|
99
|
-
interface HTMLTttxFormElement extends Components.TttxForm, HTMLStencilElement {
|
|
100
|
-
}
|
|
101
|
-
var HTMLTttxFormElement: {
|
|
102
|
-
prototype: HTMLTttxFormElement;
|
|
103
|
-
new (): HTMLTttxFormElement;
|
|
104
|
-
};
|
|
105
|
-
interface HTMLTttxIconElement extends Components.TttxIcon, HTMLStencilElement {
|
|
106
|
-
}
|
|
107
|
-
var HTMLTttxIconElement: {
|
|
108
|
-
prototype: HTMLTttxIconElement;
|
|
109
|
-
new (): HTMLTttxIconElement;
|
|
110
|
-
};
|
|
111
|
-
interface HTMLTttxListElement extends Components.TttxList, HTMLStencilElement {
|
|
112
|
-
}
|
|
113
|
-
var HTMLTttxListElement: {
|
|
114
|
-
prototype: HTMLTttxListElement;
|
|
115
|
-
new (): HTMLTttxListElement;
|
|
116
|
-
};
|
|
117
|
-
interface HTMLTttxLoadingSpinnerElement extends Components.TttxLoadingSpinner, HTMLStencilElement {
|
|
118
|
-
}
|
|
119
|
-
var HTMLTttxLoadingSpinnerElement: {
|
|
120
|
-
prototype: HTMLTttxLoadingSpinnerElement;
|
|
121
|
-
new (): HTMLTttxLoadingSpinnerElement;
|
|
122
|
-
};
|
|
123
|
-
interface HTMLTttxPopoverContentElement extends Components.TttxPopoverContent, HTMLStencilElement {
|
|
124
|
-
}
|
|
125
|
-
var HTMLTttxPopoverContentElement: {
|
|
126
|
-
prototype: HTMLTttxPopoverContentElement;
|
|
127
|
-
new (): HTMLTttxPopoverContentElement;
|
|
128
|
-
};
|
|
129
|
-
interface HTMLTttxStandaloneInputElement extends Components.TttxStandaloneInput, HTMLStencilElement {
|
|
130
|
-
}
|
|
131
|
-
var HTMLTttxStandaloneInputElement: {
|
|
132
|
-
prototype: HTMLTttxStandaloneInputElement;
|
|
133
|
-
new (): HTMLTttxStandaloneInputElement;
|
|
134
|
-
};
|
|
135
|
-
interface HTMLElementTagNameMap {
|
|
136
|
-
"tttx-button": HTMLTttxButtonElement;
|
|
137
|
-
"tttx-checkbox": HTMLTttxCheckboxElement;
|
|
138
|
-
"tttx-form": HTMLTttxFormElement;
|
|
139
|
-
"tttx-icon": HTMLTttxIconElement;
|
|
140
|
-
"tttx-list": HTMLTttxListElement;
|
|
141
|
-
"tttx-loading-spinner": HTMLTttxLoadingSpinnerElement;
|
|
142
|
-
"tttx-popover-content": HTMLTttxPopoverContentElement;
|
|
143
|
-
"tttx-standalone-input": HTMLTttxStandaloneInputElement;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
declare namespace LocalJSX {
|
|
147
|
-
interface TttxButton {
|
|
148
|
-
"buttonStyle"?: string;
|
|
149
|
-
"fontColor"?: string;
|
|
150
|
-
"onClickEvent"?: (event: TttxButtonCustomEvent<string>) => void;
|
|
151
|
-
}
|
|
152
|
-
interface TttxCheckbox {
|
|
153
|
-
"label"?: string;
|
|
154
|
-
"onValueChanged"?: (event: TttxCheckboxCustomEvent<boolean>) => void;
|
|
155
|
-
"required"?: boolean;
|
|
156
|
-
"value"?: boolean;
|
|
157
|
-
}
|
|
158
|
-
interface TttxForm {
|
|
159
|
-
"formschema"?: any;
|
|
160
|
-
"onSubmitEvent"?: (event: TttxFormCustomEvent<FormData>) => void;
|
|
161
|
-
"submitValue"?: any;
|
|
162
|
-
}
|
|
163
|
-
interface TttxIcon {
|
|
164
|
-
"colour"?: string;
|
|
165
|
-
"icon"?: string;
|
|
166
|
-
}
|
|
167
|
-
interface TttxList {
|
|
168
|
-
"name"?: string;
|
|
169
|
-
"onListItemClick"?: (event: TttxListCustomEvent<any>) => void;
|
|
170
|
-
"onListPaginate"?: (event: TttxListCustomEvent<any>) => void;
|
|
171
|
-
"onListSelectedEvent"?: (event: TttxListCustomEvent<any>) => void;
|
|
172
|
-
"selectable"?: boolean;
|
|
173
|
-
}
|
|
174
|
-
interface TttxLoadingSpinner {
|
|
175
|
-
"loadingMessage"?: boolean;
|
|
176
|
-
"size"?: 'small' | 'large';
|
|
177
|
-
}
|
|
178
|
-
interface TttxPopoverContent {
|
|
179
|
-
"body"?: string;
|
|
180
|
-
"header"?: string;
|
|
181
|
-
"linkcontext"?: string;
|
|
182
|
-
"linktext"?: string;
|
|
183
|
-
}
|
|
184
|
-
interface TttxStandaloneInput {
|
|
185
|
-
"autocapitalize"?: string;
|
|
186
|
-
"autocomplete"?: 'off' | 'on';
|
|
187
|
-
"autofocus"?: boolean;
|
|
188
|
-
"checked"?: boolean;
|
|
189
|
-
"disabled"?: boolean;
|
|
190
|
-
"errormsg"?: string;
|
|
191
|
-
"iconleft"?: string;
|
|
192
|
-
"iconright"?: string;
|
|
193
|
-
"label"?: string;
|
|
194
|
-
"max"?: MinMaxDates | number;
|
|
195
|
-
"maxlength"?: string | number;
|
|
196
|
-
"min"?: MinMaxDates | number;
|
|
197
|
-
"minlength"?: string | number;
|
|
198
|
-
"name"?: string;
|
|
199
|
-
"onBlurChanged"?: (event: TttxStandaloneInputCustomEvent<string>) => void;
|
|
200
|
-
"onFocusChanged"?: (event: TttxStandaloneInputCustomEvent<string>) => void;
|
|
201
|
-
"onValueChanged"?: (event: TttxStandaloneInputCustomEvent<string>) => void;
|
|
202
|
-
"pattern"?: string;
|
|
203
|
-
"placeholder"?: string;
|
|
204
|
-
"readonly"?: string | boolean;
|
|
205
|
-
"required"?: boolean;
|
|
206
|
-
"showerrormsg"?: boolean;
|
|
207
|
-
"step"?: string | number;
|
|
208
|
-
"type"?: string;
|
|
209
|
-
"value"?: string | number;
|
|
210
|
-
}
|
|
211
|
-
interface IntrinsicElements {
|
|
212
|
-
"tttx-button": TttxButton;
|
|
213
|
-
"tttx-checkbox": TttxCheckbox;
|
|
214
|
-
"tttx-form": TttxForm;
|
|
215
|
-
"tttx-icon": TttxIcon;
|
|
216
|
-
"tttx-list": TttxList;
|
|
217
|
-
"tttx-loading-spinner": TttxLoadingSpinner;
|
|
218
|
-
"tttx-popover-content": TttxPopoverContent;
|
|
219
|
-
"tttx-standalone-input": TttxStandaloneInput;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
export { LocalJSX as JSX };
|
|
223
|
-
declare module "@stencil/core" {
|
|
224
|
-
export namespace JSX {
|
|
225
|
-
interface IntrinsicElements {
|
|
226
|
-
"tttx-button": LocalJSX.TttxButton & JSXBase.HTMLAttributes<HTMLTttxButtonElement>;
|
|
227
|
-
"tttx-checkbox": LocalJSX.TttxCheckbox & JSXBase.HTMLAttributes<HTMLTttxCheckboxElement>;
|
|
228
|
-
"tttx-form": LocalJSX.TttxForm & JSXBase.HTMLAttributes<HTMLTttxFormElement>;
|
|
229
|
-
"tttx-icon": LocalJSX.TttxIcon & JSXBase.HTMLAttributes<HTMLTttxIconElement>;
|
|
230
|
-
"tttx-list": LocalJSX.TttxList & JSXBase.HTMLAttributes<HTMLTttxListElement>;
|
|
231
|
-
"tttx-loading-spinner": LocalJSX.TttxLoadingSpinner & JSXBase.HTMLAttributes<HTMLTttxLoadingSpinnerElement>;
|
|
232
|
-
"tttx-popover-content": LocalJSX.TttxPopoverContent & JSXBase.HTMLAttributes<HTMLTttxPopoverContentElement>;
|
|
233
|
-
"tttx-standalone-input": LocalJSX.TttxStandaloneInput & JSXBase.HTMLAttributes<HTMLTttxStandaloneInputElement>;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
package/dist/types/icons.d.ts
DELETED
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Components, JSX } from './components';
|