@getcortexlabs/mavis-web 0.1.0-alpha.4 → 0.1.0-alpha.5
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 -3
- package/dist/components/DateCalendar.d.ts +95 -0
- package/dist/components/DateCalendar.d.ts.map +1 -0
- package/dist/components/DateCalendar.js +157 -0
- package/dist/components/DateCalendar.js.map +1 -0
- package/dist/components/MAccordion.d.ts +18 -8
- package/dist/components/MAccordion.d.ts.map +1 -1
- package/dist/components/MAlert.d.ts +21 -11
- package/dist/components/MAlert.d.ts.map +1 -1
- package/dist/components/MAvatar.d.ts +12 -6
- package/dist/components/MAvatar.d.ts.map +1 -1
- package/dist/components/MBadge.d.ts +12 -6
- package/dist/components/MBadge.d.ts.map +1 -1
- package/dist/components/MButton.d.ts +83 -41
- package/dist/components/MButton.d.ts.map +1 -1
- package/dist/components/MCard.d.ts +44 -16
- package/dist/components/MCard.d.ts.map +1 -1
- package/dist/components/MCheckbox.d.ts +19 -9
- package/dist/components/MCheckbox.d.ts.map +1 -1
- package/dist/components/MCheckbox.js +19 -0
- package/dist/components/MCheckbox.js.map +1 -1
- package/dist/components/MChip.d.ts +21 -11
- package/dist/components/MChip.d.ts.map +1 -1
- package/dist/components/MCombobox.d.ts +282 -0
- package/dist/components/MCombobox.d.ts.map +1 -0
- package/dist/components/MCombobox.js +440 -0
- package/dist/components/MCombobox.js.map +1 -0
- package/dist/components/MDatePicker.d.ts +1254 -0
- package/dist/components/MDatePicker.d.ts.map +1 -0
- package/dist/components/MDatePicker.js +22 -0
- package/dist/components/MDatePicker.js.map +1 -0
- package/dist/components/MDialog.d.ts +8 -6
- package/dist/components/MDialog.d.ts.map +1 -1
- package/dist/components/MEmptyState.d.ts +19 -9
- package/dist/components/MEmptyState.d.ts.map +1 -1
- package/dist/components/MFilePicker.d.ts +112 -0
- package/dist/components/MFilePicker.d.ts.map +1 -0
- package/dist/components/MFilePicker.js +193 -0
- package/dist/components/MFilePicker.js.map +1 -0
- package/dist/components/MIcon.d.ts +4 -2
- package/dist/components/MIcon.d.ts.map +1 -1
- package/dist/components/MInput.d.ts +135 -63
- package/dist/components/MInput.d.ts.map +1 -1
- package/dist/components/MInput.js +17 -1
- package/dist/components/MInput.js.map +1 -1
- package/dist/components/MListItem.d.ts +23 -11
- package/dist/components/MListItem.d.ts.map +1 -1
- package/dist/components/MProgress.d.ts +19 -9
- package/dist/components/MProgress.d.ts.map +1 -1
- package/dist/components/MRadioGroup.d.ts +18 -8
- package/dist/components/MRadioGroup.d.ts.map +1 -1
- package/dist/components/MRadioGroup.js +22 -0
- package/dist/components/MRadioGroup.js.map +1 -1
- package/dist/components/MReveal.d.ts +71 -35
- package/dist/components/MReveal.d.ts.map +1 -1
- package/dist/components/MScreen.d.ts +12 -6
- package/dist/components/MScreen.d.ts.map +1 -1
- package/dist/components/MSegmentedControl.d.ts +18 -8
- package/dist/components/MSegmentedControl.d.ts.map +1 -1
- package/dist/components/MSelect.d.ts +20 -10
- package/dist/components/MSelect.d.ts.map +1 -1
- package/dist/components/MSeparator.d.ts +4 -2
- package/dist/components/MSeparator.d.ts.map +1 -1
- package/dist/components/MSheet.d.ts +19 -13
- package/dist/components/MSheet.d.ts.map +1 -1
- package/dist/components/MSheet.js +1 -1
- package/dist/components/MSheet.js.map +1 -1
- package/dist/components/MSkeleton.d.ts +16 -8
- package/dist/components/MSkeleton.d.ts.map +1 -1
- package/dist/components/MSlider.d.ts +9 -5
- package/dist/components/MSlider.d.ts.map +1 -1
- package/dist/components/MSlider.js +12 -1
- package/dist/components/MSlider.js.map +1 -1
- package/dist/components/MSwitch.d.ts +18 -8
- package/dist/components/MSwitch.d.ts.map +1 -1
- package/dist/components/MTabs.d.ts +18 -8
- package/dist/components/MTabs.d.ts.map +1 -1
- package/dist/components/MText.d.ts +45 -29
- package/dist/components/MText.d.ts.map +1 -1
- package/dist/components/layout.d.ts +193 -84
- package/dist/components/layout.d.ts.map +1 -1
- package/dist/components/layout.js +5 -3
- package/dist/components/layout.js.map +1 -1
- package/dist/components/workflows.d.ts +251 -0
- package/dist/components/workflows.d.ts.map +1 -0
- package/dist/components/workflows.js +23 -0
- package/dist/components/workflows.js.map +1 -0
- package/dist/files.d.ts +6 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +82 -0
- package/dist/files.js.map +1 -0
- package/dist/hydration.d.ts +3 -0
- package/dist/hydration.d.ts.map +1 -0
- package/dist/hydration.js +20 -0
- package/dist/hydration.js.map +1 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/motion-context.d.ts +13 -0
- package/dist/motion-context.d.ts.map +1 -0
- package/dist/motion-context.js +33 -0
- package/dist/motion-context.js.map +1 -0
- package/dist/motion-region.d.ts +13 -0
- package/dist/motion-region.d.ts.map +1 -0
- package/dist/motion-region.js +134 -0
- package/dist/motion-region.js.map +1 -0
- package/dist/motion-surface.d.ts +6 -2
- package/dist/motion-surface.d.ts.map +1 -1
- package/dist/motion-surface.js +67 -11
- package/dist/motion-surface.js.map +1 -1
- package/dist/motion.d.ts +1 -1
- package/dist/motion.d.ts.map +1 -1
- package/dist/motion.js +46 -10
- package/dist/motion.js.map +1 -1
- package/dist/screen-viewport.d.ts.map +1 -1
- package/dist/screen-viewport.js +5 -0
- package/dist/screen-viewport.js.map +1 -1
- package/dist/sheet-motion.d.ts.map +1 -1
- package/dist/sheet-motion.js +96 -62
- package/dist/sheet-motion.js.map +1 -1
- package/package.json +3 -3
- package/src/components/DateCalendar.ts +213 -0
- package/src/components/MCheckbox.ts +22 -0
- package/src/components/MCombobox.ts +510 -0
- package/src/components/MDatePicker.ts +23 -0
- package/src/components/MFilePicker.ts +233 -0
- package/src/components/MInput.ts +21 -1
- package/src/components/MRadioGroup.ts +26 -0
- package/src/components/MSheet.ts +1 -1
- package/src/components/MSlider.ts +18 -1
- package/src/components/layout.ts +5 -2
- package/src/components/workflows.ts +27 -0
- package/src/files.ts +77 -0
- package/src/hydration.ts +21 -0
- package/src/index.ts +29 -1
- package/src/motion-context.ts +35 -0
- package/src/motion-region.ts +145 -0
- package/src/motion-surface.ts +76 -12
- package/src/motion.ts +52 -16
- package/src/screen-viewport.ts +4 -0
- package/src/sheet-motion.ts +86 -57
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Mavis for Vue Web
|
|
2
2
|
|
|
3
|
-
Vue Web components and themes for Mavis UI, version `0.1.0-alpha.
|
|
3
|
+
Vue Web components and themes for Mavis UI, version `0.1.0-alpha.5`. Experimental prerelease for testing in real apps; the API can change between alpha versions. Licensed under MIT.
|
|
4
4
|
|
|
5
5
|
In an existing Vue application:
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install @getcortexlabs/mavis-web@0.1.0-alpha.
|
|
8
|
+
npm install @getcortexlabs/mavis-web@0.1.0-alpha.5 @rafaelaugusto/jolt@0.1.0-rc.7
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```ts
|
|
@@ -19,8 +19,10 @@ createApp(App).use(createMavis()).mount('#app')
|
|
|
19
19
|
|
|
20
20
|
The stylesheet supplies focus indicators, box overlays, and motion. The plugin registers the layout, typography, form, selection, feedback and overlay components, including scoped themes and inline text. Vue also accepts their `m-*` spellings. See the [component reference](https://mavis-ui.getcortexlabs.com/components/) for the full catalog.
|
|
21
21
|
|
|
22
|
-
Themes and Vue context come from `@getcortexlabs/mavis-core`. Alpha.4 requires Jolt 0.1.0-rc.
|
|
22
|
+
Themes and Vue context come from `@getcortexlabs/mavis-core`. Alpha.4 requires Jolt 0.1.0-rc.7 as a peer for Button/Card/Reveal. Browser consumers do not install NativeScript; Mavis uses only Jolt /web and /web/vue. See the [motion guide](https://mavis-ui.getcortexlabs.com/guide/motion).
|
|
23
23
|
|
|
24
24
|
Use `MText.as` for HTML heading semantics. Buttons emit a payload-free `click` and retain native HTML keyboard activation. Sliders expose semantic values to accessibility APIs, including fractional steps. Theme state belongs to each app. The package is safe to import during server rendering.
|
|
25
25
|
|
|
26
26
|
Tested with Vue 3.5.42, Vite 6.4.5, TypeScript 6.0.3 and vue-tsc 3.3.13. See the [Web guide](https://mavis-ui.getcortexlabs.com/guide/web) for setup and portability limits, and the [release notes](https://github.com/getcortexlabs/mavis-ui/blob/main/CHANGELOG.md) for the alpha boundary.
|
|
27
|
+
|
|
28
|
+
Alpha.5 requires Jolt **0.1.0-rc.7** for experimental motion regions, child scopes, pointer input and shared identities. Rebuild native applications after upgrading.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type CivilDate } from '@getcortexlabs/mavis-core';
|
|
2
|
+
/** @internal Month grid with one Tab stop; unavailable days remain readable and cannot commit. */
|
|
3
|
+
export declare const DateCalendar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
activeDate: {
|
|
5
|
+
type: import("vue").PropType<CivilDate>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
selected: {
|
|
9
|
+
type: import("vue").PropType<CivilDate | null>;
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
rangeStart: {
|
|
13
|
+
type: import("vue").PropType<CivilDate | null>;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
rangeEnd: {
|
|
17
|
+
type: import("vue").PropType<CivilDate | null>;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
min: {
|
|
21
|
+
type: import("vue").PropType<CivilDate>;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
max: {
|
|
25
|
+
type: import("vue").PropType<CivilDate>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
unavailableDates: {
|
|
29
|
+
type: import("vue").PropType<readonly CivilDate[]>;
|
|
30
|
+
default: () => never[];
|
|
31
|
+
};
|
|
32
|
+
locale: {
|
|
33
|
+
type: import("vue").PropType<import("@getcortexlabs/mavis-core").DateLocale>;
|
|
34
|
+
default: "en-US";
|
|
35
|
+
};
|
|
36
|
+
firstDayOfWeek: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
+
select: (value: CivilDate) => boolean;
|
|
44
|
+
'update:activeDate': (value: CivilDate) => boolean;
|
|
45
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
activeDate: {
|
|
47
|
+
type: import("vue").PropType<CivilDate>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
selected: {
|
|
51
|
+
type: import("vue").PropType<CivilDate | null>;
|
|
52
|
+
default: null;
|
|
53
|
+
};
|
|
54
|
+
rangeStart: {
|
|
55
|
+
type: import("vue").PropType<CivilDate | null>;
|
|
56
|
+
default: null;
|
|
57
|
+
};
|
|
58
|
+
rangeEnd: {
|
|
59
|
+
type: import("vue").PropType<CivilDate | null>;
|
|
60
|
+
default: null;
|
|
61
|
+
};
|
|
62
|
+
min: {
|
|
63
|
+
type: import("vue").PropType<CivilDate>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
max: {
|
|
67
|
+
type: import("vue").PropType<CivilDate>;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
unavailableDates: {
|
|
71
|
+
type: import("vue").PropType<readonly CivilDate[]>;
|
|
72
|
+
default: () => never[];
|
|
73
|
+
};
|
|
74
|
+
locale: {
|
|
75
|
+
type: import("vue").PropType<import("@getcortexlabs/mavis-core").DateLocale>;
|
|
76
|
+
default: "en-US";
|
|
77
|
+
};
|
|
78
|
+
firstDayOfWeek: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
}>> & Readonly<{
|
|
83
|
+
onSelect?: ((value: `${number}-${number}-${number}`) => any) | undefined;
|
|
84
|
+
"onUpdate:activeDate"?: ((value: `${number}-${number}-${number}`) => any) | undefined;
|
|
85
|
+
}>, {
|
|
86
|
+
selected: `${number}-${number}-${number}` | null;
|
|
87
|
+
rangeStart: `${number}-${number}-${number}` | null;
|
|
88
|
+
rangeEnd: `${number}-${number}-${number}` | null;
|
|
89
|
+
min: `${number}-${number}-${number}`;
|
|
90
|
+
max: `${number}-${number}-${number}`;
|
|
91
|
+
unavailableDates: readonly `${number}-${number}-${number}`[];
|
|
92
|
+
locale: import("@getcortexlabs/mavis-core").DateLocale;
|
|
93
|
+
firstDayOfWeek: number;
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
//# sourceMappingURL=DateCalendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateCalendar.d.ts","sourceRoot":"","sources":["../../src/components/DateCalendar.ts"],"names":[],"mappings":"AACA,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAUxF,kGAAkG;AAClG,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAwMvB,CAAA"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { defineComponent, h, nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue';
|
|
2
|
+
import { calendarDayLabel, fontFamily } from '@getcortexlabs/mavis-core';
|
|
3
|
+
import { dateCalendarProps, dateCalendarEmits, useDateCalendar, useMavisTheme, } from '@getcortexlabs/mavis-core/vue';
|
|
4
|
+
import { MButton } from './MButton.js';
|
|
5
|
+
import { MRow, MColumn } from './layout.js';
|
|
6
|
+
/** @internal Month grid with one Tab stop; unavailable days remain readable and cannot commit. */
|
|
7
|
+
export const DateCalendar = defineComponent({
|
|
8
|
+
name: 'DateCalendar',
|
|
9
|
+
props: dateCalendarProps,
|
|
10
|
+
emits: dateCalendarEmits,
|
|
11
|
+
setup(props, { emit }) {
|
|
12
|
+
const { theme } = useMavisTheme();
|
|
13
|
+
const calendar = useDateCalendar(props, (value) => emit('update:activeDate', value));
|
|
14
|
+
const root = ref();
|
|
15
|
+
const days = new Map();
|
|
16
|
+
let alive = true;
|
|
17
|
+
function focusDay() {
|
|
18
|
+
void nextTick(() => {
|
|
19
|
+
if (alive)
|
|
20
|
+
days.get(props.activeDate)?.focus({ preventScroll: true });
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
onMounted(focusDay);
|
|
24
|
+
onBeforeUnmount(() => {
|
|
25
|
+
alive = false;
|
|
26
|
+
days.clear();
|
|
27
|
+
});
|
|
28
|
+
watch(() => props.activeDate, () => {
|
|
29
|
+
// Header navigation keeps focus on its button. Grid movement keeps focus in the grid.
|
|
30
|
+
if (root.value?.querySelector('table')?.contains(document.activeElement))
|
|
31
|
+
focusDay();
|
|
32
|
+
});
|
|
33
|
+
return () => {
|
|
34
|
+
const { colors, typography, radius } = theme.value;
|
|
35
|
+
const cells = calendar.cells.value;
|
|
36
|
+
const weeks = Array.from({ length: cells.length / 7 }, (_, index) => cells.slice(index * 7, index * 7 + 7));
|
|
37
|
+
return h(MColumn, { gap: 'sm' }, {
|
|
38
|
+
default: () => [
|
|
39
|
+
h(MRow, { justify: 'between', gap: 'sm', wrap: true }, {
|
|
40
|
+
default: () => [
|
|
41
|
+
h(MButton, {
|
|
42
|
+
icon: 'chevron-left',
|
|
43
|
+
variant: 'ghost',
|
|
44
|
+
accessibilityLabel: calendar.words.value.previous,
|
|
45
|
+
disabled: !calendar.canPage(-1),
|
|
46
|
+
onClick: () => calendar.page(-1),
|
|
47
|
+
}),
|
|
48
|
+
h('h3', {
|
|
49
|
+
'aria-live': 'polite',
|
|
50
|
+
style: {
|
|
51
|
+
margin: 0,
|
|
52
|
+
color: colors.text,
|
|
53
|
+
fontSize: `${typography.body.fontSize}px`,
|
|
54
|
+
lineHeight: 1.5,
|
|
55
|
+
},
|
|
56
|
+
}, calendar.title.value),
|
|
57
|
+
h(MButton, {
|
|
58
|
+
icon: 'chevron-right',
|
|
59
|
+
variant: 'ghost',
|
|
60
|
+
accessibilityLabel: calendar.words.value.next,
|
|
61
|
+
disabled: !calendar.canPage(1),
|
|
62
|
+
onClick: () => calendar.page(1),
|
|
63
|
+
}),
|
|
64
|
+
],
|
|
65
|
+
}),
|
|
66
|
+
h('div', {
|
|
67
|
+
ref: root,
|
|
68
|
+
class: 'm-date-calendar',
|
|
69
|
+
style: { overflowX: 'auto', maxWidth: '100%' },
|
|
70
|
+
}, [
|
|
71
|
+
h('table', {
|
|
72
|
+
role: 'grid',
|
|
73
|
+
'aria-label': calendar.title.value,
|
|
74
|
+
style: {
|
|
75
|
+
borderCollapse: 'separate',
|
|
76
|
+
borderSpacing: 0,
|
|
77
|
+
tableLayout: 'fixed',
|
|
78
|
+
width: '100%',
|
|
79
|
+
minWidth: '21em',
|
|
80
|
+
fontFamily: fontFamily(typography.body.fontFamily, 'web'),
|
|
81
|
+
fontSize: `${typography.body.fontSize}px`,
|
|
82
|
+
},
|
|
83
|
+
onKeydown: (event) => {
|
|
84
|
+
if (event.altKey || event.ctrlKey || event.metaKey || event.isComposing)
|
|
85
|
+
return;
|
|
86
|
+
if (calendar.key(event.key, event.shiftKey, getComputedStyle(root.value).direction === 'rtl')) {
|
|
87
|
+
event.preventDefault();
|
|
88
|
+
focusDay();
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
}, [
|
|
92
|
+
h('thead', [
|
|
93
|
+
h('tr', calendar.weekdays.value.map((weekday) => h('th', {
|
|
94
|
+
scope: 'col',
|
|
95
|
+
abbr: calendar.words.value.weekdays[weekday],
|
|
96
|
+
style: { padding: '8px 0', color: colors.muted, fontWeight: 500 },
|
|
97
|
+
}, calendar.words.value.shortWeekdays[weekday]))),
|
|
98
|
+
]),
|
|
99
|
+
h('tbody', weeks.map((week, index) => h('tr', { key: index }, week.map((date, column) => {
|
|
100
|
+
if (!date)
|
|
101
|
+
return h('td', { key: column });
|
|
102
|
+
const selected = date === props.selected;
|
|
103
|
+
const available = calendar.available(date);
|
|
104
|
+
const active = date === props.activeDate;
|
|
105
|
+
return h('td', { key: date, 'aria-selected': selected, style: { padding: '2px' } }, [
|
|
106
|
+
h('button', {
|
|
107
|
+
ref: (element) => {
|
|
108
|
+
if (element)
|
|
109
|
+
days.set(date, element);
|
|
110
|
+
else
|
|
111
|
+
days.delete(date);
|
|
112
|
+
},
|
|
113
|
+
type: 'button',
|
|
114
|
+
tabindex: active ? 0 : -1,
|
|
115
|
+
class: 'm-date-day',
|
|
116
|
+
'aria-label': calendarDayLabel(date, props.locale),
|
|
117
|
+
'aria-disabled': !available || undefined,
|
|
118
|
+
'data-date': date,
|
|
119
|
+
'data-selected': selected,
|
|
120
|
+
style: {
|
|
121
|
+
display: 'block',
|
|
122
|
+
boxSizing: 'border-box',
|
|
123
|
+
width: '100%',
|
|
124
|
+
minHeight: '44px',
|
|
125
|
+
padding: '8px 2px',
|
|
126
|
+
border: `2px solid ${selected ? colors.primary : 'transparent'}`,
|
|
127
|
+
borderRadius: `${radius.sm}px`,
|
|
128
|
+
backgroundColor: selected || calendar.inRange(date)
|
|
129
|
+
? colors.primarySoft
|
|
130
|
+
: 'transparent',
|
|
131
|
+
color: available ? colors.text : colors.muted,
|
|
132
|
+
opacity: available ? 1 : 0.55,
|
|
133
|
+
font: 'inherit',
|
|
134
|
+
fontWeight: selected ? 700 : 400,
|
|
135
|
+
cursor: available ? 'pointer' : 'default',
|
|
136
|
+
outlineColor: colors.primary,
|
|
137
|
+
outlineOffset: '-2px',
|
|
138
|
+
},
|
|
139
|
+
onFocus: () => {
|
|
140
|
+
if (props.activeDate !== date)
|
|
141
|
+
emit('update:activeDate', date);
|
|
142
|
+
},
|
|
143
|
+
onClick: () => {
|
|
144
|
+
if (calendar.available(date))
|
|
145
|
+
emit('select', date);
|
|
146
|
+
},
|
|
147
|
+
}, String(Number(date.slice(8)))),
|
|
148
|
+
]);
|
|
149
|
+
})))),
|
|
150
|
+
]),
|
|
151
|
+
]),
|
|
152
|
+
],
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
});
|
|
157
|
+
//# sourceMappingURL=DateCalendar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateCalendar.js","sourceRoot":"","sources":["../../src/components/DateCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAC1F,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAkB,MAAM,2BAA2B,CAAA;AACxF,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,aAAa,GACd,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE3C,kGAAkG;AAClG,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC;IAC1C,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,iBAAiB;IACxB,KAAK,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE;QACnB,MAAM,EAAE,KAAK,EAAE,GAAG,aAAa,EAAE,CAAA;QACjC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,CAAA;QACpF,MAAM,IAAI,GAAG,GAAG,EAAe,CAAA;QAC/B,MAAM,IAAI,GAAG,IAAI,GAAG,EAAgC,CAA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ACF,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { type AccordionItem, type AccordionPanelProps } from '@getcortexlabs/mav
|
|
|
3
3
|
export declare const MAccordion: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
width: {
|
|
5
5
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
6
|
+
} & {
|
|
6
7
|
default: undefined;
|
|
7
8
|
};
|
|
8
9
|
items: {
|
|
@@ -28,19 +29,23 @@ export declare const MAccordion: import("vue").DefineComponent<import("vue").Ext
|
|
|
28
29
|
default: string;
|
|
29
30
|
};
|
|
30
31
|
grow: {
|
|
31
|
-
type:
|
|
32
|
+
type: import("vue").PropType<number>;
|
|
33
|
+
} & {
|
|
32
34
|
default: number;
|
|
33
35
|
};
|
|
34
36
|
shrink: {
|
|
35
|
-
type:
|
|
37
|
+
type: import("vue").PropType<number>;
|
|
38
|
+
} & {
|
|
36
39
|
default: undefined;
|
|
37
40
|
};
|
|
38
41
|
id: {
|
|
39
|
-
type:
|
|
42
|
+
type: import("vue").PropType<string>;
|
|
43
|
+
} & {
|
|
40
44
|
default: undefined;
|
|
41
45
|
};
|
|
42
46
|
accessibilityHidden: {
|
|
43
|
-
type:
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
48
|
+
} & {
|
|
44
49
|
default: undefined;
|
|
45
50
|
};
|
|
46
51
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -50,6 +55,7 @@ export declare const MAccordion: import("vue").DefineComponent<import("vue").Ext
|
|
|
50
55
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
56
|
width: {
|
|
52
57
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
58
|
+
} & {
|
|
53
59
|
default: undefined;
|
|
54
60
|
};
|
|
55
61
|
items: {
|
|
@@ -75,19 +81,23 @@ export declare const MAccordion: import("vue").DefineComponent<import("vue").Ext
|
|
|
75
81
|
default: string;
|
|
76
82
|
};
|
|
77
83
|
grow: {
|
|
78
|
-
type:
|
|
84
|
+
type: import("vue").PropType<number>;
|
|
85
|
+
} & {
|
|
79
86
|
default: number;
|
|
80
87
|
};
|
|
81
88
|
shrink: {
|
|
82
|
-
type:
|
|
89
|
+
type: import("vue").PropType<number>;
|
|
90
|
+
} & {
|
|
83
91
|
default: undefined;
|
|
84
92
|
};
|
|
85
93
|
id: {
|
|
86
|
-
type:
|
|
94
|
+
type: import("vue").PropType<string>;
|
|
95
|
+
} & {
|
|
87
96
|
default: undefined;
|
|
88
97
|
};
|
|
89
98
|
accessibilityHidden: {
|
|
90
|
-
type:
|
|
99
|
+
type: import("vue").PropType<boolean>;
|
|
100
|
+
} & {
|
|
91
101
|
default: undefined;
|
|
92
102
|
};
|
|
93
103
|
}>> & Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MAccordion.d.ts","sourceRoot":"","sources":["../../src/components/MAccordion.ts"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,KAAK,CAAA;AAOZ,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAA;AAMlC,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"MAccordion.d.ts","sourceRoot":"","sources":["../../src/components/MAccordion.ts"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,KAAK,CAAA;AAOZ,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAA;AAMlC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAKiB,mBAAmB;yEAmMzD,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const MAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
width: {
|
|
3
3
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
4
|
+
} & {
|
|
4
5
|
default: undefined;
|
|
5
6
|
};
|
|
6
7
|
title: {
|
|
@@ -23,19 +24,23 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
|
|
|
23
24
|
};
|
|
24
25
|
announce: BooleanConstructor;
|
|
25
26
|
grow: {
|
|
26
|
-
type:
|
|
27
|
+
type: import("vue").PropType<number>;
|
|
28
|
+
} & {
|
|
27
29
|
default: number;
|
|
28
30
|
};
|
|
29
31
|
shrink: {
|
|
30
|
-
type:
|
|
32
|
+
type: import("vue").PropType<number>;
|
|
33
|
+
} & {
|
|
31
34
|
default: undefined;
|
|
32
35
|
};
|
|
33
36
|
id: {
|
|
34
|
-
type:
|
|
37
|
+
type: import("vue").PropType<string>;
|
|
38
|
+
} & {
|
|
35
39
|
default: undefined;
|
|
36
40
|
};
|
|
37
41
|
accessibilityHidden: {
|
|
38
|
-
type:
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
} & {
|
|
39
44
|
default: undefined;
|
|
40
45
|
};
|
|
41
46
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -45,6 +50,7 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
|
|
|
45
50
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
51
|
width: {
|
|
47
52
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
53
|
+
} & {
|
|
48
54
|
default: undefined;
|
|
49
55
|
};
|
|
50
56
|
title: {
|
|
@@ -67,19 +73,23 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
|
|
|
67
73
|
};
|
|
68
74
|
announce: BooleanConstructor;
|
|
69
75
|
grow: {
|
|
70
|
-
type:
|
|
76
|
+
type: import("vue").PropType<number>;
|
|
77
|
+
} & {
|
|
71
78
|
default: number;
|
|
72
79
|
};
|
|
73
80
|
shrink: {
|
|
74
|
-
type:
|
|
81
|
+
type: import("vue").PropType<number>;
|
|
82
|
+
} & {
|
|
75
83
|
default: undefined;
|
|
76
84
|
};
|
|
77
85
|
id: {
|
|
78
|
-
type:
|
|
86
|
+
type: import("vue").PropType<string>;
|
|
87
|
+
} & {
|
|
79
88
|
default: undefined;
|
|
80
89
|
};
|
|
81
90
|
accessibilityHidden: {
|
|
82
|
-
type:
|
|
91
|
+
type: import("vue").PropType<boolean>;
|
|
92
|
+
} & {
|
|
83
93
|
default: undefined;
|
|
84
94
|
};
|
|
85
95
|
}>> & Readonly<{
|
|
@@ -90,10 +100,10 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
|
|
|
90
100
|
shrink: number;
|
|
91
101
|
id: string;
|
|
92
102
|
accessibilityHidden: boolean;
|
|
93
|
-
tone: "error" | "
|
|
94
|
-
description: string;
|
|
95
|
-
closeLabel: string;
|
|
103
|
+
tone: "error" | "info" | "warning" | "success";
|
|
96
104
|
dismissible: boolean;
|
|
105
|
+
closeLabel: string;
|
|
106
|
+
description: string;
|
|
97
107
|
announce: boolean;
|
|
98
108
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
109
|
//# sourceMappingURL=MAlert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MAlert.d.ts","sourceRoot":"","sources":["../../src/components/MAlert.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"MAlert.d.ts","sourceRoot":"","sources":["../../src/components/MAlert.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoGjB,CAAA"}
|
|
@@ -18,15 +18,18 @@ export declare const MAvatar: import("vue").DefineComponent<import("vue").Extrac
|
|
|
18
18
|
validator: (value: "circle" | "square") => boolean;
|
|
19
19
|
};
|
|
20
20
|
id: {
|
|
21
|
-
type:
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
} & {
|
|
22
23
|
default: undefined;
|
|
23
24
|
};
|
|
24
25
|
accessibilityLabel: {
|
|
25
|
-
type:
|
|
26
|
+
type: import("vue").PropType<string>;
|
|
27
|
+
} & {
|
|
26
28
|
default: undefined;
|
|
27
29
|
};
|
|
28
30
|
accessibilityHidden: {
|
|
29
|
-
type:
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
} & {
|
|
30
33
|
default: undefined;
|
|
31
34
|
};
|
|
32
35
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -51,15 +54,18 @@ export declare const MAvatar: import("vue").DefineComponent<import("vue").Extrac
|
|
|
51
54
|
validator: (value: "circle" | "square") => boolean;
|
|
52
55
|
};
|
|
53
56
|
id: {
|
|
54
|
-
type:
|
|
57
|
+
type: import("vue").PropType<string>;
|
|
58
|
+
} & {
|
|
55
59
|
default: undefined;
|
|
56
60
|
};
|
|
57
61
|
accessibilityLabel: {
|
|
58
|
-
type:
|
|
62
|
+
type: import("vue").PropType<string>;
|
|
63
|
+
} & {
|
|
59
64
|
default: undefined;
|
|
60
65
|
};
|
|
61
66
|
accessibilityHidden: {
|
|
62
|
-
type:
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
} & {
|
|
63
69
|
default: undefined;
|
|
64
70
|
};
|
|
65
71
|
}>> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MAvatar.d.ts","sourceRoot":"","sources":["../../src/components/MAvatar.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"MAvatar.d.ts","sourceRoot":"","sources":["../../src/components/MAvatar.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAyFlB,CAAA"}
|
|
@@ -14,15 +14,18 @@ export declare const MBadge: import("vue").DefineComponent<import("vue").Extract
|
|
|
14
14
|
validator: (value: "success" | "warning" | "accent" | "danger" | "primary" | "neutral") => boolean;
|
|
15
15
|
};
|
|
16
16
|
id: {
|
|
17
|
-
type:
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
} & {
|
|
18
19
|
default: undefined;
|
|
19
20
|
};
|
|
20
21
|
accessibilityLabel: {
|
|
21
|
-
type:
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
} & {
|
|
22
24
|
default: undefined;
|
|
23
25
|
};
|
|
24
26
|
accessibilityHidden: {
|
|
25
|
-
type:
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
} & {
|
|
26
29
|
default: undefined;
|
|
27
30
|
};
|
|
28
31
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -43,15 +46,18 @@ export declare const MBadge: import("vue").DefineComponent<import("vue").Extract
|
|
|
43
46
|
validator: (value: "success" | "warning" | "accent" | "danger" | "primary" | "neutral") => boolean;
|
|
44
47
|
};
|
|
45
48
|
id: {
|
|
46
|
-
type:
|
|
49
|
+
type: import("vue").PropType<string>;
|
|
50
|
+
} & {
|
|
47
51
|
default: undefined;
|
|
48
52
|
};
|
|
49
53
|
accessibilityLabel: {
|
|
50
|
-
type:
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
} & {
|
|
51
56
|
default: undefined;
|
|
52
57
|
};
|
|
53
58
|
accessibilityHidden: {
|
|
54
|
-
type:
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
} & {
|
|
55
61
|
default: undefined;
|
|
56
62
|
};
|
|
57
63
|
}>> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MBadge.d.ts","sourceRoot":"","sources":["../../src/components/MBadge.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"MBadge.d.ts","sourceRoot":"","sources":["../../src/components/MBadge.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAiCjB,CAAA"}
|