@getcortexlabs/mavis-core 0.1.0-rc.11.1 → 0.1.0-rc.12.1
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/README.md +2 -2
- package/dist/advanced-collections.d.ts +74 -0
- package/dist/advanced-collections.d.ts.map +1 -0
- package/dist/advanced-collections.js +129 -0
- package/dist/advanced-collections.js.map +1 -0
- package/dist/capabilities.d.ts +7 -7
- package/dist/capabilities.d.ts.map +1 -1
- package/dist/capabilities.js +29 -4
- package/dist/capabilities.js.map +1 -1
- package/dist/creative-controls.d.ts +47 -0
- package/dist/creative-controls.d.ts.map +1 -0
- package/dist/creative-controls.js +112 -0
- package/dist/creative-controls.js.map +1 -0
- package/dist/dashboard.d.ts +72 -0
- package/dist/dashboard.d.ts.map +1 -0
- package/dist/dashboard.js +115 -0
- package/dist/dashboard.js.map +1 -0
- package/dist/image-crop.d.ts +49 -0
- package/dist/image-crop.d.ts.map +1 -0
- package/dist/image-crop.js +71 -0
- package/dist/image-crop.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/scheduler.d.ts +45 -0
- package/dist/scheduler.d.ts.map +1 -0
- package/dist/scheduler.js +142 -0
- package/dist/scheduler.js.map +1 -0
- package/dist/screen-components.d.ts +45 -0
- package/dist/screen-components.d.ts.map +1 -0
- package/dist/screen-components.js +23 -0
- package/dist/screen-components.js.map +1 -0
- package/dist/vue/advanced-collections.d.ts +486 -0
- package/dist/vue/advanced-collections.d.ts.map +1 -0
- package/dist/vue/advanced-collections.js +476 -0
- package/dist/vue/advanced-collections.js.map +1 -0
- package/dist/vue/advanced-props.d.ts +398 -0
- package/dist/vue/advanced-props.d.ts.map +1 -0
- package/dist/vue/advanced-props.js +128 -0
- package/dist/vue/advanced-props.js.map +1 -0
- package/dist/vue/animated-text.d.ts +101 -0
- package/dist/vue/animated-text.d.ts.map +1 -0
- package/dist/vue/animated-text.js +56 -0
- package/dist/vue/animated-text.js.map +1 -0
- package/dist/vue/chart.d.ts +1 -1
- package/dist/vue/command-palette.d.ts +3 -3
- package/dist/vue/component-props.d.ts +1045 -0
- package/dist/vue/component-props.d.ts.map +1 -1
- package/dist/vue/component-props.js +29 -0
- package/dist/vue/component-props.js.map +1 -1
- package/dist/vue/composer.d.ts +159 -0
- package/dist/vue/composer.d.ts.map +1 -0
- package/dist/vue/composer.js +142 -0
- package/dist/vue/composer.js.map +1 -0
- package/dist/vue/configurator.d.ts +5 -5
- package/dist/vue/creative-controls.d.ts +328 -0
- package/dist/vue/creative-controls.d.ts.map +1 -0
- package/dist/vue/creative-controls.js +396 -0
- package/dist/vue/creative-controls.js.map +1 -0
- package/dist/vue/creative-props.d.ts +260 -0
- package/dist/vue/creative-props.d.ts.map +1 -0
- package/dist/vue/creative-props.js +92 -0
- package/dist/vue/creative-props.js.map +1 -0
- package/dist/vue/dashboard-charts.d.ts +240 -0
- package/dist/vue/dashboard-charts.d.ts.map +1 -0
- package/dist/vue/dashboard-charts.js +263 -0
- package/dist/vue/dashboard-charts.js.map +1 -0
- package/dist/vue/dashboard-effects.d.ts +211 -0
- package/dist/vue/dashboard-effects.d.ts.map +1 -0
- package/dist/vue/dashboard-effects.js +235 -0
- package/dist/vue/dashboard-effects.js.map +1 -0
- package/dist/vue/dashboard-props.d.ts +244 -0
- package/dist/vue/dashboard-props.d.ts.map +1 -0
- package/dist/vue/dashboard-props.js +94 -0
- package/dist/vue/dashboard-props.js.map +1 -0
- package/dist/vue/date-picker.d.ts +8 -8
- package/dist/vue/discovery-controls.d.ts +2 -2
- package/dist/vue/global-components.d.ts +152 -0
- package/dist/vue/global-components.d.ts.map +1 -1
- package/dist/vue/image-cropper.d.ts +187 -0
- package/dist/vue/image-cropper.d.ts.map +1 -0
- package/dist/vue/image-cropper.js +310 -0
- package/dist/vue/image-cropper.js.map +1 -0
- package/dist/vue/index.d.ts +20 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +20 -0
- package/dist/vue/index.js.map +1 -1
- package/dist/vue/kanban.d.ts +150 -0
- package/dist/vue/kanban.d.ts.map +1 -0
- package/dist/vue/kanban.js +267 -0
- package/dist/vue/kanban.js.map +1 -0
- package/dist/vue/marquee.d.ts +96 -0
- package/dist/vue/marquee.d.ts.map +1 -0
- package/dist/vue/marquee.js +186 -0
- package/dist/vue/marquee.js.map +1 -0
- package/dist/vue/menu.d.ts +2 -2
- package/dist/vue/navigation-controls.d.ts +1 -1
- package/dist/vue/pin-cell.d.ts +14 -0
- package/dist/vue/pin-cell.d.ts.map +1 -0
- package/dist/vue/pin-cell.js +19 -0
- package/dist/vue/pin-cell.js.map +1 -0
- package/dist/vue/pin-input.d.ts +14 -0
- package/dist/vue/pin-input.d.ts.map +1 -0
- package/dist/vue/pin-input.js +23 -0
- package/dist/vue/pin-input.js.map +1 -0
- package/dist/vue/scheduler.d.ts +229 -0
- package/dist/vue/scheduler.d.ts.map +1 -0
- package/dist/vue/scheduler.js +363 -0
- package/dist/vue/scheduler.js.map +1 -0
- package/dist/vue/screen-component-props.d.ts +236 -0
- package/dist/vue/screen-component-props.d.ts.map +1 -0
- package/dist/vue/screen-component-props.js +90 -0
- package/dist/vue/screen-component-props.js.map +1 -0
- package/dist/vue/scroll-frame.d.ts +223 -0
- package/dist/vue/scroll-frame.d.ts.map +1 -0
- package/dist/vue/scroll-frame.js +346 -0
- package/dist/vue/scroll-frame.js.map +1 -0
- package/dist/vue/speed-dial.d.ts +73 -0
- package/dist/vue/speed-dial.d.ts.map +1 -0
- package/dist/vue/speed-dial.js +78 -0
- package/dist/vue/speed-dial.js.map +1 -0
- package/dist/vue/swipe-actions.d.ts +1 -1
- package/dist/vue/swipe-deck.d.ts +120 -0
- package/dist/vue/swipe-deck.d.ts.map +1 -0
- package/dist/vue/swipe-deck.js +229 -0
- package/dist/vue/swipe-deck.js.map +1 -0
- package/dist/vue/time-picker.d.ts +6 -6
- package/dist/vue/tour.d.ts +120 -0
- package/dist/vue/tour.d.ts.map +1 -0
- package/dist/vue/tour.js +165 -0
- package/dist/vue/tour.js.map +1 -0
- package/dist/vue/tree-view.d.ts +1 -1
- package/dist/vue/wayfinding-controls.d.ts +2 -2
- package/dist/vue/workflows.d.ts +3 -3
- package/package.json +1 -1
- package/src/advanced-collections.ts +199 -0
- package/src/capabilities.ts +30 -4
- package/src/creative-controls.ts +169 -0
- package/src/dashboard.ts +164 -0
- package/src/image-crop.ts +125 -0
- package/src/index.ts +11 -0
- package/src/scheduler.ts +194 -0
- package/src/screen-components.ts +59 -0
- package/src/vue/advanced-collections.ts +679 -0
- package/src/vue/advanced-props.ts +144 -0
- package/src/vue/animated-text.ts +72 -0
- package/src/vue/component-props.ts +61 -0
- package/src/vue/composer.ts +192 -0
- package/src/vue/creative-controls.ts +524 -0
- package/src/vue/creative-props.ts +94 -0
- package/src/vue/dashboard-charts.ts +346 -0
- package/src/vue/dashboard-effects.ts +304 -0
- package/src/vue/dashboard-props.ts +95 -0
- package/src/vue/global-components.ts +162 -0
- package/src/vue/image-cropper.ts +413 -0
- package/src/vue/index.ts +28 -0
- package/src/vue/kanban.ts +360 -0
- package/src/vue/marquee.ts +248 -0
- package/src/vue/pin-cell.ts +26 -0
- package/src/vue/pin-input.ts +31 -0
- package/src/vue/scheduler.ts +505 -0
- package/src/vue/screen-component-props.ts +92 -0
- package/src/vue/scroll-frame.ts +429 -0
- package/src/vue/speed-dial.ts +108 -0
- package/src/vue/swipe-deck.ts +277 -0
- package/src/vue/tour.ts +239 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { IconName } from './icon.js';
|
|
2
|
+
import type { ChoiceValue } from './choice.js';
|
|
3
|
+
export interface SpeedDialAction {
|
|
4
|
+
value: ChoiceValue;
|
|
5
|
+
label: string;
|
|
6
|
+
icon?: IconName;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface ComposerAttachment {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ComposerMessage {
|
|
14
|
+
text: string;
|
|
15
|
+
attachments: readonly ComposerAttachment[];
|
|
16
|
+
}
|
|
17
|
+
/** Native/core-only consumers need no DOM typings; Web retains fetch's full signal type. */
|
|
18
|
+
export type RefreshSignal = typeof globalThis extends {
|
|
19
|
+
AbortController: {
|
|
20
|
+
prototype: {
|
|
21
|
+
signal: infer Signal;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
} ? Signal : {
|
|
25
|
+
readonly aborted: boolean;
|
|
26
|
+
readonly reason: unknown;
|
|
27
|
+
throwIfAborted(): void;
|
|
28
|
+
addEventListener(type: 'abort', listener: () => void, options?: {
|
|
29
|
+
once?: boolean;
|
|
30
|
+
}): void;
|
|
31
|
+
removeEventListener(type: 'abort', listener: () => void): void;
|
|
32
|
+
};
|
|
33
|
+
export interface RefreshContext {
|
|
34
|
+
readonly signal: RefreshSignal;
|
|
35
|
+
readonly cancelled: boolean;
|
|
36
|
+
/** Apply results only while this refresh still owns the component. */
|
|
37
|
+
commit(change: () => void | Promise<void>): Promise<boolean>;
|
|
38
|
+
}
|
|
39
|
+
export type RefreshAction = (context: RefreshContext) => void | Promise<void>;
|
|
40
|
+
export type RefreshState = 'idle' | 'refreshing' | 'success' | 'error';
|
|
41
|
+
export declare function pinLength(length: number): number;
|
|
42
|
+
/** Accept pasted separators and full-width digits without accepting arbitrary code. */
|
|
43
|
+
export declare function normalizePin(value: string, length: number): string;
|
|
44
|
+
export declare function uniqueActions(actions: readonly SpeedDialAction[]): readonly SpeedDialAction[];
|
|
45
|
+
//# sourceMappingURL=screen-components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen-components.d.ts","sourceRoot":"","sources":["../src/screen-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,KAAK,EAAE,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AAc,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAC7E,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAA;AACtE,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,UAIvC;AACD,uFAAuF;AACvF,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UAKzD;AACD,wBAAgB,aAAa,CAAC,OAAO,EAAE,SAAS,eAAe,EAAE,8BAShE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export function pinLength(length) {
|
|
2
|
+
if (!Number.isInteger(length) || length < 2 || length > 12)
|
|
3
|
+
throw new RangeError('MPinInput length must be an integer between 2 and 12.');
|
|
4
|
+
return length;
|
|
5
|
+
}
|
|
6
|
+
/** Accept pasted separators and full-width digits without accepting arbitrary code. */
|
|
7
|
+
export function normalizePin(value, length) {
|
|
8
|
+
return value
|
|
9
|
+
.replace(/[0-9]/g, (digit) => String.fromCharCode(digit.charCodeAt(0) - 0xfee0))
|
|
10
|
+
.replace(/[^0-9]/g, '')
|
|
11
|
+
.slice(0, pinLength(length));
|
|
12
|
+
}
|
|
13
|
+
export function uniqueActions(actions) {
|
|
14
|
+
const keys = new Set();
|
|
15
|
+
for (const action of actions) {
|
|
16
|
+
const key = `${typeof action.value}:${action.value}`;
|
|
17
|
+
if (!action.label.trim() || keys.has(key))
|
|
18
|
+
throw new TypeError('Speed dial actions require unique values and nonempty labels.');
|
|
19
|
+
keys.add(key);
|
|
20
|
+
}
|
|
21
|
+
return actions;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=screen-components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen-components.js","sourceRoot":"","sources":["../src/screen-components.ts"],"names":[],"mappings":"AAqCA,MAAM,UAAU,SAAS,CAAC,MAAc;IACtC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,IAAI,MAAM,GAAG,EAAE;QACxD,MAAM,IAAI,UAAU,CAAC,uDAAuD,CAAC,CAAA;IAC/E,OAAO,MAAM,CAAA;AACf,CAAC;AACD,uFAAuF;AACvF,MAAM,UAAU,YAAY,CAAC,KAAa,EAAE,MAAc;IACxD,OAAO,KAAK;SACT,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;SAC/E,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;SACtB,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;AAChC,CAAC;AACD,MAAM,UAAU,aAAa,CAAC,OAAmC;IAC/D,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAA;IAC9B,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,GAAG,GAAG,GAAG,OAAO,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,CAAA;QACpD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;YACvC,MAAM,IAAI,SAAS,CAAC,+DAA+D,CAAC,CAAA;QACtF,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IACf,CAAC;IACD,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
import { type Component } from '@vue/runtime-core';
|
|
2
|
+
import { type MavisNotification } from '../advanced-collections.js';
|
|
3
|
+
import type { CivilDate } from '../date.js';
|
|
4
|
+
export interface AdvancedUI {
|
|
5
|
+
Box: Component;
|
|
6
|
+
Column: Component;
|
|
7
|
+
Row: Component;
|
|
8
|
+
Stack: Component;
|
|
9
|
+
Card: Component;
|
|
10
|
+
Text: Component;
|
|
11
|
+
Button: Component;
|
|
12
|
+
Input: Component;
|
|
13
|
+
Checkbox: Component;
|
|
14
|
+
Slider: Component;
|
|
15
|
+
Popover: Component;
|
|
16
|
+
Segmented: Component;
|
|
17
|
+
Image: Component;
|
|
18
|
+
Host: Component;
|
|
19
|
+
Measure: Component;
|
|
20
|
+
Canvas: Component;
|
|
21
|
+
Cell: Component;
|
|
22
|
+
Scroll: Component;
|
|
23
|
+
Gesture: Component;
|
|
24
|
+
}
|
|
25
|
+
export interface AdvancedFocus {
|
|
26
|
+
focus(id?: string): void;
|
|
27
|
+
}
|
|
28
|
+
export declare function createAdvancedPaint(ui: AdvancedUI): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
29
|
+
color: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
animated: BooleanConstructor;
|
|
34
|
+
}>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
37
|
+
color: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
animated: BooleanConstructor;
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
|
+
animated: boolean;
|
|
44
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
export declare function createTreeSelect(ui: AdvancedUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
46
|
+
id: StringConstructor;
|
|
47
|
+
label: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
nodes: {
|
|
52
|
+
type: import("@vue/runtime-core").PropType<readonly import("../advanced-collections.js").TreeSelectNode[]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
57
|
+
default: () => never[];
|
|
58
|
+
};
|
|
59
|
+
expanded: {
|
|
60
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
61
|
+
default: () => never[];
|
|
62
|
+
};
|
|
63
|
+
multiple: BooleanConstructor;
|
|
64
|
+
disabled: BooleanConstructor;
|
|
65
|
+
animated: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
placeholder: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
searchLabel: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
clearLabel: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
emptyLabel: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
expandLabel: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
collapseLabel: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
}>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
96
|
+
'update:modelValue': (_v: string[]) => true;
|
|
97
|
+
'update:expanded': (_v: string[]) => true;
|
|
98
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
99
|
+
id: StringConstructor;
|
|
100
|
+
label: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
required: true;
|
|
103
|
+
};
|
|
104
|
+
nodes: {
|
|
105
|
+
type: import("@vue/runtime-core").PropType<readonly import("../advanced-collections.js").TreeSelectNode[]>;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
modelValue: {
|
|
109
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
110
|
+
default: () => never[];
|
|
111
|
+
};
|
|
112
|
+
expanded: {
|
|
113
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
114
|
+
default: () => never[];
|
|
115
|
+
};
|
|
116
|
+
multiple: BooleanConstructor;
|
|
117
|
+
disabled: BooleanConstructor;
|
|
118
|
+
animated: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
placeholder: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
searchLabel: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
clearLabel: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
emptyLabel: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
expandLabel: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
collapseLabel: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
}>> & Readonly<{
|
|
147
|
+
"onUpdate:modelValue"?: ((_v: string[]) => any) | undefined;
|
|
148
|
+
"onUpdate:expanded"?: ((_v: string[]) => any) | undefined;
|
|
149
|
+
}>, {
|
|
150
|
+
disabled: boolean;
|
|
151
|
+
expanded: readonly string[];
|
|
152
|
+
modelValue: readonly string[];
|
|
153
|
+
placeholder: string;
|
|
154
|
+
animated: boolean;
|
|
155
|
+
multiple: boolean;
|
|
156
|
+
searchLabel: string;
|
|
157
|
+
clearLabel: string;
|
|
158
|
+
emptyLabel: string;
|
|
159
|
+
expandLabel: string;
|
|
160
|
+
collapseLabel: string;
|
|
161
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
162
|
+
export declare function createMasonry(ui: AdvancedUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
163
|
+
id: StringConstructor;
|
|
164
|
+
label: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
required: true;
|
|
167
|
+
};
|
|
168
|
+
items: {
|
|
169
|
+
type: import("@vue/runtime-core").PropType<readonly import("../advanced-collections.js").MasonryItem[]>;
|
|
170
|
+
required: true;
|
|
171
|
+
};
|
|
172
|
+
minColumnWidth: {
|
|
173
|
+
type: NumberConstructor;
|
|
174
|
+
default: number;
|
|
175
|
+
};
|
|
176
|
+
columns: {
|
|
177
|
+
type: NumberConstructor;
|
|
178
|
+
default: number;
|
|
179
|
+
};
|
|
180
|
+
gap: {
|
|
181
|
+
default: string;
|
|
182
|
+
type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
|
|
183
|
+
};
|
|
184
|
+
animated: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
emptyLabel: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
}>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
193
|
+
[key: string]: any;
|
|
194
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
195
|
+
id: StringConstructor;
|
|
196
|
+
label: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
required: true;
|
|
199
|
+
};
|
|
200
|
+
items: {
|
|
201
|
+
type: import("@vue/runtime-core").PropType<readonly import("../advanced-collections.js").MasonryItem[]>;
|
|
202
|
+
required: true;
|
|
203
|
+
};
|
|
204
|
+
minColumnWidth: {
|
|
205
|
+
type: NumberConstructor;
|
|
206
|
+
default: number;
|
|
207
|
+
};
|
|
208
|
+
columns: {
|
|
209
|
+
type: NumberConstructor;
|
|
210
|
+
default: number;
|
|
211
|
+
};
|
|
212
|
+
gap: {
|
|
213
|
+
default: string;
|
|
214
|
+
type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
|
|
215
|
+
};
|
|
216
|
+
animated: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
emptyLabel: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
}>> & Readonly<{}>, {
|
|
225
|
+
gap: import("../index.js").Spacing;
|
|
226
|
+
animated: boolean;
|
|
227
|
+
emptyLabel: string;
|
|
228
|
+
minColumnWidth: number;
|
|
229
|
+
columns: number;
|
|
230
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
231
|
+
export declare function createHeatmap(ui: AdvancedUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
232
|
+
id: StringConstructor;
|
|
233
|
+
label: {
|
|
234
|
+
type: StringConstructor;
|
|
235
|
+
required: true;
|
|
236
|
+
};
|
|
237
|
+
start: {
|
|
238
|
+
type: import("@vue/runtime-core").PropType<CivilDate>;
|
|
239
|
+
required: true;
|
|
240
|
+
};
|
|
241
|
+
end: {
|
|
242
|
+
type: import("@vue/runtime-core").PropType<CivilDate>;
|
|
243
|
+
required: true;
|
|
244
|
+
};
|
|
245
|
+
values: {
|
|
246
|
+
type: import("@vue/runtime-core").PropType<readonly import("../advanced-collections.js").HeatmapValue[]>;
|
|
247
|
+
required: true;
|
|
248
|
+
};
|
|
249
|
+
modelValue: {
|
|
250
|
+
type: import("@vue/runtime-core").PropType<CivilDate | null>;
|
|
251
|
+
default: null;
|
|
252
|
+
};
|
|
253
|
+
colors: {
|
|
254
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
255
|
+
default: () => string[];
|
|
256
|
+
};
|
|
257
|
+
cellSize: {
|
|
258
|
+
type: NumberConstructor;
|
|
259
|
+
default: number;
|
|
260
|
+
};
|
|
261
|
+
weekStartsOn: {
|
|
262
|
+
type: import("@vue/runtime-core").PropType<0 | 1>;
|
|
263
|
+
default: number;
|
|
264
|
+
};
|
|
265
|
+
animated: {
|
|
266
|
+
type: BooleanConstructor;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
disabled: BooleanConstructor;
|
|
270
|
+
missingLabel: {
|
|
271
|
+
type: StringConstructor;
|
|
272
|
+
default: string;
|
|
273
|
+
};
|
|
274
|
+
dataLabel: {
|
|
275
|
+
type: StringConstructor;
|
|
276
|
+
default: string;
|
|
277
|
+
};
|
|
278
|
+
lessLabel: {
|
|
279
|
+
type: StringConstructor;
|
|
280
|
+
default: string;
|
|
281
|
+
};
|
|
282
|
+
moreLabel: {
|
|
283
|
+
type: StringConstructor;
|
|
284
|
+
default: string;
|
|
285
|
+
};
|
|
286
|
+
formatValue: import("@vue/runtime-core").PropType<(value: number) => string>;
|
|
287
|
+
}>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
288
|
+
[key: string]: any;
|
|
289
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
290
|
+
'update:modelValue': (_v: CivilDate) => true;
|
|
291
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
292
|
+
id: StringConstructor;
|
|
293
|
+
label: {
|
|
294
|
+
type: StringConstructor;
|
|
295
|
+
required: true;
|
|
296
|
+
};
|
|
297
|
+
start: {
|
|
298
|
+
type: import("@vue/runtime-core").PropType<CivilDate>;
|
|
299
|
+
required: true;
|
|
300
|
+
};
|
|
301
|
+
end: {
|
|
302
|
+
type: import("@vue/runtime-core").PropType<CivilDate>;
|
|
303
|
+
required: true;
|
|
304
|
+
};
|
|
305
|
+
values: {
|
|
306
|
+
type: import("@vue/runtime-core").PropType<readonly import("../advanced-collections.js").HeatmapValue[]>;
|
|
307
|
+
required: true;
|
|
308
|
+
};
|
|
309
|
+
modelValue: {
|
|
310
|
+
type: import("@vue/runtime-core").PropType<CivilDate | null>;
|
|
311
|
+
default: null;
|
|
312
|
+
};
|
|
313
|
+
colors: {
|
|
314
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
315
|
+
default: () => string[];
|
|
316
|
+
};
|
|
317
|
+
cellSize: {
|
|
318
|
+
type: NumberConstructor;
|
|
319
|
+
default: number;
|
|
320
|
+
};
|
|
321
|
+
weekStartsOn: {
|
|
322
|
+
type: import("@vue/runtime-core").PropType<0 | 1>;
|
|
323
|
+
default: number;
|
|
324
|
+
};
|
|
325
|
+
animated: {
|
|
326
|
+
type: BooleanConstructor;
|
|
327
|
+
default: boolean;
|
|
328
|
+
};
|
|
329
|
+
disabled: BooleanConstructor;
|
|
330
|
+
missingLabel: {
|
|
331
|
+
type: StringConstructor;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
dataLabel: {
|
|
335
|
+
type: StringConstructor;
|
|
336
|
+
default: string;
|
|
337
|
+
};
|
|
338
|
+
lessLabel: {
|
|
339
|
+
type: StringConstructor;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
342
|
+
moreLabel: {
|
|
343
|
+
type: StringConstructor;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
346
|
+
formatValue: import("@vue/runtime-core").PropType<(value: number) => string>;
|
|
347
|
+
}>> & Readonly<{
|
|
348
|
+
"onUpdate:modelValue"?: ((_v: `${number}-${number}-${number}`) => any) | undefined;
|
|
349
|
+
}>, {
|
|
350
|
+
disabled: boolean;
|
|
351
|
+
colors: readonly string[];
|
|
352
|
+
modelValue: `${number}-${number}-${number}` | null;
|
|
353
|
+
animated: boolean;
|
|
354
|
+
cellSize: number;
|
|
355
|
+
weekStartsOn: 0 | 1;
|
|
356
|
+
missingLabel: string;
|
|
357
|
+
dataLabel: string;
|
|
358
|
+
lessLabel: string;
|
|
359
|
+
moreLabel: string;
|
|
360
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
361
|
+
export declare function createNotificationCenter(ui: AdvancedUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
362
|
+
id: StringConstructor;
|
|
363
|
+
label: {
|
|
364
|
+
type: StringConstructor;
|
|
365
|
+
required: true;
|
|
366
|
+
};
|
|
367
|
+
modelValue: {
|
|
368
|
+
type: import("@vue/runtime-core").PropType<readonly MavisNotification[]>;
|
|
369
|
+
required: true;
|
|
370
|
+
};
|
|
371
|
+
disabled: BooleanConstructor;
|
|
372
|
+
animated: {
|
|
373
|
+
type: BooleanConstructor;
|
|
374
|
+
default: boolean;
|
|
375
|
+
};
|
|
376
|
+
filter: {
|
|
377
|
+
type: import("@vue/runtime-core").PropType<"all" | "unread">;
|
|
378
|
+
default: string;
|
|
379
|
+
};
|
|
380
|
+
allLabel: {
|
|
381
|
+
type: StringConstructor;
|
|
382
|
+
default: string;
|
|
383
|
+
};
|
|
384
|
+
unreadLabel: {
|
|
385
|
+
type: StringConstructor;
|
|
386
|
+
default: string;
|
|
387
|
+
};
|
|
388
|
+
readLabel: {
|
|
389
|
+
type: StringConstructor;
|
|
390
|
+
default: string;
|
|
391
|
+
};
|
|
392
|
+
unreadActionLabel: {
|
|
393
|
+
type: StringConstructor;
|
|
394
|
+
default: string;
|
|
395
|
+
};
|
|
396
|
+
readAllLabel: {
|
|
397
|
+
type: StringConstructor;
|
|
398
|
+
default: string;
|
|
399
|
+
};
|
|
400
|
+
dismissLabel: {
|
|
401
|
+
type: StringConstructor;
|
|
402
|
+
default: string;
|
|
403
|
+
};
|
|
404
|
+
emptyLabel: {
|
|
405
|
+
type: StringConstructor;
|
|
406
|
+
default: string;
|
|
407
|
+
};
|
|
408
|
+
ungroupedLabel: {
|
|
409
|
+
type: StringConstructor;
|
|
410
|
+
default: string;
|
|
411
|
+
};
|
|
412
|
+
}>, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
413
|
+
[key: string]: any;
|
|
414
|
+
}>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
415
|
+
'update:modelValue': (_v: MavisNotification[]) => true;
|
|
416
|
+
'update:filter': (_v: "all" | "unread") => true;
|
|
417
|
+
action: (_id: string) => true;
|
|
418
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
419
|
+
id: StringConstructor;
|
|
420
|
+
label: {
|
|
421
|
+
type: StringConstructor;
|
|
422
|
+
required: true;
|
|
423
|
+
};
|
|
424
|
+
modelValue: {
|
|
425
|
+
type: import("@vue/runtime-core").PropType<readonly MavisNotification[]>;
|
|
426
|
+
required: true;
|
|
427
|
+
};
|
|
428
|
+
disabled: BooleanConstructor;
|
|
429
|
+
animated: {
|
|
430
|
+
type: BooleanConstructor;
|
|
431
|
+
default: boolean;
|
|
432
|
+
};
|
|
433
|
+
filter: {
|
|
434
|
+
type: import("@vue/runtime-core").PropType<"all" | "unread">;
|
|
435
|
+
default: string;
|
|
436
|
+
};
|
|
437
|
+
allLabel: {
|
|
438
|
+
type: StringConstructor;
|
|
439
|
+
default: string;
|
|
440
|
+
};
|
|
441
|
+
unreadLabel: {
|
|
442
|
+
type: StringConstructor;
|
|
443
|
+
default: string;
|
|
444
|
+
};
|
|
445
|
+
readLabel: {
|
|
446
|
+
type: StringConstructor;
|
|
447
|
+
default: string;
|
|
448
|
+
};
|
|
449
|
+
unreadActionLabel: {
|
|
450
|
+
type: StringConstructor;
|
|
451
|
+
default: string;
|
|
452
|
+
};
|
|
453
|
+
readAllLabel: {
|
|
454
|
+
type: StringConstructor;
|
|
455
|
+
default: string;
|
|
456
|
+
};
|
|
457
|
+
dismissLabel: {
|
|
458
|
+
type: StringConstructor;
|
|
459
|
+
default: string;
|
|
460
|
+
};
|
|
461
|
+
emptyLabel: {
|
|
462
|
+
type: StringConstructor;
|
|
463
|
+
default: string;
|
|
464
|
+
};
|
|
465
|
+
ungroupedLabel: {
|
|
466
|
+
type: StringConstructor;
|
|
467
|
+
default: string;
|
|
468
|
+
};
|
|
469
|
+
}>> & Readonly<{
|
|
470
|
+
"onUpdate:modelValue"?: ((_v: MavisNotification[]) => any) | undefined;
|
|
471
|
+
"onUpdate:filter"?: ((_v: "unread" | "all") => any) | undefined;
|
|
472
|
+
onAction?: ((_id: string) => any) | undefined;
|
|
473
|
+
}>, {
|
|
474
|
+
filter: "unread" | "all";
|
|
475
|
+
disabled: boolean;
|
|
476
|
+
animated: boolean;
|
|
477
|
+
emptyLabel: string;
|
|
478
|
+
allLabel: string;
|
|
479
|
+
unreadLabel: string;
|
|
480
|
+
readLabel: string;
|
|
481
|
+
unreadActionLabel: string;
|
|
482
|
+
readAllLabel: string;
|
|
483
|
+
dismissLabel: string;
|
|
484
|
+
ungroupedLabel: string;
|
|
485
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
486
|
+
//# sourceMappingURL=advanced-collections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"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