@farm-investimentos/front-mfe-components 3.0.1 → 3.2.1
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/front-mfe-components.common.js +2836 -43
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +2836 -43
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DefaultTextField/DefaultTextField.stories.js +30 -6
- package/src/components/DefaultTextField/DefaultTextField.vue +11 -3
- package/src/components/DefaultTextField/__tests__/DefaultTextField.spec.js +9 -1
- package/src/components/MultipleSelectShortener/MultipleSelectShortener.stories.js +37 -0
- package/src/components/MultipleSelectShortener/MultipleSelectShortener.vue +48 -0
- package/src/components/MultipleSelectShortener/__tests__/MultipleSelectShortener.spec.js +21 -0
- package/src/components/MultipleSelectShortener/index.js +4 -0
- package/src/components/SelectModalOptions/SelectModalOptions.stories.js +29 -0
- package/src/components/SelectModalOptions/SelectModalOptions.vue +273 -0
- package/src/components/SelectModalOptions/__tests__/SelectModalOptions.spec.js +130 -0
- package/src/components/SelectModalOptions/index.js +4 -0
- package/src/main.js +2 -0
|
@@ -203,6 +203,28 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
203
203
|
});
|
|
204
204
|
|
|
205
205
|
|
|
206
|
+
/***/ }),
|
|
207
|
+
|
|
208
|
+
/***/ "0fa1":
|
|
209
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
210
|
+
|
|
211
|
+
"use strict";
|
|
212
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultipleSelectShortener_vue_vue_type_style_index_0_id_31e8b3ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f360");
|
|
213
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultipleSelectShortener_vue_vue_type_style_index_0_id_31e8b3ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultipleSelectShortener_vue_vue_type_style_index_0_id_31e8b3ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
214
|
+
/* unused harmony reexport * */
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
/***/ }),
|
|
218
|
+
|
|
219
|
+
/***/ "1051":
|
|
220
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
221
|
+
|
|
222
|
+
"use strict";
|
|
223
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectModalOptions_vue_vue_type_style_index_0_id_04f9e4b0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("712a");
|
|
224
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectModalOptions_vue_vue_type_style_index_0_id_04f9e4b0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectModalOptions_vue_vue_type_style_index_0_id_04f9e4b0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
225
|
+
/* unused harmony reexport * */
|
|
226
|
+
|
|
227
|
+
|
|
206
228
|
/***/ }),
|
|
207
229
|
|
|
208
230
|
/***/ "107c":
|
|
@@ -616,6 +638,28 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
616
638
|
};
|
|
617
639
|
|
|
618
640
|
|
|
641
|
+
/***/ }),
|
|
642
|
+
|
|
643
|
+
/***/ "2532":
|
|
644
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
645
|
+
|
|
646
|
+
"use strict";
|
|
647
|
+
|
|
648
|
+
var $ = __webpack_require__("23e7");
|
|
649
|
+
var notARegExp = __webpack_require__("5a34");
|
|
650
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
651
|
+
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
652
|
+
|
|
653
|
+
// `String.prototype.includes` method
|
|
654
|
+
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
655
|
+
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
656
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
657
|
+
return !!~String(requireObjectCoercible(this))
|
|
658
|
+
.indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);
|
|
659
|
+
}
|
|
660
|
+
});
|
|
661
|
+
|
|
662
|
+
|
|
619
663
|
/***/ }),
|
|
620
664
|
|
|
621
665
|
/***/ "25a8":
|
|
@@ -807,6 +851,33 @@ module.exports = fails(function () {
|
|
|
807
851
|
} : Object;
|
|
808
852
|
|
|
809
853
|
|
|
854
|
+
/***/ }),
|
|
855
|
+
|
|
856
|
+
/***/ "44d2":
|
|
857
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
858
|
+
|
|
859
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
860
|
+
var create = __webpack_require__("7c73");
|
|
861
|
+
var definePropertyModule = __webpack_require__("9bf2");
|
|
862
|
+
|
|
863
|
+
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
864
|
+
var ArrayPrototype = Array.prototype;
|
|
865
|
+
|
|
866
|
+
// Array.prototype[@@unscopables]
|
|
867
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
868
|
+
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
869
|
+
definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
|
|
870
|
+
configurable: true,
|
|
871
|
+
value: create(null)
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
// add a key to Array.prototype[@@unscopables]
|
|
876
|
+
module.exports = function (key) {
|
|
877
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
|
|
810
881
|
/***/ }),
|
|
811
882
|
|
|
812
883
|
/***/ "44e7":
|
|
@@ -925,6 +996,13 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
925
996
|
});
|
|
926
997
|
|
|
927
998
|
|
|
999
|
+
/***/ }),
|
|
1000
|
+
|
|
1001
|
+
/***/ "495d":
|
|
1002
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1003
|
+
|
|
1004
|
+
// extracted by mini-css-extract-plugin
|
|
1005
|
+
|
|
928
1006
|
/***/ }),
|
|
929
1007
|
|
|
930
1008
|
/***/ "4b85":
|
|
@@ -1088,6 +1166,20 @@ module.exports = {
|
|
|
1088
1166
|
};
|
|
1089
1167
|
|
|
1090
1168
|
|
|
1169
|
+
/***/ }),
|
|
1170
|
+
|
|
1171
|
+
/***/ "5a34":
|
|
1172
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1173
|
+
|
|
1174
|
+
var isRegExp = __webpack_require__("44e7");
|
|
1175
|
+
|
|
1176
|
+
module.exports = function (it) {
|
|
1177
|
+
if (isRegExp(it)) {
|
|
1178
|
+
throw TypeError("The method doesn't accept regular expressions");
|
|
1179
|
+
} return it;
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
|
|
1091
1183
|
/***/ }),
|
|
1092
1184
|
|
|
1093
1185
|
/***/ "5bea":
|
|
@@ -1356,6 +1448,13 @@ var TEMPLATE = String(String).split('String');
|
|
|
1356
1448
|
});
|
|
1357
1449
|
|
|
1358
1450
|
|
|
1451
|
+
/***/ }),
|
|
1452
|
+
|
|
1453
|
+
/***/ "712a":
|
|
1454
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1455
|
+
|
|
1456
|
+
// extracted by mini-css-extract-plugin
|
|
1457
|
+
|
|
1359
1458
|
/***/ }),
|
|
1360
1459
|
|
|
1361
1460
|
/***/ "7156":
|
|
@@ -1743,6 +1842,13 @@ module.exports = function (S, index, unicode) {
|
|
|
1743
1842
|
|
|
1744
1843
|
/***/ }),
|
|
1745
1844
|
|
|
1845
|
+
/***/ "8b37":
|
|
1846
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1847
|
+
|
|
1848
|
+
// extracted by mini-css-extract-plugin
|
|
1849
|
+
|
|
1850
|
+
/***/ }),
|
|
1851
|
+
|
|
1746
1852
|
/***/ "8bbf":
|
|
1747
1853
|
/***/ (function(module, exports) {
|
|
1748
1854
|
|
|
@@ -1810,6 +1916,13 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
1810
1916
|
};
|
|
1811
1917
|
|
|
1812
1918
|
|
|
1919
|
+
/***/ }),
|
|
1920
|
+
|
|
1921
|
+
/***/ "91f4":
|
|
1922
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1923
|
+
|
|
1924
|
+
// extracted by mini-css-extract-plugin
|
|
1925
|
+
|
|
1813
1926
|
/***/ }),
|
|
1814
1927
|
|
|
1815
1928
|
/***/ "9263":
|
|
@@ -2244,6 +2357,28 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
|
|
|
2244
2357
|
}
|
|
2245
2358
|
|
|
2246
2359
|
|
|
2360
|
+
/***/ }),
|
|
2361
|
+
|
|
2362
|
+
/***/ "ab13":
|
|
2363
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2364
|
+
|
|
2365
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
2366
|
+
|
|
2367
|
+
var MATCH = wellKnownSymbol('match');
|
|
2368
|
+
|
|
2369
|
+
module.exports = function (METHOD_NAME) {
|
|
2370
|
+
var regexp = /./;
|
|
2371
|
+
try {
|
|
2372
|
+
'/./'[METHOD_NAME](regexp);
|
|
2373
|
+
} catch (error1) {
|
|
2374
|
+
try {
|
|
2375
|
+
regexp[MATCH] = false;
|
|
2376
|
+
return '/./'[METHOD_NAME](regexp);
|
|
2377
|
+
} catch (error2) { /* empty */ }
|
|
2378
|
+
} return false;
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
|
|
2247
2382
|
/***/ }),
|
|
2248
2383
|
|
|
2249
2384
|
/***/ "ac1f":
|
|
@@ -2575,6 +2710,29 @@ module.exports = function (object, names) {
|
|
|
2575
2710
|
};
|
|
2576
2711
|
|
|
2577
2712
|
|
|
2713
|
+
/***/ }),
|
|
2714
|
+
|
|
2715
|
+
/***/ "caad":
|
|
2716
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2717
|
+
|
|
2718
|
+
"use strict";
|
|
2719
|
+
|
|
2720
|
+
var $ = __webpack_require__("23e7");
|
|
2721
|
+
var $includes = __webpack_require__("4d64").includes;
|
|
2722
|
+
var addToUnscopables = __webpack_require__("44d2");
|
|
2723
|
+
|
|
2724
|
+
// `Array.prototype.includes` method
|
|
2725
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2726
|
+
$({ target: 'Array', proto: true }, {
|
|
2727
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2728
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2729
|
+
}
|
|
2730
|
+
});
|
|
2731
|
+
|
|
2732
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2733
|
+
addToUnscopables('includes');
|
|
2734
|
+
|
|
2735
|
+
|
|
2578
2736
|
/***/ }),
|
|
2579
2737
|
|
|
2580
2738
|
/***/ "cc12":
|
|
@@ -2991,6 +3149,13 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
|
2991
3149
|
|
|
2992
3150
|
/***/ }),
|
|
2993
3151
|
|
|
3152
|
+
/***/ "f360":
|
|
3153
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3154
|
+
|
|
3155
|
+
// extracted by mini-css-extract-plugin
|
|
3156
|
+
|
|
3157
|
+
/***/ }),
|
|
3158
|
+
|
|
2994
3159
|
/***/ "f772":
|
|
2995
3160
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2996
3161
|
|
|
@@ -3004,6 +3169,13 @@ module.exports = function (key) {
|
|
|
3004
3169
|
};
|
|
3005
3170
|
|
|
3006
3171
|
|
|
3172
|
+
/***/ }),
|
|
3173
|
+
|
|
3174
|
+
/***/ "f823":
|
|
3175
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3176
|
+
|
|
3177
|
+
// extracted by mini-css-extract-plugin
|
|
3178
|
+
|
|
3007
3179
|
/***/ }),
|
|
3008
3180
|
|
|
3009
3181
|
/***/ "f88b":
|
|
@@ -3050,6 +3222,8 @@ __webpack_require__.d(__webpack_exports__, "RemoveButton", function() { return /
|
|
|
3050
3222
|
__webpack_require__.d(__webpack_exports__, "ProductLogo", function() { return /* reexport */ ProductLogo; });
|
|
3051
3223
|
__webpack_require__.d(__webpack_exports__, "OriginatorLogo", function() { return /* reexport */ OriginatorLogo; });
|
|
3052
3224
|
__webpack_require__.d(__webpack_exports__, "ResetTableRowSelection", function() { return /* reexport */ ResetTableRowSelection; });
|
|
3225
|
+
__webpack_require__.d(__webpack_exports__, "MultipleSelectShortener", function() { return /* reexport */ MultipleSelectShortener; });
|
|
3226
|
+
__webpack_require__.d(__webpack_exports__, "SelectModalOptions", function() { return /* reexport */ SelectModalOptions; });
|
|
3053
3227
|
|
|
3054
3228
|
// NAMESPACE OBJECT: ./node_modules/vuetify/lib/services/goto/easing-patterns.js
|
|
3055
3229
|
var easing_patterns_namespaceObject = {};
|
|
@@ -3092,7 +3266,7 @@ if (typeof window !== 'undefined') {
|
|
|
3092
3266
|
// Indicate to webpack that this file can be concatenated
|
|
3093
3267
|
/* harmony default export */ var setPublicPath = (null);
|
|
3094
3268
|
|
|
3095
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3269
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTableEmptyWrapper/DataTableEmptyWrapper.vue?vue&type=template&id=a4b1af68&scoped=true&
|
|
3096
3270
|
var DataTableEmptyWrappervue_type_template_id_a4b1af68_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"align":"center"}},[_c('v-icon',[_vm._v("mdi-magnify")]),_c('p',[_vm._v(_vm._s(_vm.title))]),_c('p',[_vm._v(_vm._s(_vm.subtitle))])],1)}
|
|
3097
3271
|
var staticRenderFns = []
|
|
3098
3272
|
|
|
@@ -3569,7 +3743,7 @@ function remapInternalIcon(vm, iconName) {
|
|
|
3569
3743
|
}
|
|
3570
3744
|
};
|
|
3571
3745
|
}
|
|
3572
|
-
function
|
|
3746
|
+
function helpers_keys(o) {
|
|
3573
3747
|
return Object.keys(o);
|
|
3574
3748
|
}
|
|
3575
3749
|
/**
|
|
@@ -4866,7 +5040,7 @@ function genStyles(theme, cssVar = false) {
|
|
|
4866
5040
|
const value = theme[name];
|
|
4867
5041
|
css += genBaseColor(name, cssVar ? genColorVariable(name) : value.base);
|
|
4868
5042
|
cssVar && (variablesCss += ` ${genColorVariableName(name)}: ${value.base};\n`);
|
|
4869
|
-
const variants =
|
|
5043
|
+
const variants = helpers_keys(value);
|
|
4870
5044
|
|
|
4871
5045
|
for (let i = 0; i < variants.length; ++i) {
|
|
4872
5046
|
const variant = variants[i];
|
|
@@ -5617,7 +5791,7 @@ const VIcon_VIcon = mixins(binds_attrs, colorable, sizeable, themeable
|
|
|
5617
5791
|
large: this.large,
|
|
5618
5792
|
xLarge: this.xLarge
|
|
5619
5793
|
};
|
|
5620
|
-
const explicitSize =
|
|
5794
|
+
const explicitSize = helpers_keys(sizes).find(key => sizes[key]);
|
|
5621
5795
|
return explicitSize && SIZE_MAP[explicitSize] || convertToUnit(this.size);
|
|
5622
5796
|
},
|
|
5623
5797
|
|
|
@@ -5945,7 +6119,7 @@ var DataTableEmptyWrapper_component = normalizeComponent(
|
|
|
5945
6119
|
// CONCATENATED MODULE: ./src/components/DataTableEmptyWrapper/index.js
|
|
5946
6120
|
|
|
5947
6121
|
/* harmony default export */ var components_DataTableEmptyWrapper = (DataTableEmptyWrapper);
|
|
5948
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6122
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTablePaginator/DataTablePaginator.vue?vue&type=template&id=56341a65&
|
|
5949
6123
|
var DataTablePaginatorvue_type_template_id_56341a65_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"v-data-table-custom-footer",class:{ 'hidden-perpageoptions': _vm.hidePerPageOptions }},[(!_vm.hidePerPageOptions)?_c('div',[_c('v-select',{attrs:{"outlined":"","disabled":!_vm.totalPages || _vm.totalPages < 1,"items":_vm.perPageBuiltItems,"dense":""},model:{value:(_vm.selectedLimit),callback:function ($$v) {_vm.selectedLimit=$$v},expression:"selectedLimit"}})],1):_vm._e(),_c('v-pagination',{attrs:{"disabled":_vm.disabled,"length":_vm.totalPages,"total-visible":7,"color":"secondary"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:"currentPage"}})],1)}
|
|
5950
6124
|
var DataTablePaginatorvue_type_template_id_56341a65_staticRenderFns = []
|
|
5951
6125
|
|
|
@@ -13182,7 +13356,7 @@ var DataTablePaginator_component = normalizeComponent(
|
|
|
13182
13356
|
// CONCATENATED MODULE: ./src/components/DataTablePaginator/index.js
|
|
13183
13357
|
|
|
13184
13358
|
/* harmony default export */ var components_DataTablePaginator = (DataTablePaginator);
|
|
13185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13359
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTableHeader/DataTableHeader.vue?vue&type=template&id=52e3fa44&scoped=true&
|
|
13186
13360
|
var DataTableHeadervue_type_template_id_52e3fa44_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',_vm._l((_vm.headers),function(item,$index){return _c('th',{key:item.value,class:[
|
|
13187
13361
|
item.sortable ? 'sortable' : '',
|
|
13188
13362
|
_vm.sortClick[$index].clicked ? 'active' : '',
|
|
@@ -13429,7 +13603,7 @@ var DataTableHeader_component = normalizeComponent(
|
|
|
13429
13603
|
// CONCATENATED MODULE: ./src/components/DataTableHeader/index.js
|
|
13430
13604
|
|
|
13431
13605
|
/* harmony default export */ var components_DataTableHeader = (DataTableHeader);
|
|
13432
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13606
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AlertReload/AlertReload.vue?vue&type=template&id=abb3d94e&scoped=true&
|
|
13433
13607
|
var AlertReloadvue_type_template_id_abb3d94e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-alert',{staticClass:"farm-alert-reload",attrs:{"dense":"","outlined":"","type":"error"}},[_c('v-row',{attrs:{"align":"center"}},[_c('v-col',{staticClass:"grow"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),_c('v-col',{staticClass:"shrink"},[_c('v-btn',{staticClass:"ml-3",attrs:{"color":"secondary","alt":"Recarregar"},on:{"click":function($event){return _vm.$emit('onClick')}}},[_c('v-icon',{staticClass:"v-icon__refresh"},[_vm._v("mdi-refresh")]),_vm._v(" Recarregar")],1)],1)],1)],1)}
|
|
13434
13608
|
var AlertReloadvue_type_template_id_abb3d94e_scoped_true_staticRenderFns = []
|
|
13435
13609
|
|
|
@@ -14403,7 +14577,7 @@ var AlertReload_component = normalizeComponent(
|
|
|
14403
14577
|
// CONCATENATED MODULE: ./src/components/AlertReload/index.js
|
|
14404
14578
|
|
|
14405
14579
|
/* harmony default export */ var components_AlertReload = (AlertReload);
|
|
14406
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14580
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MainFilter/MainFilter.vue?vue&type=template&id=6d56b8e6&scoped=true&
|
|
14407
14581
|
var MainFiltervue_type_template_id_6d56b8e6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{class:{ 'justify-end': _vm.justifyEnd === true }},[(_vm.hasInitialInput)?_c('fieldset',{staticClass:"fieldset-default"},[_c('label',{attrs:{"for":_vm.elementId}},[_vm._v(" "+_vm._s(_vm.label)+" "),_c('v-icon',{staticStyle:{"vertical-align":"middle"}},[_vm._v(" mdi-file-find ")])],1),_c('v-text-field',{attrs:{"color":"secondary","id":_vm.elementId,"outlined":"","dense":""},on:{"keyup":_vm.onKeyUp},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}})],1):_vm._e(),(_vm.hasExtraFilters)?_c('v-btn',{staticClass:"v-btn--responsive mt-14 mt-sm-8",attrs:{"color":"secondary"},on:{"click":_vm.onFilterClick}},[_c('v-icon',{staticClass:"mr-2",attrs:{"color":"white"}},[_vm._v("mdi-filter")]),_vm._v(" Filtrar ")],1):_vm._e()],1)}
|
|
14408
14582
|
var MainFiltervue_type_template_id_6d56b8e6_scoped_true_staticRenderFns = []
|
|
14409
14583
|
|
|
@@ -14546,7 +14720,7 @@ var MainFilter_component = normalizeComponent(
|
|
|
14546
14720
|
// CONCATENATED MODULE: ./src/components/MainFilter/index.js
|
|
14547
14721
|
|
|
14548
14722
|
/* harmony default export */ var components_MainFilter = (MainFilter);
|
|
14549
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14723
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Loader/Loader.vue?vue&type=template&id=a894d29c&
|
|
14550
14724
|
var Loadervue_type_template_id_a894d29c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.mode === 'overlay')?_c('v-overlay',{attrs:{"opacity":"0.3"}},[_c('v-progress-circular',{attrs:{"indeterminate":"","size":100,"color":"secondary"}})],1):_c('v-progress-circular',{attrs:{"size":_vm.calculateSize,"width":6,"color":"secondary","indeterminate":""}})],1)}
|
|
14551
14725
|
var Loadervue_type_template_id_a894d29c_staticRenderFns = []
|
|
14552
14726
|
|
|
@@ -14713,7 +14887,7 @@ var Loader_component = normalizeComponent(
|
|
|
14713
14887
|
// CONCATENATED MODULE: ./src/components/Loader/index.js
|
|
14714
14888
|
|
|
14715
14889
|
/* harmony default export */ var components_Loader = (Loader);
|
|
14716
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14890
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FilePicker/FilePicker.vue?vue&type=template&id=3d9247d5&scoped=true&
|
|
14717
14891
|
var FilePickervue_type_template_id_3d9247d5_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{ref:"container",attrs:{"id":"droparea-container"}},[_c('input',{attrs:{"type":"file","name":"file","accept":_vm.acceptedFileTypes},on:{"change":function($event){return _vm.fileChange($event.target.files)}}}),(!_vm.selectedFile)?_c('div',{staticClass:"selectfile-container"},[_c('v-icon',{attrs:{"color":"secondary"}},[_vm._v("mdi-cloud-upload")]),_c('p',[_vm._v("Clique para selecionar ou arraste o arquivo aqui")])],1):_vm._e(),(_vm.selectedFile)?_c('div',{staticClass:"reset-container"},[_c('div',[_c('v-icon',[_vm._v("mdi-file")]),_vm._v(" Arquivo selecionado: "+_vm._s(_vm.selectedFile.name)+" ("+_vm._s(Math.floor(_vm.selectedFile.size / 1024))+"kB) ")],1),_c('v-btn',{staticClass:"v-btn-responsive",attrs:{"depressed":"","outlined":"","color":"secondary"},on:{"click":_vm.reset}},[_vm._v("Escolher outro")])],1):_vm._e()])}
|
|
14718
14892
|
var FilePickervue_type_template_id_3d9247d5_scoped_true_staticRenderFns = []
|
|
14719
14893
|
|
|
@@ -14823,7 +14997,7 @@ var FilePicker_component = normalizeComponent(
|
|
|
14823
14997
|
// CONCATENATED MODULE: ./src/components/FilePicker/index.js
|
|
14824
14998
|
|
|
14825
14999
|
/* harmony default export */ var components_FilePicker = (FilePicker);
|
|
14826
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15000
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tabs/Tabs.vue?vue&type=template&id=00a31444&scoped=true&
|
|
14827
15001
|
var Tabsvue_type_template_id_00a31444_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-tabs',{attrs:{"color":"secondary"},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:"selected"}},_vm._l((_vm.tabs),function(tab,index){return _c('v-tab',{key:index,class:{ hideCounter: !_vm.showCounter },attrs:{"disabled":!_vm.allowUserChange},on:{"change":function($event){return _vm.changeTab(tab, index)}}},[(_vm.showCounter)?_c('div',{staticClass:"pl-3 pr-3 pt-2 pb-2 mr-2 rounded-circle d-inline-block white--text",class:{ 'is-selected': _vm.isSelected(index) }},[_c('span',[_vm._v(_vm._s(index + 1))])]):_vm._e(),_c('span',{staticClass:"black--text text-capitalize"},[_vm._v(_vm._s(tab.name))])])}),1)}
|
|
14828
15002
|
var Tabsvue_type_template_id_00a31444_scoped_true_staticRenderFns = []
|
|
14829
15003
|
|
|
@@ -14970,7 +15144,7 @@ function touch_inserted(el, binding, vnode) {
|
|
|
14970
15144
|
const handlers = createHandlers(binding.value);
|
|
14971
15145
|
target._touchHandlers = Object(target._touchHandlers);
|
|
14972
15146
|
target._touchHandlers[vnode.context._uid] = handlers;
|
|
14973
|
-
|
|
15147
|
+
helpers_keys(handlers).forEach(eventName => {
|
|
14974
15148
|
target.addEventListener(eventName, handlers[eventName], options);
|
|
14975
15149
|
});
|
|
14976
15150
|
}
|
|
@@ -14979,7 +15153,7 @@ function touch_unbind(el, binding, vnode) {
|
|
|
14979
15153
|
const target = binding.value.parent ? el.parentElement : el;
|
|
14980
15154
|
if (!target || !target._touchHandlers) return;
|
|
14981
15155
|
const handlers = target._touchHandlers[vnode.context._uid];
|
|
14982
|
-
|
|
15156
|
+
helpers_keys(handlers).forEach(eventName => {
|
|
14983
15157
|
target.removeEventListener(eventName, handlers[eventName]);
|
|
14984
15158
|
});
|
|
14985
15159
|
delete target._touchHandlers[vnode.context._uid];
|
|
@@ -16349,7 +16523,7 @@ var Tabs_component = normalizeComponent(
|
|
|
16349
16523
|
// CONCATENATED MODULE: ./src/components/Tabs/index.js
|
|
16350
16524
|
|
|
16351
16525
|
/* harmony default export */ var components_Tabs = (Tabs);
|
|
16352
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16526
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DialogHeader/DialogHeader.vue?vue&type=template&id=93930314&
|
|
16353
16527
|
var DialogHeadervue_type_template_id_93930314_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',[(_vm.iconTitle)?_c('v-icon',{staticClass:"dialog-header__title-icon"},[_vm._v(_vm._s('mdi-' + _vm.iconTitle))]):_vm._e(),_vm._v(" "+_vm._s(_vm.title)+" "),(_vm.hasCloseIcon)?_c('v-icon',{staticClass:"dialog-header__close-icon",attrs:{"role":"button","title":"Fechar","color":"secondary"},on:{"click":_vm.onClose}},[_vm._v(" mdi-close-thick ")]):_vm._e()],1)}
|
|
16354
16528
|
var DialogHeadervue_type_template_id_93930314_staticRenderFns = []
|
|
16355
16529
|
|
|
@@ -16442,7 +16616,7 @@ var DialogHeader_component = normalizeComponent(
|
|
|
16442
16616
|
// CONCATENATED MODULE: ./src/components/DialogHeader/index.js
|
|
16443
16617
|
|
|
16444
16618
|
/* harmony default export */ var components_DialogHeader = (DialogHeader);
|
|
16445
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16619
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DialogFooter/DialogFooter.vue?vue&type=template&id=991fb86c&
|
|
16446
16620
|
var DialogFootervue_type_template_id_991fb86c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"v-dialog__footer d-flex flex-column flex-sm-row justify-end"},[(_vm.hasCancel)?_c('v-btn',{attrs:{"color":"primary","outlined":""},on:{"click":function($event){return _vm.$emit('onClose')}}},[_vm._v(" "+_vm._s(_vm.closeLabel)+" ")]):_vm._e(),_vm._l((_vm.extraButtons),function(button){return _c('v-btn',{key:button.label,staticClass:"ml-sm-3 mt-3 mt-sm-0",attrs:{"color":button.color,"outlined":button.outlined,"depressed":button.outlined,"disabled":button.disabled},on:{"click":function($event){return _vm.$emit(button.listener ? button.listener : '')}}},[_vm._v(" "+_vm._s(button.label)+" ")])}),(_vm.hasConfirm)?_c('v-btn',{staticClass:"ml-sm-3 mt-3 mt-sm-0",attrs:{"color":_vm.confirmColor,"disabled":_vm.isConfirmDisabled},on:{"click":function($event){return _vm.$emit('onConfirm')}}},[(_vm.confirmIcon)?_c('v-icon',[_vm._v("mdi-"+_vm._s(_vm.confirmIcon))]):_vm._e(),_vm._v(" "+_vm._s(_vm.confirmLabel)+" ")],1):_vm._e()],2)}
|
|
16447
16621
|
var DialogFootervue_type_template_id_991fb86c_staticRenderFns = []
|
|
16448
16622
|
|
|
@@ -16585,14 +16759,16 @@ var DialogFooter_component = normalizeComponent(
|
|
|
16585
16759
|
// CONCATENATED MODULE: ./src/components/DialogFooter/index.js
|
|
16586
16760
|
|
|
16587
16761
|
/* harmony default export */ var components_DialogFooter = (DialogFooter);
|
|
16588
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16589
|
-
var
|
|
16590
|
-
var
|
|
16762
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTextField/DefaultTextField.vue?vue&type=template&id=db592b9e&
|
|
16763
|
+
var DefaultTextFieldvue_type_template_id_db592b9e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{staticClass:"v-col-fieldset-default pl-0",attrs:{"cols":"12","sm":"12","md":_vm.item.md ? _vm.item.md : 2}},[_c('label',{attrs:{"for":_vm.inputId}},[_vm._v(" "+_vm._s(_vm.item.label)+" "),(_vm.required && !_vm.disabled)?_c('span',{staticClass:"required"},[_vm._v("*")]):_vm._e()]),_c('v-text-field',{directives:[{name:"mask",rawName:"v-mask",value:(("" + (_vm.mask ? _vm.mask : ''))),expression:"`${mask ? mask : ''}`"}],attrs:{"color":"secondary","outlined":"","dense":"","id":_vm.inputId,"rules":_vm.inputRules,"disabled":_vm.disabled,"readonly":_vm.readonly},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}})],1)}
|
|
16764
|
+
var DefaultTextFieldvue_type_template_id_db592b9e_staticRenderFns = []
|
|
16591
16765
|
|
|
16592
16766
|
|
|
16593
|
-
// CONCATENATED MODULE: ./src/components/DefaultTextField/DefaultTextField.vue?vue&type=template&id=
|
|
16767
|
+
// CONCATENATED MODULE: ./src/components/DefaultTextField/DefaultTextField.vue?vue&type=template&id=db592b9e&
|
|
16594
16768
|
|
|
16595
16769
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTextField/DefaultTextField.vue?vue&type=script&lang=js&
|
|
16770
|
+
|
|
16771
|
+
//
|
|
16596
16772
|
//
|
|
16597
16773
|
//
|
|
16598
16774
|
//
|
|
@@ -16631,16 +16807,20 @@ var DefaultTextFieldvue_type_template_id_36d90281_staticRenderFns = []
|
|
|
16631
16807
|
},
|
|
16632
16808
|
forKey: {
|
|
16633
16809
|
type: String,
|
|
16634
|
-
required: false
|
|
16810
|
+
required: false,
|
|
16811
|
+
default: 'form'
|
|
16635
16812
|
},
|
|
16636
16813
|
required: {
|
|
16637
16814
|
type: Boolean,
|
|
16638
|
-
default: false
|
|
16639
|
-
required: false
|
|
16815
|
+
default: false
|
|
16640
16816
|
},
|
|
16641
16817
|
mask: {
|
|
16642
16818
|
type: String,
|
|
16643
16819
|
default: null
|
|
16820
|
+
},
|
|
16821
|
+
readonly: {
|
|
16822
|
+
type: Boolean,
|
|
16823
|
+
default: false
|
|
16644
16824
|
}
|
|
16645
16825
|
},
|
|
16646
16826
|
components: {
|
|
@@ -16666,6 +16846,9 @@ var DefaultTextFieldvue_type_template_id_36d90281_staticRenderFns = []
|
|
|
16666
16846
|
}
|
|
16667
16847
|
|
|
16668
16848
|
return [];
|
|
16849
|
+
},
|
|
16850
|
+
inputId: function inputId() {
|
|
16851
|
+
return "".concat(this.forKey, "-").concat(this.item.key);
|
|
16669
16852
|
}
|
|
16670
16853
|
}
|
|
16671
16854
|
});
|
|
@@ -16681,8 +16864,8 @@ var DefaultTextFieldvue_type_template_id_36d90281_staticRenderFns = []
|
|
|
16681
16864
|
|
|
16682
16865
|
var DefaultTextField_component = normalizeComponent(
|
|
16683
16866
|
DefaultTextField_DefaultTextFieldvue_type_script_lang_js_,
|
|
16684
|
-
|
|
16685
|
-
|
|
16867
|
+
DefaultTextFieldvue_type_template_id_db592b9e_render,
|
|
16868
|
+
DefaultTextFieldvue_type_template_id_db592b9e_staticRenderFns,
|
|
16686
16869
|
false,
|
|
16687
16870
|
null,
|
|
16688
16871
|
null,
|
|
@@ -16694,7 +16877,7 @@ var DefaultTextField_component = normalizeComponent(
|
|
|
16694
16877
|
// CONCATENATED MODULE: ./src/components/DefaultTextField/index.js
|
|
16695
16878
|
|
|
16696
16879
|
/* harmony default export */ var components_DefaultTextField = (DefaultTextField);
|
|
16697
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16880
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/RangeDatePicker/RangeDatePicker.vue?vue&type=template&id=1afb51cd&
|
|
16698
16881
|
var RangeDatePickervue_type_template_id_1afb51cd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{ref:"menuField",attrs:{"close-on-content-click":false,"nudge-right":40,"return-value":_vm.fieldRange,"transition":"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function($event){_vm.fieldRange=$event},"update:return-value":function($event){_vm.fieldRange=$event}},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
16699
16882
|
var on = ref.on;
|
|
16700
16883
|
return [_c('v-text-field',_vm._g({attrs:{"color":"secondary","append-icon":"mdi-calendar","readonly":"","outlined":"","dense":"","id":_vm.inputId},model:{value:(_vm.fieldRange),callback:function ($$v) {_vm.fieldRange=$$v},expression:"fieldRange"}},on))]}}]),model:{value:(_vm.menuField),callback:function ($$v) {_vm.menuField=$$v},expression:"menuField"}},[(_vm.menuField)?_c('v-date-picker',{attrs:{"no-title":"","scrollable":"","range":"","max":_vm.max,"min":_vm.min,"color":"secondary","locale":"pt-br"},model:{value:(_vm.dateField),callback:function ($$v) {_vm.dateField=$$v},expression:"dateField"}},[_c('v-btn',{attrs:{"outlined":"","color":"primary","tutle":"Fechar"},on:{"click":function($event){_vm.menuField = false}}},[_vm._v(" Fechar ")]),_c('v-btn',{attrs:{"outlined":"","color":"secondary","title":"Limpar"},on:{"click":function($event){return _vm.clear()}}},[_vm._v(" Limpar ")]),_c('v-btn',{attrs:{"color":"secondary","disabled":_vm.canConfirm,"title":"Confirmar"},on:{"click":function($event){return _vm.save()}}},[_vm._v(" Confirmar ")])],1):_vm._e()],1)}
|
|
@@ -19015,7 +19198,7 @@ var RangeDatePicker_component = normalizeComponent(
|
|
|
19015
19198
|
// CONCATENATED MODULE: ./src/components/RangeDatePicker/index.js
|
|
19016
19199
|
|
|
19017
19200
|
/* harmony default export */ var components_RangeDatePicker = (RangeDatePicker);
|
|
19018
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19201
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DatePicker/DatePicker.vue?vue&type=template&id=5d26be56&
|
|
19019
19202
|
var DatePickervue_type_template_id_5d26be56_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{ref:"menuField",attrs:{"close-on-content-click":false,"nudge-right":40,"return-value":_vm.fieldRange,"transition":"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function($event){_vm.fieldRange=$event},"update:return-value":function($event){_vm.fieldRange=$event}},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
19020
19203
|
var on = ref.on;
|
|
19021
19204
|
return [_c('v-text-field',_vm._g({attrs:{"color":"secondary","append-icon":"mdi-calendar","readonly":"","outlined":"","dense":"","id":_vm.inputId,"rules":_vm.required ? [_vm.requiredRule] : []},model:{value:(_vm.fieldRange),callback:function ($$v) {_vm.fieldRange=$$v},expression:"fieldRange"}},on))]}}]),model:{value:(_vm.menuField),callback:function ($$v) {_vm.menuField=$$v},expression:"menuField"}},[(_vm.menuField)?_c('v-date-picker',{attrs:{"no-title":"","scrollable":"","max":_vm.max,"min":_vm.min,"color":"secondary","locale":"pt-br"},model:{value:(_vm.dateField),callback:function ($$v) {_vm.dateField=$$v},expression:"dateField"}},[_c('v-btn',{attrs:{"outlined":"","color":"primary","title":"Fechar"},on:{"click":function($event){_vm.menuField = false}}},[_vm._v(" Fechar ")]),_c('v-btn',{attrs:{"outlined":"","color":"secondary"},on:{"click":_vm.clear}},[_vm._v(" Limpar ")]),_c('v-btn',{attrs:{"color":"secondary","disabled":!_vm.dateField.length,"title":"Confirmar"},on:{"click":function($event){return _vm.save()}}},[_vm._v(" Confirmar ")])],1):_vm._e()],1)}
|
|
@@ -19191,7 +19374,7 @@ var DatePicker_component = normalizeComponent(
|
|
|
19191
19374
|
// CONCATENATED MODULE: ./src/components/DatePicker/index.js
|
|
19192
19375
|
|
|
19193
19376
|
/* harmony default export */ var components_DatePicker = (DatePicker);
|
|
19194
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19377
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ManagersList/ManagersList.vue?vue&type=template&id=7acbd269&scoped=true&
|
|
19195
19378
|
var ManagersListvue_type_template_id_7acbd269_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',_vm._l((_vm.managers),function(m,index){return _c('li',{key:index},[_vm._v(" "+_vm._s(m)+" ")])}),0)}
|
|
19196
19379
|
var ManagersListvue_type_template_id_7acbd269_scoped_true_staticRenderFns = []
|
|
19197
19380
|
|
|
@@ -19256,7 +19439,7 @@ var ManagersList_component = normalizeComponent(
|
|
|
19256
19439
|
// CONCATENATED MODULE: ./src/components/ManagersList/index.js
|
|
19257
19440
|
|
|
19258
19441
|
/* harmony default export */ var components_ManagersList = (ManagersList);
|
|
19259
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19442
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PromptUserToConfirm/PromptUserToConfirm.vue?vue&type=template&id=04793cb7&
|
|
19260
19443
|
var PromptUserToConfirmvue_type_template_id_04793cb7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-form',{attrs:{"autocomplete":"off"},model:{value:(_vm.formVal),callback:function ($$v) {_vm.formVal=$$v},expression:"formVal"}},[_c('div',{domProps:{"innerHTML":_vm._s(_vm.title)}}),_c('v-row',[_c('v-col',{staticClass:"mt-3 v-col-fieldset-default",attrs:{"cols":"12","sm":"12"}},[_c('v-text-field',{attrs:{"id":"form-confirm-remove","color":"secondary","outlined":"","dense":"","rules":[_vm.rules.checkRemove]},model:{value:(_vm.matchInput),callback:function ($$v) {_vm.matchInput=$$v},expression:"matchInput"}})],1)],1)],1)}
|
|
19261
19444
|
var PromptUserToConfirmvue_type_template_id_04793cb7_staticRenderFns = []
|
|
19262
19445
|
|
|
@@ -19506,7 +19689,7 @@ var PromptUserToConfirm_component = normalizeComponent(
|
|
|
19506
19689
|
// CONCATENATED MODULE: ./src/components/PromptUserToConfirm/index.js
|
|
19507
19690
|
|
|
19508
19691
|
/* harmony default export */ var components_PromptUserToConfirm = (PromptUserToConfirm);
|
|
19509
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19692
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ModalPromptUser/ModalPromptUser.vue?vue&type=template&id=6b19751e&
|
|
19510
19693
|
var ModalPromptUservue_type_template_id_6b19751e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{"content-class":"modal-default modal-default-small"},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}},[_c('DialogHeader',{attrs:{"title":_vm.title},on:{"onClose":_vm.close}}),_c('v-main',[_c('section',{staticClass:"mt-9"},[(_vm.inputVal)?_c('PromptUserToConfirm',{attrs:{"match":_vm.match,"title":_vm.subtitle},model:{value:(_vm.canConfirm),callback:function ($$v) {_vm.canConfirm=$$v},expression:"canConfirm"}}):_vm._e()],1),_c('DialogFooter',{attrs:{"confirmColor":_vm.confirmColor,"confirmLabel":_vm.confirmLabel,"isConfirmDisabled":!_vm.canConfirm},on:{"onClose":_vm.close,"onConfirm":_vm.confirm}})],1)],1)}
|
|
19511
19694
|
var ModalPromptUservue_type_template_id_6b19751e_staticRenderFns = []
|
|
19512
19695
|
|
|
@@ -20229,7 +20412,7 @@ var ModalPromptUser_component = normalizeComponent(
|
|
|
20229
20412
|
// CONCATENATED MODULE: ./src/components/ModalPromptUser/index.js
|
|
20230
20413
|
|
|
20231
20414
|
/* harmony default export */ var components_ModalPromptUser = (ModalPromptUser);
|
|
20232
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20415
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TableContextMenu/TableContextMenu.vue?vue&type=template&id=e042cebc&
|
|
20233
20416
|
var TableContextMenuvue_type_template_id_e042cebc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
20234
20417
|
var on = ref.on;
|
|
20235
20418
|
var attrs = ref.attrs;
|
|
@@ -20327,7 +20510,7 @@ var TableContextMenu_component = normalizeComponent(
|
|
|
20327
20510
|
// CONCATENATED MODULE: ./src/components/TableContextMenu/index.js
|
|
20328
20511
|
|
|
20329
20512
|
/* harmony default export */ var components_TableContextMenu = (TableContextMenu);
|
|
20330
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20513
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/IconBox/IconBox.vue?vue&type=template&id=02e53181&scoped=true&
|
|
20331
20514
|
var IconBoxvue_type_template_id_02e53181_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"icon-box"},[_c('div',{staticClass:"icon"},[_c('v-icon',{attrs:{"color":"secondary"}},[_vm._v(_vm._s(_vm.icon))])],1)])}
|
|
20332
20515
|
var IconBoxvue_type_template_id_02e53181_scoped_true_staticRenderFns = []
|
|
20333
20516
|
|
|
@@ -20386,7 +20569,7 @@ var IconBox_component = normalizeComponent(
|
|
|
20386
20569
|
// CONCATENATED MODULE: ./src/components/IconBox/index.js
|
|
20387
20570
|
|
|
20388
20571
|
/* harmony default export */ var components_IconBox = (IconBox);
|
|
20389
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20572
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CardContext/CardContext.vue?vue&type=template&id=bfd0efbc&scoped=true&
|
|
20390
20573
|
var CardContextvue_type_template_id_bfd0efbc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.isHeightFull},[(_vm.isSuccess)?_c('div',{staticClass:"card-context-header"},[_c('IconBox',{attrs:{"icon":_vm.icon}}),_c('div',{staticClass:"card-context-content"},[_c('p',{class:_vm.isBold},[_vm._v(" "+_vm._s(_vm.title)+" ")])])],1):_vm._e(),(_vm.isSuccess)?_c('div',{staticClass:"card-context-body"},[_vm._t("default")],2):_vm._e(),(_vm.isLoading)?_c('div',{staticClass:"card-context-loading-or-error"},[_c('Loader',{attrs:{"size":_vm.isLargeLoading}})],1):_vm._e(),(_vm.isError)?_c('div',{staticClass:"card-context-loading-or-error"},[_c('AlertReload',{attrs:{"label":_vm.errorLabel},on:{"onClick":function($event){return _vm.$emit('onLoad')}}})],1):_vm._e()])}
|
|
20391
20574
|
var CardContextvue_type_template_id_bfd0efbc_scoped_true_staticRenderFns = []
|
|
20392
20575
|
|
|
@@ -20535,7 +20718,7 @@ var CardContext_component = normalizeComponent(
|
|
|
20535
20718
|
// CONCATENATED MODULE: ./src/components/CardContext/index.js
|
|
20536
20719
|
|
|
20537
20720
|
/* harmony default export */ var components_CardContext = (CardContext);
|
|
20538
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20721
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/DefaultButton/DefaultButton.vue?vue&type=template&id=5d6726a7&
|
|
20539
20722
|
var DefaultButtonvue_type_template_id_5d6726a7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',_vm._g(_vm._b({},'v-btn',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)}
|
|
20540
20723
|
var DefaultButtonvue_type_template_id_5d6726a7_staticRenderFns = []
|
|
20541
20724
|
|
|
@@ -20584,7 +20767,7 @@ var DefaultButton_component = normalizeComponent(
|
|
|
20584
20767
|
|
|
20585
20768
|
|
|
20586
20769
|
/* harmony default export */ var Buttons_DefaultButton = (DefaultButton);
|
|
20587
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20770
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/DangerButton/DangerButton.vue?vue&type=template&id=9f654838&
|
|
20588
20771
|
var DangerButtonvue_type_template_id_9f654838_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',_vm._g(_vm._b({attrs:{"color":"error"}},'v-btn',_vm.$attrs,false),_vm.$listeners),[(_vm.icon)?_c('v-icon',{staticClass:"mr-3"},[_vm._v(" "+_vm._s(_vm.iconPath)+" ")]):_vm._e(),_vm._t("default")],2)}
|
|
20589
20772
|
var DangerButtonvue_type_template_id_9f654838_staticRenderFns = []
|
|
20590
20773
|
|
|
@@ -20663,7 +20846,7 @@ var DangerButton_component = normalizeComponent(
|
|
|
20663
20846
|
|
|
20664
20847
|
|
|
20665
20848
|
/* harmony default export */ var Buttons_DangerButton = (DangerButton);
|
|
20666
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20849
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/ConfirmButton/ConfirmButton.vue?vue&type=template&id=5c93c8ef&
|
|
20667
20850
|
var ConfirmButtonvue_type_template_id_5c93c8ef_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',_vm._g(_vm._b({attrs:{"color":"secondary"}},'v-btn',_vm.$attrs,false),_vm.$listeners),[(_vm.icon)?_c('v-icon',{staticClass:"mr-3"},[_vm._v(" "+_vm._s(_vm.iconPath)+" ")]):_vm._e(),_vm._t("default")],2)}
|
|
20668
20851
|
var ConfirmButtonvue_type_template_id_5c93c8ef_staticRenderFns = []
|
|
20669
20852
|
|
|
@@ -20742,7 +20925,7 @@ var ConfirmButton_component = normalizeComponent(
|
|
|
20742
20925
|
|
|
20743
20926
|
|
|
20744
20927
|
/* harmony default export */ var Buttons_ConfirmButton = (ConfirmButton);
|
|
20745
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20928
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/ExportButton/ExportButton.vue?vue&type=template&id=768e6724&scoped=true&
|
|
20746
20929
|
var ExportButtonvue_type_template_id_768e6724_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.optionsList.length == 0)?_c('v-btn',{staticClass:"v-btn--responsive",attrs:{"dense":"","outlined":"","title":"Exportar","disabled":_vm.disabled},on:{"click":_vm.onClick}},[_c('v-icon',{staticClass:"mr-2"},[_vm._v("mdi-file-export-outline")]),_vm._v(" Exportar ")],1):_c('v-menu',{attrs:{"content-class":"elevation-1","offset-y":true,"rounded":'b t-0'},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
20747
20930
|
var on = ref.on;
|
|
20748
20931
|
var attrs = ref.attrs;
|
|
@@ -20889,7 +21072,7 @@ var ExportButton_component = normalizeComponent(
|
|
|
20889
21072
|
|
|
20890
21073
|
|
|
20891
21074
|
/* harmony default export */ var Buttons_ExportButton = (ExportButton);
|
|
20892
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21075
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/ImportButton/ImportButton.vue?vue&type=template&id=cce173b8&scoped=true&
|
|
20893
21076
|
var ImportButtonvue_type_template_id_cce173b8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',{staticClass:"v-btn--responsive v-btn--import",attrs:{"dense":"","outlined":"","title":"Importar"},on:{"click":_vm.onClick}},[_c('v-icon',[_vm._v("mdi-upload")]),_vm._v(" "+_vm._s(_vm.label)+" ")],1)}
|
|
20894
21077
|
var ImportButtonvue_type_template_id_cce173b8_scoped_true_staticRenderFns = []
|
|
20895
21078
|
|
|
@@ -20957,7 +21140,7 @@ var ImportButton_component = normalizeComponent(
|
|
|
20957
21140
|
|
|
20958
21141
|
|
|
20959
21142
|
/* harmony default export */ var Buttons_ImportButton = (ImportButton);
|
|
20960
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21143
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/ToggleButton/ToggleButton.vue?vue&type=template&id=1f5968c4&scoped=true&
|
|
20961
21144
|
var ToggleButtonvue_type_template_id_1f5968c4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',{staticClass:"v-btn--responsive",class:{
|
|
20962
21145
|
'v-btn_icon--prepend': _vm.prepend,
|
|
20963
21146
|
'v-btn_icon--apppend': !_vm.prepend,
|
|
@@ -21086,7 +21269,7 @@ var ToggleButton_component = normalizeComponent(
|
|
|
21086
21269
|
|
|
21087
21270
|
|
|
21088
21271
|
/* harmony default export */ var Buttons_ToggleButton = (ToggleButton);
|
|
21089
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21272
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/RemoveButton/RemoveButton.vue?vue&type=template&id=7a7c75c6&scoped=true&
|
|
21090
21273
|
var RemoveButtonvue_type_template_id_7a7c75c6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',{staticClass:"v-btn--responsive",attrs:{"dense":"","color":"error","title":_vm.label,"disabled":_vm.disabled},on:{"click":_vm.onClick}},[_c('v-icon',[_vm._v("mdi-trash-can-outline")]),_vm._v(" "+_vm._s(_vm.label)+" ")],1)}
|
|
21091
21274
|
var RemoveButtonvue_type_template_id_7a7c75c6_scoped_true_staticRenderFns = []
|
|
21092
21275
|
|
|
@@ -21169,7 +21352,7 @@ var RemoveButton_component = normalizeComponent(
|
|
|
21169
21352
|
|
|
21170
21353
|
|
|
21171
21354
|
/* harmony default export */ var Buttons_RemoveButton = (RemoveButton);
|
|
21172
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21355
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Logos/ProductLogo/ProductLogo.vue?vue&type=template&id=1081e27d&
|
|
21173
21356
|
var ProductLogovue_type_template_id_1081e27d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('img',{attrs:{"src":_vm.imgSrc}})}
|
|
21174
21357
|
var ProductLogovue_type_template_id_1081e27d_staticRenderFns = []
|
|
21175
21358
|
|
|
@@ -21233,7 +21416,7 @@ var ProductLogo_component = normalizeComponent(
|
|
|
21233
21416
|
|
|
21234
21417
|
|
|
21235
21418
|
/* harmony default export */ var Logos_ProductLogo = (ProductLogo);
|
|
21236
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21419
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Logos/OriginatorLogo/OriginatorLogo.vue?vue&type=template&id=5fd10e58&
|
|
21237
21420
|
var OriginatorLogovue_type_template_id_5fd10e58_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('img',{attrs:{"src":_vm.imgSrc}})}
|
|
21238
21421
|
var OriginatorLogovue_type_template_id_5fd10e58_staticRenderFns = []
|
|
21239
21422
|
|
|
@@ -21297,7 +21480,7 @@ var OriginatorLogo_component = normalizeComponent(
|
|
|
21297
21480
|
|
|
21298
21481
|
|
|
21299
21482
|
/* harmony default export */ var Logos_OriginatorLogo = (OriginatorLogo);
|
|
21300
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21483
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ResetTableRowSelection/ResetTableRowSelection.vue?vue&type=template&id=befb8b6e&scoped=true&
|
|
21301
21484
|
var ResetTableRowSelectionvue_type_template_id_befb8b6e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ml-6 mr-3 d-flex align-center"},[_vm._v(" Total de linhas selecionadas: "+_vm._s(_vm.length)+" "),(_vm.length > 0)?_c('v-btn',{staticClass:"ml-3",attrs:{"color":"error","small":"","dense":""},on:{"click":_vm.reset}},[_c('v-icon',{attrs:{"small":""}},[_vm._v(" mdi-trash-can ")]),_vm._v(" Desmarcar ")],1):_vm._e()],1)}
|
|
21302
21485
|
var ResetTableRowSelectionvue_type_template_id_befb8b6e_scoped_true_staticRenderFns = []
|
|
21303
21486
|
|
|
@@ -21369,7 +21552,2617 @@ var ResetTableRowSelection_component = normalizeComponent(
|
|
|
21369
21552
|
|
|
21370
21553
|
|
|
21371
21554
|
/* harmony default export */ var components_ResetTableRowSelection = (ResetTableRowSelection);
|
|
21372
|
-
// CONCATENATED MODULE: ./src/
|
|
21555
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=template&id=31e8b3ae&scoped=true&
|
|
21556
|
+
var MultipleSelectShortenervue_type_template_id_31e8b3ae_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"align-center"},[(_vm.index === 0)?_c('span',{staticClass:"mr-1 label"},[_vm._v(_vm._s(_vm.item[_vm.labelKey]))]):_vm._e(),(_vm.index === 1)?_c('span',{staticClass:"label"},[_vm._v(" (+"+_vm._s(_vm.itemsLength - 1)+" "+_vm._s(_vm.itemsLength > 2 ? 'outros' : 'outro')+" ) ")]):_vm._e()])}
|
|
21557
|
+
var MultipleSelectShortenervue_type_template_id_31e8b3ae_scoped_true_staticRenderFns = []
|
|
21558
|
+
|
|
21559
|
+
|
|
21560
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=template&id=31e8b3ae&scoped=true&
|
|
21561
|
+
|
|
21562
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=script&lang=js&
|
|
21563
|
+
|
|
21564
|
+
//
|
|
21565
|
+
//
|
|
21566
|
+
//
|
|
21567
|
+
//
|
|
21568
|
+
//
|
|
21569
|
+
//
|
|
21570
|
+
//
|
|
21571
|
+
//
|
|
21572
|
+
//
|
|
21573
|
+
|
|
21574
|
+
/* harmony default export */ var MultipleSelectShortenervue_type_script_lang_js_ = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
21575
|
+
name: 'farm-multiple-select-shortener',
|
|
21576
|
+
props: {
|
|
21577
|
+
/**
|
|
21578
|
+
* Key used to get value from item
|
|
21579
|
+
*/
|
|
21580
|
+
labelKey: {
|
|
21581
|
+
type: String,
|
|
21582
|
+
default: 'label'
|
|
21583
|
+
},
|
|
21584
|
+
|
|
21585
|
+
/**
|
|
21586
|
+
* Item from v-select
|
|
21587
|
+
*/
|
|
21588
|
+
item: {
|
|
21589
|
+
type: Object
|
|
21590
|
+
},
|
|
21591
|
+
|
|
21592
|
+
/**
|
|
21593
|
+
* Index from slot
|
|
21594
|
+
*/
|
|
21595
|
+
index: {
|
|
21596
|
+
type: Number
|
|
21597
|
+
},
|
|
21598
|
+
|
|
21599
|
+
/**
|
|
21600
|
+
* Items count
|
|
21601
|
+
*/
|
|
21602
|
+
itemsLength: {
|
|
21603
|
+
type: Number
|
|
21604
|
+
}
|
|
21605
|
+
}
|
|
21606
|
+
}));
|
|
21607
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=script&lang=js&
|
|
21608
|
+
/* harmony default export */ var MultipleSelectShortener_MultipleSelectShortenervue_type_script_lang_js_ = (MultipleSelectShortenervue_type_script_lang_js_);
|
|
21609
|
+
// EXTERNAL MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=style&index=0&id=31e8b3ae&scoped=true&lang=css&
|
|
21610
|
+
var MultipleSelectShortenervue_type_style_index_0_id_31e8b3ae_scoped_true_lang_css_ = __webpack_require__("0fa1");
|
|
21611
|
+
|
|
21612
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue
|
|
21613
|
+
|
|
21614
|
+
|
|
21615
|
+
|
|
21616
|
+
|
|
21617
|
+
|
|
21618
|
+
|
|
21619
|
+
/* normalize component */
|
|
21620
|
+
|
|
21621
|
+
var MultipleSelectShortener_component = normalizeComponent(
|
|
21622
|
+
MultipleSelectShortener_MultipleSelectShortenervue_type_script_lang_js_,
|
|
21623
|
+
MultipleSelectShortenervue_type_template_id_31e8b3ae_scoped_true_render,
|
|
21624
|
+
MultipleSelectShortenervue_type_template_id_31e8b3ae_scoped_true_staticRenderFns,
|
|
21625
|
+
false,
|
|
21626
|
+
null,
|
|
21627
|
+
"31e8b3ae",
|
|
21628
|
+
null
|
|
21629
|
+
|
|
21630
|
+
)
|
|
21631
|
+
|
|
21632
|
+
/* harmony default export */ var MultipleSelectShortener = (MultipleSelectShortener_component.exports);
|
|
21633
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/index.js
|
|
21634
|
+
|
|
21635
|
+
|
|
21636
|
+
/* harmony default export */ var components_MultipleSelectShortener = (MultipleSelectShortener);
|
|
21637
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"29f357a2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=template&id=04f9e4b0&scoped=true&
|
|
21638
|
+
var SelectModalOptionsvue_type_template_id_04f9e4b0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{staticClass:"v-col-fieldset-default",attrs:{"cols":"12","sm":"12","md":_vm.config.md ? _vm.config.md : 2}},[_c('label',{attrs:{"for":_vm.inputId}},[_vm._v(" "+_vm._s(_vm.label)+" "),(_vm.config.required)?_c('span',{staticClass:"required"},[_vm._v("*")]):_vm._e()]),_c('v-text-field',{attrs:{"append-icon":"mdi-magnify ","color":"secondary","outlined":"","dense":"","readonly":"","id":_vm.inputId,"value":_vm.selectedValueText},on:{"click":_vm.openModal}}),_c('v-dialog',{attrs:{"content-class":"modal-default modal-default-small"},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v},expression:"showModal"}},[_c('DialogHeader',{staticClass:"dialog-header",attrs:{"title":_vm.modalTitle},on:{"onClose":_vm.closeModal}}),_c('v-main',{staticClass:"mt-9"},[(_vm.isLoading)?_c('Loader',{staticClass:"text-center mb-2"}):_vm._e(),(!_vm.isLoading)?_c('fieldset',{staticClass:"fieldset-default mx-4 mb-3"},[_c('label',{attrs:{"for":"searchInput"}},[_vm._v(" "+_vm._s(_vm.label)+" ")]),_c('v-text-field',{attrs:{"color":"secondary","id":"searchInput","outlined":"","dense":"","hide-details":"","placeholder":_vm.placeholder},model:{value:(_vm.searchValue),callback:function ($$v) {_vm.searchValue=$$v},expression:"searchValue"}})],1):_vm._e(),(!_vm.isLoading)?_c('v-data-table',{staticClass:"v-data-table__clickable v-data-table__select-modal",attrs:{"id":"inputModalOptionsTable","hide-default-footer":"","hide-default-header":"","items":_vm.items,"headers":_vm.headers,"options":_vm.pagination,"search":_vm.searchValue,"custom-filter":_vm.customFilter},on:{"update:options":function($event){_vm.pagination=$event},"click:row":_vm.handleClick,"pagination":_vm.handlePagination},scopedSlots:_vm._u([{key:"item.label",fn:function(ref){
|
|
21639
|
+
var item = ref.item;
|
|
21640
|
+
return [_c('td',{attrs:{"title":_vm.getItemLabel(item),"aria-role":"button"}},[_vm._v(" "+_vm._s(_vm.getItemLabel(item))+" ")])]}},{key:"footer",fn:function(){return [_c('DataTablePaginator',{staticClass:"my-6",attrs:{"hidePerPageOptions":"","initialLimitPerPage":_vm.pagination.itemsPerPage,"page":_vm.pagination.page,"totalPages":_vm.pagination.pages},on:{"onChangePage":_vm.onChangePage}})]},proxy:true}],null,true)},[_c('template',{slot:"no-data"},[_c('DataTableEmptyWrapper')],1),_c('template',{slot:"no-results"},[_c('DataTableEmptyWrapper')],1)],2):_vm._e()],1),_c('DialogFooter',{attrs:{"hasConfirm":false},on:{"onClose":_vm.closeModal}})],1)],1)}
|
|
21641
|
+
var SelectModalOptionsvue_type_template_id_04f9e4b0_scoped_true_staticRenderFns = []
|
|
21642
|
+
|
|
21643
|
+
|
|
21644
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=template&id=04f9e4b0&scoped=true&
|
|
21645
|
+
|
|
21646
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
21647
|
+
var es_array_includes = __webpack_require__("caad");
|
|
21648
|
+
|
|
21649
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
21650
|
+
var es_string_includes = __webpack_require__("2532");
|
|
21651
|
+
|
|
21652
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VTextField/index.js
|
|
21653
|
+
|
|
21654
|
+
|
|
21655
|
+
/* harmony default export */ var components_VTextField = (VTextField_VTextField);
|
|
21656
|
+
//# sourceMappingURL=index.js.map
|
|
21657
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataTable/VDataTable.sass
|
|
21658
|
+
var VDataTable = __webpack_require__("91f4");
|
|
21659
|
+
|
|
21660
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VData/VData.js
|
|
21661
|
+
// Helpers
|
|
21662
|
+
|
|
21663
|
+
|
|
21664
|
+
/* harmony default export */ var VData = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
21665
|
+
name: 'v-data',
|
|
21666
|
+
inheritAttrs: false,
|
|
21667
|
+
props: {
|
|
21668
|
+
items: {
|
|
21669
|
+
type: Array,
|
|
21670
|
+
default: () => []
|
|
21671
|
+
},
|
|
21672
|
+
options: {
|
|
21673
|
+
type: Object,
|
|
21674
|
+
default: () => ({})
|
|
21675
|
+
},
|
|
21676
|
+
sortBy: {
|
|
21677
|
+
type: [String, Array],
|
|
21678
|
+
default: () => []
|
|
21679
|
+
},
|
|
21680
|
+
sortDesc: {
|
|
21681
|
+
type: [Boolean, Array],
|
|
21682
|
+
default: () => []
|
|
21683
|
+
},
|
|
21684
|
+
customSort: {
|
|
21685
|
+
type: Function,
|
|
21686
|
+
default: sortItems
|
|
21687
|
+
},
|
|
21688
|
+
mustSort: Boolean,
|
|
21689
|
+
multiSort: Boolean,
|
|
21690
|
+
page: {
|
|
21691
|
+
type: Number,
|
|
21692
|
+
default: 1
|
|
21693
|
+
},
|
|
21694
|
+
itemsPerPage: {
|
|
21695
|
+
type: Number,
|
|
21696
|
+
default: 10
|
|
21697
|
+
},
|
|
21698
|
+
groupBy: {
|
|
21699
|
+
type: [String, Array],
|
|
21700
|
+
default: () => []
|
|
21701
|
+
},
|
|
21702
|
+
groupDesc: {
|
|
21703
|
+
type: [Boolean, Array],
|
|
21704
|
+
default: () => []
|
|
21705
|
+
},
|
|
21706
|
+
customGroup: {
|
|
21707
|
+
type: Function,
|
|
21708
|
+
default: groupItems
|
|
21709
|
+
},
|
|
21710
|
+
locale: {
|
|
21711
|
+
type: String,
|
|
21712
|
+
default: 'en-US'
|
|
21713
|
+
},
|
|
21714
|
+
disableSort: Boolean,
|
|
21715
|
+
disablePagination: Boolean,
|
|
21716
|
+
disableFiltering: Boolean,
|
|
21717
|
+
search: String,
|
|
21718
|
+
customFilter: {
|
|
21719
|
+
type: Function,
|
|
21720
|
+
default: searchItems
|
|
21721
|
+
},
|
|
21722
|
+
serverItemsLength: {
|
|
21723
|
+
type: Number,
|
|
21724
|
+
default: -1
|
|
21725
|
+
}
|
|
21726
|
+
},
|
|
21727
|
+
|
|
21728
|
+
data() {
|
|
21729
|
+
let internalOptions = {
|
|
21730
|
+
page: this.page,
|
|
21731
|
+
itemsPerPage: this.itemsPerPage,
|
|
21732
|
+
sortBy: wrapInArray(this.sortBy),
|
|
21733
|
+
sortDesc: wrapInArray(this.sortDesc),
|
|
21734
|
+
groupBy: wrapInArray(this.groupBy),
|
|
21735
|
+
groupDesc: wrapInArray(this.groupDesc),
|
|
21736
|
+
mustSort: this.mustSort,
|
|
21737
|
+
multiSort: this.multiSort
|
|
21738
|
+
};
|
|
21739
|
+
|
|
21740
|
+
if (this.options) {
|
|
21741
|
+
internalOptions = Object.assign(internalOptions, this.options);
|
|
21742
|
+
}
|
|
21743
|
+
|
|
21744
|
+
const {
|
|
21745
|
+
sortBy,
|
|
21746
|
+
sortDesc,
|
|
21747
|
+
groupBy,
|
|
21748
|
+
groupDesc
|
|
21749
|
+
} = internalOptions;
|
|
21750
|
+
const sortDiff = sortBy.length - sortDesc.length;
|
|
21751
|
+
const groupDiff = groupBy.length - groupDesc.length;
|
|
21752
|
+
|
|
21753
|
+
if (sortDiff > 0) {
|
|
21754
|
+
internalOptions.sortDesc.push(...fillArray(sortDiff, false));
|
|
21755
|
+
}
|
|
21756
|
+
|
|
21757
|
+
if (groupDiff > 0) {
|
|
21758
|
+
internalOptions.groupDesc.push(...fillArray(groupDiff, false));
|
|
21759
|
+
}
|
|
21760
|
+
|
|
21761
|
+
return {
|
|
21762
|
+
internalOptions
|
|
21763
|
+
};
|
|
21764
|
+
},
|
|
21765
|
+
|
|
21766
|
+
computed: {
|
|
21767
|
+
itemsLength() {
|
|
21768
|
+
return this.serverItemsLength >= 0 ? this.serverItemsLength : this.filteredItems.length;
|
|
21769
|
+
},
|
|
21770
|
+
|
|
21771
|
+
pageCount() {
|
|
21772
|
+
return this.internalOptions.itemsPerPage <= 0 ? 1 : Math.ceil(this.itemsLength / this.internalOptions.itemsPerPage);
|
|
21773
|
+
},
|
|
21774
|
+
|
|
21775
|
+
pageStart() {
|
|
21776
|
+
if (this.internalOptions.itemsPerPage === -1 || !this.items.length) return 0;
|
|
21777
|
+
return (this.internalOptions.page - 1) * this.internalOptions.itemsPerPage;
|
|
21778
|
+
},
|
|
21779
|
+
|
|
21780
|
+
pageStop() {
|
|
21781
|
+
if (this.internalOptions.itemsPerPage === -1) return this.itemsLength;
|
|
21782
|
+
if (!this.items.length) return 0;
|
|
21783
|
+
return Math.min(this.itemsLength, this.internalOptions.page * this.internalOptions.itemsPerPage);
|
|
21784
|
+
},
|
|
21785
|
+
|
|
21786
|
+
isGrouped() {
|
|
21787
|
+
return !!this.internalOptions.groupBy.length;
|
|
21788
|
+
},
|
|
21789
|
+
|
|
21790
|
+
pagination() {
|
|
21791
|
+
return {
|
|
21792
|
+
page: this.internalOptions.page,
|
|
21793
|
+
itemsPerPage: this.internalOptions.itemsPerPage,
|
|
21794
|
+
pageStart: this.pageStart,
|
|
21795
|
+
pageStop: this.pageStop,
|
|
21796
|
+
pageCount: this.pageCount,
|
|
21797
|
+
itemsLength: this.itemsLength
|
|
21798
|
+
};
|
|
21799
|
+
},
|
|
21800
|
+
|
|
21801
|
+
filteredItems() {
|
|
21802
|
+
let items = this.items.slice();
|
|
21803
|
+
|
|
21804
|
+
if (!this.disableFiltering && this.serverItemsLength <= 0) {
|
|
21805
|
+
items = this.customFilter(items, this.search);
|
|
21806
|
+
}
|
|
21807
|
+
|
|
21808
|
+
return items;
|
|
21809
|
+
},
|
|
21810
|
+
|
|
21811
|
+
computedItems() {
|
|
21812
|
+
let items = this.filteredItems.slice();
|
|
21813
|
+
|
|
21814
|
+
if ((!this.disableSort || this.internalOptions.groupBy.length) && this.serverItemsLength <= 0) {
|
|
21815
|
+
items = this.sortItems(items);
|
|
21816
|
+
}
|
|
21817
|
+
|
|
21818
|
+
if (!this.disablePagination && this.serverItemsLength <= 0) {
|
|
21819
|
+
items = this.paginateItems(items);
|
|
21820
|
+
}
|
|
21821
|
+
|
|
21822
|
+
return items;
|
|
21823
|
+
},
|
|
21824
|
+
|
|
21825
|
+
groupedItems() {
|
|
21826
|
+
return this.isGrouped ? this.groupItems(this.computedItems) : null;
|
|
21827
|
+
},
|
|
21828
|
+
|
|
21829
|
+
scopedProps() {
|
|
21830
|
+
return {
|
|
21831
|
+
sort: this.sort,
|
|
21832
|
+
sortArray: this.sortArray,
|
|
21833
|
+
group: this.group,
|
|
21834
|
+
items: this.computedItems,
|
|
21835
|
+
options: this.internalOptions,
|
|
21836
|
+
updateOptions: this.updateOptions,
|
|
21837
|
+
pagination: this.pagination,
|
|
21838
|
+
groupedItems: this.groupedItems,
|
|
21839
|
+
originalItemsLength: this.items.length
|
|
21840
|
+
};
|
|
21841
|
+
},
|
|
21842
|
+
|
|
21843
|
+
computedOptions() {
|
|
21844
|
+
return { ...this.options
|
|
21845
|
+
};
|
|
21846
|
+
}
|
|
21847
|
+
|
|
21848
|
+
},
|
|
21849
|
+
watch: {
|
|
21850
|
+
computedOptions: {
|
|
21851
|
+
handler(options, old) {
|
|
21852
|
+
if (deepEqual(options, old)) return;
|
|
21853
|
+
this.updateOptions(options);
|
|
21854
|
+
},
|
|
21855
|
+
|
|
21856
|
+
deep: true,
|
|
21857
|
+
immediate: true
|
|
21858
|
+
},
|
|
21859
|
+
internalOptions: {
|
|
21860
|
+
handler(options, old) {
|
|
21861
|
+
if (deepEqual(options, old)) return;
|
|
21862
|
+
this.$emit('update:options', options);
|
|
21863
|
+
},
|
|
21864
|
+
|
|
21865
|
+
deep: true,
|
|
21866
|
+
immediate: true
|
|
21867
|
+
},
|
|
21868
|
+
|
|
21869
|
+
page(page) {
|
|
21870
|
+
this.updateOptions({
|
|
21871
|
+
page
|
|
21872
|
+
});
|
|
21873
|
+
},
|
|
21874
|
+
|
|
21875
|
+
'internalOptions.page'(page) {
|
|
21876
|
+
this.$emit('update:page', page);
|
|
21877
|
+
},
|
|
21878
|
+
|
|
21879
|
+
itemsPerPage(itemsPerPage) {
|
|
21880
|
+
this.updateOptions({
|
|
21881
|
+
itemsPerPage
|
|
21882
|
+
});
|
|
21883
|
+
},
|
|
21884
|
+
|
|
21885
|
+
'internalOptions.itemsPerPage'(itemsPerPage) {
|
|
21886
|
+
this.$emit('update:items-per-page', itemsPerPage);
|
|
21887
|
+
},
|
|
21888
|
+
|
|
21889
|
+
sortBy(sortBy) {
|
|
21890
|
+
this.updateOptions({
|
|
21891
|
+
sortBy: wrapInArray(sortBy)
|
|
21892
|
+
});
|
|
21893
|
+
},
|
|
21894
|
+
|
|
21895
|
+
'internalOptions.sortBy'(sortBy, old) {
|
|
21896
|
+
!deepEqual(sortBy, old) && this.$emit('update:sort-by', Array.isArray(this.sortBy) ? sortBy : sortBy[0]);
|
|
21897
|
+
},
|
|
21898
|
+
|
|
21899
|
+
sortDesc(sortDesc) {
|
|
21900
|
+
this.updateOptions({
|
|
21901
|
+
sortDesc: wrapInArray(sortDesc)
|
|
21902
|
+
});
|
|
21903
|
+
},
|
|
21904
|
+
|
|
21905
|
+
'internalOptions.sortDesc'(sortDesc, old) {
|
|
21906
|
+
!deepEqual(sortDesc, old) && this.$emit('update:sort-desc', Array.isArray(this.sortDesc) ? sortDesc : sortDesc[0]);
|
|
21907
|
+
},
|
|
21908
|
+
|
|
21909
|
+
groupBy(groupBy) {
|
|
21910
|
+
this.updateOptions({
|
|
21911
|
+
groupBy: wrapInArray(groupBy)
|
|
21912
|
+
});
|
|
21913
|
+
},
|
|
21914
|
+
|
|
21915
|
+
'internalOptions.groupBy'(groupBy, old) {
|
|
21916
|
+
!deepEqual(groupBy, old) && this.$emit('update:group-by', Array.isArray(this.groupBy) ? groupBy : groupBy[0]);
|
|
21917
|
+
},
|
|
21918
|
+
|
|
21919
|
+
groupDesc(groupDesc) {
|
|
21920
|
+
this.updateOptions({
|
|
21921
|
+
groupDesc: wrapInArray(groupDesc)
|
|
21922
|
+
});
|
|
21923
|
+
},
|
|
21924
|
+
|
|
21925
|
+
'internalOptions.groupDesc'(groupDesc, old) {
|
|
21926
|
+
!deepEqual(groupDesc, old) && this.$emit('update:group-desc', Array.isArray(this.groupDesc) ? groupDesc : groupDesc[0]);
|
|
21927
|
+
},
|
|
21928
|
+
|
|
21929
|
+
multiSort(multiSort) {
|
|
21930
|
+
this.updateOptions({
|
|
21931
|
+
multiSort
|
|
21932
|
+
});
|
|
21933
|
+
},
|
|
21934
|
+
|
|
21935
|
+
'internalOptions.multiSort'(multiSort) {
|
|
21936
|
+
this.$emit('update:multi-sort', multiSort);
|
|
21937
|
+
},
|
|
21938
|
+
|
|
21939
|
+
mustSort(mustSort) {
|
|
21940
|
+
this.updateOptions({
|
|
21941
|
+
mustSort
|
|
21942
|
+
});
|
|
21943
|
+
},
|
|
21944
|
+
|
|
21945
|
+
'internalOptions.mustSort'(mustSort) {
|
|
21946
|
+
this.$emit('update:must-sort', mustSort);
|
|
21947
|
+
},
|
|
21948
|
+
|
|
21949
|
+
pageCount: {
|
|
21950
|
+
handler(pageCount) {
|
|
21951
|
+
this.$emit('page-count', pageCount);
|
|
21952
|
+
},
|
|
21953
|
+
|
|
21954
|
+
immediate: true
|
|
21955
|
+
},
|
|
21956
|
+
computedItems: {
|
|
21957
|
+
handler(computedItems) {
|
|
21958
|
+
this.$emit('current-items', computedItems);
|
|
21959
|
+
},
|
|
21960
|
+
|
|
21961
|
+
immediate: true
|
|
21962
|
+
},
|
|
21963
|
+
pagination: {
|
|
21964
|
+
handler(pagination, old) {
|
|
21965
|
+
if (deepEqual(pagination, old)) return;
|
|
21966
|
+
this.$emit('pagination', this.pagination);
|
|
21967
|
+
},
|
|
21968
|
+
|
|
21969
|
+
immediate: true
|
|
21970
|
+
}
|
|
21971
|
+
},
|
|
21972
|
+
methods: {
|
|
21973
|
+
toggle(key, oldBy, oldDesc, page, mustSort, multiSort) {
|
|
21974
|
+
let by = oldBy.slice();
|
|
21975
|
+
let desc = oldDesc.slice();
|
|
21976
|
+
const byIndex = by.findIndex(k => k === key);
|
|
21977
|
+
|
|
21978
|
+
if (byIndex < 0) {
|
|
21979
|
+
if (!multiSort) {
|
|
21980
|
+
by = [];
|
|
21981
|
+
desc = [];
|
|
21982
|
+
}
|
|
21983
|
+
|
|
21984
|
+
by.push(key);
|
|
21985
|
+
desc.push(false);
|
|
21986
|
+
} else if (byIndex >= 0 && !desc[byIndex]) {
|
|
21987
|
+
desc[byIndex] = true;
|
|
21988
|
+
} else if (!mustSort) {
|
|
21989
|
+
by.splice(byIndex, 1);
|
|
21990
|
+
desc.splice(byIndex, 1);
|
|
21991
|
+
} else {
|
|
21992
|
+
desc[byIndex] = false;
|
|
21993
|
+
} // Reset page to 1 if sortBy or sortDesc have changed
|
|
21994
|
+
|
|
21995
|
+
|
|
21996
|
+
if (!deepEqual(by, oldBy) || !deepEqual(desc, oldDesc)) {
|
|
21997
|
+
page = 1;
|
|
21998
|
+
}
|
|
21999
|
+
|
|
22000
|
+
return {
|
|
22001
|
+
by,
|
|
22002
|
+
desc,
|
|
22003
|
+
page
|
|
22004
|
+
};
|
|
22005
|
+
},
|
|
22006
|
+
|
|
22007
|
+
group(key) {
|
|
22008
|
+
const {
|
|
22009
|
+
by: groupBy,
|
|
22010
|
+
desc: groupDesc,
|
|
22011
|
+
page
|
|
22012
|
+
} = this.toggle(key, this.internalOptions.groupBy, this.internalOptions.groupDesc, this.internalOptions.page, true, false);
|
|
22013
|
+
this.updateOptions({
|
|
22014
|
+
groupBy,
|
|
22015
|
+
groupDesc,
|
|
22016
|
+
page
|
|
22017
|
+
});
|
|
22018
|
+
},
|
|
22019
|
+
|
|
22020
|
+
sort(key) {
|
|
22021
|
+
if (Array.isArray(key)) return this.sortArray(key);
|
|
22022
|
+
const {
|
|
22023
|
+
by: sortBy,
|
|
22024
|
+
desc: sortDesc,
|
|
22025
|
+
page
|
|
22026
|
+
} = this.toggle(key, this.internalOptions.sortBy, this.internalOptions.sortDesc, this.internalOptions.page, this.internalOptions.mustSort, this.internalOptions.multiSort);
|
|
22027
|
+
this.updateOptions({
|
|
22028
|
+
sortBy,
|
|
22029
|
+
sortDesc,
|
|
22030
|
+
page
|
|
22031
|
+
});
|
|
22032
|
+
},
|
|
22033
|
+
|
|
22034
|
+
sortArray(sortBy) {
|
|
22035
|
+
const sortDesc = sortBy.map(s => {
|
|
22036
|
+
const i = this.internalOptions.sortBy.findIndex(k => k === s);
|
|
22037
|
+
return i > -1 ? this.internalOptions.sortDesc[i] : false;
|
|
22038
|
+
});
|
|
22039
|
+
this.updateOptions({
|
|
22040
|
+
sortBy,
|
|
22041
|
+
sortDesc
|
|
22042
|
+
});
|
|
22043
|
+
},
|
|
22044
|
+
|
|
22045
|
+
updateOptions(options) {
|
|
22046
|
+
this.internalOptions = { ...this.internalOptions,
|
|
22047
|
+
...options,
|
|
22048
|
+
page: this.serverItemsLength < 0 ? Math.max(1, Math.min(options.page || this.internalOptions.page, this.pageCount)) : options.page || this.internalOptions.page
|
|
22049
|
+
};
|
|
22050
|
+
},
|
|
22051
|
+
|
|
22052
|
+
sortItems(items) {
|
|
22053
|
+
let sortBy = [];
|
|
22054
|
+
let sortDesc = [];
|
|
22055
|
+
|
|
22056
|
+
if (!this.disableSort) {
|
|
22057
|
+
sortBy = this.internalOptions.sortBy;
|
|
22058
|
+
sortDesc = this.internalOptions.sortDesc;
|
|
22059
|
+
}
|
|
22060
|
+
|
|
22061
|
+
if (this.internalOptions.groupBy.length) {
|
|
22062
|
+
sortBy = [...this.internalOptions.groupBy, ...sortBy];
|
|
22063
|
+
sortDesc = [...this.internalOptions.groupDesc, ...sortDesc];
|
|
22064
|
+
}
|
|
22065
|
+
|
|
22066
|
+
return this.customSort(items, sortBy, sortDesc, this.locale);
|
|
22067
|
+
},
|
|
22068
|
+
|
|
22069
|
+
groupItems(items) {
|
|
22070
|
+
return this.customGroup(items, this.internalOptions.groupBy, this.internalOptions.groupDesc);
|
|
22071
|
+
},
|
|
22072
|
+
|
|
22073
|
+
paginateItems(items) {
|
|
22074
|
+
// Make sure we don't try to display non-existant page if items suddenly change
|
|
22075
|
+
// TODO: Could possibly move this to pageStart/pageStop?
|
|
22076
|
+
if (this.serverItemsLength === -1 && items.length <= this.pageStart) {
|
|
22077
|
+
this.internalOptions.page = Math.max(1, Math.ceil(items.length / this.internalOptions.itemsPerPage)) || 1; // Prevent NaN
|
|
22078
|
+
}
|
|
22079
|
+
|
|
22080
|
+
return items.slice(this.pageStart, this.pageStop);
|
|
22081
|
+
}
|
|
22082
|
+
|
|
22083
|
+
},
|
|
22084
|
+
|
|
22085
|
+
render() {
|
|
22086
|
+
return this.$scopedSlots.default && this.$scopedSlots.default(this.scopedProps);
|
|
22087
|
+
}
|
|
22088
|
+
|
|
22089
|
+
}));
|
|
22090
|
+
//# sourceMappingURL=VData.js.map
|
|
22091
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataIterator/VDataFooter.sass
|
|
22092
|
+
var VDataFooter = __webpack_require__("495d");
|
|
22093
|
+
|
|
22094
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataIterator/VDataFooter.js
|
|
22095
|
+
// Components
|
|
22096
|
+
|
|
22097
|
+
|
|
22098
|
+
|
|
22099
|
+
// Types
|
|
22100
|
+
|
|
22101
|
+
|
|
22102
|
+
|
|
22103
|
+
/* harmony default export */ var VDataIterator_VDataFooter = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
22104
|
+
name: 'v-data-footer',
|
|
22105
|
+
props: {
|
|
22106
|
+
options: {
|
|
22107
|
+
type: Object,
|
|
22108
|
+
required: true
|
|
22109
|
+
},
|
|
22110
|
+
pagination: {
|
|
22111
|
+
type: Object,
|
|
22112
|
+
required: true
|
|
22113
|
+
},
|
|
22114
|
+
itemsPerPageOptions: {
|
|
22115
|
+
type: Array,
|
|
22116
|
+
default: () => [5, 10, 15, -1]
|
|
22117
|
+
},
|
|
22118
|
+
prevIcon: {
|
|
22119
|
+
type: String,
|
|
22120
|
+
default: '$prev'
|
|
22121
|
+
},
|
|
22122
|
+
nextIcon: {
|
|
22123
|
+
type: String,
|
|
22124
|
+
default: '$next'
|
|
22125
|
+
},
|
|
22126
|
+
firstIcon: {
|
|
22127
|
+
type: String,
|
|
22128
|
+
default: '$first'
|
|
22129
|
+
},
|
|
22130
|
+
lastIcon: {
|
|
22131
|
+
type: String,
|
|
22132
|
+
default: '$last'
|
|
22133
|
+
},
|
|
22134
|
+
itemsPerPageText: {
|
|
22135
|
+
type: String,
|
|
22136
|
+
default: '$vuetify.dataFooter.itemsPerPageText'
|
|
22137
|
+
},
|
|
22138
|
+
itemsPerPageAllText: {
|
|
22139
|
+
type: String,
|
|
22140
|
+
default: '$vuetify.dataFooter.itemsPerPageAll'
|
|
22141
|
+
},
|
|
22142
|
+
showFirstLastPage: Boolean,
|
|
22143
|
+
showCurrentPage: Boolean,
|
|
22144
|
+
disablePagination: Boolean,
|
|
22145
|
+
disableItemsPerPage: Boolean,
|
|
22146
|
+
pageText: {
|
|
22147
|
+
type: String,
|
|
22148
|
+
default: '$vuetify.dataFooter.pageText'
|
|
22149
|
+
}
|
|
22150
|
+
},
|
|
22151
|
+
computed: {
|
|
22152
|
+
disableNextPageIcon() {
|
|
22153
|
+
return this.options.itemsPerPage <= 0 || this.options.page * this.options.itemsPerPage >= this.pagination.itemsLength || this.pagination.pageStop < 0;
|
|
22154
|
+
},
|
|
22155
|
+
|
|
22156
|
+
computedDataItemsPerPageOptions() {
|
|
22157
|
+
return this.itemsPerPageOptions.map(option => {
|
|
22158
|
+
if (typeof option === 'object') return option;else return this.genDataItemsPerPageOption(option);
|
|
22159
|
+
});
|
|
22160
|
+
}
|
|
22161
|
+
|
|
22162
|
+
},
|
|
22163
|
+
methods: {
|
|
22164
|
+
updateOptions(obj) {
|
|
22165
|
+
this.$emit('update:options', Object.assign({}, this.options, obj));
|
|
22166
|
+
},
|
|
22167
|
+
|
|
22168
|
+
onFirstPage() {
|
|
22169
|
+
this.updateOptions({
|
|
22170
|
+
page: 1
|
|
22171
|
+
});
|
|
22172
|
+
},
|
|
22173
|
+
|
|
22174
|
+
onPreviousPage() {
|
|
22175
|
+
this.updateOptions({
|
|
22176
|
+
page: this.options.page - 1
|
|
22177
|
+
});
|
|
22178
|
+
},
|
|
22179
|
+
|
|
22180
|
+
onNextPage() {
|
|
22181
|
+
this.updateOptions({
|
|
22182
|
+
page: this.options.page + 1
|
|
22183
|
+
});
|
|
22184
|
+
},
|
|
22185
|
+
|
|
22186
|
+
onLastPage() {
|
|
22187
|
+
this.updateOptions({
|
|
22188
|
+
page: this.pagination.pageCount
|
|
22189
|
+
});
|
|
22190
|
+
},
|
|
22191
|
+
|
|
22192
|
+
onChangeItemsPerPage(itemsPerPage) {
|
|
22193
|
+
this.updateOptions({
|
|
22194
|
+
itemsPerPage,
|
|
22195
|
+
page: 1
|
|
22196
|
+
});
|
|
22197
|
+
},
|
|
22198
|
+
|
|
22199
|
+
genDataItemsPerPageOption(option) {
|
|
22200
|
+
return {
|
|
22201
|
+
text: option === -1 ? this.$vuetify.lang.t(this.itemsPerPageAllText) : String(option),
|
|
22202
|
+
value: option
|
|
22203
|
+
};
|
|
22204
|
+
},
|
|
22205
|
+
|
|
22206
|
+
genItemsPerPageSelect() {
|
|
22207
|
+
let value = this.options.itemsPerPage;
|
|
22208
|
+
const computedIPPO = this.computedDataItemsPerPageOptions;
|
|
22209
|
+
if (computedIPPO.length <= 1) return null;
|
|
22210
|
+
if (!computedIPPO.find(ippo => ippo.value === value)) value = computedIPPO[0];
|
|
22211
|
+
return this.$createElement('div', {
|
|
22212
|
+
staticClass: 'v-data-footer__select'
|
|
22213
|
+
}, [this.$vuetify.lang.t(this.itemsPerPageText), this.$createElement(VSelect_VSelect, {
|
|
22214
|
+
attrs: {
|
|
22215
|
+
'aria-label': this.$vuetify.lang.t(this.itemsPerPageText)
|
|
22216
|
+
},
|
|
22217
|
+
props: {
|
|
22218
|
+
disabled: this.disableItemsPerPage,
|
|
22219
|
+
items: computedIPPO,
|
|
22220
|
+
value,
|
|
22221
|
+
hideDetails: true,
|
|
22222
|
+
auto: true,
|
|
22223
|
+
minWidth: '75px'
|
|
22224
|
+
},
|
|
22225
|
+
on: {
|
|
22226
|
+
input: this.onChangeItemsPerPage
|
|
22227
|
+
}
|
|
22228
|
+
})]);
|
|
22229
|
+
},
|
|
22230
|
+
|
|
22231
|
+
genPaginationInfo() {
|
|
22232
|
+
let children = ['–'];
|
|
22233
|
+
const itemsLength = this.pagination.itemsLength;
|
|
22234
|
+
let pageStart = this.pagination.pageStart;
|
|
22235
|
+
let pageStop = this.pagination.pageStop;
|
|
22236
|
+
|
|
22237
|
+
if (this.pagination.itemsLength && this.pagination.itemsPerPage) {
|
|
22238
|
+
pageStart = this.pagination.pageStart + 1;
|
|
22239
|
+
pageStop = itemsLength < this.pagination.pageStop || this.pagination.pageStop < 0 ? itemsLength : this.pagination.pageStop;
|
|
22240
|
+
children = this.$scopedSlots['page-text'] ? [this.$scopedSlots['page-text']({
|
|
22241
|
+
pageStart,
|
|
22242
|
+
pageStop,
|
|
22243
|
+
itemsLength
|
|
22244
|
+
})] : [this.$vuetify.lang.t(this.pageText, pageStart, pageStop, itemsLength)];
|
|
22245
|
+
} else if (this.$scopedSlots['page-text']) {
|
|
22246
|
+
children = [this.$scopedSlots['page-text']({
|
|
22247
|
+
pageStart,
|
|
22248
|
+
pageStop,
|
|
22249
|
+
itemsLength
|
|
22250
|
+
})];
|
|
22251
|
+
}
|
|
22252
|
+
|
|
22253
|
+
return this.$createElement('div', {
|
|
22254
|
+
class: 'v-data-footer__pagination'
|
|
22255
|
+
}, children);
|
|
22256
|
+
},
|
|
22257
|
+
|
|
22258
|
+
genIcon(click, disabled, label, icon) {
|
|
22259
|
+
return this.$createElement(components_VBtn, {
|
|
22260
|
+
props: {
|
|
22261
|
+
disabled: disabled || this.disablePagination,
|
|
22262
|
+
icon: true,
|
|
22263
|
+
text: true
|
|
22264
|
+
},
|
|
22265
|
+
on: {
|
|
22266
|
+
click
|
|
22267
|
+
},
|
|
22268
|
+
attrs: {
|
|
22269
|
+
'aria-label': label
|
|
22270
|
+
}
|
|
22271
|
+
}, [this.$createElement(components_VIcon, icon)]);
|
|
22272
|
+
},
|
|
22273
|
+
|
|
22274
|
+
genIcons() {
|
|
22275
|
+
const before = [];
|
|
22276
|
+
const after = [];
|
|
22277
|
+
before.push(this.genIcon(this.onPreviousPage, this.options.page === 1, this.$vuetify.lang.t('$vuetify.dataFooter.prevPage'), this.$vuetify.rtl ? this.nextIcon : this.prevIcon));
|
|
22278
|
+
after.push(this.genIcon(this.onNextPage, this.disableNextPageIcon, this.$vuetify.lang.t('$vuetify.dataFooter.nextPage'), this.$vuetify.rtl ? this.prevIcon : this.nextIcon));
|
|
22279
|
+
|
|
22280
|
+
if (this.showFirstLastPage) {
|
|
22281
|
+
before.unshift(this.genIcon(this.onFirstPage, this.options.page === 1, this.$vuetify.lang.t('$vuetify.dataFooter.firstPage'), this.$vuetify.rtl ? this.lastIcon : this.firstIcon));
|
|
22282
|
+
after.push(this.genIcon(this.onLastPage, this.options.page >= this.pagination.pageCount || this.options.itemsPerPage === -1, this.$vuetify.lang.t('$vuetify.dataFooter.lastPage'), this.$vuetify.rtl ? this.firstIcon : this.lastIcon));
|
|
22283
|
+
}
|
|
22284
|
+
|
|
22285
|
+
return [this.$createElement('div', {
|
|
22286
|
+
staticClass: 'v-data-footer__icons-before'
|
|
22287
|
+
}, before), this.showCurrentPage && this.$createElement('span', [this.options.page.toString()]), this.$createElement('div', {
|
|
22288
|
+
staticClass: 'v-data-footer__icons-after'
|
|
22289
|
+
}, after)];
|
|
22290
|
+
}
|
|
22291
|
+
|
|
22292
|
+
},
|
|
22293
|
+
|
|
22294
|
+
render() {
|
|
22295
|
+
return this.$createElement('div', {
|
|
22296
|
+
staticClass: 'v-data-footer'
|
|
22297
|
+
}, [getSlot(this, 'prepend'), this.genItemsPerPageSelect(), this.genPaginationInfo(), this.genIcons()]);
|
|
22298
|
+
}
|
|
22299
|
+
|
|
22300
|
+
}));
|
|
22301
|
+
//# sourceMappingURL=VDataFooter.js.map
|
|
22302
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataIterator/VDataIterator.js
|
|
22303
|
+
// Components
|
|
22304
|
+
|
|
22305
|
+
// Mixins
|
|
22306
|
+
|
|
22307
|
+
|
|
22308
|
+
// Helpers
|
|
22309
|
+
|
|
22310
|
+
|
|
22311
|
+
|
|
22312
|
+
|
|
22313
|
+
/* @vue/component */
|
|
22314
|
+
|
|
22315
|
+
/* harmony default export */ var VDataIterator = (mixins(mobile, themeable).extend({
|
|
22316
|
+
name: 'v-data-iterator',
|
|
22317
|
+
props: { ...VData.options.props,
|
|
22318
|
+
itemKey: {
|
|
22319
|
+
type: String,
|
|
22320
|
+
default: 'id'
|
|
22321
|
+
},
|
|
22322
|
+
value: {
|
|
22323
|
+
type: Array,
|
|
22324
|
+
default: () => []
|
|
22325
|
+
},
|
|
22326
|
+
singleSelect: Boolean,
|
|
22327
|
+
expanded: {
|
|
22328
|
+
type: Array,
|
|
22329
|
+
default: () => []
|
|
22330
|
+
},
|
|
22331
|
+
mobileBreakpoint: { ...mobile.options.props.mobileBreakpoint,
|
|
22332
|
+
default: 600
|
|
22333
|
+
},
|
|
22334
|
+
singleExpand: Boolean,
|
|
22335
|
+
loading: [Boolean, String],
|
|
22336
|
+
noResultsText: {
|
|
22337
|
+
type: String,
|
|
22338
|
+
default: '$vuetify.dataIterator.noResultsText'
|
|
22339
|
+
},
|
|
22340
|
+
noDataText: {
|
|
22341
|
+
type: String,
|
|
22342
|
+
default: '$vuetify.noDataText'
|
|
22343
|
+
},
|
|
22344
|
+
loadingText: {
|
|
22345
|
+
type: String,
|
|
22346
|
+
default: '$vuetify.dataIterator.loadingText'
|
|
22347
|
+
},
|
|
22348
|
+
hideDefaultFooter: Boolean,
|
|
22349
|
+
footerProps: Object,
|
|
22350
|
+
selectableKey: {
|
|
22351
|
+
type: String,
|
|
22352
|
+
default: 'isSelectable'
|
|
22353
|
+
}
|
|
22354
|
+
},
|
|
22355
|
+
data: () => ({
|
|
22356
|
+
selection: {},
|
|
22357
|
+
expansion: {},
|
|
22358
|
+
internalCurrentItems: [],
|
|
22359
|
+
shiftKeyDown: false,
|
|
22360
|
+
lastEntry: -1
|
|
22361
|
+
}),
|
|
22362
|
+
computed: {
|
|
22363
|
+
everyItem() {
|
|
22364
|
+
return !!this.selectableItems.length && this.selectableItems.every(i => this.isSelected(i));
|
|
22365
|
+
},
|
|
22366
|
+
|
|
22367
|
+
someItems() {
|
|
22368
|
+
return this.selectableItems.some(i => this.isSelected(i));
|
|
22369
|
+
},
|
|
22370
|
+
|
|
22371
|
+
sanitizedFooterProps() {
|
|
22372
|
+
return camelizeObjectKeys(this.footerProps);
|
|
22373
|
+
},
|
|
22374
|
+
|
|
22375
|
+
selectableItems() {
|
|
22376
|
+
return this.internalCurrentItems.filter(item => this.isSelectable(item));
|
|
22377
|
+
}
|
|
22378
|
+
|
|
22379
|
+
},
|
|
22380
|
+
watch: {
|
|
22381
|
+
value: {
|
|
22382
|
+
handler(value) {
|
|
22383
|
+
this.selection = value.reduce((selection, item) => {
|
|
22384
|
+
selection[getObjectValueByPath(item, this.itemKey)] = item;
|
|
22385
|
+
return selection;
|
|
22386
|
+
}, {});
|
|
22387
|
+
},
|
|
22388
|
+
|
|
22389
|
+
immediate: true
|
|
22390
|
+
},
|
|
22391
|
+
|
|
22392
|
+
selection(value, old) {
|
|
22393
|
+
if (deepEqual(Object.keys(value), Object.keys(old))) return;
|
|
22394
|
+
this.$emit('input', Object.values(value));
|
|
22395
|
+
},
|
|
22396
|
+
|
|
22397
|
+
expanded: {
|
|
22398
|
+
handler(value) {
|
|
22399
|
+
this.expansion = value.reduce((expansion, item) => {
|
|
22400
|
+
expansion[getObjectValueByPath(item, this.itemKey)] = true;
|
|
22401
|
+
return expansion;
|
|
22402
|
+
}, {});
|
|
22403
|
+
},
|
|
22404
|
+
|
|
22405
|
+
immediate: true
|
|
22406
|
+
},
|
|
22407
|
+
|
|
22408
|
+
expansion(value, old) {
|
|
22409
|
+
if (deepEqual(value, old)) return;
|
|
22410
|
+
const keys = Object.keys(value).filter(k => value[k]);
|
|
22411
|
+
const expanded = !keys.length ? [] : this.items.filter(i => keys.includes(String(getObjectValueByPath(i, this.itemKey))));
|
|
22412
|
+
this.$emit('update:expanded', expanded);
|
|
22413
|
+
}
|
|
22414
|
+
|
|
22415
|
+
},
|
|
22416
|
+
|
|
22417
|
+
created() {
|
|
22418
|
+
const breakingProps = [['disable-initial-sort', 'sort-by'], ['filter', 'custom-filter'], ['pagination', 'options'], ['total-items', 'server-items-length'], ['hide-actions', 'hide-default-footer'], ['rows-per-page-items', 'footer-props.items-per-page-options'], ['rows-per-page-text', 'footer-props.items-per-page-text'], ['prev-icon', 'footer-props.prev-icon'], ['next-icon', 'footer-props.next-icon']];
|
|
22419
|
+
/* istanbul ignore next */
|
|
22420
|
+
|
|
22421
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
22422
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this);
|
|
22423
|
+
});
|
|
22424
|
+
const removedProps = ['expand', 'content-class', 'content-props', 'content-tag'];
|
|
22425
|
+
/* istanbul ignore next */
|
|
22426
|
+
|
|
22427
|
+
removedProps.forEach(prop => {
|
|
22428
|
+
if (this.$attrs.hasOwnProperty(prop)) removed(prop);
|
|
22429
|
+
});
|
|
22430
|
+
},
|
|
22431
|
+
|
|
22432
|
+
mounted() {
|
|
22433
|
+
window.addEventListener('keydown', this.onKeyDown);
|
|
22434
|
+
window.addEventListener('keyup', this.onKeyUp);
|
|
22435
|
+
},
|
|
22436
|
+
|
|
22437
|
+
beforeDestroy() {
|
|
22438
|
+
window.removeEventListener('keydown', this.onKeyDown);
|
|
22439
|
+
window.removeEventListener('keyup', this.onKeyUp);
|
|
22440
|
+
},
|
|
22441
|
+
|
|
22442
|
+
methods: {
|
|
22443
|
+
onKeyDown(e) {
|
|
22444
|
+
if (e.keyCode !== keyCodes.shift) return;
|
|
22445
|
+
this.shiftKeyDown = true;
|
|
22446
|
+
},
|
|
22447
|
+
|
|
22448
|
+
onKeyUp(e) {
|
|
22449
|
+
if (e.keyCode !== keyCodes.shift) return;
|
|
22450
|
+
this.shiftKeyDown = false;
|
|
22451
|
+
},
|
|
22452
|
+
|
|
22453
|
+
toggleSelectAll(value) {
|
|
22454
|
+
const selection = Object.assign({}, this.selection);
|
|
22455
|
+
|
|
22456
|
+
for (let i = 0; i < this.selectableItems.length; i++) {
|
|
22457
|
+
const item = this.selectableItems[i];
|
|
22458
|
+
if (!this.isSelectable(item)) continue;
|
|
22459
|
+
const key = getObjectValueByPath(item, this.itemKey);
|
|
22460
|
+
if (value) selection[key] = item;else delete selection[key];
|
|
22461
|
+
}
|
|
22462
|
+
|
|
22463
|
+
this.selection = selection;
|
|
22464
|
+
this.$emit('toggle-select-all', {
|
|
22465
|
+
items: this.internalCurrentItems,
|
|
22466
|
+
value
|
|
22467
|
+
});
|
|
22468
|
+
},
|
|
22469
|
+
|
|
22470
|
+
isSelectable(item) {
|
|
22471
|
+
return getObjectValueByPath(item, this.selectableKey) !== false;
|
|
22472
|
+
},
|
|
22473
|
+
|
|
22474
|
+
isSelected(item) {
|
|
22475
|
+
return !!this.selection[getObjectValueByPath(item, this.itemKey)] || false;
|
|
22476
|
+
},
|
|
22477
|
+
|
|
22478
|
+
select(item, value = true, emit = true) {
|
|
22479
|
+
if (!this.isSelectable(item)) return;
|
|
22480
|
+
const selection = this.singleSelect ? {} : Object.assign({}, this.selection);
|
|
22481
|
+
const key = getObjectValueByPath(item, this.itemKey);
|
|
22482
|
+
if (value) selection[key] = item;else delete selection[key];
|
|
22483
|
+
const index = this.selectableItems.findIndex(x => getObjectValueByPath(x, this.itemKey) === key);
|
|
22484
|
+
if (this.lastEntry === -1) this.lastEntry = index;else {
|
|
22485
|
+
const lastEntryKey = getObjectValueByPath(this.selectableItems[this.lastEntry], this.itemKey);
|
|
22486
|
+
const lastEntryKeySelected = Object.keys(this.selection).includes(lastEntryKey.toString());
|
|
22487
|
+
if (this.shiftKeyDown && !this.singleSelect && emit) this.multipleSelect(lastEntryKeySelected, emit, selection, index);
|
|
22488
|
+
}
|
|
22489
|
+
this.lastEntry = index;
|
|
22490
|
+
|
|
22491
|
+
if (this.singleSelect && emit) {
|
|
22492
|
+
const keys = Object.keys(this.selection);
|
|
22493
|
+
const old = keys.length && getObjectValueByPath(this.selection[keys[0]], this.itemKey);
|
|
22494
|
+
old && old !== key && this.$emit('item-selected', {
|
|
22495
|
+
item: this.selection[old],
|
|
22496
|
+
value: false
|
|
22497
|
+
});
|
|
22498
|
+
}
|
|
22499
|
+
|
|
22500
|
+
this.selection = selection;
|
|
22501
|
+
emit && this.$emit('item-selected', {
|
|
22502
|
+
item,
|
|
22503
|
+
value
|
|
22504
|
+
});
|
|
22505
|
+
},
|
|
22506
|
+
|
|
22507
|
+
multipleSelect(value = true, emit = true, selection, index) {
|
|
22508
|
+
const start = index < this.lastEntry ? index : this.lastEntry;
|
|
22509
|
+
const end = index < this.lastEntry ? this.lastEntry : index;
|
|
22510
|
+
|
|
22511
|
+
for (let i = start; i <= end; i++) {
|
|
22512
|
+
const currentItem = this.selectableItems[i];
|
|
22513
|
+
const key = getObjectValueByPath(currentItem, this.itemKey);
|
|
22514
|
+
if (value) selection[key] = currentItem;else delete selection[key];
|
|
22515
|
+
emit && this.$emit('item-selected', {
|
|
22516
|
+
currentItem,
|
|
22517
|
+
value
|
|
22518
|
+
});
|
|
22519
|
+
}
|
|
22520
|
+
},
|
|
22521
|
+
|
|
22522
|
+
isExpanded(item) {
|
|
22523
|
+
return this.expansion[getObjectValueByPath(item, this.itemKey)] || false;
|
|
22524
|
+
},
|
|
22525
|
+
|
|
22526
|
+
expand(item, value = true) {
|
|
22527
|
+
const expansion = this.singleExpand ? {} : Object.assign({}, this.expansion);
|
|
22528
|
+
const key = getObjectValueByPath(item, this.itemKey);
|
|
22529
|
+
if (value) expansion[key] = true;else delete expansion[key];
|
|
22530
|
+
this.expansion = expansion;
|
|
22531
|
+
this.$emit('item-expanded', {
|
|
22532
|
+
item,
|
|
22533
|
+
value
|
|
22534
|
+
});
|
|
22535
|
+
},
|
|
22536
|
+
|
|
22537
|
+
createItemProps(item, index) {
|
|
22538
|
+
return {
|
|
22539
|
+
item,
|
|
22540
|
+
index,
|
|
22541
|
+
select: v => this.select(item, v),
|
|
22542
|
+
isSelected: this.isSelected(item),
|
|
22543
|
+
expand: v => this.expand(item, v),
|
|
22544
|
+
isExpanded: this.isExpanded(item),
|
|
22545
|
+
isMobile: this.isMobile
|
|
22546
|
+
};
|
|
22547
|
+
},
|
|
22548
|
+
|
|
22549
|
+
genEmptyWrapper(content) {
|
|
22550
|
+
return this.$createElement('div', content);
|
|
22551
|
+
},
|
|
22552
|
+
|
|
22553
|
+
genEmpty(originalItemsLength, filteredItemsLength) {
|
|
22554
|
+
if (originalItemsLength === 0 && this.loading) {
|
|
22555
|
+
const loading = this.$slots.loading || this.$vuetify.lang.t(this.loadingText);
|
|
22556
|
+
return this.genEmptyWrapper(loading);
|
|
22557
|
+
} else if (originalItemsLength === 0) {
|
|
22558
|
+
const noData = this.$slots['no-data'] || this.$vuetify.lang.t(this.noDataText);
|
|
22559
|
+
return this.genEmptyWrapper(noData);
|
|
22560
|
+
} else if (filteredItemsLength === 0) {
|
|
22561
|
+
const noResults = this.$slots['no-results'] || this.$vuetify.lang.t(this.noResultsText);
|
|
22562
|
+
return this.genEmptyWrapper(noResults);
|
|
22563
|
+
}
|
|
22564
|
+
|
|
22565
|
+
return null;
|
|
22566
|
+
},
|
|
22567
|
+
|
|
22568
|
+
genItems(props) {
|
|
22569
|
+
const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength);
|
|
22570
|
+
if (empty) return [empty];
|
|
22571
|
+
|
|
22572
|
+
if (this.$scopedSlots.default) {
|
|
22573
|
+
return this.$scopedSlots.default({ ...props,
|
|
22574
|
+
isSelected: this.isSelected,
|
|
22575
|
+
select: this.select,
|
|
22576
|
+
isExpanded: this.isExpanded,
|
|
22577
|
+
isMobile: this.isMobile,
|
|
22578
|
+
expand: this.expand
|
|
22579
|
+
});
|
|
22580
|
+
}
|
|
22581
|
+
|
|
22582
|
+
if (this.$scopedSlots.item) {
|
|
22583
|
+
return props.items.map((item, index) => this.$scopedSlots.item(this.createItemProps(item, index)));
|
|
22584
|
+
}
|
|
22585
|
+
|
|
22586
|
+
return [];
|
|
22587
|
+
},
|
|
22588
|
+
|
|
22589
|
+
genFooter(props) {
|
|
22590
|
+
if (this.hideDefaultFooter) return null;
|
|
22591
|
+
const data = {
|
|
22592
|
+
props: { ...this.sanitizedFooterProps,
|
|
22593
|
+
options: props.options,
|
|
22594
|
+
pagination: props.pagination
|
|
22595
|
+
},
|
|
22596
|
+
on: {
|
|
22597
|
+
'update:options': value => props.updateOptions(value)
|
|
22598
|
+
}
|
|
22599
|
+
};
|
|
22600
|
+
const scopedSlots = getPrefixedScopedSlots('footer.', this.$scopedSlots);
|
|
22601
|
+
return this.$createElement(VDataIterator_VDataFooter, {
|
|
22602
|
+
scopedSlots,
|
|
22603
|
+
...data
|
|
22604
|
+
});
|
|
22605
|
+
},
|
|
22606
|
+
|
|
22607
|
+
genDefaultScopedSlot(props) {
|
|
22608
|
+
const outerProps = { ...props,
|
|
22609
|
+
someItems: this.someItems,
|
|
22610
|
+
everyItem: this.everyItem,
|
|
22611
|
+
toggleSelectAll: this.toggleSelectAll
|
|
22612
|
+
};
|
|
22613
|
+
return this.$createElement('div', {
|
|
22614
|
+
staticClass: 'v-data-iterator'
|
|
22615
|
+
}, [getSlot(this, 'header', outerProps, true), this.genItems(props), this.genFooter(props), getSlot(this, 'footer', outerProps, true)]);
|
|
22616
|
+
}
|
|
22617
|
+
|
|
22618
|
+
},
|
|
22619
|
+
|
|
22620
|
+
render() {
|
|
22621
|
+
return this.$createElement(VData, {
|
|
22622
|
+
props: this.$props,
|
|
22623
|
+
on: {
|
|
22624
|
+
'update:options': (v, old) => !deepEqual(v, old) && this.$emit('update:options', v),
|
|
22625
|
+
'update:page': v => this.$emit('update:page', v),
|
|
22626
|
+
'update:items-per-page': v => this.$emit('update:items-per-page', v),
|
|
22627
|
+
'update:sort-by': v => this.$emit('update:sort-by', v),
|
|
22628
|
+
'update:sort-desc': v => this.$emit('update:sort-desc', v),
|
|
22629
|
+
'update:group-by': v => this.$emit('update:group-by', v),
|
|
22630
|
+
'update:group-desc': v => this.$emit('update:group-desc', v),
|
|
22631
|
+
pagination: (v, old) => !deepEqual(v, old) && this.$emit('pagination', v),
|
|
22632
|
+
'current-items': v => {
|
|
22633
|
+
this.internalCurrentItems = v;
|
|
22634
|
+
this.$emit('current-items', v);
|
|
22635
|
+
},
|
|
22636
|
+
'page-count': v => this.$emit('page-count', v)
|
|
22637
|
+
},
|
|
22638
|
+
scopedSlots: {
|
|
22639
|
+
default: this.genDefaultScopedSlot
|
|
22640
|
+
}
|
|
22641
|
+
});
|
|
22642
|
+
}
|
|
22643
|
+
|
|
22644
|
+
}));
|
|
22645
|
+
//# sourceMappingURL=VDataIterator.js.map
|
|
22646
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataTable/VDataTableHeader.sass
|
|
22647
|
+
var VDataTableHeader = __webpack_require__("f823");
|
|
22648
|
+
|
|
22649
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/mixins/header.js
|
|
22650
|
+
|
|
22651
|
+
|
|
22652
|
+
|
|
22653
|
+
|
|
22654
|
+
/* harmony default export */ var mixins_header = (mixins().extend({
|
|
22655
|
+
// https://github.com/vuejs/vue/issues/6872
|
|
22656
|
+
directives: {
|
|
22657
|
+
ripple: directives_ripple
|
|
22658
|
+
},
|
|
22659
|
+
props: {
|
|
22660
|
+
headers: {
|
|
22661
|
+
type: Array,
|
|
22662
|
+
default: () => []
|
|
22663
|
+
},
|
|
22664
|
+
options: {
|
|
22665
|
+
type: Object,
|
|
22666
|
+
default: () => ({
|
|
22667
|
+
page: 1,
|
|
22668
|
+
itemsPerPage: 10,
|
|
22669
|
+
sortBy: [],
|
|
22670
|
+
sortDesc: [],
|
|
22671
|
+
groupBy: [],
|
|
22672
|
+
groupDesc: [],
|
|
22673
|
+
multiSort: false,
|
|
22674
|
+
mustSort: false
|
|
22675
|
+
})
|
|
22676
|
+
},
|
|
22677
|
+
checkboxColor: String,
|
|
22678
|
+
sortIcon: {
|
|
22679
|
+
type: String,
|
|
22680
|
+
default: '$sort'
|
|
22681
|
+
},
|
|
22682
|
+
everyItem: Boolean,
|
|
22683
|
+
someItems: Boolean,
|
|
22684
|
+
showGroupBy: Boolean,
|
|
22685
|
+
singleSelect: Boolean,
|
|
22686
|
+
disableSort: Boolean
|
|
22687
|
+
},
|
|
22688
|
+
methods: {
|
|
22689
|
+
genSelectAll() {
|
|
22690
|
+
var _this$checkboxColor;
|
|
22691
|
+
|
|
22692
|
+
const data = {
|
|
22693
|
+
props: {
|
|
22694
|
+
value: this.everyItem,
|
|
22695
|
+
indeterminate: !this.everyItem && this.someItems,
|
|
22696
|
+
color: (_this$checkboxColor = this.checkboxColor) != null ? _this$checkboxColor : ''
|
|
22697
|
+
},
|
|
22698
|
+
on: {
|
|
22699
|
+
input: v => this.$emit('toggle-select-all', v)
|
|
22700
|
+
}
|
|
22701
|
+
};
|
|
22702
|
+
|
|
22703
|
+
if (this.$scopedSlots['data-table-select']) {
|
|
22704
|
+
return this.$scopedSlots['data-table-select'](data);
|
|
22705
|
+
}
|
|
22706
|
+
|
|
22707
|
+
return this.$createElement(VCheckbox_VSimpleCheckbox, {
|
|
22708
|
+
staticClass: 'v-data-table__checkbox',
|
|
22709
|
+
...data
|
|
22710
|
+
});
|
|
22711
|
+
},
|
|
22712
|
+
|
|
22713
|
+
genSortIcon() {
|
|
22714
|
+
return this.$createElement(components_VIcon, {
|
|
22715
|
+
staticClass: 'v-data-table-header__icon',
|
|
22716
|
+
props: {
|
|
22717
|
+
size: 18
|
|
22718
|
+
}
|
|
22719
|
+
}, [this.sortIcon]);
|
|
22720
|
+
}
|
|
22721
|
+
|
|
22722
|
+
}
|
|
22723
|
+
}));
|
|
22724
|
+
//# sourceMappingURL=header.js.map
|
|
22725
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderMobile.js
|
|
22726
|
+
|
|
22727
|
+
|
|
22728
|
+
|
|
22729
|
+
|
|
22730
|
+
|
|
22731
|
+
/* harmony default export */ var VDataTableHeaderMobile = (mixins(mixins_header).extend({
|
|
22732
|
+
name: 'v-data-table-header-mobile',
|
|
22733
|
+
props: {
|
|
22734
|
+
sortByText: {
|
|
22735
|
+
type: String,
|
|
22736
|
+
default: '$vuetify.dataTable.sortBy'
|
|
22737
|
+
}
|
|
22738
|
+
},
|
|
22739
|
+
methods: {
|
|
22740
|
+
genSortChip(props) {
|
|
22741
|
+
const children = [props.item.text];
|
|
22742
|
+
const sortIndex = this.options.sortBy.findIndex(k => k === props.item.value);
|
|
22743
|
+
const beingSorted = sortIndex >= 0;
|
|
22744
|
+
const isDesc = this.options.sortDesc[sortIndex];
|
|
22745
|
+
children.push(this.$createElement('div', {
|
|
22746
|
+
staticClass: 'v-chip__close',
|
|
22747
|
+
class: {
|
|
22748
|
+
sortable: true,
|
|
22749
|
+
active: beingSorted,
|
|
22750
|
+
asc: beingSorted && !isDesc,
|
|
22751
|
+
desc: beingSorted && isDesc
|
|
22752
|
+
}
|
|
22753
|
+
}, [this.genSortIcon()]));
|
|
22754
|
+
return this.$createElement(components_VChip, {
|
|
22755
|
+
staticClass: 'sortable',
|
|
22756
|
+
on: {
|
|
22757
|
+
click: e => {
|
|
22758
|
+
e.stopPropagation();
|
|
22759
|
+
this.$emit('sort', props.item.value);
|
|
22760
|
+
}
|
|
22761
|
+
}
|
|
22762
|
+
}, children);
|
|
22763
|
+
},
|
|
22764
|
+
|
|
22765
|
+
genSortSelect(items) {
|
|
22766
|
+
return this.$createElement(VSelect_VSelect, {
|
|
22767
|
+
props: {
|
|
22768
|
+
label: this.$vuetify.lang.t(this.sortByText),
|
|
22769
|
+
items,
|
|
22770
|
+
hideDetails: true,
|
|
22771
|
+
multiple: this.options.multiSort,
|
|
22772
|
+
value: this.options.multiSort ? this.options.sortBy : this.options.sortBy[0],
|
|
22773
|
+
menuProps: {
|
|
22774
|
+
closeOnContentClick: true
|
|
22775
|
+
}
|
|
22776
|
+
},
|
|
22777
|
+
on: {
|
|
22778
|
+
change: v => this.$emit('sort', v)
|
|
22779
|
+
},
|
|
22780
|
+
scopedSlots: {
|
|
22781
|
+
selection: props => this.genSortChip(props)
|
|
22782
|
+
}
|
|
22783
|
+
});
|
|
22784
|
+
}
|
|
22785
|
+
|
|
22786
|
+
},
|
|
22787
|
+
|
|
22788
|
+
render(h) {
|
|
22789
|
+
const children = [];
|
|
22790
|
+
const header = this.headers.find(h => h.value === 'data-table-select');
|
|
22791
|
+
|
|
22792
|
+
if (header && !this.singleSelect) {
|
|
22793
|
+
children.push(this.$createElement('div', {
|
|
22794
|
+
class: ['v-data-table-header-mobile__select', ...wrapInArray(header.class)],
|
|
22795
|
+
attrs: {
|
|
22796
|
+
width: header.width
|
|
22797
|
+
}
|
|
22798
|
+
}, [this.genSelectAll()]));
|
|
22799
|
+
}
|
|
22800
|
+
|
|
22801
|
+
const sortHeaders = this.headers.filter(h => h.sortable !== false && h.value !== 'data-table-select').map(h => ({
|
|
22802
|
+
text: h.text,
|
|
22803
|
+
value: h.value
|
|
22804
|
+
}));
|
|
22805
|
+
|
|
22806
|
+
if (!this.disableSort && sortHeaders.length) {
|
|
22807
|
+
children.push(this.genSortSelect(sortHeaders));
|
|
22808
|
+
}
|
|
22809
|
+
|
|
22810
|
+
const th = h('th', [h('div', {
|
|
22811
|
+
staticClass: 'v-data-table-header-mobile__wrapper'
|
|
22812
|
+
}, children)]);
|
|
22813
|
+
const tr = h('tr', [th]);
|
|
22814
|
+
return h('thead', {
|
|
22815
|
+
staticClass: 'v-data-table-header v-data-table-header-mobile'
|
|
22816
|
+
}, [tr]);
|
|
22817
|
+
}
|
|
22818
|
+
|
|
22819
|
+
}));
|
|
22820
|
+
//# sourceMappingURL=VDataTableHeaderMobile.js.map
|
|
22821
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderDesktop.js
|
|
22822
|
+
|
|
22823
|
+
|
|
22824
|
+
|
|
22825
|
+
/* harmony default export */ var VDataTableHeaderDesktop = (mixins(mixins_header).extend({
|
|
22826
|
+
name: 'v-data-table-header-desktop',
|
|
22827
|
+
methods: {
|
|
22828
|
+
genGroupByToggle(header) {
|
|
22829
|
+
return this.$createElement('span', {
|
|
22830
|
+
on: {
|
|
22831
|
+
click: e => {
|
|
22832
|
+
e.stopPropagation();
|
|
22833
|
+
this.$emit('group', header.value);
|
|
22834
|
+
}
|
|
22835
|
+
}
|
|
22836
|
+
}, ['group']);
|
|
22837
|
+
},
|
|
22838
|
+
|
|
22839
|
+
getAria(beingSorted, isDesc) {
|
|
22840
|
+
const $t = key => this.$vuetify.lang.t(`$vuetify.dataTable.ariaLabel.${key}`);
|
|
22841
|
+
|
|
22842
|
+
let ariaSort = 'none';
|
|
22843
|
+
let ariaLabel = [$t('sortNone'), $t('activateAscending')];
|
|
22844
|
+
|
|
22845
|
+
if (!beingSorted) {
|
|
22846
|
+
return {
|
|
22847
|
+
ariaSort,
|
|
22848
|
+
ariaLabel: ariaLabel.join(' ')
|
|
22849
|
+
};
|
|
22850
|
+
}
|
|
22851
|
+
|
|
22852
|
+
if (isDesc) {
|
|
22853
|
+
ariaSort = 'descending';
|
|
22854
|
+
ariaLabel = [$t('sortDescending'), $t(this.options.mustSort ? 'activateAscending' : 'activateNone')];
|
|
22855
|
+
} else {
|
|
22856
|
+
ariaSort = 'ascending';
|
|
22857
|
+
ariaLabel = [$t('sortAscending'), $t('activateDescending')];
|
|
22858
|
+
}
|
|
22859
|
+
|
|
22860
|
+
return {
|
|
22861
|
+
ariaSort,
|
|
22862
|
+
ariaLabel: ariaLabel.join(' ')
|
|
22863
|
+
};
|
|
22864
|
+
},
|
|
22865
|
+
|
|
22866
|
+
genHeader(header) {
|
|
22867
|
+
const data = {
|
|
22868
|
+
attrs: {
|
|
22869
|
+
role: 'columnheader',
|
|
22870
|
+
scope: 'col',
|
|
22871
|
+
'aria-label': header.text || ''
|
|
22872
|
+
},
|
|
22873
|
+
style: {
|
|
22874
|
+
width: convertToUnit(header.width),
|
|
22875
|
+
minWidth: convertToUnit(header.width)
|
|
22876
|
+
},
|
|
22877
|
+
class: [`text-${header.align || 'start'}`, ...wrapInArray(header.class), header.divider && 'v-data-table__divider'],
|
|
22878
|
+
on: {}
|
|
22879
|
+
};
|
|
22880
|
+
const children = [];
|
|
22881
|
+
|
|
22882
|
+
if (header.value === 'data-table-select' && !this.singleSelect) {
|
|
22883
|
+
return this.$createElement('th', data, [this.genSelectAll()]);
|
|
22884
|
+
}
|
|
22885
|
+
|
|
22886
|
+
children.push(this.$scopedSlots[header.value] ? this.$scopedSlots[header.value]({
|
|
22887
|
+
header
|
|
22888
|
+
}) : this.$createElement('span', [header.text]));
|
|
22889
|
+
|
|
22890
|
+
if (!this.disableSort && (header.sortable || !header.hasOwnProperty('sortable'))) {
|
|
22891
|
+
data.on.click = () => this.$emit('sort', header.value);
|
|
22892
|
+
|
|
22893
|
+
const sortIndex = this.options.sortBy.findIndex(k => k === header.value);
|
|
22894
|
+
const beingSorted = sortIndex >= 0;
|
|
22895
|
+
const isDesc = this.options.sortDesc[sortIndex];
|
|
22896
|
+
data.class.push('sortable');
|
|
22897
|
+
const {
|
|
22898
|
+
ariaLabel,
|
|
22899
|
+
ariaSort
|
|
22900
|
+
} = this.getAria(beingSorted, isDesc);
|
|
22901
|
+
data.attrs['aria-label'] += `${header.text ? ': ' : ''}${ariaLabel}`;
|
|
22902
|
+
data.attrs['aria-sort'] = ariaSort;
|
|
22903
|
+
|
|
22904
|
+
if (beingSorted) {
|
|
22905
|
+
data.class.push('active');
|
|
22906
|
+
data.class.push(isDesc ? 'desc' : 'asc');
|
|
22907
|
+
}
|
|
22908
|
+
|
|
22909
|
+
if (header.align === 'end') children.unshift(this.genSortIcon());else children.push(this.genSortIcon());
|
|
22910
|
+
|
|
22911
|
+
if (this.options.multiSort && beingSorted) {
|
|
22912
|
+
children.push(this.$createElement('span', {
|
|
22913
|
+
class: 'v-data-table-header__sort-badge'
|
|
22914
|
+
}, [String(sortIndex + 1)]));
|
|
22915
|
+
}
|
|
22916
|
+
}
|
|
22917
|
+
|
|
22918
|
+
if (this.showGroupBy && header.groupable !== false) children.push(this.genGroupByToggle(header));
|
|
22919
|
+
return this.$createElement('th', data, children);
|
|
22920
|
+
}
|
|
22921
|
+
|
|
22922
|
+
},
|
|
22923
|
+
|
|
22924
|
+
render() {
|
|
22925
|
+
return this.$createElement('thead', {
|
|
22926
|
+
staticClass: 'v-data-table-header'
|
|
22927
|
+
}, [this.$createElement('tr', this.headers.map(header => this.genHeader(header)))]);
|
|
22928
|
+
}
|
|
22929
|
+
|
|
22930
|
+
}));
|
|
22931
|
+
//# sourceMappingURL=VDataTableHeaderDesktop.js.map
|
|
22932
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/util/dedupeModelListeners.js
|
|
22933
|
+
/**
|
|
22934
|
+
* Removes duplicate `@input` listeners when
|
|
22935
|
+
* using v-model with functional components
|
|
22936
|
+
*
|
|
22937
|
+
* @see https://github.com/vuetifyjs/vuetify/issues/4460
|
|
22938
|
+
*/
|
|
22939
|
+
function dedupeModelListeners(data) {
|
|
22940
|
+
if (data.model && data.on && data.on.input) {
|
|
22941
|
+
if (Array.isArray(data.on.input)) {
|
|
22942
|
+
const i = data.on.input.indexOf(data.model.callback);
|
|
22943
|
+
if (i > -1) data.on.input.splice(i, 1);
|
|
22944
|
+
} else {
|
|
22945
|
+
delete data.on.input;
|
|
22946
|
+
}
|
|
22947
|
+
}
|
|
22948
|
+
}
|
|
22949
|
+
//# sourceMappingURL=dedupeModelListeners.js.map
|
|
22950
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/util/rebuildFunctionalSlots.js
|
|
22951
|
+
function rebuildFunctionalSlots(slots, h) {
|
|
22952
|
+
const children = [];
|
|
22953
|
+
|
|
22954
|
+
for (const slot in slots) {
|
|
22955
|
+
if (slots.hasOwnProperty(slot)) {
|
|
22956
|
+
children.push(h('template', {
|
|
22957
|
+
slot
|
|
22958
|
+
}, slots[slot]));
|
|
22959
|
+
}
|
|
22960
|
+
}
|
|
22961
|
+
|
|
22962
|
+
return children;
|
|
22963
|
+
}
|
|
22964
|
+
//# sourceMappingURL=rebuildFunctionalSlots.js.map
|
|
22965
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTableHeader.js
|
|
22966
|
+
// Styles
|
|
22967
|
+
// Components
|
|
22968
|
+
|
|
22969
|
+
|
|
22970
|
+
// Mixins
|
|
22971
|
+
|
|
22972
|
+
// Utilities
|
|
22973
|
+
|
|
22974
|
+
|
|
22975
|
+
|
|
22976
|
+
// Types
|
|
22977
|
+
|
|
22978
|
+
|
|
22979
|
+
/* @vue/component */
|
|
22980
|
+
|
|
22981
|
+
/* harmony default export */ var VDataTable_VDataTableHeader = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
22982
|
+
name: 'v-data-table-header',
|
|
22983
|
+
functional: true,
|
|
22984
|
+
props: { ...mixins_header.options.props,
|
|
22985
|
+
mobile: Boolean
|
|
22986
|
+
},
|
|
22987
|
+
|
|
22988
|
+
render(h, {
|
|
22989
|
+
props,
|
|
22990
|
+
data,
|
|
22991
|
+
slots
|
|
22992
|
+
}) {
|
|
22993
|
+
dedupeModelListeners(data);
|
|
22994
|
+
const children = rebuildFunctionalSlots(slots(), h);
|
|
22995
|
+
data = mergeData(data, {
|
|
22996
|
+
props
|
|
22997
|
+
});
|
|
22998
|
+
|
|
22999
|
+
if (props.mobile) {
|
|
23000
|
+
return h(VDataTableHeaderMobile, data, children);
|
|
23001
|
+
} else {
|
|
23002
|
+
return h(VDataTableHeaderDesktop, data, children);
|
|
23003
|
+
}
|
|
23004
|
+
}
|
|
23005
|
+
|
|
23006
|
+
}));
|
|
23007
|
+
//# sourceMappingURL=VDataTableHeader.js.map
|
|
23008
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/Row.js
|
|
23009
|
+
// Types
|
|
23010
|
+
// Utils
|
|
23011
|
+
|
|
23012
|
+
|
|
23013
|
+
/* harmony default export */ var Row = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23014
|
+
name: 'row',
|
|
23015
|
+
functional: true,
|
|
23016
|
+
props: {
|
|
23017
|
+
headers: Array,
|
|
23018
|
+
index: Number,
|
|
23019
|
+
item: Object,
|
|
23020
|
+
rtl: Boolean
|
|
23021
|
+
},
|
|
23022
|
+
|
|
23023
|
+
render(h, {
|
|
23024
|
+
props,
|
|
23025
|
+
slots,
|
|
23026
|
+
data
|
|
23027
|
+
}) {
|
|
23028
|
+
const computedSlots = slots();
|
|
23029
|
+
const columns = props.headers.map(header => {
|
|
23030
|
+
const children = [];
|
|
23031
|
+
const value = getObjectValueByPath(props.item, header.value);
|
|
23032
|
+
const slotName = header.value;
|
|
23033
|
+
const scopedSlot = data.scopedSlots && data.scopedSlots[slotName];
|
|
23034
|
+
const regularSlot = computedSlots[slotName];
|
|
23035
|
+
|
|
23036
|
+
if (scopedSlot) {
|
|
23037
|
+
children.push(scopedSlot({
|
|
23038
|
+
item: props.item,
|
|
23039
|
+
isMobile: false,
|
|
23040
|
+
header,
|
|
23041
|
+
index: props.index,
|
|
23042
|
+
value
|
|
23043
|
+
}));
|
|
23044
|
+
} else if (regularSlot) {
|
|
23045
|
+
children.push(regularSlot);
|
|
23046
|
+
} else {
|
|
23047
|
+
children.push(value == null ? value : String(value));
|
|
23048
|
+
}
|
|
23049
|
+
|
|
23050
|
+
const textAlign = `text-${header.align || 'start'}`;
|
|
23051
|
+
return h('td', {
|
|
23052
|
+
class: [textAlign, header.cellClass, {
|
|
23053
|
+
'v-data-table__divider': header.divider
|
|
23054
|
+
}]
|
|
23055
|
+
}, children);
|
|
23056
|
+
});
|
|
23057
|
+
return h('tr', data, columns);
|
|
23058
|
+
}
|
|
23059
|
+
|
|
23060
|
+
}));
|
|
23061
|
+
//# sourceMappingURL=Row.js.map
|
|
23062
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/RowGroup.js
|
|
23063
|
+
|
|
23064
|
+
/* harmony default export */ var RowGroup = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23065
|
+
name: 'row-group',
|
|
23066
|
+
functional: true,
|
|
23067
|
+
props: {
|
|
23068
|
+
value: {
|
|
23069
|
+
type: Boolean,
|
|
23070
|
+
default: true
|
|
23071
|
+
},
|
|
23072
|
+
headerClass: {
|
|
23073
|
+
type: String,
|
|
23074
|
+
default: 'v-row-group__header'
|
|
23075
|
+
},
|
|
23076
|
+
contentClass: String,
|
|
23077
|
+
summaryClass: {
|
|
23078
|
+
type: String,
|
|
23079
|
+
default: 'v-row-group__summary'
|
|
23080
|
+
}
|
|
23081
|
+
},
|
|
23082
|
+
|
|
23083
|
+
render(h, {
|
|
23084
|
+
slots,
|
|
23085
|
+
props
|
|
23086
|
+
}) {
|
|
23087
|
+
const computedSlots = slots();
|
|
23088
|
+
const children = [];
|
|
23089
|
+
|
|
23090
|
+
if (computedSlots['column.header']) {
|
|
23091
|
+
children.push(h('tr', {
|
|
23092
|
+
staticClass: props.headerClass
|
|
23093
|
+
}, computedSlots['column.header']));
|
|
23094
|
+
} else if (computedSlots['row.header']) {
|
|
23095
|
+
children.push(...computedSlots['row.header']);
|
|
23096
|
+
}
|
|
23097
|
+
|
|
23098
|
+
if (computedSlots['row.content'] && props.value) children.push(...computedSlots['row.content']);
|
|
23099
|
+
|
|
23100
|
+
if (computedSlots['column.summary']) {
|
|
23101
|
+
children.push(h('tr', {
|
|
23102
|
+
staticClass: props.summaryClass
|
|
23103
|
+
}, computedSlots['column.summary']));
|
|
23104
|
+
} else if (computedSlots['row.summary']) {
|
|
23105
|
+
children.push(...computedSlots['row.summary']);
|
|
23106
|
+
}
|
|
23107
|
+
|
|
23108
|
+
return children;
|
|
23109
|
+
}
|
|
23110
|
+
|
|
23111
|
+
}));
|
|
23112
|
+
//# sourceMappingURL=RowGroup.js.map
|
|
23113
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataTable/VSimpleTable.sass
|
|
23114
|
+
var VSimpleTable = __webpack_require__("8b37");
|
|
23115
|
+
|
|
23116
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VSimpleTable.js
|
|
23117
|
+
|
|
23118
|
+
|
|
23119
|
+
|
|
23120
|
+
|
|
23121
|
+
/* harmony default export */ var VDataTable_VSimpleTable = (mixins(themeable).extend({
|
|
23122
|
+
name: 'v-simple-table',
|
|
23123
|
+
props: {
|
|
23124
|
+
dense: Boolean,
|
|
23125
|
+
fixedHeader: Boolean,
|
|
23126
|
+
height: [Number, String]
|
|
23127
|
+
},
|
|
23128
|
+
computed: {
|
|
23129
|
+
classes() {
|
|
23130
|
+
return {
|
|
23131
|
+
'v-data-table--dense': this.dense,
|
|
23132
|
+
'v-data-table--fixed-height': !!this.height && !this.fixedHeader,
|
|
23133
|
+
'v-data-table--fixed-header': this.fixedHeader,
|
|
23134
|
+
'v-data-table--has-top': !!this.$slots.top,
|
|
23135
|
+
'v-data-table--has-bottom': !!this.$slots.bottom,
|
|
23136
|
+
...this.themeClasses
|
|
23137
|
+
};
|
|
23138
|
+
}
|
|
23139
|
+
|
|
23140
|
+
},
|
|
23141
|
+
methods: {
|
|
23142
|
+
genWrapper() {
|
|
23143
|
+
return this.$slots.wrapper || this.$createElement('div', {
|
|
23144
|
+
staticClass: 'v-data-table__wrapper',
|
|
23145
|
+
style: {
|
|
23146
|
+
height: convertToUnit(this.height)
|
|
23147
|
+
}
|
|
23148
|
+
}, [this.$createElement('table', this.$slots.default)]);
|
|
23149
|
+
}
|
|
23150
|
+
|
|
23151
|
+
},
|
|
23152
|
+
|
|
23153
|
+
render(h) {
|
|
23154
|
+
return h('div', {
|
|
23155
|
+
staticClass: 'v-data-table',
|
|
23156
|
+
class: this.classes
|
|
23157
|
+
}, [this.$slots.top, this.genWrapper(), this.$slots.bottom]);
|
|
23158
|
+
}
|
|
23159
|
+
|
|
23160
|
+
}));
|
|
23161
|
+
//# sourceMappingURL=VSimpleTable.js.map
|
|
23162
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/MobileRow.js
|
|
23163
|
+
|
|
23164
|
+
|
|
23165
|
+
/* harmony default export */ var MobileRow = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23166
|
+
name: 'row',
|
|
23167
|
+
functional: true,
|
|
23168
|
+
props: {
|
|
23169
|
+
headers: Array,
|
|
23170
|
+
hideDefaultHeader: Boolean,
|
|
23171
|
+
index: Number,
|
|
23172
|
+
item: Object,
|
|
23173
|
+
rtl: Boolean
|
|
23174
|
+
},
|
|
23175
|
+
|
|
23176
|
+
render(h, {
|
|
23177
|
+
props,
|
|
23178
|
+
slots,
|
|
23179
|
+
data
|
|
23180
|
+
}) {
|
|
23181
|
+
const computedSlots = slots();
|
|
23182
|
+
const columns = props.headers.map(header => {
|
|
23183
|
+
const classes = {
|
|
23184
|
+
'v-data-table__mobile-row': true
|
|
23185
|
+
};
|
|
23186
|
+
const children = [];
|
|
23187
|
+
const value = getObjectValueByPath(props.item, header.value);
|
|
23188
|
+
const slotName = header.value;
|
|
23189
|
+
const scopedSlot = data.scopedSlots && data.scopedSlots[slotName];
|
|
23190
|
+
const regularSlot = computedSlots[slotName];
|
|
23191
|
+
|
|
23192
|
+
if (scopedSlot) {
|
|
23193
|
+
children.push(scopedSlot({
|
|
23194
|
+
item: props.item,
|
|
23195
|
+
isMobile: true,
|
|
23196
|
+
header,
|
|
23197
|
+
index: props.index,
|
|
23198
|
+
value
|
|
23199
|
+
}));
|
|
23200
|
+
} else if (regularSlot) {
|
|
23201
|
+
children.push(regularSlot);
|
|
23202
|
+
} else {
|
|
23203
|
+
children.push(value == null ? value : String(value));
|
|
23204
|
+
}
|
|
23205
|
+
|
|
23206
|
+
const mobileRowChildren = [h('div', {
|
|
23207
|
+
staticClass: 'v-data-table__mobile-row__cell'
|
|
23208
|
+
}, children)];
|
|
23209
|
+
|
|
23210
|
+
if (header.value !== 'dataTableSelect' && !props.hideDefaultHeader) {
|
|
23211
|
+
mobileRowChildren.unshift(h('div', {
|
|
23212
|
+
staticClass: 'v-data-table__mobile-row__header'
|
|
23213
|
+
}, [header.text]));
|
|
23214
|
+
}
|
|
23215
|
+
|
|
23216
|
+
return h('td', {
|
|
23217
|
+
class: classes
|
|
23218
|
+
}, mobileRowChildren);
|
|
23219
|
+
});
|
|
23220
|
+
return h('tr', { ...data,
|
|
23221
|
+
staticClass: 'v-data-table__mobile-table-row'
|
|
23222
|
+
}, columns);
|
|
23223
|
+
}
|
|
23224
|
+
|
|
23225
|
+
}));
|
|
23226
|
+
//# sourceMappingURL=MobileRow.js.map
|
|
23227
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTable.js
|
|
23228
|
+
// Components
|
|
23229
|
+
|
|
23230
|
+
|
|
23231
|
+
|
|
23232
|
+
|
|
23233
|
+
// import VVirtualTable from './VVirtualTable'
|
|
23234
|
+
|
|
23235
|
+
|
|
23236
|
+
|
|
23237
|
+
|
|
23238
|
+
|
|
23239
|
+
|
|
23240
|
+
// Mixins
|
|
23241
|
+
|
|
23242
|
+
// Directives
|
|
23243
|
+
|
|
23244
|
+
// Helpers
|
|
23245
|
+
|
|
23246
|
+
|
|
23247
|
+
|
|
23248
|
+
|
|
23249
|
+
|
|
23250
|
+
|
|
23251
|
+
function filterFn(item, search, filter) {
|
|
23252
|
+
return header => {
|
|
23253
|
+
const value = getObjectValueByPath(item, header.value);
|
|
23254
|
+
return header.filter ? header.filter(value, search, item) : filter(value, search, item);
|
|
23255
|
+
};
|
|
23256
|
+
}
|
|
23257
|
+
|
|
23258
|
+
function searchTableItems(items, search, headersWithCustomFilters, headersWithoutCustomFilters, customFilter) {
|
|
23259
|
+
search = typeof search === 'string' ? search.trim() : null;
|
|
23260
|
+
return items.filter(item => {
|
|
23261
|
+
// Headers with custom filters are evaluated whether or not a search term has been provided.
|
|
23262
|
+
// We need to match every filter to be included in the results.
|
|
23263
|
+
const matchesColumnFilters = headersWithCustomFilters.every(filterFn(item, search, defaultFilter)); // Headers without custom filters are only filtered by the `search` property if it is defined.
|
|
23264
|
+
// We only need a single column to match the search term to be included in the results.
|
|
23265
|
+
|
|
23266
|
+
const matchesSearchTerm = !search || headersWithoutCustomFilters.some(filterFn(item, search, customFilter));
|
|
23267
|
+
return matchesColumnFilters && matchesSearchTerm;
|
|
23268
|
+
});
|
|
23269
|
+
}
|
|
23270
|
+
/* @vue/component */
|
|
23271
|
+
|
|
23272
|
+
|
|
23273
|
+
/* harmony default export */ var VDataTable_VDataTable = (mixins(VDataIterator, loadable).extend({
|
|
23274
|
+
name: 'v-data-table',
|
|
23275
|
+
// https://github.com/vuejs/vue/issues/6872
|
|
23276
|
+
directives: {
|
|
23277
|
+
ripple: directives_ripple
|
|
23278
|
+
},
|
|
23279
|
+
props: {
|
|
23280
|
+
headers: {
|
|
23281
|
+
type: Array,
|
|
23282
|
+
default: () => []
|
|
23283
|
+
},
|
|
23284
|
+
showSelect: Boolean,
|
|
23285
|
+
checkboxColor: String,
|
|
23286
|
+
showExpand: Boolean,
|
|
23287
|
+
showGroupBy: Boolean,
|
|
23288
|
+
// TODO: Fix
|
|
23289
|
+
// virtualRows: Boolean,
|
|
23290
|
+
height: [Number, String],
|
|
23291
|
+
hideDefaultHeader: Boolean,
|
|
23292
|
+
caption: String,
|
|
23293
|
+
dense: Boolean,
|
|
23294
|
+
headerProps: Object,
|
|
23295
|
+
calculateWidths: Boolean,
|
|
23296
|
+
fixedHeader: Boolean,
|
|
23297
|
+
headersLength: Number,
|
|
23298
|
+
expandIcon: {
|
|
23299
|
+
type: String,
|
|
23300
|
+
default: '$expand'
|
|
23301
|
+
},
|
|
23302
|
+
customFilter: {
|
|
23303
|
+
type: Function,
|
|
23304
|
+
default: defaultFilter
|
|
23305
|
+
},
|
|
23306
|
+
itemClass: {
|
|
23307
|
+
type: [String, Function],
|
|
23308
|
+
default: () => ''
|
|
23309
|
+
},
|
|
23310
|
+
loaderHeight: {
|
|
23311
|
+
type: [Number, String],
|
|
23312
|
+
default: 4
|
|
23313
|
+
}
|
|
23314
|
+
},
|
|
23315
|
+
|
|
23316
|
+
data() {
|
|
23317
|
+
return {
|
|
23318
|
+
internalGroupBy: [],
|
|
23319
|
+
openCache: {},
|
|
23320
|
+
widths: []
|
|
23321
|
+
};
|
|
23322
|
+
},
|
|
23323
|
+
|
|
23324
|
+
computed: {
|
|
23325
|
+
computedHeaders() {
|
|
23326
|
+
if (!this.headers) return [];
|
|
23327
|
+
const headers = this.headers.filter(h => h.value === undefined || !this.internalGroupBy.find(v => v === h.value));
|
|
23328
|
+
const defaultHeader = {
|
|
23329
|
+
text: '',
|
|
23330
|
+
sortable: false,
|
|
23331
|
+
width: '1px'
|
|
23332
|
+
};
|
|
23333
|
+
|
|
23334
|
+
if (this.showSelect) {
|
|
23335
|
+
const index = headers.findIndex(h => h.value === 'data-table-select');
|
|
23336
|
+
if (index < 0) headers.unshift({ ...defaultHeader,
|
|
23337
|
+
value: 'data-table-select'
|
|
23338
|
+
});else headers.splice(index, 1, { ...defaultHeader,
|
|
23339
|
+
...headers[index]
|
|
23340
|
+
});
|
|
23341
|
+
}
|
|
23342
|
+
|
|
23343
|
+
if (this.showExpand) {
|
|
23344
|
+
const index = headers.findIndex(h => h.value === 'data-table-expand');
|
|
23345
|
+
if (index < 0) headers.unshift({ ...defaultHeader,
|
|
23346
|
+
value: 'data-table-expand'
|
|
23347
|
+
});else headers.splice(index, 1, { ...defaultHeader,
|
|
23348
|
+
...headers[index]
|
|
23349
|
+
});
|
|
23350
|
+
}
|
|
23351
|
+
|
|
23352
|
+
return headers;
|
|
23353
|
+
},
|
|
23354
|
+
|
|
23355
|
+
colspanAttrs() {
|
|
23356
|
+
return this.isMobile ? undefined : {
|
|
23357
|
+
colspan: this.headersLength || this.computedHeaders.length
|
|
23358
|
+
};
|
|
23359
|
+
},
|
|
23360
|
+
|
|
23361
|
+
columnSorters() {
|
|
23362
|
+
return this.computedHeaders.reduce((acc, header) => {
|
|
23363
|
+
if (header.sort) acc[header.value] = header.sort;
|
|
23364
|
+
return acc;
|
|
23365
|
+
}, {});
|
|
23366
|
+
},
|
|
23367
|
+
|
|
23368
|
+
headersWithCustomFilters() {
|
|
23369
|
+
return this.headers.filter(header => header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true));
|
|
23370
|
+
},
|
|
23371
|
+
|
|
23372
|
+
headersWithoutCustomFilters() {
|
|
23373
|
+
return this.headers.filter(header => !header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true));
|
|
23374
|
+
},
|
|
23375
|
+
|
|
23376
|
+
sanitizedHeaderProps() {
|
|
23377
|
+
return camelizeObjectKeys(this.headerProps);
|
|
23378
|
+
},
|
|
23379
|
+
|
|
23380
|
+
computedItemsPerPage() {
|
|
23381
|
+
const itemsPerPage = this.options && this.options.itemsPerPage ? this.options.itemsPerPage : this.itemsPerPage;
|
|
23382
|
+
const itemsPerPageOptions = this.sanitizedFooterProps.itemsPerPageOptions;
|
|
23383
|
+
|
|
23384
|
+
if (itemsPerPageOptions && !itemsPerPageOptions.find(item => typeof item === 'number' ? item === itemsPerPage : item.value === itemsPerPage)) {
|
|
23385
|
+
const firstOption = itemsPerPageOptions[0];
|
|
23386
|
+
return typeof firstOption === 'object' ? firstOption.value : firstOption;
|
|
23387
|
+
}
|
|
23388
|
+
|
|
23389
|
+
return itemsPerPage;
|
|
23390
|
+
}
|
|
23391
|
+
|
|
23392
|
+
},
|
|
23393
|
+
|
|
23394
|
+
created() {
|
|
23395
|
+
const breakingProps = [['sort-icon', 'header-props.sort-icon'], ['hide-headers', 'hide-default-header'], ['select-all', 'show-select']];
|
|
23396
|
+
/* istanbul ignore next */
|
|
23397
|
+
|
|
23398
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
23399
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this);
|
|
23400
|
+
});
|
|
23401
|
+
},
|
|
23402
|
+
|
|
23403
|
+
mounted() {
|
|
23404
|
+
// if ((!this.sortBy || !this.sortBy.length) && (!this.options.sortBy || !this.options.sortBy.length)) {
|
|
23405
|
+
// const firstSortable = this.headers.find(h => !('sortable' in h) || !!h.sortable)
|
|
23406
|
+
// if (firstSortable) this.updateOptions({ sortBy: [firstSortable.value], sortDesc: [false] })
|
|
23407
|
+
// }
|
|
23408
|
+
if (this.calculateWidths) {
|
|
23409
|
+
window.addEventListener('resize', this.calcWidths);
|
|
23410
|
+
this.calcWidths();
|
|
23411
|
+
}
|
|
23412
|
+
},
|
|
23413
|
+
|
|
23414
|
+
beforeDestroy() {
|
|
23415
|
+
if (this.calculateWidths) {
|
|
23416
|
+
window.removeEventListener('resize', this.calcWidths);
|
|
23417
|
+
}
|
|
23418
|
+
},
|
|
23419
|
+
|
|
23420
|
+
methods: {
|
|
23421
|
+
calcWidths() {
|
|
23422
|
+
this.widths = Array.from(this.$el.querySelectorAll('th')).map(e => e.clientWidth);
|
|
23423
|
+
},
|
|
23424
|
+
|
|
23425
|
+
customFilterWithColumns(items, search) {
|
|
23426
|
+
return searchTableItems(items, search, this.headersWithCustomFilters, this.headersWithoutCustomFilters, this.customFilter);
|
|
23427
|
+
},
|
|
23428
|
+
|
|
23429
|
+
customSortWithHeaders(items, sortBy, sortDesc, locale) {
|
|
23430
|
+
return this.customSort(items, sortBy, sortDesc, locale, this.columnSorters);
|
|
23431
|
+
},
|
|
23432
|
+
|
|
23433
|
+
createItemProps(item, index) {
|
|
23434
|
+
const props = VDataIterator.options.methods.createItemProps.call(this, item, index);
|
|
23435
|
+
return Object.assign(props, {
|
|
23436
|
+
headers: this.computedHeaders
|
|
23437
|
+
});
|
|
23438
|
+
},
|
|
23439
|
+
|
|
23440
|
+
genCaption(props) {
|
|
23441
|
+
if (this.caption) return [this.$createElement('caption', [this.caption])];
|
|
23442
|
+
return getSlot(this, 'caption', props, true);
|
|
23443
|
+
},
|
|
23444
|
+
|
|
23445
|
+
genColgroup(props) {
|
|
23446
|
+
return this.$createElement('colgroup', this.computedHeaders.map(header => {
|
|
23447
|
+
return this.$createElement('col', {
|
|
23448
|
+
class: {
|
|
23449
|
+
divider: header.divider
|
|
23450
|
+
}
|
|
23451
|
+
});
|
|
23452
|
+
}));
|
|
23453
|
+
},
|
|
23454
|
+
|
|
23455
|
+
genLoading() {
|
|
23456
|
+
const th = this.$createElement('th', {
|
|
23457
|
+
staticClass: 'column',
|
|
23458
|
+
attrs: this.colspanAttrs
|
|
23459
|
+
}, [this.genProgress()]);
|
|
23460
|
+
const tr = this.$createElement('tr', {
|
|
23461
|
+
staticClass: 'v-data-table__progress'
|
|
23462
|
+
}, [th]);
|
|
23463
|
+
return this.$createElement('thead', [tr]);
|
|
23464
|
+
},
|
|
23465
|
+
|
|
23466
|
+
genHeaders(props) {
|
|
23467
|
+
const data = {
|
|
23468
|
+
props: { ...this.sanitizedHeaderProps,
|
|
23469
|
+
headers: this.computedHeaders,
|
|
23470
|
+
options: props.options,
|
|
23471
|
+
mobile: this.isMobile,
|
|
23472
|
+
showGroupBy: this.showGroupBy,
|
|
23473
|
+
checkboxColor: this.checkboxColor,
|
|
23474
|
+
someItems: this.someItems,
|
|
23475
|
+
everyItem: this.everyItem,
|
|
23476
|
+
singleSelect: this.singleSelect,
|
|
23477
|
+
disableSort: this.disableSort
|
|
23478
|
+
},
|
|
23479
|
+
on: {
|
|
23480
|
+
sort: props.sort,
|
|
23481
|
+
group: props.group,
|
|
23482
|
+
'toggle-select-all': this.toggleSelectAll
|
|
23483
|
+
}
|
|
23484
|
+
}; // TODO: rename to 'head'? (thead, tbody, tfoot)
|
|
23485
|
+
|
|
23486
|
+
const children = [getSlot(this, 'header', { ...data,
|
|
23487
|
+
isMobile: this.isMobile
|
|
23488
|
+
})];
|
|
23489
|
+
|
|
23490
|
+
if (!this.hideDefaultHeader) {
|
|
23491
|
+
const scopedSlots = getPrefixedScopedSlots('header.', this.$scopedSlots);
|
|
23492
|
+
children.push(this.$createElement(VDataTable_VDataTableHeader, { ...data,
|
|
23493
|
+
scopedSlots
|
|
23494
|
+
}));
|
|
23495
|
+
}
|
|
23496
|
+
|
|
23497
|
+
if (this.loading) children.push(this.genLoading());
|
|
23498
|
+
return children;
|
|
23499
|
+
},
|
|
23500
|
+
|
|
23501
|
+
genEmptyWrapper(content) {
|
|
23502
|
+
return this.$createElement('tr', {
|
|
23503
|
+
staticClass: 'v-data-table__empty-wrapper'
|
|
23504
|
+
}, [this.$createElement('td', {
|
|
23505
|
+
attrs: this.colspanAttrs
|
|
23506
|
+
}, content)]);
|
|
23507
|
+
},
|
|
23508
|
+
|
|
23509
|
+
genItems(items, props) {
|
|
23510
|
+
const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength);
|
|
23511
|
+
if (empty) return [empty];
|
|
23512
|
+
return props.groupedItems ? this.genGroupedRows(props.groupedItems, props) : this.genRows(items, props);
|
|
23513
|
+
},
|
|
23514
|
+
|
|
23515
|
+
genGroupedRows(groupedItems, props) {
|
|
23516
|
+
return groupedItems.map(group => {
|
|
23517
|
+
if (!this.openCache.hasOwnProperty(group.name)) this.$set(this.openCache, group.name, true);
|
|
23518
|
+
|
|
23519
|
+
if (this.$scopedSlots.group) {
|
|
23520
|
+
return this.$scopedSlots.group({
|
|
23521
|
+
group: group.name,
|
|
23522
|
+
options: props.options,
|
|
23523
|
+
isMobile: this.isMobile,
|
|
23524
|
+
items: group.items,
|
|
23525
|
+
headers: this.computedHeaders
|
|
23526
|
+
});
|
|
23527
|
+
} else {
|
|
23528
|
+
return this.genDefaultGroupedRow(group.name, group.items, props);
|
|
23529
|
+
}
|
|
23530
|
+
});
|
|
23531
|
+
},
|
|
23532
|
+
|
|
23533
|
+
genDefaultGroupedRow(group, items, props) {
|
|
23534
|
+
const isOpen = !!this.openCache[group];
|
|
23535
|
+
const children = [this.$createElement('template', {
|
|
23536
|
+
slot: 'row.content'
|
|
23537
|
+
}, this.genRows(items, props))];
|
|
23538
|
+
|
|
23539
|
+
const toggleFn = () => this.$set(this.openCache, group, !this.openCache[group]);
|
|
23540
|
+
|
|
23541
|
+
const removeFn = () => props.updateOptions({
|
|
23542
|
+
groupBy: [],
|
|
23543
|
+
groupDesc: []
|
|
23544
|
+
});
|
|
23545
|
+
|
|
23546
|
+
if (this.$scopedSlots['group.header']) {
|
|
23547
|
+
children.unshift(this.$createElement('template', {
|
|
23548
|
+
slot: 'column.header'
|
|
23549
|
+
}, [this.$scopedSlots['group.header']({
|
|
23550
|
+
group,
|
|
23551
|
+
groupBy: props.options.groupBy,
|
|
23552
|
+
isMobile: this.isMobile,
|
|
23553
|
+
items,
|
|
23554
|
+
headers: this.computedHeaders,
|
|
23555
|
+
isOpen,
|
|
23556
|
+
toggle: toggleFn,
|
|
23557
|
+
remove: removeFn
|
|
23558
|
+
})]));
|
|
23559
|
+
} else {
|
|
23560
|
+
const toggle = this.$createElement(components_VBtn, {
|
|
23561
|
+
staticClass: 'ma-0',
|
|
23562
|
+
props: {
|
|
23563
|
+
icon: true,
|
|
23564
|
+
small: true
|
|
23565
|
+
},
|
|
23566
|
+
on: {
|
|
23567
|
+
click: toggleFn
|
|
23568
|
+
}
|
|
23569
|
+
}, [this.$createElement(components_VIcon, [isOpen ? '$minus' : '$plus'])]);
|
|
23570
|
+
const remove = this.$createElement(components_VBtn, {
|
|
23571
|
+
staticClass: 'ma-0',
|
|
23572
|
+
props: {
|
|
23573
|
+
icon: true,
|
|
23574
|
+
small: true
|
|
23575
|
+
},
|
|
23576
|
+
on: {
|
|
23577
|
+
click: removeFn
|
|
23578
|
+
}
|
|
23579
|
+
}, [this.$createElement(components_VIcon, ['$close'])]);
|
|
23580
|
+
const column = this.$createElement('td', {
|
|
23581
|
+
staticClass: 'text-start',
|
|
23582
|
+
attrs: this.colspanAttrs
|
|
23583
|
+
}, [toggle, `${props.options.groupBy[0]}: ${group}`, remove]);
|
|
23584
|
+
children.unshift(this.$createElement('template', {
|
|
23585
|
+
slot: 'column.header'
|
|
23586
|
+
}, [column]));
|
|
23587
|
+
}
|
|
23588
|
+
|
|
23589
|
+
if (this.$scopedSlots['group.summary']) {
|
|
23590
|
+
children.push(this.$createElement('template', {
|
|
23591
|
+
slot: 'column.summary'
|
|
23592
|
+
}, [this.$scopedSlots['group.summary']({
|
|
23593
|
+
group,
|
|
23594
|
+
groupBy: props.options.groupBy,
|
|
23595
|
+
isMobile: this.isMobile,
|
|
23596
|
+
items,
|
|
23597
|
+
headers: this.computedHeaders,
|
|
23598
|
+
isOpen,
|
|
23599
|
+
toggle: toggleFn
|
|
23600
|
+
})]));
|
|
23601
|
+
}
|
|
23602
|
+
|
|
23603
|
+
return this.$createElement(RowGroup, {
|
|
23604
|
+
key: group,
|
|
23605
|
+
props: {
|
|
23606
|
+
value: isOpen
|
|
23607
|
+
}
|
|
23608
|
+
}, children);
|
|
23609
|
+
},
|
|
23610
|
+
|
|
23611
|
+
genRows(items, props) {
|
|
23612
|
+
return this.$scopedSlots.item ? this.genScopedRows(items, props) : this.genDefaultRows(items, props);
|
|
23613
|
+
},
|
|
23614
|
+
|
|
23615
|
+
genScopedRows(items, props) {
|
|
23616
|
+
const rows = [];
|
|
23617
|
+
|
|
23618
|
+
for (let i = 0; i < items.length; i++) {
|
|
23619
|
+
const item = items[i];
|
|
23620
|
+
rows.push(this.$scopedSlots.item({ ...this.createItemProps(item, i),
|
|
23621
|
+
isMobile: this.isMobile
|
|
23622
|
+
}));
|
|
23623
|
+
|
|
23624
|
+
if (this.isExpanded(item)) {
|
|
23625
|
+
rows.push(this.$scopedSlots['expanded-item']({
|
|
23626
|
+
headers: this.computedHeaders,
|
|
23627
|
+
isMobile: this.isMobile,
|
|
23628
|
+
index: i,
|
|
23629
|
+
item
|
|
23630
|
+
}));
|
|
23631
|
+
}
|
|
23632
|
+
}
|
|
23633
|
+
|
|
23634
|
+
return rows;
|
|
23635
|
+
},
|
|
23636
|
+
|
|
23637
|
+
genDefaultRows(items, props) {
|
|
23638
|
+
return this.$scopedSlots['expanded-item'] ? items.map((item, index) => this.genDefaultExpandedRow(item, index)) : items.map((item, index) => this.genDefaultSimpleRow(item, index));
|
|
23639
|
+
},
|
|
23640
|
+
|
|
23641
|
+
genDefaultExpandedRow(item, index) {
|
|
23642
|
+
const isExpanded = this.isExpanded(item);
|
|
23643
|
+
const classes = {
|
|
23644
|
+
'v-data-table__expanded v-data-table__expanded__row': isExpanded
|
|
23645
|
+
};
|
|
23646
|
+
const headerRow = this.genDefaultSimpleRow(item, index, classes);
|
|
23647
|
+
const expandedRow = this.$createElement('tr', {
|
|
23648
|
+
staticClass: 'v-data-table__expanded v-data-table__expanded__content'
|
|
23649
|
+
}, [this.$scopedSlots['expanded-item']({
|
|
23650
|
+
headers: this.computedHeaders,
|
|
23651
|
+
isMobile: this.isMobile,
|
|
23652
|
+
item
|
|
23653
|
+
})]);
|
|
23654
|
+
return this.$createElement(RowGroup, {
|
|
23655
|
+
props: {
|
|
23656
|
+
value: isExpanded
|
|
23657
|
+
}
|
|
23658
|
+
}, [this.$createElement('template', {
|
|
23659
|
+
slot: 'row.header'
|
|
23660
|
+
}, [headerRow]), this.$createElement('template', {
|
|
23661
|
+
slot: 'row.content'
|
|
23662
|
+
}, [expandedRow])]);
|
|
23663
|
+
},
|
|
23664
|
+
|
|
23665
|
+
genDefaultSimpleRow(item, index, classes = {}) {
|
|
23666
|
+
const scopedSlots = getPrefixedScopedSlots('item.', this.$scopedSlots);
|
|
23667
|
+
const data = this.createItemProps(item, index);
|
|
23668
|
+
|
|
23669
|
+
if (this.showSelect) {
|
|
23670
|
+
const slot = scopedSlots['data-table-select'];
|
|
23671
|
+
scopedSlots['data-table-select'] = slot ? () => slot({ ...data,
|
|
23672
|
+
isMobile: this.isMobile
|
|
23673
|
+
}) : () => {
|
|
23674
|
+
var _this$checkboxColor;
|
|
23675
|
+
|
|
23676
|
+
return this.$createElement(VCheckbox_VSimpleCheckbox, {
|
|
23677
|
+
staticClass: 'v-data-table__checkbox',
|
|
23678
|
+
props: {
|
|
23679
|
+
value: data.isSelected,
|
|
23680
|
+
disabled: !this.isSelectable(item),
|
|
23681
|
+
color: (_this$checkboxColor = this.checkboxColor) != null ? _this$checkboxColor : ''
|
|
23682
|
+
},
|
|
23683
|
+
on: {
|
|
23684
|
+
input: val => data.select(val)
|
|
23685
|
+
}
|
|
23686
|
+
});
|
|
23687
|
+
};
|
|
23688
|
+
}
|
|
23689
|
+
|
|
23690
|
+
if (this.showExpand) {
|
|
23691
|
+
const slot = scopedSlots['data-table-expand'];
|
|
23692
|
+
scopedSlots['data-table-expand'] = slot ? () => slot(data) : () => this.$createElement(components_VIcon, {
|
|
23693
|
+
staticClass: 'v-data-table__expand-icon',
|
|
23694
|
+
class: {
|
|
23695
|
+
'v-data-table__expand-icon--active': data.isExpanded
|
|
23696
|
+
},
|
|
23697
|
+
on: {
|
|
23698
|
+
click: e => {
|
|
23699
|
+
e.stopPropagation();
|
|
23700
|
+
data.expand(!data.isExpanded);
|
|
23701
|
+
}
|
|
23702
|
+
}
|
|
23703
|
+
}, [this.expandIcon]);
|
|
23704
|
+
}
|
|
23705
|
+
|
|
23706
|
+
return this.$createElement(this.isMobile ? MobileRow : Row, {
|
|
23707
|
+
key: getObjectValueByPath(item, this.itemKey),
|
|
23708
|
+
class: mergeClasses({ ...classes,
|
|
23709
|
+
'v-data-table__selected': data.isSelected
|
|
23710
|
+
}, getPropertyFromItem(item, this.itemClass)),
|
|
23711
|
+
props: {
|
|
23712
|
+
headers: this.computedHeaders,
|
|
23713
|
+
hideDefaultHeader: this.hideDefaultHeader,
|
|
23714
|
+
index,
|
|
23715
|
+
item,
|
|
23716
|
+
rtl: this.$vuetify.rtl
|
|
23717
|
+
},
|
|
23718
|
+
scopedSlots,
|
|
23719
|
+
on: {
|
|
23720
|
+
// TODO: for click, the first argument should be the event, and the second argument should be data,
|
|
23721
|
+
// but this is a breaking change so it's for v3
|
|
23722
|
+
click: () => this.$emit('click:row', item, data),
|
|
23723
|
+
contextmenu: event => this.$emit('contextmenu:row', event, data),
|
|
23724
|
+
dblclick: event => this.$emit('dblclick:row', event, data)
|
|
23725
|
+
}
|
|
23726
|
+
});
|
|
23727
|
+
},
|
|
23728
|
+
|
|
23729
|
+
genBody(props) {
|
|
23730
|
+
const data = { ...props,
|
|
23731
|
+
expand: this.expand,
|
|
23732
|
+
headers: this.computedHeaders,
|
|
23733
|
+
isExpanded: this.isExpanded,
|
|
23734
|
+
isMobile: this.isMobile,
|
|
23735
|
+
isSelected: this.isSelected,
|
|
23736
|
+
select: this.select
|
|
23737
|
+
};
|
|
23738
|
+
|
|
23739
|
+
if (this.$scopedSlots.body) {
|
|
23740
|
+
return this.$scopedSlots.body(data);
|
|
23741
|
+
}
|
|
23742
|
+
|
|
23743
|
+
return this.$createElement('tbody', [getSlot(this, 'body.prepend', data, true), this.genItems(props.items, props), getSlot(this, 'body.append', data, true)]);
|
|
23744
|
+
},
|
|
23745
|
+
|
|
23746
|
+
genFoot(props) {
|
|
23747
|
+
var _this$$scopedSlots$fo, _this$$scopedSlots;
|
|
23748
|
+
|
|
23749
|
+
return (_this$$scopedSlots$fo = (_this$$scopedSlots = this.$scopedSlots).foot) == null ? void 0 : _this$$scopedSlots$fo.call(_this$$scopedSlots, props);
|
|
23750
|
+
},
|
|
23751
|
+
|
|
23752
|
+
genFooters(props) {
|
|
23753
|
+
const data = {
|
|
23754
|
+
props: {
|
|
23755
|
+
options: props.options,
|
|
23756
|
+
pagination: props.pagination,
|
|
23757
|
+
itemsPerPageText: '$vuetify.dataTable.itemsPerPageText',
|
|
23758
|
+
...this.sanitizedFooterProps
|
|
23759
|
+
},
|
|
23760
|
+
on: {
|
|
23761
|
+
'update:options': value => props.updateOptions(value)
|
|
23762
|
+
},
|
|
23763
|
+
widths: this.widths,
|
|
23764
|
+
headers: this.computedHeaders
|
|
23765
|
+
};
|
|
23766
|
+
const children = [getSlot(this, 'footer', data, true)];
|
|
23767
|
+
|
|
23768
|
+
if (!this.hideDefaultFooter) {
|
|
23769
|
+
children.push(this.$createElement(VDataIterator_VDataFooter, { ...data,
|
|
23770
|
+
scopedSlots: getPrefixedScopedSlots('footer.', this.$scopedSlots)
|
|
23771
|
+
}));
|
|
23772
|
+
}
|
|
23773
|
+
|
|
23774
|
+
return children;
|
|
23775
|
+
},
|
|
23776
|
+
|
|
23777
|
+
genDefaultScopedSlot(props) {
|
|
23778
|
+
const simpleProps = {
|
|
23779
|
+
height: this.height,
|
|
23780
|
+
fixedHeader: this.fixedHeader,
|
|
23781
|
+
dense: this.dense
|
|
23782
|
+
}; // if (this.virtualRows) {
|
|
23783
|
+
// return this.$createElement(VVirtualTable, {
|
|
23784
|
+
// props: Object.assign(simpleProps, {
|
|
23785
|
+
// items: props.items,
|
|
23786
|
+
// height: this.height,
|
|
23787
|
+
// rowHeight: this.dense ? 24 : 48,
|
|
23788
|
+
// headerHeight: this.dense ? 32 : 48,
|
|
23789
|
+
// // TODO: expose rest of props from virtual table?
|
|
23790
|
+
// }),
|
|
23791
|
+
// scopedSlots: {
|
|
23792
|
+
// items: ({ items }) => this.genItems(items, props) as any,
|
|
23793
|
+
// },
|
|
23794
|
+
// }, [
|
|
23795
|
+
// this.proxySlot('body.before', [this.genCaption(props), this.genHeaders(props)]),
|
|
23796
|
+
// this.proxySlot('bottom', this.genFooters(props)),
|
|
23797
|
+
// ])
|
|
23798
|
+
// }
|
|
23799
|
+
|
|
23800
|
+
return this.$createElement(VDataTable_VSimpleTable, {
|
|
23801
|
+
props: simpleProps,
|
|
23802
|
+
class: {
|
|
23803
|
+
'v-data-table--mobile': this.isMobile
|
|
23804
|
+
}
|
|
23805
|
+
}, [this.proxySlot('top', getSlot(this, 'top', { ...props,
|
|
23806
|
+
isMobile: this.isMobile
|
|
23807
|
+
}, true)), this.genCaption(props), this.genColgroup(props), this.genHeaders(props), this.genBody(props), this.genFoot(props), this.proxySlot('bottom', this.genFooters(props))]);
|
|
23808
|
+
},
|
|
23809
|
+
|
|
23810
|
+
proxySlot(slot, content) {
|
|
23811
|
+
return this.$createElement('template', {
|
|
23812
|
+
slot
|
|
23813
|
+
}, content);
|
|
23814
|
+
}
|
|
23815
|
+
|
|
23816
|
+
},
|
|
23817
|
+
|
|
23818
|
+
render() {
|
|
23819
|
+
return this.$createElement(VData, {
|
|
23820
|
+
props: { ...this.$props,
|
|
23821
|
+
customFilter: this.customFilterWithColumns,
|
|
23822
|
+
customSort: this.customSortWithHeaders,
|
|
23823
|
+
itemsPerPage: this.computedItemsPerPage
|
|
23824
|
+
},
|
|
23825
|
+
on: {
|
|
23826
|
+
'update:options': (v, old) => {
|
|
23827
|
+
this.internalGroupBy = v.groupBy || [];
|
|
23828
|
+
!deepEqual(v, old) && this.$emit('update:options', v);
|
|
23829
|
+
},
|
|
23830
|
+
'update:page': v => this.$emit('update:page', v),
|
|
23831
|
+
'update:items-per-page': v => this.$emit('update:items-per-page', v),
|
|
23832
|
+
'update:sort-by': v => this.$emit('update:sort-by', v),
|
|
23833
|
+
'update:sort-desc': v => this.$emit('update:sort-desc', v),
|
|
23834
|
+
'update:group-by': v => this.$emit('update:group-by', v),
|
|
23835
|
+
'update:group-desc': v => this.$emit('update:group-desc', v),
|
|
23836
|
+
pagination: (v, old) => !deepEqual(v, old) && this.$emit('pagination', v),
|
|
23837
|
+
'current-items': v => {
|
|
23838
|
+
this.internalCurrentItems = v;
|
|
23839
|
+
this.$emit('current-items', v);
|
|
23840
|
+
},
|
|
23841
|
+
'page-count': v => this.$emit('page-count', v)
|
|
23842
|
+
},
|
|
23843
|
+
scopedSlots: {
|
|
23844
|
+
default: this.genDefaultScopedSlot
|
|
23845
|
+
}
|
|
23846
|
+
});
|
|
23847
|
+
}
|
|
23848
|
+
|
|
23849
|
+
}));
|
|
23850
|
+
//# sourceMappingURL=VDataTable.js.map
|
|
23851
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=script&lang=js&
|
|
23852
|
+
|
|
23853
|
+
|
|
23854
|
+
//
|
|
23855
|
+
//
|
|
23856
|
+
//
|
|
23857
|
+
//
|
|
23858
|
+
//
|
|
23859
|
+
//
|
|
23860
|
+
//
|
|
23861
|
+
//
|
|
23862
|
+
//
|
|
23863
|
+
//
|
|
23864
|
+
//
|
|
23865
|
+
//
|
|
23866
|
+
//
|
|
23867
|
+
//
|
|
23868
|
+
//
|
|
23869
|
+
//
|
|
23870
|
+
//
|
|
23871
|
+
//
|
|
23872
|
+
//
|
|
23873
|
+
//
|
|
23874
|
+
//
|
|
23875
|
+
//
|
|
23876
|
+
//
|
|
23877
|
+
//
|
|
23878
|
+
//
|
|
23879
|
+
//
|
|
23880
|
+
//
|
|
23881
|
+
//
|
|
23882
|
+
//
|
|
23883
|
+
//
|
|
23884
|
+
//
|
|
23885
|
+
//
|
|
23886
|
+
//
|
|
23887
|
+
//
|
|
23888
|
+
//
|
|
23889
|
+
//
|
|
23890
|
+
//
|
|
23891
|
+
//
|
|
23892
|
+
//
|
|
23893
|
+
//
|
|
23894
|
+
//
|
|
23895
|
+
//
|
|
23896
|
+
//
|
|
23897
|
+
//
|
|
23898
|
+
//
|
|
23899
|
+
//
|
|
23900
|
+
//
|
|
23901
|
+
//
|
|
23902
|
+
//
|
|
23903
|
+
//
|
|
23904
|
+
//
|
|
23905
|
+
//
|
|
23906
|
+
//
|
|
23907
|
+
//
|
|
23908
|
+
//
|
|
23909
|
+
//
|
|
23910
|
+
//
|
|
23911
|
+
//
|
|
23912
|
+
//
|
|
23913
|
+
//
|
|
23914
|
+
//
|
|
23915
|
+
//
|
|
23916
|
+
//
|
|
23917
|
+
//
|
|
23918
|
+
//
|
|
23919
|
+
//
|
|
23920
|
+
//
|
|
23921
|
+
//
|
|
23922
|
+
//
|
|
23923
|
+
//
|
|
23924
|
+
//
|
|
23925
|
+
//
|
|
23926
|
+
//
|
|
23927
|
+
//
|
|
23928
|
+
//
|
|
23929
|
+
//
|
|
23930
|
+
//
|
|
23931
|
+
|
|
23932
|
+
|
|
23933
|
+
|
|
23934
|
+
|
|
23935
|
+
|
|
23936
|
+
|
|
23937
|
+
|
|
23938
|
+
/* harmony default export */ var SelectModalOptionsvue_type_script_lang_js_ = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23939
|
+
name: 'farm-select-modal-options',
|
|
23940
|
+
components: {
|
|
23941
|
+
VTextField: components_VTextField,
|
|
23942
|
+
VCol: VCol,
|
|
23943
|
+
VMain: VMain_VMain,
|
|
23944
|
+
VDataTable: VDataTable_VDataTable,
|
|
23945
|
+
VDialog: VDialog_VDialog,
|
|
23946
|
+
DialogHeader: components_DialogHeader,
|
|
23947
|
+
DialogFooter: components_DialogFooter,
|
|
23948
|
+
DataTableEmptyWrapper: components_DataTableEmptyWrapper,
|
|
23949
|
+
DataTablePaginator: components_DataTablePaginator
|
|
23950
|
+
},
|
|
23951
|
+
props: {
|
|
23952
|
+
/**
|
|
23953
|
+
* Input Label
|
|
23954
|
+
*/
|
|
23955
|
+
label: {
|
|
23956
|
+
type: String,
|
|
23957
|
+
required: true
|
|
23958
|
+
},
|
|
23959
|
+
|
|
23960
|
+
/**
|
|
23961
|
+
* Input ID
|
|
23962
|
+
*/
|
|
23963
|
+
inputId: {
|
|
23964
|
+
type: String,
|
|
23965
|
+
required: true
|
|
23966
|
+
},
|
|
23967
|
+
|
|
23968
|
+
/**
|
|
23969
|
+
* Key used to get value from selected item
|
|
23970
|
+
*/
|
|
23971
|
+
selectIdentifier: {
|
|
23972
|
+
type: String,
|
|
23973
|
+
default: 'id'
|
|
23974
|
+
},
|
|
23975
|
+
|
|
23976
|
+
/**
|
|
23977
|
+
* Format label from each item
|
|
23978
|
+
* If value is a function, it is evaluted (use it to build complex strings)
|
|
23979
|
+
* Otherwise, will get item value from the key with the prop value
|
|
23980
|
+
*/
|
|
23981
|
+
itemLabelFormatter: {
|
|
23982
|
+
default: 'name'
|
|
23983
|
+
},
|
|
23984
|
+
|
|
23985
|
+
/**
|
|
23986
|
+
* Items to be shown in the table
|
|
23987
|
+
*/
|
|
23988
|
+
items: {
|
|
23989
|
+
type: Array,
|
|
23990
|
+
default: function _default() {
|
|
23991
|
+
return [];
|
|
23992
|
+
}
|
|
23993
|
+
},
|
|
23994
|
+
|
|
23995
|
+
/**
|
|
23996
|
+
* Function that will be called when user focus/click the input
|
|
23997
|
+
*/
|
|
23998
|
+
loadFn: {
|
|
23999
|
+
type: Function,
|
|
24000
|
+
default: function _default() {}
|
|
24001
|
+
},
|
|
24002
|
+
|
|
24003
|
+
/**
|
|
24004
|
+
* Request Status from the loader function
|
|
24005
|
+
*/
|
|
24006
|
+
loadingRequestStatus: {
|
|
24007
|
+
default: 'IDLE'
|
|
24008
|
+
},
|
|
24009
|
+
|
|
24010
|
+
/**
|
|
24011
|
+
* Title from the modal
|
|
24012
|
+
*/
|
|
24013
|
+
modalTitle: {
|
|
24014
|
+
type: String,
|
|
24015
|
+
default: 'Selecione um item'
|
|
24016
|
+
},
|
|
24017
|
+
|
|
24018
|
+
/**
|
|
24019
|
+
* General configuration
|
|
24020
|
+
*/
|
|
24021
|
+
config: {
|
|
24022
|
+
default: function _default() {
|
|
24023
|
+
return {
|
|
24024
|
+
md: 2,
|
|
24025
|
+
required: false
|
|
24026
|
+
};
|
|
24027
|
+
}
|
|
24028
|
+
},
|
|
24029
|
+
|
|
24030
|
+
/**
|
|
24031
|
+
* Placeholder from the search input
|
|
24032
|
+
*/
|
|
24033
|
+
placeholder: {
|
|
24034
|
+
type: String,
|
|
24035
|
+
default: 'Pesquise'
|
|
24036
|
+
},
|
|
24037
|
+
|
|
24038
|
+
/**
|
|
24039
|
+
* v-model
|
|
24040
|
+
*/
|
|
24041
|
+
value: {
|
|
24042
|
+
required: true
|
|
24043
|
+
}
|
|
24044
|
+
},
|
|
24045
|
+
computed: {
|
|
24046
|
+
inputVal: {
|
|
24047
|
+
get: function get() {
|
|
24048
|
+
return this.value;
|
|
24049
|
+
},
|
|
24050
|
+
set: function set(val) {
|
|
24051
|
+
this.$emit('input', val);
|
|
24052
|
+
}
|
|
24053
|
+
},
|
|
24054
|
+
isLoading: function isLoading() {
|
|
24055
|
+
return this.loadingRequestStatus === 'START';
|
|
24056
|
+
},
|
|
24057
|
+
selectedValueText: {
|
|
24058
|
+
get: function get() {
|
|
24059
|
+
return this.selectedItem ? this.getItemLabel(this.selectedItem) : '';
|
|
24060
|
+
}
|
|
24061
|
+
},
|
|
24062
|
+
totalPages: function totalPages() {
|
|
24063
|
+
if (this.items !== undefined) {
|
|
24064
|
+
return Math.ceil(this.items.length / 10);
|
|
24065
|
+
}
|
|
24066
|
+
|
|
24067
|
+
return 0;
|
|
24068
|
+
}
|
|
24069
|
+
},
|
|
24070
|
+
data: function data() {
|
|
24071
|
+
return {
|
|
24072
|
+
selectedValue: {},
|
|
24073
|
+
showModal: false,
|
|
24074
|
+
selectedItem: null,
|
|
24075
|
+
searchValue: '',
|
|
24076
|
+
headers: [{
|
|
24077
|
+
text: 'Label',
|
|
24078
|
+
sortable: false,
|
|
24079
|
+
value: 'label',
|
|
24080
|
+
align: 'left'
|
|
24081
|
+
}],
|
|
24082
|
+
pagination: {
|
|
24083
|
+
page: 1,
|
|
24084
|
+
itemsPerPage: 10,
|
|
24085
|
+
pages: 0
|
|
24086
|
+
}
|
|
24087
|
+
};
|
|
24088
|
+
},
|
|
24089
|
+
watch: {
|
|
24090
|
+
value: function value(newValue) {
|
|
24091
|
+
if (!newValue || newValue === undefined) {
|
|
24092
|
+
this.selectedItem = null;
|
|
24093
|
+
}
|
|
24094
|
+
},
|
|
24095
|
+
items: function items(newValue) {
|
|
24096
|
+
this.pagination.pages = Math.ceil(newValue.length / 10);
|
|
24097
|
+
}
|
|
24098
|
+
},
|
|
24099
|
+
methods: {
|
|
24100
|
+
handlePagination: function handlePagination(tablePagination) {
|
|
24101
|
+
if (tablePagination.page === 1 && tablePagination.itemsLength !== this.pagination.pages) {
|
|
24102
|
+
this.pagination.pages = Math.ceil(tablePagination.itemsLength / 10);
|
|
24103
|
+
}
|
|
24104
|
+
},
|
|
24105
|
+
openModal: function openModal() {
|
|
24106
|
+
this.loadFn();
|
|
24107
|
+
this.showModal = true;
|
|
24108
|
+
},
|
|
24109
|
+
closeModal: function closeModal() {
|
|
24110
|
+
this.showModal = false;
|
|
24111
|
+
},
|
|
24112
|
+
onChangePage: function onChangePage(newPage) {
|
|
24113
|
+
this.pagination.page = newPage;
|
|
24114
|
+
},
|
|
24115
|
+
getItemLabel: function getItemLabel(item) {
|
|
24116
|
+
if (typeof this.itemLabelFormatter === 'function') {
|
|
24117
|
+
return this.itemLabelFormatter(item);
|
|
24118
|
+
}
|
|
24119
|
+
|
|
24120
|
+
return item[this.itemLabelFormatter];
|
|
24121
|
+
},
|
|
24122
|
+
handleClick: function handleClick(item) {
|
|
24123
|
+
this.inputVal = item[this.selectIdentifier];
|
|
24124
|
+
this.showModal = false;
|
|
24125
|
+
this.selectedItem = item;
|
|
24126
|
+
},
|
|
24127
|
+
customFilter: function customFilter(_, search, item) {
|
|
24128
|
+
var label = this.getItemLabel(item);
|
|
24129
|
+
return label.toLowerCase().includes(search.toLowerCase());
|
|
24130
|
+
}
|
|
24131
|
+
}
|
|
24132
|
+
}));
|
|
24133
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=script&lang=js&
|
|
24134
|
+
/* harmony default export */ var SelectModalOptions_SelectModalOptionsvue_type_script_lang_js_ = (SelectModalOptionsvue_type_script_lang_js_);
|
|
24135
|
+
// EXTERNAL MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=style&index=0&id=04f9e4b0&lang=scss&scoped=true&
|
|
24136
|
+
var SelectModalOptionsvue_type_style_index_0_id_04f9e4b0_lang_scss_scoped_true_ = __webpack_require__("1051");
|
|
24137
|
+
|
|
24138
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue
|
|
24139
|
+
|
|
24140
|
+
|
|
24141
|
+
|
|
24142
|
+
|
|
24143
|
+
|
|
24144
|
+
|
|
24145
|
+
/* normalize component */
|
|
24146
|
+
|
|
24147
|
+
var SelectModalOptions_component = normalizeComponent(
|
|
24148
|
+
SelectModalOptions_SelectModalOptionsvue_type_script_lang_js_,
|
|
24149
|
+
SelectModalOptionsvue_type_template_id_04f9e4b0_scoped_true_render,
|
|
24150
|
+
SelectModalOptionsvue_type_template_id_04f9e4b0_scoped_true_staticRenderFns,
|
|
24151
|
+
false,
|
|
24152
|
+
null,
|
|
24153
|
+
"04f9e4b0",
|
|
24154
|
+
null
|
|
24155
|
+
|
|
24156
|
+
)
|
|
24157
|
+
|
|
24158
|
+
/* harmony default export */ var SelectModalOptions = (SelectModalOptions_component.exports);
|
|
24159
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/index.js
|
|
24160
|
+
|
|
24161
|
+
|
|
24162
|
+
/* harmony default export */ var components_SelectModalOptions = (SelectModalOptions);
|
|
24163
|
+
// CONCATENATED MODULE: ./src/main.js
|
|
24164
|
+
|
|
24165
|
+
|
|
21373
24166
|
|
|
21374
24167
|
|
|
21375
24168
|
|