@getcortexlabs/mavis 0.1.0-alpha.9 → 0.1.0-rc.12
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 +6 -6
- package/dist/native/motion-region.d.ts +1 -0
- package/dist/native/motion-region.d.ts.map +1 -1
- package/dist/native/motion-region.js +8 -1
- package/dist/native/motion-region.js.map +1 -1
- package/dist/native/motion-surface.d.ts +1 -1
- package/dist/native/motion-surface.d.ts.map +1 -1
- package/dist/native/motion-surface.js +17 -1
- package/dist/native/motion-surface.js.map +1 -1
- package/dist/native/number-flow-format.android.d.ts +3 -0
- package/dist/native/number-flow-format.android.d.ts.map +1 -0
- package/dist/native/number-flow-format.android.js +27 -0
- package/dist/native/number-flow-format.android.js.map +1 -0
- package/dist/native/number-flow-format.d.ts +4 -0
- package/dist/native/number-flow-format.d.ts.map +1 -0
- package/dist/native/number-flow-format.ios.d.ts +3 -0
- package/dist/native/number-flow-format.ios.d.ts.map +1 -0
- package/dist/native/number-flow-format.ios.js +24 -0
- package/dist/native/number-flow-format.ios.js.map +1 -0
- package/dist/native/number-flow-format.js +5 -0
- package/dist/native/number-flow-format.js.map +1 -0
- package/dist/native/section-scroll.d.ts +9 -0
- package/dist/native/section-scroll.d.ts.map +1 -0
- package/dist/native/section-scroll.js +69 -0
- package/dist/native/section-scroll.js.map +1 -0
- package/dist/native/segmented.d.ts.map +1 -1
- package/dist/native/segmented.js +4 -3
- package/dist/native/segmented.js.map +1 -1
- package/dist/vue/animated-number.d.ts +6 -0
- package/dist/vue/animated-number.d.ts.map +1 -0
- package/dist/vue/animated-number.js +52 -0
- package/dist/vue/animated-number.js.map +1 -0
- package/dist/vue/component-width.d.ts +7 -0
- package/dist/vue/component-width.d.ts.map +1 -0
- package/dist/vue/component-width.js +29 -0
- package/dist/vue/component-width.js.map +1 -0
- package/dist/vue/components/ChartPlot.d.ts +66 -0
- package/dist/vue/components/ChartPlot.d.ts.map +1 -0
- package/dist/vue/components/ChartPlot.js +236 -0
- package/dist/vue/components/ChartPlot.js.map +1 -0
- package/dist/vue/components/ChoiceControl.d.ts +3 -0
- package/dist/vue/components/ChoiceControl.d.ts.map +1 -1
- package/dist/vue/components/ChoiceControl.js +29 -22
- package/dist/vue/components/ChoiceControl.js.map +1 -1
- package/dist/vue/components/DateCalendar.d.ts +16 -1
- package/dist/vue/components/DateCalendar.d.ts.map +1 -1
- package/dist/vue/components/DateCalendar.js +45 -10
- package/dist/vue/components/DateCalendar.js.map +1 -1
- package/dist/vue/components/LoadingDecoration.d.ts +1 -1
- package/dist/vue/components/MAccordion.d.ts +1 -1
- package/dist/vue/components/MAlert.d.ts +3 -3
- package/dist/vue/components/MAlert.d.ts.map +1 -1
- package/dist/vue/components/MAlert.js +3 -0
- package/dist/vue/components/MAlert.js.map +1 -1
- package/dist/vue/components/MAvatar.d.ts +1 -1
- package/dist/vue/components/MAvatar.d.ts.map +1 -1
- package/dist/vue/components/MAvatar.js +5 -1
- package/dist/vue/components/MAvatar.js.map +1 -1
- package/dist/vue/components/MBadge.d.ts +1 -1
- package/dist/vue/components/MBadge.d.ts.map +1 -1
- package/dist/vue/components/MBadge.js +3 -1
- package/dist/vue/components/MBadge.js.map +1 -1
- package/dist/vue/components/MButton.d.ts +6 -6
- package/dist/vue/components/MCard.d.ts +3 -3
- package/dist/vue/components/MChip.d.ts +3 -3
- package/dist/vue/components/MCombobox.d.ts +4 -4
- package/dist/vue/components/MCombobox.d.ts.map +1 -1
- package/dist/vue/components/MCombobox.js +3 -1
- package/dist/vue/components/MCombobox.js.map +1 -1
- package/dist/vue/components/MDatePicker.d.ts +16 -16
- package/dist/vue/components/MDialog.d.ts +1 -1
- package/dist/vue/components/MEmptyState.d.ts +2 -2
- package/dist/vue/components/MEmptyState.d.ts.map +1 -1
- package/dist/vue/components/MEmptyState.js +3 -0
- package/dist/vue/components/MEmptyState.js.map +1 -1
- package/dist/vue/components/MFilePicker.d.ts +3 -3
- package/dist/vue/components/MFilePicker.d.ts.map +1 -1
- package/dist/vue/components/MFilePicker.js +3 -0
- package/dist/vue/components/MFilePicker.js.map +1 -1
- package/dist/vue/components/MGrid.d.ts +13 -2
- package/dist/vue/components/MGrid.d.ts.map +1 -1
- package/dist/vue/components/MGrid.js +5 -1
- package/dist/vue/components/MGrid.js.map +1 -1
- package/dist/vue/components/MIcon.d.ts +3 -3
- package/dist/vue/components/MImage.d.ts +2 -2
- package/dist/vue/components/MImage.d.ts.map +1 -1
- package/dist/vue/components/MImage.js +8 -1
- package/dist/vue/components/MImage.js.map +1 -1
- package/dist/vue/components/MImageCompare.d.ts +92 -0
- package/dist/vue/components/MImageCompare.d.ts.map +1 -0
- package/dist/vue/components/MImageCompare.js +138 -0
- package/dist/vue/components/MImageCompare.js.map +1 -0
- package/dist/vue/components/MImageViewer.d.ts +121 -0
- package/dist/vue/components/MImageViewer.d.ts.map +1 -0
- package/dist/vue/components/MImageViewer.js +444 -0
- package/dist/vue/components/MImageViewer.js.map +1 -0
- package/dist/vue/components/MInput.d.ts +4 -4
- package/dist/vue/components/MInput.d.ts.map +1 -1
- package/dist/vue/components/MInput.js +3 -0
- package/dist/vue/components/MInput.js.map +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 +106 -0
- package/dist/vue/components/MPopover.d.ts.map +1 -0
- package/dist/vue/components/MPopover.js +259 -0
- package/dist/vue/components/MPopover.js.map +1 -0
- package/dist/vue/components/MProgress.d.ts +3 -3
- package/dist/vue/components/MProgress.d.ts.map +1 -1
- package/dist/vue/components/MProgress.js +5 -2
- package/dist/vue/components/MProgress.js.map +1 -1
- package/dist/vue/components/MRangeSlider.d.ts +105 -0
- package/dist/vue/components/MRangeSlider.d.ts.map +1 -0
- package/dist/vue/components/MRangeSlider.js +134 -0
- package/dist/vue/components/MRangeSlider.js.map +1 -0
- package/dist/vue/components/MResizablePanels.d.ts +137 -0
- package/dist/vue/components/MResizablePanels.d.ts.map +1 -0
- package/dist/vue/components/MResizablePanels.js +148 -0
- package/dist/vue/components/MResizablePanels.js.map +1 -0
- package/dist/vue/components/MReveal.d.ts +11 -11
- package/dist/vue/components/MSelect.d.ts +1 -1
- package/dist/vue/components/MSheet.d.ts +6 -6
- package/dist/vue/components/MStack.d.ts +28 -17
- package/dist/vue/components/MStack.d.ts.map +1 -1
- package/dist/vue/components/MStack.js +6 -1
- package/dist/vue/components/MStack.js.map +1 -1
- package/dist/vue/components/MTabs.d.ts.map +1 -1
- package/dist/vue/components/MTabs.js +6 -5
- package/dist/vue/components/MTabs.js.map +1 -1
- package/dist/vue/components/MText.d.ts +4 -4
- package/dist/vue/components/MTimePicker.d.ts +655 -0
- package/dist/vue/components/MTimePicker.d.ts.map +1 -0
- package/dist/vue/components/MTimePicker.js +50 -0
- package/dist/vue/components/MTimePicker.js.map +1 -0
- package/dist/vue/components/MTooltip.d.ts +65 -0
- package/dist/vue/components/MTooltip.d.ts.map +1 -0
- package/dist/vue/components/MTooltip.js +35 -0
- package/dist/vue/components/MTooltip.js.map +1 -0
- package/dist/vue/components/MVirtualList.d.ts +3 -0
- package/dist/vue/components/MVirtualList.d.ts.map +1 -0
- package/dist/vue/components/MVirtualList.js +106 -0
- package/dist/vue/components/MVirtualList.js.map +1 -0
- package/dist/vue/components/MotionRows.d.ts +15 -0
- package/dist/vue/components/MotionRows.d.ts.map +1 -0
- package/dist/vue/components/MotionRows.js +12 -0
- package/dist/vue/components/MotionRows.js.map +1 -0
- package/dist/vue/components/configurator.d.ts +2 -2
- 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 +282 -0
- package/dist/vue/components/discovery.d.ts.map +1 -0
- package/dist/vue/components/discovery.js +65 -0
- package/dist/vue/components/discovery.js.map +1 -0
- package/dist/vue/components/interactive.d.ts +164 -0
- package/dist/vue/components/interactive.d.ts.map +1 -0
- package/dist/vue/components/interactive.js +33 -0
- package/dist/vue/components/interactive.js.map +1 -0
- package/dist/vue/components/layout.d.ts +47 -25
- package/dist/vue/components/layout.d.ts.map +1 -1
- package/dist/vue/components/layout.js +2 -1
- package/dist/vue/components/layout.js.map +1 -1
- package/dist/vue/components/navigation.d.ts +225 -0
- package/dist/vue/components/navigation.d.ts.map +1 -0
- package/dist/vue/components/navigation.js +16 -0
- package/dist/vue/components/navigation.js.map +1 -0
- 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 +441 -0
- package/dist/vue/components/wayfinding.d.ts.map +1 -0
- package/dist/vue/components/wayfinding.js +39 -0
- package/dist/vue/components/wayfinding.js.map +1 -0
- package/dist/vue/components/workflows.d.ts +2 -2
- package/dist/vue/index.d.ts +17 -4
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +60 -3
- package/dist/vue/index.js.map +1 -1
- package/dist/vue/router-navigation.d.ts +25 -0
- package/dist/vue/router-navigation.d.ts.map +1 -0
- package/dist/vue/router-navigation.js +15 -0
- package/dist/vue/router-navigation.js.map +1 -0
- package/dist/vue/services.d.ts.map +1 -1
- package/dist/vue/services.js +7 -2
- package/dist/vue/services.js.map +1 -1
- package/package.json +4 -4
- package/src/native/motion-region.ts +14 -1
- package/src/native/motion-surface.ts +24 -1
- package/src/native/number-flow-format.android.ts +61 -0
- package/src/native/number-flow-format.ios.ts +40 -0
- package/src/native/number-flow-format.ts +9 -0
- package/src/native/section-scroll.ts +81 -0
- package/src/native/segmented.ts +4 -3
- package/src/vue/animated-number.ts +57 -0
- package/src/vue/component-width.ts +34 -0
- package/src/vue/components/ChartPlot.ts +267 -0
- package/src/vue/components/ChoiceControl.ts +32 -25
- package/src/vue/components/DateCalendar.ts +50 -9
- package/src/vue/components/MAlert.ts +3 -0
- package/src/vue/components/MAvatar.ts +5 -1
- package/src/vue/components/MBadge.ts +3 -1
- package/src/vue/components/MCombobox.ts +6 -1
- package/src/vue/components/MEmptyState.ts +3 -0
- package/src/vue/components/MFilePicker.ts +3 -0
- package/src/vue/components/MGrid.ts +14 -0
- package/src/vue/components/MImage.ts +10 -1
- package/src/vue/components/MImageCompare.ts +162 -0
- package/src/vue/components/MImageViewer.ts +489 -0
- package/src/vue/components/MInput.ts +3 -0
- package/src/vue/components/MPinInput.ts +145 -0
- package/src/vue/components/MPopover.ts +314 -0
- package/src/vue/components/MProgress.ts +8 -2
- package/src/vue/components/MRangeSlider.ts +157 -0
- package/src/vue/components/MResizablePanels.ts +180 -0
- package/src/vue/components/MStack.ts +6 -0
- package/src/vue/components/MTabs.ts +10 -4
- package/src/vue/components/MTimePicker.ts +57 -0
- package/src/vue/components/MTooltip.ts +39 -0
- package/src/vue/components/MVirtualList.ts +140 -0
- package/src/vue/components/MotionRows.ts +17 -0
- package/src/vue/components/creative.ts +246 -0
- package/src/vue/components/dashboard.ts +249 -0
- package/src/vue/components/discovery.ts +91 -0
- package/src/vue/components/interactive.ts +43 -0
- package/src/vue/components/layout.ts +2 -0
- package/src/vue/components/navigation.ts +19 -0
- package/src/vue/components/screen-components.ts +61 -0
- package/src/vue/components/wayfinding.ts +48 -0
- package/src/vue/index.ts +144 -1
- package/src/vue/router-navigation.ts +39 -0
- package/src/vue/services.ts +8 -1
- package/dist/date-format.android.d.ts +0 -5
- package/dist/date-format.android.d.ts.map +0 -1
- package/dist/date-format.android.js +0 -39
- package/dist/date-format.android.js.map +0 -1
- package/dist/date-format.ios.d.ts +0 -5
- package/dist/date-format.ios.d.ts.map +0 -1
- package/dist/date-format.ios.js +0 -29
- package/dist/date-format.ios.js.map +0 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent, h, mergeProps, registerElement } from 'nativescript-vue'
|
|
2
|
+
import { ScrollHeaderSurface } from '@rafaelaugusto/jolt'
|
|
3
|
+
import {
|
|
4
|
+
createAnimatedText,
|
|
5
|
+
createComposer,
|
|
6
|
+
createSpeedDial,
|
|
7
|
+
createScrollComponents,
|
|
8
|
+
scrollFrameHostProps,
|
|
9
|
+
} from '@getcortexlabs/mavis-core/vue'
|
|
10
|
+
import { useMotionRegion } from '../use-motion-region.js'
|
|
11
|
+
import { useScrollMotion } from '../use-scroll-motion.js'
|
|
12
|
+
import { MBox, MColumn, MRow } from './layout.js'
|
|
13
|
+
import { MCard } from './MCard.js'
|
|
14
|
+
import { MText } from './MText.js'
|
|
15
|
+
import { MInput } from './MInput.js'
|
|
16
|
+
import { MImage } from './MImage.js'
|
|
17
|
+
import { MButton } from './MButton.js'
|
|
18
|
+
import { MChip } from './MChip.js'
|
|
19
|
+
import { MPopover } from './MPopover.js'
|
|
20
|
+
|
|
21
|
+
registerElement('MavisRefreshFrame', () => ScrollHeaderSurface, { viewFlags: 4 })
|
|
22
|
+
const Frame = defineComponent({
|
|
23
|
+
name: 'MScrollFrameHost',
|
|
24
|
+
inheritAttrs: false,
|
|
25
|
+
props: scrollFrameHostProps,
|
|
26
|
+
setup(props, { attrs, slots }) {
|
|
27
|
+
const motion = useMotionRegion(() => props.region)
|
|
28
|
+
const scroll = useScrollMotion(() => props.source)
|
|
29
|
+
return () =>
|
|
30
|
+
h(
|
|
31
|
+
'MavisRefreshFrame',
|
|
32
|
+
mergeProps(attrs, motion, { height: props.height, clipToBounds: true }),
|
|
33
|
+
[
|
|
34
|
+
h(
|
|
35
|
+
'ScrollView',
|
|
36
|
+
{ ...scroll, accessibilityLabel: props.label, iosOverflowSafeArea: false },
|
|
37
|
+
[h('StackLayout', { paddingTop: 0 }, slots.default?.())],
|
|
38
|
+
),
|
|
39
|
+
slots.overlay?.(),
|
|
40
|
+
],
|
|
41
|
+
)
|
|
42
|
+
},
|
|
43
|
+
})
|
|
44
|
+
const ui = {
|
|
45
|
+
Box: MBox,
|
|
46
|
+
Card: MCard,
|
|
47
|
+
Column: MColumn,
|
|
48
|
+
Row: MRow,
|
|
49
|
+
Text: MText,
|
|
50
|
+
Input: MInput,
|
|
51
|
+
Button: MButton,
|
|
52
|
+
Chip: MChip,
|
|
53
|
+
Image: MImage,
|
|
54
|
+
Popover: MPopover,
|
|
55
|
+
Frame,
|
|
56
|
+
}
|
|
57
|
+
export const MAnimatedText = createAnimatedText(MText)
|
|
58
|
+
export const MComposer = createComposer(ui, 'native')
|
|
59
|
+
export const MSpeedDial = createSpeedDial(ui)
|
|
60
|
+
export const { MCollapsibleHeader, MRefreshControl } = createScrollComponents(ui, 'native')
|
|
61
|
+
export { MPinInput } from './MPinInput.js'
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useComponentWidth } from '../component-width.js'
|
|
2
|
+
import {
|
|
3
|
+
createChart,
|
|
4
|
+
createCommandPalette,
|
|
5
|
+
createWayfindingControls,
|
|
6
|
+
} from '@getcortexlabs/mavis-core/vue'
|
|
7
|
+
import type { View } from '@nativescript/core'
|
|
8
|
+
import { MRow, MColumn, MBox } from './layout.js'
|
|
9
|
+
import { MText } from './MText.js'
|
|
10
|
+
import { MButton } from './MButton.js'
|
|
11
|
+
import { MLink } from './MLink.js'
|
|
12
|
+
import { MIcon } from './MIcon.js'
|
|
13
|
+
import { MBadge } from './MBadge.js'
|
|
14
|
+
import { MSeparator } from './MSeparator.js'
|
|
15
|
+
import { MSheet } from './MSheet.js'
|
|
16
|
+
import { MInput } from './MInput.js'
|
|
17
|
+
import { MSelect } from './MSelect.js'
|
|
18
|
+
import { MReveal } from './MReveal.js'
|
|
19
|
+
import { ChartPlot } from './ChartPlot.js'
|
|
20
|
+
const ui = {
|
|
21
|
+
railWidth: useComponentWidth,
|
|
22
|
+
focus: (component: unknown) =>
|
|
23
|
+
(component as { $el?: { nativeView?: View } } | undefined)?.$el?.nativeView?.focus(),
|
|
24
|
+
Row: MRow,
|
|
25
|
+
Column: MColumn,
|
|
26
|
+
Box: MBox,
|
|
27
|
+
Text: MText,
|
|
28
|
+
Button: MButton,
|
|
29
|
+
Link: MLink,
|
|
30
|
+
Icon: MIcon,
|
|
31
|
+
Badge: MBadge,
|
|
32
|
+
Separator: MSeparator,
|
|
33
|
+
Sheet: MSheet,
|
|
34
|
+
Input: MInput,
|
|
35
|
+
Select: MSelect,
|
|
36
|
+
Reveal: MReveal,
|
|
37
|
+
Plot: ChartPlot,
|
|
38
|
+
}
|
|
39
|
+
export const { MNavigationRail, MBreadcrumb, MTimeline } = createWayfindingControls(ui, 'native')
|
|
40
|
+
export const MChart = createChart(ui, 'native')
|
|
41
|
+
export const MCommandPalette = createCommandPalette(
|
|
42
|
+
{
|
|
43
|
+
...ui,
|
|
44
|
+
focus: (component) =>
|
|
45
|
+
(component as { $el?: { nativeView?: View } } | undefined)?.$el?.nativeView?.focus(),
|
|
46
|
+
},
|
|
47
|
+
'native',
|
|
48
|
+
)
|
package/src/vue/index.ts
CHANGED
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MKanban,
|
|
3
|
+
MDonutChart,
|
|
4
|
+
MSparkline,
|
|
5
|
+
MGradientBackground,
|
|
6
|
+
MParticleField,
|
|
7
|
+
MConfetti,
|
|
8
|
+
} from './components/dashboard.js'
|
|
9
|
+
import {
|
|
10
|
+
MColorPicker,
|
|
11
|
+
MSwipeDeck,
|
|
12
|
+
MGauge,
|
|
13
|
+
MTour,
|
|
14
|
+
MTourTarget,
|
|
15
|
+
MTransferList,
|
|
16
|
+
MMarquee,
|
|
17
|
+
} from './components/creative.js'
|
|
18
|
+
import {
|
|
19
|
+
MCollapsibleHeader,
|
|
20
|
+
MRefreshControl,
|
|
21
|
+
MComposer,
|
|
22
|
+
MSpeedDial,
|
|
23
|
+
MPinInput,
|
|
24
|
+
MAnimatedText,
|
|
25
|
+
} from './components/screen-components.js'
|
|
26
|
+
import {
|
|
27
|
+
MImageViewer,
|
|
28
|
+
MNumberFlow,
|
|
29
|
+
MSortableList,
|
|
30
|
+
MSwipeActions,
|
|
31
|
+
MResizablePanels,
|
|
32
|
+
MImageCompare,
|
|
33
|
+
} from './components/interactive.js'
|
|
34
|
+
import {
|
|
35
|
+
MCommandPalette,
|
|
36
|
+
MNavigationRail,
|
|
37
|
+
MBreadcrumb,
|
|
38
|
+
MTimeline,
|
|
39
|
+
MChart,
|
|
40
|
+
} from './components/wayfinding.js'
|
|
41
|
+
import { MTooltip } from './components/MTooltip.js'
|
|
42
|
+
import { MDataTable, MCarousel, MCalendar, MRating, MTreeView } from './components/discovery.js'
|
|
43
|
+
import { MRangeSlider } from './components/MRangeSlider.js'
|
|
44
|
+
import { MPopover } from './components/MPopover.js'
|
|
45
|
+
import { MMenu, MAppBar, MTabBar } from './components/navigation.js'
|
|
46
|
+
import { MTimePicker } from './components/MTimePicker.js'
|
|
47
|
+
import { MVirtualList } from './components/MVirtualList.js'
|
|
1
48
|
import { MNumberInput, MMultiSelect } from './components/configurator.js'
|
|
2
49
|
import { MImage } from './components/MImage.js'
|
|
3
50
|
import { MStack } from './components/MStack.js'
|
|
@@ -13,7 +60,7 @@ import type { App, Component } from 'nativescript-vue'
|
|
|
13
60
|
import { createMavisServices, type MavisServiceOptions } from './services.js'
|
|
14
61
|
export { createMavisServices } from './services.js'
|
|
15
62
|
export type { MavisServiceOptions } from './services.js'
|
|
16
|
-
import { MThemeProvider, MSpan } from '@getcortexlabs/mavis-core/vue'
|
|
63
|
+
import { MThemeProvider, MSpan, MPlatform } from '@getcortexlabs/mavis-core/vue'
|
|
17
64
|
import { MScreen } from './components/MScreen.js'
|
|
18
65
|
import { MBox, MRow, MColumn } from './components/layout.js'
|
|
19
66
|
import { MCard } from './components/MCard.js'
|
|
@@ -43,7 +90,33 @@ import { MSheet } from './components/MSheet.js'
|
|
|
43
90
|
import type { ClaimSystemBack, SystemBackClaimant } from './system-back.js'
|
|
44
91
|
|
|
45
92
|
export {
|
|
93
|
+
MKanban,
|
|
94
|
+
MDonutChart,
|
|
95
|
+
MSparkline,
|
|
96
|
+
MGradientBackground,
|
|
97
|
+
MParticleField,
|
|
98
|
+
MConfetti,
|
|
99
|
+
MColorPicker,
|
|
100
|
+
MSwipeDeck,
|
|
101
|
+
MGauge,
|
|
102
|
+
MTour,
|
|
103
|
+
MTourTarget,
|
|
104
|
+
MTransferList,
|
|
105
|
+
MMarquee,
|
|
106
|
+
MCollapsibleHeader,
|
|
107
|
+
MRefreshControl,
|
|
108
|
+
MComposer,
|
|
109
|
+
MSpeedDial,
|
|
110
|
+
MPinInput,
|
|
111
|
+
MAnimatedText,
|
|
112
|
+
MImageViewer,
|
|
113
|
+
MNumberFlow,
|
|
114
|
+
MSortableList,
|
|
115
|
+
MSwipeActions,
|
|
116
|
+
MResizablePanels,
|
|
117
|
+
MImageCompare,
|
|
46
118
|
MThemeProvider,
|
|
119
|
+
MPlatform,
|
|
47
120
|
MSpan,
|
|
48
121
|
MScreen,
|
|
49
122
|
MBox,
|
|
@@ -89,9 +162,29 @@ export {
|
|
|
89
162
|
MFormErrors,
|
|
90
163
|
MSteps,
|
|
91
164
|
MPagination,
|
|
165
|
+
MPopover,
|
|
166
|
+
MMenu,
|
|
167
|
+
MAppBar,
|
|
168
|
+
MTabBar,
|
|
169
|
+
MTimePicker,
|
|
170
|
+
MVirtualList,
|
|
171
|
+
MDataTable,
|
|
172
|
+
MCarousel,
|
|
173
|
+
MRangeSlider,
|
|
174
|
+
MCalendar,
|
|
175
|
+
MRating,
|
|
176
|
+
MTreeView,
|
|
177
|
+
MCommandPalette,
|
|
178
|
+
MNavigationRail,
|
|
179
|
+
MBreadcrumb,
|
|
180
|
+
MTooltip,
|
|
181
|
+
MTimeline,
|
|
182
|
+
MChart,
|
|
92
183
|
}
|
|
93
184
|
export {
|
|
94
185
|
useMavisTheme,
|
|
186
|
+
useMavisPlatform,
|
|
187
|
+
useMavisListMotion,
|
|
95
188
|
useToast,
|
|
96
189
|
useFormController,
|
|
97
190
|
useFormField,
|
|
@@ -100,6 +193,9 @@ export {
|
|
|
100
193
|
} from '@getcortexlabs/mavis-core/vue'
|
|
101
194
|
export type {
|
|
102
195
|
MavisThemeContext,
|
|
196
|
+
MavisPlatform,
|
|
197
|
+
MavisPlatformTarget,
|
|
198
|
+
MavisPlatformContext,
|
|
103
199
|
Appearance,
|
|
104
200
|
AppearanceMode,
|
|
105
201
|
AppearanceSource,
|
|
@@ -120,7 +216,34 @@ export function createMavis(options: MavisOptions = {}) {
|
|
|
120
216
|
if (components === false) return
|
|
121
217
|
for (const [name, component] of Object.entries(
|
|
122
218
|
components ?? {
|
|
219
|
+
MKanban,
|
|
220
|
+
MDonutChart,
|
|
221
|
+
MSparkline,
|
|
222
|
+
MGradientBackground,
|
|
223
|
+
MParticleField,
|
|
224
|
+
MConfetti,
|
|
225
|
+
MColorPicker,
|
|
226
|
+
MSwipeDeck,
|
|
227
|
+
MGauge,
|
|
228
|
+
MTour,
|
|
229
|
+
MTourTarget,
|
|
230
|
+
MTransferList,
|
|
231
|
+
MMarquee,
|
|
232
|
+
MCollapsibleHeader,
|
|
233
|
+
MRefreshControl,
|
|
234
|
+
MComposer,
|
|
235
|
+
MSpeedDial,
|
|
236
|
+
MPinInput,
|
|
237
|
+
MAnimatedText,
|
|
238
|
+
|
|
239
|
+
MImageViewer,
|
|
240
|
+
MNumberFlow,
|
|
241
|
+
MSortableList,
|
|
242
|
+
MSwipeActions,
|
|
243
|
+
MResizablePanels,
|
|
244
|
+
MImageCompare,
|
|
123
245
|
MThemeProvider,
|
|
246
|
+
MPlatform,
|
|
124
247
|
MSpan,
|
|
125
248
|
MScreen,
|
|
126
249
|
MBox,
|
|
@@ -166,6 +289,24 @@ export function createMavis(options: MavisOptions = {}) {
|
|
|
166
289
|
MFormErrors,
|
|
167
290
|
MSteps,
|
|
168
291
|
MPagination,
|
|
292
|
+
MPopover,
|
|
293
|
+
MMenu,
|
|
294
|
+
MAppBar,
|
|
295
|
+
MTabBar,
|
|
296
|
+
MTimePicker,
|
|
297
|
+
MVirtualList,
|
|
298
|
+
MDataTable,
|
|
299
|
+
MCarousel,
|
|
300
|
+
MRangeSlider,
|
|
301
|
+
MCalendar,
|
|
302
|
+
MRating,
|
|
303
|
+
MTreeView,
|
|
304
|
+
MCommandPalette,
|
|
305
|
+
MNavigationRail,
|
|
306
|
+
MBreadcrumb,
|
|
307
|
+
MTooltip,
|
|
308
|
+
MTimeline,
|
|
309
|
+
MChart,
|
|
169
310
|
},
|
|
170
311
|
)) {
|
|
171
312
|
app.component(name, component)
|
|
@@ -175,3 +316,5 @@ export function createMavis(options: MavisOptions = {}) {
|
|
|
175
316
|
}
|
|
176
317
|
|
|
177
318
|
export * from '../files.js'
|
|
319
|
+
|
|
320
|
+
export { createMavisNavigation } from './router-navigation.js'
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createRouterNavigation,
|
|
3
|
+
defineNavigationTransition,
|
|
4
|
+
type MavisRouter,
|
|
5
|
+
type NavigationTransition,
|
|
6
|
+
} from '@getcortexlabs/mavis-core'
|
|
7
|
+
|
|
8
|
+
export interface NativeNavigationRouter extends MavisRouter {
|
|
9
|
+
push(
|
|
10
|
+
href: string,
|
|
11
|
+
options?: { animated?: boolean; transition?: { name: string; duration: number } },
|
|
12
|
+
): unknown
|
|
13
|
+
replace(
|
|
14
|
+
href: string,
|
|
15
|
+
options?: { animated?: boolean; transition?: { name: string; duration: number } },
|
|
16
|
+
): unknown
|
|
17
|
+
back(options?: { animated?: boolean }): unknown
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** vue-router-ns owns native transitions, reduced motion, interactive back and focus. */
|
|
21
|
+
export function createMavisNavigation(
|
|
22
|
+
router: NativeNavigationRouter,
|
|
23
|
+
options: { transition?: NavigationTransition } = {},
|
|
24
|
+
) {
|
|
25
|
+
const policy = defineNavigationTransition(options.transition)
|
|
26
|
+
const native =
|
|
27
|
+
policy.name === 'none' || policy.duration === 0
|
|
28
|
+
? { animated: false }
|
|
29
|
+
: { transition: { name: policy.name, duration: policy.duration } }
|
|
30
|
+
return createRouterNavigation({
|
|
31
|
+
resolve: (href) => router.resolve(href),
|
|
32
|
+
push: (href) => router.push(href, native),
|
|
33
|
+
replace: (href) => router.replace(href, native),
|
|
34
|
+
back: () =>
|
|
35
|
+
router.back(
|
|
36
|
+
policy.name === 'none' || policy.duration === 0 ? { animated: false } : undefined,
|
|
37
|
+
),
|
|
38
|
+
})
|
|
39
|
+
}
|
package/src/vue/services.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type { App } from 'nativescript-vue'
|
|
2
|
+
import { isIOS } from '@nativescript/core'
|
|
2
3
|
import type { MavisNavigation } from '@getcortexlabs/mavis-core'
|
|
3
4
|
import {
|
|
4
5
|
createThemeContext,
|
|
5
6
|
installAppToast,
|
|
6
7
|
themeKey,
|
|
7
8
|
navigationKey,
|
|
9
|
+
platformKey,
|
|
10
|
+
createPlatformContext,
|
|
8
11
|
type ThemeContextOptions,
|
|
9
12
|
} from '@getcortexlabs/mavis-core/vue'
|
|
10
13
|
import { systemAppearance } from '../native/appearance'
|
|
@@ -20,13 +23,17 @@ export type MavisServiceOptions = Omit<ThemeContextOptions, 'source'> & {
|
|
|
20
23
|
export function createMavisServices(options: MavisServiceOptions = {}) {
|
|
21
24
|
return {
|
|
22
25
|
install(app: App) {
|
|
26
|
+
app.provide(platformKey, createPlatformContext(isIOS ? 'ios' : 'android'))
|
|
23
27
|
installAppToast(app, options.toast)
|
|
24
28
|
const { toast: _toast, claimSystemBack, navigation, ...theme } = options
|
|
25
29
|
const context = createThemeContext({ ...theme, source: systemAppearance() })
|
|
26
30
|
app.provide(themeKey, context)
|
|
27
31
|
app.provide(systemBackKey, claimSystemBack)
|
|
28
32
|
app.provide(navigationKey, navigation)
|
|
29
|
-
app.onUnmount(() =>
|
|
33
|
+
app.onUnmount(() => {
|
|
34
|
+
context.dispose()
|
|
35
|
+
navigation?.dispose?.()
|
|
36
|
+
})
|
|
30
37
|
},
|
|
31
38
|
}
|
|
32
39
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type DateTimeValue, type DateTimeFormatOptions } from '@getcortexlabs/mavis-core';
|
|
2
|
-
export type { DateTimeValue, DateTimeFormatOptions, DateTimeStyle } from '@getcortexlabs/mavis-core';
|
|
3
|
-
export declare function formatDateTime(value: DateTimeValue, options: DateTimeFormatOptions): string;
|
|
4
|
-
export declare function dateTimeToCivilDate(value: DateTimeValue, options: Pick<DateTimeFormatOptions, 'timeZone'>): `${number}-${number}-${number}`;
|
|
5
|
-
//# sourceMappingURL=date-format.android.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-format.android.d.ts","sourceRoot":"","sources":["../src/date-format.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAA;AAClC,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAsCpG,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAc3F;AACD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,IAAI,CAAC,qBAAqB,EAAE,UAAU,CAAC,mCASjD"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { civilDate, dateTimeMilliseconds, resolveDateTimeOptions, } from '@getcortexlabs/mavis-core';
|
|
2
|
-
function zone(name) {
|
|
3
|
-
// TimeZone.getTimeZone silently returns GMT for unknown identifiers. Reject that fallback.
|
|
4
|
-
const known = Array.from(java.util.TimeZone.getAvailableIDs());
|
|
5
|
-
if (!known.includes(name))
|
|
6
|
-
throw new RangeError(`Unknown timeZone: ${name}`);
|
|
7
|
-
return java.util.TimeZone.getTimeZone(name);
|
|
8
|
-
}
|
|
9
|
-
function configureCalendar(formatter, timeZone, locale) {
|
|
10
|
-
const value = zone(timeZone);
|
|
11
|
-
const calendar = new java.util.GregorianCalendar(value, locale);
|
|
12
|
-
calendar.setGregorianChange(new java.util.Date(-8640000000000000));
|
|
13
|
-
formatter.setCalendar(calendar);
|
|
14
|
-
}
|
|
15
|
-
export function formatDateTime(value, options) {
|
|
16
|
-
const milliseconds = dateTimeMilliseconds(value);
|
|
17
|
-
const config = resolveDateTimeOptions(options);
|
|
18
|
-
const locale = java.util.Locale.forLanguageTag(config.locale);
|
|
19
|
-
const styles = { full: 0, long: 1, medium: 2, short: 3 };
|
|
20
|
-
const factory = java.text.DateFormat;
|
|
21
|
-
const result = config.dateStyle && config.timeStyle
|
|
22
|
-
? factory.getDateTimeInstance(styles[config.dateStyle], styles[config.timeStyle], locale)
|
|
23
|
-
: config.dateStyle
|
|
24
|
-
? factory.getDateInstance(styles[config.dateStyle], locale)
|
|
25
|
-
: factory.getTimeInstance(styles[config.timeStyle], locale);
|
|
26
|
-
configureCalendar(result, config.timeZone, locale);
|
|
27
|
-
return String(result.format(new java.util.Date(milliseconds)));
|
|
28
|
-
}
|
|
29
|
-
export function dateTimeToCivilDate(value, options) {
|
|
30
|
-
const milliseconds = dateTimeMilliseconds(value);
|
|
31
|
-
const { timeZone } = resolveDateTimeOptions(options);
|
|
32
|
-
const result = new java.text.SimpleDateFormat('G yyyy-MM-dd', java.util.Locale.US);
|
|
33
|
-
configureCalendar(result, timeZone, java.util.Locale.US);
|
|
34
|
-
const text = String(result.format(new java.util.Date(milliseconds)));
|
|
35
|
-
if (!text.startsWith('AD '))
|
|
36
|
-
throw new RangeError('Civil dates support years 0001–9999.');
|
|
37
|
-
return civilDate(text.slice(3));
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=date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CAAA;IACxD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAA;IACpE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;QAAE,MAAM,IAAI,UAAU,CAAC,sCAAsC,CAAC,CAAA;IACzF,OAAO,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;AACjC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type DateTimeValue, type DateTimeFormatOptions } from '@getcortexlabs/mavis-core';
|
|
2
|
-
export type { DateTimeValue, DateTimeFormatOptions, DateTimeStyle } from '@getcortexlabs/mavis-core';
|
|
3
|
-
export declare function formatDateTime(value: DateTimeValue, options: DateTimeFormatOptions): string;
|
|
4
|
-
export declare function dateTimeToCivilDate(value: DateTimeValue, options: Pick<DateTimeFormatOptions, 'timeZone'>): `${number}-${number}-${number}`;
|
|
5
|
-
//# sourceMappingURL=date-format.ios.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-format.ios.d.ts","sourceRoot":"","sources":["../src/date-format.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAA;AAClC,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AA+BpG,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAG3F;AACD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,aAAa,EACpB,OAAO,EAAE,IAAI,CAAC,qBAAqB,EAAE,UAAU,CAAC,mCASjD"}
|
package/dist/date-format.ios.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { civilDate, dateTimeMilliseconds, resolveDateTimeOptions, } from '@getcortexlabs/mavis-core';
|
|
2
|
-
function formatter(options) {
|
|
3
|
-
const config = resolveDateTimeOptions(options);
|
|
4
|
-
const zone = NSTimeZone.timeZoneWithName(config.timeZone);
|
|
5
|
-
if (!zone)
|
|
6
|
-
throw new RangeError(`Unknown timeZone: ${config.timeZone}`);
|
|
7
|
-
const result = NSDateFormatter.new();
|
|
8
|
-
result.locale = NSLocale.alloc().initWithLocaleIdentifier(config.locale);
|
|
9
|
-
result.calendar = NSCalendar.calendarWithIdentifier('gregorian');
|
|
10
|
-
result.gregorianStartDate = NSDate.dateWithTimeIntervalSince1970(-8640000000000);
|
|
11
|
-
result.timeZone = zone;
|
|
12
|
-
const styles = { short: 1, medium: 2, long: 3, full: 4 };
|
|
13
|
-
result.dateStyle = config.dateStyle ? styles[config.dateStyle] : 0;
|
|
14
|
-
result.timeStyle = config.timeStyle ? styles[config.timeStyle] : 0;
|
|
15
|
-
return result;
|
|
16
|
-
}
|
|
17
|
-
export function formatDateTime(value, options) {
|
|
18
|
-
const instant = NSDate.dateWithTimeIntervalSince1970(dateTimeMilliseconds(value) / 1000);
|
|
19
|
-
return formatter(options).stringFromDate(instant);
|
|
20
|
-
}
|
|
21
|
-
export function dateTimeToCivilDate(value, options) {
|
|
22
|
-
const result = formatter({ ...options, locale: 'en-US-POSIX', dateStyle: 'short' });
|
|
23
|
-
result.dateFormat = 'G yyyy-MM-dd';
|
|
24
|
-
const text = result.stringFromDate(NSDate.dateWithTimeIntervalSince1970(dateTimeMilliseconds(value) / 1000));
|
|
25
|
-
if (!text.startsWith('AD '))
|
|
26
|
-
throw new RangeError('Civil dates support years 0001–9999.');
|
|
27
|
-
return civilDate(text.slice(3));
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=date-format.ios.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-format.ios.js","sourceRoot":"","sources":["../src/date-format.ios.ts"],"names":[],"mappings":"AAAA,OAA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