@vuetify/nightly 3.4.10-dev.2024-01-16 → 3.4.10-dev.2024-01-18
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/CHANGELOG.md +5 -2
- package/dist/json/attributes.json +12 -0
- package/dist/json/importMap-labs.json +8 -8
- package/dist/json/importMap.json +110 -110
- package/dist/json/tags.json +3 -0
- package/dist/json/web-types.json +103 -1
- package/dist/vuetify-labs.css +1363 -1360
- package/dist/vuetify-labs.d.ts +39 -2
- package/dist/vuetify-labs.esm.js +11 -5
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +11 -5
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +631 -630
- package/dist/vuetify.d.ts +73 -36
- package/dist/vuetify.esm.js +11 -5
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +11 -5
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +9 -9
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +2 -2
- package/lib/components/VAlert/_variables.scss +2 -2
- package/lib/components/VAutocomplete/VAutocomplete.css +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +1 -1
- package/lib/components/VCombobox/VCombobox.css +1 -1
- package/lib/components/VCombobox/VCombobox.sass +1 -1
- package/lib/components/VDataTable/VDataTable.css +2 -1
- package/lib/components/VDataTable/VDataTable.sass +2 -1
- package/lib/components/VDataTable/VDataTableHeaders.mjs +6 -2
- package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +39 -2
- package/lib/components/VSlider/VSliderTrack.css +1 -1
- package/lib/components/VSlider/VSliderTrack.sass +1 -1
- package/lib/components/VSlider/_variables.scss +1 -0
- package/lib/components/VSystemBar/VSystemBar.css +2 -2
- package/lib/components/VSystemBar/_variables.scss +2 -2
- package/lib/components/VTimeline/VTimeline.css +1 -1
- package/lib/components/VTimeline/_variables.scss +1 -1
- package/lib/components/VToolbar/VToolbar.css +2 -2
- package/lib/components/VToolbar/_variables.scss +2 -2
- package/lib/components/index.d.mts +39 -2
- package/lib/composables/theme.mjs +2 -0
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +34 -34
- package/lib/labs/VCalendar/VCalendar.css +4 -2
- package/lib/labs/VCalendar/VCalendar.sass +4 -2
- package/lib/labs/VCalendar/_variables.scss +5 -0
- package/package.json +1 -1
|
@@ -22814,6 +22814,7 @@ declare const VDataTable: {
|
|
|
22814
22814
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
22815
22815
|
filterKeys?: FilterKeys | undefined;
|
|
22816
22816
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
22817
|
+
headerProps?: Record<string, any> | undefined;
|
|
22817
22818
|
} & {
|
|
22818
22819
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
22819
22820
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -22906,6 +22907,7 @@ declare const VDataTable: {
|
|
|
22906
22907
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
22907
22908
|
filterKeys?: FilterKeys | undefined;
|
|
22908
22909
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
22910
|
+
headerProps?: Record<string, any> | undefined;
|
|
22909
22911
|
} & {
|
|
22910
22912
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
22911
22913
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -23163,6 +23165,7 @@ declare const VDataTable: {
|
|
|
23163
23165
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
23164
23166
|
filterKeys?: FilterKeys | undefined;
|
|
23165
23167
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
23168
|
+
headerProps?: Record<string, any> | undefined;
|
|
23166
23169
|
} & {
|
|
23167
23170
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
23168
23171
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -23293,6 +23296,7 @@ declare const VDataTable: {
|
|
|
23293
23296
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
23294
23297
|
filterKeys?: FilterKeys | undefined;
|
|
23295
23298
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
23299
|
+
headerProps?: Record<string, any> | undefined;
|
|
23296
23300
|
} & {
|
|
23297
23301
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
23298
23302
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -23584,6 +23588,9 @@ declare const VDataTable: {
|
|
|
23584
23588
|
type: vue.PropType<IconValue>;
|
|
23585
23589
|
default: string;
|
|
23586
23590
|
};
|
|
23591
|
+
headerProps: {
|
|
23592
|
+
type: vue.PropType<Record<string, any>>;
|
|
23593
|
+
};
|
|
23587
23594
|
sortBy: {
|
|
23588
23595
|
type: vue.PropType<readonly SortItem[]>;
|
|
23589
23596
|
default: () => never[];
|
|
@@ -23758,6 +23765,9 @@ declare const VDataTable: {
|
|
|
23758
23765
|
type: vue.PropType<IconValue>;
|
|
23759
23766
|
default: string;
|
|
23760
23767
|
};
|
|
23768
|
+
headerProps: {
|
|
23769
|
+
type: vue.PropType<Record<string, any>>;
|
|
23770
|
+
};
|
|
23761
23771
|
sortBy: {
|
|
23762
23772
|
type: vue.PropType<readonly SortItem[]>;
|
|
23763
23773
|
default: () => never[];
|
|
@@ -24120,6 +24130,7 @@ declare const VDataTableFooter: {
|
|
|
24120
24130
|
|
|
24121
24131
|
type VDataTableVirtualSlotProps<T> = Omit<VDataTableSlotProps<T>, 'setItemsPerPage' | 'page' | 'pageCount' | 'itemsPerPage'>;
|
|
24122
24132
|
type VDataTableVirtualSlots<T> = VDataTableRowsSlots<T> & VDataTableHeadersSlots & {
|
|
24133
|
+
colgroup: VDataTableVirtualSlotProps<T>;
|
|
24123
24134
|
top: VDataTableVirtualSlotProps<T>;
|
|
24124
24135
|
headers: VDataTableHeadersSlots['headers'];
|
|
24125
24136
|
bottom: VDataTableVirtualSlotProps<T>;
|
|
@@ -24190,6 +24201,7 @@ declare const VDataTableVirtual: {
|
|
|
24190
24201
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
24191
24202
|
filterKeys?: FilterKeys | undefined;
|
|
24192
24203
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
24204
|
+
headerProps?: Record<string, any> | undefined;
|
|
24193
24205
|
} & {
|
|
24194
24206
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
24195
24207
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -24201,7 +24213,7 @@ declare const VDataTableVirtual: {
|
|
|
24201
24213
|
'update:options': (value: any) => boolean;
|
|
24202
24214
|
'update:groupBy': (value: any) => boolean;
|
|
24203
24215
|
'update:expanded': (value: any) => boolean;
|
|
24204
|
-
}, "$children" | "v-slots" | "items" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body.prepend" | "v-slot:body.append">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
24216
|
+
}, "$children" | "v-slots" | "items" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:colgroup" | "v-slot:body.prepend" | "v-slot:body.append">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
|
|
24205
24217
|
style: vue.StyleValue;
|
|
24206
24218
|
expanded: readonly string[];
|
|
24207
24219
|
tag: string;
|
|
@@ -24260,6 +24272,7 @@ declare const VDataTableVirtual: {
|
|
|
24260
24272
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
24261
24273
|
filterKeys?: FilterKeys | undefined;
|
|
24262
24274
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
24275
|
+
headerProps?: Record<string, any> | undefined;
|
|
24263
24276
|
} & {
|
|
24264
24277
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
24265
24278
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -24385,6 +24398,9 @@ declare const VDataTableVirtual: {
|
|
|
24385
24398
|
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
24386
24399
|
[key: string]: any;
|
|
24387
24400
|
}>[];
|
|
24401
|
+
colgroup: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
24402
|
+
[key: string]: any;
|
|
24403
|
+
}>[];
|
|
24388
24404
|
top: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
24389
24405
|
[key: string]: any;
|
|
24390
24406
|
}>[];
|
|
@@ -24463,6 +24479,7 @@ declare const VDataTableVirtual: {
|
|
|
24463
24479
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
24464
24480
|
filterKeys?: FilterKeys | undefined;
|
|
24465
24481
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
24482
|
+
headerProps?: Record<string, any> | undefined;
|
|
24466
24483
|
} & {
|
|
24467
24484
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
24468
24485
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -24558,6 +24575,7 @@ declare const VDataTableVirtual: {
|
|
|
24558
24575
|
customKeyFilter?: FilterKeyFunctions | undefined;
|
|
24559
24576
|
filterKeys?: FilterKeys | undefined;
|
|
24560
24577
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
24578
|
+
headerProps?: Record<string, any> | undefined;
|
|
24561
24579
|
} & {
|
|
24562
24580
|
"onUpdate:sortBy"?: ((value: any) => any) | undefined;
|
|
24563
24581
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -24569,7 +24587,7 @@ declare const VDataTableVirtual: {
|
|
|
24569
24587
|
'update:options': (value: any) => boolean;
|
|
24570
24588
|
'update:groupBy': (value: any) => boolean;
|
|
24571
24589
|
'update:expanded': (value: any) => boolean;
|
|
24572
|
-
}, "$children" | "v-slots" | "items" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:body.prepend" | "v-slot:body.append">, string, {
|
|
24590
|
+
}, "$children" | "v-slots" | "items" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:item" | "itemValue" | "v-slot:no-data" | "cellProps" | "itemSelectable" | "rowProps" | "v-slot:headers" | `v-slot:header.${string}` | "v-slot:data-table-group" | "v-slot:data-table-select" | `v-slot:item.${string}` | "v-slot:loading" | "v-slot:group-header" | "v-slot:expanded-row" | "v-slot:top" | "v-slot:bottom" | "v-slot:colgroup" | "v-slot:body.prepend" | "v-slot:body.append">, string, {
|
|
24573
24591
|
style: vue.StyleValue;
|
|
24574
24592
|
expanded: readonly string[];
|
|
24575
24593
|
tag: string;
|
|
@@ -24689,6 +24707,9 @@ declare const VDataTableVirtual: {
|
|
|
24689
24707
|
}) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
24690
24708
|
[key: string]: any;
|
|
24691
24709
|
}>[];
|
|
24710
|
+
colgroup: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
24711
|
+
[key: string]: any;
|
|
24712
|
+
}>[];
|
|
24692
24713
|
top: (arg: VDataTableVirtualSlotProps<any>) => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
24693
24714
|
[key: string]: any;
|
|
24694
24715
|
}>[];
|
|
@@ -24765,6 +24786,9 @@ declare const VDataTableVirtual: {
|
|
|
24765
24786
|
type: vue.PropType<IconValue>;
|
|
24766
24787
|
default: string;
|
|
24767
24788
|
};
|
|
24789
|
+
headerProps: {
|
|
24790
|
+
type: vue.PropType<Record<string, any>>;
|
|
24791
|
+
};
|
|
24768
24792
|
sortBy: {
|
|
24769
24793
|
type: vue.PropType<readonly SortItem[]>;
|
|
24770
24794
|
default: () => never[];
|
|
@@ -24884,6 +24908,9 @@ declare const VDataTableVirtual: {
|
|
|
24884
24908
|
type: vue.PropType<IconValue>;
|
|
24885
24909
|
default: string;
|
|
24886
24910
|
};
|
|
24911
|
+
headerProps: {
|
|
24912
|
+
type: vue.PropType<Record<string, any>>;
|
|
24913
|
+
};
|
|
24887
24914
|
sortBy: {
|
|
24888
24915
|
type: vue.PropType<readonly SortItem[]>;
|
|
24889
24916
|
default: () => never[];
|
|
@@ -25031,6 +25058,7 @@ declare const VDataTableServer: {
|
|
|
25031
25058
|
}[] | undefined;
|
|
25032
25059
|
theme?: string | undefined;
|
|
25033
25060
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
25061
|
+
headerProps?: Record<string, any> | undefined;
|
|
25034
25062
|
} & {
|
|
25035
25063
|
"onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
|
|
25036
25064
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -25117,6 +25145,7 @@ declare const VDataTableServer: {
|
|
|
25117
25145
|
}[] | undefined;
|
|
25118
25146
|
theme?: string | undefined;
|
|
25119
25147
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
25148
|
+
headerProps?: Record<string, any> | undefined;
|
|
25120
25149
|
} & {
|
|
25121
25150
|
"onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
|
|
25122
25151
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -25367,6 +25396,7 @@ declare const VDataTableServer: {
|
|
|
25367
25396
|
}[] | undefined;
|
|
25368
25397
|
theme?: string | undefined;
|
|
25369
25398
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
25399
|
+
headerProps?: Record<string, any> | undefined;
|
|
25370
25400
|
} & {
|
|
25371
25401
|
"onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
|
|
25372
25402
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -25490,6 +25520,7 @@ declare const VDataTableServer: {
|
|
|
25490
25520
|
}[] | undefined;
|
|
25491
25521
|
theme?: string | undefined;
|
|
25492
25522
|
customKeySort?: Record<string, DataTableCompareFunction> | undefined;
|
|
25523
|
+
headerProps?: Record<string, any> | undefined;
|
|
25493
25524
|
} & {
|
|
25494
25525
|
"onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
|
|
25495
25526
|
"onUpdate:groupBy"?: ((value: any) => any) | undefined;
|
|
@@ -25769,6 +25800,9 @@ declare const VDataTableServer: {
|
|
|
25769
25800
|
type: vue.PropType<IconValue>;
|
|
25770
25801
|
default: string;
|
|
25771
25802
|
};
|
|
25803
|
+
headerProps: {
|
|
25804
|
+
type: vue.PropType<Record<string, any>>;
|
|
25805
|
+
};
|
|
25772
25806
|
sortBy: {
|
|
25773
25807
|
type: vue.PropType<readonly SortItem[]>;
|
|
25774
25808
|
default: () => never[];
|
|
@@ -25939,6 +25973,9 @@ declare const VDataTableServer: {
|
|
|
25939
25973
|
type: vue.PropType<IconValue>;
|
|
25940
25974
|
default: string;
|
|
25941
25975
|
};
|
|
25976
|
+
headerProps: {
|
|
25977
|
+
type: vue.PropType<Record<string, any>>;
|
|
25978
|
+
};
|
|
25942
25979
|
sortBy: {
|
|
25943
25980
|
type: vue.PropType<readonly SortItem[]>;
|
|
25944
25981
|
default: () => never[];
|
|
@@ -20,6 +20,7 @@ function genDefaults() {
|
|
|
20
20
|
background: '#FFFFFF',
|
|
21
21
|
surface: '#FFFFFF',
|
|
22
22
|
'surface-bright': '#FFFFFF',
|
|
23
|
+
'surface-light': '#EEEEEE',
|
|
23
24
|
'surface-variant': '#424242',
|
|
24
25
|
'on-surface-variant': '#EEEEEE',
|
|
25
26
|
primary: '#1867C0',
|
|
@@ -56,6 +57,7 @@ function genDefaults() {
|
|
|
56
57
|
background: '#121212',
|
|
57
58
|
surface: '#212121',
|
|
58
59
|
'surface-bright': '#ccbfd6',
|
|
60
|
+
'surface-light': '#424242',
|
|
59
61
|
'surface-variant': '#a3a3a3',
|
|
60
62
|
'on-surface-variant': '#424242',
|
|
61
63
|
primary: '#2196F3',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.mjs","names":["computed","inject","provide","ref","watch","watchEffect","createRange","darken","getCurrentInstance","getForeground","getLuma","IN_BROWSER","lighten","mergeDeep","parseColor","propsFactory","RGBtoHex","ThemeSymbol","Symbol","for","makeThemeProps","theme","String","genDefaults","defaultTheme","variations","colors","themes","light","dark","background","surface","primary","secondary","error","info","success","warning","variables","parseThemeOptions","options","arguments","length","undefined","defaults","isDisabled","key","Object","entries","createTheme","parsedOptions","name","computedThemes","acc","original","value","color","variation","fn","amount","keys","test","onColor","colorVal","current","styles","lines","createCssClass","genCssVariables","themeName","bgLines","fgLines","Set","values","flatMap","push","map","str","i","join","getHead","style","children","id","nonce","cspNonce","install","app","head","_context","provides","usehead","entry","patch","addHeadObjs","updateDOM","styleEl","document","getElementById","updateStyles","immediate","el","createElement","type","setAttribute","appendChild","innerHTML","themeClasses","global","provideTheme","props","Error","newTheme","useTheme","selector","content","line","lightOverlay","darkOverlay","rgb","r","g","b","startsWith"],"sources":["../../src/composables/theme.ts"],"sourcesContent":["// Utilities\nimport {\n computed,\n inject,\n provide,\n ref,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n createRange,\n darken,\n getCurrentInstance,\n getForeground,\n getLuma,\n IN_BROWSER,\n lighten,\n mergeDeep,\n parseColor,\n propsFactory,\n RGBtoHex,\n} from '@/util'\n\n// Types\nimport type { VueHeadClient } from '@unhead/vue'\nimport type { HeadClient } from '@vueuse/head'\nimport type { App, DeepReadonly, InjectionKey, Ref } from 'vue'\n\ntype DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]> } : T\n\nexport type ThemeOptions = false | {\n cspNonce?: string\n defaultTheme?: string\n variations?: false | VariationsOptions\n themes?: Record<string, ThemeDefinition>\n}\nexport type ThemeDefinition = DeepPartial<InternalThemeDefinition>\n\ninterface InternalThemeOptions {\n cspNonce?: string\n isDisabled: boolean\n defaultTheme: string\n variations: false | VariationsOptions\n themes: Record<string, InternalThemeDefinition>\n}\n\ninterface VariationsOptions {\n colors: string[]\n lighten: number\n darken: number\n}\n\ninterface InternalThemeDefinition {\n dark: boolean\n colors: Colors\n variables: Record<string, string | number>\n}\n\nexport interface Colors extends BaseColors, OnColors {\n [key: string]: string\n}\n\ninterface BaseColors {\n background: string\n surface: string\n primary: string\n secondary: string\n success: string\n warning: string\n error: string\n info: string\n}\n\ninterface OnColors {\n 'on-background': string\n 'on-surface': string\n 'on-primary': string\n 'on-secondary': string\n 'on-success': string\n 'on-warning': string\n 'on-error': string\n 'on-info': string\n}\n\nexport interface ThemeInstance {\n readonly isDisabled: boolean\n readonly themes: Ref<Record<string, InternalThemeDefinition>>\n\n readonly name: Readonly<Ref<string>>\n readonly current: DeepReadonly<Ref<InternalThemeDefinition>>\n readonly computedThemes: DeepReadonly<Ref<Record<string, InternalThemeDefinition>>>\n\n readonly themeClasses: Readonly<Ref<string | undefined>>\n readonly styles: Readonly<Ref<string>>\n\n readonly global: {\n readonly name: Ref<string>\n readonly current: DeepReadonly<Ref<InternalThemeDefinition>>\n }\n}\n\nexport const ThemeSymbol: InjectionKey<ThemeInstance> = Symbol.for('vuetify:theme')\n\nexport const makeThemeProps = propsFactory({\n theme: String,\n}, 'theme')\n\nfunction genDefaults () {\n return {\n defaultTheme: 'light',\n variations: { colors: [], lighten: 0, darken: 0 },\n themes: {\n light: {\n dark: false,\n colors: {\n background: '#FFFFFF',\n surface: '#FFFFFF',\n 'surface-bright': '#FFFFFF',\n 'surface-variant': '#424242',\n 'on-surface-variant': '#EEEEEE',\n primary: '#1867C0',\n 'primary-darken-1': '#1F5592',\n secondary: '#48A9A6',\n 'secondary-darken-1': '#018786',\n error: '#B00020',\n info: '#2196F3',\n success: '#4CAF50',\n warning: '#FB8C00',\n },\n variables: {\n 'border-color': '#000000',\n 'border-opacity': 0.12,\n 'high-emphasis-opacity': 0.87,\n 'medium-emphasis-opacity': 0.60,\n 'disabled-opacity': 0.38,\n 'idle-opacity': 0.04,\n 'hover-opacity': 0.04,\n 'focus-opacity': 0.12,\n 'selected-opacity': 0.08,\n 'activated-opacity': 0.12,\n 'pressed-opacity': 0.12,\n 'dragged-opacity': 0.08,\n 'theme-kbd': '#212529',\n 'theme-on-kbd': '#FFFFFF',\n 'theme-code': '#F5F5F5',\n 'theme-on-code': '#000000',\n },\n },\n dark: {\n dark: true,\n colors: {\n background: '#121212',\n surface: '#212121',\n 'surface-bright': '#ccbfd6',\n 'surface-variant': '#a3a3a3',\n 'on-surface-variant': '#424242',\n primary: '#2196F3',\n 'primary-darken-1': '#277CC1',\n secondary: '#54B6B2',\n 'secondary-darken-1': '#48A9A6',\n error: '#CF6679',\n info: '#2196F3',\n success: '#4CAF50',\n warning: '#FB8C00',\n },\n variables: {\n 'border-color': '#FFFFFF',\n 'border-opacity': 0.12,\n 'high-emphasis-opacity': 1,\n 'medium-emphasis-opacity': 0.70,\n 'disabled-opacity': 0.50,\n 'idle-opacity': 0.10,\n 'hover-opacity': 0.04,\n 'focus-opacity': 0.12,\n 'selected-opacity': 0.08,\n 'activated-opacity': 0.12,\n 'pressed-opacity': 0.16,\n 'dragged-opacity': 0.08,\n 'theme-kbd': '#212529',\n 'theme-on-kbd': '#FFFFFF',\n 'theme-code': '#343434',\n 'theme-on-code': '#CCCCCC',\n },\n },\n },\n }\n}\n\nfunction parseThemeOptions (options: ThemeOptions = genDefaults()): InternalThemeOptions {\n const defaults = genDefaults()\n\n if (!options) return { ...defaults, isDisabled: true } as any\n\n const themes: Record<string, InternalThemeDefinition> = {}\n for (const [key, theme] of Object.entries(options.themes ?? {})) {\n const defaultTheme = theme.dark || key === 'dark'\n ? defaults.themes?.dark\n : defaults.themes?.light\n themes[key] = mergeDeep(defaultTheme, theme) as InternalThemeDefinition\n }\n\n return mergeDeep(\n defaults,\n { ...options, themes },\n ) as InternalThemeOptions\n}\n\n// Composables\nexport function createTheme (options?: ThemeOptions): ThemeInstance & { install: (app: App) => void } {\n const parsedOptions = parseThemeOptions(options)\n const name = ref(parsedOptions.defaultTheme)\n const themes = ref(parsedOptions.themes)\n\n const computedThemes = computed(() => {\n const acc: Record<string, InternalThemeDefinition> = {}\n for (const [name, original] of Object.entries(themes.value)) {\n const theme: InternalThemeDefinition = acc[name] = {\n ...original,\n colors: {\n ...original.colors,\n },\n }\n\n if (parsedOptions.variations) {\n for (const name of parsedOptions.variations.colors) {\n const color = theme.colors[name]\n\n if (!color) continue\n\n for (const variation of (['lighten', 'darken'] as const)) {\n const fn = variation === 'lighten' ? lighten : darken\n for (const amount of createRange(parsedOptions.variations[variation], 1)) {\n theme.colors[`${name}-${variation}-${amount}`] = RGBtoHex(fn(parseColor(color), amount))\n }\n }\n }\n }\n\n for (const color of Object.keys(theme.colors)) {\n if (/^on-[a-z]/.test(color) || theme.colors[`on-${color}`]) continue\n\n const onColor = `on-${color}` as keyof OnColors\n const colorVal = parseColor(theme.colors[color]!)\n\n theme.colors[onColor] = getForeground(colorVal)\n }\n }\n\n return acc\n })\n const current = computed(() => computedThemes.value[name.value])\n\n const styles = computed(() => {\n const lines: string[] = []\n\n if (current.value.dark) {\n createCssClass(lines, ':root', ['color-scheme: dark'])\n }\n\n createCssClass(lines, ':root', genCssVariables(current.value))\n\n for (const [themeName, theme] of Object.entries(computedThemes.value)) {\n createCssClass(lines, `.v-theme--${themeName}`, [\n `color-scheme: ${theme.dark ? 'dark' : 'normal'}`,\n ...genCssVariables(theme),\n ])\n }\n\n const bgLines: string[] = []\n const fgLines: string[] = []\n\n const colors = new Set(Object.values(computedThemes.value).flatMap(theme => Object.keys(theme.colors)))\n for (const key of colors) {\n if (/^on-[a-z]/.test(key)) {\n createCssClass(fgLines, `.${key}`, [`color: rgb(var(--v-theme-${key})) !important`])\n } else {\n createCssClass(bgLines, `.bg-${key}`, [\n `--v-theme-overlay-multiplier: var(--v-theme-${key}-overlay-multiplier)`,\n `background-color: rgb(var(--v-theme-${key})) !important`,\n `color: rgb(var(--v-theme-on-${key})) !important`,\n ])\n createCssClass(fgLines, `.text-${key}`, [`color: rgb(var(--v-theme-${key})) !important`])\n createCssClass(fgLines, `.border-${key}`, [`--v-border-color: var(--v-theme-${key})`])\n }\n }\n\n lines.push(...bgLines, ...fgLines)\n\n return lines.map((str, i) => i === 0 ? str : ` ${str}`).join('')\n })\n\n function getHead () {\n return {\n style: [{\n children: styles.value,\n id: 'vuetify-theme-stylesheet',\n nonce: parsedOptions.cspNonce || false as never,\n }],\n }\n }\n\n function install (app: App) {\n if (parsedOptions.isDisabled) return\n\n const head = app._context.provides.usehead as HeadClient & VueHeadClient<any> | undefined\n if (head) {\n if (head.push) {\n const entry = head.push(getHead)\n if (IN_BROWSER) {\n watch(styles, () => { entry.patch(getHead) })\n }\n } else {\n if (IN_BROWSER) {\n head.addHeadObjs(computed(getHead))\n watchEffect(() => head.updateDOM())\n } else {\n head.addHeadObjs(getHead())\n }\n }\n } else {\n let styleEl = IN_BROWSER\n ? document.getElementById('vuetify-theme-stylesheet')\n : null\n\n if (IN_BROWSER) {\n watch(styles, updateStyles, { immediate: true })\n } else {\n updateStyles()\n }\n\n function updateStyles () {\n if (typeof document !== 'undefined' && !styleEl) {\n const el = document.createElement('style')\n el.type = 'text/css'\n el.id = 'vuetify-theme-stylesheet'\n if (parsedOptions.cspNonce) el.setAttribute('nonce', parsedOptions.cspNonce)\n\n styleEl = el\n document.head.appendChild(styleEl)\n }\n\n if (styleEl) styleEl.innerHTML = styles.value\n }\n }\n }\n\n const themeClasses = computed(() => parsedOptions.isDisabled ? undefined : `v-theme--${name.value}`)\n\n return {\n install,\n isDisabled: parsedOptions.isDisabled,\n name,\n themes,\n current,\n computedThemes,\n themeClasses,\n styles,\n global: {\n name,\n current,\n },\n }\n}\n\nexport function provideTheme (props: { theme?: string }) {\n getCurrentInstance('provideTheme')\n\n const theme = inject(ThemeSymbol, null)\n\n if (!theme) throw new Error('Could not find Vuetify theme injection')\n\n const name = computed<string>(() => {\n return props.theme ?? theme.name.value\n })\n const current = computed(() => theme.themes.value[name.value])\n\n const themeClasses = computed(() => theme.isDisabled ? undefined : `v-theme--${name.value}`)\n\n const newTheme: ThemeInstance = {\n ...theme,\n name,\n current,\n themeClasses,\n }\n\n provide(ThemeSymbol, newTheme)\n\n return newTheme\n}\n\nexport function useTheme () {\n getCurrentInstance('useTheme')\n\n const theme = inject(ThemeSymbol, null)\n\n if (!theme) throw new Error('Could not find Vuetify theme injection')\n\n return theme\n}\n\nfunction createCssClass (lines: string[], selector: string, content: string[]) {\n lines.push(\n `${selector} {\\n`,\n ...content.map(line => ` ${line};\\n`),\n '}\\n',\n )\n}\n\nfunction genCssVariables (theme: InternalThemeDefinition) {\n const lightOverlay = theme.dark ? 2 : 1\n const darkOverlay = theme.dark ? 1 : 2\n\n const variables: string[] = []\n for (const [key, value] of Object.entries(theme.colors)) {\n const rgb = parseColor(value)\n variables.push(`--v-theme-${key}: ${rgb.r},${rgb.g},${rgb.b}`)\n if (!key.startsWith('on-')) {\n variables.push(`--v-theme-${key}-overlay-multiplier: ${getLuma(value) > 0.18 ? lightOverlay : darkOverlay}`)\n }\n }\n\n for (const [key, value] of Object.entries(theme.variables)) {\n const color = typeof value === 'string' && value.startsWith('#') ? parseColor(value) : undefined\n const rgb = color ? `${color.r}, ${color.g}, ${color.b}` : undefined\n variables.push(`--v-${key}: ${rgb ?? value}`)\n }\n\n return variables\n}\n"],"mappings":"AAAA;AACA,SACEA,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,GAAG,EACHC,KAAK,EACLC,WAAW,QACN,KAAK;AAAA,SAEVC,WAAW,EACXC,MAAM,EACNC,kBAAkB,EAClBC,aAAa,EACbC,OAAO,EACPC,UAAU,EACVC,OAAO,EACPC,SAAS,EACTC,UAAU,EACVC,YAAY,EACZC,QAAQ,6BAGV;AA8EA,OAAO,MAAMC,WAAwC,GAAGC,MAAM,CAACC,GAAG,CAAC,eAAe,CAAC;AAEnF,OAAO,MAAMC,cAAc,GAAGL,YAAY,CAAC;EACzCM,KAAK,EAAEC;AACT,CAAC,EAAE,OAAO,CAAC;AAEX,SAASC,WAAWA,CAAA,EAAI;EACtB,OAAO;IACLC,YAAY,EAAE,OAAO;IACrBC,UAAU,EAAE;MAAEC,MAAM,EAAE,EAAE;MAAEd,OAAO,EAAE,CAAC;MAAEL,MAAM,EAAE;IAAE,CAAC;IACjDoB,MAAM,EAAE;MACNC,KAAK,EAAE;QACLC,IAAI,EAAE,KAAK;QACXH,MAAM,EAAE;UACNI,UAAU,EAAE,SAAS;UACrBC,OAAO,EAAE,SAAS;UAClB,gBAAgB,EAAE,SAAS;UAC3B,iBAAiB,EAAE,SAAS;UAC5B,oBAAoB,EAAE,SAAS;UAC/BC,OAAO,EAAE,SAAS;UAClB,kBAAkB,EAAE,SAAS;UAC7BC,SAAS,EAAE,SAAS;UAC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AOD,KAAK,KAAK,QAAQ,IAAIA,KAAK,CAACoE,UAAU,CAAC,GAAG,CAAC,GAAG7G,UAAU,CAACyC,KAAK,CAAC,GAAGZ,SAAS;IAChG,MAAM4E,GAAG,GAAG/D,KAAK,GAAI,GAAEA,KAAK,CAACgE,CAAE,KAAIhE,KAAK,CAACiE,CAAE,KAAIjE,KAAK,CAACkE,CAAE,EAAC,GAAG/E,SAAS;IACpEL,SAAS,CAACqC,IAAI,CAAE,OAAM7B,GAAI,KAAIyE,GAAG,IAAIhE,KAAM,EAAC,CAAC;EAC/C;EAEA,OAAOjB,SAAS;AAClB"}
|
|
1
|
+
{"version":3,"file":"theme.mjs","names":["computed","inject","provide","ref","watch","watchEffect","createRange","darken","getCurrentInstance","getForeground","getLuma","IN_BROWSER","lighten","mergeDeep","parseColor","propsFactory","RGBtoHex","ThemeSymbol","Symbol","for","makeThemeProps","theme","String","genDefaults","defaultTheme","variations","colors","themes","light","dark","background","surface","primary","secondary","error","info","success","warning","variables","parseThemeOptions","options","arguments","length","undefined","defaults","isDisabled","key","Object","entries","createTheme","parsedOptions","name","computedThemes","acc","original","value","color","variation","fn","amount","keys","test","onColor","colorVal","current","styles","lines","createCssClass","genCssVariables","themeName","bgLines","fgLines","Set","values","flatMap","push","map","str","i","join","getHead","style","children","id","nonce","cspNonce","install","app","head","_context","provides","usehead","entry","patch","addHeadObjs","updateDOM","styleEl","document","getElementById","updateStyles","immediate","el","createElement","type","setAttribute","appendChild","innerHTML","themeClasses","global","provideTheme","props","Error","newTheme","useTheme","selector","content","line","lightOverlay","darkOverlay","rgb","r","g","b","startsWith"],"sources":["../../src/composables/theme.ts"],"sourcesContent":["// Utilities\nimport {\n computed,\n inject,\n provide,\n ref,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n createRange,\n darken,\n getCurrentInstance,\n getForeground,\n getLuma,\n IN_BROWSER,\n lighten,\n mergeDeep,\n parseColor,\n propsFactory,\n RGBtoHex,\n} from '@/util'\n\n// Types\nimport type { VueHeadClient } from '@unhead/vue'\nimport type { HeadClient } from '@vueuse/head'\nimport type { App, DeepReadonly, InjectionKey, Ref } from 'vue'\n\ntype DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]> } : T\n\nexport type ThemeOptions = false | {\n cspNonce?: string\n defaultTheme?: string\n variations?: false | VariationsOptions\n themes?: Record<string, ThemeDefinition>\n}\nexport type ThemeDefinition = DeepPartial<InternalThemeDefinition>\n\ninterface InternalThemeOptions {\n cspNonce?: string\n isDisabled: boolean\n defaultTheme: string\n variations: false | VariationsOptions\n themes: Record<string, InternalThemeDefinition>\n}\n\ninterface VariationsOptions {\n colors: string[]\n lighten: number\n darken: number\n}\n\ninterface InternalThemeDefinition {\n dark: boolean\n colors: Colors\n variables: Record<string, string | number>\n}\n\nexport interface Colors extends BaseColors, OnColors {\n [key: string]: string\n}\n\ninterface BaseColors {\n background: string\n surface: string\n primary: string\n secondary: string\n success: string\n warning: string\n error: string\n info: string\n}\n\ninterface OnColors {\n 'on-background': string\n 'on-surface': string\n 'on-primary': string\n 'on-secondary': string\n 'on-success': string\n 'on-warning': string\n 'on-error': string\n 'on-info': string\n}\n\nexport interface ThemeInstance {\n readonly isDisabled: boolean\n readonly themes: Ref<Record<string, InternalThemeDefinition>>\n\n readonly name: Readonly<Ref<string>>\n readonly current: DeepReadonly<Ref<InternalThemeDefinition>>\n readonly computedThemes: DeepReadonly<Ref<Record<string, InternalThemeDefinition>>>\n\n readonly themeClasses: Readonly<Ref<string | undefined>>\n readonly styles: Readonly<Ref<string>>\n\n readonly global: {\n readonly name: Ref<string>\n readonly current: DeepReadonly<Ref<InternalThemeDefinition>>\n }\n}\n\nexport const ThemeSymbol: InjectionKey<ThemeInstance> = Symbol.for('vuetify:theme')\n\nexport const makeThemeProps = propsFactory({\n theme: String,\n}, 'theme')\n\nfunction genDefaults () {\n return {\n defaultTheme: 'light',\n variations: { colors: [], lighten: 0, darken: 0 },\n themes: {\n light: {\n dark: false,\n colors: {\n background: '#FFFFFF',\n surface: '#FFFFFF',\n 'surface-bright': '#FFFFFF',\n 'surface-light': '#EEEEEE',\n 'surface-variant': '#424242',\n 'on-surface-variant': '#EEEEEE',\n primary: '#1867C0',\n 'primary-darken-1': '#1F5592',\n secondary: '#48A9A6',\n 'secondary-darken-1': '#018786',\n error: '#B00020',\n info: '#2196F3',\n success: '#4CAF50',\n warning: '#FB8C00',\n },\n variables: {\n 'border-color': '#000000',\n 'border-opacity': 0.12,\n 'high-emphasis-opacity': 0.87,\n 'medium-emphasis-opacity': 0.60,\n 'disabled-opacity': 0.38,\n 'idle-opacity': 0.04,\n 'hover-opacity': 0.04,\n 'focus-opacity': 0.12,\n 'selected-opacity': 0.08,\n 'activated-opacity': 0.12,\n 'pressed-opacity': 0.12,\n 'dragged-opacity': 0.08,\n 'theme-kbd': '#212529',\n 'theme-on-kbd': '#FFFFFF',\n 'theme-code': '#F5F5F5',\n 'theme-on-code': '#000000',\n },\n },\n dark: {\n dark: true,\n colors: {\n background: '#121212',\n surface: '#212121',\n 'surface-bright': '#ccbfd6',\n 'surface-light': '#424242',\n 'surface-variant': '#a3a3a3',\n 'on-surface-variant': '#424242',\n primary: '#2196F3',\n 'primary-darken-1': '#277CC1',\n secondary: '#54B6B2',\n 'secondary-darken-1': '#48A9A6',\n error: '#CF6679',\n info: '#2196F3',\n success: '#4CAF50',\n warning: '#FB8C00',\n },\n variables: {\n 'border-color': '#FFFFFF',\n 'border-opacity': 0.12,\n 'high-emphasis-opacity': 1,\n 'medium-emphasis-opacity': 0.70,\n 'disabled-opacity': 0.50,\n 'idle-opacity': 0.10,\n 'hover-opacity': 0.04,\n 'focus-opacity': 0.12,\n 'selected-opacity': 0.08,\n 'activated-opacity': 0.12,\n 'pressed-opacity': 0.16,\n 'dragged-opacity': 0.08,\n 'theme-kbd': '#212529',\n 'theme-on-kbd': '#FFFFFF',\n 'theme-code': '#343434',\n 'theme-on-code': '#CCCCCC',\n },\n },\n },\n }\n}\n\nfunction parseThemeOptions (options: ThemeOptions = genDefaults()): InternalThemeOptions {\n const defaults = genDefaults()\n\n if (!options) return { ...defaults, isDisabled: true } as any\n\n const themes: Record<string, InternalThemeDefinition> = {}\n for (const [key, theme] of Object.entries(options.themes ?? {})) {\n const defaultTheme = theme.dark || key === 'dark'\n ? defaults.themes?.dark\n : defaults.themes?.light\n themes[key] = mergeDeep(defaultTheme, theme) as InternalThemeDefinition\n }\n\n return mergeDeep(\n defaults,\n { ...options, themes },\n ) as InternalThemeOptions\n}\n\n// Composables\nexport function createTheme (options?: ThemeOptions): ThemeInstance & { install: (app: App) => void } {\n const parsedOptions = parseThemeOptions(options)\n const name = ref(parsedOptions.defaultTheme)\n const themes = ref(parsedOptions.themes)\n\n const computedThemes = computed(() => {\n const acc: Record<string, InternalThemeDefinition> = {}\n for (const [name, original] of Object.entries(themes.value)) {\n const theme: InternalThemeDefinition = acc[name] = {\n ...original,\n colors: {\n ...original.colors,\n },\n }\n\n if (parsedOptions.variations) {\n for (const name of parsedOptions.variations.colors) {\n const color = theme.colors[name]\n\n if (!color) continue\n\n for (const variation of (['lighten', 'darken'] as const)) {\n const fn = variation === 'lighten' ? lighten : darken\n for (const amount of createRange(parsedOptions.variations[variation], 1)) {\n theme.colors[`${name}-${variation}-${amount}`] = RGBtoHex(fn(parseColor(color), amount))\n }\n }\n }\n }\n\n for (const color of Object.keys(theme.colors)) {\n if (/^on-[a-z]/.test(color) || theme.colors[`on-${color}`]) continue\n\n const onColor = `on-${color}` as keyof OnColors\n const colorVal = parseColor(theme.colors[color]!)\n\n theme.colors[onColor] = getForeground(colorVal)\n }\n }\n\n return acc\n })\n const current = computed(() => computedThemes.value[name.value])\n\n const styles = computed(() => {\n const lines: string[] = []\n\n if (current.value.dark) {\n createCssClass(lines, ':root', ['color-scheme: dark'])\n }\n\n createCssClass(lines, ':root', genCssVariables(current.value))\n\n for (const [themeName, theme] of Object.entries(computedThemes.value)) {\n createCssClass(lines, `.v-theme--${themeName}`, [\n `color-scheme: ${theme.dark ? 'dark' : 'normal'}`,\n ...genCssVariables(theme),\n ])\n }\n\n const bgLines: string[] = []\n const fgLines: string[] = []\n\n const colors = new Set(Object.values(computedThemes.value).flatMap(theme => Object.keys(theme.colors)))\n for (const key of colors) {\n if (/^on-[a-z]/.test(key)) {\n createCssClass(fgLines, `.${key}`, [`color: rgb(var(--v-theme-${key})) !important`])\n } else {\n createCssClass(bgLines, `.bg-${key}`, [\n `--v-theme-overlay-multiplier: var(--v-theme-${key}-overlay-multiplier)`,\n `background-color: rgb(var(--v-theme-${key})) !important`,\n `color: rgb(var(--v-theme-on-${key})) !important`,\n ])\n createCssClass(fgLines, `.text-${key}`, [`color: rgb(var(--v-theme-${key})) !important`])\n createCssClass(fgLines, `.border-${key}`, [`--v-border-color: var(--v-theme-${key})`])\n }\n }\n\n lines.push(...bgLines, ...fgLines)\n\n return lines.map((str, i) => i === 0 ? str : ` ${str}`).join('')\n })\n\n function getHead () {\n return {\n style: [{\n children: styles.value,\n id: 'vuetify-theme-stylesheet',\n nonce: parsedOptions.cspNonce || false as never,\n }],\n }\n }\n\n function install (app: App) {\n if (parsedOptions.isDisabled) return\n\n const head = app._context.provides.usehead as HeadClient & VueHeadClient<any> | undefined\n if (head) {\n if (head.push) {\n const entry = head.push(getHead)\n if (IN_BROWSER) {\n watch(styles, () => { entry.patch(getHead) })\n }\n } else {\n if (IN_BROWSER) {\n head.addHeadObjs(computed(getHead))\n watchEffect(() => head.updateDOM())\n } else {\n head.addHeadObjs(getHead())\n }\n }\n } else {\n let styleEl = IN_BROWSER\n ? document.getElementById('vuetify-theme-stylesheet')\n : null\n\n if (IN_BROWSER) {\n watch(styles, updateStyles, { immediate: true })\n } else {\n updateStyles()\n }\n\n function updateStyles () {\n if (typeof document !== 'undefined' && !styleEl) {\n const el = document.createElement('style')\n el.type = 'text/css'\n el.id = 'vuetify-theme-stylesheet'\n if (parsedOptions.cspNonce) el.setAttribute('nonce', parsedOptions.cspNonce)\n\n styleEl = el\n document.head.appendChild(styleEl)\n }\n\n if (styleEl) styleEl.innerHTML = styles.value\n }\n }\n }\n\n const themeClasses = computed(() => parsedOptions.isDisabled ? undefined : `v-theme--${name.value}`)\n\n return {\n install,\n isDisabled: parsedOptions.isDisabled,\n name,\n themes,\n current,\n computedThemes,\n themeClasses,\n styles,\n global: {\n name,\n current,\n },\n }\n}\n\nexport function provideTheme (props: { theme?: string }) {\n getCurrentInstance('provideTheme')\n\n const theme = inject(ThemeSymbol, null)\n\n if (!theme) throw new Error('Could not find Vuetify theme injection')\n\n const name = computed<string>(() => {\n return props.theme ?? theme.name.value\n })\n const current = computed(() => theme.themes.value[name.value])\n\n const themeClasses = computed(() => theme.isDisabled ? undefined : `v-theme--${name.value}`)\n\n const newTheme: ThemeInstance = {\n ...theme,\n name,\n current,\n themeClasses,\n }\n\n provide(ThemeSymbol, newTheme)\n\n return newTheme\n}\n\nexport function useTheme () {\n getCurrentInstance('useTheme')\n\n const theme = inject(ThemeSymbol, null)\n\n if (!theme) throw new Error('Could not find Vuetify theme injection')\n\n return theme\n}\n\nfunction createCssClass (lines: string[], selector: string, content: string[]) {\n lines.push(\n `${selector} {\\n`,\n ...content.map(line => ` ${line};\\n`),\n '}\\n',\n )\n}\n\nfunction genCssVariables (theme: InternalThemeDefinition) {\n const lightOverlay = theme.dark ? 2 : 1\n const darkOverlay = theme.dark ? 1 : 2\n\n const variables: string[] = []\n for (const [key, value] of Object.entries(theme.colors)) {\n const rgb = parseColor(value)\n variables.push(`--v-theme-${key}: ${rgb.r},${rgb.g},${rgb.b}`)\n if (!key.startsWith('on-')) {\n variables.push(`--v-theme-${key}-overlay-multiplier: ${getLuma(value) > 0.18 ? lightOverlay : darkOverlay}`)\n }\n }\n\n for (const [key, value] of Object.entries(theme.variables)) {\n const color = typeof value === 'string' && value.startsWith('#') ? parseColor(value) : undefined\n const rgb = color ? `${color.r}, ${color.g}, ${color.b}` : undefined\n variables.push(`--v-${key}: ${rgb ?? value}`)\n }\n\n return variables\n}\n"],"mapp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AI,KAAIyE,GAAG,IAAIhE,KAAM,EAAC,CAAC;EAC/C;EAEA,OAAOjB,SAAS;AAClB"}
|
package/lib/entry-bundler.mjs
CHANGED
|
@@ -15,7 +15,7 @@ export const createVuetify = function () {
|
|
|
15
15
|
...options
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
|
-
export const version = "3.4.10-dev.2024-01-
|
|
18
|
+
export const version = "3.4.10-dev.2024-01-18";
|
|
19
19
|
createVuetify.version = version;
|
|
20
20
|
export { components, directives };
|
|
21
21
|
export * from "./composables/index.mjs";
|
package/lib/framework.mjs
CHANGED
package/lib/index.d.mts
CHANGED
|
@@ -493,77 +493,76 @@ declare module '@vue/runtime-core' {
|
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
export interface GlobalComponents {
|
|
496
|
+
VApp: typeof import('vuetify/components')['VApp']
|
|
496
497
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
|
497
498
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
|
498
499
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
|
499
500
|
VAlert: typeof import('vuetify/components')['VAlert']
|
|
500
501
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
|
501
|
-
|
|
502
|
-
VBadge: typeof import('vuetify/components')['VBadge']
|
|
502
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
|
503
503
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
|
504
|
-
|
|
504
|
+
VBadge: typeof import('vuetify/components')['VBadge']
|
|
505
505
|
VBanner: typeof import('vuetify/components')['VBanner']
|
|
506
506
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
|
507
507
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
|
508
|
-
|
|
508
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
|
509
509
|
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
|
510
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
|
511
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
512
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
513
510
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
|
514
511
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
|
515
512
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
|
513
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
|
514
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
|
515
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
|
516
516
|
VCard: typeof import('vuetify/components')['VCard']
|
|
517
517
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
|
518
518
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
|
519
519
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
|
520
520
|
VCardText: typeof import('vuetify/components')['VCardText']
|
|
521
521
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
|
522
|
-
|
|
522
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
|
523
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
|
523
524
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
|
524
525
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
|
525
|
-
|
|
526
|
+
VChip: typeof import('vuetify/components')['VChip']
|
|
526
527
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
|
527
|
-
|
|
528
|
-
|
|
528
|
+
VCode: typeof import('vuetify/components')['VCode']
|
|
529
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
|
529
530
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
|
531
|
+
VDataTable: typeof import('vuetify/components')['VDataTable']
|
|
532
|
+
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
|
533
|
+
VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
|
|
534
|
+
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
|
535
|
+
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
|
536
|
+
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
|
530
537
|
VCounter: typeof import('vuetify/components')['VCounter']
|
|
531
|
-
VChip: typeof import('vuetify/components')['VChip']
|
|
532
538
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
|
533
539
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
|
534
540
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
|
535
541
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
|
536
542
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
|
537
543
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
|
538
|
-
VDataTable: typeof import('vuetify/components')['VDataTable']
|
|
539
|
-
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
|
540
|
-
VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
|
|
541
|
-
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
|
542
|
-
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
|
543
|
-
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
|
544
544
|
VDialog: typeof import('vuetify/components')['VDialog']
|
|
545
545
|
VDivider: typeof import('vuetify/components')['VDivider']
|
|
546
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
|
547
546
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
|
548
547
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
|
549
548
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
|
550
549
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
|
551
|
-
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
552
550
|
VField: typeof import('vuetify/components')['VField']
|
|
553
551
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
|
552
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
|
553
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
|
554
554
|
VIcon: typeof import('vuetify/components')['VIcon']
|
|
555
555
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
|
556
556
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
|
557
557
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
|
558
558
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
|
559
|
-
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
|
560
559
|
VImg: typeof import('vuetify/components')['VImg']
|
|
560
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
|
561
561
|
VInput: typeof import('vuetify/components')['VInput']
|
|
562
562
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
|
563
563
|
VItem: typeof import('vuetify/components')['VItem']
|
|
564
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
|
565
|
-
VMain: typeof import('vuetify/components')['VMain']
|
|
566
564
|
VKbd: typeof import('vuetify/components')['VKbd']
|
|
565
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
|
567
566
|
VList: typeof import('vuetify/components')['VList']
|
|
568
567
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
|
569
568
|
VListImg: typeof import('vuetify/components')['VListImg']
|
|
@@ -573,24 +572,26 @@ declare module '@vue/runtime-core' {
|
|
|
573
572
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
|
574
573
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
|
575
574
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
|
575
|
+
VMain: typeof import('vuetify/components')['VMain']
|
|
576
576
|
VMenu: typeof import('vuetify/components')['VMenu']
|
|
577
577
|
VMessages: typeof import('vuetify/components')['VMessages']
|
|
578
578
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
|
579
579
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
|
580
580
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
|
581
581
|
VPagination: typeof import('vuetify/components')['VPagination']
|
|
582
|
-
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
583
582
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
|
583
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
|
584
584
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
|
585
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
|
586
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
|
587
585
|
VRating: typeof import('vuetify/components')['VRating']
|
|
586
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
|
588
587
|
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
|
589
588
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
|
589
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
|
590
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
|
590
591
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
|
591
592
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
|
592
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
|
593
593
|
VSlider: typeof import('vuetify/components')['VSlider']
|
|
594
|
+
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
594
595
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
|
595
596
|
VStepper: typeof import('vuetify/components')['VStepper']
|
|
596
597
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
|
@@ -598,15 +599,14 @@ declare module '@vue/runtime-core' {
|
|
|
598
599
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
|
599
600
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
|
600
601
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
|
602
|
+
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
|
601
603
|
VTabs: typeof import('vuetify/components')['VTabs']
|
|
602
604
|
VTab: typeof import('vuetify/components')['VTab']
|
|
603
|
-
|
|
604
|
-
VSwitch: typeof import('vuetify/components')['VSwitch']
|
|
605
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
|
605
|
+
VTable: typeof import('vuetify/components')['VTable']
|
|
606
606
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
|
607
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
|
607
608
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
|
608
609
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
|
609
|
-
VTable: typeof import('vuetify/components')['VTable']
|
|
610
610
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
|
611
611
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
|
612
612
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
|
@@ -621,9 +621,9 @@ declare module '@vue/runtime-core' {
|
|
|
621
621
|
VRow: typeof import('vuetify/components')['VRow']
|
|
622
622
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
|
623
623
|
VHover: typeof import('vuetify/components')['VHover']
|
|
624
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
|
625
624
|
VLayout: typeof import('vuetify/components')['VLayout']
|
|
626
625
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
|
626
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
|
627
627
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
|
628
628
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
|
629
629
|
VParallax: typeof import('vuetify/components')['VParallax']
|
|
@@ -649,14 +649,14 @@ declare module '@vue/runtime-core' {
|
|
|
649
649
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
|
650
650
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
|
651
651
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
|
652
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
653
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
654
652
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
|
655
653
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
|
656
654
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
|
657
655
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
|
658
656
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
|
659
657
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
|
658
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
|
659
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
|
660
660
|
VConfirmEdit: typeof import('vuetify/labs/components')['VConfirmEdit']
|
|
661
661
|
}
|
|
662
662
|
}
|
|
@@ -87,7 +87,8 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.v-calendar-weekly__head-weeknumber {
|
|
90
|
-
background: rgb(var(--v-theme-
|
|
90
|
+
background: rgb(var(--v-theme-surface-light));
|
|
91
|
+
color: rgba(var(--v-theme-on-surface-light), var(--v-high-emphasis-opacity));
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
.v-calendar-weekly__week {
|
|
@@ -99,8 +100,9 @@
|
|
|
99
100
|
|
|
100
101
|
.v-calendar-month__weeknumber {
|
|
101
102
|
padding-top: 6px;
|
|
102
|
-
background: rgb(var(--v-theme-
|
|
103
|
+
background: rgb(var(--v-theme-surface-light));
|
|
103
104
|
border-bottom: thin solid #e0e0e0;
|
|
105
|
+
color: rgba(var(--v-theme-on-surface-light), var(--v-high-emphasis-opacity));
|
|
104
106
|
text-align: center;
|
|
105
107
|
font-size: 12px;
|
|
106
108
|
font-weight: 500;
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
font-size: 1.5rem
|
|
74
74
|
|
|
75
75
|
.v-calendar-weekly__head-weeknumber
|
|
76
|
-
background:
|
|
76
|
+
background: $calendar-weekly-weeknumber-background
|
|
77
|
+
color: $calendar-weekly-weeknumber-color
|
|
77
78
|
|
|
78
79
|
.v-calendar-weekly__week
|
|
79
80
|
display: flex
|
|
@@ -84,8 +85,9 @@
|
|
|
84
85
|
|
|
85
86
|
.v-calendar-month__weeknumber
|
|
86
87
|
padding-top: $calendar-weekly-weeknumber-padding-top
|
|
87
|
-
background:
|
|
88
|
+
background: $calendar-month-weeknumber-background
|
|
88
89
|
border-bottom: $calendar-line-width solid $calendar-line-color
|
|
90
|
+
color: $calendar-month-weeknumber-color
|
|
89
91
|
text-align: center
|
|
90
92
|
font-size: $calendar-weekly-weeknumber-font-size
|
|
91
93
|
font-weight: $calendar-weekly-weeknumber-font-weight
|
|
@@ -29,11 +29,16 @@ $calendar-weekly-day-label-size: 32px !default;
|
|
|
29
29
|
$calendar-weekly-day-label-font-size: 12px !default;
|
|
30
30
|
$calendar-weekly-day-label-margin: 4px 0 0 0 !default;
|
|
31
31
|
$calendar-weekly-day-month-left: 36px !default;
|
|
32
|
+
$calendar-weekly-weeknumber-background: rgb(var(--v-theme-surface-light)) !default;
|
|
33
|
+
$calendar-weekly-weeknumber-color: rgba(var(--v-theme-on-surface-light), var(--v-high-emphasis-opacity)) !default;
|
|
32
34
|
$calendar-weekly-weeknumber-flex-basis: 24px !default;
|
|
33
35
|
$calendar-weekly-weeknumber-padding-top: 6px !default;
|
|
34
36
|
$calendar-weekly-weeknumber-font-size: 12px !default;
|
|
35
37
|
$calendar-weekly-weeknumber-font-weight: 500 !default;
|
|
36
38
|
|
|
39
|
+
$calendar-month-weeknumber-background: rgb(var(--v-theme-surface-light)) !default;
|
|
40
|
+
$calendar-month-weeknumber-color: rgba(var(--v-theme-on-surface-light), var(--v-high-emphasis-opacity)) !default;
|
|
41
|
+
|
|
37
42
|
$calendar-event-bottom-space: 1px !default;
|
|
38
43
|
$calendar-event-border-width: 1px !default;
|
|
39
44
|
// $calendar-event-border-radius: $border-radius-root !default;
|