@m3ui-vue/m3ui-vue 0.8.5 → 0.8.7
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 -1
- package/dist/{MMenuItem-BXIxwIdM.js → MMenuItem-DmrsQrK7.js} +2 -2
- package/dist/{MMenuItem-BXIxwIdM.js.map → MMenuItem-DmrsQrK7.js.map} +1 -1
- package/dist/chart.js +5 -1
- package/dist/chart.js.map +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/components/MBottomSheet.vue.d.ts +3 -3
- package/dist/components/MChatBubble.vue.d.ts +4 -2
- package/dist/components/MCheckbox.vue.d.ts +2 -0
- package/dist/components/MDragDropList.vue.d.ts +19 -6
- package/dist/components/MFileUpload.vue.d.ts +16 -4
- package/dist/components/MKanban.vue.d.ts +15 -6
- package/dist/components/MListDetail.vue.d.ts +31 -0
- package/dist/components/MNavigationRail.vue.d.ts +6 -3
- package/dist/components/MNavigationSuite.vue.d.ts +46 -0
- package/dist/components/MShortNavigationBar.vue.d.ts +6 -1
- package/dist/components/MSideSheet.vue.d.ts +4 -4
- package/dist/components/MSupportingPane.vue.d.ts +34 -0
- package/dist/components/MTransferList.vue.d.ts +57 -30
- package/dist/components/MWindow.vue.d.ts +39 -1
- package/dist/components/_MTransferPane.vue.d.ts +46 -0
- package/dist/composables/_useItemLink.d.ts +30 -0
- package/dist/composables/_useSheetMotion.d.ts +7 -0
- package/dist/composables/useLocale.d.ts +27 -0
- package/dist/composables/useWindowSizeClass.d.ts +19 -0
- package/dist/index.d.ts +6 -0
- package/dist/locales/index.js +196 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +4331 -2945
- package/dist/m3ui.js.map +1 -1
- package/dist/rich-text-editor.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/{useLocale-DbREg9Zn.js → useLocale-Bircp823.js} +29 -2
- package/dist/useLocale-Bircp823.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/MChart.test.ts +28 -0
- package/src/__tests__/MChatBubble.test.ts +33 -0
- package/src/__tests__/MDragDropList.test.ts +194 -0
- package/src/__tests__/MFileUpload.test.ts +78 -0
- package/src/__tests__/MKanban.test.ts +150 -0
- package/src/__tests__/MPullToRefresh.test.ts +67 -0
- package/src/__tests__/MRating.test.ts +72 -0
- package/src/__tests__/MShortNavigationBar.test.ts +25 -0
- package/src/__tests__/MTransferList.test.ts +149 -0
- package/src/__tests__/MWindow.test.ts +258 -0
- package/src/__tests__/adaptiveLayouts.test.ts +191 -0
- package/src/__tests__/sheets.test.ts +76 -0
- package/src/components/MBottomSheet.vue +11 -57
- package/src/components/MChart.vue +2 -1
- package/src/components/MChatBubble.vue +107 -20
- package/src/components/MCheckbox.vue +3 -0
- package/src/components/MDragDropList.vue +485 -56
- package/src/components/MFileUpload.vue +56 -20
- package/src/components/MKanban.vue +720 -78
- package/src/components/MListDetail.vue +103 -0
- package/src/components/MNavigationRail.vue +48 -31
- package/src/components/MNavigationSuite.vue +89 -0
- package/src/components/MPullToRefresh.vue +101 -35
- package/src/components/MRating.vue +163 -67
- package/src/components/MResult.vue +19 -9
- package/src/components/MShortNavigationBar.vue +37 -17
- package/src/components/MSideSheet.vue +11 -56
- package/src/components/MSupportingPane.vue +70 -0
- package/src/components/MTransferList.vue +174 -137
- package/src/components/MWindow.vue +507 -108
- package/src/components/_MTransferPane.vue +260 -0
- package/src/composables/_useItemLink.ts +19 -0
- package/src/composables/_useSheetMotion.ts +181 -0
- package/src/composables/useLocale.ts +75 -0
- package/src/composables/useWindowSizeClass.ts +93 -0
- package/src/index.ts +6 -0
- package/src/locales/de.ts +37 -0
- package/src/locales/es.ts +37 -0
- package/src/locales/fr.ts +37 -0
- package/src/locales/ja.ts +37 -0
- package/src/locales/ko.ts +37 -0
- package/src/locales/pt.ts +37 -0
- package/src/locales/zh.ts +37 -0
- package/dist/useLocale-DbREg9Zn.js.map +0 -1
package/dist/chart.js
CHANGED
|
@@ -29,7 +29,11 @@ var p = /* @__PURE__ */ i({
|
|
|
29
29
|
v.value = _();
|
|
30
30
|
}), y.observe(document.documentElement, {
|
|
31
31
|
attributes: !0,
|
|
32
|
-
attributeFilter: [
|
|
32
|
+
attributeFilter: [
|
|
33
|
+
"class",
|
|
34
|
+
"style",
|
|
35
|
+
"data-palette"
|
|
36
|
+
]
|
|
33
37
|
}), document.fonts?.ready.then(() => {
|
|
34
38
|
v.value = _();
|
|
35
39
|
});
|
package/dist/chart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart.js","names":[],"sources":["../src/components/MChart.vue","../src/components/MChart.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref, watch, onMounted, onBeforeUnmount, shallowRef, type Component } from 'vue'\n\ntype ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'\n\nconst props = withDefaults(\n defineProps<{\n type: ChartType\n data: Record<string, any>\n options?: Record<string, any>\n height?: string\n }>(),\n { height: '300px' },\n)\n\nconst ready = ref(false)\nconst chartComponent = shallowRef<Component | null>(null)\nconst componentMap = shallowRef<Record<string, Component>>({})\n\nfunction getM3Colors() {\n const style = getComputedStyle(document.documentElement)\n const get = (v: string) => style.getPropertyValue(v).trim()\n return {\n primary: get('--color-primary'),\n onSurface: get('--color-on-surface'),\n onSurfaceVariant: get('--color-on-surface-variant'),\n outlineVariant: get('--color-outline-variant'),\n surface: get('--color-surface'),\n surfaceContainer: get('--color-surface-container'),\n // Canvas can't resolve CSS vars, so pass Chart.js the resolved font stack\n fontFamily: get('--font-sans') || \"'Roboto', system-ui, sans-serif\",\n }\n}\n\nconst m3Colors = ref(getM3Colors())\n\nlet themeObserver: MutationObserver | null = null\n\nonMounted(async () => {\n m3Colors.value = getM3Colors()\n\n themeObserver = new MutationObserver(() => { m3Colors.value = getM3Colors() })\n themeObserver.observe(document.documentElement, { attributes: true, attributeFilter: ['class', 'style'] })\n // Canvas text drawn before a web font finishes loading keeps the fallback, so redraw once it has\n document.fonts?.ready.then(() => { m3Colors.value = getM3Colors() })\n\n const [chartjs, vueChartjs] = await Promise.all([\n import('chart.js'),\n import('vue-chartjs'),\n ])\n\n chartjs.Chart.register(\n chartjs.CategoryScale,\n chartjs.LinearScale,\n chartjs.PointElement,\n chartjs.LineElement,\n chartjs.BarElement,\n chartjs.ArcElement,\n chartjs.RadialLinearScale,\n chartjs.Filler,\n chartjs.Tooltip,\n chartjs.Legend,\n chartjs.Title,\n )\n\n componentMap.value = {\n line: vueChartjs.Line,\n bar: vueChartjs.Bar,\n pie: vueChartjs.Pie,\n doughnut: vueChartjs.Doughnut,\n radar: vueChartjs.Radar,\n }\n\n ready.value = true\n})\n\nonBeforeUnmount(() => { themeObserver?.disconnect() })\n\nwatch(() => props.type, () => {\n if (ready.value) chartComponent.value = componentMap.value[props.type] ?? null\n}, { immediate: true })\n\nwatch(ready, () => {\n chartComponent.value = componentMap.value[props.type] ?? null\n})\n\nconst mergedOptions = computed<Record<string, any>>(() => {\n const c = m3Colors.value\n const base: Record<string, any> = {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n labels: {\n color: c.onSurface,\n font: { family: c.fontFamily, size: 12 },\n usePointStyle: true,\n pointStyle: 'circle',\n padding: 16,\n },\n },\n tooltip: {\n backgroundColor: c.surfaceContainer,\n titleColor: c.onSurface,\n bodyColor: c.onSurfaceVariant,\n borderColor: c.outlineVariant,\n borderWidth: 1,\n cornerRadius: 12,\n padding: 12,\n titleFont: { family: c.fontFamily, size: 13, weight: '600' as const },\n bodyFont: { family: c.fontFamily, size: 12 },\n displayColors: true,\n boxPadding: 4,\n },\n },\n }\n\n if (props.type !== 'pie' && props.type !== 'doughnut') {\n base.scales = {\n x: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n y: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n }\n }\n\n if (props.type === 'radar') {\n base.scales = {\n r: {\n grid: { color: c.outlineVariant + '40' },\n angleLines: { color: c.outlineVariant + '40' },\n pointLabels: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 } },\n ticks: { color: c.onSurfaceVariant, backdropColor: 'transparent', font: { family: c.fontFamily } },\n },\n }\n }\n\n return deepMerge(base, props.options ?? {})\n})\n\nfunction deepMerge(target: any, source: any): any {\n const output = { ...target }\n for (const key of Object.keys(source)) {\n if (source[key] && typeof source[key] === 'object' && !Array.isArray(source[key])) {\n output[key] = deepMerge(target[key] ?? {}, source[key])\n } else {\n output[key] = source[key]\n }\n }\n return output\n}\n</script>\n\n<template>\n <div class=\"rounded-lg border border-outline-variant bg-surface p-4\" :style=\"{ height }\">\n <component\n v-if=\"ready && chartComponent\"\n :is=\"chartComponent\"\n :data=\"data\"\n :options=\"mergedOptions\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport { computed, ref, watch, onMounted, onBeforeUnmount, shallowRef, type Component } from 'vue'\n\ntype ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'\n\nconst props = withDefaults(\n defineProps<{\n type: ChartType\n data: Record<string, any>\n options?: Record<string, any>\n height?: string\n }>(),\n { height: '300px' },\n)\n\nconst ready = ref(false)\nconst chartComponent = shallowRef<Component | null>(null)\nconst componentMap = shallowRef<Record<string, Component>>({})\n\nfunction getM3Colors() {\n const style = getComputedStyle(document.documentElement)\n const get = (v: string) => style.getPropertyValue(v).trim()\n return {\n primary: get('--color-primary'),\n onSurface: get('--color-on-surface'),\n onSurfaceVariant: get('--color-on-surface-variant'),\n outlineVariant: get('--color-outline-variant'),\n surface: get('--color-surface'),\n surfaceContainer: get('--color-surface-container'),\n // Canvas can't resolve CSS vars, so pass Chart.js the resolved font stack\n fontFamily: get('--font-sans') || \"'Roboto', system-ui, sans-serif\",\n }\n}\n\nconst m3Colors = ref(getM3Colors())\n\nlet themeObserver: MutationObserver | null = null\n\nonMounted(async () => {\n m3Colors.value = getM3Colors()\n\n themeObserver = new MutationObserver(() => { m3Colors.value = getM3Colors() })\n themeObserver.observe(document.documentElement, { attributes: true, attributeFilter: ['class', 'style'] })\n // Canvas text drawn before a web font finishes loading keeps the fallback, so redraw once it has\n document.fonts?.ready.then(() => { m3Colors.value = getM3Colors() })\n\n const [chartjs, vueChartjs] = await Promise.all([\n import('chart.js'),\n import('vue-chartjs'),\n ])\n\n chartjs.Chart.register(\n chartjs.CategoryScale,\n chartjs.LinearScale,\n chartjs.PointElement,\n chartjs.LineElement,\n chartjs.BarElement,\n chartjs.ArcElement,\n chartjs.RadialLinearScale,\n chartjs.Filler,\n chartjs.Tooltip,\n chartjs.Legend,\n chartjs.Title,\n )\n\n componentMap.value = {\n line: vueChartjs.Line,\n bar: vueChartjs.Bar,\n pie: vueChartjs.Pie,\n doughnut: vueChartjs.Doughnut,\n radar: vueChartjs.Radar,\n }\n\n ready.value = true\n})\n\nonBeforeUnmount(() => { themeObserver?.disconnect() })\n\nwatch(() => props.type, () => {\n if (ready.value) chartComponent.value = componentMap.value[props.type] ?? null\n}, { immediate: true })\n\nwatch(ready, () => {\n chartComponent.value = componentMap.value[props.type] ?? null\n})\n\nconst mergedOptions = computed<Record<string, any>>(() => {\n const c = m3Colors.value\n const base: Record<string, any> = {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n labels: {\n color: c.onSurface,\n font: { family: c.fontFamily, size: 12 },\n usePointStyle: true,\n pointStyle: 'circle',\n padding: 16,\n },\n },\n tooltip: {\n backgroundColor: c.surfaceContainer,\n titleColor: c.onSurface,\n bodyColor: c.onSurfaceVariant,\n borderColor: c.outlineVariant,\n borderWidth: 1,\n cornerRadius: 12,\n padding: 12,\n titleFont: { family: c.fontFamily, size: 13, weight: '600' as const },\n bodyFont: { family: c.fontFamily, size: 12 },\n displayColors: true,\n boxPadding: 4,\n },\n },\n }\n\n if (props.type !== 'pie' && props.type !== 'doughnut') {\n base.scales = {\n x: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n y: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n }\n }\n\n if (props.type === 'radar') {\n base.scales = {\n r: {\n grid: { color: c.outlineVariant + '40' },\n angleLines: { color: c.outlineVariant + '40' },\n pointLabels: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 } },\n ticks: { color: c.onSurfaceVariant, backdropColor: 'transparent', font: { family: c.fontFamily } },\n },\n }\n }\n\n return deepMerge(base, props.options ?? {})\n})\n\nfunction deepMerge(target: any, source: any): any {\n const output = { ...target }\n for (const key of Object.keys(source)) {\n if (source[key] && typeof source[key] === 'object' && !Array.isArray(source[key])) {\n output[key] = deepMerge(target[key] ?? {}, source[key])\n } else {\n output[key] = source[key]\n }\n }\n return output\n}\n</script>\n\n<template>\n <div class=\"rounded-lg border border-outline-variant bg-surface p-4\" :style=\"{ height }\">\n <component\n v-if=\"ready && chartComponent\"\n :is=\"chartComponent\"\n :data=\"data\"\n :options=\"mergedOptions\"\n />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;EAKA,IAAM,IAAQ,GAUR,IAAQ,EAAI,EAAK,GACjB,IAAiB,EAA6B,IAAI,GAClD,IAAe,EAAsC,CAAC,CAAC;EAE7D,SAAS,IAAc;GACrB,IAAM,IAAQ,iBAAiB,SAAS,eAAe,GACjD,KAAO,MAAc,EAAM,iBAAiB,CAAC,CAAC,CAAC,KAAK;GAC1D,OAAO;IACL,SAAS,EAAI,iBAAiB;IAC9B,WAAW,EAAI,oBAAoB;IACnC,kBAAkB,EAAI,4BAA4B;IAClD,gBA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,EAAU,GAAa,GAAkB;GAChD,IAAM,IAAS,EAAE,GAAG,EAAO;GAC3B,KAAK,IAAM,KAAO,OAAO,KAAK,CAAM,GAClC,AAGE,EAAO,KAHL,EAAO,MAAQ,OAAO,EAAO,MAAS,YAAY,CAAC,MAAM,QAAQ,EAAO,EAAI,IAChE,EAAU,EAAO,MAAQ,CAAC,GAAG,EAAO,EAAI,IAExC,EAAO;GAGzB,OAAO;EACT;oBAIE,EAAA,GAAA,EAOM,OAAA;GAPD,OAAM;GAA2D,OAAK,EAAA,EAAA,QAAI,EAAA,OAAM,CAAA;EAE3E,GAAA,CAAA,EAAA,SAAS,EAAA,SADjB,EAAA,GAAA,EAKE,EAHK,EAAA,KAAc,GAAA;;GAClB,MAAM,EAAA;GACN,SAAS,EAAA"}
|
|
1
|
+
{"version":3,"file":"chart.js","names":[],"sources":["../src/components/MChart.vue","../src/components/MChart.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref, watch, onMounted, onBeforeUnmount, shallowRef, type Component } from 'vue'\n\ntype ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'\n\nconst props = withDefaults(\n defineProps<{\n type: ChartType\n data: Record<string, any>\n options?: Record<string, any>\n height?: string\n }>(),\n { height: '300px' },\n)\n\nconst ready = ref(false)\nconst chartComponent = shallowRef<Component | null>(null)\nconst componentMap = shallowRef<Record<string, Component>>({})\n\nfunction getM3Colors() {\n const style = getComputedStyle(document.documentElement)\n const get = (v: string) => style.getPropertyValue(v).trim()\n return {\n primary: get('--color-primary'),\n onSurface: get('--color-on-surface'),\n onSurfaceVariant: get('--color-on-surface-variant'),\n outlineVariant: get('--color-outline-variant'),\n surface: get('--color-surface'),\n surfaceContainer: get('--color-surface-container'),\n // Canvas can't resolve CSS vars, so pass Chart.js the resolved font stack\n fontFamily: get('--font-sans') || \"'Roboto', system-ui, sans-serif\",\n }\n}\n\nconst m3Colors = ref(getM3Colors())\n\nlet themeObserver: MutationObserver | null = null\n\nonMounted(async () => {\n m3Colors.value = getM3Colors()\n\n themeObserver = new MutationObserver(() => { m3Colors.value = getM3Colors() })\n // `class` flips light/dark, `data-palette` switches the palette (useColorPalette / createM3UI).\n themeObserver.observe(document.documentElement, { attributes: true, attributeFilter: ['class', 'style', 'data-palette'] })\n // Canvas text drawn before a web font finishes loading keeps the fallback, so redraw once it has\n document.fonts?.ready.then(() => { m3Colors.value = getM3Colors() })\n\n const [chartjs, vueChartjs] = await Promise.all([\n import('chart.js'),\n import('vue-chartjs'),\n ])\n\n chartjs.Chart.register(\n chartjs.CategoryScale,\n chartjs.LinearScale,\n chartjs.PointElement,\n chartjs.LineElement,\n chartjs.BarElement,\n chartjs.ArcElement,\n chartjs.RadialLinearScale,\n chartjs.Filler,\n chartjs.Tooltip,\n chartjs.Legend,\n chartjs.Title,\n )\n\n componentMap.value = {\n line: vueChartjs.Line,\n bar: vueChartjs.Bar,\n pie: vueChartjs.Pie,\n doughnut: vueChartjs.Doughnut,\n radar: vueChartjs.Radar,\n }\n\n ready.value = true\n})\n\nonBeforeUnmount(() => { themeObserver?.disconnect() })\n\nwatch(() => props.type, () => {\n if (ready.value) chartComponent.value = componentMap.value[props.type] ?? null\n}, { immediate: true })\n\nwatch(ready, () => {\n chartComponent.value = componentMap.value[props.type] ?? null\n})\n\nconst mergedOptions = computed<Record<string, any>>(() => {\n const c = m3Colors.value\n const base: Record<string, any> = {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n labels: {\n color: c.onSurface,\n font: { family: c.fontFamily, size: 12 },\n usePointStyle: true,\n pointStyle: 'circle',\n padding: 16,\n },\n },\n tooltip: {\n backgroundColor: c.surfaceContainer,\n titleColor: c.onSurface,\n bodyColor: c.onSurfaceVariant,\n borderColor: c.outlineVariant,\n borderWidth: 1,\n cornerRadius: 12,\n padding: 12,\n titleFont: { family: c.fontFamily, size: 13, weight: '600' as const },\n bodyFont: { family: c.fontFamily, size: 12 },\n displayColors: true,\n boxPadding: 4,\n },\n },\n }\n\n if (props.type !== 'pie' && props.type !== 'doughnut') {\n base.scales = {\n x: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n y: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n }\n }\n\n if (props.type === 'radar') {\n base.scales = {\n r: {\n grid: { color: c.outlineVariant + '40' },\n angleLines: { color: c.outlineVariant + '40' },\n pointLabels: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 } },\n ticks: { color: c.onSurfaceVariant, backdropColor: 'transparent', font: { family: c.fontFamily } },\n },\n }\n }\n\n return deepMerge(base, props.options ?? {})\n})\n\nfunction deepMerge(target: any, source: any): any {\n const output = { ...target }\n for (const key of Object.keys(source)) {\n if (source[key] && typeof source[key] === 'object' && !Array.isArray(source[key])) {\n output[key] = deepMerge(target[key] ?? {}, source[key])\n } else {\n output[key] = source[key]\n }\n }\n return output\n}\n</script>\n\n<template>\n <div class=\"rounded-lg border border-outline-variant bg-surface p-4\" :style=\"{ height }\">\n <component\n v-if=\"ready && chartComponent\"\n :is=\"chartComponent\"\n :data=\"data\"\n :options=\"mergedOptions\"\n />\n </div>\n</template>\n","<script setup lang=\"ts\">\nimport { computed, ref, watch, onMounted, onBeforeUnmount, shallowRef, type Component } from 'vue'\n\ntype ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'\n\nconst props = withDefaults(\n defineProps<{\n type: ChartType\n data: Record<string, any>\n options?: Record<string, any>\n height?: string\n }>(),\n { height: '300px' },\n)\n\nconst ready = ref(false)\nconst chartComponent = shallowRef<Component | null>(null)\nconst componentMap = shallowRef<Record<string, Component>>({})\n\nfunction getM3Colors() {\n const style = getComputedStyle(document.documentElement)\n const get = (v: string) => style.getPropertyValue(v).trim()\n return {\n primary: get('--color-primary'),\n onSurface: get('--color-on-surface'),\n onSurfaceVariant: get('--color-on-surface-variant'),\n outlineVariant: get('--color-outline-variant'),\n surface: get('--color-surface'),\n surfaceContainer: get('--color-surface-container'),\n // Canvas can't resolve CSS vars, so pass Chart.js the resolved font stack\n fontFamily: get('--font-sans') || \"'Roboto', system-ui, sans-serif\",\n }\n}\n\nconst m3Colors = ref(getM3Colors())\n\nlet themeObserver: MutationObserver | null = null\n\nonMounted(async () => {\n m3Colors.value = getM3Colors()\n\n themeObserver = new MutationObserver(() => { m3Colors.value = getM3Colors() })\n // `class` flips light/dark, `data-palette` switches the palette (useColorPalette / createM3UI).\n themeObserver.observe(document.documentElement, { attributes: true, attributeFilter: ['class', 'style', 'data-palette'] })\n // Canvas text drawn before a web font finishes loading keeps the fallback, so redraw once it has\n document.fonts?.ready.then(() => { m3Colors.value = getM3Colors() })\n\n const [chartjs, vueChartjs] = await Promise.all([\n import('chart.js'),\n import('vue-chartjs'),\n ])\n\n chartjs.Chart.register(\n chartjs.CategoryScale,\n chartjs.LinearScale,\n chartjs.PointElement,\n chartjs.LineElement,\n chartjs.BarElement,\n chartjs.ArcElement,\n chartjs.RadialLinearScale,\n chartjs.Filler,\n chartjs.Tooltip,\n chartjs.Legend,\n chartjs.Title,\n )\n\n componentMap.value = {\n line: vueChartjs.Line,\n bar: vueChartjs.Bar,\n pie: vueChartjs.Pie,\n doughnut: vueChartjs.Doughnut,\n radar: vueChartjs.Radar,\n }\n\n ready.value = true\n})\n\nonBeforeUnmount(() => { themeObserver?.disconnect() })\n\nwatch(() => props.type, () => {\n if (ready.value) chartComponent.value = componentMap.value[props.type] ?? null\n}, { immediate: true })\n\nwatch(ready, () => {\n chartComponent.value = componentMap.value[props.type] ?? null\n})\n\nconst mergedOptions = computed<Record<string, any>>(() => {\n const c = m3Colors.value\n const base: Record<string, any> = {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n labels: {\n color: c.onSurface,\n font: { family: c.fontFamily, size: 12 },\n usePointStyle: true,\n pointStyle: 'circle',\n padding: 16,\n },\n },\n tooltip: {\n backgroundColor: c.surfaceContainer,\n titleColor: c.onSurface,\n bodyColor: c.onSurfaceVariant,\n borderColor: c.outlineVariant,\n borderWidth: 1,\n cornerRadius: 12,\n padding: 12,\n titleFont: { family: c.fontFamily, size: 13, weight: '600' as const },\n bodyFont: { family: c.fontFamily, size: 12 },\n displayColors: true,\n boxPadding: 4,\n },\n },\n }\n\n if (props.type !== 'pie' && props.type !== 'doughnut') {\n base.scales = {\n x: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n y: {\n grid: { color: c.outlineVariant + '40', drawTicks: false },\n ticks: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 }, padding: 8 },\n border: { color: c.outlineVariant },\n },\n }\n }\n\n if (props.type === 'radar') {\n base.scales = {\n r: {\n grid: { color: c.outlineVariant + '40' },\n angleLines: { color: c.outlineVariant + '40' },\n pointLabels: { color: c.onSurfaceVariant, font: { family: c.fontFamily, size: 11 } },\n ticks: { color: c.onSurfaceVariant, backdropColor: 'transparent', font: { family: c.fontFamily } },\n },\n }\n }\n\n return deepMerge(base, props.options ?? {})\n})\n\nfunction deepMerge(target: any, source: any): any {\n const output = { ...target }\n for (const key of Object.keys(source)) {\n if (source[key] && typeof source[key] === 'object' && !Array.isArray(source[key])) {\n output[key] = deepMerge(target[key] ?? {}, source[key])\n } else {\n output[key] = source[key]\n }\n }\n return output\n}\n</script>\n\n<template>\n <div class=\"rounded-lg border border-outline-variant bg-surface p-4\" :style=\"{ height }\">\n <component\n v-if=\"ready && chartComponent\"\n :is=\"chartComponent\"\n :data=\"data\"\n :options=\"mergedOptions\"\n />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;EAKA,IAAM,IAAQ,GAUR,IAAQ,EAAI,EAAK,GACjB,IAAiB,EAA6B,IAAI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B,KAAK;IAC7C,aAAa;KAAE,OAAO,EAAE;KAAkB,MAAM;MAAE,QAAQ,EAAE;MAAY,MAAM;KAAG;IAAE;IACnF,OAAO;KAAE,OAAO,EAAE;KAAkB,eAAe;KAAe,MAAM,EAAE,QAAQ,EAAE,WAAW;IAAE;GACnG,EACF,IAGK,EAAU,GAAM,EAAM,WAAW,CAAC,CAAC;EAC5C,CAAC;EAED,SAAS,EAAU,GAAa,GAAkB;GAChD,IAAM,IAAS,EAAE,GAAG,EAAO;GAC3B,KAAK,IAAM,KAAO,OAAO,KAAK,CAAM,GAClC,AAGE,EAAO,KAHL,EAAO,MAAQ,OAAO,EAAO,MAAS,YAAY,CAAC,MAAM,QAAQ,EAAO,EAAI,IAChE,EAAU,EAAO,MAAQ,CAAC,GAAG,EAAO,EAAI,IAExC,EAAO;GAGzB,OAAO;EACT;oBAIE,EAAA,GAAA,EAOM,OAAA;GAPD,OAAM;GAA2D,OAAK,EAAA,EAAA,QAAI,EAAA,OAAM,CAAA;EAE3E,GAAA,CAAA,EAAA,SAAS,EAAA,SADjB,EAAA,GAAA,EAKE,EAHK,EAAA,KAAc,GAAA;;GAClB,MAAM,EAAA;GACN,SAAS,EAAA"}
|
package/dist/code-editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./useLocale-
|
|
1
|
+
import { r as e } from "./useLocale-Bircp823.js";
|
|
2
2
|
import { t } from "./MIcon-CaEooCmZ.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, onMounted as p, openBlock as m, ref as h, renderSlot as g, toDisplayString as _, watch as v, withCtx as y } from "vue";
|
|
@@ -3,11 +3,11 @@ type __VLS_Props = {
|
|
|
3
3
|
title?: string;
|
|
4
4
|
fullHeight?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_21: {}, __VLS_23: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof
|
|
8
|
+
default?: (props: typeof __VLS_21) => any;
|
|
9
9
|
} & {
|
|
10
|
-
actions?: (props: typeof
|
|
10
|
+
actions?: (props: typeof __VLS_23) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (args_0: boolean) => any;
|
|
@@ -9,10 +9,12 @@ type __VLS_Props = {
|
|
|
9
9
|
tail?: boolean;
|
|
10
10
|
size?: 'small' | 'medium' | 'large';
|
|
11
11
|
maxWidth?: string;
|
|
12
|
+
/** Shows a live indicator instead of the content: bouncing dots while the other person types, or a mic with a moving waveform while they record audio. */
|
|
13
|
+
typing?: 'text' | 'audio';
|
|
12
14
|
};
|
|
13
|
-
declare var
|
|
15
|
+
declare var __VLS_11: {};
|
|
14
16
|
type __VLS_Slots = {} & {
|
|
15
|
-
default?: (props: typeof
|
|
17
|
+
default?: (props: typeof __VLS_11) => any;
|
|
16
18
|
};
|
|
17
19
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
20
|
color: "primary" | "secondary" | "tertiary";
|
|
@@ -4,6 +4,8 @@ type __VLS_Props = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
label?: string;
|
|
6
6
|
color?: "primary" | "secondary" | "tertiary" | "error";
|
|
7
|
+
/** Accessible name for the input when there's no visible label (e.g. a list row's checkbox). */
|
|
8
|
+
ariaLabel?: string;
|
|
7
9
|
};
|
|
8
10
|
declare var __VLS_6: {};
|
|
9
11
|
type __VLS_Slots = {} & {
|
|
@@ -5,13 +5,24 @@ export interface DragDropItem {
|
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
modelValue: DragDropItem[];
|
|
7
7
|
handle?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Drops the row's own look (padding, min height, hover/dragged state layer, background)
|
|
11
|
+
* so the slot draws the whole row, e.g. one card per item. Dragging, the lift shadow
|
|
12
|
+
* (as a drop-shadow that follows your content's shape) and keyboard support remain.
|
|
13
|
+
* With `handle`, bind the slot's `handleProps` onto your own grip element.
|
|
14
|
+
*/
|
|
15
|
+
bare?: boolean;
|
|
8
16
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
type __VLS_Slots = {
|
|
18
|
+
default?: (props: {
|
|
19
|
+
item: DragDropItem;
|
|
20
|
+
index: number;
|
|
21
|
+
/** True while this row is lifted (pointer drag, drop settle, or keyboard grab). */
|
|
22
|
+
dragging: boolean;
|
|
23
|
+
/** With `handle`: spread onto your own grip (`v-bind="handleProps"`), needed in `bare` mode. */
|
|
24
|
+
handleProps: Record<string, unknown>;
|
|
25
|
+
}) => unknown;
|
|
15
26
|
};
|
|
16
27
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
28
|
"update:modelValue": (args_0: DragDropItem[]) => any;
|
|
@@ -28,7 +39,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
28
39
|
items: DragDropItem[];
|
|
29
40
|
}) => any) | undefined;
|
|
30
41
|
}>, {
|
|
42
|
+
disabled: boolean;
|
|
31
43
|
handle: boolean;
|
|
44
|
+
bare: boolean;
|
|
32
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
47
|
declare const _default: typeof __VLS_export;
|
|
@@ -14,16 +14,28 @@ type __VLS_Props = {
|
|
|
14
14
|
selectText?: string;
|
|
15
15
|
maxSizePrefix?: string;
|
|
16
16
|
removeLabel?: string;
|
|
17
|
+
/** Optional v-model. Bind it to own the list: clear it, or update each entry's status/progress. Unbound, the component keeps the list itself. */
|
|
18
|
+
modelValue?: UploadFile[];
|
|
17
19
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
type __VLS_Slots = {
|
|
21
|
+
dropzone?: () => unknown;
|
|
22
|
+
/** Shown below the list while it has files, e.g. an "Upload" button. */
|
|
23
|
+
actions?: (props: {
|
|
24
|
+
files: UploadFile[];
|
|
25
|
+
clear: () => void;
|
|
26
|
+
}) => unknown;
|
|
21
27
|
};
|
|
22
|
-
declare
|
|
28
|
+
declare function clear(): void;
|
|
29
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
30
|
+
clear: typeof clear;
|
|
31
|
+
files: import("vue").ComputedRef<UploadFile[]>;
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
33
|
select: (args_0: UploadFile[]) => any;
|
|
34
|
+
"update:modelValue": (args_0: UploadFile[]) => any;
|
|
24
35
|
remove: (args_0: UploadFile) => any;
|
|
25
36
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
37
|
onSelect?: ((args_0: UploadFile[]) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((args_0: UploadFile[]) => any) | undefined;
|
|
27
39
|
onRemove?: ((args_0: UploadFile) => any) | undefined;
|
|
28
40
|
}>, {
|
|
29
41
|
disabled: boolean;
|
|
@@ -7,17 +7,26 @@ export interface KanbanColumn {
|
|
|
7
7
|
title: string;
|
|
8
8
|
cards: KanbanCard[];
|
|
9
9
|
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success';
|
|
10
|
+
/** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */
|
|
11
|
+
limit?: number;
|
|
10
12
|
}
|
|
11
13
|
type __VLS_Props = {
|
|
12
14
|
modelValue: KanbanColumn[];
|
|
13
15
|
emptyText?: string;
|
|
14
16
|
};
|
|
15
|
-
|
|
16
|
-
card:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
type __VLS_Slots = {
|
|
18
|
+
card?: (props: {
|
|
19
|
+
card: KanbanCard;
|
|
20
|
+
column: KanbanColumn;
|
|
21
|
+
dragging: boolean;
|
|
22
|
+
}) => unknown;
|
|
23
|
+
'column-header'?: (props: {
|
|
24
|
+
column: KanbanColumn;
|
|
25
|
+
count: number;
|
|
26
|
+
}) => unknown;
|
|
27
|
+
'column-footer'?: (props: {
|
|
28
|
+
column: KanbanColumn;
|
|
29
|
+
}) => unknown;
|
|
21
30
|
};
|
|
22
31
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
32
|
"update:modelValue": (args_0: KanbanColumn[]) => any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Whether the detail is the current destination. One-pane layouts show it instead of the list. */
|
|
3
|
+
showDetail?: boolean;
|
|
4
|
+
/** List pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class). */
|
|
5
|
+
listWidth?: string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {
|
|
8
|
+
list?: (props: {
|
|
9
|
+
twoPane: boolean;
|
|
10
|
+
}) => unknown;
|
|
11
|
+
/** `back()` returns to the list (sets `showDetail` to false). */
|
|
12
|
+
detail?: (props: {
|
|
13
|
+
twoPane: boolean;
|
|
14
|
+
back: () => void;
|
|
15
|
+
}) => unknown;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:showDetail": (args_0: boolean) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:showDetail"?: ((args_0: boolean) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
showDetail: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ItemLink } from '../composables/_useItemLink';
|
|
1
2
|
export interface NavRailItem {
|
|
2
3
|
value: string | number;
|
|
3
4
|
label: string;
|
|
@@ -5,6 +6,8 @@ export interface NavRailItem {
|
|
|
5
6
|
badge?: number;
|
|
6
7
|
badgeDot?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
9
|
+
/** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */
|
|
10
|
+
to?: ItemLink;
|
|
8
11
|
}
|
|
9
12
|
type __VLS_Props = {
|
|
10
13
|
modelValue: string | number;
|
|
@@ -21,11 +24,11 @@ type __VLS_Props = {
|
|
|
21
24
|
*/
|
|
22
25
|
modal?: boolean;
|
|
23
26
|
};
|
|
24
|
-
declare var __VLS_1: {},
|
|
27
|
+
declare var __VLS_1: {}, __VLS_53: {};
|
|
25
28
|
type __VLS_Slots = {} & {
|
|
26
29
|
fab?: (props: typeof __VLS_1) => any;
|
|
27
30
|
} & {
|
|
28
|
-
fab?: (props: typeof
|
|
31
|
+
fab?: (props: typeof __VLS_53) => any;
|
|
29
32
|
};
|
|
30
33
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
34
|
"update:modelValue": (args_0: string | number) => any;
|
|
@@ -34,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
34
37
|
"onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
|
|
35
38
|
"onUpdate:expanded"?: ((args_0: boolean) => any) | undefined;
|
|
36
39
|
}>, {
|
|
37
|
-
modal: boolean;
|
|
38
40
|
expanded: boolean;
|
|
41
|
+
modal: boolean;
|
|
39
42
|
alignment: "top" | "center" | "bottom";
|
|
40
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
44
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ItemLink } from '../composables/_useItemLink';
|
|
2
|
+
export interface NavigationSuiteItem {
|
|
3
|
+
value: string | number;
|
|
4
|
+
label: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
badge?: number;
|
|
7
|
+
badgeDot?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */
|
|
10
|
+
to?: ItemLink;
|
|
11
|
+
}
|
|
12
|
+
/** The navigation component in use: a short bar (icons over labels, or beside them), or a rail. */
|
|
13
|
+
export type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none';
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
modelValue: string | number;
|
|
16
|
+
items: NavigationSuiteItem[];
|
|
17
|
+
/**
|
|
18
|
+
* 'auto' picks by the component's own size, as M3's NavigationSuiteScaffold does
|
|
19
|
+
* (`navigationSuiteType`): compact width → short bar; compact height (a phone in landscape)
|
|
20
|
+
* → short bar with icons beside labels; anything else → collapsed rail. Set it to force one.
|
|
21
|
+
*/
|
|
22
|
+
layout?: 'auto' | NavigationSuiteLayout;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Slots = {
|
|
25
|
+
/** The app's content. Scrolls on its own, next to or above the navigation. */
|
|
26
|
+
default?: (props: {
|
|
27
|
+
layout: NavigationSuiteLayout;
|
|
28
|
+
}) => unknown;
|
|
29
|
+
/** Primary action (e.g. a FAB): the rail's header, or floating above the bar at the bottom end. */
|
|
30
|
+
fab?: () => unknown;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (args_0: string | number) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
"onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
layout: "auto" | NavigationSuiteLayout;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
|
+
declare const _default: typeof __VLS_export;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { type ItemLink } from '../composables/_useItemLink';
|
|
1
2
|
export interface ShortNavBarItem {
|
|
2
3
|
value: string | number;
|
|
3
4
|
label: string;
|
|
4
5
|
icon: string;
|
|
5
6
|
badge?: number;
|
|
6
7
|
badgeDot?: boolean;
|
|
8
|
+
/** Not selectable: icon and label at 38% of the unselected color, no hover. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */
|
|
11
|
+
to?: ItemLink;
|
|
7
12
|
}
|
|
8
13
|
type __VLS_Props = {
|
|
9
14
|
modelValue: string | number;
|
|
@@ -27,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
27
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
33
|
"onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
|
|
29
34
|
}>, {
|
|
30
|
-
iconPosition: "top" | "start";
|
|
31
35
|
arrangement: "equal" | "centered";
|
|
36
|
+
iconPosition: "top" | "start";
|
|
32
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
38
|
declare const _default: typeof __VLS_export;
|
|
34
39
|
export default _default;
|
|
@@ -3,13 +3,13 @@ type __VLS_Props = {
|
|
|
3
3
|
title?: string;
|
|
4
4
|
width?: string;
|
|
5
5
|
};
|
|
6
|
-
declare var
|
|
6
|
+
declare var __VLS_16: {}, __VLS_23: {}, __VLS_25: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
header?: (props: typeof
|
|
8
|
+
header?: (props: typeof __VLS_16) => any;
|
|
9
9
|
} & {
|
|
10
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_23) => any;
|
|
11
11
|
} & {
|
|
12
|
-
actions?: (props: typeof
|
|
12
|
+
actions?: (props: typeof __VLS_25) => any;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (args_0: boolean) => any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Where the supporting pane goes when there's room for only one pane. */
|
|
3
|
+
singlePane?: 'below' | 'sheet';
|
|
4
|
+
/** With `singlePane="sheet"`: whether the sheet is open (v-model:open). */
|
|
5
|
+
open?: boolean;
|
|
6
|
+
/** With `singlePane="sheet"`: the sheet's title. */
|
|
7
|
+
sheetTitle?: string;
|
|
8
|
+
/** Supporting pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class). */
|
|
9
|
+
supportingWidth?: string;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {
|
|
12
|
+
main?: (props: {
|
|
13
|
+
twoPane: boolean;
|
|
14
|
+
}) => unknown;
|
|
15
|
+
supporting?: (props: {
|
|
16
|
+
twoPane: boolean;
|
|
17
|
+
}) => unknown;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:open": (args_0: boolean) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onUpdate:open"?: ((args_0: boolean) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
open: boolean;
|
|
25
|
+
singlePane: "below" | "sheet";
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -2,38 +2,65 @@ export interface TransferItem {
|
|
|
2
2
|
value: string | number;
|
|
3
3
|
label: string;
|
|
4
4
|
icon?: string;
|
|
5
|
+
/** Optional second line under the label (an email, a role, a short description). */
|
|
6
|
+
description?: string;
|
|
5
7
|
}
|
|
6
|
-
type __VLS_Props = {
|
|
7
|
-
modelValue: (string | number)[];
|
|
8
|
-
items: TransferItem[];
|
|
9
|
-
sourceTitle?: string;
|
|
10
|
-
targetTitle?: string;
|
|
11
|
-
filterable?: boolean;
|
|
12
|
-
searchPlaceholder?: string;
|
|
13
|
-
emptyText?: string;
|
|
14
|
-
moveAllRightLabel?: string;
|
|
15
|
-
moveRightLabel?: string;
|
|
16
|
-
moveLeftLabel?: string;
|
|
17
|
-
moveAllLeftLabel?: string;
|
|
18
|
-
};
|
|
19
|
-
declare var __VLS_13: {}, __VLS_55: {};
|
|
20
|
-
type __VLS_Slots = {} & {
|
|
21
|
-
'source-empty'?: (props: typeof __VLS_13) => any;
|
|
22
|
-
} & {
|
|
23
|
-
'target-empty'?: (props: typeof __VLS_55) => any;
|
|
24
|
-
};
|
|
25
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (args_0: (string | number)[]) => any;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((args_0: (string | number)[]) => any) | undefined;
|
|
29
|
-
}>, {
|
|
30
|
-
filterable: boolean;
|
|
31
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
8
|
declare const _default: typeof __VLS_export;
|
|
34
9
|
export default _default;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
10
|
+
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
12
|
+
modelValue: (string | number)[];
|
|
13
|
+
items: T[];
|
|
14
|
+
sourceTitle?: string;
|
|
15
|
+
targetTitle?: string;
|
|
16
|
+
filterable?: boolean;
|
|
17
|
+
searchPlaceholder?: string;
|
|
18
|
+
emptyText?: string;
|
|
19
|
+
moveAllRightLabel?: string;
|
|
20
|
+
moveRightLabel?: string;
|
|
21
|
+
moveLeftLabel?: string;
|
|
22
|
+
moveAllLeftLabel?: string;
|
|
23
|
+
/** Height of each list's scroll area (any CSS length). */
|
|
24
|
+
listHeight?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Fully custom rows: the `#item` slot draws the whole row (no checkbox, padding, min height
|
|
27
|
+
* or background). The row stays clickable, focusable (Space checks it, Enter moves it) and
|
|
28
|
+
* animated; use the slot's `checked` to style the checked state.
|
|
29
|
+
*/
|
|
30
|
+
bare?: boolean;
|
|
31
|
+
} & {
|
|
32
|
+
"onUpdate:modelValue"?: ((args_0: (string | number)[]) => any) | undefined;
|
|
33
|
+
}> & (typeof globalThis extends {
|
|
34
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
35
|
+
} ? P : {});
|
|
36
|
+
expose: (exposed: {}) => void;
|
|
37
|
+
attrs: any;
|
|
38
|
+
slots: {
|
|
39
|
+
/**
|
|
40
|
+
* Custom row content. Without `bare` it replaces the icon and text, keeping the checkbox,
|
|
41
|
+
* highlight and hover. Buttons, links, fields and `[data-transfer-action]` elements inside
|
|
42
|
+
* keep their own clicks instead of checking the row.
|
|
43
|
+
*/
|
|
44
|
+
item?: (props: {
|
|
45
|
+
/** Your item, with any extra fields it carries. */
|
|
46
|
+
item: T;
|
|
47
|
+
checked: boolean;
|
|
48
|
+
/** Which pane the row is in. */
|
|
49
|
+
side: "source" | "target";
|
|
50
|
+
/** Check or uncheck the row. */
|
|
51
|
+
toggle: () => void;
|
|
52
|
+
/** Send just this row to the other pane. */
|
|
53
|
+
move: () => void;
|
|
54
|
+
}) => unknown;
|
|
55
|
+
'source-empty'?: () => unknown;
|
|
56
|
+
'target-empty'?: () => unknown;
|
|
38
57
|
};
|
|
58
|
+
emit: (evt: "update:modelValue", args_0: (string | number)[]) => void;
|
|
59
|
+
}>) => import("vue").VNode & {
|
|
60
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
39
61
|
};
|
|
62
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} : {
|
|
65
|
+
[K in keyof T as K]: T[K];
|
|
66
|
+
}) & {};
|
|
@@ -14,13 +14,33 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
14
14
|
draggable?: boolean;
|
|
15
15
|
closable?: boolean;
|
|
16
16
|
minimizable?: boolean;
|
|
17
|
+
/** Maximize button, and double-click on the title bar, to fill the parent and back. */
|
|
18
|
+
maximizable?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Edge snapping while dragging, like GNOME: hold the pointer at the parent's top edge to
|
|
21
|
+
* maximize, or at its left/right edge to fill that half. A preview shows where it will land.
|
|
22
|
+
*/
|
|
23
|
+
snap?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Lets the window be dragged partly out of its container, like a desktop: up to 3/4 of its
|
|
26
|
+
* width past either side, and down until only the title bar shows; never above the top.
|
|
27
|
+
* The container should clip it (`overflow: hidden`).
|
|
28
|
+
*/
|
|
29
|
+
offscreen?: boolean;
|
|
17
30
|
x?: number;
|
|
18
31
|
y?: number;
|
|
19
32
|
resetPosition?: boolean;
|
|
20
|
-
}, {
|
|
33
|
+
}, {
|
|
34
|
+
/** Brings the window to the front, e.g. from a taskbar. */
|
|
35
|
+
focus: () => void;
|
|
36
|
+
toggleMaximize: () => void;
|
|
37
|
+
toggleMinimize: () => void;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
39
|
"update:modelValue": (value: boolean) => any;
|
|
22
40
|
close: () => any;
|
|
41
|
+
focus: () => any;
|
|
23
42
|
minimize: () => any;
|
|
43
|
+
maximize: (maximized: boolean) => any;
|
|
24
44
|
}, string, import("vue").PublicProps, Readonly<{
|
|
25
45
|
modelValue: boolean;
|
|
26
46
|
title?: string;
|
|
@@ -35,13 +55,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
35
55
|
draggable?: boolean;
|
|
36
56
|
closable?: boolean;
|
|
37
57
|
minimizable?: boolean;
|
|
58
|
+
/** Maximize button, and double-click on the title bar, to fill the parent and back. */
|
|
59
|
+
maximizable?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Edge snapping while dragging, like GNOME: hold the pointer at the parent's top edge to
|
|
62
|
+
* maximize, or at its left/right edge to fill that half. A preview shows where it will land.
|
|
63
|
+
*/
|
|
64
|
+
snap?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Lets the window be dragged partly out of its container, like a desktop: up to 3/4 of its
|
|
67
|
+
* width past either side, and down until only the title bar shows; never above the top.
|
|
68
|
+
* The container should clip it (`overflow: hidden`).
|
|
69
|
+
*/
|
|
70
|
+
offscreen?: boolean;
|
|
38
71
|
x?: number;
|
|
39
72
|
y?: number;
|
|
40
73
|
resetPosition?: boolean;
|
|
41
74
|
}> & Readonly<{
|
|
42
75
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
43
76
|
onClose?: (() => any) | undefined;
|
|
77
|
+
onFocus?: (() => any) | undefined;
|
|
44
78
|
onMinimize?: (() => any) | undefined;
|
|
79
|
+
onMaximize?: ((maximized: boolean) => any) | undefined;
|
|
45
80
|
}>, {
|
|
46
81
|
width: string;
|
|
47
82
|
height: string;
|
|
@@ -50,9 +85,12 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
50
85
|
y: number;
|
|
51
86
|
x: number;
|
|
52
87
|
minimizable: boolean;
|
|
88
|
+
maximizable: boolean;
|
|
53
89
|
minWidth: number;
|
|
54
90
|
draggable: boolean;
|
|
55
91
|
resizable: boolean;
|
|
92
|
+
snap: boolean;
|
|
93
|
+
offscreen: boolean;
|
|
56
94
|
resetPosition: boolean;
|
|
57
95
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
58
96
|
header?: (props: {}) => any;
|