tweak-ui 0.5.0 → 0.8.2
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/.assetsignore +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/builder.d.ts +78 -140
- package/dist/lib/builder.d.ts.map +1 -1
- package/dist/lib/color/adapter.d.ts +7 -0
- package/dist/lib/color/adapter.d.ts.map +1 -0
- package/dist/lib/color/array-format.d.ts +9 -0
- package/dist/lib/color/array-format.d.ts.map +1 -0
- package/dist/lib/color/converter.d.ts.map +1 -0
- package/dist/lib/color/css-string-format.d.ts +8 -0
- package/dist/lib/color/css-string-format.d.ts.map +1 -0
- package/dist/lib/color/formatter.d.ts +9 -0
- package/dist/lib/color/formatter.d.ts.map +1 -0
- package/dist/lib/color/hex-string-format.d.ts +9 -0
- package/dist/lib/color/hex-string-format.d.ts.map +1 -0
- package/dist/lib/color/index.d.ts.map +1 -0
- package/dist/lib/color/number-format.d.ts +9 -0
- package/dist/lib/color/number-format.d.ts.map +1 -0
- package/dist/lib/{color-formats → color}/object-format.d.ts +4 -4
- package/dist/lib/color/object-format.d.ts.map +1 -0
- package/dist/lib/{color-formats → color}/types.d.ts +15 -9
- package/dist/lib/color/types.d.ts.map +1 -0
- package/dist/lib/components/container/bar.d.ts +28 -0
- package/dist/lib/components/container/bar.d.ts.map +1 -0
- package/dist/lib/components/container/dialog.d.ts +14 -0
- package/dist/lib/components/container/dialog.d.ts.map +1 -0
- package/dist/lib/components/container/grid.d.ts +22 -0
- package/dist/lib/components/container/grid.d.ts.map +1 -0
- package/dist/lib/components/container/group.d.ts +55 -0
- package/dist/lib/components/container/group.d.ts.map +1 -0
- package/dist/lib/components/container/index.d.ts +10 -0
- package/dist/lib/components/container/index.d.ts.map +1 -0
- package/dist/lib/components/container/list.d.ts +25 -0
- package/dist/lib/components/container/list.d.ts.map +1 -0
- package/dist/lib/components/container/section.d.ts +28 -0
- package/dist/lib/components/container/section.d.ts.map +1 -0
- package/dist/lib/components/container/split.d.ts +40 -0
- package/dist/lib/components/container/split.d.ts.map +1 -0
- package/dist/lib/components/container/tabs.d.ts +23 -0
- package/dist/lib/components/container/tabs.d.ts.map +1 -0
- package/dist/lib/components/container/tree.d.ts +25 -0
- package/dist/lib/components/container/tree.d.ts.map +1 -0
- package/dist/lib/components/controls/angle.d.ts +29 -33
- package/dist/lib/components/controls/angle.d.ts.map +1 -1
- package/dist/lib/components/controls/bitmask.d.ts +41 -0
- package/dist/lib/components/controls/bitmask.d.ts.map +1 -0
- package/dist/lib/components/controls/bool.d.ts +52 -0
- package/dist/lib/components/controls/bool.d.ts.map +1 -0
- package/dist/lib/components/controls/color-picker.d.ts +12 -27
- package/dist/lib/components/controls/color-picker.d.ts.map +1 -1
- package/dist/lib/components/controls/color.d.ts +12 -26
- package/dist/lib/components/controls/color.d.ts.map +1 -1
- package/dist/lib/components/controls/index.d.ts +9 -5
- package/dist/lib/components/controls/index.d.ts.map +1 -1
- package/dist/lib/components/controls/input.d.ts +44 -0
- package/dist/lib/components/controls/input.d.ts.map +1 -0
- package/dist/lib/components/controls/matrix.d.ts +58 -0
- package/dist/lib/components/controls/matrix.d.ts.map +1 -0
- package/dist/lib/components/controls/point.d.ts +15 -16
- package/dist/lib/components/controls/point.d.ts.map +1 -1
- package/dist/lib/components/controls/poll.d.ts +12 -0
- package/dist/lib/components/controls/poll.d.ts.map +1 -0
- package/dist/lib/components/controls/scalar.d.ts +67 -0
- package/dist/lib/components/controls/scalar.d.ts.map +1 -0
- package/dist/lib/components/controls/select.d.ts +8 -14
- package/dist/lib/components/controls/select.d.ts.map +1 -1
- package/dist/lib/components/controls/spherical.d.ts +23 -55
- package/dist/lib/components/controls/spherical.d.ts.map +1 -1
- package/dist/lib/components/controls/string.d.ts +46 -0
- package/dist/lib/components/controls/string.d.ts.map +1 -0
- package/dist/lib/components/controls/vector.d.ts +54 -0
- package/dist/lib/components/controls/vector.d.ts.map +1 -0
- package/dist/lib/components/elements/button.d.ts +36 -0
- package/dist/lib/components/elements/button.d.ts.map +1 -0
- package/dist/lib/components/elements/divider.d.ts +4 -0
- package/dist/lib/components/elements/divider.d.ts.map +1 -0
- package/dist/lib/components/elements/graph.d.ts +8 -0
- package/dist/lib/components/elements/graph.d.ts.map +1 -0
- package/dist/lib/components/elements/image.d.ts +33 -0
- package/dist/lib/components/elements/image.d.ts.map +1 -0
- package/dist/lib/components/elements/index.d.ts +6 -0
- package/dist/lib/components/elements/index.d.ts.map +1 -0
- package/dist/lib/components/elements/widget.d.ts +31 -0
- package/dist/lib/components/elements/widget.d.ts.map +1 -0
- package/dist/lib/components/index.d.ts +2 -4
- package/dist/lib/components/index.d.ts.map +1 -1
- package/dist/lib/core/control.d.ts +20 -0
- package/dist/lib/core/control.d.ts.map +1 -0
- package/dist/lib/core/index.d.ts +1 -2
- package/dist/lib/core/index.d.ts.map +1 -1
- package/dist/lib/core/render.d.ts +7 -9
- package/dist/lib/core/render.d.ts.map +1 -1
- package/dist/lib/core/types.d.ts +46 -60
- package/dist/lib/core/types.d.ts.map +1 -1
- package/dist/lib/core/utils.d.ts +19 -33
- package/dist/lib/core/utils.d.ts.map +1 -1
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/mount.d.ts +6 -16
- package/dist/lib/mount.d.ts.map +1 -1
- package/dist/lib/stats/index.d.ts +2 -0
- package/dist/lib/stats/index.d.ts.map +1 -0
- package/dist/lib/stats/sampler.d.ts +66 -0
- package/dist/lib/stats/sampler.d.ts.map +1 -0
- package/dist/lib/stats/stats-renderer.d.ts +16 -0
- package/dist/lib/stats/stats-renderer.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/style.d.ts +4 -0
- package/dist/tweak-ui.module.js +2959 -2738
- package/dist/tweak-ui.module.js.map +1 -1
- package/dist/tweak-ui.umd.js +33 -2
- package/dist/tweak-ui.umd.js.map +1 -1
- package/dist/wrangler.json +1 -0
- package/package.json +34 -23
- package/dist/lib/builder.js +0 -250
- package/dist/lib/builder.js.map +0 -1
- package/dist/lib/color-formats/array-format.d.ts +0 -9
- package/dist/lib/color-formats/array-format.d.ts.map +0 -1
- package/dist/lib/color-formats/array-format.js +0 -18
- package/dist/lib/color-formats/array-format.js.map +0 -1
- package/dist/lib/color-formats/converter.d.ts.map +0 -1
- package/dist/lib/color-formats/converter.js +0 -85
- package/dist/lib/color-formats/converter.js.map +0 -1
- package/dist/lib/color-formats/css-string-format.d.ts +0 -8
- package/dist/lib/color-formats/css-string-format.d.ts.map +0 -1
- package/dist/lib/color-formats/css-string-format.js +0 -28
- package/dist/lib/color-formats/css-string-format.js.map +0 -1
- package/dist/lib/color-formats/formatter.d.ts +0 -9
- package/dist/lib/color-formats/formatter.d.ts.map +0 -1
- package/dist/lib/color-formats/formatter.js +0 -35
- package/dist/lib/color-formats/formatter.js.map +0 -1
- package/dist/lib/color-formats/hex-string-format.d.ts +0 -8
- package/dist/lib/color-formats/hex-string-format.d.ts.map +0 -1
- package/dist/lib/color-formats/hex-string-format.js +0 -28
- package/dist/lib/color-formats/hex-string-format.js.map +0 -1
- package/dist/lib/color-formats/index.d.ts.map +0 -1
- package/dist/lib/color-formats/index.js +0 -4
- package/dist/lib/color-formats/index.js.map +0 -1
- package/dist/lib/color-formats/number-format.d.ts +0 -9
- package/dist/lib/color-formats/number-format.d.ts.map +0 -1
- package/dist/lib/color-formats/number-format.js +0 -23
- package/dist/lib/color-formats/number-format.js.map +0 -1
- package/dist/lib/color-formats/object-format.d.ts.map +0 -1
- package/dist/lib/color-formats/object-format.js +0 -23
- package/dist/lib/color-formats/object-format.js.map +0 -1
- package/dist/lib/color-formats/types.d.ts.map +0 -1
- package/dist/lib/color-formats/types.js +0 -2
- package/dist/lib/color-formats/types.js.map +0 -1
- package/dist/lib/components/button.d.ts +0 -29
- package/dist/lib/components/button.d.ts.map +0 -1
- package/dist/lib/components/button.js +0 -15
- package/dist/lib/components/button.js.map +0 -1
- package/dist/lib/components/content.d.ts +0 -22
- package/dist/lib/components/content.d.ts.map +0 -1
- package/dist/lib/components/content.js +0 -10
- package/dist/lib/components/content.js.map +0 -1
- package/dist/lib/components/controls/angle.js +0 -201
- package/dist/lib/components/controls/angle.js.map +0 -1
- package/dist/lib/components/controls/checkbox.d.ts +0 -29
- package/dist/lib/components/controls/checkbox.d.ts.map +0 -1
- package/dist/lib/components/controls/checkbox.js +0 -31
- package/dist/lib/components/controls/checkbox.js.map +0 -1
- package/dist/lib/components/controls/color-picker.js +0 -267
- package/dist/lib/components/controls/color-picker.js.map +0 -1
- package/dist/lib/components/controls/color.js +0 -77
- package/dist/lib/components/controls/color.js.map +0 -1
- package/dist/lib/components/controls/index.js +0 -11
- package/dist/lib/components/controls/index.js.map +0 -1
- package/dist/lib/components/controls/number.d.ts +0 -48
- package/dist/lib/components/controls/number.d.ts.map +0 -1
- package/dist/lib/components/controls/number.js +0 -142
- package/dist/lib/components/controls/number.js.map +0 -1
- package/dist/lib/components/controls/point.js +0 -137
- package/dist/lib/components/controls/point.js.map +0 -1
- package/dist/lib/components/controls/position.d.ts +0 -56
- package/dist/lib/components/controls/position.d.ts.map +0 -1
- package/dist/lib/components/controls/position.js +0 -36
- package/dist/lib/components/controls/position.js.map +0 -1
- package/dist/lib/components/controls/select.js +0 -132
- package/dist/lib/components/controls/select.js.map +0 -1
- package/dist/lib/components/controls/spherical.js +0 -302
- package/dist/lib/components/controls/spherical.js.map +0 -1
- package/dist/lib/components/controls/text.d.ts +0 -36
- package/dist/lib/components/controls/text.d.ts.map +0 -1
- package/dist/lib/components/controls/text.js +0 -24
- package/dist/lib/components/controls/text.js.map +0 -1
- package/dist/lib/components/groups/accordion.d.ts +0 -22
- package/dist/lib/components/groups/accordion.d.ts.map +0 -1
- package/dist/lib/components/groups/accordion.js +0 -34
- package/dist/lib/components/groups/accordion.js.map +0 -1
- package/dist/lib/components/groups/container.d.ts +0 -25
- package/dist/lib/components/groups/container.d.ts.map +0 -1
- package/dist/lib/components/groups/container.js +0 -19
- package/dist/lib/components/groups/container.js.map +0 -1
- package/dist/lib/components/groups/group.d.ts +0 -49
- package/dist/lib/components/groups/group.d.ts.map +0 -1
- package/dist/lib/components/groups/group.js +0 -50
- package/dist/lib/components/groups/group.js.map +0 -1
- package/dist/lib/components/groups/index.d.ts +0 -5
- package/dist/lib/components/groups/index.d.ts.map +0 -1
- package/dist/lib/components/groups/index.js +0 -5
- package/dist/lib/components/groups/index.js.map +0 -1
- package/dist/lib/components/groups/tabs.d.ts +0 -22
- package/dist/lib/components/groups/tabs.d.ts.map +0 -1
- package/dist/lib/components/groups/tabs.js +0 -31
- package/dist/lib/components/groups/tabs.js.map +0 -1
- package/dist/lib/components/image.d.ts +0 -37
- package/dist/lib/components/image.d.ts.map +0 -1
- package/dist/lib/components/image.js +0 -46
- package/dist/lib/components/image.js.map +0 -1
- package/dist/lib/components/index.js +0 -6
- package/dist/lib/components/index.js.map +0 -1
- package/dist/lib/core/index.js +0 -5
- package/dist/lib/core/index.js.map +0 -1
- package/dist/lib/core/registry.d.ts +0 -18
- package/dist/lib/core/registry.d.ts.map +0 -1
- package/dist/lib/core/registry.js +0 -30
- package/dist/lib/core/registry.js.map +0 -1
- package/dist/lib/core/render.js +0 -19
- package/dist/lib/core/render.js.map +0 -1
- package/dist/lib/core/types.js +0 -2
- package/dist/lib/core/types.js.map +0 -1
- package/dist/lib/core/utils.js +0 -193
- package/dist/lib/core/utils.js.map +0 -1
- package/dist/lib/core/value-accessor.d.ts +0 -18
- package/dist/lib/core/value-accessor.d.ts.map +0 -1
- package/dist/lib/core/value-accessor.js +0 -52
- package/dist/lib/core/value-accessor.js.map +0 -1
- package/dist/lib/index.js +0 -29
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/mount.js +0 -85
- package/dist/lib/mount.js.map +0 -1
- package/dist/tweak-ui.css +0 -648
- package/dist/tweak-ui.css.map +0 -1
- package/dist/tweak-ui.min.css +0 -1
- package/dist/tweak-ui.min.css.map +0 -1
- /package/dist/lib/{color-formats → color}/converter.d.ts +0 -0
- /package/dist/lib/{color-formats → color}/index.d.ts +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { default as m, Children, Vnode } from 'mithril';
|
|
2
|
+
import { TweakableAttrs } from '../../core';
|
|
3
|
+
import { CommonWidgetAttrs } from '../elements';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type MatrixElements = number[];
|
|
8
|
+
export type MatrixWidgetAttrs<T = unknown> = CommonWidgetAttrs & MatrixInputAttrs<T>;
|
|
9
|
+
/**
|
|
10
|
+
* Matrix component model
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type MatrixInputAttrs<T = unknown> = TweakableAttrs<T, MatrixElements> & {
|
|
14
|
+
/**
|
|
15
|
+
* The number of rows in the matrix
|
|
16
|
+
*/
|
|
17
|
+
rows: number;
|
|
18
|
+
/**
|
|
19
|
+
* The number of columns in the matrix
|
|
20
|
+
*/
|
|
21
|
+
cols: number;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the input values are ordered in row-major order. Default assumes column-major order.
|
|
24
|
+
*/
|
|
25
|
+
rowMajor?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The min value
|
|
28
|
+
*/
|
|
29
|
+
min?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The max value
|
|
32
|
+
*/
|
|
33
|
+
max?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The step value
|
|
36
|
+
*/
|
|
37
|
+
step?: number;
|
|
38
|
+
/**
|
|
39
|
+
* This is called when the control value has been changed.
|
|
40
|
+
*/
|
|
41
|
+
oninput?: (model: T, value: unknown) => void;
|
|
42
|
+
/**
|
|
43
|
+
* This is called once the control value is committed by the user.
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* Unlike the `onInput` callback, this is not necessarily called for each value change.
|
|
47
|
+
*/
|
|
48
|
+
onchange?: (model: T, value: unknown) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Disables the control input
|
|
51
|
+
*/
|
|
52
|
+
readonly?: boolean;
|
|
53
|
+
};
|
|
54
|
+
export declare function uiMatrixWidget<T>(attrs: MatrixWidgetAttrs<T>, children?: Children): Vnode<MatrixWidgetAttrs<T>>;
|
|
55
|
+
export declare const MatrixWidgetComponent: <T>() => m.Component<MatrixWidgetAttrs<T>>;
|
|
56
|
+
export declare function uiMatrixInput<T>(attrs: MatrixInputAttrs<T>, children?: Children): Vnode<MatrixInputAttrs<T>>;
|
|
57
|
+
export declare const MatrixInputComponent: <T>() => m.Component<MatrixInputAttrs<T>>;
|
|
58
|
+
//# sourceMappingURL=matrix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAoC,cAAc,EAAE,MAAM,YAAY,CAAA;AAC7E,OAAO,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAA;AAGzD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,EAAE,CAAA;AACrC,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAEpF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,cAAc,CAAC,GAAG;IAC9E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAC3B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAE7B;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAa3E,CAAA;AACD,wBAAgB,aAAa,CAAC,CAAC,EAC7B,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC1B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAE5B;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAoDzE,CAAA"}
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*/
|
|
6
|
-
export type PointAttrs = ComponentAttrs<PointModel>;
|
|
1
|
+
import { default as m, Children, Vnode } from 'mithril';
|
|
2
|
+
import { TweakableAttrs } from '../../core';
|
|
3
|
+
import { CommonWidgetAttrs } from '../elements';
|
|
4
|
+
export type PointWidgetAttrs<T = unknown> = CommonWidgetAttrs & PointInputAttrs<T>;
|
|
7
5
|
/**
|
|
8
6
|
* Point component model
|
|
9
7
|
* @public
|
|
10
8
|
*/
|
|
11
|
-
export
|
|
12
|
-
/**
|
|
13
|
-
* The type name of the control
|
|
14
|
-
*/
|
|
15
|
-
type: 'point';
|
|
9
|
+
export type PointInputAttrs<T = unknown> = TweakableAttrs<T, any> & {
|
|
16
10
|
/**
|
|
17
11
|
* The object field names. Defaults to `['x', 'y']`
|
|
18
12
|
*/
|
|
@@ -20,11 +14,11 @@ export interface PointModel<T = unknown> extends ComponentModel, ValueSource<T,
|
|
|
20
14
|
/**
|
|
21
15
|
* X-Axis min and max valuse
|
|
22
16
|
*/
|
|
23
|
-
|
|
17
|
+
rangeX?: [number, number];
|
|
24
18
|
/**
|
|
25
19
|
* Y-Axis min and max valuse
|
|
26
20
|
*/
|
|
27
|
-
|
|
21
|
+
rangeY?: [number, number];
|
|
28
22
|
/**
|
|
29
23
|
* Value to reset to when released
|
|
30
24
|
*/
|
|
@@ -36,13 +30,18 @@ export interface PointModel<T = unknown> extends ComponentModel, ValueSource<T,
|
|
|
36
30
|
/**
|
|
37
31
|
* This is called when the control value has been changed.
|
|
38
32
|
*/
|
|
39
|
-
|
|
33
|
+
oninput?: (model: PointInputAttrs<T>, value: number) => void;
|
|
40
34
|
/**
|
|
41
35
|
* This is called once the control value is committed by the user.
|
|
42
36
|
*
|
|
43
37
|
* @remarks
|
|
44
38
|
* Unlike the `onInput` callback, this is not necessarily called for each value change.
|
|
45
39
|
*/
|
|
46
|
-
|
|
47
|
-
}
|
|
40
|
+
onchange?: (model: PointInputAttrs<T>, value: number) => void;
|
|
41
|
+
};
|
|
42
|
+
export declare function uiPointWidget<T>(attrs: PointWidgetAttrs<T>, children?: Children): Vnode<PointWidgetAttrs<T>>;
|
|
43
|
+
export declare function uiPoint<T>(attrs: PointWidgetAttrs<T>, children?: Children): Vnode<PointWidgetAttrs<T>>;
|
|
44
|
+
export declare function uiPointInput<T>(attrs: PointInputAttrs<T>, children?: Children): Vnode<PointInputAttrs<T>>;
|
|
45
|
+
export declare const PointWidgetComponent: <T>() => m.Component<PointWidgetAttrs<T>>;
|
|
46
|
+
export declare const PointInputComponent: <T>() => m.Component<PointInputAttrs<T>>;
|
|
48
47
|
//# sourceMappingURL=point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/point.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"point.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/point.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,EAAmB,cAAc,EAAE,MAAM,YAAY,CAAA;AAE5D,OAAO,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAA;AAEzD,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,GAAG,eAAe,CAAC,CAAC,CAAC,CAAA;AAElF;;;GAGG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG;IAClE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5D;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9D,CAAA;AAKD,wBAAgB,aAAa,CAAC,CAAC,EAC7B,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC1B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAE5B;AAED,wBAAgB,OAAO,CAAC,CAAC,EACvB,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC1B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAE5B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAC5B,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,EACzB,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAE3B;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAazE,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,CA+IvE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as m, Children, Vnode } from 'mithril';
|
|
2
|
+
import { TweakableAttrs } from '../../core';
|
|
3
|
+
import { CommonWidgetAttrs } from '../elements';
|
|
4
|
+
export type PollWidgetAttrs<T = unknown> = CommonWidgetAttrs & PollAttrs<T>;
|
|
5
|
+
export type PollAttrs<T = unknown> = TweakableAttrs<T, string | number | boolean> & {
|
|
6
|
+
interval?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare function uiPollWidget<T>(attrs: PollWidgetAttrs<T>, children?: Children): Vnode<PollWidgetAttrs<T>>;
|
|
9
|
+
export declare function uiPoll<T>(attrs: PollAttrs<T>, children?: Children): Vnode<PollAttrs<T>>;
|
|
10
|
+
export declare const PollWidgetComponent: <T>() => m.Component<PollWidgetAttrs<T>>;
|
|
11
|
+
export declare const PollComponent: <T>() => m.Component<PollAttrs<T>>;
|
|
12
|
+
//# sourceMappingURL=poll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/poll.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAmB,cAAc,EAAE,MAAM,YAAY,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAA;AAEzD,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAA;AAE3E,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,YAAY,CAAC,CAAC,EAC5B,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,EACzB,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAE3B;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAEvF;AAED,eAAO,MAAM,mBAAmB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,CAavE,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAsB3D,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { default as m, Child, Children, Vnode } from 'mithril';
|
|
2
|
+
import { TweakableAttrs } from '../../core';
|
|
3
|
+
import { CommonWidgetAttrs } from '../elements';
|
|
4
|
+
export type ScalarWidgetAttrs<T = unknown> = CommonWidgetAttrs & ScalarInputAttrs<T>;
|
|
5
|
+
/**
|
|
6
|
+
* Scalar component model
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type ScalarInputAttrs<T = unknown> = TweakableAttrs<T, number> & {
|
|
10
|
+
/**
|
|
11
|
+
* The placeholder text
|
|
12
|
+
*/
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Content before the input field
|
|
16
|
+
*/
|
|
17
|
+
slotBefore?: Child;
|
|
18
|
+
/**
|
|
19
|
+
* Content after the input field
|
|
20
|
+
*/
|
|
21
|
+
slotAfter?: Child;
|
|
22
|
+
/**
|
|
23
|
+
* The unit to display after the value. For example, "px" or "kg".
|
|
24
|
+
*/
|
|
25
|
+
unit?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The min value
|
|
28
|
+
*/
|
|
29
|
+
min?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The max value
|
|
32
|
+
*/
|
|
33
|
+
max?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The step value
|
|
36
|
+
*/
|
|
37
|
+
step?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Displays a range slider below the input field. By default, this is false.
|
|
40
|
+
*/
|
|
41
|
+
range?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* This is called when the control value has been changed.
|
|
44
|
+
*/
|
|
45
|
+
oninput?: (model: T, value: number) => void;
|
|
46
|
+
/**
|
|
47
|
+
* This is called once the control value is committed by the user.
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* Unlike the `onInput` callback, this is not necessarily called for each value change.
|
|
51
|
+
*/
|
|
52
|
+
onchange?: (model: T, value: number) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Disables the control input
|
|
55
|
+
*/
|
|
56
|
+
readonly?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* The minimum number of fraction digits to display. By default, this is 1.
|
|
59
|
+
*/
|
|
60
|
+
decimals?: number;
|
|
61
|
+
class?: string;
|
|
62
|
+
};
|
|
63
|
+
export declare function uiScalarWidget<T>(attrs: ScalarWidgetAttrs<T>, children?: Children): Vnode<ScalarWidgetAttrs<T>>;
|
|
64
|
+
export declare function uiScalarInput<T>(attrs: ScalarInputAttrs<T>, children?: Children): Vnode<ScalarInputAttrs<T>>;
|
|
65
|
+
export declare const ScalarWidgetComponent: <T>() => m.Component<ScalarWidgetAttrs<T>>;
|
|
66
|
+
export declare const ScalarInputComponent: <T>() => m.Component<ScalarInputAttrs<T>>;
|
|
67
|
+
//# sourceMappingURL=scalar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scalar.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/scalar.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEnD,OAAO,EAAoC,cAAc,EAAE,MAAM,YAAY,CAAA;AAE7E,OAAO,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAA;AAEzD,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAEpF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IACtE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAE3C;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAE5C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAC3B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAE7B;AAED,wBAAgB,aAAa,CAAC,CAAC,EAC7B,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC1B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAE5B;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAa3E,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAiLzE,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as m, Children, Vnode } from 'mithril';
|
|
2
|
+
import { ValueWidgetAttrs } from '../elements';
|
|
2
3
|
/**
|
|
3
4
|
* @public
|
|
4
5
|
*/
|
|
@@ -30,20 +31,11 @@ export type SelectOptionGroup<T = SelectOptionArray | SelectOptionsObject> = {
|
|
|
30
31
|
* @public
|
|
31
32
|
*/
|
|
32
33
|
export type SelectModelOptions = SelectOptionArray | SelectOptionsObject;
|
|
33
|
-
/**
|
|
34
|
-
* Select component attributes
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export type SelectAttrs = ComponentAttrs<SelectModel>;
|
|
38
34
|
/**
|
|
39
35
|
* Select component model
|
|
40
36
|
* @public
|
|
41
37
|
*/
|
|
42
|
-
export
|
|
43
|
-
/**
|
|
44
|
-
* The type name of the control
|
|
45
|
-
*/
|
|
46
|
-
type: 'select';
|
|
38
|
+
export type SelectAttrs<T = unknown, V = any> = ValueWidgetAttrs<T, V> & {
|
|
47
39
|
/**
|
|
48
40
|
* The select options
|
|
49
41
|
*/
|
|
@@ -51,10 +43,12 @@ export interface SelectModel<T = unknown, V = any> extends ComponentModel, Value
|
|
|
51
43
|
/**
|
|
52
44
|
* This is called once the control value is committed by the user.
|
|
53
45
|
*/
|
|
54
|
-
|
|
46
|
+
onchange?: (model: T, value: V) => void;
|
|
55
47
|
/**
|
|
56
48
|
* Disables the control input
|
|
57
49
|
*/
|
|
58
|
-
|
|
59
|
-
}
|
|
50
|
+
readonly?: boolean;
|
|
51
|
+
};
|
|
52
|
+
export declare function uiSelect<T>(attrs: SelectAttrs<T>, children?: Children): Vnode<SelectAttrs<T>>;
|
|
53
|
+
export declare const SelectComponent: <T>() => m.Component<SelectAttrs<T>>;
|
|
60
54
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/select.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/select.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAI5C,OAAO,EAAY,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AACD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,YAAY,GAAG,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC,CAAA;AACzF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,CAAA;AACD;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,iBAAiB,GAAG,mBAAmB,IAAI;IAC3E,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,CAAC,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAA;AAExE;;;GAGG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,GAAG,IAAI,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IACvE;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAE5B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;IAEvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AA4DD,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAE7F;AAED,eAAO,MAAM,eAAe,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,CAqF/D,CAAA"}
|
|
@@ -1,75 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as m, Children, Vnode } from 'mithril';
|
|
2
|
+
import { TweakableAttrs } from '../../core';
|
|
3
|
+
import { CommonWidgetAttrs } from '../elements';
|
|
2
4
|
/**
|
|
3
5
|
* @public
|
|
4
6
|
*/
|
|
5
|
-
export type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
export type CartesianValue = {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
z: number;
|
|
9
11
|
};
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
+
* @internal
|
|
13
14
|
*/
|
|
14
|
-
export type
|
|
15
|
+
export type SphericalValue = {
|
|
16
|
+
radius: number;
|
|
17
|
+
azimuth: number;
|
|
18
|
+
polar: number;
|
|
19
|
+
};
|
|
20
|
+
export type SphericalWidgetAttrs<T = unknown> = CommonWidgetAttrs & SphericalInputAttrs<T>;
|
|
15
21
|
/**
|
|
16
22
|
* Spherical component model
|
|
17
23
|
* @public
|
|
18
24
|
*/
|
|
19
|
-
export
|
|
20
|
-
/**
|
|
21
|
-
* The type name of the control
|
|
22
|
-
*/
|
|
23
|
-
type: 'spherical';
|
|
24
|
-
/**
|
|
25
|
-
* The object field names. Defaults to `['phi', 'theta']`
|
|
26
|
-
*/
|
|
27
|
-
keys?: Array<string | number>;
|
|
28
|
-
/**
|
|
29
|
-
* Whether to use degrees instead of radians
|
|
30
|
-
*/
|
|
31
|
-
degree?: boolean;
|
|
25
|
+
export type SphericalInputAttrs<T = unknown> = TweakableAttrs<T, CartesianValue> & {
|
|
32
26
|
/**
|
|
33
27
|
* This is called when the control value has been changed.
|
|
34
28
|
*/
|
|
35
|
-
|
|
29
|
+
oninput?: (model: T, value: unknown) => void;
|
|
36
30
|
/**
|
|
37
31
|
* This is called once the control value is committed by the user.
|
|
38
32
|
*
|
|
39
33
|
* @remarks
|
|
40
34
|
* Unlike the `onInput` callback, this is not necessarily called for each value change.
|
|
41
35
|
*/
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export
|
|
49
|
-
export interface SphericalCodecOptions<T> {
|
|
50
|
-
/**
|
|
51
|
-
* Maps object keys to cartesian axes. Defaults to `{ x: 'right', y: 'up', z: 'back' }`
|
|
52
|
-
*/
|
|
53
|
-
axes?: Record<string | number, Direction>;
|
|
54
|
-
/**
|
|
55
|
-
* The vector length (sphere radius). Defaults to `1`
|
|
56
|
-
*/
|
|
57
|
-
length?: number | (() => number);
|
|
58
|
-
/**
|
|
59
|
-
* Gets the objec where the result should be stored. May return a new instance.
|
|
60
|
-
*/
|
|
61
|
-
result?: () => T;
|
|
62
|
-
}
|
|
63
|
-
export declare function sphericalCodec(): ValueCodec<{
|
|
64
|
-
x: number;
|
|
65
|
-
y: number;
|
|
66
|
-
z: number;
|
|
67
|
-
}, {
|
|
68
|
-
phi: number;
|
|
69
|
-
theta: number;
|
|
70
|
-
}>;
|
|
71
|
-
export declare function sphericalCodec<T>(options: SphericalCodecOptions<T>): ValueCodec<T, {
|
|
72
|
-
phi: number;
|
|
73
|
-
theta: number;
|
|
74
|
-
}>;
|
|
36
|
+
onchange?: (model: T, value: unknown) => void;
|
|
37
|
+
};
|
|
38
|
+
export declare function uiSphericalWidget<T>(attrs: SphericalWidgetAttrs<T>, children?: Children): Vnode<SphericalWidgetAttrs<T>>;
|
|
39
|
+
export declare function uiSpherical<T>(attrs: SphericalWidgetAttrs<T>, children?: Children): Vnode<SphericalWidgetAttrs<T>>;
|
|
40
|
+
export declare function uiSphericalInput<T>(attrs: SphericalInputAttrs<T>, children?: Children): Vnode<SphericalInputAttrs<T>>;
|
|
41
|
+
export declare const SphericalWidgetComponent: <T>() => m.Component<SphericalWidgetAttrs<T>>;
|
|
42
|
+
export declare const SphericalInputComponent: <T>() => m.Component<SphericalInputAttrs<T>>;
|
|
75
43
|
//# sourceMappingURL=spherical.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spherical.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/spherical.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spherical.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/spherical.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,EAAoC,cAAc,EAAE,MAAM,YAAY,CAAA;AAE7E,OAAO,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/E,MAAM,MAAM,oBAAoB,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAA;AAE1F;;;GAGG;AACH,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,cAAc,CAAC,GAAG;IACjF;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAE5C;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAC9B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAEhC;AAED,wBAAgB,WAAW,CAAC,CAAC,EAC3B,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAC9B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAEhC;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAChC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,EAC7B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAE/B;AAED,eAAO,MAAM,wBAAwB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAajF,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAmI/E,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { default as m, Child, Children, Vnode } from 'mithril';
|
|
2
|
+
import { TweakableAttrs } from '../../core';
|
|
3
|
+
import { CommonWidgetAttrs } from '../elements';
|
|
4
|
+
export type StringWidgetAttrs<T = unknown> = CommonWidgetAttrs & StringInputAttrs<T>;
|
|
5
|
+
/**
|
|
6
|
+
* Text component model
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type StringInputAttrs<T = unknown> = TweakableAttrs<T, string> & {
|
|
10
|
+
/**
|
|
11
|
+
* The placeholder text
|
|
12
|
+
*/
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
slotStart?: Child;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
slotEnd?: Child;
|
|
22
|
+
/**
|
|
23
|
+
* This is called when the control value has been changed.
|
|
24
|
+
*/
|
|
25
|
+
oninput?: (model: T, value: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* This is called once the control value is committed by the user.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* Unlike the `onInput` callback, this is not necessarily called for each value change.
|
|
31
|
+
*/
|
|
32
|
+
onchange?: (model: T, value: string) => void;
|
|
33
|
+
/**
|
|
34
|
+
* Disables the control input
|
|
35
|
+
*/
|
|
36
|
+
readonly?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The number of rows for a textarea. If not specified, a single-line input will be used.
|
|
39
|
+
*/
|
|
40
|
+
rows?: number;
|
|
41
|
+
};
|
|
42
|
+
export declare function uiStringWidget<T>(attrs: StringWidgetAttrs<T>, children?: Children): Vnode<StringWidgetAttrs<T>>;
|
|
43
|
+
export declare function uiString<T>(attrs: StringInputAttrs<T>, children?: Children): Vnode<StringInputAttrs<T>>;
|
|
44
|
+
export declare const StringWidgetComponent: <T>() => m.Component<StringWidgetAttrs<T>>;
|
|
45
|
+
export declare const StringInputComponent: <T>() => m.Component<StringInputAttrs<T>>;
|
|
46
|
+
//# sourceMappingURL=string.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/string.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,EAAoC,cAAc,EAAE,MAAM,YAAY,CAAA;AAE7E,OAAO,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAA;AAEzD,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAEpF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IACtE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAA;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAE3C;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAE5C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAC3B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAE7B;AAED,wBAAgB,QAAQ,CAAC,CAAC,EACxB,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC1B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAE5B;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAa3E,CAAA;AACD,eAAO,MAAM,oBAAoB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAyCzE,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { default as m, Children, Vnode } from 'mithril';
|
|
2
|
+
import { TweakableAttrs } from '../../core';
|
|
3
|
+
import { CommonWidgetAttrs } from '../elements';
|
|
4
|
+
export type VectorWidgetAttrs<T = unknown> = CommonWidgetAttrs & VectorInputAttrs<T>;
|
|
5
|
+
/**
|
|
6
|
+
* Vector component model
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type VectorInputAttrs<T = unknown> = TweakableAttrs<T, any> & {
|
|
10
|
+
/**
|
|
11
|
+
* The vector object field names. Defaults to `['x', 'y', 'z']`
|
|
12
|
+
*/
|
|
13
|
+
keys?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* The min value
|
|
16
|
+
*/
|
|
17
|
+
min?: number;
|
|
18
|
+
/**
|
|
19
|
+
* The max value
|
|
20
|
+
*/
|
|
21
|
+
max?: number;
|
|
22
|
+
/**
|
|
23
|
+
* The step value
|
|
24
|
+
*/
|
|
25
|
+
step?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Number of columns to display. By default, this is determined by the number of keys.
|
|
28
|
+
*/
|
|
29
|
+
cols?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Whether to hide the field labels and just show the input controls. Default is false.
|
|
32
|
+
*/
|
|
33
|
+
unlabeled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* This is called when the control value has been changed.
|
|
36
|
+
*/
|
|
37
|
+
oninput?: (model: T, value: unknown, key?: string | number) => void;
|
|
38
|
+
/**
|
|
39
|
+
* This is called once the control value is committed by the user.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Unlike the `onInput` callback, this is not necessarily called for each value change.
|
|
43
|
+
*/
|
|
44
|
+
onchange?: (model: T, value: unknown, key?: string | number) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Disables the control input
|
|
47
|
+
*/
|
|
48
|
+
readonly?: boolean;
|
|
49
|
+
};
|
|
50
|
+
export declare function uiVectorWidget<T>(attrs: VectorWidgetAttrs<T>, children?: Children): Vnode<VectorWidgetAttrs<T>>;
|
|
51
|
+
export declare function uiVectorInput<T>(attrs: VectorInputAttrs<T>, children?: Children): Vnode<VectorInputAttrs<T>>;
|
|
52
|
+
export declare const VectorWidgetComponent: <T>() => m.Component<VectorWidgetAttrs<T>>;
|
|
53
|
+
export declare const VectorInputComponent: <T>() => m.Component<VectorInputAttrs<T>>;
|
|
54
|
+
//# sourceMappingURL=vector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vector.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/controls/vector.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAoC,cAAc,EAAE,MAAM,YAAY,CAAA;AAC7E,OAAO,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAA;AAGzD,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAEpF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG;IACnE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IACnE;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IACpE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAC3B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAE7B;AAED,wBAAgB,aAAa,CAAC,CAAC,EAC7B,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC1B,QAAQ,CAAC,EAAE,QAAQ,GAClB,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAE5B;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAa3E,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,OAAK,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,CA4CzE,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Children, FactoryComponent, Vnode } from 'mithril';
|
|
2
|
+
import { EventAttrs, StyleAttr } from '../../core';
|
|
3
|
+
/**
|
|
4
|
+
* Button component model
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type ButtonAttrs = EventAttrs & {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
style?: StyleAttr;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the button square
|
|
15
|
+
*/
|
|
16
|
+
square?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the button a block
|
|
19
|
+
*/
|
|
20
|
+
block?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the button is large
|
|
23
|
+
*/
|
|
24
|
+
large?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
accent?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Css flex property
|
|
31
|
+
*/
|
|
32
|
+
flex?: string;
|
|
33
|
+
};
|
|
34
|
+
export declare function uiButton<T>(attrs: ButtonAttrs, children?: Children): Vnode<ButtonAttrs>;
|
|
35
|
+
export declare const ButtonComponent: FactoryComponent<ButtonAttrs>;
|
|
36
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/elements/button.ts"],"names":[],"mappings":"AAAA,OAAU,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAGlD;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,CAEvF;AAED,eAAO,MAAM,eAAe,EAAE,gBAAgB,CAAC,WAAW,CA2BzD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/elements/divider.ts"],"names":[],"mappings":"AAAA,OAAU,EAAE,UAAU,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEhE,wBAAgB,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,CAE9D;AAED,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,UAAU,CAMhD,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Children, FactoryComponent, Vnode } from 'mithril';
|
|
2
|
+
import { StatsConfig } from '../../stats';
|
|
3
|
+
export interface GraphAttrs extends Partial<StatsConfig> {
|
|
4
|
+
rowHeight?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function uiGraph(attrs: GraphAttrs, children?: Children): Vnode<GraphAttrs>;
|
|
7
|
+
export declare const GraphComponent: FactoryComponent<GraphAttrs>;
|
|
8
|
+
//# sourceMappingURL=graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/elements/graph.ts"],"names":[],"mappings":"AAAA,OAAU,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAY,MAAM,SAAS,CAAA;AACxE,OAAO,EAAE,WAAW,EAAgC,MAAM,aAAa,CAAA;AAEvE,MAAM,WAAW,UAAW,SAAQ,OAAO,CAAC,WAAW,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,CAEjF;AAED,eAAO,MAAM,cAAc,EAAE,gBAAgB,CAAC,UAAU,CAqHvD,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Children, FactoryComponent, Vnode } from 'mithril';
|
|
2
|
+
import { EventAttrs, StyleAttr } from '../../core';
|
|
3
|
+
/**
|
|
4
|
+
* Image component model
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type ImageAttrs = EventAttrs & {
|
|
8
|
+
/**
|
|
9
|
+
* The image source url
|
|
10
|
+
*/
|
|
11
|
+
src?: string | any;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
render?: (src: any) => Promise<ImageBitmap>;
|
|
16
|
+
/**
|
|
17
|
+
* Aspect ratio of the picture container
|
|
18
|
+
*/
|
|
19
|
+
aspect?: number | string;
|
|
20
|
+
/**
|
|
21
|
+
* A fixed width
|
|
22
|
+
*/
|
|
23
|
+
width?: number | string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
fit?: 'contain' | 'cover' | 'fill';
|
|
28
|
+
class?: string;
|
|
29
|
+
style?: StyleAttr;
|
|
30
|
+
};
|
|
31
|
+
export declare function uiImage(attrs: ImageAttrs, children?: Children): Vnode<ImageAttrs>;
|
|
32
|
+
export declare const ImageComponent: FactoryComponent<ImageAttrs>;
|
|
33
|
+
//# sourceMappingURL=image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/elements/image.ts"],"names":[],"mappings":"AAAA,OAAU,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAGlD;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG;IACpC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAA;IAE3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAExB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;OAEG;IACH,GAAG,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;IAElC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,CAEjF;AAED,eAAO,MAAM,cAAc,EAAE,gBAAgB,CAAC,UAAU,CA6GvD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/elements/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|