@becompliancebr/shared-components 1.9.0 → 1.10.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/shared-components.common.js +1364 -245
- package/dist/shared-components.common.js.map +1 -1
- package/dist/shared-components.umd.js +1361 -242
- package/dist/shared-components.umd.js.map +1 -1
- package/dist/shared-components.umd.min.js +6 -6
- package/dist/shared-components.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -3953,7 +3953,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
3953
3953
|
|
|
3954
3954
|
/***/ }),
|
|
3955
3955
|
|
|
3956
|
-
/***/
|
|
3956
|
+
/***/ 35760:
|
|
3957
3957
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3958
3958
|
|
|
3959
3959
|
"use strict";
|
|
@@ -4159,14 +4159,14 @@ var helpers = __webpack_require__(66960);
|
|
|
4159
4159
|
}));
|
|
4160
4160
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTooltip/VTooltip.js
|
|
4161
4161
|
var VTooltip = __webpack_require__(52670);
|
|
4162
|
-
;// ./node_modules/vuetify-loader/lib/loader.js??ruleSet[1].rules[0].use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeCountCard/BeCountCard.vue?vue&type=template&id=
|
|
4162
|
+
;// ./node_modules/vuetify-loader/lib/loader.js??ruleSet[1].rules[0].use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeCountCard/BeCountCard.vue?vue&type=template&id=0f226f48&scoped=true
|
|
4163
4163
|
|
|
4164
4164
|
|
|
4165
4165
|
|
|
4166
4166
|
|
|
4167
4167
|
|
|
4168
4168
|
|
|
4169
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(("height: 100%; min-height: " + _vm.height)),on:{"click":_vm.filter}},[_c(VCard/* default */.A,{class:("elevation-" + _vm.elevation + " rounded-lg"),style:("\n overflow: hidden;\n z-index: 1;"),attrs:{"href":_vm.to,"target":"_blank","min-height":_vm.height,"height":"100%","color":_vm.color}},[(_vm.loading)?_c(VSkeletonLoader_VSkeletonLoader,{staticStyle:{"height":"100%"},attrs:{"type":"list-item-avatar-two-line"}}):_c(components_VCard/* VCardText */.OQ,{class:_vm.dense ? 'pa-2' : ''},[_c('div',[_c('BeTextInfoIcon',{attrs:{"iconContainerColor":_vm.iconContainerColor,"contentPosition":_vm.labelPosition},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c(VIcon/* default */.A,{attrs:{"color":_vm.iconColor || _vm.color,"size":_vm.iconSize}},[_vm._v(_vm._s(_vm.icon))])]},proxy:true},{key:"title",fn:function(){return [_c('div',{class:((_vm.dense ? 'ms-1 mt-1' : 'ms-1 mb-1') + " " + _vm.textColor + "--text"),style:(_vm.dense ? 'font-size: 1.
|
|
4169
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(("height: 100%; min-height: " + _vm.height)),on:{"click":_vm.filter}},[_c(VCard/* default */.A,{class:("elevation-" + _vm.elevation + " rounded-lg"),style:("\n overflow: hidden;\n z-index: 1;"),attrs:{"href":_vm.to,"target":"_blank","min-height":_vm.height,"height":"100%","color":_vm.color}},[(_vm.loading)?_c(VSkeletonLoader_VSkeletonLoader,{staticStyle:{"height":"100%"},attrs:{"type":"list-item-avatar-two-line"}}):_c(components_VCard/* VCardText */.OQ,{class:_vm.dense ? 'pa-2' : ''},[_c('div',[_c('BeTextInfoIcon',{attrs:{"iconContainerColor":_vm.iconContainerColor,"contentPosition":_vm.labelPosition},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c(VIcon/* default */.A,{attrs:{"color":_vm.iconColor || _vm.color,"size":_vm.iconSize}},[_vm._v(_vm._s(_vm.icon))])]},proxy:true},{key:"title",fn:function(){return [_c('div',{class:((_vm.dense ? 'ms-1 mt-1' : 'ms-1 mb-1') + " " + _vm.textColor + "--text"),style:(_vm.dense ? 'font-size: 1.4em' : 'font-size: 1.4rem')},[_vm._v(" "+_vm._s(_vm.count)+" ")])]},proxy:true}])},[[_c('div',{staticClass:"ms-1",class:(_vm.textColor + "--text"),style:(_vm.dense ? 'font-size: 1em' : 'font-size: 1rem')},[_vm._v(" "+_vm._s(_vm.label)+" "),(!!_vm.infoTooltip || !!_vm.showInfoIcon)?_c(VTooltip/* default */.A,{attrs:{"bottom":"","max-width":"400","disabled":!_vm.infoTooltip},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
4170
4170
|
var on = ref.on;
|
|
4171
4171
|
var attrs = ref.attrs;
|
|
4172
4172
|
return [_c(VIcon/* default */.A,_vm._g(_vm._b({class:(_vm.textColor + "--text count-card-info-icon"),attrs:{"small":""},on:{"click":_vm.showInfo}},'v-icon',attrs,false),on),[_vm._v("far fa-info-circle ")])]}}],null,false,3714295128)},[_c('span',{staticClass:"break-text"},[_vm._v(" "+_vm._s(_vm.infoTooltip)+" ")])]):_vm._e()],1)]],2)],1)])],1)],1)}
|
|
@@ -4338,9 +4338,9 @@ var BeTextInfoIcon = __webpack_require__(61186);
|
|
|
4338
4338
|
});
|
|
4339
4339
|
;// ./src/components/BeCountCard/BeCountCard.vue?vue&type=script&lang=js
|
|
4340
4340
|
/* harmony default export */ var BeCountCard_BeCountCardvue_type_script_lang_js = (BeCountCardvue_type_script_lang_js);
|
|
4341
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeCountCard/BeCountCard.vue?vue&type=style&index=0&id=
|
|
4342
|
-
var
|
|
4343
|
-
;// ./src/components/BeCountCard/BeCountCard.vue?vue&type=style&index=0&id=
|
|
4341
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeCountCard/BeCountCard.vue?vue&type=style&index=0&id=0f226f48&prod&scoped=true&lang=css
|
|
4342
|
+
var BeCountCardvue_type_style_index_0_id_0f226f48_prod_scoped_true_lang_css = __webpack_require__(12059);
|
|
4343
|
+
;// ./src/components/BeCountCard/BeCountCard.vue?vue&type=style&index=0&id=0f226f48&prod&scoped=true&lang=css
|
|
4344
4344
|
|
|
4345
4345
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
4346
4346
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -4359,7 +4359,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
4359
4359
|
staticRenderFns,
|
|
4360
4360
|
false,
|
|
4361
4361
|
null,
|
|
4362
|
-
"
|
|
4362
|
+
"0f226f48",
|
|
4363
4363
|
null
|
|
4364
4364
|
|
|
4365
4365
|
)
|
|
@@ -4368,7 +4368,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
4368
4368
|
|
|
4369
4369
|
/***/ }),
|
|
4370
4370
|
|
|
4371
|
-
/***/
|
|
4371
|
+
/***/ 43498:
|
|
4372
4372
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4373
4373
|
|
|
4374
4374
|
"use strict";
|
|
@@ -4386,41 +4386,10 @@ var VBtn = __webpack_require__(58433);
|
|
|
4386
4386
|
var VDatePickerTitle = __webpack_require__(86923);
|
|
4387
4387
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/index.js
|
|
4388
4388
|
var VIcon = __webpack_require__(57889);
|
|
4389
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/
|
|
4390
|
-
var
|
|
4389
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker-button/index.js
|
|
4390
|
+
var picker_button = __webpack_require__(78737);
|
|
4391
4391
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mixins.js
|
|
4392
4392
|
var mixins = __webpack_require__(3507);
|
|
4393
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
4394
|
-
var helpers = __webpack_require__(66960);
|
|
4395
|
-
;// ./node_modules/vuetify/lib/mixins/picker-button/index.js
|
|
4396
|
-
// Mixins
|
|
4397
|
-
// Utilities
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
/* @vue/component */
|
|
4402
|
-
|
|
4403
|
-
/* harmony default export */ var picker_button = ((0,mixins/* default */.A)(colorable/* default */.A).extend({
|
|
4404
|
-
methods: {
|
|
4405
|
-
genPickerButton(prop, value, content, readonly = false, staticClass = '') {
|
|
4406
|
-
const active = this[prop] === value;
|
|
4407
|
-
const click = event => {
|
|
4408
|
-
event.stopPropagation();
|
|
4409
|
-
this.$emit(`update:${(0,helpers/* kebabCase */.kW)(prop)}`, value);
|
|
4410
|
-
};
|
|
4411
|
-
return this.$createElement('div', {
|
|
4412
|
-
staticClass: `v-picker__title__btn ${staticClass}`.trim(),
|
|
4413
|
-
class: {
|
|
4414
|
-
'v-picker__title__btn--active': active,
|
|
4415
|
-
'v-picker__title__btn--readonly': readonly
|
|
4416
|
-
},
|
|
4417
|
-
on: active || readonly ? undefined : {
|
|
4418
|
-
click
|
|
4419
|
-
}
|
|
4420
|
-
}, Array.isArray(content) ? content : [content]);
|
|
4421
|
-
}
|
|
4422
|
-
}
|
|
4423
|
-
}));
|
|
4424
4393
|
;// ./node_modules/vuetify/lib/components/VDatePicker/VDatePickerTitle.js
|
|
4425
4394
|
// Components
|
|
4426
4395
|
|
|
@@ -4429,7 +4398,7 @@ var helpers = __webpack_require__(66960);
|
|
|
4429
4398
|
// Utils
|
|
4430
4399
|
|
|
4431
4400
|
|
|
4432
|
-
/* harmony default export */ var VDatePicker_VDatePickerTitle = ((0,mixins/* default */.A)(picker_button
|
|
4401
|
+
/* harmony default export */ var VDatePicker_VDatePickerTitle = ((0,mixins/* default */.A)(picker_button/* default */.A
|
|
4433
4402
|
/* @vue/component */).extend({
|
|
4434
4403
|
name: 'v-date-picker-title',
|
|
4435
4404
|
props: {
|
|
@@ -4504,6 +4473,8 @@ var helpers = __webpack_require__(66960);
|
|
|
4504
4473
|
var VDatePickerHeader = __webpack_require__(44754);
|
|
4505
4474
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/index.js
|
|
4506
4475
|
var components_VBtn = __webpack_require__(3536);
|
|
4476
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/colorable/index.js
|
|
4477
|
+
var colorable = __webpack_require__(68767);
|
|
4507
4478
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","amd":"vue","root":"Vue"}
|
|
4508
4479
|
var external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_ = __webpack_require__(90916);
|
|
4509
4480
|
var external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_);
|
|
@@ -4522,21 +4493,8 @@ var external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_default = /*#__PURE__*/
|
|
|
4522
4493
|
}));
|
|
4523
4494
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/themeable/index.js
|
|
4524
4495
|
var themeable = __webpack_require__(53661);
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
targetLength = targetLength >> 0;
|
|
4528
|
-
string = String(string);
|
|
4529
|
-
padString = String(padString);
|
|
4530
|
-
if (string.length > targetLength) {
|
|
4531
|
-
return String(string);
|
|
4532
|
-
}
|
|
4533
|
-
targetLength = targetLength - string.length;
|
|
4534
|
-
if (targetLength > padString.length) {
|
|
4535
|
-
padString += padString.repeat(targetLength / padString.length);
|
|
4536
|
-
}
|
|
4537
|
-
return padString.slice(0, targetLength) + String(string);
|
|
4538
|
-
};
|
|
4539
|
-
/* harmony default export */ var pad = ((n, length = 2) => padStart(n, length, '0'));
|
|
4496
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDatePicker/util/pad.js
|
|
4497
|
+
var pad = __webpack_require__(92238);
|
|
4540
4498
|
;// ./node_modules/vuetify/lib/components/VDatePicker/util/createNativeLocaleFormatter.js
|
|
4541
4499
|
|
|
4542
4500
|
function createNativeLocaleFormatter(locale, options, substrOptions = {
|
|
@@ -4545,7 +4503,7 @@ function createNativeLocaleFormatter(locale, options, substrOptions = {
|
|
|
4545
4503
|
}) {
|
|
4546
4504
|
const makeIsoString = dateString => {
|
|
4547
4505
|
const [year, month, date] = dateString.trim().split(' ')[0].split('-');
|
|
4548
|
-
return [pad(year, 4), pad(month || 1), pad(date || 1)].join('-');
|
|
4506
|
+
return [(0,pad/* default */.A)(year, 4), (0,pad/* default */.A)(month || 1), (0,pad/* default */.A)(date || 1)].join('-');
|
|
4549
4507
|
};
|
|
4550
4508
|
try {
|
|
4551
4509
|
const intlFormatter = new Intl.DateTimeFormat(locale || undefined, options);
|
|
@@ -4569,7 +4527,7 @@ function createNativeLocaleFormatter(locale, options, substrOptions = {
|
|
|
4569
4527
|
} else if (month + sign === 13) {
|
|
4570
4528
|
return `${year + 1}-01`;
|
|
4571
4529
|
} else {
|
|
4572
|
-
return `${year}-${pad(month + sign)}`;
|
|
4530
|
+
return `${year}-${(0,pad/* default */.A)(month + sign)}`;
|
|
4573
4531
|
}
|
|
4574
4532
|
});
|
|
4575
4533
|
;// ./node_modules/vuetify/lib/components/VDatePicker/VDatePickerHeader.js
|
|
@@ -4735,6 +4693,8 @@ function isDateAllowed(date, min, max, allowedFn) {
|
|
|
4735
4693
|
}
|
|
4736
4694
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mergeData.js
|
|
4737
4695
|
var mergeData = __webpack_require__(64961);
|
|
4696
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
4697
|
+
var helpers = __webpack_require__(66960);
|
|
4738
4698
|
;// ./node_modules/vuetify/lib/components/VDatePicker/mixins/date-picker-table.js
|
|
4739
4699
|
// Directives
|
|
4740
4700
|
|
|
@@ -5030,7 +4990,7 @@ function isLeapYear(year) {
|
|
|
5030
4990
|
},
|
|
5031
4991
|
// Returns number of the days from the firstDayOfWeek to the first day of the current month
|
|
5032
4992
|
weekDaysBeforeFirstDayOfTheMonth() {
|
|
5033
|
-
const firstDayOfTheMonth = new Date(`${this.displayedYear}-${pad(this.displayedMonth + 1)}-01T00:00:00+00:00`);
|
|
4993
|
+
const firstDayOfTheMonth = new Date(`${this.displayedYear}-${(0,pad/* default */.A)(this.displayedMonth + 1)}-01T00:00:00+00:00`);
|
|
5034
4994
|
const weekDay = firstDayOfTheMonth.getUTCDay();
|
|
5035
4995
|
return (weekDay - parseInt(this.firstDayOfWeek) + 7) % 7;
|
|
5036
4996
|
},
|
|
@@ -5052,7 +5012,7 @@ function isLeapYear(year) {
|
|
|
5052
5012
|
}
|
|
5053
5013
|
while (day--) rows.push(this.$createElement('td'));
|
|
5054
5014
|
for (day = 1; day <= daysInMonth; day++) {
|
|
5055
|
-
const date = `${this.displayedYear}-${pad(this.displayedMonth + 1)}-${pad(day)}`;
|
|
5015
|
+
const date = `${this.displayedYear}-${(0,pad/* default */.A)(this.displayedMonth + 1)}-${(0,pad/* default */.A)(day)}`;
|
|
5056
5016
|
rows.push(this.$createElement('td', [this.genButton(date, true, 'date', this.formatter)]));
|
|
5057
5017
|
if (rows.length % (this.showWeek ? 8 : 7) === 0) {
|
|
5058
5018
|
children.push(this.genTR(rows));
|
|
@@ -5107,7 +5067,7 @@ function isLeapYear(year) {
|
|
|
5107
5067
|
for (let row = 0; row < rows; row++) {
|
|
5108
5068
|
const tds = cols.map((_, col) => {
|
|
5109
5069
|
const month = row * cols.length + col;
|
|
5110
|
-
const date = `${this.displayedYear}-${pad(month + 1)}`;
|
|
5070
|
+
const date = `${this.displayedYear}-${(0,pad/* default */.A)(month + 1)}`;
|
|
5111
5071
|
return this.$createElement('td', {
|
|
5112
5072
|
key: month
|
|
5113
5073
|
}, [this.genButton(date, false, 'month', this.formatter)]);
|
|
@@ -5207,165 +5167,8 @@ var VDatePickerYears = __webpack_require__(83735);
|
|
|
5207
5167
|
}, this.genYearItems());
|
|
5208
5168
|
}
|
|
5209
5169
|
}));
|
|
5210
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/
|
|
5211
|
-
var
|
|
5212
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VCard/VCard.sass
|
|
5213
|
-
var VCard = __webpack_require__(1019);
|
|
5214
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/elevatable/index.js
|
|
5215
|
-
var elevatable = __webpack_require__(45083);
|
|
5216
|
-
;// ./node_modules/vuetify/lib/components/VPicker/VPicker.js
|
|
5217
|
-
|
|
5218
|
-
// Mixins
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
// Helpers
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
/* @vue/component */
|
|
5227
|
-
|
|
5228
|
-
/* harmony default export */ var VPicker_VPicker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A).extend({
|
|
5229
|
-
name: 'v-picker',
|
|
5230
|
-
props: {
|
|
5231
|
-
flat: Boolean,
|
|
5232
|
-
fullWidth: Boolean,
|
|
5233
|
-
landscape: Boolean,
|
|
5234
|
-
noTitle: Boolean,
|
|
5235
|
-
transition: {
|
|
5236
|
-
type: String,
|
|
5237
|
-
default: 'fade-transition'
|
|
5238
|
-
},
|
|
5239
|
-
width: {
|
|
5240
|
-
type: [Number, String],
|
|
5241
|
-
default: 290
|
|
5242
|
-
}
|
|
5243
|
-
},
|
|
5244
|
-
computed: {
|
|
5245
|
-
computedTitleColor() {
|
|
5246
|
-
const defaultTitleColor = this.isDark ? false : this.color || 'primary';
|
|
5247
|
-
return this.color || defaultTitleColor;
|
|
5248
|
-
}
|
|
5249
|
-
},
|
|
5250
|
-
methods: {
|
|
5251
|
-
genTitle() {
|
|
5252
|
-
return this.$createElement('div', this.setBackgroundColor(this.computedTitleColor, {
|
|
5253
|
-
staticClass: 'v-picker__title',
|
|
5254
|
-
class: {
|
|
5255
|
-
'v-picker__title--landscape': this.landscape
|
|
5256
|
-
}
|
|
5257
|
-
}), this.$slots.title);
|
|
5258
|
-
},
|
|
5259
|
-
genBodyTransition() {
|
|
5260
|
-
return this.$createElement('transition', {
|
|
5261
|
-
props: {
|
|
5262
|
-
name: this.transition
|
|
5263
|
-
}
|
|
5264
|
-
}, this.$slots.default);
|
|
5265
|
-
},
|
|
5266
|
-
genBody() {
|
|
5267
|
-
return this.$createElement('div', {
|
|
5268
|
-
staticClass: 'v-picker__body',
|
|
5269
|
-
class: {
|
|
5270
|
-
'v-picker__body--no-title': this.noTitle,
|
|
5271
|
-
...this.themeClasses
|
|
5272
|
-
},
|
|
5273
|
-
style: this.fullWidth ? undefined : {
|
|
5274
|
-
width: (0,helpers/* convertToUnit */.Dg)(this.width)
|
|
5275
|
-
}
|
|
5276
|
-
}, [this.genBodyTransition()]);
|
|
5277
|
-
},
|
|
5278
|
-
genActions() {
|
|
5279
|
-
return this.$createElement('div', {
|
|
5280
|
-
staticClass: 'v-picker__actions v-card__actions',
|
|
5281
|
-
class: {
|
|
5282
|
-
'v-picker__actions--no-title': this.noTitle
|
|
5283
|
-
}
|
|
5284
|
-
}, this.$slots.actions);
|
|
5285
|
-
}
|
|
5286
|
-
},
|
|
5287
|
-
render(h) {
|
|
5288
|
-
return h('div', {
|
|
5289
|
-
staticClass: 'v-picker v-card',
|
|
5290
|
-
class: {
|
|
5291
|
-
'v-picker--flat': this.flat,
|
|
5292
|
-
'v-picker--landscape': this.landscape,
|
|
5293
|
-
'v-picker--full-width': this.fullWidth,
|
|
5294
|
-
...this.themeClasses,
|
|
5295
|
-
...this.elevationClasses
|
|
5296
|
-
}
|
|
5297
|
-
}, [this.$slots.title ? this.genTitle() : null, this.genBody(), this.$slots.actions ? this.genActions() : null]);
|
|
5298
|
-
}
|
|
5299
|
-
}));
|
|
5300
|
-
;// ./node_modules/vuetify/lib/components/VPicker/index.js
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
/* harmony default export */ var components_VPicker = (VPicker_VPicker);
|
|
5304
|
-
;// ./node_modules/vuetify/lib/mixins/picker/index.js
|
|
5305
|
-
|
|
5306
|
-
// Components
|
|
5307
|
-
// Mixins
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
// Utils
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
/* harmony default export */ var picker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A
|
|
5315
|
-
/* @vue/component */).extend({
|
|
5316
|
-
name: 'picker',
|
|
5317
|
-
props: {
|
|
5318
|
-
flat: Boolean,
|
|
5319
|
-
fullWidth: Boolean,
|
|
5320
|
-
headerColor: String,
|
|
5321
|
-
landscape: Boolean,
|
|
5322
|
-
noTitle: Boolean,
|
|
5323
|
-
width: {
|
|
5324
|
-
type: [Number, String],
|
|
5325
|
-
default: 290
|
|
5326
|
-
}
|
|
5327
|
-
},
|
|
5328
|
-
methods: {
|
|
5329
|
-
genPickerTitle() {
|
|
5330
|
-
return null;
|
|
5331
|
-
},
|
|
5332
|
-
genPickerBody() {
|
|
5333
|
-
return null;
|
|
5334
|
-
},
|
|
5335
|
-
genPickerActionsSlot() {
|
|
5336
|
-
return this.$scopedSlots.default ? this.$scopedSlots.default({
|
|
5337
|
-
save: this.save,
|
|
5338
|
-
cancel: this.cancel
|
|
5339
|
-
}) : this.$slots.default;
|
|
5340
|
-
},
|
|
5341
|
-
genPicker(staticClass) {
|
|
5342
|
-
const children = [];
|
|
5343
|
-
if (!this.noTitle) {
|
|
5344
|
-
const title = this.genPickerTitle();
|
|
5345
|
-
title && children.push(title);
|
|
5346
|
-
}
|
|
5347
|
-
const body = this.genPickerBody();
|
|
5348
|
-
body && children.push(body);
|
|
5349
|
-
children.push(this.$createElement('template', {
|
|
5350
|
-
slot: 'actions'
|
|
5351
|
-
}, [this.genPickerActionsSlot()]));
|
|
5352
|
-
return this.$createElement(components_VPicker, {
|
|
5353
|
-
staticClass,
|
|
5354
|
-
props: {
|
|
5355
|
-
color: this.headerColor || this.color,
|
|
5356
|
-
dark: this.dark,
|
|
5357
|
-
elevation: this.elevation,
|
|
5358
|
-
flat: this.flat,
|
|
5359
|
-
fullWidth: this.fullWidth,
|
|
5360
|
-
landscape: this.landscape,
|
|
5361
|
-
light: this.light,
|
|
5362
|
-
width: this.width,
|
|
5363
|
-
noTitle: this.noTitle
|
|
5364
|
-
}
|
|
5365
|
-
}, children);
|
|
5366
|
-
}
|
|
5367
|
-
}
|
|
5368
|
-
}));
|
|
5170
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker/index.js + 2 modules
|
|
5171
|
+
var picker = __webpack_require__(44820);
|
|
5369
5172
|
;// ./node_modules/vuetify/lib/components/VCalendar/util/timestamp.js
|
|
5370
5173
|
|
|
5371
5174
|
|
|
@@ -5785,13 +5588,13 @@ var console = __webpack_require__(65604);
|
|
|
5785
5588
|
|
|
5786
5589
|
function sanitizeDateString(dateString, type) {
|
|
5787
5590
|
const [year, month = 1, date = 1] = dateString.split('-');
|
|
5788
|
-
return `${year}-${pad(month)}-${pad(date)}`.substr(0, {
|
|
5591
|
+
return `${year}-${(0,pad/* default */.A)(month)}-${(0,pad/* default */.A)(date)}`.substr(0, {
|
|
5789
5592
|
date: 10,
|
|
5790
5593
|
month: 7,
|
|
5791
5594
|
year: 4
|
|
5792
5595
|
}[type]);
|
|
5793
5596
|
}
|
|
5794
|
-
/* harmony default export */ var VDatePicker = ((0,mixins/* default */.A)(localable, picker).extend({
|
|
5597
|
+
/* harmony default export */ var VDatePicker = ((0,mixins/* default */.A)(localable, picker/* default */.A).extend({
|
|
5795
5598
|
name: 'v-date-picker',
|
|
5796
5599
|
props: {
|
|
5797
5600
|
allowedDates: Function,
|
|
@@ -5918,7 +5721,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
5918
5721
|
return this.showCurrent || null;
|
|
5919
5722
|
},
|
|
5920
5723
|
inputDate() {
|
|
5921
|
-
return this.type === 'date' ? `${this.inputYear}-${pad(this.inputMonth + 1)}-${pad(this.inputDay)}` : `${this.inputYear}-${pad(this.inputMonth + 1)}`;
|
|
5724
|
+
return this.type === 'date' ? `${this.inputYear}-${(0,pad/* default */.A)(this.inputMonth + 1)}-${(0,pad/* default */.A)(this.inputDay)}` : `${this.inputYear}-${(0,pad/* default */.A)(this.inputMonth + 1)}`;
|
|
5922
5725
|
},
|
|
5923
5726
|
tableMonth() {
|
|
5924
5727
|
return Number((this.pickerDate || this.tableDate).split('-')[1]) - 1;
|
|
@@ -6062,7 +5865,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6062
5865
|
if (this.type === 'month') {
|
|
6063
5866
|
this.tableDate = `${value}`;
|
|
6064
5867
|
} else {
|
|
6065
|
-
this.tableDate = `${value}-${pad((this.tableMonth || 0) + 1)}`;
|
|
5868
|
+
this.tableDate = `${value}-${(0,pad/* default */.A)((this.tableMonth || 0) + 1)}`;
|
|
6066
5869
|
}
|
|
6067
5870
|
this.activePicker = 'MONTH';
|
|
6068
5871
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
@@ -6124,7 +5927,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6124
5927
|
prevAriaLabel: this.activePicker === 'DATE' ? this.prevMonthAriaLabel : this.prevYearAriaLabel,
|
|
6125
5928
|
prevIcon: this.prevIcon,
|
|
6126
5929
|
readonly: this.readonly,
|
|
6127
|
-
value: this.activePicker === 'DATE' ? `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}` : `${pad(this.tableYear, 4)}`
|
|
5930
|
+
value: this.activePicker === 'DATE' ? `${(0,pad/* default */.A)(this.tableYear, 4)}-${(0,pad/* default */.A)(this.tableMonth + 1)}` : `${(0,pad/* default */.A)(this.tableYear, 4)}`
|
|
6128
5931
|
},
|
|
6129
5932
|
on: {
|
|
6130
5933
|
toggle: () => this.activePicker = this.activePicker === 'DATE' ? 'MONTH' : 'YEAR',
|
|
@@ -6153,7 +5956,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6153
5956
|
readonly: this.readonly,
|
|
6154
5957
|
scrollable: this.scrollable,
|
|
6155
5958
|
showWeek: this.showWeek,
|
|
6156
|
-
tableDate: `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}`,
|
|
5959
|
+
tableDate: `${(0,pad/* default */.A)(this.tableYear, 4)}-${(0,pad/* default */.A)(this.tableMonth + 1)}`,
|
|
6157
5960
|
value: this.value,
|
|
6158
5961
|
weekdayFormat: this.weekdayFormat
|
|
6159
5962
|
},
|
|
@@ -6184,7 +5987,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6184
5987
|
readonly: this.readonly && this.type === 'month',
|
|
6185
5988
|
scrollable: this.scrollable,
|
|
6186
5989
|
value: this.selectedMonths,
|
|
6187
|
-
tableDate: `${pad(this.tableYear, 4)}`
|
|
5990
|
+
tableDate: `${(0,pad/* default */.A)(this.tableYear, 4)}`
|
|
6188
5991
|
},
|
|
6189
5992
|
ref: 'table',
|
|
6190
5993
|
on: {
|
|
@@ -6239,12 +6042,8 @@ function sanitizeDateString(dateString, type) {
|
|
|
6239
6042
|
var VDialog = __webpack_require__(27556);
|
|
6240
6043
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
|
|
6241
6044
|
var VIcon_VIcon = __webpack_require__(4222);
|
|
6242
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/
|
|
6243
|
-
var
|
|
6244
|
-
;// ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
/* harmony default export */ var VSpacer = ((0,helpers/* createSimpleFunctional */.Gn)('spacer', 'div', 'v-spacer'));
|
|
6045
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
|
|
6046
|
+
var VSpacer = __webpack_require__(67410);
|
|
6248
6047
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTextField/VTextField.js + 2 modules
|
|
6249
6048
|
var VTextField = __webpack_require__(94257);
|
|
6250
6049
|
;// ./node_modules/vuetify-loader/lib/loader.js??ruleSet[1].rules[0].use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeDatePicker/BeDatePicker.vue?vue&type=template&id=12aa127a&scoped=true
|
|
@@ -6257,7 +6056,7 @@ var VTextField = __webpack_require__(94257);
|
|
|
6257
6056
|
|
|
6258
6057
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.label)?_c('span',{class:("label " + (_vm.error ? 'error--text' : ''))},[_vm._v(" "+_vm._s(_vm.label)),_vm._t("info")],2):_vm._e(),_c(VTextField/* default */.A,_vm._g(_vm._b({directives:[{name:"mask",rawName:"v-mask",value:(['##/##/####']),expression:"['##/##/####']"}],class:(_vm.elevationClass + " customClass"),attrs:{"background-color":_vm.computedBackgroundColor,"value":_vm.computedValue,"solo":_vm.isPrimary,"outlined":_vm.isOutlined,"error":_vm.computedError,"error-messages":_vm.errorMessages,"dense":_vm.computedDense,"rules":_vm.rules,"hide-details":_vm.hideDetails,"readonly":_vm.readonly,"disabled":_vm.readonly,"clearable":_vm.clearable,"color":_vm.color,"placeholder":_vm.placeholder,"persistent-placeholder":true},on:{"change":_vm.userInput},scopedSlots:_vm._u([{key:"prepend-inner",fn:function(){return [_c('div',{staticClass:"prependInner"},[_vm._t("prepend-inner-content")],2)]},proxy:true},{key:"append",fn:function(){return [_c(VDialog/* default */.A,{ref:"dialog",attrs:{"return-value":_vm.localDate,"persistent":"","width":"290px","disabled":_vm.readonly},on:{"update:returnValue":function($event){_vm.localDate=$event},"update:return-value":function($event){_vm.localDate=$event}},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
6259
6058
|
var on = ref.on;
|
|
6260
|
-
return [_c('div',{staticClass:"appendIcon"},[_c(VIcon_VIcon/* default */.A,_vm._g({attrs:{"color":_vm.iconColor}},on),[_vm._v(" mdi-calendar ")])],1)]}}]),model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:"modal"}},[_c(VDatePicker,{attrs:{"scrollable":"","show-current":"","color":_vm.color,"min":_vm.min,"allowed-dates":_vm.allowedDates},on:{"change":_vm.changed},model:{value:(_vm.localDate),callback:function ($$v) {_vm.localDate=$$v},expression:"localDate"}},[_c(VSpacer),_c(VBtn/* default */.A,{attrs:{"text":"","color":_vm.color},on:{"click":function($event){_vm.modal = false}}},[_vm._v("Cancelar")]),_c(VBtn/* default */.A,{attrs:{"text":"","color":_vm.color},on:{"click":function($event){return _vm.$refs.dialog.save(_vm.localDate)}}},[_vm._v("OK")])],1)],1)]},proxy:true}],null,true)},'v-text-field',_vm.$attrs,false),_vm.$listeners))],1)}
|
|
6059
|
+
return [_c('div',{staticClass:"appendIcon"},[_c(VIcon_VIcon/* default */.A,_vm._g({attrs:{"color":_vm.iconColor}},on),[_vm._v(" mdi-calendar ")])],1)]}}]),model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:"modal"}},[_c(VDatePicker,{attrs:{"scrollable":"","show-current":"","color":_vm.color,"min":_vm.min,"allowed-dates":_vm.allowedDates},on:{"change":_vm.changed},model:{value:(_vm.localDate),callback:function ($$v) {_vm.localDate=$$v},expression:"localDate"}},[_c(VSpacer/* default */.A),_c(VBtn/* default */.A,{attrs:{"text":"","color":_vm.color},on:{"click":function($event){_vm.modal = false}}},[_vm._v("Cancelar")]),_c(VBtn/* default */.A,{attrs:{"text":"","color":_vm.color},on:{"click":function($event){return _vm.$refs.dialog.save(_vm.localDate)}}},[_vm._v("OK")])],1)],1)]},proxy:true}],null,true)},'v-text-field',_vm.$attrs,false),_vm.$listeners))],1)}
|
|
6261
6060
|
var staticRenderFns = []
|
|
6262
6061
|
|
|
6263
6062
|
|
|
@@ -12925,7 +12724,7 @@ var themeable = __webpack_require__(53661);
|
|
|
12925
12724
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTabs/VTabsItems.js + 1 modules
|
|
12926
12725
|
var VTabsItems = __webpack_require__(85499);
|
|
12927
12726
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTabs/VTabsSlider.js
|
|
12928
|
-
var VTabsSlider = __webpack_require__(
|
|
12727
|
+
var VTabsSlider = __webpack_require__(34440);
|
|
12929
12728
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/colorable/index.js
|
|
12930
12729
|
var colorable = __webpack_require__(68767);
|
|
12931
12730
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/proxyable/index.js
|
|
@@ -13661,7 +13460,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13661
13460
|
});
|
|
13662
13461
|
|
|
13663
13462
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTabs/VTabsSlider.js
|
|
13664
|
-
var VTabsSlider = __webpack_require__(
|
|
13463
|
+
var VTabsSlider = __webpack_require__(34440);
|
|
13665
13464
|
;// ./node_modules/vuetify-loader/lib/loader.js??ruleSet[1].rules[0].use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeTabsComponents/BeTabsSlider/BeTabsSlider.vue?vue&type=template&id=b2407676&scoped=true
|
|
13666
13465
|
|
|
13667
13466
|
|
|
@@ -14522,6 +14321,960 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
14522
14321
|
|
|
14523
14322
|
/***/ }),
|
|
14524
14323
|
|
|
14324
|
+
/***/ 17659:
|
|
14325
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14326
|
+
|
|
14327
|
+
"use strict";
|
|
14328
|
+
// ESM COMPAT FLAG
|
|
14329
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14330
|
+
|
|
14331
|
+
// EXPORTS
|
|
14332
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14333
|
+
"default": function() { return /* binding */ BeTimePicker; }
|
|
14334
|
+
});
|
|
14335
|
+
|
|
14336
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/VBtn.js + 1 modules
|
|
14337
|
+
var VBtn = __webpack_require__(58433);
|
|
14338
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDialog/VDialog.js + 3 modules
|
|
14339
|
+
var VDialog = __webpack_require__(27556);
|
|
14340
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
|
|
14341
|
+
var VIcon = __webpack_require__(4222);
|
|
14342
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
|
|
14343
|
+
var VSpacer = __webpack_require__(67410);
|
|
14344
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTextField/VTextField.js + 2 modules
|
|
14345
|
+
var VTextField = __webpack_require__(94257);
|
|
14346
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
14347
|
+
var es_array_push = __webpack_require__(44114);
|
|
14348
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VTimePicker/VTimePickerTitle.sass
|
|
14349
|
+
var VTimePickerTitle = __webpack_require__(41591);
|
|
14350
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker-button/index.js
|
|
14351
|
+
var picker_button = __webpack_require__(78737);
|
|
14352
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDatePicker/util/pad.js
|
|
14353
|
+
var pad = __webpack_require__(92238);
|
|
14354
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mixins.js
|
|
14355
|
+
var mixins = __webpack_require__(3507);
|
|
14356
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/SelectingTimes.js
|
|
14357
|
+
var SelectingTimes;
|
|
14358
|
+
(function (SelectingTimes) {
|
|
14359
|
+
SelectingTimes[SelectingTimes["Hour"] = 1] = "Hour";
|
|
14360
|
+
SelectingTimes[SelectingTimes["Minute"] = 2] = "Minute";
|
|
14361
|
+
SelectingTimes[SelectingTimes["Second"] = 3] = "Second";
|
|
14362
|
+
})(SelectingTimes || (SelectingTimes = {}));
|
|
14363
|
+
|
|
14364
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/VTimePickerTitle.js
|
|
14365
|
+
|
|
14366
|
+
// Mixins
|
|
14367
|
+
|
|
14368
|
+
// Utils
|
|
14369
|
+
|
|
14370
|
+
|
|
14371
|
+
|
|
14372
|
+
|
|
14373
|
+
/* harmony default export */ var VTimePicker_VTimePickerTitle = ((0,mixins/* default */.A)(picker_button/* default */.A
|
|
14374
|
+
/* @vue/component */).extend({
|
|
14375
|
+
name: 'v-time-picker-title',
|
|
14376
|
+
props: {
|
|
14377
|
+
ampm: Boolean,
|
|
14378
|
+
ampmReadonly: Boolean,
|
|
14379
|
+
disabled: Boolean,
|
|
14380
|
+
hour: Number,
|
|
14381
|
+
minute: Number,
|
|
14382
|
+
second: Number,
|
|
14383
|
+
period: {
|
|
14384
|
+
type: String,
|
|
14385
|
+
validator: period => period === 'am' || period === 'pm'
|
|
14386
|
+
},
|
|
14387
|
+
readonly: Boolean,
|
|
14388
|
+
useSeconds: Boolean,
|
|
14389
|
+
selecting: Number
|
|
14390
|
+
},
|
|
14391
|
+
methods: {
|
|
14392
|
+
genTime() {
|
|
14393
|
+
let hour = this.hour;
|
|
14394
|
+
if (this.ampm) {
|
|
14395
|
+
hour = hour ? (hour - 1) % 12 + 1 : 12;
|
|
14396
|
+
}
|
|
14397
|
+
const displayedHour = this.hour == null ? '--' : this.ampm ? String(hour) : (0,pad/* default */.A)(hour);
|
|
14398
|
+
const displayedMinute = this.minute == null ? '--' : (0,pad/* default */.A)(this.minute);
|
|
14399
|
+
const titleContent = [this.genPickerButton('selecting', SelectingTimes.Hour, displayedHour, this.disabled), this.$createElement('span', ':'), this.genPickerButton('selecting', SelectingTimes.Minute, displayedMinute, this.disabled)];
|
|
14400
|
+
if (this.useSeconds) {
|
|
14401
|
+
const displayedSecond = this.second == null ? '--' : (0,pad/* default */.A)(this.second);
|
|
14402
|
+
titleContent.push(this.$createElement('span', ':'));
|
|
14403
|
+
titleContent.push(this.genPickerButton('selecting', SelectingTimes.Second, displayedSecond, this.disabled));
|
|
14404
|
+
}
|
|
14405
|
+
return this.$createElement('div', {
|
|
14406
|
+
class: 'v-time-picker-title__time'
|
|
14407
|
+
}, titleContent);
|
|
14408
|
+
},
|
|
14409
|
+
genAmPm() {
|
|
14410
|
+
return this.$createElement('div', {
|
|
14411
|
+
staticClass: 'v-time-picker-title__ampm',
|
|
14412
|
+
class: {
|
|
14413
|
+
'v-time-picker-title__ampm--readonly': this.ampmReadonly
|
|
14414
|
+
}
|
|
14415
|
+
}, [!this.ampmReadonly || this.period === 'am' ? this.genPickerButton('period', 'am', this.$vuetify.lang.t('$vuetify.timePicker.am'), this.disabled || this.readonly) : null, !this.ampmReadonly || this.period === 'pm' ? this.genPickerButton('period', 'pm', this.$vuetify.lang.t('$vuetify.timePicker.pm'), this.disabled || this.readonly) : null]);
|
|
14416
|
+
}
|
|
14417
|
+
},
|
|
14418
|
+
render(h) {
|
|
14419
|
+
const children = [this.genTime()];
|
|
14420
|
+
this.ampm && children.push(this.genAmPm());
|
|
14421
|
+
return h('div', {
|
|
14422
|
+
staticClass: 'v-time-picker-title'
|
|
14423
|
+
}, children);
|
|
14424
|
+
}
|
|
14425
|
+
}));
|
|
14426
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VTimePicker/VTimePickerClock.sass
|
|
14427
|
+
var VTimePickerClock = __webpack_require__(6883);
|
|
14428
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/colorable/index.js
|
|
14429
|
+
var colorable = __webpack_require__(68767);
|
|
14430
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/themeable/index.js
|
|
14431
|
+
var themeable = __webpack_require__(53661);
|
|
14432
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/VTimePickerClock.js
|
|
14433
|
+
|
|
14434
|
+
// Mixins
|
|
14435
|
+
|
|
14436
|
+
|
|
14437
|
+
// Types
|
|
14438
|
+
|
|
14439
|
+
|
|
14440
|
+
/* harmony default export */ var VTimePicker_VTimePickerClock = ((0,mixins/* default */.A)(colorable/* default */.A, themeable/* default */.A
|
|
14441
|
+
/* @vue/component */).extend({
|
|
14442
|
+
name: 'v-time-picker-clock',
|
|
14443
|
+
props: {
|
|
14444
|
+
allowedValues: Function,
|
|
14445
|
+
ampm: Boolean,
|
|
14446
|
+
disabled: Boolean,
|
|
14447
|
+
double: Boolean,
|
|
14448
|
+
format: {
|
|
14449
|
+
type: Function,
|
|
14450
|
+
default: val => val
|
|
14451
|
+
},
|
|
14452
|
+
max: {
|
|
14453
|
+
type: Number,
|
|
14454
|
+
required: true
|
|
14455
|
+
},
|
|
14456
|
+
min: {
|
|
14457
|
+
type: Number,
|
|
14458
|
+
required: true
|
|
14459
|
+
},
|
|
14460
|
+
scrollable: Boolean,
|
|
14461
|
+
readonly: Boolean,
|
|
14462
|
+
rotate: {
|
|
14463
|
+
type: Number,
|
|
14464
|
+
default: 0
|
|
14465
|
+
},
|
|
14466
|
+
step: {
|
|
14467
|
+
type: Number,
|
|
14468
|
+
default: 1
|
|
14469
|
+
},
|
|
14470
|
+
value: Number
|
|
14471
|
+
},
|
|
14472
|
+
data() {
|
|
14473
|
+
return {
|
|
14474
|
+
inputValue: this.value,
|
|
14475
|
+
isDragging: false,
|
|
14476
|
+
valueOnMouseDown: null,
|
|
14477
|
+
valueOnMouseUp: null
|
|
14478
|
+
};
|
|
14479
|
+
},
|
|
14480
|
+
computed: {
|
|
14481
|
+
count() {
|
|
14482
|
+
return this.max - this.min + 1;
|
|
14483
|
+
},
|
|
14484
|
+
degreesPerUnit() {
|
|
14485
|
+
return 360 / this.roundCount;
|
|
14486
|
+
},
|
|
14487
|
+
degrees() {
|
|
14488
|
+
return this.degreesPerUnit * Math.PI / 180;
|
|
14489
|
+
},
|
|
14490
|
+
displayedValue() {
|
|
14491
|
+
return this.value == null ? this.min : this.value;
|
|
14492
|
+
},
|
|
14493
|
+
innerRadiusScale() {
|
|
14494
|
+
return 0.62;
|
|
14495
|
+
},
|
|
14496
|
+
roundCount() {
|
|
14497
|
+
return this.double ? this.count / 2 : this.count;
|
|
14498
|
+
}
|
|
14499
|
+
},
|
|
14500
|
+
watch: {
|
|
14501
|
+
value(value) {
|
|
14502
|
+
this.inputValue = value;
|
|
14503
|
+
}
|
|
14504
|
+
},
|
|
14505
|
+
methods: {
|
|
14506
|
+
wheel(e) {
|
|
14507
|
+
e.preventDefault();
|
|
14508
|
+
const delta = Math.sign(-e.deltaY || 1);
|
|
14509
|
+
let value = this.displayedValue;
|
|
14510
|
+
do {
|
|
14511
|
+
value = value + delta;
|
|
14512
|
+
value = (value - this.min + this.count) % this.count + this.min;
|
|
14513
|
+
} while (!this.isAllowed(value) && value !== this.displayedValue);
|
|
14514
|
+
if (value !== this.displayedValue) {
|
|
14515
|
+
this.update(value);
|
|
14516
|
+
}
|
|
14517
|
+
},
|
|
14518
|
+
isInner(value) {
|
|
14519
|
+
return this.double && value - this.min >= this.roundCount;
|
|
14520
|
+
},
|
|
14521
|
+
handScale(value) {
|
|
14522
|
+
return this.isInner(value) ? this.innerRadiusScale : 1;
|
|
14523
|
+
},
|
|
14524
|
+
isAllowed(value) {
|
|
14525
|
+
return !this.allowedValues || this.allowedValues(value);
|
|
14526
|
+
},
|
|
14527
|
+
genValues() {
|
|
14528
|
+
const children = [];
|
|
14529
|
+
for (let value = this.min; value <= this.max; value = value + this.step) {
|
|
14530
|
+
const color = value === this.value && (this.color || 'accent');
|
|
14531
|
+
children.push(this.$createElement('span', this.setBackgroundColor(color, {
|
|
14532
|
+
staticClass: 'v-time-picker-clock__item',
|
|
14533
|
+
class: {
|
|
14534
|
+
'v-time-picker-clock__item--active': value === this.displayedValue,
|
|
14535
|
+
'v-time-picker-clock__item--disabled': this.disabled || !this.isAllowed(value)
|
|
14536
|
+
},
|
|
14537
|
+
style: this.getTransform(value),
|
|
14538
|
+
domProps: {
|
|
14539
|
+
innerHTML: `<span>${this.format(value)}</span>`
|
|
14540
|
+
}
|
|
14541
|
+
})));
|
|
14542
|
+
}
|
|
14543
|
+
return children;
|
|
14544
|
+
},
|
|
14545
|
+
genHand() {
|
|
14546
|
+
const scale = `scaleY(${this.handScale(this.displayedValue)})`;
|
|
14547
|
+
const angle = this.rotate + this.degreesPerUnit * (this.displayedValue - this.min);
|
|
14548
|
+
const color = this.value != null && (this.color || 'accent');
|
|
14549
|
+
return this.$createElement('div', this.setBackgroundColor(color, {
|
|
14550
|
+
staticClass: 'v-time-picker-clock__hand',
|
|
14551
|
+
class: {
|
|
14552
|
+
'v-time-picker-clock__hand--inner': this.isInner(this.value)
|
|
14553
|
+
},
|
|
14554
|
+
style: {
|
|
14555
|
+
transform: `rotate(${angle}deg) ${scale}`
|
|
14556
|
+
}
|
|
14557
|
+
}));
|
|
14558
|
+
},
|
|
14559
|
+
getTransform(i) {
|
|
14560
|
+
const {
|
|
14561
|
+
x,
|
|
14562
|
+
y
|
|
14563
|
+
} = this.getPosition(i);
|
|
14564
|
+
return {
|
|
14565
|
+
left: `${50 + x * 50}%`,
|
|
14566
|
+
top: `${50 + y * 50}%`
|
|
14567
|
+
};
|
|
14568
|
+
},
|
|
14569
|
+
getPosition(value) {
|
|
14570
|
+
const rotateRadians = this.rotate * Math.PI / 180;
|
|
14571
|
+
return {
|
|
14572
|
+
x: Math.sin((value - this.min) * this.degrees + rotateRadians) * this.handScale(value),
|
|
14573
|
+
y: -Math.cos((value - this.min) * this.degrees + rotateRadians) * this.handScale(value)
|
|
14574
|
+
};
|
|
14575
|
+
},
|
|
14576
|
+
onMouseDown(e) {
|
|
14577
|
+
e.preventDefault();
|
|
14578
|
+
this.valueOnMouseDown = null;
|
|
14579
|
+
this.valueOnMouseUp = null;
|
|
14580
|
+
this.isDragging = true;
|
|
14581
|
+
this.onDragMove(e);
|
|
14582
|
+
},
|
|
14583
|
+
onMouseUp(e) {
|
|
14584
|
+
e.stopPropagation();
|
|
14585
|
+
this.isDragging = false;
|
|
14586
|
+
if (this.valueOnMouseUp !== null && this.isAllowed(this.valueOnMouseUp)) {
|
|
14587
|
+
this.$emit('change', this.valueOnMouseUp);
|
|
14588
|
+
}
|
|
14589
|
+
},
|
|
14590
|
+
onDragMove(e) {
|
|
14591
|
+
e.preventDefault();
|
|
14592
|
+
if (!this.isDragging && e.type !== 'click') return;
|
|
14593
|
+
const {
|
|
14594
|
+
width,
|
|
14595
|
+
top,
|
|
14596
|
+
left
|
|
14597
|
+
} = this.$refs.clock.getBoundingClientRect();
|
|
14598
|
+
const {
|
|
14599
|
+
width: innerWidth
|
|
14600
|
+
} = this.$refs.innerClock.getBoundingClientRect();
|
|
14601
|
+
const {
|
|
14602
|
+
clientX,
|
|
14603
|
+
clientY
|
|
14604
|
+
} = 'touches' in e ? e.touches[0] : e;
|
|
14605
|
+
const center = {
|
|
14606
|
+
x: width / 2,
|
|
14607
|
+
y: -width / 2
|
|
14608
|
+
};
|
|
14609
|
+
const coords = {
|
|
14610
|
+
x: clientX - left,
|
|
14611
|
+
y: top - clientY
|
|
14612
|
+
};
|
|
14613
|
+
const handAngle = Math.round(this.angle(center, coords) - this.rotate + 360) % 360;
|
|
14614
|
+
const insideClick = this.double && this.euclidean(center, coords) < (innerWidth + innerWidth * this.innerRadiusScale) / 4;
|
|
14615
|
+
const checksCount = Math.ceil(15 / this.degreesPerUnit);
|
|
14616
|
+
let value;
|
|
14617
|
+
for (let i = 0; i < checksCount; i++) {
|
|
14618
|
+
value = this.angleToValue(handAngle + i * this.degreesPerUnit, insideClick);
|
|
14619
|
+
if (this.isAllowed(value)) return this.setMouseDownValue(value);
|
|
14620
|
+
value = this.angleToValue(handAngle - i * this.degreesPerUnit, insideClick);
|
|
14621
|
+
if (this.isAllowed(value)) return this.setMouseDownValue(value);
|
|
14622
|
+
}
|
|
14623
|
+
},
|
|
14624
|
+
angleToValue(angle, insideClick) {
|
|
14625
|
+
const value = (Math.round(angle / this.degreesPerUnit) + (insideClick ? this.roundCount : 0)) % this.count + this.min; // Necessary to fix edge case when selecting left part of the value(s) at 12 o'clock
|
|
14626
|
+
|
|
14627
|
+
if (angle < 360 - this.degreesPerUnit / 2) return value;
|
|
14628
|
+
return insideClick ? this.max - this.roundCount + 1 : this.min;
|
|
14629
|
+
},
|
|
14630
|
+
setMouseDownValue(value) {
|
|
14631
|
+
if (this.valueOnMouseDown === null) {
|
|
14632
|
+
this.valueOnMouseDown = value;
|
|
14633
|
+
}
|
|
14634
|
+
this.valueOnMouseUp = value;
|
|
14635
|
+
this.update(value);
|
|
14636
|
+
},
|
|
14637
|
+
update(value) {
|
|
14638
|
+
if (this.inputValue !== value) {
|
|
14639
|
+
this.inputValue = value;
|
|
14640
|
+
this.$emit('input', value);
|
|
14641
|
+
}
|
|
14642
|
+
},
|
|
14643
|
+
euclidean(p0, p1) {
|
|
14644
|
+
const dx = p1.x - p0.x;
|
|
14645
|
+
const dy = p1.y - p0.y;
|
|
14646
|
+
return Math.sqrt(dx * dx + dy * dy);
|
|
14647
|
+
},
|
|
14648
|
+
angle(center, p1) {
|
|
14649
|
+
const value = 2 * Math.atan2(p1.y - center.y - this.euclidean(center, p1), p1.x - center.x);
|
|
14650
|
+
return Math.abs(value * 180 / Math.PI);
|
|
14651
|
+
}
|
|
14652
|
+
},
|
|
14653
|
+
render(h) {
|
|
14654
|
+
const data = {
|
|
14655
|
+
staticClass: 'v-time-picker-clock',
|
|
14656
|
+
class: {
|
|
14657
|
+
'v-time-picker-clock--indeterminate': this.value == null,
|
|
14658
|
+
...this.themeClasses
|
|
14659
|
+
},
|
|
14660
|
+
on: this.readonly || this.disabled ? undefined : {
|
|
14661
|
+
mousedown: this.onMouseDown,
|
|
14662
|
+
mouseup: this.onMouseUp,
|
|
14663
|
+
mouseleave: e => this.isDragging && this.onMouseUp(e),
|
|
14664
|
+
touchstart: this.onMouseDown,
|
|
14665
|
+
touchend: this.onMouseUp,
|
|
14666
|
+
mousemove: this.onDragMove,
|
|
14667
|
+
touchmove: this.onDragMove
|
|
14668
|
+
},
|
|
14669
|
+
ref: 'clock'
|
|
14670
|
+
};
|
|
14671
|
+
if (this.scrollable && data.on) {
|
|
14672
|
+
data.on.wheel = this.wheel;
|
|
14673
|
+
}
|
|
14674
|
+
return h('div', data, [h('div', {
|
|
14675
|
+
staticClass: 'v-time-picker-clock__inner',
|
|
14676
|
+
ref: 'innerClock'
|
|
14677
|
+
}, [this.genHand(), this.genValues()])]);
|
|
14678
|
+
}
|
|
14679
|
+
}));
|
|
14680
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker/index.js + 2 modules
|
|
14681
|
+
var picker = __webpack_require__(44820);
|
|
14682
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
14683
|
+
var helpers = __webpack_require__(66960);
|
|
14684
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/VTimePicker.js
|
|
14685
|
+
// Components
|
|
14686
|
+
|
|
14687
|
+
// Mixins
|
|
14688
|
+
|
|
14689
|
+
|
|
14690
|
+
// Utils
|
|
14691
|
+
|
|
14692
|
+
|
|
14693
|
+
|
|
14694
|
+
|
|
14695
|
+
|
|
14696
|
+
const rangeHours24 = (0,helpers/* createRange */.Sd)(24);
|
|
14697
|
+
const rangeHours12am = (0,helpers/* createRange */.Sd)(12);
|
|
14698
|
+
const rangeHours12pm = rangeHours12am.map(v => v + 12);
|
|
14699
|
+
const range60 = (0,helpers/* createRange */.Sd)(60);
|
|
14700
|
+
const selectingNames = {
|
|
14701
|
+
1: 'hour',
|
|
14702
|
+
2: 'minute',
|
|
14703
|
+
3: 'second'
|
|
14704
|
+
};
|
|
14705
|
+
|
|
14706
|
+
/* harmony default export */ var VTimePicker = ((0,mixins/* default */.A)(picker/* default */.A, picker_button/* default */.A
|
|
14707
|
+
/* @vue/component */).extend({
|
|
14708
|
+
name: 'v-time-picker',
|
|
14709
|
+
props: {
|
|
14710
|
+
allowedHours: [Function, Array],
|
|
14711
|
+
allowedMinutes: [Function, Array],
|
|
14712
|
+
allowedSeconds: [Function, Array],
|
|
14713
|
+
disabled: Boolean,
|
|
14714
|
+
format: {
|
|
14715
|
+
type: String,
|
|
14716
|
+
default: 'ampm',
|
|
14717
|
+
validator(val) {
|
|
14718
|
+
return ['ampm', '24hr'].includes(val);
|
|
14719
|
+
}
|
|
14720
|
+
},
|
|
14721
|
+
min: String,
|
|
14722
|
+
max: String,
|
|
14723
|
+
readonly: Boolean,
|
|
14724
|
+
scrollable: Boolean,
|
|
14725
|
+
useSeconds: Boolean,
|
|
14726
|
+
value: null,
|
|
14727
|
+
ampmInTitle: Boolean
|
|
14728
|
+
},
|
|
14729
|
+
data() {
|
|
14730
|
+
return {
|
|
14731
|
+
inputHour: null,
|
|
14732
|
+
inputMinute: null,
|
|
14733
|
+
inputSecond: null,
|
|
14734
|
+
lazyInputHour: null,
|
|
14735
|
+
lazyInputMinute: null,
|
|
14736
|
+
lazyInputSecond: null,
|
|
14737
|
+
period: 'am',
|
|
14738
|
+
selecting: SelectingTimes.Hour
|
|
14739
|
+
};
|
|
14740
|
+
},
|
|
14741
|
+
computed: {
|
|
14742
|
+
selectingHour: {
|
|
14743
|
+
get() {
|
|
14744
|
+
return this.selecting === SelectingTimes.Hour;
|
|
14745
|
+
},
|
|
14746
|
+
set(v) {
|
|
14747
|
+
this.selecting = SelectingTimes.Hour;
|
|
14748
|
+
}
|
|
14749
|
+
},
|
|
14750
|
+
selectingMinute: {
|
|
14751
|
+
get() {
|
|
14752
|
+
return this.selecting === SelectingTimes.Minute;
|
|
14753
|
+
},
|
|
14754
|
+
set(v) {
|
|
14755
|
+
this.selecting = SelectingTimes.Minute;
|
|
14756
|
+
}
|
|
14757
|
+
},
|
|
14758
|
+
selectingSecond: {
|
|
14759
|
+
get() {
|
|
14760
|
+
return this.selecting === SelectingTimes.Second;
|
|
14761
|
+
},
|
|
14762
|
+
set(v) {
|
|
14763
|
+
this.selecting = SelectingTimes.Second;
|
|
14764
|
+
}
|
|
14765
|
+
},
|
|
14766
|
+
isAllowedHourCb() {
|
|
14767
|
+
let cb;
|
|
14768
|
+
if (this.allowedHours instanceof Array) {
|
|
14769
|
+
cb = val => this.allowedHours.includes(val);
|
|
14770
|
+
} else {
|
|
14771
|
+
cb = this.allowedHours;
|
|
14772
|
+
}
|
|
14773
|
+
if (!this.min && !this.max) return cb;
|
|
14774
|
+
const minHour = this.min ? Number(this.min.split(':')[0]) : 0;
|
|
14775
|
+
const maxHour = this.max ? Number(this.max.split(':')[0]) : 23;
|
|
14776
|
+
return val => {
|
|
14777
|
+
return val >= minHour * 1 && val <= maxHour * 1 && (!cb || cb(val));
|
|
14778
|
+
};
|
|
14779
|
+
},
|
|
14780
|
+
isAllowedMinuteCb() {
|
|
14781
|
+
let cb;
|
|
14782
|
+
const isHourAllowed = !this.isAllowedHourCb || this.inputHour === null || this.isAllowedHourCb(this.inputHour);
|
|
14783
|
+
if (this.allowedMinutes instanceof Array) {
|
|
14784
|
+
cb = val => this.allowedMinutes.includes(val);
|
|
14785
|
+
} else {
|
|
14786
|
+
cb = this.allowedMinutes;
|
|
14787
|
+
}
|
|
14788
|
+
if (!this.min && !this.max) {
|
|
14789
|
+
return isHourAllowed ? cb : () => false;
|
|
14790
|
+
}
|
|
14791
|
+
const [minHour, minMinute] = this.min ? this.min.split(':').map(Number) : [0, 0];
|
|
14792
|
+
const [maxHour, maxMinute] = this.max ? this.max.split(':').map(Number) : [23, 59];
|
|
14793
|
+
const minTime = minHour * 60 + minMinute * 1;
|
|
14794
|
+
const maxTime = maxHour * 60 + maxMinute * 1;
|
|
14795
|
+
return val => {
|
|
14796
|
+
const time = 60 * this.inputHour + val;
|
|
14797
|
+
return time >= minTime && time <= maxTime && isHourAllowed && (!cb || cb(val));
|
|
14798
|
+
};
|
|
14799
|
+
},
|
|
14800
|
+
isAllowedSecondCb() {
|
|
14801
|
+
let cb;
|
|
14802
|
+
const isHourAllowed = !this.isAllowedHourCb || this.inputHour === null || this.isAllowedHourCb(this.inputHour);
|
|
14803
|
+
const isMinuteAllowed = isHourAllowed && (!this.isAllowedMinuteCb || this.inputMinute === null || this.isAllowedMinuteCb(this.inputMinute));
|
|
14804
|
+
if (this.allowedSeconds instanceof Array) {
|
|
14805
|
+
cb = val => this.allowedSeconds.includes(val);
|
|
14806
|
+
} else {
|
|
14807
|
+
cb = this.allowedSeconds;
|
|
14808
|
+
}
|
|
14809
|
+
if (!this.min && !this.max) {
|
|
14810
|
+
return isMinuteAllowed ? cb : () => false;
|
|
14811
|
+
}
|
|
14812
|
+
const [minHour, minMinute, minSecond] = this.min ? this.min.split(':').map(Number) : [0, 0, 0];
|
|
14813
|
+
const [maxHour, maxMinute, maxSecond] = this.max ? this.max.split(':').map(Number) : [23, 59, 59];
|
|
14814
|
+
const minTime = minHour * 3600 + minMinute * 60 + (minSecond || 0) * 1;
|
|
14815
|
+
const maxTime = maxHour * 3600 + maxMinute * 60 + (maxSecond || 0) * 1;
|
|
14816
|
+
return val => {
|
|
14817
|
+
const time = 3600 * this.inputHour + 60 * this.inputMinute + val;
|
|
14818
|
+
return time >= minTime && time <= maxTime && isMinuteAllowed && (!cb || cb(val));
|
|
14819
|
+
};
|
|
14820
|
+
},
|
|
14821
|
+
isAmPm() {
|
|
14822
|
+
return this.format === 'ampm';
|
|
14823
|
+
}
|
|
14824
|
+
},
|
|
14825
|
+
watch: {
|
|
14826
|
+
value: 'setInputData'
|
|
14827
|
+
},
|
|
14828
|
+
mounted() {
|
|
14829
|
+
this.setInputData(this.value);
|
|
14830
|
+
this.$on('update:period', this.setPeriod);
|
|
14831
|
+
},
|
|
14832
|
+
methods: {
|
|
14833
|
+
genValue() {
|
|
14834
|
+
if (this.inputHour != null && this.inputMinute != null && (!this.useSeconds || this.inputSecond != null)) {
|
|
14835
|
+
return `${(0,pad/* default */.A)(this.inputHour)}:${(0,pad/* default */.A)(this.inputMinute)}` + (this.useSeconds ? `:${(0,pad/* default */.A)(this.inputSecond)}` : '');
|
|
14836
|
+
}
|
|
14837
|
+
return null;
|
|
14838
|
+
},
|
|
14839
|
+
emitValue() {
|
|
14840
|
+
const value = this.genValue();
|
|
14841
|
+
if (value !== null) this.$emit('input', value);
|
|
14842
|
+
},
|
|
14843
|
+
setPeriod(period) {
|
|
14844
|
+
this.period = period;
|
|
14845
|
+
if (this.inputHour != null) {
|
|
14846
|
+
const newHour = this.inputHour + (period === 'am' ? -12 : 12);
|
|
14847
|
+
this.inputHour = this.firstAllowed('hour', newHour);
|
|
14848
|
+
this.emitValue();
|
|
14849
|
+
}
|
|
14850
|
+
},
|
|
14851
|
+
setInputData(value) {
|
|
14852
|
+
if (value == null || value === '') {
|
|
14853
|
+
this.inputHour = null;
|
|
14854
|
+
this.inputMinute = null;
|
|
14855
|
+
this.inputSecond = null;
|
|
14856
|
+
} else if (value instanceof Date) {
|
|
14857
|
+
this.inputHour = value.getHours();
|
|
14858
|
+
this.inputMinute = value.getMinutes();
|
|
14859
|
+
this.inputSecond = value.getSeconds();
|
|
14860
|
+
} else {
|
|
14861
|
+
const [, hour, minute,, second, period] = value.trim().toLowerCase().match(/^(\d+):(\d+)(:(\d+))?([ap]m)?$/) || new Array(6);
|
|
14862
|
+
this.inputHour = period ? this.convert12to24(parseInt(hour, 10), period) : parseInt(hour, 10);
|
|
14863
|
+
this.inputMinute = parseInt(minute, 10);
|
|
14864
|
+
this.inputSecond = parseInt(second || 0, 10);
|
|
14865
|
+
}
|
|
14866
|
+
this.period = this.inputHour == null || this.inputHour < 12 ? 'am' : 'pm';
|
|
14867
|
+
},
|
|
14868
|
+
convert24to12(hour) {
|
|
14869
|
+
return hour ? (hour - 1) % 12 + 1 : 12;
|
|
14870
|
+
},
|
|
14871
|
+
convert12to24(hour, period) {
|
|
14872
|
+
return hour % 12 + (period === 'pm' ? 12 : 0);
|
|
14873
|
+
},
|
|
14874
|
+
onInput(value) {
|
|
14875
|
+
if (this.selecting === SelectingTimes.Hour) {
|
|
14876
|
+
this.inputHour = this.isAmPm ? this.convert12to24(value, this.period) : value;
|
|
14877
|
+
} else if (this.selecting === SelectingTimes.Minute) {
|
|
14878
|
+
this.inputMinute = value;
|
|
14879
|
+
} else {
|
|
14880
|
+
this.inputSecond = value;
|
|
14881
|
+
}
|
|
14882
|
+
this.emitValue();
|
|
14883
|
+
},
|
|
14884
|
+
onChange(value) {
|
|
14885
|
+
this.$emit(`click:${selectingNames[this.selecting]}`, value);
|
|
14886
|
+
const emitChange = this.selecting === (this.useSeconds ? SelectingTimes.Second : SelectingTimes.Minute);
|
|
14887
|
+
if (this.selecting === SelectingTimes.Hour) {
|
|
14888
|
+
this.selecting = SelectingTimes.Minute;
|
|
14889
|
+
} else if (this.useSeconds && this.selecting === SelectingTimes.Minute) {
|
|
14890
|
+
this.selecting = SelectingTimes.Second;
|
|
14891
|
+
}
|
|
14892
|
+
if (this.inputHour === this.lazyInputHour && this.inputMinute === this.lazyInputMinute && (!this.useSeconds || this.inputSecond === this.lazyInputSecond)) return;
|
|
14893
|
+
const time = this.genValue();
|
|
14894
|
+
if (time === null) return;
|
|
14895
|
+
this.lazyInputHour = this.inputHour;
|
|
14896
|
+
this.lazyInputMinute = this.inputMinute;
|
|
14897
|
+
this.useSeconds && (this.lazyInputSecond = this.inputSecond);
|
|
14898
|
+
emitChange && this.$emit('change', time);
|
|
14899
|
+
},
|
|
14900
|
+
firstAllowed(type, value) {
|
|
14901
|
+
const allowedFn = type === 'hour' ? this.isAllowedHourCb : type === 'minute' ? this.isAllowedMinuteCb : this.isAllowedSecondCb;
|
|
14902
|
+
if (!allowedFn) return value; // TODO: clean up
|
|
14903
|
+
|
|
14904
|
+
const range = type === 'minute' ? range60 : type === 'second' ? range60 : this.isAmPm ? value < 12 ? rangeHours12am : rangeHours12pm : rangeHours24;
|
|
14905
|
+
const first = range.find(v => allowedFn((v + value) % range.length + range[0]));
|
|
14906
|
+
return ((first || 0) + value) % range.length + range[0];
|
|
14907
|
+
},
|
|
14908
|
+
genClock() {
|
|
14909
|
+
return this.$createElement(VTimePicker_VTimePickerClock, {
|
|
14910
|
+
props: {
|
|
14911
|
+
allowedValues: this.selecting === SelectingTimes.Hour ? this.isAllowedHourCb : this.selecting === SelectingTimes.Minute ? this.isAllowedMinuteCb : this.isAllowedSecondCb,
|
|
14912
|
+
color: this.color,
|
|
14913
|
+
dark: this.dark,
|
|
14914
|
+
disabled: this.disabled,
|
|
14915
|
+
double: this.selecting === SelectingTimes.Hour && !this.isAmPm,
|
|
14916
|
+
format: this.selecting === SelectingTimes.Hour ? this.isAmPm ? this.convert24to12 : val => val : val => (0,pad/* default */.A)(val, 2),
|
|
14917
|
+
light: this.light,
|
|
14918
|
+
max: this.selecting === SelectingTimes.Hour ? this.isAmPm && this.period === 'am' ? 11 : 23 : 59,
|
|
14919
|
+
min: this.selecting === SelectingTimes.Hour && this.isAmPm && this.period === 'pm' ? 12 : 0,
|
|
14920
|
+
readonly: this.readonly,
|
|
14921
|
+
scrollable: this.scrollable,
|
|
14922
|
+
size: Number(this.width) - (!this.fullWidth && this.landscape ? 80 : 20),
|
|
14923
|
+
step: this.selecting === SelectingTimes.Hour ? 1 : 5,
|
|
14924
|
+
value: this.selecting === SelectingTimes.Hour ? this.inputHour : this.selecting === SelectingTimes.Minute ? this.inputMinute : this.inputSecond
|
|
14925
|
+
},
|
|
14926
|
+
on: {
|
|
14927
|
+
input: this.onInput,
|
|
14928
|
+
change: this.onChange
|
|
14929
|
+
},
|
|
14930
|
+
ref: 'clock'
|
|
14931
|
+
});
|
|
14932
|
+
},
|
|
14933
|
+
genClockAmPm() {
|
|
14934
|
+
return this.$createElement('div', this.setTextColor(this.color || 'primary', {
|
|
14935
|
+
staticClass: 'v-time-picker-clock__ampm'
|
|
14936
|
+
}), [this.genPickerButton('period', 'am', this.$vuetify.lang.t('$vuetify.timePicker.am'), this.disabled || this.readonly), this.genPickerButton('period', 'pm', this.$vuetify.lang.t('$vuetify.timePicker.pm'), this.disabled || this.readonly)]);
|
|
14937
|
+
},
|
|
14938
|
+
genPickerBody() {
|
|
14939
|
+
return this.$createElement('div', {
|
|
14940
|
+
staticClass: 'v-time-picker-clock__container',
|
|
14941
|
+
key: this.selecting
|
|
14942
|
+
}, [!this.ampmInTitle && this.isAmPm && this.genClockAmPm(), this.genClock()]);
|
|
14943
|
+
},
|
|
14944
|
+
genPickerTitle() {
|
|
14945
|
+
return this.$createElement(VTimePicker_VTimePickerTitle, {
|
|
14946
|
+
props: {
|
|
14947
|
+
ampm: this.isAmPm,
|
|
14948
|
+
ampmReadonly: this.isAmPm && !this.ampmInTitle,
|
|
14949
|
+
disabled: this.disabled,
|
|
14950
|
+
hour: this.inputHour,
|
|
14951
|
+
minute: this.inputMinute,
|
|
14952
|
+
second: this.inputSecond,
|
|
14953
|
+
period: this.period,
|
|
14954
|
+
readonly: this.readonly,
|
|
14955
|
+
useSeconds: this.useSeconds,
|
|
14956
|
+
selecting: this.selecting
|
|
14957
|
+
},
|
|
14958
|
+
on: {
|
|
14959
|
+
'update:selecting': value => this.selecting = value,
|
|
14960
|
+
'update:period': period => this.$emit('update:period', period)
|
|
14961
|
+
},
|
|
14962
|
+
ref: 'title',
|
|
14963
|
+
slot: 'title'
|
|
14964
|
+
});
|
|
14965
|
+
}
|
|
14966
|
+
},
|
|
14967
|
+
render() {
|
|
14968
|
+
return this.genPicker('v-picker--time');
|
|
14969
|
+
}
|
|
14970
|
+
}));
|
|
14971
|
+
;// ./node_modules/vuetify-loader/lib/loader.js??ruleSet[1].rules[0].use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeTimePicker/BeTimePicker.vue?vue&type=template&id=05e22ec2&scoped=true
|
|
14972
|
+
|
|
14973
|
+
|
|
14974
|
+
|
|
14975
|
+
|
|
14976
|
+
|
|
14977
|
+
|
|
14978
|
+
|
|
14979
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.label)?_c('span',{class:("label " + (_vm.error ? 'error--text' : ''))},[_vm._v(" "+_vm._s(_vm.label)),_vm._t("info")],2):_vm._e(),_c(VTextField/* default */.A,_vm._g(_vm._b({directives:[{name:"mask",rawName:"v-mask",value:(['##:##']),expression:"['##:##']"}],class:(_vm.elevationClass + " customClass"),attrs:{"background-color":_vm.computedBackgroundColor,"value":_vm.computedValue,"solo":_vm.isPrimary,"outlined":_vm.isOutlined,"error":_vm.computedError,"error-messages":_vm.errorMessages,"dense":_vm.computedDense,"rules":_vm.rules,"hide-details":_vm.hideDetails,"readonly":_vm.readonly,"disabled":_vm.readonly,"clearable":_vm.clearable,"color":_vm.color,"placeholder":_vm.placeholder,"persistent-placeholder":true},on:{"change":_vm.userInput},scopedSlots:_vm._u([{key:"prepend-inner",fn:function(){return [_c('div',{staticClass:"prependInner"},[_vm._t("prepend-inner-content")],2)]},proxy:true},{key:"append",fn:function(){return [_c(VDialog/* default */.A,{ref:"dialog",attrs:{"return-value":_vm.localTime,"persistent":"","width":"290px","disabled":_vm.readonly},on:{"update:returnValue":function($event){_vm.localTime=$event},"update:return-value":function($event){_vm.localTime=$event}},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
14980
|
+
var on = ref.on;
|
|
14981
|
+
return [_c('div',{staticClass:"appendIcon"},[_c(VIcon/* default */.A,_vm._g({attrs:{"color":_vm.iconColor}},on),[_vm._v(" mdi-clock-outline ")])],1)]}}]),model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:"modal"}},[_c(VTimePicker,{attrs:{"scrollable":"","color":_vm.color,"min":_vm.min,"max":_vm.max,"allowed-hours":_vm.allowedHours,"allowed-minutes":_vm.allowedMinutes,"format":_vm.format},on:{"change":_vm.changed},model:{value:(_vm.localTime),callback:function ($$v) {_vm.localTime=$$v},expression:"localTime"}},[_c(VSpacer/* default */.A),_c(VBtn/* default */.A,{attrs:{"text":"","color":_vm.color},on:{"click":function($event){_vm.modal = false}}},[_vm._v("Cancelar")]),_c(VBtn/* default */.A,{attrs:{"text":"","color":_vm.color},on:{"click":function($event){return _vm.$refs.dialog.save(_vm.localTime)}}},[_vm._v("OK")])],1)],1)]},proxy:true}],null,true)},'v-text-field',_vm.$attrs,false),_vm.$listeners))],1)}
|
|
14982
|
+
var staticRenderFns = []
|
|
14983
|
+
|
|
14984
|
+
|
|
14985
|
+
// EXTERNAL MODULE: ./node_modules/vue-the-mask/dist/vue-the-mask.js
|
|
14986
|
+
var vue_the_mask = __webpack_require__(29928);
|
|
14987
|
+
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
14988
|
+
var moment = __webpack_require__(95093);
|
|
14989
|
+
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
14990
|
+
// EXTERNAL MODULE: ./src/mixins/inputThemeMixin.js
|
|
14991
|
+
var inputThemeMixin = __webpack_require__(95244);
|
|
14992
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeTimePicker/BeTimePicker.vue?vue&type=script&lang=js
|
|
14993
|
+
//
|
|
14994
|
+
//
|
|
14995
|
+
//
|
|
14996
|
+
//
|
|
14997
|
+
//
|
|
14998
|
+
//
|
|
14999
|
+
//
|
|
15000
|
+
//
|
|
15001
|
+
//
|
|
15002
|
+
//
|
|
15003
|
+
//
|
|
15004
|
+
//
|
|
15005
|
+
//
|
|
15006
|
+
//
|
|
15007
|
+
//
|
|
15008
|
+
//
|
|
15009
|
+
//
|
|
15010
|
+
//
|
|
15011
|
+
//
|
|
15012
|
+
//
|
|
15013
|
+
//
|
|
15014
|
+
//
|
|
15015
|
+
//
|
|
15016
|
+
//
|
|
15017
|
+
//
|
|
15018
|
+
//
|
|
15019
|
+
//
|
|
15020
|
+
//
|
|
15021
|
+
//
|
|
15022
|
+
//
|
|
15023
|
+
//
|
|
15024
|
+
//
|
|
15025
|
+
//
|
|
15026
|
+
//
|
|
15027
|
+
//
|
|
15028
|
+
//
|
|
15029
|
+
//
|
|
15030
|
+
//
|
|
15031
|
+
//
|
|
15032
|
+
//
|
|
15033
|
+
//
|
|
15034
|
+
//
|
|
15035
|
+
//
|
|
15036
|
+
//
|
|
15037
|
+
//
|
|
15038
|
+
//
|
|
15039
|
+
//
|
|
15040
|
+
//
|
|
15041
|
+
//
|
|
15042
|
+
//
|
|
15043
|
+
//
|
|
15044
|
+
//
|
|
15045
|
+
//
|
|
15046
|
+
//
|
|
15047
|
+
//
|
|
15048
|
+
//
|
|
15049
|
+
//
|
|
15050
|
+
//
|
|
15051
|
+
//
|
|
15052
|
+
//
|
|
15053
|
+
//
|
|
15054
|
+
//
|
|
15055
|
+
//
|
|
15056
|
+
//
|
|
15057
|
+
//
|
|
15058
|
+
//
|
|
15059
|
+
//
|
|
15060
|
+
//
|
|
15061
|
+
//
|
|
15062
|
+
//
|
|
15063
|
+
//
|
|
15064
|
+
//
|
|
15065
|
+
//
|
|
15066
|
+
//
|
|
15067
|
+
//
|
|
15068
|
+
//
|
|
15069
|
+
//
|
|
15070
|
+
//
|
|
15071
|
+
//
|
|
15072
|
+
//
|
|
15073
|
+
//
|
|
15074
|
+
//
|
|
15075
|
+
//
|
|
15076
|
+
//
|
|
15077
|
+
//
|
|
15078
|
+
//
|
|
15079
|
+
|
|
15080
|
+
|
|
15081
|
+
|
|
15082
|
+
|
|
15083
|
+
/* harmony default export */ var BeTimePickervue_type_script_lang_js = ({
|
|
15084
|
+
name: "BeTimePicker",
|
|
15085
|
+
inheritAttrs: false,
|
|
15086
|
+
directives: {
|
|
15087
|
+
mask: vue_the_mask.mask
|
|
15088
|
+
},
|
|
15089
|
+
mixins: [inputThemeMixin/* default */.A],
|
|
15090
|
+
props: {
|
|
15091
|
+
value: {
|
|
15092
|
+
type: String,
|
|
15093
|
+
required: false
|
|
15094
|
+
},
|
|
15095
|
+
label: {
|
|
15096
|
+
type: String
|
|
15097
|
+
},
|
|
15098
|
+
time: {
|
|
15099
|
+
type: String
|
|
15100
|
+
},
|
|
15101
|
+
min: {
|
|
15102
|
+
type: String
|
|
15103
|
+
},
|
|
15104
|
+
max: {
|
|
15105
|
+
type: String
|
|
15106
|
+
},
|
|
15107
|
+
errorMessages: {
|
|
15108
|
+
type: [String, Array],
|
|
15109
|
+
default: () => []
|
|
15110
|
+
},
|
|
15111
|
+
rules: {
|
|
15112
|
+
type: Array,
|
|
15113
|
+
default: () => []
|
|
15114
|
+
},
|
|
15115
|
+
hideDetails: {
|
|
15116
|
+
type: [Boolean, String],
|
|
15117
|
+
default: false
|
|
15118
|
+
},
|
|
15119
|
+
readonly: {
|
|
15120
|
+
type: Boolean,
|
|
15121
|
+
default: false
|
|
15122
|
+
},
|
|
15123
|
+
clearable: {
|
|
15124
|
+
type: Boolean,
|
|
15125
|
+
default: false
|
|
15126
|
+
},
|
|
15127
|
+
color: {
|
|
15128
|
+
type: String,
|
|
15129
|
+
default: "be-primary"
|
|
15130
|
+
},
|
|
15131
|
+
iconColor: {
|
|
15132
|
+
type: String,
|
|
15133
|
+
default: "be-input-icon"
|
|
15134
|
+
},
|
|
15135
|
+
placeholder: {
|
|
15136
|
+
type: String,
|
|
15137
|
+
required: false
|
|
15138
|
+
},
|
|
15139
|
+
elevation: {
|
|
15140
|
+
type: [Number, String],
|
|
15141
|
+
default: null
|
|
15142
|
+
},
|
|
15143
|
+
allowedHours: {
|
|
15144
|
+
type: [Function, Array],
|
|
15145
|
+
default: null
|
|
15146
|
+
},
|
|
15147
|
+
allowedMinutes: {
|
|
15148
|
+
type: [Function, Array],
|
|
15149
|
+
default: null
|
|
15150
|
+
},
|
|
15151
|
+
format: {
|
|
15152
|
+
type: String,
|
|
15153
|
+
default: "24hr",
|
|
15154
|
+
validator: value => ["24hr", "ampm"].includes(value)
|
|
15155
|
+
},
|
|
15156
|
+
error: {
|
|
15157
|
+
type: Boolean,
|
|
15158
|
+
default: false
|
|
15159
|
+
}
|
|
15160
|
+
},
|
|
15161
|
+
data() {
|
|
15162
|
+
return {
|
|
15163
|
+
localTime: null,
|
|
15164
|
+
modal: false
|
|
15165
|
+
};
|
|
15166
|
+
},
|
|
15167
|
+
computed: {
|
|
15168
|
+
computedValue() {
|
|
15169
|
+
if (!this.localTime) return "";
|
|
15170
|
+
|
|
15171
|
+
// Se o formato for 24hr, retorna diretamente HH:mm
|
|
15172
|
+
if (this.format === "24hr") {
|
|
15173
|
+
return this.localTime;
|
|
15174
|
+
}
|
|
15175
|
+
|
|
15176
|
+
// Se for ampm, converte para formato 12h
|
|
15177
|
+
const time = moment_default()(this.localTime, "HH:mm", true);
|
|
15178
|
+
if (time.isValid()) {
|
|
15179
|
+
return time.format("hh:mm A");
|
|
15180
|
+
}
|
|
15181
|
+
return this.localTime;
|
|
15182
|
+
},
|
|
15183
|
+
isPrimary() {
|
|
15184
|
+
return this.computedVariant === "primary";
|
|
15185
|
+
},
|
|
15186
|
+
isOutlined() {
|
|
15187
|
+
return this.computedVariant === "outlined";
|
|
15188
|
+
},
|
|
15189
|
+
computedError() {
|
|
15190
|
+
return !!(this.error || this.errorMessages.length > 0);
|
|
15191
|
+
},
|
|
15192
|
+
elevationClass() {
|
|
15193
|
+
if (!this.elevation) return "";
|
|
15194
|
+
return `input-be-elevation-${this.elevation}`;
|
|
15195
|
+
}
|
|
15196
|
+
},
|
|
15197
|
+
mounted() {
|
|
15198
|
+
this.localTime = this.time;
|
|
15199
|
+
if (!this.localTime && this.value) {
|
|
15200
|
+
this.localTime = this.value;
|
|
15201
|
+
}
|
|
15202
|
+
},
|
|
15203
|
+
methods: {
|
|
15204
|
+
changed(val) {
|
|
15205
|
+
this.localTime = val;
|
|
15206
|
+
},
|
|
15207
|
+
userInput(val) {
|
|
15208
|
+
// Remove espaços e converte para formato 24h se necessário
|
|
15209
|
+
const cleanVal = val ? val.trim() : "";
|
|
15210
|
+
if (!cleanVal) {
|
|
15211
|
+
this.localTime = null;
|
|
15212
|
+
return;
|
|
15213
|
+
}
|
|
15214
|
+
|
|
15215
|
+
// Se o formato for 24hr, valida HH:mm
|
|
15216
|
+
if (this.format === "24hr") {
|
|
15217
|
+
const time = moment_default()(cleanVal, "HH:mm", true);
|
|
15218
|
+
if (time.isValid()) {
|
|
15219
|
+
this.localTime = time.format("HH:mm");
|
|
15220
|
+
} else {
|
|
15221
|
+
this.localTime = null;
|
|
15222
|
+
}
|
|
15223
|
+
} else {
|
|
15224
|
+
// Se for ampm, aceita tanto HH:mm quanto hh:mm A/PM
|
|
15225
|
+
let time = moment_default()(cleanVal, ["HH:mm", "hh:mm A", "hh:mm a"], true);
|
|
15226
|
+
if (time.isValid()) {
|
|
15227
|
+
this.localTime = time.format("HH:mm");
|
|
15228
|
+
} else {
|
|
15229
|
+
this.localTime = null;
|
|
15230
|
+
}
|
|
15231
|
+
}
|
|
15232
|
+
}
|
|
15233
|
+
},
|
|
15234
|
+
watch: {
|
|
15235
|
+
time(val) {
|
|
15236
|
+
this.localTime = val;
|
|
15237
|
+
},
|
|
15238
|
+
value(val) {
|
|
15239
|
+
this.localTime = val;
|
|
15240
|
+
},
|
|
15241
|
+
localTime(val) {
|
|
15242
|
+
this.$emit("input", val);
|
|
15243
|
+
}
|
|
15244
|
+
}
|
|
15245
|
+
});
|
|
15246
|
+
;// ./src/components/BeTimePicker/BeTimePicker.vue?vue&type=script&lang=js
|
|
15247
|
+
/* harmony default export */ var BeTimePicker_BeTimePickervue_type_script_lang_js = (BeTimePickervue_type_script_lang_js);
|
|
15248
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeTimePicker/BeTimePicker.vue?vue&type=style&index=0&id=05e22ec2&prod&scoped=true&lang=scss
|
|
15249
|
+
var BeTimePickervue_type_style_index_0_id_05e22ec2_prod_scoped_true_lang_scss = __webpack_require__(89557);
|
|
15250
|
+
;// ./src/components/BeTimePicker/BeTimePicker.vue?vue&type=style&index=0&id=05e22ec2&prod&scoped=true&lang=scss
|
|
15251
|
+
|
|
15252
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
15253
|
+
var componentNormalizer = __webpack_require__(81656);
|
|
15254
|
+
;// ./src/components/BeTimePicker/BeTimePicker.vue
|
|
15255
|
+
|
|
15256
|
+
|
|
15257
|
+
|
|
15258
|
+
;
|
|
15259
|
+
|
|
15260
|
+
|
|
15261
|
+
/* normalize component */
|
|
15262
|
+
|
|
15263
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
15264
|
+
BeTimePicker_BeTimePickervue_type_script_lang_js,
|
|
15265
|
+
render,
|
|
15266
|
+
staticRenderFns,
|
|
15267
|
+
false,
|
|
15268
|
+
null,
|
|
15269
|
+
"05e22ec2",
|
|
15270
|
+
null
|
|
15271
|
+
|
|
15272
|
+
)
|
|
15273
|
+
|
|
15274
|
+
/* harmony default export */ var BeTimePicker = (component.exports);
|
|
15275
|
+
|
|
15276
|
+
/***/ }),
|
|
15277
|
+
|
|
14525
15278
|
/***/ 69116:
|
|
14526
15279
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14527
15280
|
|
|
@@ -14802,7 +15555,7 @@ function(){function t(t){t.remember("_draggable",this),this.el=t}t.prototype.ini
|
|
|
14802
15555
|
|
|
14803
15556
|
/***/ }),
|
|
14804
15557
|
|
|
14805
|
-
/***/
|
|
15558
|
+
/***/ 4088:
|
|
14806
15559
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14807
15560
|
|
|
14808
15561
|
"use strict";
|
|
@@ -14816,7 +15569,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14816
15569
|
|
|
14817
15570
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
14818
15571
|
// Module
|
|
14819
|
-
___CSS_LOADER_EXPORT___.push([module.id, "div[data-v-
|
|
15572
|
+
___CSS_LOADER_EXPORT___.push([module.id, "div[data-v-0f226f48] .v-skeleton-loader__list-item-avatar-two-line{background:transparent!important;height:100%}.count-card-info-icon[data-v-0f226f48]:hover{filter:invert(50%)}", ""]);
|
|
14820
15573
|
// Exports
|
|
14821
15574
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
14822
15575
|
|
|
@@ -15619,6 +16372,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".high-contrast-settings[data-v-110d2df
|
|
|
15619
16372
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
15620
16373
|
|
|
15621
16374
|
|
|
16375
|
+
/***/ }),
|
|
16376
|
+
|
|
16377
|
+
/***/ 79687:
|
|
16378
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16379
|
+
|
|
16380
|
+
"use strict";
|
|
16381
|
+
__webpack_require__.r(__webpack_exports__);
|
|
16382
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31601);
|
|
16383
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
16384
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76314);
|
|
16385
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
16386
|
+
// Imports
|
|
16387
|
+
|
|
16388
|
+
|
|
16389
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
16390
|
+
// Module
|
|
16391
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".high-contrast-settings[data-v-05e22ec2]{--v-background-base:#173e4a;--v-background-high-base:#08171c;--v-background-higher-base:#215c73;--v-text-on-background-base:#fff;--v-default-card-base:#194552;--v-be-primary-base:#16a0b6;--v-text-on-primary-base:#000;--v-scrollbar-thumb-base:#16a0b6;--v-be-error-base:#ff6161;--v-be-success-base:#27ae60;--v-be-warning-base:#f39c12;--v-be-warning-lighter-base:#ffbf47;--v-be-warning-extra-light-base:#f39c12;--v-be-archived-base:#a688dd;--v-be-archived-lighter-base:#af94e0;--v-be-standard-text-base:#fff;--v-be-surface-base:#08171c;--v-be-surface-darker-base:#08171c;--v-be-surface-hover-base:#0b2128;--v-table-filter-base:#08171c;--v-be-grey-base:#000;--v-be-input-icon-base:#000;--v-chart-card-base:#08171c;--v-be-grey-blue-base:#425c70;--v-be-data-table-stripes-base:#0b2128;--v-be-dialog-high-base:#1c1c1c;--v-be-dialog-base:#020708;--v-grey-times-button-base:#ff6161;--v-grey-to-darker-base:#000;--v-grey-to-lighter-base:#fff;--v-medium-grey-to-darker-base:#575757;--v-be-dark-blue-text-base:#fff;--v-be-dark-text-base:#fff;--v-be-navy-background-base:#5e98e4;--v-card-icon-button-base:#48d1cc;--v-be-light-blue-grey-base:#3a5c6e;--v-be-request-text-base:#8fa9c1;--v-be-request-card-base:#08171c;--v-be-request-card-lighter-base:#020708;--v-be-request-container-base:#215c73;--v-be-baby-blue-base:#215f69}.label[data-v-05e22ec2]{font-size:1rem}.appendIcon[data-v-05e22ec2]{min-width:24px;width:24px}.appendIcon[data-v-05e22ec2],.prependInner[data-v-05e22ec2]{align-items:center;display:inline-flex;height:24px;flex:1 0 auto;justify-content:center}.customClass[data-v-05e22ec2] .v-icon.v-icon{font-size:1rem!important}", ""]);
|
|
16392
|
+
// Exports
|
|
16393
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
16394
|
+
|
|
16395
|
+
|
|
15622
16396
|
/***/ }),
|
|
15623
16397
|
|
|
15624
16398
|
/***/ 35900:
|
|
@@ -16543,6 +17317,48 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".high-contrast-settings{--v-background
|
|
|
16543
17317
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
16544
17318
|
|
|
16545
17319
|
|
|
17320
|
+
/***/ }),
|
|
17321
|
+
|
|
17322
|
+
/***/ 63474:
|
|
17323
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17324
|
+
|
|
17325
|
+
"use strict";
|
|
17326
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17327
|
+
/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31601);
|
|
17328
|
+
/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
17329
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76314);
|
|
17330
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
17331
|
+
// Imports
|
|
17332
|
+
|
|
17333
|
+
|
|
17334
|
+
var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
17335
|
+
// Module
|
|
17336
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".high-contrast-settings{--v-background-base:#173e4a;--v-background-high-base:#08171c;--v-background-higher-base:#215c73;--v-text-on-background-base:#fff;--v-default-card-base:#194552;--v-be-primary-base:#16a0b6;--v-text-on-primary-base:#000;--v-scrollbar-thumb-base:#16a0b6;--v-be-error-base:#ff6161;--v-be-success-base:#27ae60;--v-be-warning-base:#f39c12;--v-be-warning-lighter-base:#ffbf47;--v-be-warning-extra-light-base:#f39c12;--v-be-archived-base:#a688dd;--v-be-archived-lighter-base:#af94e0;--v-be-standard-text-base:#fff;--v-be-surface-base:#08171c;--v-be-surface-darker-base:#08171c;--v-be-surface-hover-base:#0b2128;--v-table-filter-base:#08171c;--v-be-grey-base:#000;--v-be-input-icon-base:#000;--v-chart-card-base:#08171c;--v-be-grey-blue-base:#425c70;--v-be-data-table-stripes-base:#0b2128;--v-be-dialog-high-base:#1c1c1c;--v-be-dialog-base:#020708;--v-grey-times-button-base:#ff6161;--v-grey-to-darker-base:#000;--v-grey-to-lighter-base:#fff;--v-medium-grey-to-darker-base:#575757;--v-be-dark-blue-text-base:#fff;--v-be-dark-text-base:#fff;--v-be-navy-background-base:#5e98e4;--v-card-icon-button-base:#48d1cc;--v-be-light-blue-grey-base:#3a5c6e;--v-be-request-text-base:#8fa9c1;--v-be-request-card-base:#08171c;--v-be-request-card-lighter-base:#020708;--v-be-request-container-base:#215c73;--v-be-baby-blue-base:#215f69}.theme--light.v-time-picker-clock{background:#e0e0e0}.theme--light.v-time-picker-clock .v-time-picker-clock__item--disabled{color:rgba(0,0,0,.26)}.theme--light.v-time-picker-clock .v-time-picker-clock__item--disabled.v-time-picker-clock__item--active{color:hsla(0,0%,100%,.3)}.theme--light.v-time-picker-clock--indeterminate .v-time-picker-clock__hand{background-color:#bdbdbd}.theme--light.v-time-picker-clock--indeterminate:after{color:#bdbdbd}.theme--light.v-time-picker-clock--indeterminate .v-time-picker-clock__item--active{background-color:#bdbdbd}.theme--dark.v-time-picker-clock{background:#616161}.theme--dark.v-time-picker-clock .v-time-picker-clock__item--disabled,.theme--dark.v-time-picker-clock .v-time-picker-clock__item--disabled.v-time-picker-clock__item--active{color:hsla(0,0%,100%,.3)}.theme--dark.v-time-picker-clock--indeterminate .v-time-picker-clock__hand{background-color:#757575}.theme--dark.v-time-picker-clock--indeterminate:after{color:#757575}.theme--dark.v-time-picker-clock--indeterminate .v-time-picker-clock__item--active{background-color:#757575}.v-time-picker-clock{border-radius:100%;position:relative;transition:.3s cubic-bezier(.25,.8,.5,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;padding-top:100%;flex:1 0 auto}.v-time-picker-clock__container{display:flex;flex-direction:column;justify-content:center;padding:10px}.v-time-picker-clock__ampm{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-end;position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:10px}.v-time-picker-clock__hand{height:calc(50% - 4px);width:2px;bottom:50%;left:calc(50% - 1px);transform-origin:center bottom;position:absolute;will-change:transform;z-index:1}.v-time-picker-clock__hand:before{background:transparent;border-width:2px;border-style:solid;border-color:inherit;width:10px;height:10px;top:-4px}.v-time-picker-clock__hand:after,.v-time-picker-clock__hand:before{border-radius:100%;content:\"\";position:absolute;left:50%;transform:translate(-50%,-50%)}.v-time-picker-clock__hand:after{height:8px;width:8px;top:100%;border-style:solid;border-color:inherit;background-color:inherit}.v-time-picker-clock__hand--inner:after{height:14px}.v-picker--full-width .v-time-picker-clock__container{max-width:290px}.v-time-picker-clock__inner{position:absolute;bottom:27px;left:27px;right:27px;top:27px}.v-time-picker-clock__item{align-items:center;border-radius:100%;cursor:default;display:flex;font-size:16px;justify-content:center;height:40px;position:absolute;text-align:center;width:40px;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate(-50%,-50%)}.v-time-picker-clock__item>span{z-index:1}.v-time-picker-clock__item:after,.v-time-picker-clock__item:before{content:\"\";border-radius:100%;position:absolute;top:50%;left:50%;height:14px;width:14px;transform:translate(-50%,-50%);height:40px;width:40px}.v-time-picker-clock__item--active{color:#fff;cursor:default;z-index:2}.v-time-picker-clock__item--disabled{pointer-events:none}.v-picker--landscape .v-time-picker-clock__container{flex-direction:row}.v-picker--landscape .v-time-picker-clock__ampm{flex-direction:column}", ""]);
|
|
17337
|
+
// Exports
|
|
17338
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
17339
|
+
|
|
17340
|
+
|
|
17341
|
+
/***/ }),
|
|
17342
|
+
|
|
17343
|
+
/***/ 90914:
|
|
17344
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17345
|
+
|
|
17346
|
+
"use strict";
|
|
17347
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17348
|
+
/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31601);
|
|
17349
|
+
/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
17350
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76314);
|
|
17351
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
17352
|
+
// Imports
|
|
17353
|
+
|
|
17354
|
+
|
|
17355
|
+
var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
17356
|
+
// Module
|
|
17357
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".high-contrast-settings{--v-background-base:#173e4a;--v-background-high-base:#08171c;--v-background-higher-base:#215c73;--v-text-on-background-base:#fff;--v-default-card-base:#194552;--v-be-primary-base:#16a0b6;--v-text-on-primary-base:#000;--v-scrollbar-thumb-base:#16a0b6;--v-be-error-base:#ff6161;--v-be-success-base:#27ae60;--v-be-warning-base:#f39c12;--v-be-warning-lighter-base:#ffbf47;--v-be-warning-extra-light-base:#f39c12;--v-be-archived-base:#a688dd;--v-be-archived-lighter-base:#af94e0;--v-be-standard-text-base:#fff;--v-be-surface-base:#08171c;--v-be-surface-darker-base:#08171c;--v-be-surface-hover-base:#0b2128;--v-table-filter-base:#08171c;--v-be-grey-base:#000;--v-be-input-icon-base:#000;--v-chart-card-base:#08171c;--v-be-grey-blue-base:#425c70;--v-be-data-table-stripes-base:#0b2128;--v-be-dialog-high-base:#1c1c1c;--v-be-dialog-base:#020708;--v-grey-times-button-base:#ff6161;--v-grey-to-darker-base:#000;--v-grey-to-lighter-base:#fff;--v-medium-grey-to-darker-base:#575757;--v-be-dark-blue-text-base:#fff;--v-be-dark-text-base:#fff;--v-be-navy-background-base:#5e98e4;--v-card-icon-button-base:#48d1cc;--v-be-light-blue-grey-base:#3a5c6e;--v-be-request-text-base:#8fa9c1;--v-be-request-card-base:#08171c;--v-be-request-card-lighter-base:#020708;--v-be-request-container-base:#215c73;--v-be-baby-blue-base:#215f69}.v-time-picker-title{color:#fff;display:flex;line-height:1;justify-content:flex-end}.v-time-picker-title__time{white-space:nowrap;direction:ltr}.v-time-picker-title__time .v-picker__title__btn,.v-time-picker-title__time span{align-items:center;display:inline-flex;height:70px;font-size:70px;justify-content:center}.v-time-picker-title__ampm{align-self:flex-end;display:flex;flex-direction:column;font-size:16px;text-transform:uppercase}.v-application--is-ltr .v-time-picker-title__ampm{margin:0 0 6px 8px}.v-application--is-rtl .v-time-picker-title__ampm{margin:0 8px 6px 0}.v-time-picker-title__ampm div:only-child{flex-direction:row}.v-time-picker-title__ampm--readonly .v-picker__title__btn.v-picker__title__btn--active{opacity:.6}.v-picker__title--landscape .v-time-picker-title{flex-direction:column;justify-content:center;height:100%}.v-picker__title--landscape .v-time-picker-title__time{text-align:right}.v-picker__title--landscape .v-time-picker-title__time .v-picker__title__btn,.v-picker__title--landscape .v-time-picker-title__time span{height:55px;font-size:55px}.v-picker__title--landscape .v-time-picker-title__ampm{margin:16px 0 0;align-self:auto;text-align:center}.v-picker--time .v-picker__title--landscape{padding:0}.v-picker--time .v-picker__title--landscape .v-time-picker-title__time{text-align:center}", ""]);
|
|
17358
|
+
// Exports
|
|
17359
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
17360
|
+
|
|
17361
|
+
|
|
16546
17362
|
/***/ }),
|
|
16547
17363
|
|
|
16548
17364
|
/***/ 64852:
|
|
@@ -38819,6 +39635,27 @@ const VCardTitle = (0,_util_helpers__WEBPACK_IMPORTED_MODULE_0__/* .createSimple
|
|
|
38819
39635
|
|
|
38820
39636
|
/***/ }),
|
|
38821
39637
|
|
|
39638
|
+
/***/ 92238:
|
|
39639
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
39640
|
+
|
|
39641
|
+
"use strict";
|
|
39642
|
+
const padStart = (string, targetLength, padString) => {
|
|
39643
|
+
targetLength = targetLength >> 0;
|
|
39644
|
+
string = String(string);
|
|
39645
|
+
padString = String(padString);
|
|
39646
|
+
if (string.length > targetLength) {
|
|
39647
|
+
return String(string);
|
|
39648
|
+
}
|
|
39649
|
+
targetLength = targetLength - string.length;
|
|
39650
|
+
if (targetLength > padString.length) {
|
|
39651
|
+
padString += padString.repeat(targetLength / padString.length);
|
|
39652
|
+
}
|
|
39653
|
+
return padString.slice(0, targetLength) + String(string);
|
|
39654
|
+
};
|
|
39655
|
+
/* harmony default export */ __webpack_exports__.A = ((n, length = 2) => padStart(n, length, '0'));
|
|
39656
|
+
|
|
39657
|
+
/***/ }),
|
|
39658
|
+
|
|
38822
39659
|
/***/ 27556:
|
|
38823
39660
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
38824
39661
|
|
|
@@ -40236,6 +41073,19 @@ const cache = new Map();
|
|
|
40236
41073
|
|
|
40237
41074
|
/***/ }),
|
|
40238
41075
|
|
|
41076
|
+
/***/ 67410:
|
|
41077
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
41078
|
+
|
|
41079
|
+
"use strict";
|
|
41080
|
+
/* harmony import */ var _src_components_VGrid_grid_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26096);
|
|
41081
|
+
/* harmony import */ var _src_components_VGrid_grid_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src_components_VGrid_grid_sass__WEBPACK_IMPORTED_MODULE_0__);
|
|
41082
|
+
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66960);
|
|
41083
|
+
|
|
41084
|
+
|
|
41085
|
+
/* harmony default export */ __webpack_exports__.A = ((0,_util_helpers__WEBPACK_IMPORTED_MODULE_1__/* .createSimpleFunctional */ .Gn)('spacer', 'div', 'v-spacer'));
|
|
41086
|
+
|
|
41087
|
+
/***/ }),
|
|
41088
|
+
|
|
40239
41089
|
/***/ 4222:
|
|
40240
41090
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
40241
41091
|
|
|
@@ -43758,7 +44608,7 @@ var VItemGroup = __webpack_require__(6352);
|
|
|
43758
44608
|
|
|
43759
44609
|
/***/ }),
|
|
43760
44610
|
|
|
43761
|
-
/***/
|
|
44611
|
+
/***/ 34440:
|
|
43762
44612
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
43763
44613
|
|
|
43764
44614
|
"use strict";
|
|
@@ -47970,6 +48820,226 @@ const baseMixins = (0,_util_mixins__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
|
|
|
47970
48820
|
|
|
47971
48821
|
/***/ }),
|
|
47972
48822
|
|
|
48823
|
+
/***/ 78737:
|
|
48824
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
48825
|
+
|
|
48826
|
+
"use strict";
|
|
48827
|
+
/* harmony import */ var _colorable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68767);
|
|
48828
|
+
/* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3507);
|
|
48829
|
+
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(66960);
|
|
48830
|
+
// Mixins
|
|
48831
|
+
// Utilities
|
|
48832
|
+
|
|
48833
|
+
|
|
48834
|
+
|
|
48835
|
+
/* @vue/component */
|
|
48836
|
+
|
|
48837
|
+
/* harmony default export */ __webpack_exports__.A = ((0,_util_mixins__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_colorable__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A).extend({
|
|
48838
|
+
methods: {
|
|
48839
|
+
genPickerButton(prop, value, content, readonly = false, staticClass = '') {
|
|
48840
|
+
const active = this[prop] === value;
|
|
48841
|
+
const click = event => {
|
|
48842
|
+
event.stopPropagation();
|
|
48843
|
+
this.$emit(`update:${(0,_util_helpers__WEBPACK_IMPORTED_MODULE_2__/* .kebabCase */ .kW)(prop)}`, value);
|
|
48844
|
+
};
|
|
48845
|
+
return this.$createElement('div', {
|
|
48846
|
+
staticClass: `v-picker__title__btn ${staticClass}`.trim(),
|
|
48847
|
+
class: {
|
|
48848
|
+
'v-picker__title__btn--active': active,
|
|
48849
|
+
'v-picker__title__btn--readonly': readonly
|
|
48850
|
+
},
|
|
48851
|
+
on: active || readonly ? undefined : {
|
|
48852
|
+
click
|
|
48853
|
+
}
|
|
48854
|
+
}, Array.isArray(content) ? content : [content]);
|
|
48855
|
+
}
|
|
48856
|
+
}
|
|
48857
|
+
}));
|
|
48858
|
+
|
|
48859
|
+
/***/ }),
|
|
48860
|
+
|
|
48861
|
+
/***/ 44820:
|
|
48862
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
48863
|
+
|
|
48864
|
+
"use strict";
|
|
48865
|
+
|
|
48866
|
+
// EXPORTS
|
|
48867
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
48868
|
+
A: function() { return /* binding */ picker; }
|
|
48869
|
+
});
|
|
48870
|
+
|
|
48871
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
48872
|
+
var es_array_push = __webpack_require__(44114);
|
|
48873
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VPicker/VPicker.sass
|
|
48874
|
+
var VPicker = __webpack_require__(80243);
|
|
48875
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VCard/VCard.sass
|
|
48876
|
+
var VCard = __webpack_require__(1019);
|
|
48877
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/colorable/index.js
|
|
48878
|
+
var colorable = __webpack_require__(68767);
|
|
48879
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/elevatable/index.js
|
|
48880
|
+
var elevatable = __webpack_require__(45083);
|
|
48881
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/themeable/index.js
|
|
48882
|
+
var themeable = __webpack_require__(53661);
|
|
48883
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
48884
|
+
var helpers = __webpack_require__(66960);
|
|
48885
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mixins.js
|
|
48886
|
+
var mixins = __webpack_require__(3507);
|
|
48887
|
+
;// ./node_modules/vuetify/lib/components/VPicker/VPicker.js
|
|
48888
|
+
|
|
48889
|
+
// Mixins
|
|
48890
|
+
|
|
48891
|
+
|
|
48892
|
+
|
|
48893
|
+
// Helpers
|
|
48894
|
+
|
|
48895
|
+
|
|
48896
|
+
|
|
48897
|
+
/* @vue/component */
|
|
48898
|
+
|
|
48899
|
+
/* harmony default export */ var VPicker_VPicker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A).extend({
|
|
48900
|
+
name: 'v-picker',
|
|
48901
|
+
props: {
|
|
48902
|
+
flat: Boolean,
|
|
48903
|
+
fullWidth: Boolean,
|
|
48904
|
+
landscape: Boolean,
|
|
48905
|
+
noTitle: Boolean,
|
|
48906
|
+
transition: {
|
|
48907
|
+
type: String,
|
|
48908
|
+
default: 'fade-transition'
|
|
48909
|
+
},
|
|
48910
|
+
width: {
|
|
48911
|
+
type: [Number, String],
|
|
48912
|
+
default: 290
|
|
48913
|
+
}
|
|
48914
|
+
},
|
|
48915
|
+
computed: {
|
|
48916
|
+
computedTitleColor() {
|
|
48917
|
+
const defaultTitleColor = this.isDark ? false : this.color || 'primary';
|
|
48918
|
+
return this.color || defaultTitleColor;
|
|
48919
|
+
}
|
|
48920
|
+
},
|
|
48921
|
+
methods: {
|
|
48922
|
+
genTitle() {
|
|
48923
|
+
return this.$createElement('div', this.setBackgroundColor(this.computedTitleColor, {
|
|
48924
|
+
staticClass: 'v-picker__title',
|
|
48925
|
+
class: {
|
|
48926
|
+
'v-picker__title--landscape': this.landscape
|
|
48927
|
+
}
|
|
48928
|
+
}), this.$slots.title);
|
|
48929
|
+
},
|
|
48930
|
+
genBodyTransition() {
|
|
48931
|
+
return this.$createElement('transition', {
|
|
48932
|
+
props: {
|
|
48933
|
+
name: this.transition
|
|
48934
|
+
}
|
|
48935
|
+
}, this.$slots.default);
|
|
48936
|
+
},
|
|
48937
|
+
genBody() {
|
|
48938
|
+
return this.$createElement('div', {
|
|
48939
|
+
staticClass: 'v-picker__body',
|
|
48940
|
+
class: {
|
|
48941
|
+
'v-picker__body--no-title': this.noTitle,
|
|
48942
|
+
...this.themeClasses
|
|
48943
|
+
},
|
|
48944
|
+
style: this.fullWidth ? undefined : {
|
|
48945
|
+
width: (0,helpers/* convertToUnit */.Dg)(this.width)
|
|
48946
|
+
}
|
|
48947
|
+
}, [this.genBodyTransition()]);
|
|
48948
|
+
},
|
|
48949
|
+
genActions() {
|
|
48950
|
+
return this.$createElement('div', {
|
|
48951
|
+
staticClass: 'v-picker__actions v-card__actions',
|
|
48952
|
+
class: {
|
|
48953
|
+
'v-picker__actions--no-title': this.noTitle
|
|
48954
|
+
}
|
|
48955
|
+
}, this.$slots.actions);
|
|
48956
|
+
}
|
|
48957
|
+
},
|
|
48958
|
+
render(h) {
|
|
48959
|
+
return h('div', {
|
|
48960
|
+
staticClass: 'v-picker v-card',
|
|
48961
|
+
class: {
|
|
48962
|
+
'v-picker--flat': this.flat,
|
|
48963
|
+
'v-picker--landscape': this.landscape,
|
|
48964
|
+
'v-picker--full-width': this.fullWidth,
|
|
48965
|
+
...this.themeClasses,
|
|
48966
|
+
...this.elevationClasses
|
|
48967
|
+
}
|
|
48968
|
+
}, [this.$slots.title ? this.genTitle() : null, this.genBody(), this.$slots.actions ? this.genActions() : null]);
|
|
48969
|
+
}
|
|
48970
|
+
}));
|
|
48971
|
+
;// ./node_modules/vuetify/lib/components/VPicker/index.js
|
|
48972
|
+
|
|
48973
|
+
|
|
48974
|
+
/* harmony default export */ var components_VPicker = (VPicker_VPicker);
|
|
48975
|
+
;// ./node_modules/vuetify/lib/mixins/picker/index.js
|
|
48976
|
+
|
|
48977
|
+
// Components
|
|
48978
|
+
// Mixins
|
|
48979
|
+
|
|
48980
|
+
|
|
48981
|
+
|
|
48982
|
+
// Utils
|
|
48983
|
+
|
|
48984
|
+
|
|
48985
|
+
/* harmony default export */ var picker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A
|
|
48986
|
+
/* @vue/component */).extend({
|
|
48987
|
+
name: 'picker',
|
|
48988
|
+
props: {
|
|
48989
|
+
flat: Boolean,
|
|
48990
|
+
fullWidth: Boolean,
|
|
48991
|
+
headerColor: String,
|
|
48992
|
+
landscape: Boolean,
|
|
48993
|
+
noTitle: Boolean,
|
|
48994
|
+
width: {
|
|
48995
|
+
type: [Number, String],
|
|
48996
|
+
default: 290
|
|
48997
|
+
}
|
|
48998
|
+
},
|
|
48999
|
+
methods: {
|
|
49000
|
+
genPickerTitle() {
|
|
49001
|
+
return null;
|
|
49002
|
+
},
|
|
49003
|
+
genPickerBody() {
|
|
49004
|
+
return null;
|
|
49005
|
+
},
|
|
49006
|
+
genPickerActionsSlot() {
|
|
49007
|
+
return this.$scopedSlots.default ? this.$scopedSlots.default({
|
|
49008
|
+
save: this.save,
|
|
49009
|
+
cancel: this.cancel
|
|
49010
|
+
}) : this.$slots.default;
|
|
49011
|
+
},
|
|
49012
|
+
genPicker(staticClass) {
|
|
49013
|
+
const children = [];
|
|
49014
|
+
if (!this.noTitle) {
|
|
49015
|
+
const title = this.genPickerTitle();
|
|
49016
|
+
title && children.push(title);
|
|
49017
|
+
}
|
|
49018
|
+
const body = this.genPickerBody();
|
|
49019
|
+
body && children.push(body);
|
|
49020
|
+
children.push(this.$createElement('template', {
|
|
49021
|
+
slot: 'actions'
|
|
49022
|
+
}, [this.genPickerActionsSlot()]));
|
|
49023
|
+
return this.$createElement(components_VPicker, {
|
|
49024
|
+
staticClass,
|
|
49025
|
+
props: {
|
|
49026
|
+
color: this.headerColor || this.color,
|
|
49027
|
+
dark: this.dark,
|
|
49028
|
+
elevation: this.elevation,
|
|
49029
|
+
flat: this.flat,
|
|
49030
|
+
fullWidth: this.fullWidth,
|
|
49031
|
+
landscape: this.landscape,
|
|
49032
|
+
light: this.light,
|
|
49033
|
+
width: this.width,
|
|
49034
|
+
noTitle: this.noTitle
|
|
49035
|
+
}
|
|
49036
|
+
}, children);
|
|
49037
|
+
}
|
|
49038
|
+
}
|
|
49039
|
+
}));
|
|
49040
|
+
|
|
49041
|
+
/***/ }),
|
|
49042
|
+
|
|
47973
49043
|
/***/ 49923:
|
|
47974
49044
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47975
49045
|
|
|
@@ -50252,19 +51322,19 @@ function mixins(...args) {
|
|
|
50252
51322
|
|
|
50253
51323
|
/***/ }),
|
|
50254
51324
|
|
|
50255
|
-
/***/
|
|
51325
|
+
/***/ 12059:
|
|
50256
51326
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50257
51327
|
|
|
50258
51328
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
50259
51329
|
|
|
50260
51330
|
// load the styles
|
|
50261
|
-
var content = __webpack_require__(
|
|
51331
|
+
var content = __webpack_require__(4088);
|
|
50262
51332
|
if(content.__esModule) content = content.default;
|
|
50263
51333
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
50264
51334
|
if(content.locals) module.exports = content.locals;
|
|
50265
51335
|
// add the styles to the DOM
|
|
50266
51336
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
50267
|
-
var update = add("
|
|
51337
|
+
var update = add("e316c6e6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50268
51338
|
|
|
50269
51339
|
/***/ }),
|
|
50270
51340
|
|
|
@@ -50876,6 +51946,22 @@ var update = add("00722082", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
50876
51946
|
|
|
50877
51947
|
/***/ }),
|
|
50878
51948
|
|
|
51949
|
+
/***/ 89557:
|
|
51950
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
51951
|
+
|
|
51952
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
51953
|
+
|
|
51954
|
+
// load the styles
|
|
51955
|
+
var content = __webpack_require__(79687);
|
|
51956
|
+
if(content.__esModule) content = content.default;
|
|
51957
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
51958
|
+
if(content.locals) module.exports = content.locals;
|
|
51959
|
+
// add the styles to the DOM
|
|
51960
|
+
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
51961
|
+
var update = add("2ca56ef8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
51962
|
+
|
|
51963
|
+
/***/ }),
|
|
51964
|
+
|
|
50879
51965
|
/***/ 78214:
|
|
50880
51966
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50881
51967
|
|
|
@@ -51580,6 +52666,38 @@ var update = add("33150d49", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
51580
52666
|
|
|
51581
52667
|
/***/ }),
|
|
51582
52668
|
|
|
52669
|
+
/***/ 6883:
|
|
52670
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
52671
|
+
|
|
52672
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
52673
|
+
|
|
52674
|
+
// load the styles
|
|
52675
|
+
var content = __webpack_require__(63474);
|
|
52676
|
+
if(content.__esModule) content = content.default;
|
|
52677
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
52678
|
+
if(content.locals) module.exports = content.locals;
|
|
52679
|
+
// add the styles to the DOM
|
|
52680
|
+
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
52681
|
+
var update = add("adcd9f2c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
52682
|
+
|
|
52683
|
+
/***/ }),
|
|
52684
|
+
|
|
52685
|
+
/***/ 41591:
|
|
52686
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
52687
|
+
|
|
52688
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
52689
|
+
|
|
52690
|
+
// load the styles
|
|
52691
|
+
var content = __webpack_require__(90914);
|
|
52692
|
+
if(content.__esModule) content = content.default;
|
|
52693
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
52694
|
+
if(content.locals) module.exports = content.locals;
|
|
52695
|
+
// add the styles to the DOM
|
|
52696
|
+
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
52697
|
+
var update = add("3c351b56", content, true, {"sourceMap":false,"shadowMode":false});
|
|
52698
|
+
|
|
52699
|
+
/***/ }),
|
|
52700
|
+
|
|
51583
52701
|
/***/ 51743:
|
|
51584
52702
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
51585
52703
|
|
|
@@ -51950,8 +53068,8 @@ var map = {
|
|
|
51950
53068
|
"./BeChip/BeChip.vue": 85444,
|
|
51951
53069
|
"./BeCombobox/BeCombobox.vue": 74717,
|
|
51952
53070
|
"./BeContainer/BeContainer.vue": 79345,
|
|
51953
|
-
"./BeCountCard/BeCountCard.vue":
|
|
51954
|
-
"./BeDatePicker/BeDatePicker.vue":
|
|
53071
|
+
"./BeCountCard/BeCountCard.vue": 35760,
|
|
53072
|
+
"./BeDatePicker/BeDatePicker.vue": 43498,
|
|
51955
53073
|
"./BeDefaultCard/BeDefaultCard.vue": 21811,
|
|
51956
53074
|
"./BeFileActions/BeFileAction.vue": 443,
|
|
51957
53075
|
"./BeFileField/BeFileField.vue": 3749,
|
|
@@ -51987,6 +53105,7 @@ var map = {
|
|
|
51987
53105
|
"./BeTextInfoIcon/BeTextInfoIcon.vue": 61186,
|
|
51988
53106
|
"./BeTextTruncate/BeTextTruncate.vue": 81263,
|
|
51989
53107
|
"./BeTextfield/BeTextfield.vue": 82746,
|
|
53108
|
+
"./BeTimePicker/BeTimePicker.vue": 17659,
|
|
51990
53109
|
"./BeTitleBar/BeTitleBar.vue": 69116,
|
|
51991
53110
|
"./BeViewTitle/BeViewTitle.vue": 91337
|
|
51992
53111
|
};
|