@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
|
@@ -3963,7 +3963,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
3963
3963
|
|
|
3964
3964
|
/***/ }),
|
|
3965
3965
|
|
|
3966
|
-
/***/
|
|
3966
|
+
/***/ 47527:
|
|
3967
3967
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3968
3968
|
|
|
3969
3969
|
"use strict";
|
|
@@ -4169,14 +4169,14 @@ var helpers = __webpack_require__(88412);
|
|
|
4169
4169
|
}));
|
|
4170
4170
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTooltip/VTooltip.js
|
|
4171
4171
|
var VTooltip = __webpack_require__(46730);
|
|
4172
|
-
;// ./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=
|
|
4172
|
+
;// ./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
|
|
4173
4173
|
|
|
4174
4174
|
|
|
4175
4175
|
|
|
4176
4176
|
|
|
4177
4177
|
|
|
4178
4178
|
|
|
4179
|
-
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.
|
|
4179
|
+
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){
|
|
4180
4180
|
var on = ref.on;
|
|
4181
4181
|
var attrs = ref.attrs;
|
|
4182
4182
|
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)}
|
|
@@ -4348,9 +4348,9 @@ var BeTextInfoIcon = __webpack_require__(70822);
|
|
|
4348
4348
|
});
|
|
4349
4349
|
;// ./src/components/BeCountCard/BeCountCard.vue?vue&type=script&lang=js
|
|
4350
4350
|
/* harmony default export */ var BeCountCard_BeCountCardvue_type_script_lang_js = (BeCountCardvue_type_script_lang_js);
|
|
4351
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-52.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-52.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-52.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-52.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=
|
|
4352
|
-
var
|
|
4353
|
-
;// ./src/components/BeCountCard/BeCountCard.vue?vue&type=style&index=0&id=
|
|
4351
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-52.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-52.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-52.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-52.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
|
|
4352
|
+
var BeCountCardvue_type_style_index_0_id_0f226f48_prod_scoped_true_lang_css = __webpack_require__(34219);
|
|
4353
|
+
;// ./src/components/BeCountCard/BeCountCard.vue?vue&type=style&index=0&id=0f226f48&prod&scoped=true&lang=css
|
|
4354
4354
|
|
|
4355
4355
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
4356
4356
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -4369,7 +4369,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
4369
4369
|
staticRenderFns,
|
|
4370
4370
|
false,
|
|
4371
4371
|
null,
|
|
4372
|
-
"
|
|
4372
|
+
"0f226f48",
|
|
4373
4373
|
null
|
|
4374
4374
|
|
|
4375
4375
|
)
|
|
@@ -4378,7 +4378,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
4378
4378
|
|
|
4379
4379
|
/***/ }),
|
|
4380
4380
|
|
|
4381
|
-
/***/
|
|
4381
|
+
/***/ 20604:
|
|
4382
4382
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4383
4383
|
|
|
4384
4384
|
"use strict";
|
|
@@ -4396,41 +4396,10 @@ var VBtn = __webpack_require__(83400);
|
|
|
4396
4396
|
var VDatePickerTitle = __webpack_require__(72575);
|
|
4397
4397
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/index.js
|
|
4398
4398
|
var VIcon = __webpack_require__(63357);
|
|
4399
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/
|
|
4400
|
-
var
|
|
4399
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker-button/index.js
|
|
4400
|
+
var picker_button = __webpack_require__(45861);
|
|
4401
4401
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mixins.js
|
|
4402
4402
|
var mixins = __webpack_require__(14463);
|
|
4403
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
4404
|
-
var helpers = __webpack_require__(88412);
|
|
4405
|
-
;// ./node_modules/vuetify/lib/mixins/picker-button/index.js
|
|
4406
|
-
// Mixins
|
|
4407
|
-
// Utilities
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
/* @vue/component */
|
|
4412
|
-
|
|
4413
|
-
/* harmony default export */ var picker_button = ((0,mixins/* default */.A)(colorable/* default */.A).extend({
|
|
4414
|
-
methods: {
|
|
4415
|
-
genPickerButton(prop, value, content, readonly = false, staticClass = '') {
|
|
4416
|
-
const active = this[prop] === value;
|
|
4417
|
-
const click = event => {
|
|
4418
|
-
event.stopPropagation();
|
|
4419
|
-
this.$emit(`update:${(0,helpers/* kebabCase */.kW)(prop)}`, value);
|
|
4420
|
-
};
|
|
4421
|
-
return this.$createElement('div', {
|
|
4422
|
-
staticClass: `v-picker__title__btn ${staticClass}`.trim(),
|
|
4423
|
-
class: {
|
|
4424
|
-
'v-picker__title__btn--active': active,
|
|
4425
|
-
'v-picker__title__btn--readonly': readonly
|
|
4426
|
-
},
|
|
4427
|
-
on: active || readonly ? undefined : {
|
|
4428
|
-
click
|
|
4429
|
-
}
|
|
4430
|
-
}, Array.isArray(content) ? content : [content]);
|
|
4431
|
-
}
|
|
4432
|
-
}
|
|
4433
|
-
}));
|
|
4434
4403
|
;// ./node_modules/vuetify/lib/components/VDatePicker/VDatePickerTitle.js
|
|
4435
4404
|
// Components
|
|
4436
4405
|
|
|
@@ -4439,7 +4408,7 @@ var helpers = __webpack_require__(88412);
|
|
|
4439
4408
|
// Utils
|
|
4440
4409
|
|
|
4441
4410
|
|
|
4442
|
-
/* harmony default export */ var VDatePicker_VDatePickerTitle = ((0,mixins/* default */.A)(picker_button
|
|
4411
|
+
/* harmony default export */ var VDatePicker_VDatePickerTitle = ((0,mixins/* default */.A)(picker_button/* default */.A
|
|
4443
4412
|
/* @vue/component */).extend({
|
|
4444
4413
|
name: 'v-date-picker-title',
|
|
4445
4414
|
props: {
|
|
@@ -4514,6 +4483,8 @@ var helpers = __webpack_require__(88412);
|
|
|
4514
4483
|
var VDatePickerHeader = __webpack_require__(52102);
|
|
4515
4484
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/index.js
|
|
4516
4485
|
var components_VBtn = __webpack_require__(61028);
|
|
4486
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/colorable/index.js
|
|
4487
|
+
var colorable = __webpack_require__(53875);
|
|
4517
4488
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","amd":"vue","root":"Vue"}
|
|
4518
4489
|
var external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_ = __webpack_require__(35594);
|
|
4519
4490
|
var external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_);
|
|
@@ -4532,21 +4503,8 @@ var external_commonjs_vue_commonjs2_vue_amd_vue_root_Vue_default = /*#__PURE__*/
|
|
|
4532
4503
|
}));
|
|
4533
4504
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/themeable/index.js
|
|
4534
4505
|
var themeable = __webpack_require__(86393);
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
targetLength = targetLength >> 0;
|
|
4538
|
-
string = String(string);
|
|
4539
|
-
padString = String(padString);
|
|
4540
|
-
if (string.length > targetLength) {
|
|
4541
|
-
return String(string);
|
|
4542
|
-
}
|
|
4543
|
-
targetLength = targetLength - string.length;
|
|
4544
|
-
if (targetLength > padString.length) {
|
|
4545
|
-
padString += padString.repeat(targetLength / padString.length);
|
|
4546
|
-
}
|
|
4547
|
-
return padString.slice(0, targetLength) + String(string);
|
|
4548
|
-
};
|
|
4549
|
-
/* harmony default export */ var pad = ((n, length = 2) => padStart(n, length, '0'));
|
|
4506
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDatePicker/util/pad.js
|
|
4507
|
+
var pad = __webpack_require__(6018);
|
|
4550
4508
|
;// ./node_modules/vuetify/lib/components/VDatePicker/util/createNativeLocaleFormatter.js
|
|
4551
4509
|
|
|
4552
4510
|
function createNativeLocaleFormatter(locale, options, substrOptions = {
|
|
@@ -4555,7 +4513,7 @@ function createNativeLocaleFormatter(locale, options, substrOptions = {
|
|
|
4555
4513
|
}) {
|
|
4556
4514
|
const makeIsoString = dateString => {
|
|
4557
4515
|
const [year, month, date] = dateString.trim().split(' ')[0].split('-');
|
|
4558
|
-
return [pad(year, 4), pad(month || 1), pad(date || 1)].join('-');
|
|
4516
|
+
return [(0,pad/* default */.A)(year, 4), (0,pad/* default */.A)(month || 1), (0,pad/* default */.A)(date || 1)].join('-');
|
|
4559
4517
|
};
|
|
4560
4518
|
try {
|
|
4561
4519
|
const intlFormatter = new Intl.DateTimeFormat(locale || undefined, options);
|
|
@@ -4579,7 +4537,7 @@ function createNativeLocaleFormatter(locale, options, substrOptions = {
|
|
|
4579
4537
|
} else if (month + sign === 13) {
|
|
4580
4538
|
return `${year + 1}-01`;
|
|
4581
4539
|
} else {
|
|
4582
|
-
return `${year}-${pad(month + sign)}`;
|
|
4540
|
+
return `${year}-${(0,pad/* default */.A)(month + sign)}`;
|
|
4583
4541
|
}
|
|
4584
4542
|
});
|
|
4585
4543
|
;// ./node_modules/vuetify/lib/components/VDatePicker/VDatePickerHeader.js
|
|
@@ -4745,6 +4703,8 @@ function isDateAllowed(date, min, max, allowedFn) {
|
|
|
4745
4703
|
}
|
|
4746
4704
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mergeData.js
|
|
4747
4705
|
var mergeData = __webpack_require__(45269);
|
|
4706
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
4707
|
+
var helpers = __webpack_require__(88412);
|
|
4748
4708
|
;// ./node_modules/vuetify/lib/components/VDatePicker/mixins/date-picker-table.js
|
|
4749
4709
|
// Directives
|
|
4750
4710
|
|
|
@@ -5040,7 +5000,7 @@ function isLeapYear(year) {
|
|
|
5040
5000
|
},
|
|
5041
5001
|
// Returns number of the days from the firstDayOfWeek to the first day of the current month
|
|
5042
5002
|
weekDaysBeforeFirstDayOfTheMonth() {
|
|
5043
|
-
const firstDayOfTheMonth = new Date(`${this.displayedYear}-${pad(this.displayedMonth + 1)}-01T00:00:00+00:00`);
|
|
5003
|
+
const firstDayOfTheMonth = new Date(`${this.displayedYear}-${(0,pad/* default */.A)(this.displayedMonth + 1)}-01T00:00:00+00:00`);
|
|
5044
5004
|
const weekDay = firstDayOfTheMonth.getUTCDay();
|
|
5045
5005
|
return (weekDay - parseInt(this.firstDayOfWeek) + 7) % 7;
|
|
5046
5006
|
},
|
|
@@ -5062,7 +5022,7 @@ function isLeapYear(year) {
|
|
|
5062
5022
|
}
|
|
5063
5023
|
while (day--) rows.push(this.$createElement('td'));
|
|
5064
5024
|
for (day = 1; day <= daysInMonth; day++) {
|
|
5065
|
-
const date = `${this.displayedYear}-${pad(this.displayedMonth + 1)}-${pad(day)}`;
|
|
5025
|
+
const date = `${this.displayedYear}-${(0,pad/* default */.A)(this.displayedMonth + 1)}-${(0,pad/* default */.A)(day)}`;
|
|
5066
5026
|
rows.push(this.$createElement('td', [this.genButton(date, true, 'date', this.formatter)]));
|
|
5067
5027
|
if (rows.length % (this.showWeek ? 8 : 7) === 0) {
|
|
5068
5028
|
children.push(this.genTR(rows));
|
|
@@ -5117,7 +5077,7 @@ function isLeapYear(year) {
|
|
|
5117
5077
|
for (let row = 0; row < rows; row++) {
|
|
5118
5078
|
const tds = cols.map((_, col) => {
|
|
5119
5079
|
const month = row * cols.length + col;
|
|
5120
|
-
const date = `${this.displayedYear}-${pad(month + 1)}`;
|
|
5080
|
+
const date = `${this.displayedYear}-${(0,pad/* default */.A)(month + 1)}`;
|
|
5121
5081
|
return this.$createElement('td', {
|
|
5122
5082
|
key: month
|
|
5123
5083
|
}, [this.genButton(date, false, 'month', this.formatter)]);
|
|
@@ -5217,165 +5177,8 @@ var VDatePickerYears = __webpack_require__(60499);
|
|
|
5217
5177
|
}, this.genYearItems());
|
|
5218
5178
|
}
|
|
5219
5179
|
}));
|
|
5220
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/
|
|
5221
|
-
var
|
|
5222
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VCard/VCard.sass
|
|
5223
|
-
var VCard = __webpack_require__(91895);
|
|
5224
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/elevatable/index.js
|
|
5225
|
-
var elevatable = __webpack_require__(90471);
|
|
5226
|
-
;// ./node_modules/vuetify/lib/components/VPicker/VPicker.js
|
|
5227
|
-
|
|
5228
|
-
// Mixins
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
// Helpers
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
/* @vue/component */
|
|
5237
|
-
|
|
5238
|
-
/* harmony default export */ var VPicker_VPicker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A).extend({
|
|
5239
|
-
name: 'v-picker',
|
|
5240
|
-
props: {
|
|
5241
|
-
flat: Boolean,
|
|
5242
|
-
fullWidth: Boolean,
|
|
5243
|
-
landscape: Boolean,
|
|
5244
|
-
noTitle: Boolean,
|
|
5245
|
-
transition: {
|
|
5246
|
-
type: String,
|
|
5247
|
-
default: 'fade-transition'
|
|
5248
|
-
},
|
|
5249
|
-
width: {
|
|
5250
|
-
type: [Number, String],
|
|
5251
|
-
default: 290
|
|
5252
|
-
}
|
|
5253
|
-
},
|
|
5254
|
-
computed: {
|
|
5255
|
-
computedTitleColor() {
|
|
5256
|
-
const defaultTitleColor = this.isDark ? false : this.color || 'primary';
|
|
5257
|
-
return this.color || defaultTitleColor;
|
|
5258
|
-
}
|
|
5259
|
-
},
|
|
5260
|
-
methods: {
|
|
5261
|
-
genTitle() {
|
|
5262
|
-
return this.$createElement('div', this.setBackgroundColor(this.computedTitleColor, {
|
|
5263
|
-
staticClass: 'v-picker__title',
|
|
5264
|
-
class: {
|
|
5265
|
-
'v-picker__title--landscape': this.landscape
|
|
5266
|
-
}
|
|
5267
|
-
}), this.$slots.title);
|
|
5268
|
-
},
|
|
5269
|
-
genBodyTransition() {
|
|
5270
|
-
return this.$createElement('transition', {
|
|
5271
|
-
props: {
|
|
5272
|
-
name: this.transition
|
|
5273
|
-
}
|
|
5274
|
-
}, this.$slots.default);
|
|
5275
|
-
},
|
|
5276
|
-
genBody() {
|
|
5277
|
-
return this.$createElement('div', {
|
|
5278
|
-
staticClass: 'v-picker__body',
|
|
5279
|
-
class: {
|
|
5280
|
-
'v-picker__body--no-title': this.noTitle,
|
|
5281
|
-
...this.themeClasses
|
|
5282
|
-
},
|
|
5283
|
-
style: this.fullWidth ? undefined : {
|
|
5284
|
-
width: (0,helpers/* convertToUnit */.Dg)(this.width)
|
|
5285
|
-
}
|
|
5286
|
-
}, [this.genBodyTransition()]);
|
|
5287
|
-
},
|
|
5288
|
-
genActions() {
|
|
5289
|
-
return this.$createElement('div', {
|
|
5290
|
-
staticClass: 'v-picker__actions v-card__actions',
|
|
5291
|
-
class: {
|
|
5292
|
-
'v-picker__actions--no-title': this.noTitle
|
|
5293
|
-
}
|
|
5294
|
-
}, this.$slots.actions);
|
|
5295
|
-
}
|
|
5296
|
-
},
|
|
5297
|
-
render(h) {
|
|
5298
|
-
return h('div', {
|
|
5299
|
-
staticClass: 'v-picker v-card',
|
|
5300
|
-
class: {
|
|
5301
|
-
'v-picker--flat': this.flat,
|
|
5302
|
-
'v-picker--landscape': this.landscape,
|
|
5303
|
-
'v-picker--full-width': this.fullWidth,
|
|
5304
|
-
...this.themeClasses,
|
|
5305
|
-
...this.elevationClasses
|
|
5306
|
-
}
|
|
5307
|
-
}, [this.$slots.title ? this.genTitle() : null, this.genBody(), this.$slots.actions ? this.genActions() : null]);
|
|
5308
|
-
}
|
|
5309
|
-
}));
|
|
5310
|
-
;// ./node_modules/vuetify/lib/components/VPicker/index.js
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
/* harmony default export */ var components_VPicker = (VPicker_VPicker);
|
|
5314
|
-
;// ./node_modules/vuetify/lib/mixins/picker/index.js
|
|
5315
|
-
|
|
5316
|
-
// Components
|
|
5317
|
-
// Mixins
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
// Utils
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
/* harmony default export */ var picker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A
|
|
5325
|
-
/* @vue/component */).extend({
|
|
5326
|
-
name: 'picker',
|
|
5327
|
-
props: {
|
|
5328
|
-
flat: Boolean,
|
|
5329
|
-
fullWidth: Boolean,
|
|
5330
|
-
headerColor: String,
|
|
5331
|
-
landscape: Boolean,
|
|
5332
|
-
noTitle: Boolean,
|
|
5333
|
-
width: {
|
|
5334
|
-
type: [Number, String],
|
|
5335
|
-
default: 290
|
|
5336
|
-
}
|
|
5337
|
-
},
|
|
5338
|
-
methods: {
|
|
5339
|
-
genPickerTitle() {
|
|
5340
|
-
return null;
|
|
5341
|
-
},
|
|
5342
|
-
genPickerBody() {
|
|
5343
|
-
return null;
|
|
5344
|
-
},
|
|
5345
|
-
genPickerActionsSlot() {
|
|
5346
|
-
return this.$scopedSlots.default ? this.$scopedSlots.default({
|
|
5347
|
-
save: this.save,
|
|
5348
|
-
cancel: this.cancel
|
|
5349
|
-
}) : this.$slots.default;
|
|
5350
|
-
},
|
|
5351
|
-
genPicker(staticClass) {
|
|
5352
|
-
const children = [];
|
|
5353
|
-
if (!this.noTitle) {
|
|
5354
|
-
const title = this.genPickerTitle();
|
|
5355
|
-
title && children.push(title);
|
|
5356
|
-
}
|
|
5357
|
-
const body = this.genPickerBody();
|
|
5358
|
-
body && children.push(body);
|
|
5359
|
-
children.push(this.$createElement('template', {
|
|
5360
|
-
slot: 'actions'
|
|
5361
|
-
}, [this.genPickerActionsSlot()]));
|
|
5362
|
-
return this.$createElement(components_VPicker, {
|
|
5363
|
-
staticClass,
|
|
5364
|
-
props: {
|
|
5365
|
-
color: this.headerColor || this.color,
|
|
5366
|
-
dark: this.dark,
|
|
5367
|
-
elevation: this.elevation,
|
|
5368
|
-
flat: this.flat,
|
|
5369
|
-
fullWidth: this.fullWidth,
|
|
5370
|
-
landscape: this.landscape,
|
|
5371
|
-
light: this.light,
|
|
5372
|
-
width: this.width,
|
|
5373
|
-
noTitle: this.noTitle
|
|
5374
|
-
}
|
|
5375
|
-
}, children);
|
|
5376
|
-
}
|
|
5377
|
-
}
|
|
5378
|
-
}));
|
|
5180
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker/index.js + 2 modules
|
|
5181
|
+
var picker = __webpack_require__(88341);
|
|
5379
5182
|
;// ./node_modules/vuetify/lib/components/VCalendar/util/timestamp.js
|
|
5380
5183
|
|
|
5381
5184
|
|
|
@@ -5795,13 +5598,13 @@ var console = __webpack_require__(8128);
|
|
|
5795
5598
|
|
|
5796
5599
|
function sanitizeDateString(dateString, type) {
|
|
5797
5600
|
const [year, month = 1, date = 1] = dateString.split('-');
|
|
5798
|
-
return `${year}-${pad(month)}-${pad(date)}`.substr(0, {
|
|
5601
|
+
return `${year}-${(0,pad/* default */.A)(month)}-${(0,pad/* default */.A)(date)}`.substr(0, {
|
|
5799
5602
|
date: 10,
|
|
5800
5603
|
month: 7,
|
|
5801
5604
|
year: 4
|
|
5802
5605
|
}[type]);
|
|
5803
5606
|
}
|
|
5804
|
-
/* harmony default export */ var VDatePicker = ((0,mixins/* default */.A)(localable, picker).extend({
|
|
5607
|
+
/* harmony default export */ var VDatePicker = ((0,mixins/* default */.A)(localable, picker/* default */.A).extend({
|
|
5805
5608
|
name: 'v-date-picker',
|
|
5806
5609
|
props: {
|
|
5807
5610
|
allowedDates: Function,
|
|
@@ -5928,7 +5731,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
5928
5731
|
return this.showCurrent || null;
|
|
5929
5732
|
},
|
|
5930
5733
|
inputDate() {
|
|
5931
|
-
return this.type === 'date' ? `${this.inputYear}-${pad(this.inputMonth + 1)}-${pad(this.inputDay)}` : `${this.inputYear}-${pad(this.inputMonth + 1)}`;
|
|
5734
|
+
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)}`;
|
|
5932
5735
|
},
|
|
5933
5736
|
tableMonth() {
|
|
5934
5737
|
return Number((this.pickerDate || this.tableDate).split('-')[1]) - 1;
|
|
@@ -6072,7 +5875,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6072
5875
|
if (this.type === 'month') {
|
|
6073
5876
|
this.tableDate = `${value}`;
|
|
6074
5877
|
} else {
|
|
6075
|
-
this.tableDate = `${value}-${pad((this.tableMonth || 0) + 1)}`;
|
|
5878
|
+
this.tableDate = `${value}-${(0,pad/* default */.A)((this.tableMonth || 0) + 1)}`;
|
|
6076
5879
|
}
|
|
6077
5880
|
this.activePicker = 'MONTH';
|
|
6078
5881
|
if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {
|
|
@@ -6134,7 +5937,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6134
5937
|
prevAriaLabel: this.activePicker === 'DATE' ? this.prevMonthAriaLabel : this.prevYearAriaLabel,
|
|
6135
5938
|
prevIcon: this.prevIcon,
|
|
6136
5939
|
readonly: this.readonly,
|
|
6137
|
-
value: this.activePicker === 'DATE' ? `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}` : `${pad(this.tableYear, 4)}`
|
|
5940
|
+
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)}`
|
|
6138
5941
|
},
|
|
6139
5942
|
on: {
|
|
6140
5943
|
toggle: () => this.activePicker = this.activePicker === 'DATE' ? 'MONTH' : 'YEAR',
|
|
@@ -6163,7 +5966,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6163
5966
|
readonly: this.readonly,
|
|
6164
5967
|
scrollable: this.scrollable,
|
|
6165
5968
|
showWeek: this.showWeek,
|
|
6166
|
-
tableDate: `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}`,
|
|
5969
|
+
tableDate: `${(0,pad/* default */.A)(this.tableYear, 4)}-${(0,pad/* default */.A)(this.tableMonth + 1)}`,
|
|
6167
5970
|
value: this.value,
|
|
6168
5971
|
weekdayFormat: this.weekdayFormat
|
|
6169
5972
|
},
|
|
@@ -6194,7 +5997,7 @@ function sanitizeDateString(dateString, type) {
|
|
|
6194
5997
|
readonly: this.readonly && this.type === 'month',
|
|
6195
5998
|
scrollable: this.scrollable,
|
|
6196
5999
|
value: this.selectedMonths,
|
|
6197
|
-
tableDate: `${pad(this.tableYear, 4)}`
|
|
6000
|
+
tableDate: `${(0,pad/* default */.A)(this.tableYear, 4)}`
|
|
6198
6001
|
},
|
|
6199
6002
|
ref: 'table',
|
|
6200
6003
|
on: {
|
|
@@ -6249,12 +6052,8 @@ function sanitizeDateString(dateString, type) {
|
|
|
6249
6052
|
var VDialog = __webpack_require__(9814);
|
|
6250
6053
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
|
|
6251
6054
|
var VIcon_VIcon = __webpack_require__(92778);
|
|
6252
|
-
// EXTERNAL MODULE: ./node_modules/vuetify/
|
|
6253
|
-
var
|
|
6254
|
-
;// ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
/* harmony default export */ var VSpacer = ((0,helpers/* createSimpleFunctional */.Gn)('spacer', 'div', 'v-spacer'));
|
|
6055
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
|
|
6056
|
+
var VSpacer = __webpack_require__(39078);
|
|
6258
6057
|
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTextField/VTextField.js + 2 modules
|
|
6259
6058
|
var VTextField = __webpack_require__(51901);
|
|
6260
6059
|
;// ./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
|
|
@@ -6267,7 +6066,7 @@ var VTextField = __webpack_require__(51901);
|
|
|
6267
6066
|
|
|
6268
6067
|
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){
|
|
6269
6068
|
var on = ref.on;
|
|
6270
|
-
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)}
|
|
6069
|
+
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)}
|
|
6271
6070
|
var staticRenderFns = []
|
|
6272
6071
|
|
|
6273
6072
|
|
|
@@ -14532,6 +14331,960 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
14532
14331
|
|
|
14533
14332
|
/***/ }),
|
|
14534
14333
|
|
|
14334
|
+
/***/ 43671:
|
|
14335
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14336
|
+
|
|
14337
|
+
"use strict";
|
|
14338
|
+
// ESM COMPAT FLAG
|
|
14339
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14340
|
+
|
|
14341
|
+
// EXPORTS
|
|
14342
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
14343
|
+
"default": function() { return /* binding */ BeTimePicker; }
|
|
14344
|
+
});
|
|
14345
|
+
|
|
14346
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/VBtn.js + 1 modules
|
|
14347
|
+
var VBtn = __webpack_require__(83400);
|
|
14348
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDialog/VDialog.js + 3 modules
|
|
14349
|
+
var VDialog = __webpack_require__(9814);
|
|
14350
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
|
|
14351
|
+
var VIcon = __webpack_require__(92778);
|
|
14352
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
|
|
14353
|
+
var VSpacer = __webpack_require__(39078);
|
|
14354
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VTextField/VTextField.js + 2 modules
|
|
14355
|
+
var VTextField = __webpack_require__(51901);
|
|
14356
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
14357
|
+
var es_array_push = __webpack_require__(44114);
|
|
14358
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VTimePicker/VTimePickerTitle.sass
|
|
14359
|
+
var VTimePickerTitle = __webpack_require__(90603);
|
|
14360
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker-button/index.js
|
|
14361
|
+
var picker_button = __webpack_require__(45861);
|
|
14362
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDatePicker/util/pad.js
|
|
14363
|
+
var pad = __webpack_require__(6018);
|
|
14364
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mixins.js
|
|
14365
|
+
var mixins = __webpack_require__(14463);
|
|
14366
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/SelectingTimes.js
|
|
14367
|
+
var SelectingTimes;
|
|
14368
|
+
(function (SelectingTimes) {
|
|
14369
|
+
SelectingTimes[SelectingTimes["Hour"] = 1] = "Hour";
|
|
14370
|
+
SelectingTimes[SelectingTimes["Minute"] = 2] = "Minute";
|
|
14371
|
+
SelectingTimes[SelectingTimes["Second"] = 3] = "Second";
|
|
14372
|
+
})(SelectingTimes || (SelectingTimes = {}));
|
|
14373
|
+
|
|
14374
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/VTimePickerTitle.js
|
|
14375
|
+
|
|
14376
|
+
// Mixins
|
|
14377
|
+
|
|
14378
|
+
// Utils
|
|
14379
|
+
|
|
14380
|
+
|
|
14381
|
+
|
|
14382
|
+
|
|
14383
|
+
/* harmony default export */ var VTimePicker_VTimePickerTitle = ((0,mixins/* default */.A)(picker_button/* default */.A
|
|
14384
|
+
/* @vue/component */).extend({
|
|
14385
|
+
name: 'v-time-picker-title',
|
|
14386
|
+
props: {
|
|
14387
|
+
ampm: Boolean,
|
|
14388
|
+
ampmReadonly: Boolean,
|
|
14389
|
+
disabled: Boolean,
|
|
14390
|
+
hour: Number,
|
|
14391
|
+
minute: Number,
|
|
14392
|
+
second: Number,
|
|
14393
|
+
period: {
|
|
14394
|
+
type: String,
|
|
14395
|
+
validator: period => period === 'am' || period === 'pm'
|
|
14396
|
+
},
|
|
14397
|
+
readonly: Boolean,
|
|
14398
|
+
useSeconds: Boolean,
|
|
14399
|
+
selecting: Number
|
|
14400
|
+
},
|
|
14401
|
+
methods: {
|
|
14402
|
+
genTime() {
|
|
14403
|
+
let hour = this.hour;
|
|
14404
|
+
if (this.ampm) {
|
|
14405
|
+
hour = hour ? (hour - 1) % 12 + 1 : 12;
|
|
14406
|
+
}
|
|
14407
|
+
const displayedHour = this.hour == null ? '--' : this.ampm ? String(hour) : (0,pad/* default */.A)(hour);
|
|
14408
|
+
const displayedMinute = this.minute == null ? '--' : (0,pad/* default */.A)(this.minute);
|
|
14409
|
+
const titleContent = [this.genPickerButton('selecting', SelectingTimes.Hour, displayedHour, this.disabled), this.$createElement('span', ':'), this.genPickerButton('selecting', SelectingTimes.Minute, displayedMinute, this.disabled)];
|
|
14410
|
+
if (this.useSeconds) {
|
|
14411
|
+
const displayedSecond = this.second == null ? '--' : (0,pad/* default */.A)(this.second);
|
|
14412
|
+
titleContent.push(this.$createElement('span', ':'));
|
|
14413
|
+
titleContent.push(this.genPickerButton('selecting', SelectingTimes.Second, displayedSecond, this.disabled));
|
|
14414
|
+
}
|
|
14415
|
+
return this.$createElement('div', {
|
|
14416
|
+
class: 'v-time-picker-title__time'
|
|
14417
|
+
}, titleContent);
|
|
14418
|
+
},
|
|
14419
|
+
genAmPm() {
|
|
14420
|
+
return this.$createElement('div', {
|
|
14421
|
+
staticClass: 'v-time-picker-title__ampm',
|
|
14422
|
+
class: {
|
|
14423
|
+
'v-time-picker-title__ampm--readonly': this.ampmReadonly
|
|
14424
|
+
}
|
|
14425
|
+
}, [!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]);
|
|
14426
|
+
}
|
|
14427
|
+
},
|
|
14428
|
+
render(h) {
|
|
14429
|
+
const children = [this.genTime()];
|
|
14430
|
+
this.ampm && children.push(this.genAmPm());
|
|
14431
|
+
return h('div', {
|
|
14432
|
+
staticClass: 'v-time-picker-title'
|
|
14433
|
+
}, children);
|
|
14434
|
+
}
|
|
14435
|
+
}));
|
|
14436
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VTimePicker/VTimePickerClock.sass
|
|
14437
|
+
var VTimePickerClock = __webpack_require__(50647);
|
|
14438
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/colorable/index.js
|
|
14439
|
+
var colorable = __webpack_require__(53875);
|
|
14440
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/themeable/index.js
|
|
14441
|
+
var themeable = __webpack_require__(86393);
|
|
14442
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/VTimePickerClock.js
|
|
14443
|
+
|
|
14444
|
+
// Mixins
|
|
14445
|
+
|
|
14446
|
+
|
|
14447
|
+
// Types
|
|
14448
|
+
|
|
14449
|
+
|
|
14450
|
+
/* harmony default export */ var VTimePicker_VTimePickerClock = ((0,mixins/* default */.A)(colorable/* default */.A, themeable/* default */.A
|
|
14451
|
+
/* @vue/component */).extend({
|
|
14452
|
+
name: 'v-time-picker-clock',
|
|
14453
|
+
props: {
|
|
14454
|
+
allowedValues: Function,
|
|
14455
|
+
ampm: Boolean,
|
|
14456
|
+
disabled: Boolean,
|
|
14457
|
+
double: Boolean,
|
|
14458
|
+
format: {
|
|
14459
|
+
type: Function,
|
|
14460
|
+
default: val => val
|
|
14461
|
+
},
|
|
14462
|
+
max: {
|
|
14463
|
+
type: Number,
|
|
14464
|
+
required: true
|
|
14465
|
+
},
|
|
14466
|
+
min: {
|
|
14467
|
+
type: Number,
|
|
14468
|
+
required: true
|
|
14469
|
+
},
|
|
14470
|
+
scrollable: Boolean,
|
|
14471
|
+
readonly: Boolean,
|
|
14472
|
+
rotate: {
|
|
14473
|
+
type: Number,
|
|
14474
|
+
default: 0
|
|
14475
|
+
},
|
|
14476
|
+
step: {
|
|
14477
|
+
type: Number,
|
|
14478
|
+
default: 1
|
|
14479
|
+
},
|
|
14480
|
+
value: Number
|
|
14481
|
+
},
|
|
14482
|
+
data() {
|
|
14483
|
+
return {
|
|
14484
|
+
inputValue: this.value,
|
|
14485
|
+
isDragging: false,
|
|
14486
|
+
valueOnMouseDown: null,
|
|
14487
|
+
valueOnMouseUp: null
|
|
14488
|
+
};
|
|
14489
|
+
},
|
|
14490
|
+
computed: {
|
|
14491
|
+
count() {
|
|
14492
|
+
return this.max - this.min + 1;
|
|
14493
|
+
},
|
|
14494
|
+
degreesPerUnit() {
|
|
14495
|
+
return 360 / this.roundCount;
|
|
14496
|
+
},
|
|
14497
|
+
degrees() {
|
|
14498
|
+
return this.degreesPerUnit * Math.PI / 180;
|
|
14499
|
+
},
|
|
14500
|
+
displayedValue() {
|
|
14501
|
+
return this.value == null ? this.min : this.value;
|
|
14502
|
+
},
|
|
14503
|
+
innerRadiusScale() {
|
|
14504
|
+
return 0.62;
|
|
14505
|
+
},
|
|
14506
|
+
roundCount() {
|
|
14507
|
+
return this.double ? this.count / 2 : this.count;
|
|
14508
|
+
}
|
|
14509
|
+
},
|
|
14510
|
+
watch: {
|
|
14511
|
+
value(value) {
|
|
14512
|
+
this.inputValue = value;
|
|
14513
|
+
}
|
|
14514
|
+
},
|
|
14515
|
+
methods: {
|
|
14516
|
+
wheel(e) {
|
|
14517
|
+
e.preventDefault();
|
|
14518
|
+
const delta = Math.sign(-e.deltaY || 1);
|
|
14519
|
+
let value = this.displayedValue;
|
|
14520
|
+
do {
|
|
14521
|
+
value = value + delta;
|
|
14522
|
+
value = (value - this.min + this.count) % this.count + this.min;
|
|
14523
|
+
} while (!this.isAllowed(value) && value !== this.displayedValue);
|
|
14524
|
+
if (value !== this.displayedValue) {
|
|
14525
|
+
this.update(value);
|
|
14526
|
+
}
|
|
14527
|
+
},
|
|
14528
|
+
isInner(value) {
|
|
14529
|
+
return this.double && value - this.min >= this.roundCount;
|
|
14530
|
+
},
|
|
14531
|
+
handScale(value) {
|
|
14532
|
+
return this.isInner(value) ? this.innerRadiusScale : 1;
|
|
14533
|
+
},
|
|
14534
|
+
isAllowed(value) {
|
|
14535
|
+
return !this.allowedValues || this.allowedValues(value);
|
|
14536
|
+
},
|
|
14537
|
+
genValues() {
|
|
14538
|
+
const children = [];
|
|
14539
|
+
for (let value = this.min; value <= this.max; value = value + this.step) {
|
|
14540
|
+
const color = value === this.value && (this.color || 'accent');
|
|
14541
|
+
children.push(this.$createElement('span', this.setBackgroundColor(color, {
|
|
14542
|
+
staticClass: 'v-time-picker-clock__item',
|
|
14543
|
+
class: {
|
|
14544
|
+
'v-time-picker-clock__item--active': value === this.displayedValue,
|
|
14545
|
+
'v-time-picker-clock__item--disabled': this.disabled || !this.isAllowed(value)
|
|
14546
|
+
},
|
|
14547
|
+
style: this.getTransform(value),
|
|
14548
|
+
domProps: {
|
|
14549
|
+
innerHTML: `<span>${this.format(value)}</span>`
|
|
14550
|
+
}
|
|
14551
|
+
})));
|
|
14552
|
+
}
|
|
14553
|
+
return children;
|
|
14554
|
+
},
|
|
14555
|
+
genHand() {
|
|
14556
|
+
const scale = `scaleY(${this.handScale(this.displayedValue)})`;
|
|
14557
|
+
const angle = this.rotate + this.degreesPerUnit * (this.displayedValue - this.min);
|
|
14558
|
+
const color = this.value != null && (this.color || 'accent');
|
|
14559
|
+
return this.$createElement('div', this.setBackgroundColor(color, {
|
|
14560
|
+
staticClass: 'v-time-picker-clock__hand',
|
|
14561
|
+
class: {
|
|
14562
|
+
'v-time-picker-clock__hand--inner': this.isInner(this.value)
|
|
14563
|
+
},
|
|
14564
|
+
style: {
|
|
14565
|
+
transform: `rotate(${angle}deg) ${scale}`
|
|
14566
|
+
}
|
|
14567
|
+
}));
|
|
14568
|
+
},
|
|
14569
|
+
getTransform(i) {
|
|
14570
|
+
const {
|
|
14571
|
+
x,
|
|
14572
|
+
y
|
|
14573
|
+
} = this.getPosition(i);
|
|
14574
|
+
return {
|
|
14575
|
+
left: `${50 + x * 50}%`,
|
|
14576
|
+
top: `${50 + y * 50}%`
|
|
14577
|
+
};
|
|
14578
|
+
},
|
|
14579
|
+
getPosition(value) {
|
|
14580
|
+
const rotateRadians = this.rotate * Math.PI / 180;
|
|
14581
|
+
return {
|
|
14582
|
+
x: Math.sin((value - this.min) * this.degrees + rotateRadians) * this.handScale(value),
|
|
14583
|
+
y: -Math.cos((value - this.min) * this.degrees + rotateRadians) * this.handScale(value)
|
|
14584
|
+
};
|
|
14585
|
+
},
|
|
14586
|
+
onMouseDown(e) {
|
|
14587
|
+
e.preventDefault();
|
|
14588
|
+
this.valueOnMouseDown = null;
|
|
14589
|
+
this.valueOnMouseUp = null;
|
|
14590
|
+
this.isDragging = true;
|
|
14591
|
+
this.onDragMove(e);
|
|
14592
|
+
},
|
|
14593
|
+
onMouseUp(e) {
|
|
14594
|
+
e.stopPropagation();
|
|
14595
|
+
this.isDragging = false;
|
|
14596
|
+
if (this.valueOnMouseUp !== null && this.isAllowed(this.valueOnMouseUp)) {
|
|
14597
|
+
this.$emit('change', this.valueOnMouseUp);
|
|
14598
|
+
}
|
|
14599
|
+
},
|
|
14600
|
+
onDragMove(e) {
|
|
14601
|
+
e.preventDefault();
|
|
14602
|
+
if (!this.isDragging && e.type !== 'click') return;
|
|
14603
|
+
const {
|
|
14604
|
+
width,
|
|
14605
|
+
top,
|
|
14606
|
+
left
|
|
14607
|
+
} = this.$refs.clock.getBoundingClientRect();
|
|
14608
|
+
const {
|
|
14609
|
+
width: innerWidth
|
|
14610
|
+
} = this.$refs.innerClock.getBoundingClientRect();
|
|
14611
|
+
const {
|
|
14612
|
+
clientX,
|
|
14613
|
+
clientY
|
|
14614
|
+
} = 'touches' in e ? e.touches[0] : e;
|
|
14615
|
+
const center = {
|
|
14616
|
+
x: width / 2,
|
|
14617
|
+
y: -width / 2
|
|
14618
|
+
};
|
|
14619
|
+
const coords = {
|
|
14620
|
+
x: clientX - left,
|
|
14621
|
+
y: top - clientY
|
|
14622
|
+
};
|
|
14623
|
+
const handAngle = Math.round(this.angle(center, coords) - this.rotate + 360) % 360;
|
|
14624
|
+
const insideClick = this.double && this.euclidean(center, coords) < (innerWidth + innerWidth * this.innerRadiusScale) / 4;
|
|
14625
|
+
const checksCount = Math.ceil(15 / this.degreesPerUnit);
|
|
14626
|
+
let value;
|
|
14627
|
+
for (let i = 0; i < checksCount; i++) {
|
|
14628
|
+
value = this.angleToValue(handAngle + i * this.degreesPerUnit, insideClick);
|
|
14629
|
+
if (this.isAllowed(value)) return this.setMouseDownValue(value);
|
|
14630
|
+
value = this.angleToValue(handAngle - i * this.degreesPerUnit, insideClick);
|
|
14631
|
+
if (this.isAllowed(value)) return this.setMouseDownValue(value);
|
|
14632
|
+
}
|
|
14633
|
+
},
|
|
14634
|
+
angleToValue(angle, insideClick) {
|
|
14635
|
+
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
|
|
14636
|
+
|
|
14637
|
+
if (angle < 360 - this.degreesPerUnit / 2) return value;
|
|
14638
|
+
return insideClick ? this.max - this.roundCount + 1 : this.min;
|
|
14639
|
+
},
|
|
14640
|
+
setMouseDownValue(value) {
|
|
14641
|
+
if (this.valueOnMouseDown === null) {
|
|
14642
|
+
this.valueOnMouseDown = value;
|
|
14643
|
+
}
|
|
14644
|
+
this.valueOnMouseUp = value;
|
|
14645
|
+
this.update(value);
|
|
14646
|
+
},
|
|
14647
|
+
update(value) {
|
|
14648
|
+
if (this.inputValue !== value) {
|
|
14649
|
+
this.inputValue = value;
|
|
14650
|
+
this.$emit('input', value);
|
|
14651
|
+
}
|
|
14652
|
+
},
|
|
14653
|
+
euclidean(p0, p1) {
|
|
14654
|
+
const dx = p1.x - p0.x;
|
|
14655
|
+
const dy = p1.y - p0.y;
|
|
14656
|
+
return Math.sqrt(dx * dx + dy * dy);
|
|
14657
|
+
},
|
|
14658
|
+
angle(center, p1) {
|
|
14659
|
+
const value = 2 * Math.atan2(p1.y - center.y - this.euclidean(center, p1), p1.x - center.x);
|
|
14660
|
+
return Math.abs(value * 180 / Math.PI);
|
|
14661
|
+
}
|
|
14662
|
+
},
|
|
14663
|
+
render(h) {
|
|
14664
|
+
const data = {
|
|
14665
|
+
staticClass: 'v-time-picker-clock',
|
|
14666
|
+
class: {
|
|
14667
|
+
'v-time-picker-clock--indeterminate': this.value == null,
|
|
14668
|
+
...this.themeClasses
|
|
14669
|
+
},
|
|
14670
|
+
on: this.readonly || this.disabled ? undefined : {
|
|
14671
|
+
mousedown: this.onMouseDown,
|
|
14672
|
+
mouseup: this.onMouseUp,
|
|
14673
|
+
mouseleave: e => this.isDragging && this.onMouseUp(e),
|
|
14674
|
+
touchstart: this.onMouseDown,
|
|
14675
|
+
touchend: this.onMouseUp,
|
|
14676
|
+
mousemove: this.onDragMove,
|
|
14677
|
+
touchmove: this.onDragMove
|
|
14678
|
+
},
|
|
14679
|
+
ref: 'clock'
|
|
14680
|
+
};
|
|
14681
|
+
if (this.scrollable && data.on) {
|
|
14682
|
+
data.on.wheel = this.wheel;
|
|
14683
|
+
}
|
|
14684
|
+
return h('div', data, [h('div', {
|
|
14685
|
+
staticClass: 'v-time-picker-clock__inner',
|
|
14686
|
+
ref: 'innerClock'
|
|
14687
|
+
}, [this.genHand(), this.genValues()])]);
|
|
14688
|
+
}
|
|
14689
|
+
}));
|
|
14690
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/picker/index.js + 2 modules
|
|
14691
|
+
var picker = __webpack_require__(88341);
|
|
14692
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
14693
|
+
var helpers = __webpack_require__(88412);
|
|
14694
|
+
;// ./node_modules/vuetify/lib/components/VTimePicker/VTimePicker.js
|
|
14695
|
+
// Components
|
|
14696
|
+
|
|
14697
|
+
// Mixins
|
|
14698
|
+
|
|
14699
|
+
|
|
14700
|
+
// Utils
|
|
14701
|
+
|
|
14702
|
+
|
|
14703
|
+
|
|
14704
|
+
|
|
14705
|
+
|
|
14706
|
+
const rangeHours24 = (0,helpers/* createRange */.Sd)(24);
|
|
14707
|
+
const rangeHours12am = (0,helpers/* createRange */.Sd)(12);
|
|
14708
|
+
const rangeHours12pm = rangeHours12am.map(v => v + 12);
|
|
14709
|
+
const range60 = (0,helpers/* createRange */.Sd)(60);
|
|
14710
|
+
const selectingNames = {
|
|
14711
|
+
1: 'hour',
|
|
14712
|
+
2: 'minute',
|
|
14713
|
+
3: 'second'
|
|
14714
|
+
};
|
|
14715
|
+
|
|
14716
|
+
/* harmony default export */ var VTimePicker = ((0,mixins/* default */.A)(picker/* default */.A, picker_button/* default */.A
|
|
14717
|
+
/* @vue/component */).extend({
|
|
14718
|
+
name: 'v-time-picker',
|
|
14719
|
+
props: {
|
|
14720
|
+
allowedHours: [Function, Array],
|
|
14721
|
+
allowedMinutes: [Function, Array],
|
|
14722
|
+
allowedSeconds: [Function, Array],
|
|
14723
|
+
disabled: Boolean,
|
|
14724
|
+
format: {
|
|
14725
|
+
type: String,
|
|
14726
|
+
default: 'ampm',
|
|
14727
|
+
validator(val) {
|
|
14728
|
+
return ['ampm', '24hr'].includes(val);
|
|
14729
|
+
}
|
|
14730
|
+
},
|
|
14731
|
+
min: String,
|
|
14732
|
+
max: String,
|
|
14733
|
+
readonly: Boolean,
|
|
14734
|
+
scrollable: Boolean,
|
|
14735
|
+
useSeconds: Boolean,
|
|
14736
|
+
value: null,
|
|
14737
|
+
ampmInTitle: Boolean
|
|
14738
|
+
},
|
|
14739
|
+
data() {
|
|
14740
|
+
return {
|
|
14741
|
+
inputHour: null,
|
|
14742
|
+
inputMinute: null,
|
|
14743
|
+
inputSecond: null,
|
|
14744
|
+
lazyInputHour: null,
|
|
14745
|
+
lazyInputMinute: null,
|
|
14746
|
+
lazyInputSecond: null,
|
|
14747
|
+
period: 'am',
|
|
14748
|
+
selecting: SelectingTimes.Hour
|
|
14749
|
+
};
|
|
14750
|
+
},
|
|
14751
|
+
computed: {
|
|
14752
|
+
selectingHour: {
|
|
14753
|
+
get() {
|
|
14754
|
+
return this.selecting === SelectingTimes.Hour;
|
|
14755
|
+
},
|
|
14756
|
+
set(v) {
|
|
14757
|
+
this.selecting = SelectingTimes.Hour;
|
|
14758
|
+
}
|
|
14759
|
+
},
|
|
14760
|
+
selectingMinute: {
|
|
14761
|
+
get() {
|
|
14762
|
+
return this.selecting === SelectingTimes.Minute;
|
|
14763
|
+
},
|
|
14764
|
+
set(v) {
|
|
14765
|
+
this.selecting = SelectingTimes.Minute;
|
|
14766
|
+
}
|
|
14767
|
+
},
|
|
14768
|
+
selectingSecond: {
|
|
14769
|
+
get() {
|
|
14770
|
+
return this.selecting === SelectingTimes.Second;
|
|
14771
|
+
},
|
|
14772
|
+
set(v) {
|
|
14773
|
+
this.selecting = SelectingTimes.Second;
|
|
14774
|
+
}
|
|
14775
|
+
},
|
|
14776
|
+
isAllowedHourCb() {
|
|
14777
|
+
let cb;
|
|
14778
|
+
if (this.allowedHours instanceof Array) {
|
|
14779
|
+
cb = val => this.allowedHours.includes(val);
|
|
14780
|
+
} else {
|
|
14781
|
+
cb = this.allowedHours;
|
|
14782
|
+
}
|
|
14783
|
+
if (!this.min && !this.max) return cb;
|
|
14784
|
+
const minHour = this.min ? Number(this.min.split(':')[0]) : 0;
|
|
14785
|
+
const maxHour = this.max ? Number(this.max.split(':')[0]) : 23;
|
|
14786
|
+
return val => {
|
|
14787
|
+
return val >= minHour * 1 && val <= maxHour * 1 && (!cb || cb(val));
|
|
14788
|
+
};
|
|
14789
|
+
},
|
|
14790
|
+
isAllowedMinuteCb() {
|
|
14791
|
+
let cb;
|
|
14792
|
+
const isHourAllowed = !this.isAllowedHourCb || this.inputHour === null || this.isAllowedHourCb(this.inputHour);
|
|
14793
|
+
if (this.allowedMinutes instanceof Array) {
|
|
14794
|
+
cb = val => this.allowedMinutes.includes(val);
|
|
14795
|
+
} else {
|
|
14796
|
+
cb = this.allowedMinutes;
|
|
14797
|
+
}
|
|
14798
|
+
if (!this.min && !this.max) {
|
|
14799
|
+
return isHourAllowed ? cb : () => false;
|
|
14800
|
+
}
|
|
14801
|
+
const [minHour, minMinute] = this.min ? this.min.split(':').map(Number) : [0, 0];
|
|
14802
|
+
const [maxHour, maxMinute] = this.max ? this.max.split(':').map(Number) : [23, 59];
|
|
14803
|
+
const minTime = minHour * 60 + minMinute * 1;
|
|
14804
|
+
const maxTime = maxHour * 60 + maxMinute * 1;
|
|
14805
|
+
return val => {
|
|
14806
|
+
const time = 60 * this.inputHour + val;
|
|
14807
|
+
return time >= minTime && time <= maxTime && isHourAllowed && (!cb || cb(val));
|
|
14808
|
+
};
|
|
14809
|
+
},
|
|
14810
|
+
isAllowedSecondCb() {
|
|
14811
|
+
let cb;
|
|
14812
|
+
const isHourAllowed = !this.isAllowedHourCb || this.inputHour === null || this.isAllowedHourCb(this.inputHour);
|
|
14813
|
+
const isMinuteAllowed = isHourAllowed && (!this.isAllowedMinuteCb || this.inputMinute === null || this.isAllowedMinuteCb(this.inputMinute));
|
|
14814
|
+
if (this.allowedSeconds instanceof Array) {
|
|
14815
|
+
cb = val => this.allowedSeconds.includes(val);
|
|
14816
|
+
} else {
|
|
14817
|
+
cb = this.allowedSeconds;
|
|
14818
|
+
}
|
|
14819
|
+
if (!this.min && !this.max) {
|
|
14820
|
+
return isMinuteAllowed ? cb : () => false;
|
|
14821
|
+
}
|
|
14822
|
+
const [minHour, minMinute, minSecond] = this.min ? this.min.split(':').map(Number) : [0, 0, 0];
|
|
14823
|
+
const [maxHour, maxMinute, maxSecond] = this.max ? this.max.split(':').map(Number) : [23, 59, 59];
|
|
14824
|
+
const minTime = minHour * 3600 + minMinute * 60 + (minSecond || 0) * 1;
|
|
14825
|
+
const maxTime = maxHour * 3600 + maxMinute * 60 + (maxSecond || 0) * 1;
|
|
14826
|
+
return val => {
|
|
14827
|
+
const time = 3600 * this.inputHour + 60 * this.inputMinute + val;
|
|
14828
|
+
return time >= minTime && time <= maxTime && isMinuteAllowed && (!cb || cb(val));
|
|
14829
|
+
};
|
|
14830
|
+
},
|
|
14831
|
+
isAmPm() {
|
|
14832
|
+
return this.format === 'ampm';
|
|
14833
|
+
}
|
|
14834
|
+
},
|
|
14835
|
+
watch: {
|
|
14836
|
+
value: 'setInputData'
|
|
14837
|
+
},
|
|
14838
|
+
mounted() {
|
|
14839
|
+
this.setInputData(this.value);
|
|
14840
|
+
this.$on('update:period', this.setPeriod);
|
|
14841
|
+
},
|
|
14842
|
+
methods: {
|
|
14843
|
+
genValue() {
|
|
14844
|
+
if (this.inputHour != null && this.inputMinute != null && (!this.useSeconds || this.inputSecond != null)) {
|
|
14845
|
+
return `${(0,pad/* default */.A)(this.inputHour)}:${(0,pad/* default */.A)(this.inputMinute)}` + (this.useSeconds ? `:${(0,pad/* default */.A)(this.inputSecond)}` : '');
|
|
14846
|
+
}
|
|
14847
|
+
return null;
|
|
14848
|
+
},
|
|
14849
|
+
emitValue() {
|
|
14850
|
+
const value = this.genValue();
|
|
14851
|
+
if (value !== null) this.$emit('input', value);
|
|
14852
|
+
},
|
|
14853
|
+
setPeriod(period) {
|
|
14854
|
+
this.period = period;
|
|
14855
|
+
if (this.inputHour != null) {
|
|
14856
|
+
const newHour = this.inputHour + (period === 'am' ? -12 : 12);
|
|
14857
|
+
this.inputHour = this.firstAllowed('hour', newHour);
|
|
14858
|
+
this.emitValue();
|
|
14859
|
+
}
|
|
14860
|
+
},
|
|
14861
|
+
setInputData(value) {
|
|
14862
|
+
if (value == null || value === '') {
|
|
14863
|
+
this.inputHour = null;
|
|
14864
|
+
this.inputMinute = null;
|
|
14865
|
+
this.inputSecond = null;
|
|
14866
|
+
} else if (value instanceof Date) {
|
|
14867
|
+
this.inputHour = value.getHours();
|
|
14868
|
+
this.inputMinute = value.getMinutes();
|
|
14869
|
+
this.inputSecond = value.getSeconds();
|
|
14870
|
+
} else {
|
|
14871
|
+
const [, hour, minute,, second, period] = value.trim().toLowerCase().match(/^(\d+):(\d+)(:(\d+))?([ap]m)?$/) || new Array(6);
|
|
14872
|
+
this.inputHour = period ? this.convert12to24(parseInt(hour, 10), period) : parseInt(hour, 10);
|
|
14873
|
+
this.inputMinute = parseInt(minute, 10);
|
|
14874
|
+
this.inputSecond = parseInt(second || 0, 10);
|
|
14875
|
+
}
|
|
14876
|
+
this.period = this.inputHour == null || this.inputHour < 12 ? 'am' : 'pm';
|
|
14877
|
+
},
|
|
14878
|
+
convert24to12(hour) {
|
|
14879
|
+
return hour ? (hour - 1) % 12 + 1 : 12;
|
|
14880
|
+
},
|
|
14881
|
+
convert12to24(hour, period) {
|
|
14882
|
+
return hour % 12 + (period === 'pm' ? 12 : 0);
|
|
14883
|
+
},
|
|
14884
|
+
onInput(value) {
|
|
14885
|
+
if (this.selecting === SelectingTimes.Hour) {
|
|
14886
|
+
this.inputHour = this.isAmPm ? this.convert12to24(value, this.period) : value;
|
|
14887
|
+
} else if (this.selecting === SelectingTimes.Minute) {
|
|
14888
|
+
this.inputMinute = value;
|
|
14889
|
+
} else {
|
|
14890
|
+
this.inputSecond = value;
|
|
14891
|
+
}
|
|
14892
|
+
this.emitValue();
|
|
14893
|
+
},
|
|
14894
|
+
onChange(value) {
|
|
14895
|
+
this.$emit(`click:${selectingNames[this.selecting]}`, value);
|
|
14896
|
+
const emitChange = this.selecting === (this.useSeconds ? SelectingTimes.Second : SelectingTimes.Minute);
|
|
14897
|
+
if (this.selecting === SelectingTimes.Hour) {
|
|
14898
|
+
this.selecting = SelectingTimes.Minute;
|
|
14899
|
+
} else if (this.useSeconds && this.selecting === SelectingTimes.Minute) {
|
|
14900
|
+
this.selecting = SelectingTimes.Second;
|
|
14901
|
+
}
|
|
14902
|
+
if (this.inputHour === this.lazyInputHour && this.inputMinute === this.lazyInputMinute && (!this.useSeconds || this.inputSecond === this.lazyInputSecond)) return;
|
|
14903
|
+
const time = this.genValue();
|
|
14904
|
+
if (time === null) return;
|
|
14905
|
+
this.lazyInputHour = this.inputHour;
|
|
14906
|
+
this.lazyInputMinute = this.inputMinute;
|
|
14907
|
+
this.useSeconds && (this.lazyInputSecond = this.inputSecond);
|
|
14908
|
+
emitChange && this.$emit('change', time);
|
|
14909
|
+
},
|
|
14910
|
+
firstAllowed(type, value) {
|
|
14911
|
+
const allowedFn = type === 'hour' ? this.isAllowedHourCb : type === 'minute' ? this.isAllowedMinuteCb : this.isAllowedSecondCb;
|
|
14912
|
+
if (!allowedFn) return value; // TODO: clean up
|
|
14913
|
+
|
|
14914
|
+
const range = type === 'minute' ? range60 : type === 'second' ? range60 : this.isAmPm ? value < 12 ? rangeHours12am : rangeHours12pm : rangeHours24;
|
|
14915
|
+
const first = range.find(v => allowedFn((v + value) % range.length + range[0]));
|
|
14916
|
+
return ((first || 0) + value) % range.length + range[0];
|
|
14917
|
+
},
|
|
14918
|
+
genClock() {
|
|
14919
|
+
return this.$createElement(VTimePicker_VTimePickerClock, {
|
|
14920
|
+
props: {
|
|
14921
|
+
allowedValues: this.selecting === SelectingTimes.Hour ? this.isAllowedHourCb : this.selecting === SelectingTimes.Minute ? this.isAllowedMinuteCb : this.isAllowedSecondCb,
|
|
14922
|
+
color: this.color,
|
|
14923
|
+
dark: this.dark,
|
|
14924
|
+
disabled: this.disabled,
|
|
14925
|
+
double: this.selecting === SelectingTimes.Hour && !this.isAmPm,
|
|
14926
|
+
format: this.selecting === SelectingTimes.Hour ? this.isAmPm ? this.convert24to12 : val => val : val => (0,pad/* default */.A)(val, 2),
|
|
14927
|
+
light: this.light,
|
|
14928
|
+
max: this.selecting === SelectingTimes.Hour ? this.isAmPm && this.period === 'am' ? 11 : 23 : 59,
|
|
14929
|
+
min: this.selecting === SelectingTimes.Hour && this.isAmPm && this.period === 'pm' ? 12 : 0,
|
|
14930
|
+
readonly: this.readonly,
|
|
14931
|
+
scrollable: this.scrollable,
|
|
14932
|
+
size: Number(this.width) - (!this.fullWidth && this.landscape ? 80 : 20),
|
|
14933
|
+
step: this.selecting === SelectingTimes.Hour ? 1 : 5,
|
|
14934
|
+
value: this.selecting === SelectingTimes.Hour ? this.inputHour : this.selecting === SelectingTimes.Minute ? this.inputMinute : this.inputSecond
|
|
14935
|
+
},
|
|
14936
|
+
on: {
|
|
14937
|
+
input: this.onInput,
|
|
14938
|
+
change: this.onChange
|
|
14939
|
+
},
|
|
14940
|
+
ref: 'clock'
|
|
14941
|
+
});
|
|
14942
|
+
},
|
|
14943
|
+
genClockAmPm() {
|
|
14944
|
+
return this.$createElement('div', this.setTextColor(this.color || 'primary', {
|
|
14945
|
+
staticClass: 'v-time-picker-clock__ampm'
|
|
14946
|
+
}), [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)]);
|
|
14947
|
+
},
|
|
14948
|
+
genPickerBody() {
|
|
14949
|
+
return this.$createElement('div', {
|
|
14950
|
+
staticClass: 'v-time-picker-clock__container',
|
|
14951
|
+
key: this.selecting
|
|
14952
|
+
}, [!this.ampmInTitle && this.isAmPm && this.genClockAmPm(), this.genClock()]);
|
|
14953
|
+
},
|
|
14954
|
+
genPickerTitle() {
|
|
14955
|
+
return this.$createElement(VTimePicker_VTimePickerTitle, {
|
|
14956
|
+
props: {
|
|
14957
|
+
ampm: this.isAmPm,
|
|
14958
|
+
ampmReadonly: this.isAmPm && !this.ampmInTitle,
|
|
14959
|
+
disabled: this.disabled,
|
|
14960
|
+
hour: this.inputHour,
|
|
14961
|
+
minute: this.inputMinute,
|
|
14962
|
+
second: this.inputSecond,
|
|
14963
|
+
period: this.period,
|
|
14964
|
+
readonly: this.readonly,
|
|
14965
|
+
useSeconds: this.useSeconds,
|
|
14966
|
+
selecting: this.selecting
|
|
14967
|
+
},
|
|
14968
|
+
on: {
|
|
14969
|
+
'update:selecting': value => this.selecting = value,
|
|
14970
|
+
'update:period': period => this.$emit('update:period', period)
|
|
14971
|
+
},
|
|
14972
|
+
ref: 'title',
|
|
14973
|
+
slot: 'title'
|
|
14974
|
+
});
|
|
14975
|
+
}
|
|
14976
|
+
},
|
|
14977
|
+
render() {
|
|
14978
|
+
return this.genPicker('v-picker--time');
|
|
14979
|
+
}
|
|
14980
|
+
}));
|
|
14981
|
+
;// ./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
|
|
14982
|
+
|
|
14983
|
+
|
|
14984
|
+
|
|
14985
|
+
|
|
14986
|
+
|
|
14987
|
+
|
|
14988
|
+
|
|
14989
|
+
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){
|
|
14990
|
+
var on = ref.on;
|
|
14991
|
+
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)}
|
|
14992
|
+
var staticRenderFns = []
|
|
14993
|
+
|
|
14994
|
+
|
|
14995
|
+
// EXTERNAL MODULE: ./node_modules/vue-the-mask/dist/vue-the-mask.js
|
|
14996
|
+
var vue_the_mask = __webpack_require__(29928);
|
|
14997
|
+
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
14998
|
+
var moment = __webpack_require__(95093);
|
|
14999
|
+
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
15000
|
+
// EXTERNAL MODULE: ./src/mixins/inputThemeMixin.js
|
|
15001
|
+
var inputThemeMixin = __webpack_require__(47968);
|
|
15002
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/BeTimePicker/BeTimePicker.vue?vue&type=script&lang=js
|
|
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
|
+
//
|
|
15084
|
+
//
|
|
15085
|
+
//
|
|
15086
|
+
//
|
|
15087
|
+
//
|
|
15088
|
+
//
|
|
15089
|
+
|
|
15090
|
+
|
|
15091
|
+
|
|
15092
|
+
|
|
15093
|
+
/* harmony default export */ var BeTimePickervue_type_script_lang_js = ({
|
|
15094
|
+
name: "BeTimePicker",
|
|
15095
|
+
inheritAttrs: false,
|
|
15096
|
+
directives: {
|
|
15097
|
+
mask: vue_the_mask.mask
|
|
15098
|
+
},
|
|
15099
|
+
mixins: [inputThemeMixin/* default */.A],
|
|
15100
|
+
props: {
|
|
15101
|
+
value: {
|
|
15102
|
+
type: String,
|
|
15103
|
+
required: false
|
|
15104
|
+
},
|
|
15105
|
+
label: {
|
|
15106
|
+
type: String
|
|
15107
|
+
},
|
|
15108
|
+
time: {
|
|
15109
|
+
type: String
|
|
15110
|
+
},
|
|
15111
|
+
min: {
|
|
15112
|
+
type: String
|
|
15113
|
+
},
|
|
15114
|
+
max: {
|
|
15115
|
+
type: String
|
|
15116
|
+
},
|
|
15117
|
+
errorMessages: {
|
|
15118
|
+
type: [String, Array],
|
|
15119
|
+
default: () => []
|
|
15120
|
+
},
|
|
15121
|
+
rules: {
|
|
15122
|
+
type: Array,
|
|
15123
|
+
default: () => []
|
|
15124
|
+
},
|
|
15125
|
+
hideDetails: {
|
|
15126
|
+
type: [Boolean, String],
|
|
15127
|
+
default: false
|
|
15128
|
+
},
|
|
15129
|
+
readonly: {
|
|
15130
|
+
type: Boolean,
|
|
15131
|
+
default: false
|
|
15132
|
+
},
|
|
15133
|
+
clearable: {
|
|
15134
|
+
type: Boolean,
|
|
15135
|
+
default: false
|
|
15136
|
+
},
|
|
15137
|
+
color: {
|
|
15138
|
+
type: String,
|
|
15139
|
+
default: "be-primary"
|
|
15140
|
+
},
|
|
15141
|
+
iconColor: {
|
|
15142
|
+
type: String,
|
|
15143
|
+
default: "be-input-icon"
|
|
15144
|
+
},
|
|
15145
|
+
placeholder: {
|
|
15146
|
+
type: String,
|
|
15147
|
+
required: false
|
|
15148
|
+
},
|
|
15149
|
+
elevation: {
|
|
15150
|
+
type: [Number, String],
|
|
15151
|
+
default: null
|
|
15152
|
+
},
|
|
15153
|
+
allowedHours: {
|
|
15154
|
+
type: [Function, Array],
|
|
15155
|
+
default: null
|
|
15156
|
+
},
|
|
15157
|
+
allowedMinutes: {
|
|
15158
|
+
type: [Function, Array],
|
|
15159
|
+
default: null
|
|
15160
|
+
},
|
|
15161
|
+
format: {
|
|
15162
|
+
type: String,
|
|
15163
|
+
default: "24hr",
|
|
15164
|
+
validator: value => ["24hr", "ampm"].includes(value)
|
|
15165
|
+
},
|
|
15166
|
+
error: {
|
|
15167
|
+
type: Boolean,
|
|
15168
|
+
default: false
|
|
15169
|
+
}
|
|
15170
|
+
},
|
|
15171
|
+
data() {
|
|
15172
|
+
return {
|
|
15173
|
+
localTime: null,
|
|
15174
|
+
modal: false
|
|
15175
|
+
};
|
|
15176
|
+
},
|
|
15177
|
+
computed: {
|
|
15178
|
+
computedValue() {
|
|
15179
|
+
if (!this.localTime) return "";
|
|
15180
|
+
|
|
15181
|
+
// Se o formato for 24hr, retorna diretamente HH:mm
|
|
15182
|
+
if (this.format === "24hr") {
|
|
15183
|
+
return this.localTime;
|
|
15184
|
+
}
|
|
15185
|
+
|
|
15186
|
+
// Se for ampm, converte para formato 12h
|
|
15187
|
+
const time = moment_default()(this.localTime, "HH:mm", true);
|
|
15188
|
+
if (time.isValid()) {
|
|
15189
|
+
return time.format("hh:mm A");
|
|
15190
|
+
}
|
|
15191
|
+
return this.localTime;
|
|
15192
|
+
},
|
|
15193
|
+
isPrimary() {
|
|
15194
|
+
return this.computedVariant === "primary";
|
|
15195
|
+
},
|
|
15196
|
+
isOutlined() {
|
|
15197
|
+
return this.computedVariant === "outlined";
|
|
15198
|
+
},
|
|
15199
|
+
computedError() {
|
|
15200
|
+
return !!(this.error || this.errorMessages.length > 0);
|
|
15201
|
+
},
|
|
15202
|
+
elevationClass() {
|
|
15203
|
+
if (!this.elevation) return "";
|
|
15204
|
+
return `input-be-elevation-${this.elevation}`;
|
|
15205
|
+
}
|
|
15206
|
+
},
|
|
15207
|
+
mounted() {
|
|
15208
|
+
this.localTime = this.time;
|
|
15209
|
+
if (!this.localTime && this.value) {
|
|
15210
|
+
this.localTime = this.value;
|
|
15211
|
+
}
|
|
15212
|
+
},
|
|
15213
|
+
methods: {
|
|
15214
|
+
changed(val) {
|
|
15215
|
+
this.localTime = val;
|
|
15216
|
+
},
|
|
15217
|
+
userInput(val) {
|
|
15218
|
+
// Remove espaços e converte para formato 24h se necessário
|
|
15219
|
+
const cleanVal = val ? val.trim() : "";
|
|
15220
|
+
if (!cleanVal) {
|
|
15221
|
+
this.localTime = null;
|
|
15222
|
+
return;
|
|
15223
|
+
}
|
|
15224
|
+
|
|
15225
|
+
// Se o formato for 24hr, valida HH:mm
|
|
15226
|
+
if (this.format === "24hr") {
|
|
15227
|
+
const time = moment_default()(cleanVal, "HH:mm", true);
|
|
15228
|
+
if (time.isValid()) {
|
|
15229
|
+
this.localTime = time.format("HH:mm");
|
|
15230
|
+
} else {
|
|
15231
|
+
this.localTime = null;
|
|
15232
|
+
}
|
|
15233
|
+
} else {
|
|
15234
|
+
// Se for ampm, aceita tanto HH:mm quanto hh:mm A/PM
|
|
15235
|
+
let time = moment_default()(cleanVal, ["HH:mm", "hh:mm A", "hh:mm a"], true);
|
|
15236
|
+
if (time.isValid()) {
|
|
15237
|
+
this.localTime = time.format("HH:mm");
|
|
15238
|
+
} else {
|
|
15239
|
+
this.localTime = null;
|
|
15240
|
+
}
|
|
15241
|
+
}
|
|
15242
|
+
}
|
|
15243
|
+
},
|
|
15244
|
+
watch: {
|
|
15245
|
+
time(val) {
|
|
15246
|
+
this.localTime = val;
|
|
15247
|
+
},
|
|
15248
|
+
value(val) {
|
|
15249
|
+
this.localTime = val;
|
|
15250
|
+
},
|
|
15251
|
+
localTime(val) {
|
|
15252
|
+
this.$emit("input", val);
|
|
15253
|
+
}
|
|
15254
|
+
}
|
|
15255
|
+
});
|
|
15256
|
+
;// ./src/components/BeTimePicker/BeTimePicker.vue?vue&type=script&lang=js
|
|
15257
|
+
/* harmony default export */ var BeTimePicker_BeTimePickervue_type_script_lang_js = (BeTimePickervue_type_script_lang_js);
|
|
15258
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-62.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-62.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-62.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-62.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-62.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
|
|
15259
|
+
var BeTimePickervue_type_style_index_0_id_05e22ec2_prod_scoped_true_lang_scss = __webpack_require__(99841);
|
|
15260
|
+
;// ./src/components/BeTimePicker/BeTimePicker.vue?vue&type=style&index=0&id=05e22ec2&prod&scoped=true&lang=scss
|
|
15261
|
+
|
|
15262
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
15263
|
+
var componentNormalizer = __webpack_require__(81656);
|
|
15264
|
+
;// ./src/components/BeTimePicker/BeTimePicker.vue
|
|
15265
|
+
|
|
15266
|
+
|
|
15267
|
+
|
|
15268
|
+
;
|
|
15269
|
+
|
|
15270
|
+
|
|
15271
|
+
/* normalize component */
|
|
15272
|
+
|
|
15273
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
15274
|
+
BeTimePicker_BeTimePickervue_type_script_lang_js,
|
|
15275
|
+
render,
|
|
15276
|
+
staticRenderFns,
|
|
15277
|
+
false,
|
|
15278
|
+
null,
|
|
15279
|
+
"05e22ec2",
|
|
15280
|
+
null
|
|
15281
|
+
|
|
15282
|
+
)
|
|
15283
|
+
|
|
15284
|
+
/* harmony default export */ var BeTimePicker = (component.exports);
|
|
15285
|
+
|
|
15286
|
+
/***/ }),
|
|
15287
|
+
|
|
14535
15288
|
/***/ 23819:
|
|
14536
15289
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14537
15290
|
|
|
@@ -14812,7 +15565,7 @@ function(){function t(t){t.remember("_draggable",this),this.el=t}t.prototype.ini
|
|
|
14812
15565
|
|
|
14813
15566
|
/***/ }),
|
|
14814
15567
|
|
|
14815
|
-
/***/
|
|
15568
|
+
/***/ 66996:
|
|
14816
15569
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14817
15570
|
|
|
14818
15571
|
"use strict";
|
|
@@ -14826,7 +15579,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14826
15579
|
|
|
14827
15580
|
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()));
|
|
14828
15581
|
// Module
|
|
14829
|
-
___CSS_LOADER_EXPORT___.push([module.id, "div[data-v-
|
|
15582
|
+
___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%)}", ""]);
|
|
14830
15583
|
// Exports
|
|
14831
15584
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
14832
15585
|
|
|
@@ -15629,6 +16382,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".high-contrast-settings[data-v-110d2df
|
|
|
15629
16382
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
15630
16383
|
|
|
15631
16384
|
|
|
16385
|
+
/***/ }),
|
|
16386
|
+
|
|
16387
|
+
/***/ 60535:
|
|
16388
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16389
|
+
|
|
16390
|
+
"use strict";
|
|
16391
|
+
__webpack_require__.r(__webpack_exports__);
|
|
16392
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31601);
|
|
16393
|
+
/* 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__);
|
|
16394
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76314);
|
|
16395
|
+
/* 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__);
|
|
16396
|
+
// Imports
|
|
16397
|
+
|
|
16398
|
+
|
|
16399
|
+
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()));
|
|
16400
|
+
// Module
|
|
16401
|
+
___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}", ""]);
|
|
16402
|
+
// Exports
|
|
16403
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
16404
|
+
|
|
16405
|
+
|
|
15632
16406
|
/***/ }),
|
|
15633
16407
|
|
|
15634
16408
|
/***/ 69580:
|
|
@@ -16553,6 +17327,48 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".high-contrast-settings{--v-background
|
|
|
16553
17327
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
16554
17328
|
|
|
16555
17329
|
|
|
17330
|
+
/***/ }),
|
|
17331
|
+
|
|
17332
|
+
/***/ 762:
|
|
17333
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17334
|
+
|
|
17335
|
+
"use strict";
|
|
17336
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17337
|
+
/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31601);
|
|
17338
|
+
/* 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__);
|
|
17339
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76314);
|
|
17340
|
+
/* 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__);
|
|
17341
|
+
// Imports
|
|
17342
|
+
|
|
17343
|
+
|
|
17344
|
+
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()));
|
|
17345
|
+
// Module
|
|
17346
|
+
___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}", ""]);
|
|
17347
|
+
// Exports
|
|
17348
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
17349
|
+
|
|
17350
|
+
|
|
17351
|
+
/***/ }),
|
|
17352
|
+
|
|
17353
|
+
/***/ 87706:
|
|
17354
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17355
|
+
|
|
17356
|
+
"use strict";
|
|
17357
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17358
|
+
/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31601);
|
|
17359
|
+
/* 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__);
|
|
17360
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76314);
|
|
17361
|
+
/* 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__);
|
|
17362
|
+
// Imports
|
|
17363
|
+
|
|
17364
|
+
|
|
17365
|
+
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()));
|
|
17366
|
+
// Module
|
|
17367
|
+
___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}", ""]);
|
|
17368
|
+
// Exports
|
|
17369
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
17370
|
+
|
|
17371
|
+
|
|
16556
17372
|
/***/ }),
|
|
16557
17373
|
|
|
16558
17374
|
/***/ 22620:
|
|
@@ -38829,6 +39645,27 @@ const VCardTitle = (0,_util_helpers__WEBPACK_IMPORTED_MODULE_0__/* .createSimple
|
|
|
38829
39645
|
|
|
38830
39646
|
/***/ }),
|
|
38831
39647
|
|
|
39648
|
+
/***/ 6018:
|
|
39649
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
39650
|
+
|
|
39651
|
+
"use strict";
|
|
39652
|
+
const padStart = (string, targetLength, padString) => {
|
|
39653
|
+
targetLength = targetLength >> 0;
|
|
39654
|
+
string = String(string);
|
|
39655
|
+
padString = String(padString);
|
|
39656
|
+
if (string.length > targetLength) {
|
|
39657
|
+
return String(string);
|
|
39658
|
+
}
|
|
39659
|
+
targetLength = targetLength - string.length;
|
|
39660
|
+
if (targetLength > padString.length) {
|
|
39661
|
+
padString += padString.repeat(targetLength / padString.length);
|
|
39662
|
+
}
|
|
39663
|
+
return padString.slice(0, targetLength) + String(string);
|
|
39664
|
+
};
|
|
39665
|
+
/* harmony default export */ __webpack_exports__.A = ((n, length = 2) => padStart(n, length, '0'));
|
|
39666
|
+
|
|
39667
|
+
/***/ }),
|
|
39668
|
+
|
|
38832
39669
|
/***/ 9814:
|
|
38833
39670
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
38834
39671
|
|
|
@@ -40246,6 +41083,19 @@ const cache = new Map();
|
|
|
40246
41083
|
|
|
40247
41084
|
/***/ }),
|
|
40248
41085
|
|
|
41086
|
+
/***/ 39078:
|
|
41087
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
41088
|
+
|
|
41089
|
+
"use strict";
|
|
41090
|
+
/* harmony import */ var _src_components_VGrid_grid_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1980);
|
|
41091
|
+
/* 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__);
|
|
41092
|
+
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(88412);
|
|
41093
|
+
|
|
41094
|
+
|
|
41095
|
+
/* harmony default export */ __webpack_exports__.A = ((0,_util_helpers__WEBPACK_IMPORTED_MODULE_1__/* .createSimpleFunctional */ .Gn)('spacer', 'div', 'v-spacer'));
|
|
41096
|
+
|
|
41097
|
+
/***/ }),
|
|
41098
|
+
|
|
40249
41099
|
/***/ 92778:
|
|
40250
41100
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
40251
41101
|
|
|
@@ -47980,6 +48830,226 @@ const baseMixins = (0,_util_mixins__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
|
|
|
47980
48830
|
|
|
47981
48831
|
/***/ }),
|
|
47982
48832
|
|
|
48833
|
+
/***/ 45861:
|
|
48834
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
48835
|
+
|
|
48836
|
+
"use strict";
|
|
48837
|
+
/* harmony import */ var _colorable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53875);
|
|
48838
|
+
/* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(14463);
|
|
48839
|
+
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88412);
|
|
48840
|
+
// Mixins
|
|
48841
|
+
// Utilities
|
|
48842
|
+
|
|
48843
|
+
|
|
48844
|
+
|
|
48845
|
+
/* @vue/component */
|
|
48846
|
+
|
|
48847
|
+
/* harmony default export */ __webpack_exports__.A = ((0,_util_mixins__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_colorable__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A).extend({
|
|
48848
|
+
methods: {
|
|
48849
|
+
genPickerButton(prop, value, content, readonly = false, staticClass = '') {
|
|
48850
|
+
const active = this[prop] === value;
|
|
48851
|
+
const click = event => {
|
|
48852
|
+
event.stopPropagation();
|
|
48853
|
+
this.$emit(`update:${(0,_util_helpers__WEBPACK_IMPORTED_MODULE_2__/* .kebabCase */ .kW)(prop)}`, value);
|
|
48854
|
+
};
|
|
48855
|
+
return this.$createElement('div', {
|
|
48856
|
+
staticClass: `v-picker__title__btn ${staticClass}`.trim(),
|
|
48857
|
+
class: {
|
|
48858
|
+
'v-picker__title__btn--active': active,
|
|
48859
|
+
'v-picker__title__btn--readonly': readonly
|
|
48860
|
+
},
|
|
48861
|
+
on: active || readonly ? undefined : {
|
|
48862
|
+
click
|
|
48863
|
+
}
|
|
48864
|
+
}, Array.isArray(content) ? content : [content]);
|
|
48865
|
+
}
|
|
48866
|
+
}
|
|
48867
|
+
}));
|
|
48868
|
+
|
|
48869
|
+
/***/ }),
|
|
48870
|
+
|
|
48871
|
+
/***/ 88341:
|
|
48872
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
48873
|
+
|
|
48874
|
+
"use strict";
|
|
48875
|
+
|
|
48876
|
+
// EXPORTS
|
|
48877
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
48878
|
+
A: function() { return /* binding */ picker; }
|
|
48879
|
+
});
|
|
48880
|
+
|
|
48881
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
48882
|
+
var es_array_push = __webpack_require__(44114);
|
|
48883
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VPicker/VPicker.sass
|
|
48884
|
+
var VPicker = __webpack_require__(5535);
|
|
48885
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VCard/VCard.sass
|
|
48886
|
+
var VCard = __webpack_require__(91895);
|
|
48887
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/colorable/index.js
|
|
48888
|
+
var colorable = __webpack_require__(53875);
|
|
48889
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/elevatable/index.js
|
|
48890
|
+
var elevatable = __webpack_require__(90471);
|
|
48891
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/themeable/index.js
|
|
48892
|
+
var themeable = __webpack_require__(86393);
|
|
48893
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
|
|
48894
|
+
var helpers = __webpack_require__(88412);
|
|
48895
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mixins.js
|
|
48896
|
+
var mixins = __webpack_require__(14463);
|
|
48897
|
+
;// ./node_modules/vuetify/lib/components/VPicker/VPicker.js
|
|
48898
|
+
|
|
48899
|
+
// Mixins
|
|
48900
|
+
|
|
48901
|
+
|
|
48902
|
+
|
|
48903
|
+
// Helpers
|
|
48904
|
+
|
|
48905
|
+
|
|
48906
|
+
|
|
48907
|
+
/* @vue/component */
|
|
48908
|
+
|
|
48909
|
+
/* harmony default export */ var VPicker_VPicker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A).extend({
|
|
48910
|
+
name: 'v-picker',
|
|
48911
|
+
props: {
|
|
48912
|
+
flat: Boolean,
|
|
48913
|
+
fullWidth: Boolean,
|
|
48914
|
+
landscape: Boolean,
|
|
48915
|
+
noTitle: Boolean,
|
|
48916
|
+
transition: {
|
|
48917
|
+
type: String,
|
|
48918
|
+
default: 'fade-transition'
|
|
48919
|
+
},
|
|
48920
|
+
width: {
|
|
48921
|
+
type: [Number, String],
|
|
48922
|
+
default: 290
|
|
48923
|
+
}
|
|
48924
|
+
},
|
|
48925
|
+
computed: {
|
|
48926
|
+
computedTitleColor() {
|
|
48927
|
+
const defaultTitleColor = this.isDark ? false : this.color || 'primary';
|
|
48928
|
+
return this.color || defaultTitleColor;
|
|
48929
|
+
}
|
|
48930
|
+
},
|
|
48931
|
+
methods: {
|
|
48932
|
+
genTitle() {
|
|
48933
|
+
return this.$createElement('div', this.setBackgroundColor(this.computedTitleColor, {
|
|
48934
|
+
staticClass: 'v-picker__title',
|
|
48935
|
+
class: {
|
|
48936
|
+
'v-picker__title--landscape': this.landscape
|
|
48937
|
+
}
|
|
48938
|
+
}), this.$slots.title);
|
|
48939
|
+
},
|
|
48940
|
+
genBodyTransition() {
|
|
48941
|
+
return this.$createElement('transition', {
|
|
48942
|
+
props: {
|
|
48943
|
+
name: this.transition
|
|
48944
|
+
}
|
|
48945
|
+
}, this.$slots.default);
|
|
48946
|
+
},
|
|
48947
|
+
genBody() {
|
|
48948
|
+
return this.$createElement('div', {
|
|
48949
|
+
staticClass: 'v-picker__body',
|
|
48950
|
+
class: {
|
|
48951
|
+
'v-picker__body--no-title': this.noTitle,
|
|
48952
|
+
...this.themeClasses
|
|
48953
|
+
},
|
|
48954
|
+
style: this.fullWidth ? undefined : {
|
|
48955
|
+
width: (0,helpers/* convertToUnit */.Dg)(this.width)
|
|
48956
|
+
}
|
|
48957
|
+
}, [this.genBodyTransition()]);
|
|
48958
|
+
},
|
|
48959
|
+
genActions() {
|
|
48960
|
+
return this.$createElement('div', {
|
|
48961
|
+
staticClass: 'v-picker__actions v-card__actions',
|
|
48962
|
+
class: {
|
|
48963
|
+
'v-picker__actions--no-title': this.noTitle
|
|
48964
|
+
}
|
|
48965
|
+
}, this.$slots.actions);
|
|
48966
|
+
}
|
|
48967
|
+
},
|
|
48968
|
+
render(h) {
|
|
48969
|
+
return h('div', {
|
|
48970
|
+
staticClass: 'v-picker v-card',
|
|
48971
|
+
class: {
|
|
48972
|
+
'v-picker--flat': this.flat,
|
|
48973
|
+
'v-picker--landscape': this.landscape,
|
|
48974
|
+
'v-picker--full-width': this.fullWidth,
|
|
48975
|
+
...this.themeClasses,
|
|
48976
|
+
...this.elevationClasses
|
|
48977
|
+
}
|
|
48978
|
+
}, [this.$slots.title ? this.genTitle() : null, this.genBody(), this.$slots.actions ? this.genActions() : null]);
|
|
48979
|
+
}
|
|
48980
|
+
}));
|
|
48981
|
+
;// ./node_modules/vuetify/lib/components/VPicker/index.js
|
|
48982
|
+
|
|
48983
|
+
|
|
48984
|
+
/* harmony default export */ var components_VPicker = (VPicker_VPicker);
|
|
48985
|
+
;// ./node_modules/vuetify/lib/mixins/picker/index.js
|
|
48986
|
+
|
|
48987
|
+
// Components
|
|
48988
|
+
// Mixins
|
|
48989
|
+
|
|
48990
|
+
|
|
48991
|
+
|
|
48992
|
+
// Utils
|
|
48993
|
+
|
|
48994
|
+
|
|
48995
|
+
/* harmony default export */ var picker = ((0,mixins/* default */.A)(colorable/* default */.A, elevatable/* default */.A, themeable/* default */.A
|
|
48996
|
+
/* @vue/component */).extend({
|
|
48997
|
+
name: 'picker',
|
|
48998
|
+
props: {
|
|
48999
|
+
flat: Boolean,
|
|
49000
|
+
fullWidth: Boolean,
|
|
49001
|
+
headerColor: String,
|
|
49002
|
+
landscape: Boolean,
|
|
49003
|
+
noTitle: Boolean,
|
|
49004
|
+
width: {
|
|
49005
|
+
type: [Number, String],
|
|
49006
|
+
default: 290
|
|
49007
|
+
}
|
|
49008
|
+
},
|
|
49009
|
+
methods: {
|
|
49010
|
+
genPickerTitle() {
|
|
49011
|
+
return null;
|
|
49012
|
+
},
|
|
49013
|
+
genPickerBody() {
|
|
49014
|
+
return null;
|
|
49015
|
+
},
|
|
49016
|
+
genPickerActionsSlot() {
|
|
49017
|
+
return this.$scopedSlots.default ? this.$scopedSlots.default({
|
|
49018
|
+
save: this.save,
|
|
49019
|
+
cancel: this.cancel
|
|
49020
|
+
}) : this.$slots.default;
|
|
49021
|
+
},
|
|
49022
|
+
genPicker(staticClass) {
|
|
49023
|
+
const children = [];
|
|
49024
|
+
if (!this.noTitle) {
|
|
49025
|
+
const title = this.genPickerTitle();
|
|
49026
|
+
title && children.push(title);
|
|
49027
|
+
}
|
|
49028
|
+
const body = this.genPickerBody();
|
|
49029
|
+
body && children.push(body);
|
|
49030
|
+
children.push(this.$createElement('template', {
|
|
49031
|
+
slot: 'actions'
|
|
49032
|
+
}, [this.genPickerActionsSlot()]));
|
|
49033
|
+
return this.$createElement(components_VPicker, {
|
|
49034
|
+
staticClass,
|
|
49035
|
+
props: {
|
|
49036
|
+
color: this.headerColor || this.color,
|
|
49037
|
+
dark: this.dark,
|
|
49038
|
+
elevation: this.elevation,
|
|
49039
|
+
flat: this.flat,
|
|
49040
|
+
fullWidth: this.fullWidth,
|
|
49041
|
+
landscape: this.landscape,
|
|
49042
|
+
light: this.light,
|
|
49043
|
+
width: this.width,
|
|
49044
|
+
noTitle: this.noTitle
|
|
49045
|
+
}
|
|
49046
|
+
}, children);
|
|
49047
|
+
}
|
|
49048
|
+
}
|
|
49049
|
+
}));
|
|
49050
|
+
|
|
49051
|
+
/***/ }),
|
|
49052
|
+
|
|
47983
49053
|
/***/ 17495:
|
|
47984
49054
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47985
49055
|
|
|
@@ -50262,19 +51332,19 @@ function mixins(...args) {
|
|
|
50262
51332
|
|
|
50263
51333
|
/***/ }),
|
|
50264
51334
|
|
|
50265
|
-
/***/
|
|
51335
|
+
/***/ 34219:
|
|
50266
51336
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50267
51337
|
|
|
50268
51338
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
50269
51339
|
|
|
50270
51340
|
// load the styles
|
|
50271
|
-
var content = __webpack_require__(
|
|
51341
|
+
var content = __webpack_require__(66996);
|
|
50272
51342
|
if(content.__esModule) content = content.default;
|
|
50273
51343
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
50274
51344
|
if(content.locals) module.exports = content.locals;
|
|
50275
51345
|
// add the styles to the DOM
|
|
50276
51346
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
50277
|
-
var update = add("
|
|
51347
|
+
var update = add("27e32c89", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50278
51348
|
|
|
50279
51349
|
/***/ }),
|
|
50280
51350
|
|
|
@@ -50886,6 +51956,22 @@ var update = add("e222eafc", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
50886
51956
|
|
|
50887
51957
|
/***/ }),
|
|
50888
51958
|
|
|
51959
|
+
/***/ 99841:
|
|
51960
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
51961
|
+
|
|
51962
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
51963
|
+
|
|
51964
|
+
// load the styles
|
|
51965
|
+
var content = __webpack_require__(60535);
|
|
51966
|
+
if(content.__esModule) content = content.default;
|
|
51967
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
51968
|
+
if(content.locals) module.exports = content.locals;
|
|
51969
|
+
// add the styles to the DOM
|
|
51970
|
+
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
51971
|
+
var update = add("6cd8c4f8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
51972
|
+
|
|
51973
|
+
/***/ }),
|
|
51974
|
+
|
|
50889
51975
|
/***/ 45290:
|
|
50890
51976
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50891
51977
|
|
|
@@ -51590,6 +52676,38 @@ var update = add("0561167e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
51590
52676
|
|
|
51591
52677
|
/***/ }),
|
|
51592
52678
|
|
|
52679
|
+
/***/ 50647:
|
|
52680
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
52681
|
+
|
|
52682
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
52683
|
+
|
|
52684
|
+
// load the styles
|
|
52685
|
+
var content = __webpack_require__(762);
|
|
52686
|
+
if(content.__esModule) content = content.default;
|
|
52687
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
52688
|
+
if(content.locals) module.exports = content.locals;
|
|
52689
|
+
// add the styles to the DOM
|
|
52690
|
+
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
52691
|
+
var update = add("3174b03c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
52692
|
+
|
|
52693
|
+
/***/ }),
|
|
52694
|
+
|
|
52695
|
+
/***/ 90603:
|
|
52696
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
52697
|
+
|
|
52698
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
52699
|
+
|
|
52700
|
+
// load the styles
|
|
52701
|
+
var content = __webpack_require__(87706);
|
|
52702
|
+
if(content.__esModule) content = content.default;
|
|
52703
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
52704
|
+
if(content.locals) module.exports = content.locals;
|
|
52705
|
+
// add the styles to the DOM
|
|
52706
|
+
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
52707
|
+
var update = add("7a6192ce", content, true, {"sourceMap":false,"shadowMode":false});
|
|
52708
|
+
|
|
52709
|
+
/***/ }),
|
|
52710
|
+
|
|
51593
52711
|
/***/ 81483:
|
|
51594
52712
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
51595
52713
|
|
|
@@ -51960,8 +53078,8 @@ var map = {
|
|
|
51960
53078
|
"./BeChip/BeChip.vue": 64405,
|
|
51961
53079
|
"./BeCombobox/BeCombobox.vue": 91303,
|
|
51962
53080
|
"./BeContainer/BeContainer.vue": 63013,
|
|
51963
|
-
"./BeCountCard/BeCountCard.vue":
|
|
51964
|
-
"./BeDatePicker/BeDatePicker.vue":
|
|
53081
|
+
"./BeCountCard/BeCountCard.vue": 47527,
|
|
53082
|
+
"./BeDatePicker/BeDatePicker.vue": 20604,
|
|
51965
53083
|
"./BeDefaultCard/BeDefaultCard.vue": 50340,
|
|
51966
53084
|
"./BeFileActions/BeFileAction.vue": 43351,
|
|
51967
53085
|
"./BeFileField/BeFileField.vue": 10518,
|
|
@@ -51997,6 +53115,7 @@ var map = {
|
|
|
51997
53115
|
"./BeTextInfoIcon/BeTextInfoIcon.vue": 70822,
|
|
51998
53116
|
"./BeTextTruncate/BeTextTruncate.vue": 27359,
|
|
51999
53117
|
"./BeTextfield/BeTextfield.vue": 39801,
|
|
53118
|
+
"./BeTimePicker/BeTimePicker.vue": 43671,
|
|
52000
53119
|
"./BeTitleBar/BeTitleBar.vue": 23819,
|
|
52001
53120
|
"./BeViewTitle/BeViewTitle.vue": 53367
|
|
52002
53121
|
};
|