vuetify 3.9.3 → 3.9.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/dist/json/attributes.json +3354 -3342
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +150 -150
- package/dist/json/tags.json +5 -2
- package/dist/json/web-types.json +6563 -6534
- package/dist/vuetify-labs.cjs +222 -119
- package/dist/vuetify-labs.css +4072 -4024
- package/dist/vuetify-labs.d.ts +167 -135
- package/dist/vuetify-labs.esm.js +222 -119
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +222 -119
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +163 -94
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +4249 -4216
- package/dist/vuetify.d.ts +50 -63
- package/dist/vuetify.esm.js +163 -94
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +163 -94
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +483 -482
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +9 -2
- package/lib/components/VAlert/VAlert.js +2 -2
- package/lib/components/VAlert/VAlert.js.map +1 -1
- package/lib/components/VAlert/VAlert.sass +10 -3
- package/lib/components/VAlert/_variables.scss +1 -1
- package/lib/components/VApp/VApp.d.ts +0 -25
- package/lib/components/VApp/VApp.js +6 -5
- package/lib/components/VApp/VApp.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.css +1 -0
- package/lib/components/VColorPicker/VColorPickerCanvas.sass +1 -0
- package/lib/components/VColorPicker/VColorPickerEdit.css +5 -0
- package/lib/components/VColorPicker/VColorPickerEdit.js +8 -1
- package/lib/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.sass +5 -0
- package/lib/components/VColorPicker/VColorPickerPreview.js +8 -1
- package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/lib/components/VColorPicker/util/index.d.ts +1 -0
- package/lib/components/VColorPicker/util/index.js +20 -10
- package/lib/components/VColorPicker/util/index.js.map +1 -1
- package/lib/components/VConfirmEdit/VConfirmEdit.js +1 -1
- package/lib/components/VConfirmEdit/VConfirmEdit.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.css +2 -1
- package/lib/components/VDataTable/VDataTable.sass +2 -1
- package/lib/components/VDataTable/composables/headers.js +53 -42
- package/lib/components/VDataTable/composables/headers.js.map +1 -1
- package/lib/components/VDataTable/composables/sort.js +1 -1
- package/lib/components/VDataTable/composables/sort.js.map +1 -1
- package/lib/components/VNumberInput/VNumberInput.js +1 -0
- package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
- package/lib/components/VOverlay/scrollStrategies.js +7 -7
- package/lib/components/VOverlay/scrollStrategies.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +1 -1
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSlider/VSliderThumb.css +2 -2
- package/lib/components/VSlider/VSliderThumb.sass +2 -2
- package/lib/components/VStepper/VStepperItem.css +9 -4
- package/lib/components/VStepper/VStepperItem.sass +8 -7
- package/lib/components/VTable/VTable.css +2 -2
- package/lib/components/VTable/VTable.js +32 -20
- package/lib/components/VTable/VTable.js.map +1 -1
- package/lib/components/VTable/VTable.sass +4 -4
- package/lib/components/VTextField/VTextField.js +1 -0
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewItem.css +6 -0
- package/lib/components/VTreeview/VTreeviewItem.sass +7 -0
- package/lib/components/VWindow/VWindow.css +8 -0
- package/lib/components/VWindow/VWindow.sass +9 -0
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +49 -49
- package/lib/framework.js +1 -1
- package/lib/labs/VColorInput/VColorInput.css +15 -0
- package/lib/labs/VColorInput/VColorInput.d.ts +287 -215
- package/lib/labs/VColorInput/VColorInput.js +24 -10
- package/lib/labs/VColorInput/VColorInput.js.map +1 -1
- package/lib/labs/VColorInput/VColorInput.sass +8 -0
- package/lib/labs/VColorInput/_variables.scss +2 -0
- package/lib/labs/VVideo/VVideo.css +4 -4
- package/lib/labs/VVideo/VVideo.d.ts +10 -0
- package/lib/labs/VVideo/VVideo.js +6 -3
- package/lib/labs/VVideo/VVideo.js.map +1 -1
- package/lib/labs/VVideo/VVideo.sass +4 -2
- package/lib/labs/VVideo/VVideoControls.js +33 -16
- package/lib/labs/VVideo/VVideoControls.js.map +1 -1
- package/lib/labs/VVideo/VVideoVolume.js +1 -1
- package/lib/labs/VVideo/VVideoVolume.js.map +1 -1
- package/lib/labs/VVideo/_variables.scss +3 -2
- package/lib/labs/rules/rules.d.ts +10 -3
- package/lib/labs/rules/rules.js +13 -5
- package/lib/labs/rules/rules.js.map +1 -1
- package/lib/locale/af.d.ts +17 -0
- package/lib/locale/af.js +17 -0
- package/lib/locale/af.js.map +1 -1
- package/lib/locale/ar.d.ts +17 -0
- package/lib/locale/ar.js +17 -0
- package/lib/locale/ar.js.map +1 -1
- package/lib/locale/az.d.ts +17 -0
- package/lib/locale/az.js +17 -0
- package/lib/locale/az.js.map +1 -1
- package/lib/locale/bg.d.ts +17 -0
- package/lib/locale/bg.js +17 -0
- package/lib/locale/bg.js.map +1 -1
- package/lib/locale/ca.d.ts +17 -0
- package/lib/locale/ca.js +17 -0
- package/lib/locale/ca.js.map +1 -1
- package/lib/locale/ckb.d.ts +17 -0
- package/lib/locale/ckb.js +17 -0
- package/lib/locale/ckb.js.map +1 -1
- package/lib/locale/cs.d.ts +17 -0
- package/lib/locale/cs.js +17 -0
- package/lib/locale/cs.js.map +1 -1
- package/lib/locale/da.d.ts +17 -0
- package/lib/locale/da.js +17 -0
- package/lib/locale/da.js.map +1 -1
- package/lib/locale/de.d.ts +17 -0
- package/lib/locale/de.js +17 -0
- package/lib/locale/de.js.map +1 -1
- package/lib/locale/el.d.ts +17 -0
- package/lib/locale/el.js +17 -0
- package/lib/locale/el.js.map +1 -1
- package/lib/locale/en.d.ts +17 -0
- package/lib/locale/en.js +17 -0
- package/lib/locale/en.js.map +1 -1
- package/lib/locale/es.d.ts +17 -0
- package/lib/locale/es.js +17 -0
- package/lib/locale/es.js.map +1 -1
- package/lib/locale/et.d.ts +17 -0
- package/lib/locale/et.js +17 -0
- package/lib/locale/et.js.map +1 -1
- package/lib/locale/fa.d.ts +17 -0
- package/lib/locale/fa.js +17 -0
- package/lib/locale/fa.js.map +1 -1
- package/lib/locale/fi.d.ts +17 -0
- package/lib/locale/fi.js +17 -0
- package/lib/locale/fi.js.map +1 -1
- package/lib/locale/fr.d.ts +17 -0
- package/lib/locale/fr.js +17 -0
- package/lib/locale/fr.js.map +1 -1
- package/lib/locale/he.d.ts +17 -0
- package/lib/locale/he.js +17 -0
- package/lib/locale/he.js.map +1 -1
- package/lib/locale/hr.d.ts +17 -0
- package/lib/locale/hr.js +17 -0
- package/lib/locale/hr.js.map +1 -1
- package/lib/locale/hu.d.ts +17 -0
- package/lib/locale/hu.js +17 -0
- package/lib/locale/hu.js.map +1 -1
- package/lib/locale/id.d.ts +17 -0
- package/lib/locale/id.js +17 -0
- package/lib/locale/id.js.map +1 -1
- package/lib/locale/it.d.ts +17 -0
- package/lib/locale/it.js +17 -0
- package/lib/locale/it.js.map +1 -1
- package/lib/locale/ja.d.ts +17 -0
- package/lib/locale/ja.js +17 -0
- package/lib/locale/ja.js.map +1 -1
- package/lib/locale/km.d.ts +17 -0
- package/lib/locale/km.js +17 -0
- package/lib/locale/km.js.map +1 -1
- package/lib/locale/ko.d.ts +17 -0
- package/lib/locale/ko.js +17 -0
- package/lib/locale/ko.js.map +1 -1
- package/lib/locale/lt.d.ts +17 -0
- package/lib/locale/lt.js +17 -0
- package/lib/locale/lt.js.map +1 -1
- package/lib/locale/lv.d.ts +17 -0
- package/lib/locale/lv.js +17 -0
- package/lib/locale/lv.js.map +1 -1
- package/lib/locale/nl.d.ts +17 -0
- package/lib/locale/nl.js +17 -0
- package/lib/locale/nl.js.map +1 -1
- package/lib/locale/no.d.ts +17 -0
- package/lib/locale/no.js +17 -0
- package/lib/locale/no.js.map +1 -1
- package/lib/locale/pl.d.ts +17 -0
- package/lib/locale/pl.js +17 -0
- package/lib/locale/pl.js.map +1 -1
- package/lib/locale/pt.d.ts +17 -0
- package/lib/locale/pt.js +17 -0
- package/lib/locale/pt.js.map +1 -1
- package/lib/locale/ro.d.ts +17 -0
- package/lib/locale/ro.js +17 -0
- package/lib/locale/ro.js.map +1 -1
- package/lib/locale/ru.d.ts +17 -0
- package/lib/locale/ru.js +17 -0
- package/lib/locale/ru.js.map +1 -1
- package/lib/locale/sk.d.ts +17 -0
- package/lib/locale/sk.js +17 -0
- package/lib/locale/sk.js.map +1 -1
- package/lib/locale/sl.d.ts +17 -0
- package/lib/locale/sl.js +17 -0
- package/lib/locale/sl.js.map +1 -1
- package/lib/locale/sr-Cyrl.d.ts +17 -0
- package/lib/locale/sr-Cyrl.js +17 -0
- package/lib/locale/sr-Cyrl.js.map +1 -1
- package/lib/locale/sr-Latn.d.ts +17 -0
- package/lib/locale/sr-Latn.js +17 -0
- package/lib/locale/sr-Latn.js.map +1 -1
- package/lib/locale/sv.d.ts +17 -0
- package/lib/locale/sv.js +17 -0
- package/lib/locale/sv.js.map +1 -1
- package/lib/locale/th.d.ts +17 -0
- package/lib/locale/th.js +17 -0
- package/lib/locale/th.js.map +1 -1
- package/lib/locale/tr.d.ts +17 -0
- package/lib/locale/tr.js +17 -0
- package/lib/locale/tr.js.map +1 -1
- package/lib/locale/uk.d.ts +17 -0
- package/lib/locale/uk.js +17 -0
- package/lib/locale/uk.js.map +1 -1
- package/lib/locale/vi.d.ts +17 -0
- package/lib/locale/vi.js +17 -0
- package/lib/locale/vi.js.map +1 -1
- package/lib/locale/zh-Hans.d.ts +17 -0
- package/lib/locale/zh-Hans.js +17 -0
- package/lib/locale/zh-Hans.js.map +1 -1
- package/lib/locale/zh-Hant.d.ts +17 -0
- package/lib/locale/zh-Hant.js +17 -0
- package/lib/locale/zh-Hant.js.map +1 -1
- package/lib/util/getScrollParent.js +3 -1
- package/lib/util/getScrollParent.js.map +1 -1
- package/package.json +2 -2
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
height: 100%;
|
|
39
39
|
}
|
|
40
40
|
.v-table.v-table--striped-even > .v-table__wrapper > table > tbody > tr:nth-child(even) {
|
|
41
|
-
background-
|
|
41
|
+
background-image: linear-gradient(0deg, rgba(var(--v-border-color), var(--v-hover-opacity)), rgba(var(--v-border-color), var(--v-hover-opacity)));
|
|
42
42
|
}
|
|
43
43
|
.v-table.v-table--striped-odd > .v-table__wrapper > table > tbody > tr:nth-child(odd) {
|
|
44
|
-
background-
|
|
44
|
+
background-image: linear-gradient(0deg, rgba(var(--v-border-color), var(--v-hover-opacity)), rgba(var(--v-border-color), var(--v-hover-opacity)));
|
|
45
45
|
}
|
|
46
46
|
.v-table.v-table--fixed-header > .v-table__wrapper > table > thead > tr > th {
|
|
47
47
|
background: rgb(var(--v-theme-surface));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementVNode as _createElementVNode,
|
|
1
|
+
import { createElementVNode as _createElementVNode, createVNode as _createVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
2
2
|
// Styles
|
|
3
3
|
import "./VTable.css";
|
|
4
4
|
|
|
@@ -8,6 +8,7 @@ import { makeDensityProps, useDensity } from "../../composables/density.js";
|
|
|
8
8
|
import { makeTagProps } from "../../composables/tag.js";
|
|
9
9
|
import { makeThemeProps, provideTheme } from "../../composables/theme.js"; // Utilities
|
|
10
10
|
import { convertToUnit, genericComponent, propsFactory, useRender } from "../../util/index.js"; // Types
|
|
11
|
+
import { VDefaultsProvider } from "../VDefaultsProvider/index.js";
|
|
11
12
|
export const makeVTableProps = propsFactory({
|
|
12
13
|
fixedHeader: Boolean,
|
|
13
14
|
fixedFooter: Boolean,
|
|
@@ -37,26 +38,37 @@ export const VTable = genericComponent()({
|
|
|
37
38
|
const {
|
|
38
39
|
densityClasses
|
|
39
40
|
} = useDensity(props);
|
|
40
|
-
useRender(() =>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
'v-table--fixed-footer': props.fixedFooter,
|
|
45
|
-
'v-table--has-top': !!slots.top,
|
|
46
|
-
'v-table--has-bottom': !!slots.bottom,
|
|
47
|
-
'v-table--hover': props.hover,
|
|
48
|
-
'v-table--striped-even': props.striped === 'even',
|
|
49
|
-
'v-table--striped-odd': props.striped === 'odd'
|
|
50
|
-
}, themeClasses.value, densityClasses.value, props.class]),
|
|
51
|
-
"style": _normalizeStyle(props.style)
|
|
52
|
-
}, {
|
|
53
|
-
default: () => [slots.top?.(), slots.default ? _createElementVNode("div", {
|
|
54
|
-
"class": "v-table__wrapper",
|
|
55
|
-
"style": {
|
|
56
|
-
height: convertToUnit(props.height)
|
|
41
|
+
useRender(() => {
|
|
42
|
+
const tableContentDefaults = {
|
|
43
|
+
VCheckboxBtn: {
|
|
44
|
+
density: props.density
|
|
57
45
|
}
|
|
58
|
-
}
|
|
59
|
-
|
|
46
|
+
};
|
|
47
|
+
return _createVNode(props.tag, {
|
|
48
|
+
"class": _normalizeClass(['v-table', {
|
|
49
|
+
'v-table--fixed-height': !!props.height,
|
|
50
|
+
'v-table--fixed-header': props.fixedHeader,
|
|
51
|
+
'v-table--fixed-footer': props.fixedFooter,
|
|
52
|
+
'v-table--has-top': !!slots.top,
|
|
53
|
+
'v-table--has-bottom': !!slots.bottom,
|
|
54
|
+
'v-table--hover': props.hover,
|
|
55
|
+
'v-table--striped-even': props.striped === 'even',
|
|
56
|
+
'v-table--striped-odd': props.striped === 'odd'
|
|
57
|
+
}, themeClasses.value, densityClasses.value, props.class]),
|
|
58
|
+
"style": _normalizeStyle(props.style)
|
|
59
|
+
}, {
|
|
60
|
+
default: () => [slots.top?.(), _createVNode(VDefaultsProvider, {
|
|
61
|
+
"defaults": tableContentDefaults
|
|
62
|
+
}, {
|
|
63
|
+
default: () => [slots.default ? _createElementVNode("div", {
|
|
64
|
+
"class": "v-table__wrapper",
|
|
65
|
+
"style": {
|
|
66
|
+
height: convertToUnit(props.height)
|
|
67
|
+
}
|
|
68
|
+
}, [_createElementVNode("table", null, [slots.default()])]) : slots.wrapper?.()]
|
|
69
|
+
}), slots.bottom?.()]
|
|
70
|
+
});
|
|
71
|
+
});
|
|
60
72
|
return {};
|
|
61
73
|
}
|
|
62
74
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTable.js","names":["makeComponentProps","makeDensityProps","useDensity","makeTagProps","makeThemeProps","provideTheme","convertToUnit","genericComponent","propsFactory","useRender","makeVTableProps","fixedHeader","Boolean","fixedFooter","height","Number","String","hover","striped","type","default","validator","v","includes","VTable","name","props","setup","_ref","slots","emit","themeClasses","densityClasses","_createVNode","tag","_normalizeClass","top","bottom","value","class","_normalizeStyle","style","_createElementVNode","wrapper"],"sources":["../../../src/components/VTable/VTable.tsx"],"sourcesContent":["// Styles\nimport './VTable.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport type VTableSlots = {\n default: never\n top: never\n bottom: never\n wrapper: never\n}\n\nexport type Striped = null | 'odd' | 'even'\n\nexport const makeVTableProps = propsFactory({\n fixedHeader: Boolean,\n fixedFooter: Boolean,\n height: [Number, String],\n hover: Boolean,\n striped: {\n type: String as PropType<Striped>,\n default: null,\n validator: (v: any) => ['even', 'odd'].includes(v),\n },\n\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n}, 'VTable')\n\nexport const VTable = genericComponent<VTableSlots>()({\n name: 'VTable',\n\n props: makeVTableProps(),\n\n setup (props, { slots, emit }) {\n const { themeClasses } = provideTheme(props)\n const { densityClasses } = useDensity(props)\n\n useRender(() => (\n
|
|
1
|
+
{"version":3,"file":"VTable.js","names":["makeComponentProps","makeDensityProps","useDensity","makeTagProps","makeThemeProps","provideTheme","convertToUnit","genericComponent","propsFactory","useRender","VDefaultsProvider","makeVTableProps","fixedHeader","Boolean","fixedFooter","height","Number","String","hover","striped","type","default","validator","v","includes","VTable","name","props","setup","_ref","slots","emit","themeClasses","densityClasses","tableContentDefaults","VCheckboxBtn","density","_createVNode","tag","_normalizeClass","top","bottom","value","class","_normalizeStyle","style","_createElementVNode","wrapper"],"sources":["../../../src/components/VTable/VTable.tsx"],"sourcesContent":["// Styles\nimport './VTable.sass'\n\n// Composables\nimport { makeComponentProps } from '@/composables/component'\nimport { makeDensityProps, useDensity } from '@/composables/density'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeThemeProps, provideTheme } from '@/composables/theme'\n\n// Utilities\nimport { convertToUnit, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport { VDefaultsProvider } from '../VDefaultsProvider'\n\nexport type VTableSlots = {\n default: never\n top: never\n bottom: never\n wrapper: never\n}\n\nexport type Striped = null | 'odd' | 'even'\n\nexport const makeVTableProps = propsFactory({\n fixedHeader: Boolean,\n fixedFooter: Boolean,\n height: [Number, String],\n hover: Boolean,\n striped: {\n type: String as PropType<Striped>,\n default: null,\n validator: (v: any) => ['even', 'odd'].includes(v),\n },\n\n ...makeComponentProps(),\n ...makeDensityProps(),\n ...makeTagProps(),\n ...makeThemeProps(),\n}, 'VTable')\n\nexport const VTable = genericComponent<VTableSlots>()({\n name: 'VTable',\n\n props: makeVTableProps(),\n\n setup (props, { slots, emit }) {\n const { themeClasses } = provideTheme(props)\n const { densityClasses } = useDensity(props)\n\n useRender(() => {\n const tableContentDefaults = {\n VCheckboxBtn: {\n density: props.density,\n },\n }\n\n return (\n <props.tag\n class={[\n 'v-table',\n {\n 'v-table--fixed-height': !!props.height,\n 'v-table--fixed-header': props.fixedHeader,\n 'v-table--fixed-footer': props.fixedFooter,\n 'v-table--has-top': !!slots.top,\n 'v-table--has-bottom': !!slots.bottom,\n 'v-table--hover': props.hover,\n 'v-table--striped-even': props.striped === 'even',\n 'v-table--striped-odd': props.striped === 'odd',\n },\n themeClasses.value,\n densityClasses.value,\n props.class,\n ]}\n style={ props.style }\n >\n { slots.top?.() }\n <VDefaultsProvider defaults={ tableContentDefaults }>\n { slots.default ? (\n <div\n class=\"v-table__wrapper\"\n style={{ height: convertToUnit(props.height) }}\n >\n <table>\n { slots.default() }\n </table>\n </div>\n ) : slots.wrapper?.()}\n </VDefaultsProvider>\n\n { slots.bottom?.() }\n </props.tag>\n )\n })\n\n return {}\n },\n})\n\nexport type VTable = InstanceType<typeof VTable>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,kBAAkB;AAAA,SAClBC,gBAAgB,EAAEC,UAAU;AAAA,SAC5BC,YAAY;AAAA,SACZC,cAAc,EAAEC,YAAY,sCAErC;AAAA,SACSC,aAAa,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,+BAEjE;AAAA,SAESC,iBAAiB;AAW1B,OAAO,MAAMC,eAAe,GAAGH,YAAY,CAAC;EAC1CI,WAAW,EAAEC,OAAO;EACpBC,WAAW,EAAED,OAAO;EACpBE,MAAM,EAAE,CAACC,MAAM,EAAEC,MAAM,CAAC;EACxBC,KAAK,EAAEL,OAAO;EACdM,OAAO,EAAE;IACPC,IAAI,EAAEH,MAA2B;IACjCI,OAAO,EAAE,IAAI;IACbC,SAAS,EAAGC,CAAM,IAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAACC,QAAQ,CAACD,CAAC;EACnD,CAAC;EAED,GAAGvB,kBAAkB,CAAC,CAAC;EACvB,GAAGC,gBAAgB,CAAC,CAAC;EACrB,GAAGE,YAAY,CAAC,CAAC;EACjB,GAAGC,cAAc,CAAC;AACpB,CAAC,EAAE,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b,OAAA,EAAAA,CAAA,MAC9CS,KAAK,CAACT,OAAO,GAAAyB,mBAAA;YAAA;YAAA,SAGJ;cAAE/B,MAAM,EAAET,aAAa,CAACqB,KAAK,CAACZ,MAAM;YAAE;UAAC,IAAA+B,mBAAA,iBAG1ChB,KAAK,CAACT,OAAO,CAAC,CAAC,OAGnBS,KAAK,CAACiB,OAAO,GAAG,CAAC;QAAA,IAGrBjB,KAAK,CAACW,MAAM,GAAG,CAAC;MAAA;IAGxB,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
background: $table-hover-color
|
|
49
49
|
pointer-events: none
|
|
50
50
|
@include tools.absolute(true)
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
&.v-table--striped-even
|
|
53
53
|
> .v-table__wrapper
|
|
54
54
|
> table
|
|
55
55
|
> tbody
|
|
56
56
|
> tr:nth-child(even)
|
|
57
|
-
background-
|
|
58
|
-
|
|
57
|
+
background-image: linear-gradient(0deg, $table-stripe-color, $table-stripe-color)
|
|
58
|
+
|
|
59
59
|
&.v-table--striped-odd
|
|
60
60
|
> .v-table__wrapper
|
|
61
61
|
> table
|
|
62
62
|
> tbody
|
|
63
63
|
> tr:nth-child(odd)
|
|
64
|
-
background-
|
|
64
|
+
background-image: linear-gradient(0deg, $table-stripe-color, $table-stripe-color)
|
|
65
65
|
|
|
66
66
|
&.v-table--fixed-header
|
|
67
67
|
> .v-table__wrapper
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTextField.js","names":["VCounter","makeVFieldProps","VField","makeVInputProps","VInput","useAutofocus","useFocus","forwardRefs","useProxiedModel","vIntersect","cloneVNode","computed","nextTick","ref","callEvent","filterInputAttrs","genericComponent","propsFactory","useRender","activeTypes","makeVTextFieldProps","autofocus","Boolean","counter","Number","String","counterValue","Function","prefix","placeholder","persistentPlaceholder","persistentCounter","suffix","role","type","default","modelModifiers","Object","VTextField","name","directives","inheritAttrs","props","emits","e","focused","val","setup","_ref","attrs","emit","slots","model","isFocused","focus","blur","onIntersect","value","toString","length","max","maxlength","undefined","isPlainOrUnderlined","includes","variant","vInputRef","vFieldRef","inputRef","isActive","active","onFocus","document","activeElement","onControlMousedown","target","preventDefault","onControlClick","onClear","reset","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","filterProps","fieldProps","_createVNode","_mergeProps","$event","class","style","_ref2","id","isDisabled","isDirty","isReadonly","isValid","dirty","_ref3","fieldClass","slotProps","inputNode","_withDirectives","_createElementVNode","handler","once","_Fragment","_normalizeClass","disabled"],"sources":["../../../src/components/VTextField/VTextField.tsx"],"sourcesContent":["// Styles\nimport './VTextField.sass'\n\n// Components\nimport { VCounter } from '@/components/VCounter/VCounter'\nimport { makeVFieldProps, VField } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useAutofocus } from '@/composables/autofocus'\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport vIntersect from '@/directives/intersect'\n\n// Utilities\nimport { cloneVNode, computed, nextTick, ref } from 'vue'\nimport { callEvent, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VCounterSlot } from '@/components/VCounter/VCounter'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nconst activeTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'month']\n\nexport const makeVTextFieldProps = propsFactory({\n autofocus: Boolean,\n counter: [Boolean, Number, String],\n counterValue: [Number, Function] as PropType<number | ((value: any) => number)>,\n prefix: String,\n placeholder: String,\n persistentPlaceholder: Boolean,\n persistentCounter: Boolean,\n suffix: String,\n role: String,\n type: {\n type: String,\n default: 'text',\n },\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'VTextField')\n\nexport type VTextFieldSlots = Omit<VInputSlots & VFieldSlots, 'default'> & {\n default: never\n counter: VCounterSlot\n}\n\nexport const VTextField = genericComponent<VTextFieldSlots>()({\n name: 'VTextField',\n\n directives: { vIntersect },\n\n inheritAttrs: false,\n\n props: makeVTextFieldProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { isFocused, focus, blur } = useFocus(props)\n const { onIntersect } = useAutofocus(props)\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function' ? props.counterValue(model.value)\n : typeof props.counterValue === 'number' ? props.counterValue\n : (model.value ?? '').toString().length\n })\n const max = computed(() => {\n if (attrs.maxlength) return attrs.maxlength as unknown as undefined\n\n if (\n !props.counter ||\n (typeof props.counter !== 'number' &&\n typeof props.counter !== 'string')\n ) return undefined\n\n return props.counter\n })\n\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VField>()\n const inputRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n activeTypes.includes(props.type) ||\n props.persistentPlaceholder ||\n isFocused.value ||\n props.active\n ))\n function onFocus () {\n if (!isFocused.value) focus()\n\n nextTick(() => {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n })\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n\n if (e.target === inputRef.value) return\n\n onFocus()\n e.preventDefault()\n }\n function onControlClick (e: MouseEvent) {\n emit('click:control', e)\n }\n function onClear (e: MouseEvent, reset: () => void) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = null\n reset()\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLInputElement\n model.value = el.value\n if (\n props.modelModifiers?.trim &&\n ['text', 'search', 'password', 'tel', 'url'].includes(props.type)\n ) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n useRender(() => {\n const hasCounter = !!(slots.counter || (props.counter !== false && props.counter != null))\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const { modelValue: _, ...inputProps } = VInput.filterProps(props)\n const fieldProps = VField.filterProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class={[\n 'v-text-field',\n {\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-input--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n { ...rootAttrs }\n { ...inputProps }\n centerAffix={ !isPlainOrUnderlined.value }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n hasDetails,\n reset,\n }) => (\n <VField\n ref={ vFieldRef }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:clear={ (e: MouseEvent) => onClear(e, reset) }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n role={ props.role }\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n details={ hasDetails.value }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => {\n const inputNode = (\n <input\n ref={ inputRef }\n value={ model.value }\n onInput={ onInput }\n v-intersect={[{\n handler: onIntersect,\n }, null, ['once']]}\n autofocus={ props.autofocus }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n name={ props.name }\n placeholder={ props.placeholder }\n size={ 1 }\n type={ props.type }\n onFocus={ focus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n <span class=\"v-text-field__prefix__text\">\n { props.prefix }\n </span>\n </span>\n )}\n\n { slots.default ? (\n <div\n class={ fieldClass }\n data-no-activator=\"\"\n >\n { slots.default() }\n { inputNode }\n </div>\n ) : cloneVNode(inputNode, { class: fieldClass })}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n <span class=\"v-text-field__suffix__text\">\n { props.suffix }\n </span>\n </span>\n )}\n </>\n )\n },\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ props.persistentCounter || isFocused.value }\n value={ counterValue.value }\n max={ max.value }\n disabled={ props.disabled }\n v-slots:default={ slots.counter }\n />\n </>\n )}\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VTextField = InstanceType<typeof VTextField>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,QAAQ;AAAA,SACRC,eAAe,EAAEC,MAAM;AAAA,SACvBC,eAAe,EAAEC,MAAM,+BAEhC;AAAA,SACSC,YAAY;AAAA,SACZC,QAAQ;AAAA,SACRC,WAAW;AAAA,SACXC,eAAe,6CAExB;AAAA,OACOC,UAAU,6CAEjB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;AAAA,SAChDC,SAAS,EAAEC,gBAAgB,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,+BAE/E;AAMA,MAAMC,WAAW,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAA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xD;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"VTextField.js","names":["VCounter","makeVFieldProps","VField","makeVInputProps","VInput","useAutofocus","useFocus","forwardRefs","useProxiedModel","vIntersect","cloneVNode","computed","nextTick","ref","callEvent","filterInputAttrs","genericComponent","propsFactory","useRender","activeTypes","makeVTextFieldProps","autofocus","Boolean","counter","Number","String","counterValue","Function","prefix","placeholder","persistentPlaceholder","persistentCounter","suffix","role","type","default","modelModifiers","Object","VTextField","name","directives","inheritAttrs","props","emits","e","focused","val","setup","_ref","attrs","emit","slots","model","isFocused","focus","blur","onIntersect","value","toString","length","max","maxlength","undefined","isPlainOrUnderlined","includes","variant","vInputRef","vFieldRef","inputRef","isActive","active","onFocus","document","activeElement","onControlMousedown","target","preventDefault","onControlClick","onClear","reset","stopPropagation","onInput","el","trim","caretPosition","selectionStart","selectionEnd","hasCounter","hasDetails","details","rootAttrs","inputAttrs","modelValue","_","inputProps","filterProps","fieldProps","_createVNode","_mergeProps","$event","class","style","_ref2","id","isDisabled","isDirty","isReadonly","isValid","dirty","_ref3","fieldClass","slotProps","inputNode","_withDirectives","_createElementVNode","handler","once","_Fragment","_normalizeClass","disabled"],"sources":["../../../src/components/VTextField/VTextField.tsx"],"sourcesContent":["// Styles\nimport './VTextField.sass'\n\n// Components\nimport { VCounter } from '@/components/VCounter/VCounter'\nimport { makeVFieldProps, VField } from '@/components/VField/VField'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\n\n// Composables\nimport { useAutofocus } from '@/composables/autofocus'\nimport { useFocus } from '@/composables/focus'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Directives\nimport vIntersect from '@/directives/intersect'\n\n// Utilities\nimport { cloneVNode, computed, nextTick, ref } from 'vue'\nimport { callEvent, filterInputAttrs, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { VCounterSlot } from '@/components/VCounter/VCounter'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nconst activeTypes = ['color', 'file', 'time', 'date', 'datetime-local', 'week', 'month']\n\nexport const makeVTextFieldProps = propsFactory({\n autofocus: Boolean,\n counter: [Boolean, Number, String],\n counterValue: [Number, Function] as PropType<number | ((value: any) => number)>,\n prefix: String,\n placeholder: String,\n persistentPlaceholder: Boolean,\n persistentCounter: Boolean,\n suffix: String,\n role: String,\n type: {\n type: String,\n default: 'text',\n },\n modelModifiers: Object as PropType<Record<string, boolean>>,\n\n ...makeVInputProps(),\n ...makeVFieldProps(),\n}, 'VTextField')\n\nexport type VTextFieldSlots = Omit<VInputSlots & VFieldSlots, 'default'> & {\n default: never\n counter: VCounterSlot\n}\n\nexport const VTextField = genericComponent<VTextFieldSlots>()({\n name: 'VTextField',\n\n directives: { vIntersect },\n\n inheritAttrs: false,\n\n props: makeVTextFieldProps(),\n\n emits: {\n 'click:control': (e: MouseEvent) => true,\n 'mousedown:control': (e: MouseEvent) => true,\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (val: string) => true,\n },\n\n setup (props, { attrs, emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const { isFocused, focus, blur } = useFocus(props)\n const { onIntersect } = useAutofocus(props)\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function' ? props.counterValue(model.value)\n : typeof props.counterValue === 'number' ? props.counterValue\n : (model.value ?? '').toString().length\n })\n const max = computed(() => {\n if (attrs.maxlength) return attrs.maxlength as unknown as undefined\n\n if (\n !props.counter ||\n (typeof props.counter !== 'number' &&\n typeof props.counter !== 'string')\n ) return undefined\n\n return props.counter\n })\n\n const isPlainOrUnderlined = computed(() => ['plain', 'underlined'].includes(props.variant))\n\n const vInputRef = ref<VInput>()\n const vFieldRef = ref<VField>()\n const inputRef = ref<HTMLInputElement>()\n const isActive = computed(() => (\n activeTypes.includes(props.type) ||\n props.persistentPlaceholder ||\n isFocused.value ||\n props.active\n ))\n function onFocus () {\n if (!isFocused.value) focus()\n\n nextTick(() => {\n if (inputRef.value !== document.activeElement) {\n inputRef.value?.focus()\n }\n })\n }\n function onControlMousedown (e: MouseEvent) {\n emit('mousedown:control', e)\n\n if (e.target === inputRef.value) return\n\n onFocus()\n e.preventDefault()\n }\n function onControlClick (e: MouseEvent) {\n emit('click:control', e)\n }\n function onClear (e: MouseEvent, reset: () => void) {\n e.stopPropagation()\n\n onFocus()\n\n nextTick(() => {\n model.value = null\n reset()\n\n callEvent(props['onClick:clear'], e)\n })\n }\n function onInput (e: Event) {\n const el = e.target as HTMLInputElement\n model.value = el.value\n if (\n props.modelModifiers?.trim &&\n ['text', 'search', 'password', 'tel', 'url'].includes(props.type)\n ) {\n const caretPosition = [el.selectionStart, el.selectionEnd]\n nextTick(() => {\n el.selectionStart = caretPosition[0]\n el.selectionEnd = caretPosition[1]\n })\n }\n }\n\n useRender(() => {\n const hasCounter = !!(slots.counter || (props.counter !== false && props.counter != null))\n const hasDetails = !!(hasCounter || slots.details)\n const [rootAttrs, inputAttrs] = filterInputAttrs(attrs)\n const { modelValue: _, ...inputProps } = VInput.filterProps(props)\n const fieldProps = VField.filterProps(props)\n\n return (\n <VInput\n ref={ vInputRef }\n v-model={ model.value }\n class={[\n 'v-text-field',\n {\n 'v-text-field--prefixed': props.prefix,\n 'v-text-field--suffixed': props.suffix,\n 'v-input--plain-underlined': isPlainOrUnderlined.value,\n },\n props.class,\n ]}\n style={ props.style }\n { ...rootAttrs }\n { ...inputProps }\n centerAffix={ !isPlainOrUnderlined.value }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n default: ({\n id,\n isDisabled,\n isDirty,\n isReadonly,\n isValid,\n hasDetails,\n reset,\n }) => (\n <VField\n ref={ vFieldRef }\n onMousedown={ onControlMousedown }\n onClick={ onControlClick }\n onClick:clear={ (e: MouseEvent) => onClear(e, reset) }\n onClick:prependInner={ props['onClick:prependInner'] }\n onClick:appendInner={ props['onClick:appendInner'] }\n role={ props.role }\n { ...fieldProps }\n id={ id.value }\n active={ isActive.value || isDirty.value }\n dirty={ isDirty.value || props.dirty }\n disabled={ isDisabled.value }\n focused={ isFocused.value }\n details={ hasDetails.value }\n error={ isValid.value === false }\n >\n {{\n ...slots,\n default: ({\n props: { class: fieldClass, ...slotProps },\n }) => {\n const inputNode = (\n <input\n ref={ inputRef }\n value={ model.value }\n onInput={ onInput }\n v-intersect={[{\n handler: onIntersect,\n }, null, ['once']]}\n autofocus={ props.autofocus }\n readonly={ isReadonly.value }\n disabled={ isDisabled.value }\n name={ props.name }\n placeholder={ props.placeholder }\n size={ 1 }\n role={ props.role }\n type={ props.type }\n onFocus={ focus }\n onBlur={ blur }\n { ...slotProps }\n { ...inputAttrs }\n />\n )\n\n return (\n <>\n { props.prefix && (\n <span class=\"v-text-field__prefix\">\n <span class=\"v-text-field__prefix__text\">\n { props.prefix }\n </span>\n </span>\n )}\n\n { slots.default ? (\n <div\n class={ fieldClass }\n data-no-activator=\"\"\n >\n { slots.default() }\n { inputNode }\n </div>\n ) : cloneVNode(inputNode, { class: fieldClass })}\n\n { props.suffix && (\n <span class=\"v-text-field__suffix\">\n <span class=\"v-text-field__suffix__text\">\n { props.suffix }\n </span>\n </span>\n )}\n </>\n )\n },\n }}\n </VField>\n ),\n details: hasDetails ? slotProps => (\n <>\n { slots.details?.(slotProps) }\n\n { hasCounter && (\n <>\n <span />\n\n <VCounter\n active={ props.persistentCounter || isFocused.value }\n value={ counterValue.value }\n max={ max.value }\n disabled={ props.disabled }\n v-slots:default={ slots.counter }\n />\n </>\n )}\n </>\n ) : undefined,\n }}\n </VInput>\n )\n })\n\n return forwardRefs({}, vInputRef, vFieldRef, inputRef)\n },\n})\n\nexport type VTextField = InstanceType<typeof VTextField>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,QAAQ;AAAA,SACRC,eAAe,EAAEC,MAAM;AAAA,SACvBC,eAAe,EAAEC,MAAM,+BAEhC;AAAA,SACSC,YAAY;AA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AAAjG,QAAA;UAAA,UAKG0C,KAAK,CAACX,iBAAiB,IAAIsB,SAAS,CAACI,KAAK;UAAA,SAC3C/B,YAAY,CAAC+B,KAAK;UAAA,OACpBG,GAAG,CAACH,KAAK;UAAA,YACJf,KAAK,CAAC6E;QAAQ,GACPpE,KAAK,CAAC5B,OAAO,GAGpC,EAEJ,GAAGuC;MAAS;IAIrB,CAAC,CAAC;IAEF,OAAOvD,WAAW,CAAC,CAAC,CAAC,EAAE2D,SAAS,EAAEC,SAAS,EAAEC,QAAQ,CAAC;EACxD;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
.v-treeview-item.v-treeview-item--filtered {
|
|
5
5
|
display: none;
|
|
6
6
|
}
|
|
7
|
+
.v-treeview-item.v-list-item--disabled:not(a) {
|
|
8
|
+
pointer-events: auto;
|
|
9
|
+
}
|
|
10
|
+
.v-treeview-item.v-list-item--disabled:not(a) .v-selection-control {
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
}
|
|
7
13
|
.v-treeview-item__level {
|
|
8
14
|
width: 28px;
|
|
9
15
|
}
|
|
@@ -29,9 +29,17 @@
|
|
|
29
29
|
.v-window--show-arrows-on-hover .v-window__left {
|
|
30
30
|
transform: translateX(-200%);
|
|
31
31
|
}
|
|
32
|
+
:has(.v-window__controls--right).v-window--show-arrows-on-hover .v-window__left {
|
|
33
|
+
transform: translateX(200%);
|
|
34
|
+
}
|
|
35
|
+
|
|
32
36
|
.v-window--show-arrows-on-hover .v-window__right {
|
|
33
37
|
transform: translateX(200%);
|
|
34
38
|
}
|
|
39
|
+
:has(.v-window__controls--left).v-window--show-arrows-on-hover .v-window__right {
|
|
40
|
+
transform: translateX(-200%);
|
|
41
|
+
}
|
|
42
|
+
|
|
35
43
|
.v-window--show-arrows-on-hover:hover .v-window__left,
|
|
36
44
|
.v-window--show-arrows-on-hover:hover .v-window__right {
|
|
37
45
|
transform: translateX(0);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:selector'
|
|
1
2
|
@use '../../styles/tools'
|
|
2
3
|
@use './variables' as *
|
|
3
4
|
|
|
@@ -33,9 +34,17 @@
|
|
|
33
34
|
.v-window__left
|
|
34
35
|
transform: translateX(-200%)
|
|
35
36
|
|
|
37
|
+
@at-root #{selector.append(':has(.v-window__controls--right)', &)}
|
|
38
|
+
.v-window__left
|
|
39
|
+
transform: translateX(200%)
|
|
40
|
+
|
|
36
41
|
.v-window__right
|
|
37
42
|
transform: translateX(200%)
|
|
38
43
|
|
|
44
|
+
@at-root #{selector.append(':has(.v-window__controls--left)', &)}
|
|
45
|
+
.v-window__right
|
|
46
|
+
transform: translateX(-200%)
|
|
47
|
+
|
|
39
48
|
&:hover
|
|
40
49
|
.v-window__left,
|
|
41
50
|
.v-window__right
|
package/lib/entry-bundler.js
CHANGED
|
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
|
16
16
|
...options
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
export const version = "3.9.
|
|
19
|
+
export const version = "3.9.5";
|
|
20
20
|
createVuetify.version = version;
|
|
21
21
|
export { blueprints, components, directives };
|
|
22
22
|
export * from "./composables/index.js";
|
package/lib/framework.d.ts
CHANGED
|
@@ -2605,49 +2605,48 @@ declare module 'vue' {
|
|
|
2605
2605
|
$children?: VNodeChild
|
|
2606
2606
|
}
|
|
2607
2607
|
export interface GlobalComponents {
|
|
2608
|
-
|
|
2609
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
2608
|
+
VApp: typeof import('vuetify/components')['VApp']
|
|
2610
2609
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
2611
2610
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
2612
2611
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
2613
|
-
|
|
2612
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
|
2613
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
2614
2614
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
2615
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
2615
2616
|
VBadge: typeof import('vuetify/components')['VBadge']
|
|
2616
2617
|
VBanner: typeof import('vuetify/components')['VBanner']
|
|
2617
2618
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
|
2618
2619
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
|
2619
2620
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
2620
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
|
2621
2621
|
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
2622
2622
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
|
2623
2623
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
2624
2624
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
2629
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
2625
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
|
2626
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
2627
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
2630
2628
|
VCard: typeof import('vuetify/components')['VCard']
|
|
2631
2629
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
2632
2630
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
|
2633
2631
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
2634
2632
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
2635
2633
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
2636
|
-
|
|
2637
|
-
|
|
2634
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
2635
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
2636
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
2637
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
2638
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
2638
2639
|
VChip: typeof import('vuetify/components')['VChip']
|
|
2639
2640
|
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
2641
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
|
2640
2642
|
VCode: typeof import('vuetify/components')['VCode']
|
|
2643
|
+
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
2641
2644
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
|
2642
2645
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
|
2643
2646
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
|
2644
2647
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
|
2645
2648
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
|
2646
2649
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
|
2647
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
|
2648
|
-
VApp: typeof import('vuetify/components')['VApp']
|
|
2649
|
-
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
2650
|
-
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
|
2651
2650
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
|
2652
2651
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
|
2653
2652
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
|
@@ -2655,19 +2654,27 @@ declare module 'vue' {
|
|
|
2655
2654
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
|
2656
2655
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
|
2657
2656
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
|
2658
|
-
VDialog: typeof import('vuetify/components')['VDialog']
|
|
2659
2657
|
VDivider: typeof import('vuetify/components')['VDivider']
|
|
2658
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
|
2659
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
|
2660
|
+
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
2661
|
+
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
2662
|
+
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
2663
|
+
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
2660
2664
|
VFab: typeof import('vuetify/components')['VFab']
|
|
2665
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
|
2661
2666
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
2662
2667
|
VField: typeof import('vuetify/components')['VField']
|
|
2663
2668
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
2669
|
+
VImg: typeof import('vuetify/components')['VImg']
|
|
2664
2670
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
2665
2671
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
2666
2672
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
2667
2673
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
2668
2674
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
2669
|
-
VImg: typeof import('vuetify/components')['VImg']
|
|
2670
2675
|
VInput: typeof import('vuetify/components')['VInput']
|
|
2676
|
+
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
2677
|
+
VItem: typeof import('vuetify/components')['VItem']
|
|
2671
2678
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
|
2672
2679
|
VKbd: typeof import('vuetify/components')['VKbd']
|
|
2673
2680
|
VList: typeof import('vuetify/components')['VList']
|
|
@@ -2679,27 +2686,27 @@ declare module 'vue' {
|
|
|
2679
2686
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
|
2680
2687
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
2681
2688
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
2682
|
-
VMain: typeof import('vuetify/components')['VMain']
|
|
2683
2689
|
VLabel: typeof import('vuetify/components')['VLabel']
|
|
2684
|
-
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
2685
|
-
VItem: typeof import('vuetify/components')['VItem']
|
|
2686
2690
|
VMessages: typeof import('vuetify/components')['VMessages']
|
|
2687
2691
|
VMenu: typeof import('vuetify/components')['VMenu']
|
|
2688
2692
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
2693
|
+
VMain: typeof import('vuetify/components')['VMain']
|
|
2689
2694
|
VNumberInput: typeof import('vuetify/components')['VNumberInput']
|
|
2690
|
-
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
2691
2695
|
VPagination: typeof import('vuetify/components')['VPagination']
|
|
2692
2696
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
|
2693
|
-
|
|
2694
|
-
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
2697
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
2695
2698
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
2699
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
2700
|
+
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
2696
2701
|
VRating: typeof import('vuetify/components')['VRating']
|
|
2697
|
-
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
2698
2702
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
2703
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
2699
2704
|
VSelect: typeof import('vuetify/components')['VSelect']
|
|
2700
|
-
|
|
2705
|
+
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
2706
|
+
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
2701
2707
|
VSheet: typeof import('vuetify/components')['VSheet']
|
|
2702
2708
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
2709
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
|
2703
2710
|
VSlider: typeof import('vuetify/components')['VSlider']
|
|
2704
2711
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
2705
2712
|
VStepper: typeof import('vuetify/components')['VStepper']
|
|
@@ -2708,40 +2715,35 @@ declare module 'vue' {
|
|
|
2708
2715
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
|
2709
2716
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
|
2710
2717
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
|
2711
|
-
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
2712
|
-
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
2713
|
-
VTable: typeof import('vuetify/components')['VTable']
|
|
2714
2718
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
2715
2719
|
VTextField: typeof import('vuetify/components')['VTextField']
|
|
2720
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
2716
2721
|
VTab: typeof import('vuetify/components')['VTab']
|
|
2717
2722
|
VTabs: typeof import('vuetify/components')['VTabs']
|
|
2718
2723
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
|
2719
2724
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
|
2725
|
+
VTable: typeof import('vuetify/components')['VTable']
|
|
2726
|
+
VTimePicker: typeof import('vuetify/components')['VTimePicker']
|
|
2727
|
+
VTimePickerClock: typeof import('vuetify/components')['VTimePickerClock']
|
|
2728
|
+
VTimePickerControls: typeof import('vuetify/components')['VTimePickerControls']
|
|
2720
2729
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
2721
2730
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
2722
2731
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
2723
2732
|
VTooltip: typeof import('vuetify/components')['VTooltip']
|
|
2724
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
2725
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
2726
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
2727
|
-
VWindow: typeof import('vuetify/components')['VWindow']
|
|
2728
|
-
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
2729
2733
|
VTreeview: typeof import('vuetify/components')['VTreeview']
|
|
2730
2734
|
VTreeviewItem: typeof import('vuetify/components')['VTreeviewItem']
|
|
2731
2735
|
VTreeviewGroup: typeof import('vuetify/components')['VTreeviewGroup']
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
VTimePickerControls: typeof import('vuetify/components')['VTimePickerControls']
|
|
2735
|
-
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
|
2736
|
+
VWindow: typeof import('vuetify/components')['VWindow']
|
|
2737
|
+
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
|
2736
2738
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
|
2739
|
+
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
|
2737
2740
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
|
2738
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
|
2739
2741
|
VForm: typeof import('vuetify/components')['VForm']
|
|
2740
|
-
VHover: typeof import('vuetify/components')['VHover']
|
|
2741
2742
|
VContainer: typeof import('vuetify/components')['VContainer']
|
|
2742
2743
|
VCol: typeof import('vuetify/components')['VCol']
|
|
2743
2744
|
VRow: typeof import('vuetify/components')['VRow']
|
|
2744
2745
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
2746
|
+
VHover: typeof import('vuetify/components')['VHover']
|
|
2745
2747
|
VLayout: typeof import('vuetify/components')['VLayout']
|
|
2746
2748
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
2747
2749
|
VLazy: typeof import('vuetify/components')['VLazy']
|
|
@@ -2751,16 +2753,12 @@ declare module 'vue' {
|
|
|
2751
2753
|
VRadio: typeof import('vuetify/components')['VRadio']
|
|
2752
2754
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
|
2753
2755
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
|
2756
|
+
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
|
2754
2757
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
|
2755
2758
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
|
2756
|
-
VSnackbarQueue: typeof import('vuetify/components')['VSnackbarQueue']
|
|
2757
2759
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
|
2758
|
-
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
2759
|
-
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
2760
|
-
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
2761
|
-
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
2762
|
-
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
|
2763
2760
|
VValidation: typeof import('vuetify/components')['VValidation']
|
|
2761
|
+
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
|
2764
2762
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
|
2765
2763
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
|
2766
2764
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
|
@@ -2777,21 +2775,23 @@ declare module 'vue' {
|
|
|
2777
2775
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
2778
2776
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
2779
2777
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
2778
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
2779
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
2780
2780
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
|
2781
2781
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
|
2782
2782
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
|
2783
2783
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
|
2784
2784
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
|
2785
2785
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
|
2786
|
+
VColorInput: typeof import('vuetify/labs/components')['VColorInput']
|
|
2786
2787
|
VIconBtn: typeof import('vuetify/labs/components')['VIconBtn']
|
|
2787
2788
|
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
|
2788
2789
|
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
|
2790
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
2791
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
2789
2792
|
VPie: typeof import('vuetify/labs/components')['VPie']
|
|
2790
2793
|
VPieSegment: typeof import('vuetify/labs/components')['VPieSegment']
|
|
2791
2794
|
VPieTooltip: typeof import('vuetify/labs/components')['VPieTooltip']
|
|
2792
|
-
VColorInput: typeof import('vuetify/labs/components')['VColorInput']
|
|
2793
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
2794
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
2795
2795
|
VVideo: typeof import('vuetify/labs/components')['VVideo']
|
|
2796
2796
|
VVideoControls: typeof import('vuetify/labs/components')['VVideoControls']
|
|
2797
2797
|
VVideoVolume: typeof import('vuetify/labs/components')['VVideoVolume']
|
|
@@ -2799,8 +2799,8 @@ declare module 'vue' {
|
|
|
2799
2799
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
|
2800
2800
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
|
2801
2801
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
|
2802
|
-
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
|
2803
2802
|
VMaskInput: typeof import('vuetify/labs/components')['VMaskInput']
|
|
2803
|
+
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
|
2804
2804
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
|
2805
2805
|
}
|
|
2806
2806
|
export interface GlobalDirectives {
|
package/lib/framework.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
/* region INPUT */
|
|
2
2
|
.v-color-input {
|
|
3
3
|
padding: 0;
|
|
4
|
+
}
|
|
5
|
+
.v-color-input.v-input--density-default .v-color-input__pip {
|
|
6
|
+
--v-avatar-height: 40px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.v-color-input.v-input--density-comfortable .v-color-input__pip {
|
|
10
|
+
--v-avatar-height: 32px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.v-color-input.v-input--density-compact .v-color-input__pip {
|
|
14
|
+
--v-avatar-height: 28px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.v-color-input .v-color-input__pip.v-avatar--variant-text {
|
|
18
|
+
--v-avatar-height: min-content;
|
|
4
19
|
}
|