@getcortexlabs/mavis-core 0.1.0-rc.14 → 0.1.0-rc.16
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/avatar.d.ts +5 -0
- package/dist/avatar.d.ts.map +1 -1
- package/dist/capabilities.d.ts +454 -1777
- package/dist/capabilities.d.ts.map +1 -1
- package/dist/capabilities.js +143 -82
- package/dist/capabilities.js.map +1 -1
- package/dist/contracts.d.ts +4 -4
- package/dist/experimental-regions.d.ts +5 -2
- package/dist/experimental-regions.d.ts.map +1 -1
- package/dist/experimental-regions.js +3 -0
- package/dist/experimental-regions.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/vue/advanced-collections.d.ts +16 -16
- package/dist/vue/animated-text.d.ts +4 -4
- package/dist/vue/chart.d.ts +5 -5
- package/dist/vue/command-palette.d.ts +4 -4
- package/dist/vue/component-props.d.ts +92 -22
- package/dist/vue/component-props.d.ts.map +1 -1
- package/dist/vue/component-props.js +4 -0
- package/dist/vue/component-props.js.map +1 -1
- package/dist/vue/composer.d.ts +11 -9
- package/dist/vue/composer.d.ts.map +1 -1
- package/dist/vue/composer.js +12 -16
- package/dist/vue/composer.js.map +1 -1
- package/dist/vue/configurator.d.ts +16 -16
- package/dist/vue/creative-controls.d.ts +11 -11
- package/dist/vue/dashboard-charts.d.ts +6 -6
- package/dist/vue/dashboard-effects.d.ts +7 -7
- package/dist/vue/date-picker.d.ts +52 -52
- package/dist/vue/discovery-controls.d.ts +8 -8
- package/dist/vue/editor-controls.d.ts +223 -0
- package/dist/vue/editor-controls.d.ts.map +1 -0
- package/dist/vue/editor-controls.js +323 -0
- package/dist/vue/editor-controls.js.map +1 -0
- package/dist/vue/global-components.d.ts +22 -1
- package/dist/vue/global-components.d.ts.map +1 -1
- package/dist/vue/image-cropper.d.ts +8 -8
- package/dist/vue/image-cropper.d.ts.map +1 -1
- package/dist/vue/index.d.ts +3 -2
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +1 -0
- package/dist/vue/index.js.map +1 -1
- package/dist/vue/kanban.d.ts +2 -2
- package/dist/vue/marquee.d.ts +4 -4
- package/dist/vue/menu.d.ts +4 -4
- package/dist/vue/number-flow.d.ts +3 -3
- package/dist/vue/platform.d.ts +1 -2
- package/dist/vue/platform.d.ts.map +1 -1
- package/dist/vue/platform.js.map +1 -1
- package/dist/vue/props.d.ts +44 -44
- package/dist/vue/reveal-state.d.ts +1 -1
- package/dist/vue/scheduler.d.ts +10 -10
- package/dist/vue/screen-component-props.d.ts +10 -0
- package/dist/vue/screen-component-props.d.ts.map +1 -1
- package/dist/vue/screen-component-props.js +6 -0
- package/dist/vue/screen-component-props.js.map +1 -1
- package/dist/vue/scroll-frame.d.ts +29 -6
- package/dist/vue/scroll-frame.d.ts.map +1 -1
- package/dist/vue/scroll-frame.js +106 -43
- package/dist/vue/scroll-frame.js.map +1 -1
- package/dist/vue/speed-dial.d.ts +3 -3
- package/dist/vue/swipe-actions.d.ts +3 -3
- package/dist/vue/swipe-deck.d.ts +3 -3
- package/dist/vue/theme-provider.d.ts +17 -2
- package/dist/vue/theme-provider.d.ts.map +1 -1
- package/dist/vue/theme-provider.js +7 -1
- package/dist/vue/theme-provider.js.map +1 -1
- package/dist/vue/theme.d.ts +7 -0
- package/dist/vue/theme.d.ts.map +1 -1
- package/dist/vue/theme.js +23 -19
- package/dist/vue/theme.js.map +1 -1
- package/dist/vue/time-picker.d.ts +20 -20
- package/dist/vue/tour.d.ts +3 -3
- package/dist/vue/tree-view.d.ts +3 -3
- package/dist/vue/wayfinding-controls.d.ts +1 -1
- package/dist/vue/workflows.d.ts +3 -3
- package/package.json +1 -1
- package/src/avatar.ts +6 -0
- package/src/capabilities.ts +148 -82
- package/src/experimental-regions.ts +10 -2
- package/src/index.ts +2 -7
- package/src/vue/component-props.ts +4 -0
- package/src/vue/composer.ts +22 -16
- package/src/vue/editor-controls.ts +370 -0
- package/src/vue/global-components.ts +21 -1
- package/src/vue/index.ts +3 -1
- package/src/vue/platform.ts +1 -2
- package/src/vue/screen-component-props.ts +6 -0
- package/src/vue/scroll-frame.ts +140 -54
- package/src/vue/theme-provider.ts +14 -1
- package/src/vue/theme.ts +31 -18
- package/dist/macos-capabilities.generated.d.ts +0 -1738
- package/dist/macos-capabilities.generated.d.ts.map +0 -1
- package/dist/macos-capabilities.generated.js +0 -4191
- package/dist/macos-capabilities.generated.js.map +0 -1
- package/src/macos-capabilities.generated.ts +0 -4190
|
@@ -148,16 +148,16 @@ export declare function createTreeSelect(ui: AdvancedUI, platform: 'web' | 'nati
|
|
|
148
148
|
"onUpdate:expanded"?: ((_v: string[]) => any) | undefined;
|
|
149
149
|
}>, {
|
|
150
150
|
disabled: boolean;
|
|
151
|
+
expanded: readonly string[];
|
|
151
152
|
modelValue: readonly string[];
|
|
152
|
-
multiple: boolean;
|
|
153
|
-
animated: boolean;
|
|
154
|
-
expandLabel: string;
|
|
155
|
-
emptyLabel: string;
|
|
156
|
-
clearLabel: string;
|
|
157
153
|
placeholder: string;
|
|
154
|
+
animated: boolean;
|
|
155
|
+
multiple: boolean;
|
|
158
156
|
searchLabel: string;
|
|
157
|
+
clearLabel: string;
|
|
158
|
+
emptyLabel: string;
|
|
159
|
+
expandLabel: string;
|
|
159
160
|
collapseLabel: string;
|
|
160
|
-
expanded: readonly string[];
|
|
161
161
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
162
162
|
export declare function createMasonry(ui: AdvancedUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
163
163
|
id: StringConstructor;
|
|
@@ -222,11 +222,11 @@ export declare function createMasonry(ui: AdvancedUI, platform: 'web' | 'native'
|
|
|
222
222
|
default: string;
|
|
223
223
|
};
|
|
224
224
|
}>> & Readonly<{}>, {
|
|
225
|
-
animated: boolean;
|
|
226
225
|
gap: import("../index.js").Spacing;
|
|
226
|
+
animated: boolean;
|
|
227
227
|
emptyLabel: string;
|
|
228
|
-
columns: number;
|
|
229
228
|
minColumnWidth: number;
|
|
229
|
+
columns: number;
|
|
230
230
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
231
231
|
export declare function createHeatmap(ui: AdvancedUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
232
232
|
id: StringConstructor;
|
|
@@ -348,15 +348,15 @@ export declare function createHeatmap(ui: AdvancedUI, platform: 'web' | 'native'
|
|
|
348
348
|
"onUpdate:modelValue"?: ((_v: `${number}-${number}-${number}`) => any) | undefined;
|
|
349
349
|
}>, {
|
|
350
350
|
disabled: boolean;
|
|
351
|
+
colors: readonly string[];
|
|
351
352
|
modelValue: `${number}-${number}-${number}` | null;
|
|
352
353
|
animated: boolean;
|
|
353
|
-
missingLabel: string;
|
|
354
|
-
colors: readonly string[];
|
|
355
354
|
cellSize: number;
|
|
355
|
+
weekStartsOn: 0 | 1;
|
|
356
|
+
missingLabel: string;
|
|
356
357
|
dataLabel: string;
|
|
357
358
|
lessLabel: string;
|
|
358
359
|
moreLabel: string;
|
|
359
|
-
weekStartsOn: 0 | 1;
|
|
360
360
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
361
361
|
export declare function createNotificationCenter(ui: AdvancedUI, platform: 'web' | 'native'): import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
|
|
362
362
|
id: StringConstructor;
|
|
@@ -468,19 +468,19 @@ export declare function createNotificationCenter(ui: AdvancedUI, platform: 'web'
|
|
|
468
468
|
};
|
|
469
469
|
}>> & Readonly<{
|
|
470
470
|
"onUpdate:modelValue"?: ((_v: MavisNotification[]) => any) | undefined;
|
|
471
|
-
onAction?: ((_id: string) => any) | undefined;
|
|
472
471
|
"onUpdate:filter"?: ((_v: "unread" | "all") => any) | undefined;
|
|
472
|
+
onAction?: ((_id: string) => any) | undefined;
|
|
473
473
|
}>, {
|
|
474
474
|
filter: "unread" | "all";
|
|
475
475
|
disabled: boolean;
|
|
476
476
|
animated: boolean;
|
|
477
477
|
emptyLabel: string;
|
|
478
478
|
allLabel: string;
|
|
479
|
-
|
|
480
|
-
readAllLabel: string;
|
|
479
|
+
unreadLabel: string;
|
|
481
480
|
readLabel: string;
|
|
482
|
-
ungroupedLabel: string;
|
|
483
481
|
unreadActionLabel: string;
|
|
484
|
-
|
|
482
|
+
readAllLabel: string;
|
|
483
|
+
dismissLabel: string;
|
|
484
|
+
ungroupedLabel: string;
|
|
485
485
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
486
486
|
//# sourceMappingURL=advanced-collections.d.ts.map
|
|
@@ -88,14 +88,14 @@ export declare function createAnimatedText(Text: Component): import("@vue/runtim
|
|
|
88
88
|
default: number;
|
|
89
89
|
};
|
|
90
90
|
}>> & Readonly<{}>, {
|
|
91
|
+
stagger: number;
|
|
92
|
+
duration: number;
|
|
93
|
+
variant: "display" | "title" | "heading" | "body" | "caption" | "overline";
|
|
91
94
|
tone: keyof import("../index.js").Palette;
|
|
92
95
|
animated: boolean;
|
|
93
|
-
appear: boolean;
|
|
94
96
|
by: "letter" | "word";
|
|
95
97
|
distance: number;
|
|
96
|
-
|
|
98
|
+
appear: boolean;
|
|
97
99
|
replayKey: string | number;
|
|
98
|
-
stagger: number;
|
|
99
|
-
variant: "display" | "title" | "heading" | "body" | "caption" | "overline";
|
|
100
100
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
101
101
|
//# sourceMappingURL=animated-text.d.ts.map
|
package/dist/vue/chart.d.ts
CHANGED
|
@@ -181,14 +181,14 @@ export declare function createChart(ui: {
|
|
|
181
181
|
disabled: boolean;
|
|
182
182
|
modelValue: ChartSelection | null;
|
|
183
183
|
height: number;
|
|
184
|
-
emptyLabel: string;
|
|
185
|
-
categoryLabel: string;
|
|
186
184
|
clearLabel: string;
|
|
187
|
-
|
|
188
|
-
hideDataLabel: string;
|
|
185
|
+
emptyLabel: string;
|
|
189
186
|
missingLabel: string;
|
|
190
|
-
|
|
187
|
+
hiddenSeries: readonly ChoiceValue[];
|
|
191
188
|
showData: boolean;
|
|
192
189
|
showDataLabel: string;
|
|
190
|
+
hideDataLabel: string;
|
|
191
|
+
categoryLabel: string;
|
|
192
|
+
seriesLabel: string;
|
|
193
193
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
194
194
|
//# sourceMappingURL=chart.d.ts.map
|
|
@@ -115,15 +115,15 @@ export declare function createCommandPalette(ui: {
|
|
|
115
115
|
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
116
116
|
}>, {
|
|
117
117
|
disabled: boolean;
|
|
118
|
-
closeLabel: string;
|
|
119
118
|
loading: boolean;
|
|
120
|
-
shortcut: boolean;
|
|
121
|
-
emptyLabel: string;
|
|
122
119
|
placeholder: string;
|
|
123
120
|
query: string;
|
|
124
121
|
loadingLabel: string;
|
|
122
|
+
searchLabel: string;
|
|
123
|
+
emptyLabel: string;
|
|
125
124
|
open: boolean;
|
|
125
|
+
closeLabel: string;
|
|
126
|
+
shortcut: boolean;
|
|
126
127
|
returnFocus: import("../sheet.js").SheetReturnFocus;
|
|
127
|
-
searchLabel: string;
|
|
128
128
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
129
129
|
//# sourceMappingURL=command-palette.d.ts.map
|
|
@@ -853,6 +853,11 @@ export declare const componentProps: {
|
|
|
853
853
|
type: StringConstructor;
|
|
854
854
|
default: string;
|
|
855
855
|
};
|
|
856
|
+
itemKeys: {
|
|
857
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
858
|
+
default: () => never[];
|
|
859
|
+
};
|
|
860
|
+
sourceKey: (NumberConstructor | StringConstructor)[];
|
|
856
861
|
};
|
|
857
862
|
MRefreshControl: {
|
|
858
863
|
id: StringConstructor;
|
|
@@ -897,6 +902,71 @@ export declare const componentProps: {
|
|
|
897
902
|
type: StringConstructor;
|
|
898
903
|
default: string;
|
|
899
904
|
};
|
|
905
|
+
itemKeys: {
|
|
906
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
907
|
+
default: () => never[];
|
|
908
|
+
};
|
|
909
|
+
sourceKey: (NumberConstructor | StringConstructor)[];
|
|
910
|
+
};
|
|
911
|
+
MAvatarGroup: {
|
|
912
|
+
id: StringConstructor;
|
|
913
|
+
members: {
|
|
914
|
+
type: import("@vue/runtime-core").PropType<readonly import("../avatar.js").AvatarMember[]>;
|
|
915
|
+
required: true;
|
|
916
|
+
};
|
|
917
|
+
maxVisible: {
|
|
918
|
+
type: NumberConstructor;
|
|
919
|
+
default: number;
|
|
920
|
+
};
|
|
921
|
+
size: {
|
|
922
|
+
type: import("@vue/runtime-core").PropType<"sm" | "md" | "lg" | "xl">;
|
|
923
|
+
default: "sm" | "md" | "lg" | "xl";
|
|
924
|
+
validator: (value: "sm" | "md" | "lg" | "xl") => boolean;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
MSearchBar: {
|
|
928
|
+
modelValue: {
|
|
929
|
+
type: StringConstructor;
|
|
930
|
+
default: string;
|
|
931
|
+
};
|
|
932
|
+
clearLabel: {
|
|
933
|
+
type: StringConstructor;
|
|
934
|
+
default: string;
|
|
935
|
+
};
|
|
936
|
+
cancelLabel: {
|
|
937
|
+
type: StringConstructor;
|
|
938
|
+
default: string;
|
|
939
|
+
};
|
|
940
|
+
showCancel: BooleanConstructor;
|
|
941
|
+
id: StringConstructor;
|
|
942
|
+
label: {
|
|
943
|
+
type: StringConstructor;
|
|
944
|
+
required: true;
|
|
945
|
+
};
|
|
946
|
+
placeholder: StringConstructor;
|
|
947
|
+
disabled: BooleanConstructor;
|
|
948
|
+
};
|
|
949
|
+
MTagInput: {
|
|
950
|
+
modelValue: {
|
|
951
|
+
type: import("@vue/runtime-core").PropType<readonly string[]>;
|
|
952
|
+
default: () => never[];
|
|
953
|
+
};
|
|
954
|
+
addLabel: {
|
|
955
|
+
type: StringConstructor;
|
|
956
|
+
default: string;
|
|
957
|
+
};
|
|
958
|
+
removeLabel: {
|
|
959
|
+
type: StringConstructor;
|
|
960
|
+
default: string;
|
|
961
|
+
};
|
|
962
|
+
maxTags: NumberConstructor;
|
|
963
|
+
id: StringConstructor;
|
|
964
|
+
label: {
|
|
965
|
+
type: StringConstructor;
|
|
966
|
+
required: true;
|
|
967
|
+
};
|
|
968
|
+
placeholder: StringConstructor;
|
|
969
|
+
disabled: BooleanConstructor;
|
|
900
970
|
};
|
|
901
971
|
MComposer: {
|
|
902
972
|
id: StringConstructor;
|
|
@@ -2812,9 +2882,9 @@ export declare const componentProps: {
|
|
|
2812
2882
|
default: undefined;
|
|
2813
2883
|
};
|
|
2814
2884
|
align: {
|
|
2815
|
-
type: import("@vue/runtime-core").PropType<"
|
|
2885
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "stretch">;
|
|
2816
2886
|
} & {
|
|
2817
|
-
default: "
|
|
2887
|
+
default: "start" | "center" | "end" | "stretch";
|
|
2818
2888
|
};
|
|
2819
2889
|
gap: {
|
|
2820
2890
|
type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
|
|
@@ -2822,9 +2892,9 @@ export declare const componentProps: {
|
|
|
2822
2892
|
default: undefined;
|
|
2823
2893
|
};
|
|
2824
2894
|
justify: {
|
|
2825
|
-
type: import("@vue/runtime-core").PropType<"
|
|
2895
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
2826
2896
|
} & {
|
|
2827
|
-
default: "
|
|
2897
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
2828
2898
|
};
|
|
2829
2899
|
wrap: {
|
|
2830
2900
|
type: import("@vue/runtime-core").PropType<boolean>;
|
|
@@ -2897,9 +2967,9 @@ export declare const componentProps: {
|
|
|
2897
2967
|
default: undefined;
|
|
2898
2968
|
};
|
|
2899
2969
|
align: {
|
|
2900
|
-
type: import("@vue/runtime-core").PropType<"
|
|
2970
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "stretch">;
|
|
2901
2971
|
} & {
|
|
2902
|
-
default: "
|
|
2972
|
+
default: "start" | "center" | "end" | "stretch";
|
|
2903
2973
|
};
|
|
2904
2974
|
gap: {
|
|
2905
2975
|
type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
|
|
@@ -2907,9 +2977,9 @@ export declare const componentProps: {
|
|
|
2907
2977
|
default: undefined;
|
|
2908
2978
|
};
|
|
2909
2979
|
justify: {
|
|
2910
|
-
type: import("@vue/runtime-core").PropType<"
|
|
2980
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
2911
2981
|
} & {
|
|
2912
|
-
default: "
|
|
2982
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
2913
2983
|
};
|
|
2914
2984
|
wrap: {
|
|
2915
2985
|
type: import("@vue/runtime-core").PropType<boolean>;
|
|
@@ -2991,9 +3061,9 @@ export declare const componentProps: {
|
|
|
2991
3061
|
default: undefined;
|
|
2992
3062
|
};
|
|
2993
3063
|
align: {
|
|
2994
|
-
type: import("@vue/runtime-core").PropType<"
|
|
3064
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "stretch">;
|
|
2995
3065
|
} & {
|
|
2996
|
-
default: "
|
|
3066
|
+
default: "start" | "center" | "end" | "stretch";
|
|
2997
3067
|
};
|
|
2998
3068
|
gap: {
|
|
2999
3069
|
type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
|
|
@@ -3001,9 +3071,9 @@ export declare const componentProps: {
|
|
|
3001
3071
|
default: undefined;
|
|
3002
3072
|
};
|
|
3003
3073
|
justify: {
|
|
3004
|
-
type: import("@vue/runtime-core").PropType<"
|
|
3074
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
3005
3075
|
} & {
|
|
3006
|
-
default: "
|
|
3076
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
3007
3077
|
};
|
|
3008
3078
|
wrap: {
|
|
3009
3079
|
type: import("@vue/runtime-core").PropType<boolean>;
|
|
@@ -3441,9 +3511,9 @@ export declare const componentProps: {
|
|
|
3441
3511
|
default: undefined;
|
|
3442
3512
|
};
|
|
3443
3513
|
type: {
|
|
3444
|
-
type: import("@vue/runtime-core").PropType<"button" | "
|
|
3514
|
+
type: import("@vue/runtime-core").PropType<"button" | "reset" | "submit">;
|
|
3445
3515
|
} & {
|
|
3446
|
-
default: "button" | "
|
|
3516
|
+
default: "button" | "reset" | "submit";
|
|
3447
3517
|
};
|
|
3448
3518
|
name: {
|
|
3449
3519
|
type: import("@vue/runtime-core").PropType<string>;
|
|
@@ -3686,9 +3756,9 @@ export declare const componentProps: {
|
|
|
3686
3756
|
default: undefined;
|
|
3687
3757
|
};
|
|
3688
3758
|
returnKey: {
|
|
3689
|
-
type: import("@vue/runtime-core").PropType<"search" | "send" | "
|
|
3759
|
+
type: import("@vue/runtime-core").PropType<"search" | "send" | "done" | "next" | "go">;
|
|
3690
3760
|
} & {
|
|
3691
|
-
default: "search" | "send" | "
|
|
3761
|
+
default: "search" | "send" | "done" | "next" | "go";
|
|
3692
3762
|
};
|
|
3693
3763
|
trailingAction: {
|
|
3694
3764
|
type: import("@vue/runtime-core").PropType<import("../input.js").InputAction>;
|
|
@@ -4493,9 +4563,9 @@ export declare const componentProps: {
|
|
|
4493
4563
|
MReveal: {
|
|
4494
4564
|
show: BooleanConstructor;
|
|
4495
4565
|
align: {
|
|
4496
|
-
type: import("@vue/runtime-core").PropType<"
|
|
4566
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "stretch">;
|
|
4497
4567
|
} & {
|
|
4498
|
-
default: "
|
|
4568
|
+
default: "start" | "center" | "end" | "stretch";
|
|
4499
4569
|
};
|
|
4500
4570
|
gap: {
|
|
4501
4571
|
type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
|
|
@@ -4503,9 +4573,9 @@ export declare const componentProps: {
|
|
|
4503
4573
|
default: undefined;
|
|
4504
4574
|
};
|
|
4505
4575
|
justify: {
|
|
4506
|
-
type: import("@vue/runtime-core").PropType<"
|
|
4576
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
4507
4577
|
} & {
|
|
4508
|
-
default: "
|
|
4578
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
4509
4579
|
};
|
|
4510
4580
|
wrap: {
|
|
4511
4581
|
type: import("@vue/runtime-core").PropType<boolean>;
|
|
@@ -4610,9 +4680,9 @@ export declare const componentProps: {
|
|
|
4610
4680
|
default: undefined;
|
|
4611
4681
|
};
|
|
4612
4682
|
align: {
|
|
4613
|
-
type: import("@vue/runtime-core").PropType<"
|
|
4683
|
+
type: import("@vue/runtime-core").PropType<"start" | "center" | "end" | "stretch">;
|
|
4614
4684
|
} & {
|
|
4615
|
-
default: "
|
|
4685
|
+
default: "start" | "center" | "end" | "stretch";
|
|
4616
4686
|
};
|
|
4617
4687
|
};
|
|
4618
4688
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-props.d.ts","sourceRoot":"","sources":["../../src/vue/component-props.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component-props.d.ts","sourceRoot":"","sources":["../../src/vue/component-props.ts"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAO5C,qFAAqF;AACrF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqE1B,CAAA;AACD,MAAM,MAAM,cAAc,GAAG;KAC1B,IAAI,IAAI,MAAM,OAAO,cAAc,GAAG,sBAAsB,CAAC,CAAC,OAAO,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC,GAC1F,CAAC,IAAI,SAAS,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;CAChD,CAAA"}
|
|
@@ -7,6 +7,7 @@ import { commandPaletteProps, navigationRailProps, breadcrumbProps, tooltipProps
|
|
|
7
7
|
import { dataTableProps, carouselProps, rangeSliderProps, calendarProps, ratingProps, treeViewProps, } from './discovery-props.js';
|
|
8
8
|
import { popoverProps, menuProps, appBarProps, tabBarProps, timePickerProps, virtualListProps, } from './navigation-props.js';
|
|
9
9
|
import { numberInputProps, multiSelectProps, imageProps } from './configurator-props.js';
|
|
10
|
+
import { avatarGroupProps, tagInputProps, searchBarProps } from './editor-controls.js';
|
|
10
11
|
import { componentProps as foundationProps } from './props.js';
|
|
11
12
|
import { datePickerProps, dateRangePickerProps } from './date-props.js';
|
|
12
13
|
import { comboboxProps } from './combobox.js';
|
|
@@ -36,6 +37,9 @@ export const componentProps = {
|
|
|
36
37
|
MMarquee: marqueeProps,
|
|
37
38
|
MCollapsibleHeader: collapsibleHeaderProps,
|
|
38
39
|
MRefreshControl: refreshControlProps,
|
|
40
|
+
MAvatarGroup: avatarGroupProps,
|
|
41
|
+
MSearchBar: searchBarProps,
|
|
42
|
+
MTagInput: tagInputProps,
|
|
39
43
|
MComposer: composerProps,
|
|
40
44
|
MSpeedDial: speedDialProps,
|
|
41
45
|
MPinInput: pinInputProps,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-props.js","sourceRoot":"","sources":["../../src/vue/component-props.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,uBAAuB,GACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,WAAW,EACX,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,GACd,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,aAAa,EACb,iBAAiB,GAClB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,UAAU,GACX,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,aAAa,GACd,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"component-props.js","sourceRoot":"","sources":["../../src/vue/component-props.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,uBAAuB,GACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,WAAW,EACX,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,GACd,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,aAAa,EACb,iBAAiB,GAClB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,UAAU,GACX,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,aAAa,GACd,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,gBAAgB,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AAiB;IAEhC,aAAa,EAAE,iBAAiB;IAChC,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,gBAAgB,EAAE,oBAAoB;IACtC,aAAa,EAAE,iBAAiB;IAChC,YAAY,EAAE,gBAAgB;IAE9B,eAAe,EAAE,mBAAmB;IACpC,eAAe,EAAE,mBAAmB;IACpC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,SAAS,EAAE,aAAa;IACxB,MAAM,EAAE,UAAU;IAClB,UAAU,EAAE,cAAc;IAC1B,SAAS,EAAE,aAAa;IACxB,YAAY,EAAE,gBAAgB;IAC9B,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,aAAa;IACxB,YAAY,EAAE,gBAAgB;IAC9B,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE,UAAU;IAClB,WAAW,EAAE,eAAe;IAC5B,gBAAgB,EAAE,oBAAoB;IACtC,SAAS,EAAE,aAAa;IACxB,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,cAAc;IAC1B,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,UAAU;IAClB,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,WAAW,EAAE,eAAe;IAC5B,YAAY,EAAE,gBAAgB;CAC/B,CAAA"}
|
package/dist/vue/composer.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { type Component } from '@vue/runtime-core';
|
|
1
|
+
import { type InjectionKey, type Component } from '@vue/runtime-core';
|
|
2
2
|
import type { ComposerMessage } from '../screen-components.js';
|
|
3
|
+
/** Whether the enclosing layout already fits the software keyboard. */
|
|
4
|
+
export declare const keyboardViewportOwner: InjectionKey<() => boolean>;
|
|
3
5
|
export declare function createComposer(ui: {
|
|
4
6
|
Box: Component;
|
|
5
7
|
Card: Component;
|
|
@@ -134,26 +136,26 @@ export declare function createComposer(ui: {
|
|
|
134
136
|
};
|
|
135
137
|
}>> & Readonly<{
|
|
136
138
|
onFocus?: (() => any) | undefined;
|
|
137
|
-
"onUpdate:modelValue"?: ((_v: string) => any) | undefined;
|
|
138
139
|
onBlur?: (() => any) | undefined;
|
|
139
140
|
onAttach?: (() => any) | undefined;
|
|
140
141
|
onSubmit?: ((_message: ComposerMessage) => any) | undefined;
|
|
142
|
+
"onUpdate:modelValue"?: ((_v: string) => any) | undefined;
|
|
141
143
|
"onUpdate:attachments"?: ((_v: unknown[]) => any) | undefined;
|
|
142
144
|
}>, {
|
|
143
145
|
disabled: boolean;
|
|
146
|
+
followKeyboard: boolean;
|
|
144
147
|
modelValue: string;
|
|
145
148
|
loading: boolean;
|
|
146
|
-
shortcut: boolean;
|
|
147
149
|
readonly: boolean;
|
|
150
|
+
rows: number;
|
|
151
|
+
maxLength: number;
|
|
148
152
|
removeLabel: string;
|
|
149
|
-
|
|
150
|
-
attachable: boolean;
|
|
153
|
+
shortcut: boolean;
|
|
151
154
|
attachments: readonly import("../screen-components.js").ComposerAttachment[];
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
maxLength: number;
|
|
155
|
-
rows: number;
|
|
155
|
+
attachable: boolean;
|
|
156
|
+
attachLabel: string;
|
|
156
157
|
sendLabel: string;
|
|
157
158
|
sendingLabel: string;
|
|
159
|
+
keyboardOffset: number;
|
|
158
160
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
159
161
|
//# sourceMappingURL=composer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../src/vue/composer.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../src/vue/composer.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAMjB,KAAK,SAAS,EACf,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAM9D,uEAAuE;AACvE,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,MAAM,OAAO,CAAqC,CAAA;AAEnG,wBAAgB,cAAc,CAC5B,EAAE,EAAE;IACF,GAAG,EAAE,SAAS,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,GAAG,EAAE,SAAS,CAAA;IACd,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE,SAAS,CAAA;IAChB,MAAM,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,SAAS,CAAA;IACf,IAAI,EAAE,SAAS,CAAA;CAChB,EACD,QAAQ,EAAE,KAAK,GAAG,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAOI,MAAM;+BACL,OAAO,EAAE;uBACjB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FA0JvC"}
|
package/dist/vue/composer.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { computed, defineComponent, h, markRaw, mergeProps, onScopeDispose, ref, watch, } from '@vue/runtime-core';
|
|
1
|
+
import { computed, defineComponent, h, inject, markRaw, mergeProps, onScopeDispose, ref, watch, } from '@vue/runtime-core';
|
|
2
2
|
import { createMotionSurface } from '../experimental.js';
|
|
3
3
|
import { composerProps } from './screen-component-props.js';
|
|
4
4
|
import { useComponentLayout } from './component-motion.js';
|
|
5
|
+
import { useCachedActivity } from './cached-activity.js';
|
|
6
|
+
/** Whether the enclosing layout already fits the software keyboard. */
|
|
7
|
+
export const keyboardViewportOwner = Symbol('mavis-keyboard-viewport');
|
|
5
8
|
export function createComposer(ui, platform) {
|
|
6
9
|
return defineComponent({
|
|
7
10
|
name: 'MComposer',
|
|
@@ -21,21 +24,14 @@ export function createComposer(ui, platform) {
|
|
|
21
24
|
const layout = useComponentLayout(() => props.attachments.map((a) => a.id));
|
|
22
25
|
const blocked = computed(() => props.disabled || props.readonly || props.loading);
|
|
23
26
|
const canSend = computed(() => !blocked.value && Boolean(props.modelValue.trim() || props.attachments.length));
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
followKeyboard();
|
|
33
|
-
return () => {
|
|
34
|
-
follow?.dispose();
|
|
35
|
-
follow = undefined;
|
|
36
|
-
};
|
|
37
|
-
}));
|
|
38
|
-
watch(() => [props.followKeyboard, props.keyboardOffset], followKeyboard, { flush: 'post' });
|
|
27
|
+
const active = useCachedActivity();
|
|
28
|
+
const viewportOwned = inject(keyboardViewportOwner, () => false);
|
|
29
|
+
onScopeDispose(surface.use(() => watch(() => [props.followKeyboard, props.keyboardOffset, viewportOwned(), active.value], (_, __, cleanup) => {
|
|
30
|
+
if (props.followKeyboard && active.value && !viewportOwned()) {
|
|
31
|
+
const follow = surface.followKeyboard({ offset: props.keyboardOffset });
|
|
32
|
+
cleanup(() => follow.dispose());
|
|
33
|
+
}
|
|
34
|
+
}, { immediate: true, flush: 'post' })));
|
|
39
35
|
const submit = () => {
|
|
40
36
|
if (canSend.value)
|
|
41
37
|
emit('submit', {
|
package/dist/vue/composer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer.js","sourceRoot":"","sources":["../../src/vue/composer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,CAAC,EACD,OAAO,EACP,UAAU,EACV,cAAc,EACd,GAAG,EACH,KAAK,GAEN,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"composer.js","sourceRoot":"","sources":["../../src/vue/composer.ts"],"names":[],"mappings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;wCACrB,IAAI,EAAE,UAAU;wCAChB,IAAI,EAAE,IAAI;wCACV,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO;wCAC1C,OAAO,EAAE,KAAK,CAAC,OAAO;wCACtB,WAAW,EAAE,KAAK,CAAC,YAAY;wCAC/B,OAAO,EAAE,MAAM;qCAChB,CAAC;iCACH;6BACF,CACF;yBACF;qBACF,CACF;iBACJ,CACF,CAAA;YACH,CAAC,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -197,8 +197,8 @@ export declare function createConfiguratorControls(ui: Primitives, platform: 'we
|
|
|
197
197
|
};
|
|
198
198
|
}>> & Readonly<{
|
|
199
199
|
onFocus?: (() => any) | undefined;
|
|
200
|
-
"onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
|
|
201
200
|
onBlur?: (() => any) | undefined;
|
|
201
|
+
"onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
|
|
202
202
|
"onUpdate:draft"?: ((_value: string) => any) | undefined;
|
|
203
203
|
onValidityChange?: ((_value: NumberDraft) => any) | undefined;
|
|
204
204
|
}>, {
|
|
@@ -207,20 +207,20 @@ export declare function createConfiguratorControls(ui: Primitives, platform: 'we
|
|
|
207
207
|
disabled: boolean;
|
|
208
208
|
error: string;
|
|
209
209
|
id: string;
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
min: number;
|
|
211
|
+
max: number;
|
|
212
212
|
modelValue: number | null;
|
|
213
213
|
width: import("../layout.js").Dimension;
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
min: number;
|
|
217
|
-
readonly: boolean;
|
|
218
|
-
helperText: string;
|
|
214
|
+
grow: number;
|
|
215
|
+
accessibilityHidden: boolean;
|
|
219
216
|
placeholder: string;
|
|
220
|
-
|
|
217
|
+
helperText: string;
|
|
218
|
+
readonly: boolean;
|
|
219
|
+
locale: import("../number-input.js").NumberLocale;
|
|
221
220
|
step: number;
|
|
222
|
-
|
|
221
|
+
draft: string;
|
|
223
222
|
incrementLabel: string;
|
|
223
|
+
decrementLabel: string;
|
|
224
224
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any> & {
|
|
225
225
|
new (): InputHandle;
|
|
226
226
|
};
|
|
@@ -385,17 +385,17 @@ export declare function createConfiguratorControls(ui: Primitives, platform: 'we
|
|
|
385
385
|
disabled: boolean;
|
|
386
386
|
error: string;
|
|
387
387
|
id: string;
|
|
388
|
-
accessibilityHidden: boolean;
|
|
389
|
-
grow: number;
|
|
390
388
|
modelValue: readonly ChoiceValue[];
|
|
391
389
|
width: import("../layout.js").Dimension;
|
|
392
|
-
|
|
390
|
+
grow: number;
|
|
391
|
+
accessibilityHidden: boolean;
|
|
392
|
+
placeholder: string;
|
|
393
|
+
helperText: string;
|
|
393
394
|
readonly: boolean;
|
|
395
|
+
searchLabel: string;
|
|
394
396
|
emptyLabel: string;
|
|
395
|
-
|
|
397
|
+
closeLabel: string;
|
|
396
398
|
removeLabel: string;
|
|
397
|
-
placeholder: string;
|
|
398
|
-
searchLabel: string;
|
|
399
399
|
maxSelected: number;
|
|
400
400
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
401
401
|
};
|