@vuetify/nightly 3.0.0-next-20220107.0 → 3.0.0-next-20220126.0
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 +96 -20
- package/dist/json/importMap.json +8 -0
- package/dist/json/tags.json +32 -3
- package/dist/json/web-types.json +338 -41
- package/dist/vuetify.css +77 -20
- package/dist/vuetify.d.ts +204 -48
- package/dist/vuetify.esm.js +707 -387
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +707 -387
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +2 -2
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBtn/VBtn.css +0 -16
- package/lib/components/VBtn/VBtn.sass +0 -6
- package/lib/components/VBtn/_variables.scss +0 -2
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs +2 -2
- package/lib/components/VExpansionPanel/VExpansionPanel.mjs.map +1 -1
- package/lib/components/VHover/VHover.mjs +3 -3
- package/lib/components/VHover/VHover.mjs.map +1 -1
- package/lib/components/VInput/VInput.mjs +3 -2
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VList/VList.css +4 -2
- package/lib/components/VList/VList.mjs +34 -35
- package/lib/components/VList/VList.mjs.map +1 -1
- package/lib/components/VList/VList.sass +5 -2
- package/lib/components/VList/VListChildren.mjs +19 -14
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/VList/VListGroup.mjs +16 -40
- package/lib/components/VList/VListGroup.mjs.map +1 -1
- package/lib/components/VList/VListItem.mjs +3 -3
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VList/VListSubheader.mjs +20 -12
- package/lib/components/VList/VListSubheader.mjs.map +1 -1
- package/lib/components/VList/list.mjs +31 -0
- package/lib/components/VList/list.mjs.map +1 -0
- package/lib/components/VMessages/VMessages.mjs +12 -4
- package/lib/components/VMessages/VMessages.mjs.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +2 -2
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/components/VOverlay/useActivator.mjs +12 -2
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VPagination/VPagination.mjs +23 -31
- package/lib/components/VPagination/VPagination.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.css +70 -0
- package/lib/components/VWindow/VWindow.mjs +158 -233
- package/lib/components/VWindow/VWindow.mjs.map +1 -1
- package/lib/components/VWindow/VWindow.sass +26 -50
- package/lib/components/VWindow/VWindowItem.mjs +72 -98
- package/lib/components/VWindow/VWindowItem.mjs.map +1 -1
- package/lib/components/VWindow/_variables.scss +2 -3
- package/lib/components/VWindow/index.mjs +2 -9
- package/lib/components/VWindow/index.mjs.map +1 -1
- package/lib/components/index.d.ts +200 -47
- package/lib/components/index.mjs +1 -1
- package/lib/components/index.mjs.map +1 -1
- package/lib/composables/group.mjs +1 -6
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +1 -1
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/nested/openStrategies.mjs +1 -1
- package/lib/composables/nested/openStrategies.mjs.map +1 -1
- package/lib/directives/touch/index.mjs +6 -3
- package/lib/directives/touch/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/index.d.ts +2 -0
- package/package.json +2 -1
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
import Bootable from "../../mixins/bootable.mjs";
|
|
7
|
-
import { factory as GroupableFactory } from "../../mixins/groupable.mjs"; // Directives
|
|
1
|
+
import { withDirectives as _withDirectives, createVNode as _createVNode, vShow as _vShow } from "vue";
|
|
2
|
+
// Composables
|
|
3
|
+
import { makeGroupItemProps, useGroupItem } from "../../composables/group.mjs";
|
|
4
|
+
import { makeLazyProps, useLazy } from "../../composables/lazy.mjs";
|
|
5
|
+
import { MaybeTransition } from "../../composables/transition.mjs"; // Directives
|
|
8
6
|
|
|
9
7
|
import Touch from "../../directives/touch/index.mjs"; // Utilities
|
|
10
8
|
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
name: 'v-window-item',
|
|
9
|
+
import { computed, inject, nextTick, ref } from 'vue';
|
|
10
|
+
import { convertToUnit, defineComponent } from "../../util/index.mjs";
|
|
11
|
+
import { VWindowGroupSymbol, VWindowSymbol } from "./VWindow.mjs";
|
|
12
|
+
export const VWindowItem = defineComponent({
|
|
13
|
+
name: 'VWindowItem',
|
|
17
14
|
directives: {
|
|
18
15
|
Touch
|
|
19
16
|
},
|
|
20
17
|
props: {
|
|
21
|
-
disabled: Boolean,
|
|
22
18
|
reverseTransition: {
|
|
23
19
|
type: [Boolean, String],
|
|
24
20
|
default: undefined
|
|
@@ -27,122 +23,100 @@ export default baseMixins.extend().extend().extend({
|
|
|
27
23
|
type: [Boolean, String],
|
|
28
24
|
default: undefined
|
|
29
25
|
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
data() {
|
|
36
|
-
return {
|
|
37
|
-
isActive: false,
|
|
38
|
-
inTransition: false
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
computed: {
|
|
43
|
-
classes() {
|
|
44
|
-
return this.groupClasses;
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
computedTransition() {
|
|
48
|
-
if (!this.windowGroup.internalReverse) {
|
|
49
|
-
return typeof this.transition !== 'undefined' ? this.transition || '' : this.windowGroup.computedTransition;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return typeof this.reverseTransition !== 'undefined' ? this.reverseTransition || '' : this.windowGroup.computedTransition;
|
|
53
|
-
}
|
|
54
|
-
|
|
26
|
+
...makeLazyProps(),
|
|
27
|
+
...makeGroupItemProps()
|
|
55
28
|
},
|
|
56
|
-
methods: {
|
|
57
|
-
genDefaultSlot() {
|
|
58
|
-
return this.$slots.default;
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
genWindowItem() {
|
|
62
|
-
return this.$createElement('div', {
|
|
63
|
-
staticClass: 'v-window-item',
|
|
64
|
-
class: this.classes,
|
|
65
|
-
directives: [{
|
|
66
|
-
name: 'show',
|
|
67
|
-
value: this.isActive
|
|
68
|
-
}],
|
|
69
|
-
on: this.$listeners
|
|
70
|
-
}, this.genDefaultSlot());
|
|
71
|
-
},
|
|
72
29
|
|
|
73
|
-
|
|
74
|
-
|
|
30
|
+
setup(props, _ref) {
|
|
31
|
+
let {
|
|
32
|
+
slots
|
|
33
|
+
} = _ref;
|
|
34
|
+
const window = inject(VWindowSymbol);
|
|
35
|
+
const groupItem = useGroupItem(props, VWindowGroupSymbol);
|
|
36
|
+
if (!window || !groupItem) throw new Error('[Vuetify] VWindowItem must be used inside VWindow');
|
|
37
|
+
const isTransitioning = ref(false);
|
|
38
|
+
const hasTransition = computed(() => window.isReversed.value ? props.reverseTransition !== false : props.transition !== false);
|
|
39
|
+
|
|
40
|
+
function onAfterTransition() {
|
|
41
|
+
if (!isTransitioning.value || !window) {
|
|
75
42
|
return;
|
|
76
43
|
} // Finalize transition state.
|
|
77
44
|
|
|
78
45
|
|
|
79
|
-
|
|
46
|
+
isTransitioning.value = false;
|
|
80
47
|
|
|
81
|
-
if (
|
|
82
|
-
|
|
48
|
+
if (window.transitionCount.value > 0) {
|
|
49
|
+
window.transitionCount.value -= 1; // Remove container height if we are out of transition.
|
|
83
50
|
|
|
84
|
-
if (
|
|
85
|
-
|
|
51
|
+
if (window.transitionCount.value === 0) {
|
|
52
|
+
window.transitionHeight.value = undefined;
|
|
86
53
|
}
|
|
87
54
|
}
|
|
88
|
-
}
|
|
55
|
+
}
|
|
89
56
|
|
|
90
|
-
onBeforeTransition() {
|
|
91
|
-
if (
|
|
57
|
+
function onBeforeTransition() {
|
|
58
|
+
if (isTransitioning.value || !window) {
|
|
92
59
|
return;
|
|
93
60
|
} // Initialize transition state here.
|
|
94
61
|
|
|
95
62
|
|
|
96
|
-
|
|
63
|
+
isTransitioning.value = true;
|
|
64
|
+
|
|
65
|
+
if (window.transitionCount.value === 0) {
|
|
66
|
+
var _window$rootRef$value;
|
|
97
67
|
|
|
98
|
-
if (this.windowGroup.transitionCount === 0) {
|
|
99
68
|
// Set initial height for height transition.
|
|
100
|
-
|
|
69
|
+
window.transitionHeight.value = convertToUnit((_window$rootRef$value = window.rootRef.value) == null ? void 0 : _window$rootRef$value.clientHeight);
|
|
101
70
|
}
|
|
102
71
|
|
|
103
|
-
|
|
104
|
-
}
|
|
72
|
+
window.transitionCount.value += 1;
|
|
73
|
+
}
|
|
105
74
|
|
|
106
|
-
onTransitionCancelled() {
|
|
107
|
-
|
|
108
|
-
}
|
|
75
|
+
function onTransitionCancelled() {
|
|
76
|
+
onAfterTransition(); // This should have the same path as normal transition end.
|
|
77
|
+
}
|
|
109
78
|
|
|
110
|
-
|
|
111
|
-
if (!
|
|
79
|
+
function onEnterTransition(el) {
|
|
80
|
+
if (!isTransitioning.value) {
|
|
112
81
|
return;
|
|
113
82
|
}
|
|
114
83
|
|
|
115
|
-
|
|
84
|
+
nextTick(() => {
|
|
116
85
|
// Do not set height if no transition or cancelled.
|
|
117
|
-
if (!
|
|
86
|
+
if (!hasTransition.value || !isTransitioning.value || !window) {
|
|
118
87
|
return;
|
|
119
88
|
} // Set transition target height.
|
|
120
89
|
|
|
121
90
|
|
|
122
|
-
|
|
91
|
+
window.transitionHeight.value = convertToUnit(el.clientHeight);
|
|
123
92
|
});
|
|
124
93
|
}
|
|
125
94
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
95
|
+
const transition = computed(() => {
|
|
96
|
+
const name = window.isReversed.value ? props.reverseTransition : props.transition;
|
|
97
|
+
return !hasTransition.value ? false : {
|
|
98
|
+
name: typeof name !== 'string' ? window.transition.value : name,
|
|
99
|
+
onBeforeEnter: onBeforeTransition,
|
|
100
|
+
onAfterEnter: onAfterTransition,
|
|
101
|
+
onEnterCancelled: onTransitionCancelled,
|
|
102
|
+
onBeforeLeave: onBeforeTransition,
|
|
103
|
+
onAfterLeave: onAfterTransition,
|
|
104
|
+
onLeaveCancelled: onTransitionCancelled,
|
|
105
|
+
onEnter: onEnterTransition
|
|
106
|
+
};
|
|
107
|
+
});
|
|
108
|
+
const {
|
|
109
|
+
hasContent
|
|
110
|
+
} = useLazy(props, groupItem.isSelected);
|
|
111
|
+
return () => {
|
|
112
|
+
return _createVNode(MaybeTransition, {
|
|
113
|
+
"transition": transition.value
|
|
114
|
+
}, {
|
|
115
|
+
default: () => [_withDirectives(_createVNode("div", {
|
|
116
|
+
"class": ['v-window-item', groupItem.selectedClass.value]
|
|
117
|
+
}, [slots.default && hasContent.value && slots.default()], 2), [[_vShow, groupItem.isSelected.value]])]
|
|
118
|
+
}, 8, ["transition"]);
|
|
119
|
+
};
|
|
146
120
|
}
|
|
147
121
|
|
|
148
122
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/VWindow/VWindowItem.
|
|
1
|
+
{"version":3,"sources":["../../../src/components/VWindow/VWindowItem.tsx"],"names":["makeGroupItemProps","useGroupItem","makeLazyProps","useLazy","MaybeTransition","Touch","computed","inject","nextTick","ref","convertToUnit","defineComponent","VWindowGroupSymbol","VWindowSymbol","VWindowItem","name","directives","props","reverseTransition","type","Boolean","String","default","undefined","transition","setup","slots","window","groupItem","Error","isTransitioning","hasTransition","isReversed","value","onAfterTransition","transitionCount","transitionHeight","onBeforeTransition","rootRef","clientHeight","onTransitionCancelled","onEnterTransition","el","onBeforeEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onAfterLeave","onLeaveCancelled","onEnter","hasContent","isSelected","selectedClass"],"mappings":";AAAA;SACSA,kB,EAAoBC,Y;SACpBC,a,EAAeC,O;SACfC,e,4CAET;;OACOC,K,0CAEP;;AACA,SAASC,QAAT,EAAmBC,MAAnB,EAA2BC,QAA3B,EAAqCC,GAArC,QAAgD,KAAhD;SACSC,a,EAAeC,e;SACfC,kB,EAAoBC,a;AAE7B,OAAO,MAAMC,WAAW,GAAGH,eAAe,CAAC;AACzCI,EAAAA,IAAI,EAAE,aADmC;AAGzCC,EAAAA,UAAU,EAAE;AACVX,IAAAA;AADU,GAH6B;AAOzCY,EAAAA,KAAK,EAAE;AACLC,IAAAA,iBAAiB,EAAE;AACjBC,MAAAA,IAAI,EAAE,CAACC,OAAD,EAAUC,MAAV,CADW;AAEjBC,MAAAA,OAAO,EAAEC;AAFQ,KADd;AAKLC,IAAAA,UAAU,EAAE;AACVL,MAAAA,IAAI,EAAE,CAACC,OAAD,EAAUC,MAAV,CADI;AAEVC,MAAAA,OAAO,EAAEC;AAFC,KALP;AASL,OAAGrB,aAAa,EATX;AAUL,OAAGF,kBAAkB;AAVhB,GAPkC;;AAoBzCyB,EAAAA,KAAK,CAAER,KAAF,QAAoB;AAAA,QAAX;AAAES,MAAAA;AAAF,KAAW;AACvB,UAAMC,MAAM,GAAGpB,MAAM,CAACM,aAAD,CAArB;AACA,UAAMe,SAAS,GAAG3B,YAAY,CAACgB,KAAD,EAAQL,kBAAR,CAA9B;AAEA,QAAI,CAACe,MAAD,IAAW,CAACC,SAAhB,EAA2B,MAAM,IAAIC,KAAJ,CAAU,mDAAV,CAAN;AAE3B,UAAMC,eAAe,GAAGrB,GAAG,CAAC,KAAD,CAA3B;AACA,UAAMsB,aAAa,GAAGzB,QAAQ,CAAC,MAAMqB,MAAM,CAACK,UAAP,CAAkBC,KAAlB,GAA0BhB,KAAK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nC","sourcesContent":["// Composables\nimport { makeGroupItemProps, useGroupItem } from '@/composables/group'\nimport { makeLazyProps, useLazy } from '@/composables/lazy'\nimport { MaybeTransition } from '@/composables/transition'\n\n// Directives\nimport Touch from '@/directives/touch'\n\n// Utilities\nimport { computed, inject, nextTick, ref } from 'vue'\nimport { convertToUnit, defineComponent } from '@/util'\nimport { VWindowGroupSymbol, VWindowSymbol } from './VWindow'\n\nexport const VWindowItem = defineComponent({\n name: 'VWindowItem',\n\n directives: {\n Touch,\n },\n\n props: {\n reverseTransition: {\n type: [Boolean, String],\n default: undefined,\n },\n transition: {\n type: [Boolean, String],\n default: undefined,\n },\n ...makeLazyProps(),\n ...makeGroupItemProps(),\n },\n\n setup (props, { slots }) {\n const window = inject(VWindowSymbol)\n const groupItem = useGroupItem(props, VWindowGroupSymbol)\n\n if (!window || !groupItem) throw new Error('[Vuetify] VWindowItem must be used inside VWindow')\n\n const isTransitioning = ref(false)\n const hasTransition = computed(() => window.isReversed.value ? props.reverseTransition !== false : props.transition !== false)\n\n function onAfterTransition () {\n if (!isTransitioning.value || !window) {\n return\n }\n\n // Finalize transition state.\n isTransitioning.value = false\n if (window.transitionCount.value > 0) {\n window.transitionCount.value -= 1\n\n // Remove container height if we are out of transition.\n if (window.transitionCount.value === 0) {\n window.transitionHeight.value = undefined\n }\n }\n }\n\n function onBeforeTransition () {\n if (isTransitioning.value || !window) {\n return\n }\n\n // Initialize transition state here.\n isTransitioning.value = true\n\n if (window.transitionCount.value === 0) {\n // Set initial height for height transition.\n window.transitionHeight.value = convertToUnit(window.rootRef.value?.clientHeight)\n }\n\n window.transitionCount.value += 1\n }\n\n function onTransitionCancelled () {\n onAfterTransition() // This should have the same path as normal transition end.\n }\n\n function onEnterTransition (el: Element) {\n if (!isTransitioning.value) {\n return\n }\n\n nextTick(() => {\n // Do not set height if no transition or cancelled.\n if (!hasTransition.value || !isTransitioning.value || !window) {\n return\n }\n\n // Set transition target height.\n window.transitionHeight.value = convertToUnit(el.clientHeight)\n })\n }\n\n const transition = computed(() => {\n const name = window.isReversed.value\n ? props.reverseTransition\n : props.transition\n\n return !hasTransition.value ? false : {\n name: typeof name !== 'string' ? window.transition.value : name,\n onBeforeEnter: onBeforeTransition,\n onAfterEnter: onAfterTransition,\n onEnterCancelled: onTransitionCancelled,\n onBeforeLeave: onBeforeTransition,\n onAfterLeave: onAfterTransition,\n onLeaveCancelled: onTransitionCancelled,\n onEnter: onEnterTransition,\n }\n })\n\n const { hasContent } = useLazy(props, groupItem.isSelected)\n\n return () => {\n return (\n <MaybeTransition transition={ transition.value } >\n <div\n class={[\n 'v-window-item',\n groupItem.selectedClass.value,\n ]}\n v-show={ groupItem.isSelected.value }\n >\n { slots.default && hasContent.value && slots.default() }\n </div>\n </MaybeTransition>\n )\n }\n },\n})\n"],"file":"VWindowItem.mjs"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../styles/settings';
|
|
2
2
|
|
|
3
3
|
$window-transition: .3s cubic-bezier(.25, .8, .50, 1) !default;
|
|
4
|
-
$window-controls-
|
|
5
|
-
$window-controls-top: calc(50% - 20px) !default;
|
|
4
|
+
$window-controls-padding: 0 16px !default;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { VWindow, VWindowItem };
|
|
4
|
-
export default {
|
|
5
|
-
$_vuetify_subcomponents: {
|
|
6
|
-
VWindow,
|
|
7
|
-
VWindowItem
|
|
8
|
-
}
|
|
9
|
-
};
|
|
1
|
+
export { VWindow } from "./VWindow.mjs";
|
|
2
|
+
export { VWindowItem } from "./VWindowItem.mjs";
|
|
10
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/VWindow/index.ts"],"names":["VWindow","VWindowItem"
|
|
1
|
+
{"version":3,"sources":["../../../src/components/VWindow/index.ts"],"names":["VWindow","VWindowItem"],"mappings":"SAASA,O;SACAC,W","sourcesContent":["export { VWindow } from './VWindow'\nexport { VWindowItem } from './VWindowItem'\n"],"file":"index.mjs"}
|