@getcortexlabs/mavis 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 +5 -5
- package/dist/native/date-format.android.d.ts +4 -0
- package/dist/native/date-format.android.d.ts.map +1 -1
- package/dist/native/date-format.android.js +20 -0
- package/dist/native/date-format.android.js.map +1 -1
- package/dist/native/date-format.d.ts +3 -0
- package/dist/native/date-format.d.ts.map +1 -1
- package/dist/native/date-format.ios.d.ts +4 -0
- package/dist/native/date-format.ios.d.ts.map +1 -1
- package/dist/native/date-format.ios.js +18 -0
- package/dist/native/date-format.ios.js.map +1 -1
- package/dist/native/date-format.js +3 -0
- package/dist/native/date-format.js.map +1 -1
- package/dist/native/image-crop-common.d.ts +5 -0
- package/dist/native/image-crop-common.d.ts.map +1 -0
- package/dist/native/image-crop-common.js +36 -0
- package/dist/native/image-crop-common.js.map +1 -0
- package/dist/native/image-crop.android.d.ts +3 -0
- package/dist/native/image-crop.android.d.ts.map +1 -0
- package/dist/native/image-crop.android.js +92 -0
- package/dist/native/image-crop.android.js.map +1 -0
- package/dist/native/image-crop.d.ts +3 -0
- package/dist/native/image-crop.d.ts.map +1 -0
- package/dist/native/image-crop.ios.d.ts +3 -0
- package/dist/native/image-crop.ios.d.ts.map +1 -0
- package/dist/native/image-crop.ios.js +68 -0
- package/dist/native/image-crop.ios.js.map +1 -0
- package/dist/native/image-crop.js +4 -0
- package/dist/native/image-crop.js.map +1 -0
- package/dist/vue/components/DateCalendar.d.ts +1 -1
- package/dist/vue/components/MAccordion.d.ts +1 -1
- package/dist/vue/components/MButton.d.ts +5 -5
- package/dist/vue/components/MCard.d.ts +1 -1
- package/dist/vue/components/MChip.d.ts +2 -2
- package/dist/vue/components/MCombobox.d.ts +3 -3
- package/dist/vue/components/MDatePicker.d.ts +16 -16
- package/dist/vue/components/MDialog.d.ts +3 -3
- package/dist/vue/components/MEmptyState.d.ts +1 -1
- package/dist/vue/components/MFilePicker.d.ts +3 -3
- package/dist/vue/components/MImageCompare.d.ts +1 -1
- package/dist/vue/components/MImageViewer.d.ts +5 -5
- package/dist/vue/components/MInput.d.ts +3 -3
- package/dist/vue/components/MListItem.d.ts +1 -1
- package/dist/vue/components/MPinInput.d.ts +57 -0
- package/dist/vue/components/MPinInput.d.ts.map +1 -0
- package/dist/vue/components/MPinInput.js +128 -0
- package/dist/vue/components/MPinInput.js.map +1 -0
- package/dist/vue/components/MPopover.d.ts +1 -1
- package/dist/vue/components/MPopover.d.ts.map +1 -1
- package/dist/vue/components/MPopover.js +23 -11
- package/dist/vue/components/MPopover.js.map +1 -1
- package/dist/vue/components/MProgress.d.ts +1 -1
- package/dist/vue/components/MRangeSlider.d.ts +1 -1
- package/dist/vue/components/MResizablePanels.d.ts +3 -3
- package/dist/vue/components/MSelect.d.ts +1 -1
- package/dist/vue/components/MTimePicker.d.ts +12 -12
- package/dist/vue/components/MTooltip.d.ts +1 -1
- package/dist/vue/components/advanced.d.ts +850 -0
- package/dist/vue/components/advanced.d.ts.map +1 -0
- package/dist/vue/components/advanced.js +214 -0
- package/dist/vue/components/advanced.js.map +1 -0
- package/dist/vue/components/configurator.d.ts +7 -7
- package/dist/vue/components/creative.d.ts +614 -0
- package/dist/vue/components/creative.d.ts.map +1 -0
- package/dist/vue/components/creative.js +185 -0
- package/dist/vue/components/creative.js.map +1 -0
- package/dist/vue/components/dashboard.d.ts +474 -0
- package/dist/vue/components/dashboard.d.ts.map +1 -0
- package/dist/vue/components/dashboard.js +193 -0
- package/dist/vue/components/dashboard.js.map +1 -0
- package/dist/vue/components/discovery.d.ts +3 -3
- package/dist/vue/components/interactive.d.ts +1 -1
- package/dist/vue/components/navigation.d.ts +3 -3
- package/dist/vue/components/screen-components.d.ts +502 -0
- package/dist/vue/components/screen-components.d.ts.map +1 -0
- package/dist/vue/components/screen-components.js +46 -0
- package/dist/vue/components/screen-components.js.map +1 -0
- package/dist/vue/components/wayfinding.d.ts +6 -6
- package/dist/vue/components/workflows.d.ts +3 -3
- package/dist/vue/index.d.ts +5 -1
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +30 -1
- package/dist/vue/index.js.map +1 -1
- package/package.json +3 -3
- package/src/native/date-format.android.ts +22 -0
- package/src/native/date-format.ios.ts +22 -0
- package/src/native/date-format.ts +7 -0
- package/src/native/image-crop-common.ts +46 -0
- package/src/native/image-crop.android.ts +140 -0
- package/src/native/image-crop.ios.ts +94 -0
- package/src/native/image-crop.ts +4 -0
- package/src/vue/components/MPinInput.ts +145 -0
- package/src/vue/components/MPopover.ts +20 -11
- package/src/vue/components/advanced.ts +263 -0
- package/src/vue/components/creative.ts +246 -0
- package/src/vue/components/dashboard.ts +249 -0
- package/src/vue/components/screen-components.ts +61 -0
- package/src/vue/index.ts +84 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { defineComponent, h, mergeProps, nextTick, onBeforeUnmount, onDeactivated, watch, } from 'nativescript-vue';
|
|
2
|
+
import { Application, ScrollView, isAndroid, isIOS, } from '@nativescript/core';
|
|
3
|
+
import { reducedMotion, onReducedMotion } from '@rafaelaugusto/jolt';
|
|
4
|
+
import { createColorPicker, createGauge, createSwipeDeck, createTransferList, createTour, createMarquee, tourHostProps, marqueeHostProps, } from '@getcortexlabs/mavis-core/vue';
|
|
5
|
+
import { notifyAccessibilityLayout } from '../../native/accessibility-layout';
|
|
6
|
+
import { MBox, MColumn, MRow } from './layout.js';
|
|
7
|
+
import { MStack } from './MStack.js';
|
|
8
|
+
import { MCard } from './MCard.js';
|
|
9
|
+
import { MText } from './MText.js';
|
|
10
|
+
import { MInput } from './MInput.js';
|
|
11
|
+
import { MImage } from './MImage.js';
|
|
12
|
+
import { MButton } from './MButton.js';
|
|
13
|
+
import { MSlider } from './MSlider.js';
|
|
14
|
+
import { MCheckbox } from './MCheckbox.js';
|
|
15
|
+
import { MNumberFlow } from './interactive.js';
|
|
16
|
+
import { MPopover } from './MPopover.js';
|
|
17
|
+
const GaugeFallback = defineComponent({
|
|
18
|
+
props: {
|
|
19
|
+
geometry: Object,
|
|
20
|
+
size: Number,
|
|
21
|
+
strokeWidth: Number,
|
|
22
|
+
color: String,
|
|
23
|
+
track: String,
|
|
24
|
+
hidden: Boolean,
|
|
25
|
+
},
|
|
26
|
+
setup() {
|
|
27
|
+
return () => h('GridLayout', { accessible: false, isUserInteractionEnabled: false });
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
const TourHost = defineComponent({
|
|
31
|
+
inheritAttrs: false,
|
|
32
|
+
props: tourHostProps,
|
|
33
|
+
setup(props, { attrs, slots }) {
|
|
34
|
+
let root, restore = () => { };
|
|
35
|
+
function capture() {
|
|
36
|
+
if (!root?.isLoaded)
|
|
37
|
+
return;
|
|
38
|
+
if (isAndroid) {
|
|
39
|
+
const focused = root.page?.android?.findFocus?.();
|
|
40
|
+
restore = () => focused?.requestFocus?.();
|
|
41
|
+
}
|
|
42
|
+
else if (isIOS) {
|
|
43
|
+
const find = (view) => {
|
|
44
|
+
if (view.isFirstResponder)
|
|
45
|
+
return view;
|
|
46
|
+
for (let i = 0; i < view.subviews.count; i++) {
|
|
47
|
+
const result = find(view.subviews.objectAtIndex(i));
|
|
48
|
+
if (result)
|
|
49
|
+
return result;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const window = root.ios?.window;
|
|
53
|
+
const focused = window ? find(window) : undefined;
|
|
54
|
+
restore = () => {
|
|
55
|
+
if (focused?.window)
|
|
56
|
+
focused.becomeFirstResponder();
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
watch(() => props.active, (active) => {
|
|
61
|
+
if (active)
|
|
62
|
+
capture();
|
|
63
|
+
else
|
|
64
|
+
void nextTick(() => {
|
|
65
|
+
if (root?.isLoaded && !props.active && props.restoreFocus)
|
|
66
|
+
restore();
|
|
67
|
+
restore = () => { };
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
return () => h('StackLayout', mergeProps(attrs, {
|
|
71
|
+
onLoaded: (event) => {
|
|
72
|
+
root = event.object;
|
|
73
|
+
if (props.active)
|
|
74
|
+
capture();
|
|
75
|
+
},
|
|
76
|
+
onUnloaded: () => {
|
|
77
|
+
root = undefined;
|
|
78
|
+
restore = () => { };
|
|
79
|
+
},
|
|
80
|
+
}), slots.default?.());
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
const TargetHost = defineComponent({
|
|
84
|
+
inheritAttrs: false,
|
|
85
|
+
props: tourHostProps,
|
|
86
|
+
setup(props, { attrs, slots }) {
|
|
87
|
+
let root;
|
|
88
|
+
function reveal() {
|
|
89
|
+
if (!props.active || !root?.isLoaded)
|
|
90
|
+
return;
|
|
91
|
+
for (let parent = root.parent; parent; parent = parent.parent) {
|
|
92
|
+
if (parent instanceof ScrollView) {
|
|
93
|
+
const location = root.getLocationRelativeTo(parent);
|
|
94
|
+
if (location) {
|
|
95
|
+
const size = root.getActualSize(), viewport = parent.getActualSize();
|
|
96
|
+
if (location.y < 0)
|
|
97
|
+
parent.scrollToVerticalOffset(Math.max(0, parent.verticalOffset + location.y), false);
|
|
98
|
+
else if (location.y + size.height > viewport.height)
|
|
99
|
+
parent.scrollToVerticalOffset(Math.max(0, parent.verticalOffset + location.y + size.height - viewport.height), false);
|
|
100
|
+
}
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
notifyAccessibilityLayout(root);
|
|
105
|
+
}
|
|
106
|
+
watch(() => props.active, () => void nextTick(reveal), { flush: 'post' });
|
|
107
|
+
return () => h('GridLayout', mergeProps(attrs, {
|
|
108
|
+
onLoaded: (event) => {
|
|
109
|
+
root = event.object;
|
|
110
|
+
void nextTick(reveal);
|
|
111
|
+
},
|
|
112
|
+
onUnloaded: () => {
|
|
113
|
+
root = undefined;
|
|
114
|
+
},
|
|
115
|
+
}), slots.default?.());
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
const MarqueeHost = defineComponent({
|
|
119
|
+
inheritAttrs: false,
|
|
120
|
+
props: marqueeHostProps,
|
|
121
|
+
emits: ['environment'],
|
|
122
|
+
setup(_props, { attrs, slots, emit }) {
|
|
123
|
+
let root, suspended = false, attached = false, release = () => { };
|
|
124
|
+
const update = () => emit('environment', {
|
|
125
|
+
reduced: reducedMotion(),
|
|
126
|
+
paused: !attached || suspended,
|
|
127
|
+
width: root?.getActualSize().width ?? 0,
|
|
128
|
+
});
|
|
129
|
+
const suspend = () => {
|
|
130
|
+
suspended = true;
|
|
131
|
+
update();
|
|
132
|
+
}, resume = () => {
|
|
133
|
+
suspended = false;
|
|
134
|
+
update();
|
|
135
|
+
};
|
|
136
|
+
function detach() {
|
|
137
|
+
attached = false;
|
|
138
|
+
release();
|
|
139
|
+
Application.off(Application.suspendEvent, suspend);
|
|
140
|
+
Application.off(Application.resumeEvent, resume);
|
|
141
|
+
update();
|
|
142
|
+
}
|
|
143
|
+
onBeforeUnmount(detach);
|
|
144
|
+
onDeactivated(detach);
|
|
145
|
+
return () => h('GridLayout', mergeProps(attrs, {
|
|
146
|
+
clipToBounds: true,
|
|
147
|
+
width: '100%',
|
|
148
|
+
onLoaded: (event) => {
|
|
149
|
+
root = event.object;
|
|
150
|
+
if (attached)
|
|
151
|
+
return;
|
|
152
|
+
attached = true;
|
|
153
|
+
release = onReducedMotion(update);
|
|
154
|
+
Application.on(Application.suspendEvent, suspend);
|
|
155
|
+
Application.on(Application.resumeEvent, resume);
|
|
156
|
+
update();
|
|
157
|
+
},
|
|
158
|
+
onUnloaded: detach,
|
|
159
|
+
onLayoutChanged: update,
|
|
160
|
+
}), slots.default?.());
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
const ui = {
|
|
164
|
+
Box: MBox,
|
|
165
|
+
Column: MColumn,
|
|
166
|
+
Row: MRow,
|
|
167
|
+
Stack: MStack,
|
|
168
|
+
Card: MCard,
|
|
169
|
+
Text: MText,
|
|
170
|
+
Input: MInput,
|
|
171
|
+
Image: MImage,
|
|
172
|
+
Button: MButton,
|
|
173
|
+
Slider: MSlider,
|
|
174
|
+
Checkbox: MCheckbox,
|
|
175
|
+
NumberFlow: MNumberFlow,
|
|
176
|
+
GaugeFallback,
|
|
177
|
+
MarqueeHost,
|
|
178
|
+
};
|
|
179
|
+
export const MColorPicker = createColorPicker(ui, 'native');
|
|
180
|
+
export const MGauge = createGauge(ui, 'native');
|
|
181
|
+
export const MSwipeDeck = createSwipeDeck(ui, 'native');
|
|
182
|
+
export const MTransferList = createTransferList(ui, 'native');
|
|
183
|
+
export const MMarquee = createMarquee(ui, 'native');
|
|
184
|
+
export const { MTour, MTourTarget } = createTour({ ...ui, Popover: MPopover, Host: TourHost, TargetHost }, 'native');
|
|
185
|
+
//# sourceMappingURL=creative.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creative.js","sourceRoot":"","sources":["../../../src/vue/components/creative.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,CAAC,EACD,UAAU,EACV,QAAQ,EACR,eAAe,EACf,aAAa,EACb,KAAK,GAEN,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,KAAK,GAGN,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,aAAa,EACb,aAAa,EACb,gBAAgB,GACjB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AAC7E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,KAAK,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CAAA;IACL,CAAC;CACF,CAAC,CAAA;AACF,MAAM,EAAE,GAAG;IACT,GAAG,EAAE,IAAI;IACT,MAAM,EAAE,OAAO;IACf,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,WAAW;IACvB,aAAa;IACb,WAAW;CACZ,CAAA;AACD,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC3D,MAAM,CAAC,MAAM,MAAM,GAAG,WAAW,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC/C,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AACvD,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC7D,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AACnD,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,UAAU,CAC9C,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EACxD,QAAQ,CACT,CAAA"}
|
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
export declare const MDonutChart: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
|
+
id: StringConstructor;
|
|
3
|
+
label: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
segments: {
|
|
8
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").DonutSegment[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: import("nativescript-vue").PropType<string | null>;
|
|
13
|
+
default: null;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
strokeWidth: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
animated: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
animateNumber: BooleanConstructor;
|
|
28
|
+
disabled: BooleanConstructor;
|
|
29
|
+
totalLabel: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
emptyLabel: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
38
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
41
|
+
'update:modelValue': (_value: string | null) => true;
|
|
42
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
43
|
+
id: StringConstructor;
|
|
44
|
+
label: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
segments: {
|
|
49
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").DonutSegment[]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
modelValue: {
|
|
53
|
+
type: import("nativescript-vue").PropType<string | null>;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
strokeWidth: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
animated: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
animateNumber: BooleanConstructor;
|
|
69
|
+
disabled: BooleanConstructor;
|
|
70
|
+
totalLabel: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
emptyLabel: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
79
|
+
}>> & Readonly<{
|
|
80
|
+
"onUpdate:modelValue"?: ((_value: string | null) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
size: number;
|
|
84
|
+
modelValue: string | null;
|
|
85
|
+
animated: boolean;
|
|
86
|
+
emptyLabel: string;
|
|
87
|
+
strokeWidth: number;
|
|
88
|
+
animateNumber: boolean;
|
|
89
|
+
totalLabel: string;
|
|
90
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
export declare const MSparkline: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
92
|
+
id: StringConstructor;
|
|
93
|
+
label: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
|
+
points: {
|
|
98
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").SparklinePoint[]>;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
domain: import("nativescript-vue").PropType<readonly [number, number]>;
|
|
102
|
+
height: {
|
|
103
|
+
type: NumberConstructor;
|
|
104
|
+
default: number;
|
|
105
|
+
};
|
|
106
|
+
color: StringConstructor;
|
|
107
|
+
animated: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
showData: BooleanConstructor;
|
|
112
|
+
dataLabel: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
emptyLabel: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
121
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
122
|
+
[key: string]: any;
|
|
123
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
124
|
+
id: StringConstructor;
|
|
125
|
+
label: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
required: true;
|
|
128
|
+
};
|
|
129
|
+
points: {
|
|
130
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").SparklinePoint[]>;
|
|
131
|
+
required: true;
|
|
132
|
+
};
|
|
133
|
+
domain: import("nativescript-vue").PropType<readonly [number, number]>;
|
|
134
|
+
height: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: number;
|
|
137
|
+
};
|
|
138
|
+
color: StringConstructor;
|
|
139
|
+
animated: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
showData: BooleanConstructor;
|
|
144
|
+
dataLabel: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
emptyLabel: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
153
|
+
}>> & Readonly<{}>, {
|
|
154
|
+
height: number;
|
|
155
|
+
animated: boolean;
|
|
156
|
+
emptyLabel: string;
|
|
157
|
+
dataLabel: string;
|
|
158
|
+
showData: boolean;
|
|
159
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
160
|
+
export declare const MGradientBackground: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
161
|
+
angle: {
|
|
162
|
+
type: NumberConstructor;
|
|
163
|
+
default: number;
|
|
164
|
+
};
|
|
165
|
+
animated: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
active: BooleanConstructor;
|
|
170
|
+
duration: {
|
|
171
|
+
type: NumberConstructor;
|
|
172
|
+
default: number;
|
|
173
|
+
};
|
|
174
|
+
id: StringConstructor;
|
|
175
|
+
colors: {
|
|
176
|
+
type: import("nativescript-vue").PropType<readonly string[]>;
|
|
177
|
+
default: () => string[];
|
|
178
|
+
};
|
|
179
|
+
height: {
|
|
180
|
+
type: NumberConstructor;
|
|
181
|
+
default: number;
|
|
182
|
+
};
|
|
183
|
+
radius: {
|
|
184
|
+
type: import("nativescript-vue").PropType<"none" | "sm" | "md" | "lg" | "full">;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
188
|
+
[key: string]: any;
|
|
189
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
190
|
+
angle: {
|
|
191
|
+
type: NumberConstructor;
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
animated: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
active: BooleanConstructor;
|
|
199
|
+
duration: {
|
|
200
|
+
type: NumberConstructor;
|
|
201
|
+
default: number;
|
|
202
|
+
};
|
|
203
|
+
id: StringConstructor;
|
|
204
|
+
colors: {
|
|
205
|
+
type: import("nativescript-vue").PropType<readonly string[]>;
|
|
206
|
+
default: () => string[];
|
|
207
|
+
};
|
|
208
|
+
height: {
|
|
209
|
+
type: NumberConstructor;
|
|
210
|
+
default: number;
|
|
211
|
+
};
|
|
212
|
+
radius: {
|
|
213
|
+
type: import("nativescript-vue").PropType<"none" | "sm" | "md" | "lg" | "full">;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
|
+
}>> & Readonly<{}>, {
|
|
217
|
+
angle: number;
|
|
218
|
+
radius: "sm" | "md" | "lg" | "none" | "full";
|
|
219
|
+
colors: readonly string[];
|
|
220
|
+
active: boolean;
|
|
221
|
+
duration: number;
|
|
222
|
+
height: number;
|
|
223
|
+
animated: boolean;
|
|
224
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>, MParticleField: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
225
|
+
active: BooleanConstructor;
|
|
226
|
+
density: {
|
|
227
|
+
type: NumberConstructor;
|
|
228
|
+
default: number;
|
|
229
|
+
};
|
|
230
|
+
speed: {
|
|
231
|
+
type: NumberConstructor;
|
|
232
|
+
default: number;
|
|
233
|
+
};
|
|
234
|
+
lifetime: {
|
|
235
|
+
type: NumberConstructor;
|
|
236
|
+
default: number;
|
|
237
|
+
};
|
|
238
|
+
duration: NumberConstructor;
|
|
239
|
+
size: {
|
|
240
|
+
type: NumberConstructor;
|
|
241
|
+
default: number;
|
|
242
|
+
};
|
|
243
|
+
shape: {
|
|
244
|
+
type: import("nativescript-vue").PropType<"circle" | "rectangle" | "ring">;
|
|
245
|
+
default: string;
|
|
246
|
+
};
|
|
247
|
+
backgroundColor: {
|
|
248
|
+
type: StringConstructor;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
id: StringConstructor;
|
|
252
|
+
colors: {
|
|
253
|
+
type: import("nativescript-vue").PropType<readonly string[]>;
|
|
254
|
+
default: () => string[];
|
|
255
|
+
};
|
|
256
|
+
height: {
|
|
257
|
+
type: NumberConstructor;
|
|
258
|
+
default: number;
|
|
259
|
+
};
|
|
260
|
+
radius: {
|
|
261
|
+
type: import("nativescript-vue").PropType<"none" | "sm" | "md" | "lg" | "full">;
|
|
262
|
+
default: string;
|
|
263
|
+
};
|
|
264
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
265
|
+
[key: string]: any;
|
|
266
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
267
|
+
active: BooleanConstructor;
|
|
268
|
+
density: {
|
|
269
|
+
type: NumberConstructor;
|
|
270
|
+
default: number;
|
|
271
|
+
};
|
|
272
|
+
speed: {
|
|
273
|
+
type: NumberConstructor;
|
|
274
|
+
default: number;
|
|
275
|
+
};
|
|
276
|
+
lifetime: {
|
|
277
|
+
type: NumberConstructor;
|
|
278
|
+
default: number;
|
|
279
|
+
};
|
|
280
|
+
duration: NumberConstructor;
|
|
281
|
+
size: {
|
|
282
|
+
type: NumberConstructor;
|
|
283
|
+
default: number;
|
|
284
|
+
};
|
|
285
|
+
shape: {
|
|
286
|
+
type: import("nativescript-vue").PropType<"circle" | "rectangle" | "ring">;
|
|
287
|
+
default: string;
|
|
288
|
+
};
|
|
289
|
+
backgroundColor: {
|
|
290
|
+
type: StringConstructor;
|
|
291
|
+
default: string;
|
|
292
|
+
};
|
|
293
|
+
id: StringConstructor;
|
|
294
|
+
colors: {
|
|
295
|
+
type: import("nativescript-vue").PropType<readonly string[]>;
|
|
296
|
+
default: () => string[];
|
|
297
|
+
};
|
|
298
|
+
height: {
|
|
299
|
+
type: NumberConstructor;
|
|
300
|
+
default: number;
|
|
301
|
+
};
|
|
302
|
+
radius: {
|
|
303
|
+
type: import("nativescript-vue").PropType<"none" | "sm" | "md" | "lg" | "full">;
|
|
304
|
+
default: string;
|
|
305
|
+
};
|
|
306
|
+
}>> & Readonly<{}>, {
|
|
307
|
+
radius: "sm" | "md" | "lg" | "none" | "full";
|
|
308
|
+
colors: readonly string[];
|
|
309
|
+
shape: "circle" | "rectangle" | "ring";
|
|
310
|
+
active: boolean;
|
|
311
|
+
size: number;
|
|
312
|
+
backgroundColor: string;
|
|
313
|
+
height: number;
|
|
314
|
+
density: number;
|
|
315
|
+
speed: number;
|
|
316
|
+
lifetime: number;
|
|
317
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>, MConfetti: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
318
|
+
id: StringConstructor;
|
|
319
|
+
colors: {
|
|
320
|
+
type: import("nativescript-vue").PropType<readonly string[]>;
|
|
321
|
+
default: () => string[];
|
|
322
|
+
};
|
|
323
|
+
trigger: {
|
|
324
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
325
|
+
default: number;
|
|
326
|
+
};
|
|
327
|
+
count: {
|
|
328
|
+
type: NumberConstructor;
|
|
329
|
+
default: number;
|
|
330
|
+
};
|
|
331
|
+
disabled: BooleanConstructor;
|
|
332
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
333
|
+
[key: string]: any;
|
|
334
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
335
|
+
burst: () => true;
|
|
336
|
+
skipped: (_reason: "disabled" | "reduced-motion" | "unavailable") => true;
|
|
337
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
338
|
+
id: StringConstructor;
|
|
339
|
+
colors: {
|
|
340
|
+
type: import("nativescript-vue").PropType<readonly string[]>;
|
|
341
|
+
default: () => string[];
|
|
342
|
+
};
|
|
343
|
+
trigger: {
|
|
344
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
345
|
+
default: number;
|
|
346
|
+
};
|
|
347
|
+
count: {
|
|
348
|
+
type: NumberConstructor;
|
|
349
|
+
default: number;
|
|
350
|
+
};
|
|
351
|
+
disabled: BooleanConstructor;
|
|
352
|
+
}>> & Readonly<{
|
|
353
|
+
onBurst?: (() => any) | undefined;
|
|
354
|
+
onSkipped?: ((_reason: "unavailable" | "disabled" | "reduced-motion") => any) | undefined;
|
|
355
|
+
}>, {
|
|
356
|
+
disabled: boolean;
|
|
357
|
+
colors: readonly string[];
|
|
358
|
+
count: number;
|
|
359
|
+
trigger: string | number;
|
|
360
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
361
|
+
export declare const MKanban: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
362
|
+
id: StringConstructor;
|
|
363
|
+
label: {
|
|
364
|
+
type: StringConstructor;
|
|
365
|
+
required: true;
|
|
366
|
+
};
|
|
367
|
+
columns: {
|
|
368
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").KanbanColumn[]>;
|
|
369
|
+
required: true;
|
|
370
|
+
};
|
|
371
|
+
modelValue: {
|
|
372
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").KanbanCard[]>;
|
|
373
|
+
required: true;
|
|
374
|
+
};
|
|
375
|
+
query: {
|
|
376
|
+
type: StringConstructor;
|
|
377
|
+
default: string;
|
|
378
|
+
};
|
|
379
|
+
disabled: BooleanConstructor;
|
|
380
|
+
animated: {
|
|
381
|
+
type: BooleanConstructor;
|
|
382
|
+
default: boolean;
|
|
383
|
+
};
|
|
384
|
+
draggable: {
|
|
385
|
+
type: BooleanConstructor;
|
|
386
|
+
default: boolean;
|
|
387
|
+
};
|
|
388
|
+
moveLabel: {
|
|
389
|
+
type: StringConstructor;
|
|
390
|
+
default: string;
|
|
391
|
+
};
|
|
392
|
+
upLabel: {
|
|
393
|
+
type: StringConstructor;
|
|
394
|
+
default: string;
|
|
395
|
+
};
|
|
396
|
+
downLabel: {
|
|
397
|
+
type: StringConstructor;
|
|
398
|
+
default: string;
|
|
399
|
+
};
|
|
400
|
+
emptyLabel: {
|
|
401
|
+
type: StringConstructor;
|
|
402
|
+
default: string;
|
|
403
|
+
};
|
|
404
|
+
fullLabel: {
|
|
405
|
+
type: StringConstructor;
|
|
406
|
+
default: string;
|
|
407
|
+
};
|
|
408
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
409
|
+
[key: string]: any;
|
|
410
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
411
|
+
'update:modelValue': (_cards: import("@getcortexlabs/mavis-core").KanbanCard[]) => true;
|
|
412
|
+
move: (_move: import("@getcortexlabs/mavis-core").KanbanMove) => true;
|
|
413
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
414
|
+
id: StringConstructor;
|
|
415
|
+
label: {
|
|
416
|
+
type: StringConstructor;
|
|
417
|
+
required: true;
|
|
418
|
+
};
|
|
419
|
+
columns: {
|
|
420
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").KanbanColumn[]>;
|
|
421
|
+
required: true;
|
|
422
|
+
};
|
|
423
|
+
modelValue: {
|
|
424
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").KanbanCard[]>;
|
|
425
|
+
required: true;
|
|
426
|
+
};
|
|
427
|
+
query: {
|
|
428
|
+
type: StringConstructor;
|
|
429
|
+
default: string;
|
|
430
|
+
};
|
|
431
|
+
disabled: BooleanConstructor;
|
|
432
|
+
animated: {
|
|
433
|
+
type: BooleanConstructor;
|
|
434
|
+
default: boolean;
|
|
435
|
+
};
|
|
436
|
+
draggable: {
|
|
437
|
+
type: BooleanConstructor;
|
|
438
|
+
default: boolean;
|
|
439
|
+
};
|
|
440
|
+
moveLabel: {
|
|
441
|
+
type: StringConstructor;
|
|
442
|
+
default: string;
|
|
443
|
+
};
|
|
444
|
+
upLabel: {
|
|
445
|
+
type: StringConstructor;
|
|
446
|
+
default: string;
|
|
447
|
+
};
|
|
448
|
+
downLabel: {
|
|
449
|
+
type: StringConstructor;
|
|
450
|
+
default: string;
|
|
451
|
+
};
|
|
452
|
+
emptyLabel: {
|
|
453
|
+
type: StringConstructor;
|
|
454
|
+
default: string;
|
|
455
|
+
};
|
|
456
|
+
fullLabel: {
|
|
457
|
+
type: StringConstructor;
|
|
458
|
+
default: string;
|
|
459
|
+
};
|
|
460
|
+
}>> & Readonly<{
|
|
461
|
+
onMove?: ((_move: import("@getcortexlabs/mavis-core").KanbanMove) => any) | undefined;
|
|
462
|
+
"onUpdate:modelValue"?: ((_cards: import("@getcortexlabs/mavis-core").KanbanCard[]) => any) | undefined;
|
|
463
|
+
}>, {
|
|
464
|
+
disabled: boolean;
|
|
465
|
+
query: string;
|
|
466
|
+
animated: boolean;
|
|
467
|
+
emptyLabel: string;
|
|
468
|
+
moveLabel: string;
|
|
469
|
+
upLabel: string;
|
|
470
|
+
downLabel: string;
|
|
471
|
+
draggable: boolean;
|
|
472
|
+
fullLabel: string;
|
|
473
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
474
|
+
//# sourceMappingURL=dashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../src/vue/components/dashboard.ts"],"names":[],"mappings":"AAkPA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAiC,CAAA;AACzD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAgC,CAAA;AACvD,eAAO,MAAQ,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAG5D,CAAA;AACD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAA6D,CAAA"}
|