@dimailn/vuetify 2.7.2-alpha0 → 2.7.2-alpha11
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/vuetify.css +45 -45
- package/dist/vuetify.css.map +1 -1
- package/dist/vuetify.js +141 -108
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VAutocomplete/VAutocomplete.js +1 -1
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/es5/components/VBadge/VBadge.js +3 -1
- package/es5/components/VBadge/VBadge.js.map +1 -1
- package/es5/components/VColorPicker/VColorPicker.js +6 -6
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -1
- package/es5/components/VData/VData.js +14 -2
- package/es5/components/VData/VData.js.map +1 -1
- package/es5/components/VDataIterator/VDataIterator.js +3 -3
- package/es5/components/VDataIterator/VDataIterator.js.map +1 -1
- package/es5/components/VDataTable/VDataTable.js +1 -1
- package/es5/components/VDataTable/VDataTable.js.map +1 -1
- package/es5/components/VDataTable/VVirtualTable.js +1 -1
- package/es5/components/VDataTable/VVirtualTable.js.map +1 -1
- package/es5/components/VDataTable/mixins/header.js.map +1 -1
- package/es5/components/VDatePicker/VDatePicker.js +6 -6
- package/es5/components/VDatePicker/VDatePicker.js.map +1 -1
- package/es5/components/VDialog/VDialog.js +1 -1
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/es5/components/VForm/VForm.js +1 -1
- package/es5/components/VForm/VForm.js.map +1 -1
- package/es5/components/VGrid/VCol.js +3 -3
- package/es5/components/VGrid/VCol.js.map +1 -1
- package/es5/components/VImg/VImg.js +1 -1
- package/es5/components/VImg/VImg.js.map +1 -1
- package/es5/components/VInput/VInput.js +1 -1
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VItemGroup/VItemGroup.js +1 -1
- package/es5/components/VItemGroup/VItemGroup.js.map +1 -1
- package/es5/components/VList/VListGroup.js +1 -1
- package/es5/components/VList/VListGroup.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +1 -1
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VOverlay/VOverlay.js +1 -1
- package/es5/components/VOverlay/VOverlay.js.map +1 -1
- package/es5/components/VRadioGroup/VRadioGroup.js +2 -2
- package/es5/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +5 -6
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSheet/VSheet.js +4 -4
- package/es5/components/VSheet/VSheet.js.map +1 -1
- package/es5/components/VStepper/VStepperContent.js +1 -1
- package/es5/components/VStepper/VStepperContent.js.map +1 -1
- package/es5/components/VStepper/VStepperStep.js +1 -1
- package/es5/components/VStepper/VStepperStep.js.map +1 -1
- package/es5/components/VSubheader/VSubheader.js +3 -3
- package/es5/components/VSubheader/VSubheader.js.map +1 -1
- package/es5/components/VTabs/VTab.js.map +1 -1
- package/es5/components/VTabs/VTabs.js +0 -1
- package/es5/components/VTabs/VTabs.js.map +1 -1
- package/es5/components/VTextField/VTextField.js +1 -1
- package/es5/components/VTextField/VTextField.js.map +1 -1
- package/es5/components/VTreeview/VTreeviewNode.js +1 -1
- package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/es5/components/transitions/createTransition.js +9 -4
- package/es5/components/transitions/createTransition.js.map +1 -1
- package/es5/components/transitions/expand-transition.js +7 -7
- package/es5/components/transitions/expand-transition.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/activatable/index.js +15 -8
- package/es5/mixins/activatable/index.js.map +1 -1
- package/es5/mixins/applicationable/index.js +1 -1
- package/es5/mixins/applicationable/index.js.map +1 -1
- package/es5/mixins/binds-attrs/index.js +1 -1
- package/es5/mixins/binds-attrs/index.js.map +1 -1
- package/es5/mixins/detachable/index.js +3 -3
- package/es5/mixins/detachable/index.js.map +1 -1
- package/es5/mixins/groupable/index.js +1 -1
- package/es5/mixins/groupable/index.js.map +1 -1
- package/es5/mixins/intersectable/index.js +2 -2
- package/es5/mixins/intersectable/index.js.map +1 -1
- package/es5/mixins/menuable/index.js +4 -1
- package/es5/mixins/menuable/index.js.map +1 -1
- package/es5/mixins/mouse/index.js +0 -1
- package/es5/mixins/mouse/index.js.map +1 -1
- package/es5/mixins/overlayable/index.js +5 -4
- package/es5/mixins/overlayable/index.js.map +1 -1
- package/es5/mixins/proxyable/index.js +0 -4
- package/es5/mixins/proxyable/index.js.map +1 -1
- package/es5/mixins/selectable/index.js +0 -4
- package/es5/mixins/selectable/index.js.map +1 -1
- package/es5/mixins/translatable/index.js +1 -1
- package/es5/mixins/translatable/index.js.map +1 -1
- package/es5/mixins/validatable/index.js +2 -2
- package/es5/mixins/validatable/index.js.map +1 -1
- package/es5/services/breakpoint/index.js +3 -1
- package/es5/services/breakpoint/index.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VBadge/VBadge.js +5 -5
- package/lib/components/VBadge/VBadge.js.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.js +6 -6
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
- package/lib/components/VData/VData.js +15 -2
- package/lib/components/VData/VData.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.js +3 -3
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.js +1 -1
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VDataTable/VVirtualTable.js +1 -1
- package/lib/components/VDataTable/VVirtualTable.js.map +1 -1
- package/lib/components/VDataTable/mixins/header.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.js +6 -6
- package/lib/components/VDatePicker/VDatePicker.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +1 -1
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/lib/components/VForm/VForm.js +1 -1
- package/lib/components/VForm/VForm.js.map +1 -1
- package/lib/components/VGrid/VCol.js +3 -3
- package/lib/components/VGrid/VCol.js.map +1 -1
- package/lib/components/VImg/VImg.js +1 -1
- package/lib/components/VImg/VImg.js.map +1 -1
- package/lib/components/VInput/VInput.js +1 -1
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.js +1 -1
- package/lib/components/VItemGroup/VItemGroup.js.map +1 -1
- package/lib/components/VList/VListGroup.js +1 -1
- package/lib/components/VList/VListGroup.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +1 -1
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VOverlay/VOverlay.js +1 -1
- package/lib/components/VOverlay/VOverlay.js.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.js +2 -2
- package/lib/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +5 -5
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSheet/VSheet.js +1 -1
- package/lib/components/VSheet/VSheet.js.map +1 -1
- package/lib/components/VStepper/VStepperContent.js +1 -1
- package/lib/components/VStepper/VStepperContent.js.map +1 -1
- package/lib/components/VStepper/VStepperStep.js +1 -1
- package/lib/components/VStepper/VStepperStep.js.map +1 -1
- package/lib/components/VSubheader/VSubheader.js +2 -3
- package/lib/components/VSubheader/VSubheader.js.map +1 -1
- package/lib/components/VTabs/VTab.js.map +1 -1
- package/lib/components/VTabs/VTabs.js +0 -1
- package/lib/components/VTabs/VTabs.js.map +1 -1
- package/lib/components/VTextField/VTextField.js +1 -1
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.js +1 -1
- package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/lib/components/transitions/createTransition.js +1 -1
- package/lib/components/transitions/createTransition.js.map +1 -1
- package/lib/components/transitions/expand-transition.js +7 -7
- package/lib/components/transitions/expand-transition.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/activatable/index.js +17 -7
- package/lib/mixins/activatable/index.js.map +1 -1
- package/lib/mixins/applicationable/index.js +1 -1
- package/lib/mixins/applicationable/index.js.map +1 -1
- package/lib/mixins/binds-attrs/index.js +1 -1
- package/lib/mixins/binds-attrs/index.js.map +1 -1
- package/lib/mixins/detachable/index.js +3 -3
- package/lib/mixins/detachable/index.js.map +1 -1
- package/lib/mixins/groupable/index.js +1 -1
- package/lib/mixins/groupable/index.js.map +1 -1
- package/lib/mixins/intersectable/index.js +2 -2
- package/lib/mixins/intersectable/index.js.map +1 -1
- package/lib/mixins/menuable/index.js +5 -1
- package/lib/mixins/menuable/index.js.map +1 -1
- package/lib/mixins/mouse/index.js +0 -1
- package/lib/mixins/mouse/index.js.map +1 -1
- package/lib/mixins/overlayable/index.js +5 -4
- package/lib/mixins/overlayable/index.js.map +1 -1
- package/lib/mixins/proxyable/index.js +0 -4
- package/lib/mixins/proxyable/index.js.map +1 -1
- package/lib/mixins/selectable/index.js +0 -4
- package/lib/mixins/selectable/index.js.map +1 -1
- package/lib/mixins/translatable/index.js +1 -1
- package/lib/mixins/translatable/index.js.map +1 -1
- package/lib/mixins/validatable/index.js +2 -2
- package/lib/mixins/validatable/index.js.map +1 -1
- package/lib/services/breakpoint/index.js +3 -1
- package/lib/services/breakpoint/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VAutocomplete/VAutocomplete.ts +1 -1
- package/src/components/VBadge/VBadge.ts +5 -5
- package/src/components/VBottomSheet/VBottomSheet.sass +1 -1
- package/src/components/VColorPicker/VColorPicker.ts +6 -6
- package/src/components/VData/VData.ts +12 -1
- package/src/components/VDataIterator/VDataIterator.ts +3 -3
- package/src/components/VDataTable/VDataTable.ts +1 -1
- package/src/components/VDataTable/VVirtualTable.ts +1 -1
- package/src/components/VDataTable/mixins/header.ts +2 -2
- package/src/components/VDatePicker/VDatePicker.ts +6 -6
- package/src/components/VDialog/VDialog.ts +1 -1
- package/src/components/VExpansionPanel/VExpansionPanelContent.ts +1 -1
- package/src/components/VExpansionPanel/VExpansionPanelHeader.ts +1 -1
- package/src/components/VForm/VForm.ts +1 -1
- package/src/components/VGrid/VCol.ts +2 -2
- package/src/components/VImg/VImg.ts +1 -1
- package/src/components/VInput/VInput.ts +1 -1
- package/src/components/VItemGroup/VItemGroup.ts +3 -3
- package/src/components/VList/VListGroup.ts +1 -1
- package/src/components/VMenu/VMenu.sass +2 -2
- package/src/components/VMenu/VMenu.ts +1 -0
- package/src/components/VOverlay/VOverlay.ts +1 -1
- package/src/components/VRadioGroup/VRadioGroup.ts +2 -2
- package/src/components/VSelect/VSelect.ts +2 -6
- package/src/components/VSheet/VSheet.ts +1 -1
- package/src/components/VSnackbar/VSnackbar.sass +2 -2
- package/src/components/VStepper/VStepperContent.ts +1 -1
- package/src/components/VStepper/VStepperStep.ts +1 -1
- package/src/components/VSubheader/VSubheader.ts +2 -2
- package/src/components/VTabs/VTab.ts +1 -1
- package/src/components/VTabs/VTabs.ts +0 -1
- package/src/components/VTextField/VTextField.ts +1 -1
- package/src/components/VTreeview/VTreeviewNode.ts +1 -1
- package/src/components/transitions/createTransition.ts +1 -2
- package/src/components/transitions/expand-transition.ts +7 -7
- package/src/mixins/activatable/index.ts +16 -8
- package/src/mixins/applicationable/index.ts +1 -1
- package/src/mixins/binds-attrs/index.ts +1 -1
- package/src/mixins/detachable/index.ts +5 -5
- package/src/mixins/groupable/index.ts +1 -1
- package/src/mixins/intersectable/index.ts +2 -2
- package/src/mixins/menuable/index.ts +4 -1
- package/src/mixins/mouse/index.ts +0 -1
- package/src/mixins/overlayable/index.ts +4 -5
- package/src/mixins/proxyable/index.ts +0 -5
- package/src/mixins/selectable/index.ts +0 -5
- package/src/mixins/translatable/index.ts +1 -1
- package/src/mixins/validatable/index.ts +2 -2
- package/src/services/breakpoint/index.ts +5 -0
- package/src/styles/generic/_transitions.scss +38 -38
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// Extensions
|
|
1
|
+
import { reactive } from 'vue'; // Extensions
|
|
2
|
+
|
|
2
3
|
import { Service } from '../service';
|
|
3
4
|
export class Breakpoint extends Service {
|
|
4
5
|
constructor(preset) {
|
|
@@ -36,6 +37,7 @@ export class Breakpoint extends Service {
|
|
|
36
37
|
this.mobileBreakpoint = mobileBreakpoint;
|
|
37
38
|
this.scrollBarWidth = scrollBarWidth;
|
|
38
39
|
this.thresholds = thresholds;
|
|
40
|
+
return reactive(this);
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
init() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/services/breakpoint/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"sources":["../../../src/services/breakpoint/index.ts"],"names":[],"mappings":"AAAA,SAAS,QAAT,QAAyB,KAAzB,C,CAGA;;AACA,SAAS,OAAT,QAAwB,YAAxB;AAMA,OAAM,MAAO,UAAP,SAA0B,OAA1B,CAAiC;AAuDrC,EAAA,WAAA,CAAa,MAAb,EAAkC;AAChC,YADgC,CApDlC;;AACO,SAAA,EAAA,GAAK,KAAL;AAEA,SAAA,EAAA,GAAK,KAAL;AAEA,SAAA,EAAA,GAAK,KAAL;AAEA,SAAA,EAAA,GAAK,KAAL;AAEA,SAAA,EAAA,GAAK,KAAL;AAEA,SAAA,MAAA,GAAS,KAAT;AAEA,SAAA,MAAA,GAAS,KAAT;AAEA,SAAA,SAAA,GAAY,KAAZ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,MAAM,CAAC,UAAP,IAAqB,CAFhB,CAAP;AAID;;AAEO,EAAA,eAAe,GAAA;AACrB;AACA,QAAI,OAAO,QAAP,KAAoB,WAAxB,EAAqC,OAAO,CAAP,CAFhB,CAEyB;;AAC9C,WAAO,IAAI,CAAC,GAAL,CACL,QAAQ,CAAC,eAAT,CAA0B,YADrB,EAEL,MAAM,CAAC,WAAP,IAAsB,CAFjB,CAAP;AAID;;AAtLoC;AACvB,UAAA,CAAA,QAAA,GAAyB,YAAzB","sourcesContent":["import { reactive } from 'vue'\n\n\n// Extensions\nimport { Service } from '../service'\n\n// Types\nimport { VuetifyPreset } from 'vuetify/types/services/presets'\nimport { Breakpoint as IBreakpoint } from 'vuetify/types/services/breakpoint'\n\nexport class Breakpoint extends Service implements IBreakpoint {\n public static property: 'breakpoint' = 'breakpoint'\n\n // Public\n public xs = false\n\n public sm = false\n\n public md = false\n\n public lg = false\n\n public xl = false\n\n public xsOnly = false\n\n public smOnly = false\n\n public smAndDown = false\n\n public smAndUp = false\n\n public mdOnly = false\n\n public mdAndDown = false\n\n public mdAndUp = false\n\n public lgOnly = false\n\n public lgAndDown = false\n\n public lgAndUp = false\n\n public xlOnly = false\n\n // Value is xs to match v2.x functionality\n public name: IBreakpoint['name'] = 'xs'\n\n public height = 0\n\n public width = 0\n\n // TODO: Add functionality to detect this dynamically in v3\n // Value is true to match v2.x functionality\n public mobile = true\n\n public mobileBreakpoint: IBreakpoint['mobileBreakpoint']\n\n public thresholds: IBreakpoint['thresholds']\n\n public scrollBarWidth: IBreakpoint['scrollBarWidth']\n\n private resizeTimeout = 0\n\n constructor (preset: VuetifyPreset) {\n super()\n\n const {\n mobileBreakpoint,\n scrollBarWidth,\n thresholds,\n } = preset[Breakpoint.property]\n\n this.mobileBreakpoint = mobileBreakpoint\n this.scrollBarWidth = scrollBarWidth\n this.thresholds = thresholds\n\n return reactive(this)\n }\n\n public init () {\n this.update()\n\n /* istanbul ignore if */\n if (typeof window === 'undefined') return\n\n window.addEventListener(\n 'resize',\n this.onResize.bind(this),\n { passive: true }\n )\n }\n\n /* eslint-disable-next-line max-statements */\n public update (ssr = false) {\n const height = ssr ? 0 : this.getClientHeight()\n const width = ssr ? 0 : this.getClientWidth()\n\n const xs = width < this.thresholds.xs\n const sm = width < this.thresholds.sm && !xs\n const md = width < (this.thresholds.md - this.scrollBarWidth) && !(sm || xs)\n const lg = width < (this.thresholds.lg - this.scrollBarWidth) && !(md || sm || xs)\n const xl = width >= (this.thresholds.lg - this.scrollBarWidth)\n\n this.height = height\n this.width = width\n\n this.xs = xs\n this.sm = sm\n this.md = md\n this.lg = lg\n this.xl = xl\n\n this.xsOnly = xs\n this.smOnly = sm\n this.smAndDown = (xs || sm) && !(md || lg || xl)\n this.smAndUp = !xs && (sm || md || lg || xl)\n this.mdOnly = md\n this.mdAndDown = (xs || sm || md) && !(lg || xl)\n this.mdAndUp = !(xs || sm) && (md || lg || xl)\n this.lgOnly = lg\n this.lgAndDown = (xs || sm || md || lg) && !xl\n this.lgAndUp = !(xs || sm || md) && (lg || xl)\n this.xlOnly = xl\n\n switch (true) {\n case (xs):\n this.name = 'xs'\n break\n case (sm):\n this.name = 'sm'\n break\n case (md):\n this.name = 'md'\n break\n case (lg):\n this.name = 'lg'\n break\n default:\n this.name = 'xl'\n break\n }\n\n if (typeof this.mobileBreakpoint === 'number') {\n this.mobile = width < parseInt(this.mobileBreakpoint, 10)\n\n return\n }\n\n const breakpoints = {\n xs: 0,\n sm: 1,\n md: 2,\n lg: 3,\n xl: 4,\n } as const\n\n const current = breakpoints[this.name]\n const max = breakpoints[this.mobileBreakpoint]\n\n this.mobile = current <= max\n }\n\n private onResize () {\n clearTimeout(this.resizeTimeout)\n\n // Added debounce to match what\n // v-resize used to do but was\n // removed due to a memory leak\n // https://github.com/vuetifyjs/vuetify/pull/2997\n this.resizeTimeout = window.setTimeout(this.update.bind(this), 200)\n }\n\n // Cross-browser support as described in:\n // https://stackoverflow.com/questions/1248081\n private getClientWidth () {\n /* istanbul ignore if */\n if (typeof document === 'undefined') return 0 // SSR\n return Math.max(\n document.documentElement!.clientWidth,\n window.innerWidth || 0\n )\n }\n\n private getClientHeight () {\n /* istanbul ignore if */\n if (typeof document === 'undefined') return 0 // SSR\n return Math.max(\n document.documentElement!.clientHeight,\n window.innerHeight || 0\n )\n }\n}\n"],"sourceRoot":"","file":"index.js"}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ import Themeable from '../../mixins/themeable'
|
|
|
11
11
|
import Toggleable from '../../mixins/toggleable'
|
|
12
12
|
import Transitionable from '../../mixins/transitionable'
|
|
13
13
|
import { factory as PositionableFactory } from '../../mixins/positionable'
|
|
14
|
-
|
|
14
|
+
import mergeData from '../../util/mergeData'
|
|
15
15
|
// Utilities
|
|
16
16
|
import mixins from '../../util/mixins'
|
|
17
17
|
import {
|
|
@@ -186,9 +186,9 @@ export default mixins(
|
|
|
186
186
|
if (this.inline && this.left) children.unshift(badge)
|
|
187
187
|
else children.push(badge)
|
|
188
188
|
|
|
189
|
-
return h('span', {
|
|
190
|
-
class: ['v-badge' this.classes]
|
|
191
|
-
|
|
192
|
-
|
|
189
|
+
return h('span', mergeData({
|
|
190
|
+
class: ['v-badge', this.classes]
|
|
191
|
+
}, attrs)
|
|
192
|
+
, children)
|
|
193
193
|
},
|
|
194
194
|
})
|
|
@@ -50,7 +50,7 @@ export default mixins(Elevatable, Themeable).extend({
|
|
|
50
50
|
type: [Number, String],
|
|
51
51
|
default: 150,
|
|
52
52
|
},
|
|
53
|
-
|
|
53
|
+
modelValue: {
|
|
54
54
|
type: [Object, String],
|
|
55
55
|
},
|
|
56
56
|
width: {
|
|
@@ -65,9 +65,9 @@ export default mixins(Elevatable, Themeable).extend({
|
|
|
65
65
|
|
|
66
66
|
computed: {
|
|
67
67
|
hideAlpha (): boolean {
|
|
68
|
-
if (!this.
|
|
68
|
+
if (!this.modelValue) return false
|
|
69
69
|
|
|
70
|
-
return !hasAlpha(this.
|
|
70
|
+
return !hasAlpha(this.modelValue)
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
73
|
|
|
@@ -83,10 +83,10 @@ export default mixins(Elevatable, Themeable).extend({
|
|
|
83
83
|
methods: {
|
|
84
84
|
updateColor (color: VColorPickerColor) {
|
|
85
85
|
this.internalValue = color
|
|
86
|
-
const value = extractColor(this.internalValue, this.
|
|
86
|
+
const value = extractColor(this.internalValue, this.modelValue)
|
|
87
87
|
|
|
88
|
-
if (!deepEqual(value, this.
|
|
89
|
-
this.$emit('
|
|
88
|
+
if (!deepEqual(value, this.modelValue)) {
|
|
89
|
+
this.$emit('update:modelValue', value)
|
|
90
90
|
this.$emit('update:color', this.internalValue)
|
|
91
91
|
}
|
|
92
92
|
},
|
|
@@ -203,7 +203,15 @@ export default defineComponent({
|
|
|
203
203
|
this.$emit('update:options', options)
|
|
204
204
|
},
|
|
205
205
|
deep: true,
|
|
206
|
-
|
|
206
|
+
/*
|
|
207
|
+
In Vue 3 this watcher fires even before created hook and
|
|
208
|
+
if mounting fails and the consumer code relies on update:options event to fetch data
|
|
209
|
+
it causes infinite loop because each data update triggers an attempt to render a table,
|
|
210
|
+
but because mounting constantly fails(for example, due to error in slot) it never happens.
|
|
211
|
+
Previously, in Vue 2 slot errors didn't cause mounting failure, we had partially rendered component.
|
|
212
|
+
This immediate prop is compensated by firing event in mounted hook.
|
|
213
|
+
*/
|
|
214
|
+
// immediate: true,
|
|
207
215
|
},
|
|
208
216
|
page (page: number) {
|
|
209
217
|
this.updateOptions({ page })
|
|
@@ -378,4 +386,7 @@ export default defineComponent({
|
|
|
378
386
|
render (): VNode {
|
|
379
387
|
return this.$slots.default && this.$slots.default(this.scopedProps)[0] as any
|
|
380
388
|
},
|
|
389
|
+
mounted() {
|
|
390
|
+
this.$emit('update:options', this.internalOptions)
|
|
391
|
+
},
|
|
381
392
|
})
|
|
@@ -88,7 +88,7 @@ export default mixins(
|
|
|
88
88
|
},
|
|
89
89
|
|
|
90
90
|
watch: {
|
|
91
|
-
|
|
91
|
+
modelValue: {
|
|
92
92
|
handler (value: any[]) {
|
|
93
93
|
this.selection = value.reduce((selection, item) => {
|
|
94
94
|
selection[getObjectValueByPath(item, this.itemKey)] = item
|
|
@@ -100,7 +100,7 @@ export default mixins(
|
|
|
100
100
|
selection (value: Record<string, boolean>, old: Record<string, boolean>) {
|
|
101
101
|
if (deepEqual(Object.keys(value), Object.keys(old))) return
|
|
102
102
|
|
|
103
|
-
this.$emit('
|
|
103
|
+
this.$emit('update:modelValue', Object.values(value))
|
|
104
104
|
},
|
|
105
105
|
expanded: {
|
|
106
106
|
handler (value: any[]) {
|
|
@@ -154,7 +154,7 @@ export default mixins(
|
|
|
154
154
|
window.addEventListener('keydown', this.onKeyDown)
|
|
155
155
|
window.addEventListener('keyup', this.onKeyUp)
|
|
156
156
|
},
|
|
157
|
-
|
|
157
|
+
beforeUnmount () {
|
|
158
158
|
window.removeEventListener('keydown', this.onKeyDown)
|
|
159
159
|
window.removeEventListener('keyup', this.onKeyUp)
|
|
160
160
|
},
|
|
@@ -98,7 +98,7 @@ export default baseMixins.extend({
|
|
|
98
98
|
this.$refs.table.addEventListener('scroll', this.scrollDebounce, { passive: true })
|
|
99
99
|
},
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
beforeUnmount () {
|
|
102
102
|
this.$refs.table.removeEventListener('scroll', this.scrollDebounce)
|
|
103
103
|
},
|
|
104
104
|
|
|
@@ -55,8 +55,8 @@ export default mixins<options>().extend({
|
|
|
55
55
|
const data = {
|
|
56
56
|
value: this.everyItem,
|
|
57
57
|
indeterminate: !this.everyItem && this.someItems,
|
|
58
|
-
color: this.checkboxColor ?? ''
|
|
59
|
-
onInput: (v: boolean) => this.$emit('toggle-select-all', v)
|
|
58
|
+
color: this.checkboxColor ?? '',
|
|
59
|
+
onInput: (v: boolean) => this.$emit('toggle-select-all', v)
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
if (this.$slots['data-table-select']) {
|
|
@@ -290,7 +290,7 @@ export default mixins(
|
|
|
290
290
|
const output = this.multipleValue
|
|
291
291
|
.map((val: string) => sanitizeDateString(val, type))
|
|
292
292
|
.filter(this.isDateAllowed)
|
|
293
|
-
this.$emit('
|
|
293
|
+
this.$emit('update:modelValue', this.isMultiple ? output : output[0])
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
},
|
|
@@ -308,10 +308,10 @@ export default mixins(
|
|
|
308
308
|
emitInput (newInput: string) {
|
|
309
309
|
if (this.range) {
|
|
310
310
|
if (this.multipleValue.length !== 1) {
|
|
311
|
-
this.$emit('
|
|
311
|
+
this.$emit('update:modelValue', [newInput])
|
|
312
312
|
} else {
|
|
313
313
|
const output = [this.multipleValue[0], newInput]
|
|
314
|
-
this.$emit('
|
|
314
|
+
this.$emit('update:modelValue', output)
|
|
315
315
|
this.$emit('change', output)
|
|
316
316
|
}
|
|
317
317
|
return
|
|
@@ -325,7 +325,7 @@ export default mixins(
|
|
|
325
325
|
)
|
|
326
326
|
: newInput
|
|
327
327
|
|
|
328
|
-
this.$emit('
|
|
328
|
+
this.$emit('update:modelValue', output)
|
|
329
329
|
this.multiple || this.$emit('change', newInput)
|
|
330
330
|
},
|
|
331
331
|
checkMultipleProp () {
|
|
@@ -348,7 +348,7 @@ export default mixins(
|
|
|
348
348
|
}
|
|
349
349
|
this.internalActivePicker = 'MONTH'
|
|
350
350
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
351
|
-
this.$emit('
|
|
351
|
+
this.$emit('update:modelValue', this.inputDate)
|
|
352
352
|
}
|
|
353
353
|
},
|
|
354
354
|
monthClick (value: string) {
|
|
@@ -365,7 +365,7 @@ export default mixins(
|
|
|
365
365
|
this.tableDate = value
|
|
366
366
|
this.internalActivePicker = 'DATE'
|
|
367
367
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
368
|
-
this.$emit('
|
|
368
|
+
this.$emit('update:modelValue', this.inputDate)
|
|
369
369
|
}
|
|
370
370
|
} else {
|
|
371
371
|
this.emitInput(this.inputDate)
|
|
@@ -127,7 +127,7 @@ export default mixins(
|
|
|
127
127
|
|
|
128
128
|
this.watchers = this.watchers.filter(i => i._uid !== found._uid)
|
|
129
129
|
this.inputs = this.inputs.filter(i => i._uid !== found._uid)
|
|
130
|
-
|
|
130
|
+
delete this.errorBag[found._uid]
|
|
131
131
|
},
|
|
132
132
|
},
|
|
133
133
|
|
|
@@ -68,7 +68,7 @@ const cache = new Map<string, any[]>()
|
|
|
68
68
|
|
|
69
69
|
export default defineComponent({
|
|
70
70
|
name: 'v-col',
|
|
71
|
-
|
|
71
|
+
inheritAttrs: false,
|
|
72
72
|
props: {
|
|
73
73
|
cols: {
|
|
74
74
|
type: [Boolean, String, Number],
|
|
@@ -134,6 +134,6 @@ export default defineComponent({
|
|
|
134
134
|
cache.set(cacheKey, classList)
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
return h(props.tag, mergeData(
|
|
137
|
+
return h(props.tag, mergeData({ class: classList }, data), children)
|
|
138
138
|
},
|
|
139
139
|
})
|
|
@@ -244,7 +244,7 @@ export default mixins(
|
|
|
244
244
|
let content: VNode = VResponsive.methods.genContent.call(this)
|
|
245
245
|
|
|
246
246
|
if (this.naturalWidth) {
|
|
247
|
-
content = h(content.type, mergeProps(content.
|
|
247
|
+
content = h(content.type, mergeProps(content.props, {
|
|
248
248
|
style: { width: `${this.naturalWidth}px` },
|
|
249
249
|
}), content.children)
|
|
250
250
|
}
|
|
@@ -52,8 +52,8 @@ export const BaseItemGroup = mixins(
|
|
|
52
52
|
// As long as a value is defined, show it
|
|
53
53
|
// Otherwise, check if multiple
|
|
54
54
|
// to determine which default to provide
|
|
55
|
-
internalLazyValue: this.
|
|
56
|
-
? this.
|
|
55
|
+
internalLazyValue: this.modelValue !== undefined
|
|
56
|
+
? this.modelValue
|
|
57
57
|
: this.multiple ? [] : undefined,
|
|
58
58
|
items: [] as GroupableInstance[],
|
|
59
59
|
}
|
|
@@ -102,7 +102,7 @@ export const BaseItemGroup = mixins(
|
|
|
102
102
|
|
|
103
103
|
watch: {
|
|
104
104
|
internalValue: 'updateItemsState',
|
|
105
|
-
items: 'updateItemsState'
|
|
105
|
+
items: 'updateItemsState'
|
|
106
106
|
},
|
|
107
107
|
|
|
108
108
|
created () {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
max-width: none
|
|
37
37
|
|
|
38
38
|
&-transition
|
|
39
|
-
&-enter
|
|
39
|
+
&-enter-from
|
|
40
40
|
.v-list-item
|
|
41
41
|
min-width: 0
|
|
42
42
|
pointer-events: none
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
&-leave-to
|
|
49
49
|
pointer-events: none
|
|
50
50
|
|
|
51
|
-
&-enter,
|
|
51
|
+
&-enter-from,
|
|
52
52
|
&-leave-to
|
|
53
53
|
opacity: 0
|
|
54
54
|
|
|
@@ -12,8 +12,8 @@ import { PropType } from 'vue'
|
|
|
12
12
|
import {h} from 'vue'
|
|
13
13
|
|
|
14
14
|
const baseMixins = mixins(
|
|
15
|
+
VInput,
|
|
15
16
|
BaseItemGroup,
|
|
16
|
-
VInput
|
|
17
17
|
)
|
|
18
18
|
|
|
19
19
|
/* @vue/component */
|
|
@@ -40,7 +40,7 @@ export default baseMixins.extend({
|
|
|
40
40
|
// If no value set on VRadio
|
|
41
41
|
// will match valueComparator
|
|
42
42
|
// force default to null
|
|
43
|
-
|
|
43
|
+
modelValue: null as unknown as PropType<any>,
|
|
44
44
|
},
|
|
45
45
|
|
|
46
46
|
computed: {
|
|
@@ -241,7 +241,7 @@ export default baseMixins.extend({
|
|
|
241
241
|
return {
|
|
242
242
|
...defaultMenuProps,
|
|
243
243
|
eager: this.eager,
|
|
244
|
-
|
|
244
|
+
modelValue: this.menuCanShow && this.isMenuActive,
|
|
245
245
|
nudgeBottom: normalisedProps.offsetY ? 1 : 0, // convert to int
|
|
246
246
|
...normalisedProps,
|
|
247
247
|
}
|
|
@@ -287,8 +287,6 @@ export default baseMixins.extend({
|
|
|
287
287
|
methods: {
|
|
288
288
|
/** @public */
|
|
289
289
|
blur (e?: Event) {
|
|
290
|
-
console.log("BLUUUUR")
|
|
291
|
-
|
|
292
290
|
VTextField.methods.blur.call(this, e)
|
|
293
291
|
this.isMenuActive = false
|
|
294
292
|
this.isFocused = false
|
|
@@ -453,7 +451,6 @@ export default baseMixins.extend({
|
|
|
453
451
|
delete input.props.name
|
|
454
452
|
|
|
455
453
|
input.props = mergeData(input.props, {
|
|
456
|
-
value: null,
|
|
457
454
|
readonly: true,
|
|
458
455
|
type: 'text',
|
|
459
456
|
'aria-readonly': String(this.isReadonly),
|
|
@@ -463,10 +460,9 @@ export default baseMixins.extend({
|
|
|
463
460
|
onKeypress: this.onKeyPress,
|
|
464
461
|
})
|
|
465
462
|
|
|
463
|
+
input.props = { ...input.props, value: null }
|
|
466
464
|
input.props = normalizeAttrs(input.props)
|
|
467
465
|
|
|
468
|
-
// console.log(input)
|
|
469
|
-
|
|
470
466
|
return input
|
|
471
467
|
},
|
|
472
468
|
genHiddenInput (): VNode {
|
|
@@ -132,11 +132,11 @@
|
|
|
132
132
|
margin-bottom: $snackbar-vertical-action-margin-bottom
|
|
133
133
|
|
|
134
134
|
.v-snack-transition
|
|
135
|
-
&-enter
|
|
135
|
+
&-enter-from
|
|
136
136
|
&.v-snack__wrapper
|
|
137
137
|
transform: scale($snackbar-transition-wrapper-transform)
|
|
138
138
|
|
|
139
|
-
&-enter,
|
|
139
|
+
&-enter-from,
|
|
140
140
|
&-leave-to
|
|
141
141
|
&.v-snack__wrapper
|
|
142
142
|
opacity: 0
|
|
@@ -22,11 +22,11 @@ export default mixins(
|
|
|
22
22
|
|
|
23
23
|
render (): VNode {
|
|
24
24
|
return h('div', {
|
|
25
|
+
...this.$attrs,
|
|
25
26
|
class: ['v-subheader', {
|
|
26
27
|
'v-subheader--inset': this.inset,
|
|
27
28
|
...this.themeClasses,
|
|
28
|
-
}],
|
|
29
|
-
...this.$attrs,
|
|
29
|
+
}, this.$attrs.class],
|
|
30
30
|
...this.$listeners
|
|
31
31
|
}, getSlot(this))
|
|
32
32
|
},
|
|
@@ -88,7 +88,6 @@ export function createSimpleTransition (
|
|
|
88
88
|
el.style.setProperty('display', 'none', 'important')
|
|
89
89
|
})
|
|
90
90
|
}
|
|
91
|
-
|
|
92
91
|
return h(tag, mergeData(this.$attrs, data), this.$slots.default())
|
|
93
92
|
},
|
|
94
93
|
}
|
|
@@ -116,7 +115,7 @@ export function createJavascriptTransition (
|
|
|
116
115
|
Transition,
|
|
117
116
|
mergeData(this.$attrs, {
|
|
118
117
|
name,
|
|
119
|
-
functions,
|
|
118
|
+
...functions,
|
|
120
119
|
}),
|
|
121
120
|
this.$slots.default()
|
|
122
121
|
)
|
|
@@ -15,7 +15,7 @@ export default function (expandedParentClass = '', x = false) {
|
|
|
15
15
|
const offsetProperty = `offset${upperFirst(sizeProperty)}` as 'offsetHeight' | 'offsetWidth'
|
|
16
16
|
|
|
17
17
|
return {
|
|
18
|
-
|
|
18
|
+
onBeforeEnter (el: HTMLExpandElement) {
|
|
19
19
|
el._parent = el.parentNode as (Node & ParentNode & HTMLElement) | null
|
|
20
20
|
el._initialStyle = {
|
|
21
21
|
transition: el.style.transition,
|
|
@@ -24,7 +24,7 @@ export default function (expandedParentClass = '', x = false) {
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
onEnter (el: HTMLExpandElement) {
|
|
28
28
|
const initialStyle = el._initialStyle!
|
|
29
29
|
|
|
30
30
|
el.style.setProperty('transition', 'none', 'important')
|
|
@@ -47,10 +47,10 @@ export default function (expandedParentClass = '', x = false) {
|
|
|
47
47
|
})
|
|
48
48
|
},
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
onAfterEnter: resetStyles,
|
|
51
|
+
onEnterCancelled: resetStyles,
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
onLeave (el: HTMLExpandElement) {
|
|
54
54
|
el._initialStyle = {
|
|
55
55
|
transition: '',
|
|
56
56
|
overflow: el.style.overflow,
|
|
@@ -64,8 +64,8 @@ export default function (expandedParentClass = '', x = false) {
|
|
|
64
64
|
requestAnimationFrame(() => (el.style[sizeProperty] = '0'))
|
|
65
65
|
},
|
|
66
66
|
|
|
67
|
-
afterLeave,
|
|
68
|
-
|
|
67
|
+
onAfterLeave: afterLeave,
|
|
68
|
+
onLeaveCancelled: afterLeave,
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
function afterLeave (el: HTMLExpandElement) {
|