@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
|
@@ -194,6 +194,28 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
194
194
|
});
|
|
195
195
|
|
|
196
196
|
|
|
197
|
+
/***/ }),
|
|
198
|
+
|
|
199
|
+
/***/ "0fa1":
|
|
200
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
201
|
+
|
|
202
|
+
"use strict";
|
|
203
|
+
/* 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");
|
|
204
|
+
/* 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__);
|
|
205
|
+
/* unused harmony reexport * */
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
/***/ }),
|
|
209
|
+
|
|
210
|
+
/***/ "1051":
|
|
211
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
212
|
+
|
|
213
|
+
"use strict";
|
|
214
|
+
/* 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");
|
|
215
|
+
/* 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__);
|
|
216
|
+
/* unused harmony reexport * */
|
|
217
|
+
|
|
218
|
+
|
|
197
219
|
/***/ }),
|
|
198
220
|
|
|
199
221
|
/***/ "107c":
|
|
@@ -607,6 +629,28 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
607
629
|
};
|
|
608
630
|
|
|
609
631
|
|
|
632
|
+
/***/ }),
|
|
633
|
+
|
|
634
|
+
/***/ "2532":
|
|
635
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
636
|
+
|
|
637
|
+
"use strict";
|
|
638
|
+
|
|
639
|
+
var $ = __webpack_require__("23e7");
|
|
640
|
+
var notARegExp = __webpack_require__("5a34");
|
|
641
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
642
|
+
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
643
|
+
|
|
644
|
+
// `String.prototype.includes` method
|
|
645
|
+
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
646
|
+
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
647
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
648
|
+
return !!~String(requireObjectCoercible(this))
|
|
649
|
+
.indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);
|
|
650
|
+
}
|
|
651
|
+
});
|
|
652
|
+
|
|
653
|
+
|
|
610
654
|
/***/ }),
|
|
611
655
|
|
|
612
656
|
/***/ "25a8":
|
|
@@ -798,6 +842,33 @@ module.exports = fails(function () {
|
|
|
798
842
|
} : Object;
|
|
799
843
|
|
|
800
844
|
|
|
845
|
+
/***/ }),
|
|
846
|
+
|
|
847
|
+
/***/ "44d2":
|
|
848
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
849
|
+
|
|
850
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
851
|
+
var create = __webpack_require__("7c73");
|
|
852
|
+
var definePropertyModule = __webpack_require__("9bf2");
|
|
853
|
+
|
|
854
|
+
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
855
|
+
var ArrayPrototype = Array.prototype;
|
|
856
|
+
|
|
857
|
+
// Array.prototype[@@unscopables]
|
|
858
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
859
|
+
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
860
|
+
definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
|
|
861
|
+
configurable: true,
|
|
862
|
+
value: create(null)
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
// add a key to Array.prototype[@@unscopables]
|
|
867
|
+
module.exports = function (key) {
|
|
868
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
|
|
801
872
|
/***/ }),
|
|
802
873
|
|
|
803
874
|
/***/ "44e7":
|
|
@@ -916,6 +987,13 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
916
987
|
});
|
|
917
988
|
|
|
918
989
|
|
|
990
|
+
/***/ }),
|
|
991
|
+
|
|
992
|
+
/***/ "495d":
|
|
993
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
994
|
+
|
|
995
|
+
// extracted by mini-css-extract-plugin
|
|
996
|
+
|
|
919
997
|
/***/ }),
|
|
920
998
|
|
|
921
999
|
/***/ "4b85":
|
|
@@ -1079,6 +1157,20 @@ module.exports = {
|
|
|
1079
1157
|
};
|
|
1080
1158
|
|
|
1081
1159
|
|
|
1160
|
+
/***/ }),
|
|
1161
|
+
|
|
1162
|
+
/***/ "5a34":
|
|
1163
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1164
|
+
|
|
1165
|
+
var isRegExp = __webpack_require__("44e7");
|
|
1166
|
+
|
|
1167
|
+
module.exports = function (it) {
|
|
1168
|
+
if (isRegExp(it)) {
|
|
1169
|
+
throw TypeError("The method doesn't accept regular expressions");
|
|
1170
|
+
} return it;
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
|
|
1082
1174
|
/***/ }),
|
|
1083
1175
|
|
|
1084
1176
|
/***/ "5bea":
|
|
@@ -1347,6 +1439,13 @@ var TEMPLATE = String(String).split('String');
|
|
|
1347
1439
|
});
|
|
1348
1440
|
|
|
1349
1441
|
|
|
1442
|
+
/***/ }),
|
|
1443
|
+
|
|
1444
|
+
/***/ "712a":
|
|
1445
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1446
|
+
|
|
1447
|
+
// extracted by mini-css-extract-plugin
|
|
1448
|
+
|
|
1350
1449
|
/***/ }),
|
|
1351
1450
|
|
|
1352
1451
|
/***/ "7156":
|
|
@@ -1734,6 +1833,13 @@ module.exports = function (S, index, unicode) {
|
|
|
1734
1833
|
|
|
1735
1834
|
/***/ }),
|
|
1736
1835
|
|
|
1836
|
+
/***/ "8b37":
|
|
1837
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1838
|
+
|
|
1839
|
+
// extracted by mini-css-extract-plugin
|
|
1840
|
+
|
|
1841
|
+
/***/ }),
|
|
1842
|
+
|
|
1737
1843
|
/***/ "8bbf":
|
|
1738
1844
|
/***/ (function(module, exports) {
|
|
1739
1845
|
|
|
@@ -1801,6 +1907,13 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
1801
1907
|
};
|
|
1802
1908
|
|
|
1803
1909
|
|
|
1910
|
+
/***/ }),
|
|
1911
|
+
|
|
1912
|
+
/***/ "91f4":
|
|
1913
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1914
|
+
|
|
1915
|
+
// extracted by mini-css-extract-plugin
|
|
1916
|
+
|
|
1804
1917
|
/***/ }),
|
|
1805
1918
|
|
|
1806
1919
|
/***/ "9263":
|
|
@@ -2235,6 +2348,28 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
|
|
|
2235
2348
|
}
|
|
2236
2349
|
|
|
2237
2350
|
|
|
2351
|
+
/***/ }),
|
|
2352
|
+
|
|
2353
|
+
/***/ "ab13":
|
|
2354
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2355
|
+
|
|
2356
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
2357
|
+
|
|
2358
|
+
var MATCH = wellKnownSymbol('match');
|
|
2359
|
+
|
|
2360
|
+
module.exports = function (METHOD_NAME) {
|
|
2361
|
+
var regexp = /./;
|
|
2362
|
+
try {
|
|
2363
|
+
'/./'[METHOD_NAME](regexp);
|
|
2364
|
+
} catch (error1) {
|
|
2365
|
+
try {
|
|
2366
|
+
regexp[MATCH] = false;
|
|
2367
|
+
return '/./'[METHOD_NAME](regexp);
|
|
2368
|
+
} catch (error2) { /* empty */ }
|
|
2369
|
+
} return false;
|
|
2370
|
+
};
|
|
2371
|
+
|
|
2372
|
+
|
|
2238
2373
|
/***/ }),
|
|
2239
2374
|
|
|
2240
2375
|
/***/ "ac1f":
|
|
@@ -2566,6 +2701,29 @@ module.exports = function (object, names) {
|
|
|
2566
2701
|
};
|
|
2567
2702
|
|
|
2568
2703
|
|
|
2704
|
+
/***/ }),
|
|
2705
|
+
|
|
2706
|
+
/***/ "caad":
|
|
2707
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2708
|
+
|
|
2709
|
+
"use strict";
|
|
2710
|
+
|
|
2711
|
+
var $ = __webpack_require__("23e7");
|
|
2712
|
+
var $includes = __webpack_require__("4d64").includes;
|
|
2713
|
+
var addToUnscopables = __webpack_require__("44d2");
|
|
2714
|
+
|
|
2715
|
+
// `Array.prototype.includes` method
|
|
2716
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2717
|
+
$({ target: 'Array', proto: true }, {
|
|
2718
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2719
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2720
|
+
}
|
|
2721
|
+
});
|
|
2722
|
+
|
|
2723
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2724
|
+
addToUnscopables('includes');
|
|
2725
|
+
|
|
2726
|
+
|
|
2569
2727
|
/***/ }),
|
|
2570
2728
|
|
|
2571
2729
|
/***/ "cc12":
|
|
@@ -2982,6 +3140,13 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
|
2982
3140
|
|
|
2983
3141
|
/***/ }),
|
|
2984
3142
|
|
|
3143
|
+
/***/ "f360":
|
|
3144
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3145
|
+
|
|
3146
|
+
// extracted by mini-css-extract-plugin
|
|
3147
|
+
|
|
3148
|
+
/***/ }),
|
|
3149
|
+
|
|
2985
3150
|
/***/ "f772":
|
|
2986
3151
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2987
3152
|
|
|
@@ -2995,6 +3160,13 @@ module.exports = function (key) {
|
|
|
2995
3160
|
};
|
|
2996
3161
|
|
|
2997
3162
|
|
|
3163
|
+
/***/ }),
|
|
3164
|
+
|
|
3165
|
+
/***/ "f823":
|
|
3166
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3167
|
+
|
|
3168
|
+
// extracted by mini-css-extract-plugin
|
|
3169
|
+
|
|
2998
3170
|
/***/ }),
|
|
2999
3171
|
|
|
3000
3172
|
/***/ "f88b":
|
|
@@ -3041,6 +3213,8 @@ __webpack_require__.d(__webpack_exports__, "RemoveButton", function() { return /
|
|
|
3041
3213
|
__webpack_require__.d(__webpack_exports__, "ProductLogo", function() { return /* reexport */ ProductLogo; });
|
|
3042
3214
|
__webpack_require__.d(__webpack_exports__, "OriginatorLogo", function() { return /* reexport */ OriginatorLogo; });
|
|
3043
3215
|
__webpack_require__.d(__webpack_exports__, "ResetTableRowSelection", function() { return /* reexport */ ResetTableRowSelection; });
|
|
3216
|
+
__webpack_require__.d(__webpack_exports__, "MultipleSelectShortener", function() { return /* reexport */ MultipleSelectShortener; });
|
|
3217
|
+
__webpack_require__.d(__webpack_exports__, "SelectModalOptions", function() { return /* reexport */ SelectModalOptions; });
|
|
3044
3218
|
|
|
3045
3219
|
// NAMESPACE OBJECT: ./node_modules/vuetify/lib/services/goto/easing-patterns.js
|
|
3046
3220
|
var easing_patterns_namespaceObject = {};
|
|
@@ -3083,7 +3257,7 @@ if (typeof window !== 'undefined') {
|
|
|
3083
3257
|
// Indicate to webpack that this file can be concatenated
|
|
3084
3258
|
/* harmony default export */ var setPublicPath = (null);
|
|
3085
3259
|
|
|
3086
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3260
|
+
// 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&
|
|
3087
3261
|
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)}
|
|
3088
3262
|
var staticRenderFns = []
|
|
3089
3263
|
|
|
@@ -3560,7 +3734,7 @@ function remapInternalIcon(vm, iconName) {
|
|
|
3560
3734
|
}
|
|
3561
3735
|
};
|
|
3562
3736
|
}
|
|
3563
|
-
function
|
|
3737
|
+
function helpers_keys(o) {
|
|
3564
3738
|
return Object.keys(o);
|
|
3565
3739
|
}
|
|
3566
3740
|
/**
|
|
@@ -4857,7 +5031,7 @@ function genStyles(theme, cssVar = false) {
|
|
|
4857
5031
|
const value = theme[name];
|
|
4858
5032
|
css += genBaseColor(name, cssVar ? genColorVariable(name) : value.base);
|
|
4859
5033
|
cssVar && (variablesCss += ` ${genColorVariableName(name)}: ${value.base};\n`);
|
|
4860
|
-
const variants =
|
|
5034
|
+
const variants = helpers_keys(value);
|
|
4861
5035
|
|
|
4862
5036
|
for (let i = 0; i < variants.length; ++i) {
|
|
4863
5037
|
const variant = variants[i];
|
|
@@ -5608,7 +5782,7 @@ const VIcon_VIcon = mixins(binds_attrs, colorable, sizeable, themeable
|
|
|
5608
5782
|
large: this.large,
|
|
5609
5783
|
xLarge: this.xLarge
|
|
5610
5784
|
};
|
|
5611
|
-
const explicitSize =
|
|
5785
|
+
const explicitSize = helpers_keys(sizes).find(key => sizes[key]);
|
|
5612
5786
|
return explicitSize && SIZE_MAP[explicitSize] || convertToUnit(this.size);
|
|
5613
5787
|
},
|
|
5614
5788
|
|
|
@@ -5936,7 +6110,7 @@ var DataTableEmptyWrapper_component = normalizeComponent(
|
|
|
5936
6110
|
// CONCATENATED MODULE: ./src/components/DataTableEmptyWrapper/index.js
|
|
5937
6111
|
|
|
5938
6112
|
/* harmony default export */ var components_DataTableEmptyWrapper = (DataTableEmptyWrapper);
|
|
5939
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6113
|
+
// 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&
|
|
5940
6114
|
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)}
|
|
5941
6115
|
var DataTablePaginatorvue_type_template_id_56341a65_staticRenderFns = []
|
|
5942
6116
|
|
|
@@ -13173,7 +13347,7 @@ var DataTablePaginator_component = normalizeComponent(
|
|
|
13173
13347
|
// CONCATENATED MODULE: ./src/components/DataTablePaginator/index.js
|
|
13174
13348
|
|
|
13175
13349
|
/* harmony default export */ var components_DataTablePaginator = (DataTablePaginator);
|
|
13176
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13350
|
+
// 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&
|
|
13177
13351
|
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:[
|
|
13178
13352
|
item.sortable ? 'sortable' : '',
|
|
13179
13353
|
_vm.sortClick[$index].clicked ? 'active' : '',
|
|
@@ -13420,7 +13594,7 @@ var DataTableHeader_component = normalizeComponent(
|
|
|
13420
13594
|
// CONCATENATED MODULE: ./src/components/DataTableHeader/index.js
|
|
13421
13595
|
|
|
13422
13596
|
/* harmony default export */ var components_DataTableHeader = (DataTableHeader);
|
|
13423
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13597
|
+
// 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&
|
|
13424
13598
|
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)}
|
|
13425
13599
|
var AlertReloadvue_type_template_id_abb3d94e_scoped_true_staticRenderFns = []
|
|
13426
13600
|
|
|
@@ -14394,7 +14568,7 @@ var AlertReload_component = normalizeComponent(
|
|
|
14394
14568
|
// CONCATENATED MODULE: ./src/components/AlertReload/index.js
|
|
14395
14569
|
|
|
14396
14570
|
/* harmony default export */ var components_AlertReload = (AlertReload);
|
|
14397
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14571
|
+
// 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&
|
|
14398
14572
|
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)}
|
|
14399
14573
|
var MainFiltervue_type_template_id_6d56b8e6_scoped_true_staticRenderFns = []
|
|
14400
14574
|
|
|
@@ -14537,7 +14711,7 @@ var MainFilter_component = normalizeComponent(
|
|
|
14537
14711
|
// CONCATENATED MODULE: ./src/components/MainFilter/index.js
|
|
14538
14712
|
|
|
14539
14713
|
/* harmony default export */ var components_MainFilter = (MainFilter);
|
|
14540
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14714
|
+
// 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&
|
|
14541
14715
|
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)}
|
|
14542
14716
|
var Loadervue_type_template_id_a894d29c_staticRenderFns = []
|
|
14543
14717
|
|
|
@@ -14704,7 +14878,7 @@ var Loader_component = normalizeComponent(
|
|
|
14704
14878
|
// CONCATENATED MODULE: ./src/components/Loader/index.js
|
|
14705
14879
|
|
|
14706
14880
|
/* harmony default export */ var components_Loader = (Loader);
|
|
14707
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14881
|
+
// 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&
|
|
14708
14882
|
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()])}
|
|
14709
14883
|
var FilePickervue_type_template_id_3d9247d5_scoped_true_staticRenderFns = []
|
|
14710
14884
|
|
|
@@ -14814,7 +14988,7 @@ var FilePicker_component = normalizeComponent(
|
|
|
14814
14988
|
// CONCATENATED MODULE: ./src/components/FilePicker/index.js
|
|
14815
14989
|
|
|
14816
14990
|
/* harmony default export */ var components_FilePicker = (FilePicker);
|
|
14817
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14991
|
+
// 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&
|
|
14818
14992
|
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)}
|
|
14819
14993
|
var Tabsvue_type_template_id_00a31444_scoped_true_staticRenderFns = []
|
|
14820
14994
|
|
|
@@ -14961,7 +15135,7 @@ function touch_inserted(el, binding, vnode) {
|
|
|
14961
15135
|
const handlers = createHandlers(binding.value);
|
|
14962
15136
|
target._touchHandlers = Object(target._touchHandlers);
|
|
14963
15137
|
target._touchHandlers[vnode.context._uid] = handlers;
|
|
14964
|
-
|
|
15138
|
+
helpers_keys(handlers).forEach(eventName => {
|
|
14965
15139
|
target.addEventListener(eventName, handlers[eventName], options);
|
|
14966
15140
|
});
|
|
14967
15141
|
}
|
|
@@ -14970,7 +15144,7 @@ function touch_unbind(el, binding, vnode) {
|
|
|
14970
15144
|
const target = binding.value.parent ? el.parentElement : el;
|
|
14971
15145
|
if (!target || !target._touchHandlers) return;
|
|
14972
15146
|
const handlers = target._touchHandlers[vnode.context._uid];
|
|
14973
|
-
|
|
15147
|
+
helpers_keys(handlers).forEach(eventName => {
|
|
14974
15148
|
target.removeEventListener(eventName, handlers[eventName]);
|
|
14975
15149
|
});
|
|
14976
15150
|
delete target._touchHandlers[vnode.context._uid];
|
|
@@ -16340,7 +16514,7 @@ var Tabs_component = normalizeComponent(
|
|
|
16340
16514
|
// CONCATENATED MODULE: ./src/components/Tabs/index.js
|
|
16341
16515
|
|
|
16342
16516
|
/* harmony default export */ var components_Tabs = (Tabs);
|
|
16343
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16517
|
+
// 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&
|
|
16344
16518
|
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)}
|
|
16345
16519
|
var DialogHeadervue_type_template_id_93930314_staticRenderFns = []
|
|
16346
16520
|
|
|
@@ -16433,7 +16607,7 @@ var DialogHeader_component = normalizeComponent(
|
|
|
16433
16607
|
// CONCATENATED MODULE: ./src/components/DialogHeader/index.js
|
|
16434
16608
|
|
|
16435
16609
|
/* harmony default export */ var components_DialogHeader = (DialogHeader);
|
|
16436
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16610
|
+
// 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&
|
|
16437
16611
|
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)}
|
|
16438
16612
|
var DialogFootervue_type_template_id_991fb86c_staticRenderFns = []
|
|
16439
16613
|
|
|
@@ -16576,14 +16750,16 @@ var DialogFooter_component = normalizeComponent(
|
|
|
16576
16750
|
// CONCATENATED MODULE: ./src/components/DialogFooter/index.js
|
|
16577
16751
|
|
|
16578
16752
|
/* harmony default export */ var components_DialogFooter = (DialogFooter);
|
|
16579
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16580
|
-
var
|
|
16581
|
-
var
|
|
16753
|
+
// 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&
|
|
16754
|
+
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)}
|
|
16755
|
+
var DefaultTextFieldvue_type_template_id_db592b9e_staticRenderFns = []
|
|
16582
16756
|
|
|
16583
16757
|
|
|
16584
|
-
// CONCATENATED MODULE: ./src/components/DefaultTextField/DefaultTextField.vue?vue&type=template&id=
|
|
16758
|
+
// CONCATENATED MODULE: ./src/components/DefaultTextField/DefaultTextField.vue?vue&type=template&id=db592b9e&
|
|
16585
16759
|
|
|
16586
16760
|
// 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&
|
|
16761
|
+
|
|
16762
|
+
//
|
|
16587
16763
|
//
|
|
16588
16764
|
//
|
|
16589
16765
|
//
|
|
@@ -16622,16 +16798,20 @@ var DefaultTextFieldvue_type_template_id_36d90281_staticRenderFns = []
|
|
|
16622
16798
|
},
|
|
16623
16799
|
forKey: {
|
|
16624
16800
|
type: String,
|
|
16625
|
-
required: false
|
|
16801
|
+
required: false,
|
|
16802
|
+
default: 'form'
|
|
16626
16803
|
},
|
|
16627
16804
|
required: {
|
|
16628
16805
|
type: Boolean,
|
|
16629
|
-
default: false
|
|
16630
|
-
required: false
|
|
16806
|
+
default: false
|
|
16631
16807
|
},
|
|
16632
16808
|
mask: {
|
|
16633
16809
|
type: String,
|
|
16634
16810
|
default: null
|
|
16811
|
+
},
|
|
16812
|
+
readonly: {
|
|
16813
|
+
type: Boolean,
|
|
16814
|
+
default: false
|
|
16635
16815
|
}
|
|
16636
16816
|
},
|
|
16637
16817
|
components: {
|
|
@@ -16657,6 +16837,9 @@ var DefaultTextFieldvue_type_template_id_36d90281_staticRenderFns = []
|
|
|
16657
16837
|
}
|
|
16658
16838
|
|
|
16659
16839
|
return [];
|
|
16840
|
+
},
|
|
16841
|
+
inputId: function inputId() {
|
|
16842
|
+
return "".concat(this.forKey, "-").concat(this.item.key);
|
|
16660
16843
|
}
|
|
16661
16844
|
}
|
|
16662
16845
|
});
|
|
@@ -16672,8 +16855,8 @@ var DefaultTextFieldvue_type_template_id_36d90281_staticRenderFns = []
|
|
|
16672
16855
|
|
|
16673
16856
|
var DefaultTextField_component = normalizeComponent(
|
|
16674
16857
|
DefaultTextField_DefaultTextFieldvue_type_script_lang_js_,
|
|
16675
|
-
|
|
16676
|
-
|
|
16858
|
+
DefaultTextFieldvue_type_template_id_db592b9e_render,
|
|
16859
|
+
DefaultTextFieldvue_type_template_id_db592b9e_staticRenderFns,
|
|
16677
16860
|
false,
|
|
16678
16861
|
null,
|
|
16679
16862
|
null,
|
|
@@ -16685,7 +16868,7 @@ var DefaultTextField_component = normalizeComponent(
|
|
|
16685
16868
|
// CONCATENATED MODULE: ./src/components/DefaultTextField/index.js
|
|
16686
16869
|
|
|
16687
16870
|
/* harmony default export */ var components_DefaultTextField = (DefaultTextField);
|
|
16688
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16871
|
+
// 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&
|
|
16689
16872
|
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){
|
|
16690
16873
|
var on = ref.on;
|
|
16691
16874
|
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)}
|
|
@@ -19006,7 +19189,7 @@ var RangeDatePicker_component = normalizeComponent(
|
|
|
19006
19189
|
// CONCATENATED MODULE: ./src/components/RangeDatePicker/index.js
|
|
19007
19190
|
|
|
19008
19191
|
/* harmony default export */ var components_RangeDatePicker = (RangeDatePicker);
|
|
19009
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19192
|
+
// 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&
|
|
19010
19193
|
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){
|
|
19011
19194
|
var on = ref.on;
|
|
19012
19195
|
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)}
|
|
@@ -19182,7 +19365,7 @@ var DatePicker_component = normalizeComponent(
|
|
|
19182
19365
|
// CONCATENATED MODULE: ./src/components/DatePicker/index.js
|
|
19183
19366
|
|
|
19184
19367
|
/* harmony default export */ var components_DatePicker = (DatePicker);
|
|
19185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19368
|
+
// 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&
|
|
19186
19369
|
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)}
|
|
19187
19370
|
var ManagersListvue_type_template_id_7acbd269_scoped_true_staticRenderFns = []
|
|
19188
19371
|
|
|
@@ -19247,7 +19430,7 @@ var ManagersList_component = normalizeComponent(
|
|
|
19247
19430
|
// CONCATENATED MODULE: ./src/components/ManagersList/index.js
|
|
19248
19431
|
|
|
19249
19432
|
/* harmony default export */ var components_ManagersList = (ManagersList);
|
|
19250
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19433
|
+
// 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&
|
|
19251
19434
|
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)}
|
|
19252
19435
|
var PromptUserToConfirmvue_type_template_id_04793cb7_staticRenderFns = []
|
|
19253
19436
|
|
|
@@ -19497,7 +19680,7 @@ var PromptUserToConfirm_component = normalizeComponent(
|
|
|
19497
19680
|
// CONCATENATED MODULE: ./src/components/PromptUserToConfirm/index.js
|
|
19498
19681
|
|
|
19499
19682
|
/* harmony default export */ var components_PromptUserToConfirm = (PromptUserToConfirm);
|
|
19500
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19683
|
+
// 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&
|
|
19501
19684
|
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)}
|
|
19502
19685
|
var ModalPromptUservue_type_template_id_6b19751e_staticRenderFns = []
|
|
19503
19686
|
|
|
@@ -20220,7 +20403,7 @@ var ModalPromptUser_component = normalizeComponent(
|
|
|
20220
20403
|
// CONCATENATED MODULE: ./src/components/ModalPromptUser/index.js
|
|
20221
20404
|
|
|
20222
20405
|
/* harmony default export */ var components_ModalPromptUser = (ModalPromptUser);
|
|
20223
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20406
|
+
// 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&
|
|
20224
20407
|
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){
|
|
20225
20408
|
var on = ref.on;
|
|
20226
20409
|
var attrs = ref.attrs;
|
|
@@ -20318,7 +20501,7 @@ var TableContextMenu_component = normalizeComponent(
|
|
|
20318
20501
|
// CONCATENATED MODULE: ./src/components/TableContextMenu/index.js
|
|
20319
20502
|
|
|
20320
20503
|
/* harmony default export */ var components_TableContextMenu = (TableContextMenu);
|
|
20321
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20504
|
+
// 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&
|
|
20322
20505
|
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)])}
|
|
20323
20506
|
var IconBoxvue_type_template_id_02e53181_scoped_true_staticRenderFns = []
|
|
20324
20507
|
|
|
@@ -20377,7 +20560,7 @@ var IconBox_component = normalizeComponent(
|
|
|
20377
20560
|
// CONCATENATED MODULE: ./src/components/IconBox/index.js
|
|
20378
20561
|
|
|
20379
20562
|
/* harmony default export */ var components_IconBox = (IconBox);
|
|
20380
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20563
|
+
// 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&
|
|
20381
20564
|
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()])}
|
|
20382
20565
|
var CardContextvue_type_template_id_bfd0efbc_scoped_true_staticRenderFns = []
|
|
20383
20566
|
|
|
@@ -20526,7 +20709,7 @@ var CardContext_component = normalizeComponent(
|
|
|
20526
20709
|
// CONCATENATED MODULE: ./src/components/CardContext/index.js
|
|
20527
20710
|
|
|
20528
20711
|
/* harmony default export */ var components_CardContext = (CardContext);
|
|
20529
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20712
|
+
// 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&
|
|
20530
20713
|
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)}
|
|
20531
20714
|
var DefaultButtonvue_type_template_id_5d6726a7_staticRenderFns = []
|
|
20532
20715
|
|
|
@@ -20575,7 +20758,7 @@ var DefaultButton_component = normalizeComponent(
|
|
|
20575
20758
|
|
|
20576
20759
|
|
|
20577
20760
|
/* harmony default export */ var Buttons_DefaultButton = (DefaultButton);
|
|
20578
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20761
|
+
// 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&
|
|
20579
20762
|
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)}
|
|
20580
20763
|
var DangerButtonvue_type_template_id_9f654838_staticRenderFns = []
|
|
20581
20764
|
|
|
@@ -20654,7 +20837,7 @@ var DangerButton_component = normalizeComponent(
|
|
|
20654
20837
|
|
|
20655
20838
|
|
|
20656
20839
|
/* harmony default export */ var Buttons_DangerButton = (DangerButton);
|
|
20657
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20840
|
+
// 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&
|
|
20658
20841
|
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)}
|
|
20659
20842
|
var ConfirmButtonvue_type_template_id_5c93c8ef_staticRenderFns = []
|
|
20660
20843
|
|
|
@@ -20733,7 +20916,7 @@ var ConfirmButton_component = normalizeComponent(
|
|
|
20733
20916
|
|
|
20734
20917
|
|
|
20735
20918
|
/* harmony default export */ var Buttons_ConfirmButton = (ConfirmButton);
|
|
20736
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20919
|
+
// 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&
|
|
20737
20920
|
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){
|
|
20738
20921
|
var on = ref.on;
|
|
20739
20922
|
var attrs = ref.attrs;
|
|
@@ -20880,7 +21063,7 @@ var ExportButton_component = normalizeComponent(
|
|
|
20880
21063
|
|
|
20881
21064
|
|
|
20882
21065
|
/* harmony default export */ var Buttons_ExportButton = (ExportButton);
|
|
20883
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21066
|
+
// 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&
|
|
20884
21067
|
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)}
|
|
20885
21068
|
var ImportButtonvue_type_template_id_cce173b8_scoped_true_staticRenderFns = []
|
|
20886
21069
|
|
|
@@ -20948,7 +21131,7 @@ var ImportButton_component = normalizeComponent(
|
|
|
20948
21131
|
|
|
20949
21132
|
|
|
20950
21133
|
/* harmony default export */ var Buttons_ImportButton = (ImportButton);
|
|
20951
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21134
|
+
// 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&
|
|
20952
21135
|
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:{
|
|
20953
21136
|
'v-btn_icon--prepend': _vm.prepend,
|
|
20954
21137
|
'v-btn_icon--apppend': !_vm.prepend,
|
|
@@ -21077,7 +21260,7 @@ var ToggleButton_component = normalizeComponent(
|
|
|
21077
21260
|
|
|
21078
21261
|
|
|
21079
21262
|
/* harmony default export */ var Buttons_ToggleButton = (ToggleButton);
|
|
21080
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21263
|
+
// 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&
|
|
21081
21264
|
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)}
|
|
21082
21265
|
var RemoveButtonvue_type_template_id_7a7c75c6_scoped_true_staticRenderFns = []
|
|
21083
21266
|
|
|
@@ -21160,7 +21343,7 @@ var RemoveButton_component = normalizeComponent(
|
|
|
21160
21343
|
|
|
21161
21344
|
|
|
21162
21345
|
/* harmony default export */ var Buttons_RemoveButton = (RemoveButton);
|
|
21163
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21346
|
+
// 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&
|
|
21164
21347
|
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}})}
|
|
21165
21348
|
var ProductLogovue_type_template_id_1081e27d_staticRenderFns = []
|
|
21166
21349
|
|
|
@@ -21224,7 +21407,7 @@ var ProductLogo_component = normalizeComponent(
|
|
|
21224
21407
|
|
|
21225
21408
|
|
|
21226
21409
|
/* harmony default export */ var Logos_ProductLogo = (ProductLogo);
|
|
21227
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21410
|
+
// 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&
|
|
21228
21411
|
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}})}
|
|
21229
21412
|
var OriginatorLogovue_type_template_id_5fd10e58_staticRenderFns = []
|
|
21230
21413
|
|
|
@@ -21288,7 +21471,7 @@ var OriginatorLogo_component = normalizeComponent(
|
|
|
21288
21471
|
|
|
21289
21472
|
|
|
21290
21473
|
/* harmony default export */ var Logos_OriginatorLogo = (OriginatorLogo);
|
|
21291
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21474
|
+
// 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&
|
|
21292
21475
|
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)}
|
|
21293
21476
|
var ResetTableRowSelectionvue_type_template_id_befb8b6e_scoped_true_staticRenderFns = []
|
|
21294
21477
|
|
|
@@ -21360,7 +21543,2617 @@ var ResetTableRowSelection_component = normalizeComponent(
|
|
|
21360
21543
|
|
|
21361
21544
|
|
|
21362
21545
|
/* harmony default export */ var components_ResetTableRowSelection = (ResetTableRowSelection);
|
|
21363
|
-
// CONCATENATED MODULE: ./src/
|
|
21546
|
+
// 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&
|
|
21547
|
+
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()])}
|
|
21548
|
+
var MultipleSelectShortenervue_type_template_id_31e8b3ae_scoped_true_staticRenderFns = []
|
|
21549
|
+
|
|
21550
|
+
|
|
21551
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=template&id=31e8b3ae&scoped=true&
|
|
21552
|
+
|
|
21553
|
+
// 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&
|
|
21554
|
+
|
|
21555
|
+
//
|
|
21556
|
+
//
|
|
21557
|
+
//
|
|
21558
|
+
//
|
|
21559
|
+
//
|
|
21560
|
+
//
|
|
21561
|
+
//
|
|
21562
|
+
//
|
|
21563
|
+
//
|
|
21564
|
+
|
|
21565
|
+
/* harmony default export */ var MultipleSelectShortenervue_type_script_lang_js_ = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
21566
|
+
name: 'farm-multiple-select-shortener',
|
|
21567
|
+
props: {
|
|
21568
|
+
/**
|
|
21569
|
+
* Key used to get value from item
|
|
21570
|
+
*/
|
|
21571
|
+
labelKey: {
|
|
21572
|
+
type: String,
|
|
21573
|
+
default: 'label'
|
|
21574
|
+
},
|
|
21575
|
+
|
|
21576
|
+
/**
|
|
21577
|
+
* Item from v-select
|
|
21578
|
+
*/
|
|
21579
|
+
item: {
|
|
21580
|
+
type: Object
|
|
21581
|
+
},
|
|
21582
|
+
|
|
21583
|
+
/**
|
|
21584
|
+
* Index from slot
|
|
21585
|
+
*/
|
|
21586
|
+
index: {
|
|
21587
|
+
type: Number
|
|
21588
|
+
},
|
|
21589
|
+
|
|
21590
|
+
/**
|
|
21591
|
+
* Items count
|
|
21592
|
+
*/
|
|
21593
|
+
itemsLength: {
|
|
21594
|
+
type: Number
|
|
21595
|
+
}
|
|
21596
|
+
}
|
|
21597
|
+
}));
|
|
21598
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=script&lang=js&
|
|
21599
|
+
/* harmony default export */ var MultipleSelectShortener_MultipleSelectShortenervue_type_script_lang_js_ = (MultipleSelectShortenervue_type_script_lang_js_);
|
|
21600
|
+
// EXTERNAL MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue?vue&type=style&index=0&id=31e8b3ae&scoped=true&lang=css&
|
|
21601
|
+
var MultipleSelectShortenervue_type_style_index_0_id_31e8b3ae_scoped_true_lang_css_ = __webpack_require__("0fa1");
|
|
21602
|
+
|
|
21603
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/MultipleSelectShortener.vue
|
|
21604
|
+
|
|
21605
|
+
|
|
21606
|
+
|
|
21607
|
+
|
|
21608
|
+
|
|
21609
|
+
|
|
21610
|
+
/* normalize component */
|
|
21611
|
+
|
|
21612
|
+
var MultipleSelectShortener_component = normalizeComponent(
|
|
21613
|
+
MultipleSelectShortener_MultipleSelectShortenervue_type_script_lang_js_,
|
|
21614
|
+
MultipleSelectShortenervue_type_template_id_31e8b3ae_scoped_true_render,
|
|
21615
|
+
MultipleSelectShortenervue_type_template_id_31e8b3ae_scoped_true_staticRenderFns,
|
|
21616
|
+
false,
|
|
21617
|
+
null,
|
|
21618
|
+
"31e8b3ae",
|
|
21619
|
+
null
|
|
21620
|
+
|
|
21621
|
+
)
|
|
21622
|
+
|
|
21623
|
+
/* harmony default export */ var MultipleSelectShortener = (MultipleSelectShortener_component.exports);
|
|
21624
|
+
// CONCATENATED MODULE: ./src/components/MultipleSelectShortener/index.js
|
|
21625
|
+
|
|
21626
|
+
|
|
21627
|
+
/* harmony default export */ var components_MultipleSelectShortener = (MultipleSelectShortener);
|
|
21628
|
+
// 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&
|
|
21629
|
+
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){
|
|
21630
|
+
var item = ref.item;
|
|
21631
|
+
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)}
|
|
21632
|
+
var SelectModalOptionsvue_type_template_id_04f9e4b0_scoped_true_staticRenderFns = []
|
|
21633
|
+
|
|
21634
|
+
|
|
21635
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=template&id=04f9e4b0&scoped=true&
|
|
21636
|
+
|
|
21637
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
21638
|
+
var es_array_includes = __webpack_require__("caad");
|
|
21639
|
+
|
|
21640
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
21641
|
+
var es_string_includes = __webpack_require__("2532");
|
|
21642
|
+
|
|
21643
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VTextField/index.js
|
|
21644
|
+
|
|
21645
|
+
|
|
21646
|
+
/* harmony default export */ var components_VTextField = (VTextField_VTextField);
|
|
21647
|
+
//# sourceMappingURL=index.js.map
|
|
21648
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataTable/VDataTable.sass
|
|
21649
|
+
var VDataTable = __webpack_require__("91f4");
|
|
21650
|
+
|
|
21651
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VData/VData.js
|
|
21652
|
+
// Helpers
|
|
21653
|
+
|
|
21654
|
+
|
|
21655
|
+
/* harmony default export */ var VData = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
21656
|
+
name: 'v-data',
|
|
21657
|
+
inheritAttrs: false,
|
|
21658
|
+
props: {
|
|
21659
|
+
items: {
|
|
21660
|
+
type: Array,
|
|
21661
|
+
default: () => []
|
|
21662
|
+
},
|
|
21663
|
+
options: {
|
|
21664
|
+
type: Object,
|
|
21665
|
+
default: () => ({})
|
|
21666
|
+
},
|
|
21667
|
+
sortBy: {
|
|
21668
|
+
type: [String, Array],
|
|
21669
|
+
default: () => []
|
|
21670
|
+
},
|
|
21671
|
+
sortDesc: {
|
|
21672
|
+
type: [Boolean, Array],
|
|
21673
|
+
default: () => []
|
|
21674
|
+
},
|
|
21675
|
+
customSort: {
|
|
21676
|
+
type: Function,
|
|
21677
|
+
default: sortItems
|
|
21678
|
+
},
|
|
21679
|
+
mustSort: Boolean,
|
|
21680
|
+
multiSort: Boolean,
|
|
21681
|
+
page: {
|
|
21682
|
+
type: Number,
|
|
21683
|
+
default: 1
|
|
21684
|
+
},
|
|
21685
|
+
itemsPerPage: {
|
|
21686
|
+
type: Number,
|
|
21687
|
+
default: 10
|
|
21688
|
+
},
|
|
21689
|
+
groupBy: {
|
|
21690
|
+
type: [String, Array],
|
|
21691
|
+
default: () => []
|
|
21692
|
+
},
|
|
21693
|
+
groupDesc: {
|
|
21694
|
+
type: [Boolean, Array],
|
|
21695
|
+
default: () => []
|
|
21696
|
+
},
|
|
21697
|
+
customGroup: {
|
|
21698
|
+
type: Function,
|
|
21699
|
+
default: groupItems
|
|
21700
|
+
},
|
|
21701
|
+
locale: {
|
|
21702
|
+
type: String,
|
|
21703
|
+
default: 'en-US'
|
|
21704
|
+
},
|
|
21705
|
+
disableSort: Boolean,
|
|
21706
|
+
disablePagination: Boolean,
|
|
21707
|
+
disableFiltering: Boolean,
|
|
21708
|
+
search: String,
|
|
21709
|
+
customFilter: {
|
|
21710
|
+
type: Function,
|
|
21711
|
+
default: searchItems
|
|
21712
|
+
},
|
|
21713
|
+
serverItemsLength: {
|
|
21714
|
+
type: Number,
|
|
21715
|
+
default: -1
|
|
21716
|
+
}
|
|
21717
|
+
},
|
|
21718
|
+
|
|
21719
|
+
data() {
|
|
21720
|
+
let internalOptions = {
|
|
21721
|
+
page: this.page,
|
|
21722
|
+
itemsPerPage: this.itemsPerPage,
|
|
21723
|
+
sortBy: wrapInArray(this.sortBy),
|
|
21724
|
+
sortDesc: wrapInArray(this.sortDesc),
|
|
21725
|
+
groupBy: wrapInArray(this.groupBy),
|
|
21726
|
+
groupDesc: wrapInArray(this.groupDesc),
|
|
21727
|
+
mustSort: this.mustSort,
|
|
21728
|
+
multiSort: this.multiSort
|
|
21729
|
+
};
|
|
21730
|
+
|
|
21731
|
+
if (this.options) {
|
|
21732
|
+
internalOptions = Object.assign(internalOptions, this.options);
|
|
21733
|
+
}
|
|
21734
|
+
|
|
21735
|
+
const {
|
|
21736
|
+
sortBy,
|
|
21737
|
+
sortDesc,
|
|
21738
|
+
groupBy,
|
|
21739
|
+
groupDesc
|
|
21740
|
+
} = internalOptions;
|
|
21741
|
+
const sortDiff = sortBy.length - sortDesc.length;
|
|
21742
|
+
const groupDiff = groupBy.length - groupDesc.length;
|
|
21743
|
+
|
|
21744
|
+
if (sortDiff > 0) {
|
|
21745
|
+
internalOptions.sortDesc.push(...fillArray(sortDiff, false));
|
|
21746
|
+
}
|
|
21747
|
+
|
|
21748
|
+
if (groupDiff > 0) {
|
|
21749
|
+
internalOptions.groupDesc.push(...fillArray(groupDiff, false));
|
|
21750
|
+
}
|
|
21751
|
+
|
|
21752
|
+
return {
|
|
21753
|
+
internalOptions
|
|
21754
|
+
};
|
|
21755
|
+
},
|
|
21756
|
+
|
|
21757
|
+
computed: {
|
|
21758
|
+
itemsLength() {
|
|
21759
|
+
return this.serverItemsLength >= 0 ? this.serverItemsLength : this.filteredItems.length;
|
|
21760
|
+
},
|
|
21761
|
+
|
|
21762
|
+
pageCount() {
|
|
21763
|
+
return this.internalOptions.itemsPerPage <= 0 ? 1 : Math.ceil(this.itemsLength / this.internalOptions.itemsPerPage);
|
|
21764
|
+
},
|
|
21765
|
+
|
|
21766
|
+
pageStart() {
|
|
21767
|
+
if (this.internalOptions.itemsPerPage === -1 || !this.items.length) return 0;
|
|
21768
|
+
return (this.internalOptions.page - 1) * this.internalOptions.itemsPerPage;
|
|
21769
|
+
},
|
|
21770
|
+
|
|
21771
|
+
pageStop() {
|
|
21772
|
+
if (this.internalOptions.itemsPerPage === -1) return this.itemsLength;
|
|
21773
|
+
if (!this.items.length) return 0;
|
|
21774
|
+
return Math.min(this.itemsLength, this.internalOptions.page * this.internalOptions.itemsPerPage);
|
|
21775
|
+
},
|
|
21776
|
+
|
|
21777
|
+
isGrouped() {
|
|
21778
|
+
return !!this.internalOptions.groupBy.length;
|
|
21779
|
+
},
|
|
21780
|
+
|
|
21781
|
+
pagination() {
|
|
21782
|
+
return {
|
|
21783
|
+
page: this.internalOptions.page,
|
|
21784
|
+
itemsPerPage: this.internalOptions.itemsPerPage,
|
|
21785
|
+
pageStart: this.pageStart,
|
|
21786
|
+
pageStop: this.pageStop,
|
|
21787
|
+
pageCount: this.pageCount,
|
|
21788
|
+
itemsLength: this.itemsLength
|
|
21789
|
+
};
|
|
21790
|
+
},
|
|
21791
|
+
|
|
21792
|
+
filteredItems() {
|
|
21793
|
+
let items = this.items.slice();
|
|
21794
|
+
|
|
21795
|
+
if (!this.disableFiltering && this.serverItemsLength <= 0) {
|
|
21796
|
+
items = this.customFilter(items, this.search);
|
|
21797
|
+
}
|
|
21798
|
+
|
|
21799
|
+
return items;
|
|
21800
|
+
},
|
|
21801
|
+
|
|
21802
|
+
computedItems() {
|
|
21803
|
+
let items = this.filteredItems.slice();
|
|
21804
|
+
|
|
21805
|
+
if ((!this.disableSort || this.internalOptions.groupBy.length) && this.serverItemsLength <= 0) {
|
|
21806
|
+
items = this.sortItems(items);
|
|
21807
|
+
}
|
|
21808
|
+
|
|
21809
|
+
if (!this.disablePagination && this.serverItemsLength <= 0) {
|
|
21810
|
+
items = this.paginateItems(items);
|
|
21811
|
+
}
|
|
21812
|
+
|
|
21813
|
+
return items;
|
|
21814
|
+
},
|
|
21815
|
+
|
|
21816
|
+
groupedItems() {
|
|
21817
|
+
return this.isGrouped ? this.groupItems(this.computedItems) : null;
|
|
21818
|
+
},
|
|
21819
|
+
|
|
21820
|
+
scopedProps() {
|
|
21821
|
+
return {
|
|
21822
|
+
sort: this.sort,
|
|
21823
|
+
sortArray: this.sortArray,
|
|
21824
|
+
group: this.group,
|
|
21825
|
+
items: this.computedItems,
|
|
21826
|
+
options: this.internalOptions,
|
|
21827
|
+
updateOptions: this.updateOptions,
|
|
21828
|
+
pagination: this.pagination,
|
|
21829
|
+
groupedItems: this.groupedItems,
|
|
21830
|
+
originalItemsLength: this.items.length
|
|
21831
|
+
};
|
|
21832
|
+
},
|
|
21833
|
+
|
|
21834
|
+
computedOptions() {
|
|
21835
|
+
return { ...this.options
|
|
21836
|
+
};
|
|
21837
|
+
}
|
|
21838
|
+
|
|
21839
|
+
},
|
|
21840
|
+
watch: {
|
|
21841
|
+
computedOptions: {
|
|
21842
|
+
handler(options, old) {
|
|
21843
|
+
if (deepEqual(options, old)) return;
|
|
21844
|
+
this.updateOptions(options);
|
|
21845
|
+
},
|
|
21846
|
+
|
|
21847
|
+
deep: true,
|
|
21848
|
+
immediate: true
|
|
21849
|
+
},
|
|
21850
|
+
internalOptions: {
|
|
21851
|
+
handler(options, old) {
|
|
21852
|
+
if (deepEqual(options, old)) return;
|
|
21853
|
+
this.$emit('update:options', options);
|
|
21854
|
+
},
|
|
21855
|
+
|
|
21856
|
+
deep: true,
|
|
21857
|
+
immediate: true
|
|
21858
|
+
},
|
|
21859
|
+
|
|
21860
|
+
page(page) {
|
|
21861
|
+
this.updateOptions({
|
|
21862
|
+
page
|
|
21863
|
+
});
|
|
21864
|
+
},
|
|
21865
|
+
|
|
21866
|
+
'internalOptions.page'(page) {
|
|
21867
|
+
this.$emit('update:page', page);
|
|
21868
|
+
},
|
|
21869
|
+
|
|
21870
|
+
itemsPerPage(itemsPerPage) {
|
|
21871
|
+
this.updateOptions({
|
|
21872
|
+
itemsPerPage
|
|
21873
|
+
});
|
|
21874
|
+
},
|
|
21875
|
+
|
|
21876
|
+
'internalOptions.itemsPerPage'(itemsPerPage) {
|
|
21877
|
+
this.$emit('update:items-per-page', itemsPerPage);
|
|
21878
|
+
},
|
|
21879
|
+
|
|
21880
|
+
sortBy(sortBy) {
|
|
21881
|
+
this.updateOptions({
|
|
21882
|
+
sortBy: wrapInArray(sortBy)
|
|
21883
|
+
});
|
|
21884
|
+
},
|
|
21885
|
+
|
|
21886
|
+
'internalOptions.sortBy'(sortBy, old) {
|
|
21887
|
+
!deepEqual(sortBy, old) && this.$emit('update:sort-by', Array.isArray(this.sortBy) ? sortBy : sortBy[0]);
|
|
21888
|
+
},
|
|
21889
|
+
|
|
21890
|
+
sortDesc(sortDesc) {
|
|
21891
|
+
this.updateOptions({
|
|
21892
|
+
sortDesc: wrapInArray(sortDesc)
|
|
21893
|
+
});
|
|
21894
|
+
},
|
|
21895
|
+
|
|
21896
|
+
'internalOptions.sortDesc'(sortDesc, old) {
|
|
21897
|
+
!deepEqual(sortDesc, old) && this.$emit('update:sort-desc', Array.isArray(this.sortDesc) ? sortDesc : sortDesc[0]);
|
|
21898
|
+
},
|
|
21899
|
+
|
|
21900
|
+
groupBy(groupBy) {
|
|
21901
|
+
this.updateOptions({
|
|
21902
|
+
groupBy: wrapInArray(groupBy)
|
|
21903
|
+
});
|
|
21904
|
+
},
|
|
21905
|
+
|
|
21906
|
+
'internalOptions.groupBy'(groupBy, old) {
|
|
21907
|
+
!deepEqual(groupBy, old) && this.$emit('update:group-by', Array.isArray(this.groupBy) ? groupBy : groupBy[0]);
|
|
21908
|
+
},
|
|
21909
|
+
|
|
21910
|
+
groupDesc(groupDesc) {
|
|
21911
|
+
this.updateOptions({
|
|
21912
|
+
groupDesc: wrapInArray(groupDesc)
|
|
21913
|
+
});
|
|
21914
|
+
},
|
|
21915
|
+
|
|
21916
|
+
'internalOptions.groupDesc'(groupDesc, old) {
|
|
21917
|
+
!deepEqual(groupDesc, old) && this.$emit('update:group-desc', Array.isArray(this.groupDesc) ? groupDesc : groupDesc[0]);
|
|
21918
|
+
},
|
|
21919
|
+
|
|
21920
|
+
multiSort(multiSort) {
|
|
21921
|
+
this.updateOptions({
|
|
21922
|
+
multiSort
|
|
21923
|
+
});
|
|
21924
|
+
},
|
|
21925
|
+
|
|
21926
|
+
'internalOptions.multiSort'(multiSort) {
|
|
21927
|
+
this.$emit('update:multi-sort', multiSort);
|
|
21928
|
+
},
|
|
21929
|
+
|
|
21930
|
+
mustSort(mustSort) {
|
|
21931
|
+
this.updateOptions({
|
|
21932
|
+
mustSort
|
|
21933
|
+
});
|
|
21934
|
+
},
|
|
21935
|
+
|
|
21936
|
+
'internalOptions.mustSort'(mustSort) {
|
|
21937
|
+
this.$emit('update:must-sort', mustSort);
|
|
21938
|
+
},
|
|
21939
|
+
|
|
21940
|
+
pageCount: {
|
|
21941
|
+
handler(pageCount) {
|
|
21942
|
+
this.$emit('page-count', pageCount);
|
|
21943
|
+
},
|
|
21944
|
+
|
|
21945
|
+
immediate: true
|
|
21946
|
+
},
|
|
21947
|
+
computedItems: {
|
|
21948
|
+
handler(computedItems) {
|
|
21949
|
+
this.$emit('current-items', computedItems);
|
|
21950
|
+
},
|
|
21951
|
+
|
|
21952
|
+
immediate: true
|
|
21953
|
+
},
|
|
21954
|
+
pagination: {
|
|
21955
|
+
handler(pagination, old) {
|
|
21956
|
+
if (deepEqual(pagination, old)) return;
|
|
21957
|
+
this.$emit('pagination', this.pagination);
|
|
21958
|
+
},
|
|
21959
|
+
|
|
21960
|
+
immediate: true
|
|
21961
|
+
}
|
|
21962
|
+
},
|
|
21963
|
+
methods: {
|
|
21964
|
+
toggle(key, oldBy, oldDesc, page, mustSort, multiSort) {
|
|
21965
|
+
let by = oldBy.slice();
|
|
21966
|
+
let desc = oldDesc.slice();
|
|
21967
|
+
const byIndex = by.findIndex(k => k === key);
|
|
21968
|
+
|
|
21969
|
+
if (byIndex < 0) {
|
|
21970
|
+
if (!multiSort) {
|
|
21971
|
+
by = [];
|
|
21972
|
+
desc = [];
|
|
21973
|
+
}
|
|
21974
|
+
|
|
21975
|
+
by.push(key);
|
|
21976
|
+
desc.push(false);
|
|
21977
|
+
} else if (byIndex >= 0 && !desc[byIndex]) {
|
|
21978
|
+
desc[byIndex] = true;
|
|
21979
|
+
} else if (!mustSort) {
|
|
21980
|
+
by.splice(byIndex, 1);
|
|
21981
|
+
desc.splice(byIndex, 1);
|
|
21982
|
+
} else {
|
|
21983
|
+
desc[byIndex] = false;
|
|
21984
|
+
} // Reset page to 1 if sortBy or sortDesc have changed
|
|
21985
|
+
|
|
21986
|
+
|
|
21987
|
+
if (!deepEqual(by, oldBy) || !deepEqual(desc, oldDesc)) {
|
|
21988
|
+
page = 1;
|
|
21989
|
+
}
|
|
21990
|
+
|
|
21991
|
+
return {
|
|
21992
|
+
by,
|
|
21993
|
+
desc,
|
|
21994
|
+
page
|
|
21995
|
+
};
|
|
21996
|
+
},
|
|
21997
|
+
|
|
21998
|
+
group(key) {
|
|
21999
|
+
const {
|
|
22000
|
+
by: groupBy,
|
|
22001
|
+
desc: groupDesc,
|
|
22002
|
+
page
|
|
22003
|
+
} = this.toggle(key, this.internalOptions.groupBy, this.internalOptions.groupDesc, this.internalOptions.page, true, false);
|
|
22004
|
+
this.updateOptions({
|
|
22005
|
+
groupBy,
|
|
22006
|
+
groupDesc,
|
|
22007
|
+
page
|
|
22008
|
+
});
|
|
22009
|
+
},
|
|
22010
|
+
|
|
22011
|
+
sort(key) {
|
|
22012
|
+
if (Array.isArray(key)) return this.sortArray(key);
|
|
22013
|
+
const {
|
|
22014
|
+
by: sortBy,
|
|
22015
|
+
desc: sortDesc,
|
|
22016
|
+
page
|
|
22017
|
+
} = this.toggle(key, this.internalOptions.sortBy, this.internalOptions.sortDesc, this.internalOptions.page, this.internalOptions.mustSort, this.internalOptions.multiSort);
|
|
22018
|
+
this.updateOptions({
|
|
22019
|
+
sortBy,
|
|
22020
|
+
sortDesc,
|
|
22021
|
+
page
|
|
22022
|
+
});
|
|
22023
|
+
},
|
|
22024
|
+
|
|
22025
|
+
sortArray(sortBy) {
|
|
22026
|
+
const sortDesc = sortBy.map(s => {
|
|
22027
|
+
const i = this.internalOptions.sortBy.findIndex(k => k === s);
|
|
22028
|
+
return i > -1 ? this.internalOptions.sortDesc[i] : false;
|
|
22029
|
+
});
|
|
22030
|
+
this.updateOptions({
|
|
22031
|
+
sortBy,
|
|
22032
|
+
sortDesc
|
|
22033
|
+
});
|
|
22034
|
+
},
|
|
22035
|
+
|
|
22036
|
+
updateOptions(options) {
|
|
22037
|
+
this.internalOptions = { ...this.internalOptions,
|
|
22038
|
+
...options,
|
|
22039
|
+
page: this.serverItemsLength < 0 ? Math.max(1, Math.min(options.page || this.internalOptions.page, this.pageCount)) : options.page || this.internalOptions.page
|
|
22040
|
+
};
|
|
22041
|
+
},
|
|
22042
|
+
|
|
22043
|
+
sortItems(items) {
|
|
22044
|
+
let sortBy = [];
|
|
22045
|
+
let sortDesc = [];
|
|
22046
|
+
|
|
22047
|
+
if (!this.disableSort) {
|
|
22048
|
+
sortBy = this.internalOptions.sortBy;
|
|
22049
|
+
sortDesc = this.internalOptions.sortDesc;
|
|
22050
|
+
}
|
|
22051
|
+
|
|
22052
|
+
if (this.internalOptions.groupBy.length) {
|
|
22053
|
+
sortBy = [...this.internalOptions.groupBy, ...sortBy];
|
|
22054
|
+
sortDesc = [...this.internalOptions.groupDesc, ...sortDesc];
|
|
22055
|
+
}
|
|
22056
|
+
|
|
22057
|
+
return this.customSort(items, sortBy, sortDesc, this.locale);
|
|
22058
|
+
},
|
|
22059
|
+
|
|
22060
|
+
groupItems(items) {
|
|
22061
|
+
return this.customGroup(items, this.internalOptions.groupBy, this.internalOptions.groupDesc);
|
|
22062
|
+
},
|
|
22063
|
+
|
|
22064
|
+
paginateItems(items) {
|
|
22065
|
+
// Make sure we don't try to display non-existant page if items suddenly change
|
|
22066
|
+
// TODO: Could possibly move this to pageStart/pageStop?
|
|
22067
|
+
if (this.serverItemsLength === -1 && items.length <= this.pageStart) {
|
|
22068
|
+
this.internalOptions.page = Math.max(1, Math.ceil(items.length / this.internalOptions.itemsPerPage)) || 1; // Prevent NaN
|
|
22069
|
+
}
|
|
22070
|
+
|
|
22071
|
+
return items.slice(this.pageStart, this.pageStop);
|
|
22072
|
+
}
|
|
22073
|
+
|
|
22074
|
+
},
|
|
22075
|
+
|
|
22076
|
+
render() {
|
|
22077
|
+
return this.$scopedSlots.default && this.$scopedSlots.default(this.scopedProps);
|
|
22078
|
+
}
|
|
22079
|
+
|
|
22080
|
+
}));
|
|
22081
|
+
//# sourceMappingURL=VData.js.map
|
|
22082
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataIterator/VDataFooter.sass
|
|
22083
|
+
var VDataFooter = __webpack_require__("495d");
|
|
22084
|
+
|
|
22085
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataIterator/VDataFooter.js
|
|
22086
|
+
// Components
|
|
22087
|
+
|
|
22088
|
+
|
|
22089
|
+
|
|
22090
|
+
// Types
|
|
22091
|
+
|
|
22092
|
+
|
|
22093
|
+
|
|
22094
|
+
/* harmony default export */ var VDataIterator_VDataFooter = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
22095
|
+
name: 'v-data-footer',
|
|
22096
|
+
props: {
|
|
22097
|
+
options: {
|
|
22098
|
+
type: Object,
|
|
22099
|
+
required: true
|
|
22100
|
+
},
|
|
22101
|
+
pagination: {
|
|
22102
|
+
type: Object,
|
|
22103
|
+
required: true
|
|
22104
|
+
},
|
|
22105
|
+
itemsPerPageOptions: {
|
|
22106
|
+
type: Array,
|
|
22107
|
+
default: () => [5, 10, 15, -1]
|
|
22108
|
+
},
|
|
22109
|
+
prevIcon: {
|
|
22110
|
+
type: String,
|
|
22111
|
+
default: '$prev'
|
|
22112
|
+
},
|
|
22113
|
+
nextIcon: {
|
|
22114
|
+
type: String,
|
|
22115
|
+
default: '$next'
|
|
22116
|
+
},
|
|
22117
|
+
firstIcon: {
|
|
22118
|
+
type: String,
|
|
22119
|
+
default: '$first'
|
|
22120
|
+
},
|
|
22121
|
+
lastIcon: {
|
|
22122
|
+
type: String,
|
|
22123
|
+
default: '$last'
|
|
22124
|
+
},
|
|
22125
|
+
itemsPerPageText: {
|
|
22126
|
+
type: String,
|
|
22127
|
+
default: '$vuetify.dataFooter.itemsPerPageText'
|
|
22128
|
+
},
|
|
22129
|
+
itemsPerPageAllText: {
|
|
22130
|
+
type: String,
|
|
22131
|
+
default: '$vuetify.dataFooter.itemsPerPageAll'
|
|
22132
|
+
},
|
|
22133
|
+
showFirstLastPage: Boolean,
|
|
22134
|
+
showCurrentPage: Boolean,
|
|
22135
|
+
disablePagination: Boolean,
|
|
22136
|
+
disableItemsPerPage: Boolean,
|
|
22137
|
+
pageText: {
|
|
22138
|
+
type: String,
|
|
22139
|
+
default: '$vuetify.dataFooter.pageText'
|
|
22140
|
+
}
|
|
22141
|
+
},
|
|
22142
|
+
computed: {
|
|
22143
|
+
disableNextPageIcon() {
|
|
22144
|
+
return this.options.itemsPerPage <= 0 || this.options.page * this.options.itemsPerPage >= this.pagination.itemsLength || this.pagination.pageStop < 0;
|
|
22145
|
+
},
|
|
22146
|
+
|
|
22147
|
+
computedDataItemsPerPageOptions() {
|
|
22148
|
+
return this.itemsPerPageOptions.map(option => {
|
|
22149
|
+
if (typeof option === 'object') return option;else return this.genDataItemsPerPageOption(option);
|
|
22150
|
+
});
|
|
22151
|
+
}
|
|
22152
|
+
|
|
22153
|
+
},
|
|
22154
|
+
methods: {
|
|
22155
|
+
updateOptions(obj) {
|
|
22156
|
+
this.$emit('update:options', Object.assign({}, this.options, obj));
|
|
22157
|
+
},
|
|
22158
|
+
|
|
22159
|
+
onFirstPage() {
|
|
22160
|
+
this.updateOptions({
|
|
22161
|
+
page: 1
|
|
22162
|
+
});
|
|
22163
|
+
},
|
|
22164
|
+
|
|
22165
|
+
onPreviousPage() {
|
|
22166
|
+
this.updateOptions({
|
|
22167
|
+
page: this.options.page - 1
|
|
22168
|
+
});
|
|
22169
|
+
},
|
|
22170
|
+
|
|
22171
|
+
onNextPage() {
|
|
22172
|
+
this.updateOptions({
|
|
22173
|
+
page: this.options.page + 1
|
|
22174
|
+
});
|
|
22175
|
+
},
|
|
22176
|
+
|
|
22177
|
+
onLastPage() {
|
|
22178
|
+
this.updateOptions({
|
|
22179
|
+
page: this.pagination.pageCount
|
|
22180
|
+
});
|
|
22181
|
+
},
|
|
22182
|
+
|
|
22183
|
+
onChangeItemsPerPage(itemsPerPage) {
|
|
22184
|
+
this.updateOptions({
|
|
22185
|
+
itemsPerPage,
|
|
22186
|
+
page: 1
|
|
22187
|
+
});
|
|
22188
|
+
},
|
|
22189
|
+
|
|
22190
|
+
genDataItemsPerPageOption(option) {
|
|
22191
|
+
return {
|
|
22192
|
+
text: option === -1 ? this.$vuetify.lang.t(this.itemsPerPageAllText) : String(option),
|
|
22193
|
+
value: option
|
|
22194
|
+
};
|
|
22195
|
+
},
|
|
22196
|
+
|
|
22197
|
+
genItemsPerPageSelect() {
|
|
22198
|
+
let value = this.options.itemsPerPage;
|
|
22199
|
+
const computedIPPO = this.computedDataItemsPerPageOptions;
|
|
22200
|
+
if (computedIPPO.length <= 1) return null;
|
|
22201
|
+
if (!computedIPPO.find(ippo => ippo.value === value)) value = computedIPPO[0];
|
|
22202
|
+
return this.$createElement('div', {
|
|
22203
|
+
staticClass: 'v-data-footer__select'
|
|
22204
|
+
}, [this.$vuetify.lang.t(this.itemsPerPageText), this.$createElement(VSelect_VSelect, {
|
|
22205
|
+
attrs: {
|
|
22206
|
+
'aria-label': this.$vuetify.lang.t(this.itemsPerPageText)
|
|
22207
|
+
},
|
|
22208
|
+
props: {
|
|
22209
|
+
disabled: this.disableItemsPerPage,
|
|
22210
|
+
items: computedIPPO,
|
|
22211
|
+
value,
|
|
22212
|
+
hideDetails: true,
|
|
22213
|
+
auto: true,
|
|
22214
|
+
minWidth: '75px'
|
|
22215
|
+
},
|
|
22216
|
+
on: {
|
|
22217
|
+
input: this.onChangeItemsPerPage
|
|
22218
|
+
}
|
|
22219
|
+
})]);
|
|
22220
|
+
},
|
|
22221
|
+
|
|
22222
|
+
genPaginationInfo() {
|
|
22223
|
+
let children = ['–'];
|
|
22224
|
+
const itemsLength = this.pagination.itemsLength;
|
|
22225
|
+
let pageStart = this.pagination.pageStart;
|
|
22226
|
+
let pageStop = this.pagination.pageStop;
|
|
22227
|
+
|
|
22228
|
+
if (this.pagination.itemsLength && this.pagination.itemsPerPage) {
|
|
22229
|
+
pageStart = this.pagination.pageStart + 1;
|
|
22230
|
+
pageStop = itemsLength < this.pagination.pageStop || this.pagination.pageStop < 0 ? itemsLength : this.pagination.pageStop;
|
|
22231
|
+
children = this.$scopedSlots['page-text'] ? [this.$scopedSlots['page-text']({
|
|
22232
|
+
pageStart,
|
|
22233
|
+
pageStop,
|
|
22234
|
+
itemsLength
|
|
22235
|
+
})] : [this.$vuetify.lang.t(this.pageText, pageStart, pageStop, itemsLength)];
|
|
22236
|
+
} else if (this.$scopedSlots['page-text']) {
|
|
22237
|
+
children = [this.$scopedSlots['page-text']({
|
|
22238
|
+
pageStart,
|
|
22239
|
+
pageStop,
|
|
22240
|
+
itemsLength
|
|
22241
|
+
})];
|
|
22242
|
+
}
|
|
22243
|
+
|
|
22244
|
+
return this.$createElement('div', {
|
|
22245
|
+
class: 'v-data-footer__pagination'
|
|
22246
|
+
}, children);
|
|
22247
|
+
},
|
|
22248
|
+
|
|
22249
|
+
genIcon(click, disabled, label, icon) {
|
|
22250
|
+
return this.$createElement(components_VBtn, {
|
|
22251
|
+
props: {
|
|
22252
|
+
disabled: disabled || this.disablePagination,
|
|
22253
|
+
icon: true,
|
|
22254
|
+
text: true
|
|
22255
|
+
},
|
|
22256
|
+
on: {
|
|
22257
|
+
click
|
|
22258
|
+
},
|
|
22259
|
+
attrs: {
|
|
22260
|
+
'aria-label': label
|
|
22261
|
+
}
|
|
22262
|
+
}, [this.$createElement(components_VIcon, icon)]);
|
|
22263
|
+
},
|
|
22264
|
+
|
|
22265
|
+
genIcons() {
|
|
22266
|
+
const before = [];
|
|
22267
|
+
const after = [];
|
|
22268
|
+
before.push(this.genIcon(this.onPreviousPage, this.options.page === 1, this.$vuetify.lang.t('$vuetify.dataFooter.prevPage'), this.$vuetify.rtl ? this.nextIcon : this.prevIcon));
|
|
22269
|
+
after.push(this.genIcon(this.onNextPage, this.disableNextPageIcon, this.$vuetify.lang.t('$vuetify.dataFooter.nextPage'), this.$vuetify.rtl ? this.prevIcon : this.nextIcon));
|
|
22270
|
+
|
|
22271
|
+
if (this.showFirstLastPage) {
|
|
22272
|
+
before.unshift(this.genIcon(this.onFirstPage, this.options.page === 1, this.$vuetify.lang.t('$vuetify.dataFooter.firstPage'), this.$vuetify.rtl ? this.lastIcon : this.firstIcon));
|
|
22273
|
+
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));
|
|
22274
|
+
}
|
|
22275
|
+
|
|
22276
|
+
return [this.$createElement('div', {
|
|
22277
|
+
staticClass: 'v-data-footer__icons-before'
|
|
22278
|
+
}, before), this.showCurrentPage && this.$createElement('span', [this.options.page.toString()]), this.$createElement('div', {
|
|
22279
|
+
staticClass: 'v-data-footer__icons-after'
|
|
22280
|
+
}, after)];
|
|
22281
|
+
}
|
|
22282
|
+
|
|
22283
|
+
},
|
|
22284
|
+
|
|
22285
|
+
render() {
|
|
22286
|
+
return this.$createElement('div', {
|
|
22287
|
+
staticClass: 'v-data-footer'
|
|
22288
|
+
}, [getSlot(this, 'prepend'), this.genItemsPerPageSelect(), this.genPaginationInfo(), this.genIcons()]);
|
|
22289
|
+
}
|
|
22290
|
+
|
|
22291
|
+
}));
|
|
22292
|
+
//# sourceMappingURL=VDataFooter.js.map
|
|
22293
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataIterator/VDataIterator.js
|
|
22294
|
+
// Components
|
|
22295
|
+
|
|
22296
|
+
// Mixins
|
|
22297
|
+
|
|
22298
|
+
|
|
22299
|
+
// Helpers
|
|
22300
|
+
|
|
22301
|
+
|
|
22302
|
+
|
|
22303
|
+
|
|
22304
|
+
/* @vue/component */
|
|
22305
|
+
|
|
22306
|
+
/* harmony default export */ var VDataIterator = (mixins(mobile, themeable).extend({
|
|
22307
|
+
name: 'v-data-iterator',
|
|
22308
|
+
props: { ...VData.options.props,
|
|
22309
|
+
itemKey: {
|
|
22310
|
+
type: String,
|
|
22311
|
+
default: 'id'
|
|
22312
|
+
},
|
|
22313
|
+
value: {
|
|
22314
|
+
type: Array,
|
|
22315
|
+
default: () => []
|
|
22316
|
+
},
|
|
22317
|
+
singleSelect: Boolean,
|
|
22318
|
+
expanded: {
|
|
22319
|
+
type: Array,
|
|
22320
|
+
default: () => []
|
|
22321
|
+
},
|
|
22322
|
+
mobileBreakpoint: { ...mobile.options.props.mobileBreakpoint,
|
|
22323
|
+
default: 600
|
|
22324
|
+
},
|
|
22325
|
+
singleExpand: Boolean,
|
|
22326
|
+
loading: [Boolean, String],
|
|
22327
|
+
noResultsText: {
|
|
22328
|
+
type: String,
|
|
22329
|
+
default: '$vuetify.dataIterator.noResultsText'
|
|
22330
|
+
},
|
|
22331
|
+
noDataText: {
|
|
22332
|
+
type: String,
|
|
22333
|
+
default: '$vuetify.noDataText'
|
|
22334
|
+
},
|
|
22335
|
+
loadingText: {
|
|
22336
|
+
type: String,
|
|
22337
|
+
default: '$vuetify.dataIterator.loadingText'
|
|
22338
|
+
},
|
|
22339
|
+
hideDefaultFooter: Boolean,
|
|
22340
|
+
footerProps: Object,
|
|
22341
|
+
selectableKey: {
|
|
22342
|
+
type: String,
|
|
22343
|
+
default: 'isSelectable'
|
|
22344
|
+
}
|
|
22345
|
+
},
|
|
22346
|
+
data: () => ({
|
|
22347
|
+
selection: {},
|
|
22348
|
+
expansion: {},
|
|
22349
|
+
internalCurrentItems: [],
|
|
22350
|
+
shiftKeyDown: false,
|
|
22351
|
+
lastEntry: -1
|
|
22352
|
+
}),
|
|
22353
|
+
computed: {
|
|
22354
|
+
everyItem() {
|
|
22355
|
+
return !!this.selectableItems.length && this.selectableItems.every(i => this.isSelected(i));
|
|
22356
|
+
},
|
|
22357
|
+
|
|
22358
|
+
someItems() {
|
|
22359
|
+
return this.selectableItems.some(i => this.isSelected(i));
|
|
22360
|
+
},
|
|
22361
|
+
|
|
22362
|
+
sanitizedFooterProps() {
|
|
22363
|
+
return camelizeObjectKeys(this.footerProps);
|
|
22364
|
+
},
|
|
22365
|
+
|
|
22366
|
+
selectableItems() {
|
|
22367
|
+
return this.internalCurrentItems.filter(item => this.isSelectable(item));
|
|
22368
|
+
}
|
|
22369
|
+
|
|
22370
|
+
},
|
|
22371
|
+
watch: {
|
|
22372
|
+
value: {
|
|
22373
|
+
handler(value) {
|
|
22374
|
+
this.selection = value.reduce((selection, item) => {
|
|
22375
|
+
selection[getObjectValueByPath(item, this.itemKey)] = item;
|
|
22376
|
+
return selection;
|
|
22377
|
+
}, {});
|
|
22378
|
+
},
|
|
22379
|
+
|
|
22380
|
+
immediate: true
|
|
22381
|
+
},
|
|
22382
|
+
|
|
22383
|
+
selection(value, old) {
|
|
22384
|
+
if (deepEqual(Object.keys(value), Object.keys(old))) return;
|
|
22385
|
+
this.$emit('input', Object.values(value));
|
|
22386
|
+
},
|
|
22387
|
+
|
|
22388
|
+
expanded: {
|
|
22389
|
+
handler(value) {
|
|
22390
|
+
this.expansion = value.reduce((expansion, item) => {
|
|
22391
|
+
expansion[getObjectValueByPath(item, this.itemKey)] = true;
|
|
22392
|
+
return expansion;
|
|
22393
|
+
}, {});
|
|
22394
|
+
},
|
|
22395
|
+
|
|
22396
|
+
immediate: true
|
|
22397
|
+
},
|
|
22398
|
+
|
|
22399
|
+
expansion(value, old) {
|
|
22400
|
+
if (deepEqual(value, old)) return;
|
|
22401
|
+
const keys = Object.keys(value).filter(k => value[k]);
|
|
22402
|
+
const expanded = !keys.length ? [] : this.items.filter(i => keys.includes(String(getObjectValueByPath(i, this.itemKey))));
|
|
22403
|
+
this.$emit('update:expanded', expanded);
|
|
22404
|
+
}
|
|
22405
|
+
|
|
22406
|
+
},
|
|
22407
|
+
|
|
22408
|
+
created() {
|
|
22409
|
+
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']];
|
|
22410
|
+
/* istanbul ignore next */
|
|
22411
|
+
|
|
22412
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
22413
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this);
|
|
22414
|
+
});
|
|
22415
|
+
const removedProps = ['expand', 'content-class', 'content-props', 'content-tag'];
|
|
22416
|
+
/* istanbul ignore next */
|
|
22417
|
+
|
|
22418
|
+
removedProps.forEach(prop => {
|
|
22419
|
+
if (this.$attrs.hasOwnProperty(prop)) removed(prop);
|
|
22420
|
+
});
|
|
22421
|
+
},
|
|
22422
|
+
|
|
22423
|
+
mounted() {
|
|
22424
|
+
window.addEventListener('keydown', this.onKeyDown);
|
|
22425
|
+
window.addEventListener('keyup', this.onKeyUp);
|
|
22426
|
+
},
|
|
22427
|
+
|
|
22428
|
+
beforeDestroy() {
|
|
22429
|
+
window.removeEventListener('keydown', this.onKeyDown);
|
|
22430
|
+
window.removeEventListener('keyup', this.onKeyUp);
|
|
22431
|
+
},
|
|
22432
|
+
|
|
22433
|
+
methods: {
|
|
22434
|
+
onKeyDown(e) {
|
|
22435
|
+
if (e.keyCode !== keyCodes.shift) return;
|
|
22436
|
+
this.shiftKeyDown = true;
|
|
22437
|
+
},
|
|
22438
|
+
|
|
22439
|
+
onKeyUp(e) {
|
|
22440
|
+
if (e.keyCode !== keyCodes.shift) return;
|
|
22441
|
+
this.shiftKeyDown = false;
|
|
22442
|
+
},
|
|
22443
|
+
|
|
22444
|
+
toggleSelectAll(value) {
|
|
22445
|
+
const selection = Object.assign({}, this.selection);
|
|
22446
|
+
|
|
22447
|
+
for (let i = 0; i < this.selectableItems.length; i++) {
|
|
22448
|
+
const item = this.selectableItems[i];
|
|
22449
|
+
if (!this.isSelectable(item)) continue;
|
|
22450
|
+
const key = getObjectValueByPath(item, this.itemKey);
|
|
22451
|
+
if (value) selection[key] = item;else delete selection[key];
|
|
22452
|
+
}
|
|
22453
|
+
|
|
22454
|
+
this.selection = selection;
|
|
22455
|
+
this.$emit('toggle-select-all', {
|
|
22456
|
+
items: this.internalCurrentItems,
|
|
22457
|
+
value
|
|
22458
|
+
});
|
|
22459
|
+
},
|
|
22460
|
+
|
|
22461
|
+
isSelectable(item) {
|
|
22462
|
+
return getObjectValueByPath(item, this.selectableKey) !== false;
|
|
22463
|
+
},
|
|
22464
|
+
|
|
22465
|
+
isSelected(item) {
|
|
22466
|
+
return !!this.selection[getObjectValueByPath(item, this.itemKey)] || false;
|
|
22467
|
+
},
|
|
22468
|
+
|
|
22469
|
+
select(item, value = true, emit = true) {
|
|
22470
|
+
if (!this.isSelectable(item)) return;
|
|
22471
|
+
const selection = this.singleSelect ? {} : Object.assign({}, this.selection);
|
|
22472
|
+
const key = getObjectValueByPath(item, this.itemKey);
|
|
22473
|
+
if (value) selection[key] = item;else delete selection[key];
|
|
22474
|
+
const index = this.selectableItems.findIndex(x => getObjectValueByPath(x, this.itemKey) === key);
|
|
22475
|
+
if (this.lastEntry === -1) this.lastEntry = index;else {
|
|
22476
|
+
const lastEntryKey = getObjectValueByPath(this.selectableItems[this.lastEntry], this.itemKey);
|
|
22477
|
+
const lastEntryKeySelected = Object.keys(this.selection).includes(lastEntryKey.toString());
|
|
22478
|
+
if (this.shiftKeyDown && !this.singleSelect && emit) this.multipleSelect(lastEntryKeySelected, emit, selection, index);
|
|
22479
|
+
}
|
|
22480
|
+
this.lastEntry = index;
|
|
22481
|
+
|
|
22482
|
+
if (this.singleSelect && emit) {
|
|
22483
|
+
const keys = Object.keys(this.selection);
|
|
22484
|
+
const old = keys.length && getObjectValueByPath(this.selection[keys[0]], this.itemKey);
|
|
22485
|
+
old && old !== key && this.$emit('item-selected', {
|
|
22486
|
+
item: this.selection[old],
|
|
22487
|
+
value: false
|
|
22488
|
+
});
|
|
22489
|
+
}
|
|
22490
|
+
|
|
22491
|
+
this.selection = selection;
|
|
22492
|
+
emit && this.$emit('item-selected', {
|
|
22493
|
+
item,
|
|
22494
|
+
value
|
|
22495
|
+
});
|
|
22496
|
+
},
|
|
22497
|
+
|
|
22498
|
+
multipleSelect(value = true, emit = true, selection, index) {
|
|
22499
|
+
const start = index < this.lastEntry ? index : this.lastEntry;
|
|
22500
|
+
const end = index < this.lastEntry ? this.lastEntry : index;
|
|
22501
|
+
|
|
22502
|
+
for (let i = start; i <= end; i++) {
|
|
22503
|
+
const currentItem = this.selectableItems[i];
|
|
22504
|
+
const key = getObjectValueByPath(currentItem, this.itemKey);
|
|
22505
|
+
if (value) selection[key] = currentItem;else delete selection[key];
|
|
22506
|
+
emit && this.$emit('item-selected', {
|
|
22507
|
+
currentItem,
|
|
22508
|
+
value
|
|
22509
|
+
});
|
|
22510
|
+
}
|
|
22511
|
+
},
|
|
22512
|
+
|
|
22513
|
+
isExpanded(item) {
|
|
22514
|
+
return this.expansion[getObjectValueByPath(item, this.itemKey)] || false;
|
|
22515
|
+
},
|
|
22516
|
+
|
|
22517
|
+
expand(item, value = true) {
|
|
22518
|
+
const expansion = this.singleExpand ? {} : Object.assign({}, this.expansion);
|
|
22519
|
+
const key = getObjectValueByPath(item, this.itemKey);
|
|
22520
|
+
if (value) expansion[key] = true;else delete expansion[key];
|
|
22521
|
+
this.expansion = expansion;
|
|
22522
|
+
this.$emit('item-expanded', {
|
|
22523
|
+
item,
|
|
22524
|
+
value
|
|
22525
|
+
});
|
|
22526
|
+
},
|
|
22527
|
+
|
|
22528
|
+
createItemProps(item, index) {
|
|
22529
|
+
return {
|
|
22530
|
+
item,
|
|
22531
|
+
index,
|
|
22532
|
+
select: v => this.select(item, v),
|
|
22533
|
+
isSelected: this.isSelected(item),
|
|
22534
|
+
expand: v => this.expand(item, v),
|
|
22535
|
+
isExpanded: this.isExpanded(item),
|
|
22536
|
+
isMobile: this.isMobile
|
|
22537
|
+
};
|
|
22538
|
+
},
|
|
22539
|
+
|
|
22540
|
+
genEmptyWrapper(content) {
|
|
22541
|
+
return this.$createElement('div', content);
|
|
22542
|
+
},
|
|
22543
|
+
|
|
22544
|
+
genEmpty(originalItemsLength, filteredItemsLength) {
|
|
22545
|
+
if (originalItemsLength === 0 && this.loading) {
|
|
22546
|
+
const loading = this.$slots.loading || this.$vuetify.lang.t(this.loadingText);
|
|
22547
|
+
return this.genEmptyWrapper(loading);
|
|
22548
|
+
} else if (originalItemsLength === 0) {
|
|
22549
|
+
const noData = this.$slots['no-data'] || this.$vuetify.lang.t(this.noDataText);
|
|
22550
|
+
return this.genEmptyWrapper(noData);
|
|
22551
|
+
} else if (filteredItemsLength === 0) {
|
|
22552
|
+
const noResults = this.$slots['no-results'] || this.$vuetify.lang.t(this.noResultsText);
|
|
22553
|
+
return this.genEmptyWrapper(noResults);
|
|
22554
|
+
}
|
|
22555
|
+
|
|
22556
|
+
return null;
|
|
22557
|
+
},
|
|
22558
|
+
|
|
22559
|
+
genItems(props) {
|
|
22560
|
+
const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength);
|
|
22561
|
+
if (empty) return [empty];
|
|
22562
|
+
|
|
22563
|
+
if (this.$scopedSlots.default) {
|
|
22564
|
+
return this.$scopedSlots.default({ ...props,
|
|
22565
|
+
isSelected: this.isSelected,
|
|
22566
|
+
select: this.select,
|
|
22567
|
+
isExpanded: this.isExpanded,
|
|
22568
|
+
isMobile: this.isMobile,
|
|
22569
|
+
expand: this.expand
|
|
22570
|
+
});
|
|
22571
|
+
}
|
|
22572
|
+
|
|
22573
|
+
if (this.$scopedSlots.item) {
|
|
22574
|
+
return props.items.map((item, index) => this.$scopedSlots.item(this.createItemProps(item, index)));
|
|
22575
|
+
}
|
|
22576
|
+
|
|
22577
|
+
return [];
|
|
22578
|
+
},
|
|
22579
|
+
|
|
22580
|
+
genFooter(props) {
|
|
22581
|
+
if (this.hideDefaultFooter) return null;
|
|
22582
|
+
const data = {
|
|
22583
|
+
props: { ...this.sanitizedFooterProps,
|
|
22584
|
+
options: props.options,
|
|
22585
|
+
pagination: props.pagination
|
|
22586
|
+
},
|
|
22587
|
+
on: {
|
|
22588
|
+
'update:options': value => props.updateOptions(value)
|
|
22589
|
+
}
|
|
22590
|
+
};
|
|
22591
|
+
const scopedSlots = getPrefixedScopedSlots('footer.', this.$scopedSlots);
|
|
22592
|
+
return this.$createElement(VDataIterator_VDataFooter, {
|
|
22593
|
+
scopedSlots,
|
|
22594
|
+
...data
|
|
22595
|
+
});
|
|
22596
|
+
},
|
|
22597
|
+
|
|
22598
|
+
genDefaultScopedSlot(props) {
|
|
22599
|
+
const outerProps = { ...props,
|
|
22600
|
+
someItems: this.someItems,
|
|
22601
|
+
everyItem: this.everyItem,
|
|
22602
|
+
toggleSelectAll: this.toggleSelectAll
|
|
22603
|
+
};
|
|
22604
|
+
return this.$createElement('div', {
|
|
22605
|
+
staticClass: 'v-data-iterator'
|
|
22606
|
+
}, [getSlot(this, 'header', outerProps, true), this.genItems(props), this.genFooter(props), getSlot(this, 'footer', outerProps, true)]);
|
|
22607
|
+
}
|
|
22608
|
+
|
|
22609
|
+
},
|
|
22610
|
+
|
|
22611
|
+
render() {
|
|
22612
|
+
return this.$createElement(VData, {
|
|
22613
|
+
props: this.$props,
|
|
22614
|
+
on: {
|
|
22615
|
+
'update:options': (v, old) => !deepEqual(v, old) && this.$emit('update:options', v),
|
|
22616
|
+
'update:page': v => this.$emit('update:page', v),
|
|
22617
|
+
'update:items-per-page': v => this.$emit('update:items-per-page', v),
|
|
22618
|
+
'update:sort-by': v => this.$emit('update:sort-by', v),
|
|
22619
|
+
'update:sort-desc': v => this.$emit('update:sort-desc', v),
|
|
22620
|
+
'update:group-by': v => this.$emit('update:group-by', v),
|
|
22621
|
+
'update:group-desc': v => this.$emit('update:group-desc', v),
|
|
22622
|
+
pagination: (v, old) => !deepEqual(v, old) && this.$emit('pagination', v),
|
|
22623
|
+
'current-items': v => {
|
|
22624
|
+
this.internalCurrentItems = v;
|
|
22625
|
+
this.$emit('current-items', v);
|
|
22626
|
+
},
|
|
22627
|
+
'page-count': v => this.$emit('page-count', v)
|
|
22628
|
+
},
|
|
22629
|
+
scopedSlots: {
|
|
22630
|
+
default: this.genDefaultScopedSlot
|
|
22631
|
+
}
|
|
22632
|
+
});
|
|
22633
|
+
}
|
|
22634
|
+
|
|
22635
|
+
}));
|
|
22636
|
+
//# sourceMappingURL=VDataIterator.js.map
|
|
22637
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataTable/VDataTableHeader.sass
|
|
22638
|
+
var VDataTableHeader = __webpack_require__("f823");
|
|
22639
|
+
|
|
22640
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/mixins/header.js
|
|
22641
|
+
|
|
22642
|
+
|
|
22643
|
+
|
|
22644
|
+
|
|
22645
|
+
/* harmony default export */ var mixins_header = (mixins().extend({
|
|
22646
|
+
// https://github.com/vuejs/vue/issues/6872
|
|
22647
|
+
directives: {
|
|
22648
|
+
ripple: directives_ripple
|
|
22649
|
+
},
|
|
22650
|
+
props: {
|
|
22651
|
+
headers: {
|
|
22652
|
+
type: Array,
|
|
22653
|
+
default: () => []
|
|
22654
|
+
},
|
|
22655
|
+
options: {
|
|
22656
|
+
type: Object,
|
|
22657
|
+
default: () => ({
|
|
22658
|
+
page: 1,
|
|
22659
|
+
itemsPerPage: 10,
|
|
22660
|
+
sortBy: [],
|
|
22661
|
+
sortDesc: [],
|
|
22662
|
+
groupBy: [],
|
|
22663
|
+
groupDesc: [],
|
|
22664
|
+
multiSort: false,
|
|
22665
|
+
mustSort: false
|
|
22666
|
+
})
|
|
22667
|
+
},
|
|
22668
|
+
checkboxColor: String,
|
|
22669
|
+
sortIcon: {
|
|
22670
|
+
type: String,
|
|
22671
|
+
default: '$sort'
|
|
22672
|
+
},
|
|
22673
|
+
everyItem: Boolean,
|
|
22674
|
+
someItems: Boolean,
|
|
22675
|
+
showGroupBy: Boolean,
|
|
22676
|
+
singleSelect: Boolean,
|
|
22677
|
+
disableSort: Boolean
|
|
22678
|
+
},
|
|
22679
|
+
methods: {
|
|
22680
|
+
genSelectAll() {
|
|
22681
|
+
var _this$checkboxColor;
|
|
22682
|
+
|
|
22683
|
+
const data = {
|
|
22684
|
+
props: {
|
|
22685
|
+
value: this.everyItem,
|
|
22686
|
+
indeterminate: !this.everyItem && this.someItems,
|
|
22687
|
+
color: (_this$checkboxColor = this.checkboxColor) != null ? _this$checkboxColor : ''
|
|
22688
|
+
},
|
|
22689
|
+
on: {
|
|
22690
|
+
input: v => this.$emit('toggle-select-all', v)
|
|
22691
|
+
}
|
|
22692
|
+
};
|
|
22693
|
+
|
|
22694
|
+
if (this.$scopedSlots['data-table-select']) {
|
|
22695
|
+
return this.$scopedSlots['data-table-select'](data);
|
|
22696
|
+
}
|
|
22697
|
+
|
|
22698
|
+
return this.$createElement(VCheckbox_VSimpleCheckbox, {
|
|
22699
|
+
staticClass: 'v-data-table__checkbox',
|
|
22700
|
+
...data
|
|
22701
|
+
});
|
|
22702
|
+
},
|
|
22703
|
+
|
|
22704
|
+
genSortIcon() {
|
|
22705
|
+
return this.$createElement(components_VIcon, {
|
|
22706
|
+
staticClass: 'v-data-table-header__icon',
|
|
22707
|
+
props: {
|
|
22708
|
+
size: 18
|
|
22709
|
+
}
|
|
22710
|
+
}, [this.sortIcon]);
|
|
22711
|
+
}
|
|
22712
|
+
|
|
22713
|
+
}
|
|
22714
|
+
}));
|
|
22715
|
+
//# sourceMappingURL=header.js.map
|
|
22716
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderMobile.js
|
|
22717
|
+
|
|
22718
|
+
|
|
22719
|
+
|
|
22720
|
+
|
|
22721
|
+
|
|
22722
|
+
/* harmony default export */ var VDataTableHeaderMobile = (mixins(mixins_header).extend({
|
|
22723
|
+
name: 'v-data-table-header-mobile',
|
|
22724
|
+
props: {
|
|
22725
|
+
sortByText: {
|
|
22726
|
+
type: String,
|
|
22727
|
+
default: '$vuetify.dataTable.sortBy'
|
|
22728
|
+
}
|
|
22729
|
+
},
|
|
22730
|
+
methods: {
|
|
22731
|
+
genSortChip(props) {
|
|
22732
|
+
const children = [props.item.text];
|
|
22733
|
+
const sortIndex = this.options.sortBy.findIndex(k => k === props.item.value);
|
|
22734
|
+
const beingSorted = sortIndex >= 0;
|
|
22735
|
+
const isDesc = this.options.sortDesc[sortIndex];
|
|
22736
|
+
children.push(this.$createElement('div', {
|
|
22737
|
+
staticClass: 'v-chip__close',
|
|
22738
|
+
class: {
|
|
22739
|
+
sortable: true,
|
|
22740
|
+
active: beingSorted,
|
|
22741
|
+
asc: beingSorted && !isDesc,
|
|
22742
|
+
desc: beingSorted && isDesc
|
|
22743
|
+
}
|
|
22744
|
+
}, [this.genSortIcon()]));
|
|
22745
|
+
return this.$createElement(components_VChip, {
|
|
22746
|
+
staticClass: 'sortable',
|
|
22747
|
+
on: {
|
|
22748
|
+
click: e => {
|
|
22749
|
+
e.stopPropagation();
|
|
22750
|
+
this.$emit('sort', props.item.value);
|
|
22751
|
+
}
|
|
22752
|
+
}
|
|
22753
|
+
}, children);
|
|
22754
|
+
},
|
|
22755
|
+
|
|
22756
|
+
genSortSelect(items) {
|
|
22757
|
+
return this.$createElement(VSelect_VSelect, {
|
|
22758
|
+
props: {
|
|
22759
|
+
label: this.$vuetify.lang.t(this.sortByText),
|
|
22760
|
+
items,
|
|
22761
|
+
hideDetails: true,
|
|
22762
|
+
multiple: this.options.multiSort,
|
|
22763
|
+
value: this.options.multiSort ? this.options.sortBy : this.options.sortBy[0],
|
|
22764
|
+
menuProps: {
|
|
22765
|
+
closeOnContentClick: true
|
|
22766
|
+
}
|
|
22767
|
+
},
|
|
22768
|
+
on: {
|
|
22769
|
+
change: v => this.$emit('sort', v)
|
|
22770
|
+
},
|
|
22771
|
+
scopedSlots: {
|
|
22772
|
+
selection: props => this.genSortChip(props)
|
|
22773
|
+
}
|
|
22774
|
+
});
|
|
22775
|
+
}
|
|
22776
|
+
|
|
22777
|
+
},
|
|
22778
|
+
|
|
22779
|
+
render(h) {
|
|
22780
|
+
const children = [];
|
|
22781
|
+
const header = this.headers.find(h => h.value === 'data-table-select');
|
|
22782
|
+
|
|
22783
|
+
if (header && !this.singleSelect) {
|
|
22784
|
+
children.push(this.$createElement('div', {
|
|
22785
|
+
class: ['v-data-table-header-mobile__select', ...wrapInArray(header.class)],
|
|
22786
|
+
attrs: {
|
|
22787
|
+
width: header.width
|
|
22788
|
+
}
|
|
22789
|
+
}, [this.genSelectAll()]));
|
|
22790
|
+
}
|
|
22791
|
+
|
|
22792
|
+
const sortHeaders = this.headers.filter(h => h.sortable !== false && h.value !== 'data-table-select').map(h => ({
|
|
22793
|
+
text: h.text,
|
|
22794
|
+
value: h.value
|
|
22795
|
+
}));
|
|
22796
|
+
|
|
22797
|
+
if (!this.disableSort && sortHeaders.length) {
|
|
22798
|
+
children.push(this.genSortSelect(sortHeaders));
|
|
22799
|
+
}
|
|
22800
|
+
|
|
22801
|
+
const th = h('th', [h('div', {
|
|
22802
|
+
staticClass: 'v-data-table-header-mobile__wrapper'
|
|
22803
|
+
}, children)]);
|
|
22804
|
+
const tr = h('tr', [th]);
|
|
22805
|
+
return h('thead', {
|
|
22806
|
+
staticClass: 'v-data-table-header v-data-table-header-mobile'
|
|
22807
|
+
}, [tr]);
|
|
22808
|
+
}
|
|
22809
|
+
|
|
22810
|
+
}));
|
|
22811
|
+
//# sourceMappingURL=VDataTableHeaderMobile.js.map
|
|
22812
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderDesktop.js
|
|
22813
|
+
|
|
22814
|
+
|
|
22815
|
+
|
|
22816
|
+
/* harmony default export */ var VDataTableHeaderDesktop = (mixins(mixins_header).extend({
|
|
22817
|
+
name: 'v-data-table-header-desktop',
|
|
22818
|
+
methods: {
|
|
22819
|
+
genGroupByToggle(header) {
|
|
22820
|
+
return this.$createElement('span', {
|
|
22821
|
+
on: {
|
|
22822
|
+
click: e => {
|
|
22823
|
+
e.stopPropagation();
|
|
22824
|
+
this.$emit('group', header.value);
|
|
22825
|
+
}
|
|
22826
|
+
}
|
|
22827
|
+
}, ['group']);
|
|
22828
|
+
},
|
|
22829
|
+
|
|
22830
|
+
getAria(beingSorted, isDesc) {
|
|
22831
|
+
const $t = key => this.$vuetify.lang.t(`$vuetify.dataTable.ariaLabel.${key}`);
|
|
22832
|
+
|
|
22833
|
+
let ariaSort = 'none';
|
|
22834
|
+
let ariaLabel = [$t('sortNone'), $t('activateAscending')];
|
|
22835
|
+
|
|
22836
|
+
if (!beingSorted) {
|
|
22837
|
+
return {
|
|
22838
|
+
ariaSort,
|
|
22839
|
+
ariaLabel: ariaLabel.join(' ')
|
|
22840
|
+
};
|
|
22841
|
+
}
|
|
22842
|
+
|
|
22843
|
+
if (isDesc) {
|
|
22844
|
+
ariaSort = 'descending';
|
|
22845
|
+
ariaLabel = [$t('sortDescending'), $t(this.options.mustSort ? 'activateAscending' : 'activateNone')];
|
|
22846
|
+
} else {
|
|
22847
|
+
ariaSort = 'ascending';
|
|
22848
|
+
ariaLabel = [$t('sortAscending'), $t('activateDescending')];
|
|
22849
|
+
}
|
|
22850
|
+
|
|
22851
|
+
return {
|
|
22852
|
+
ariaSort,
|
|
22853
|
+
ariaLabel: ariaLabel.join(' ')
|
|
22854
|
+
};
|
|
22855
|
+
},
|
|
22856
|
+
|
|
22857
|
+
genHeader(header) {
|
|
22858
|
+
const data = {
|
|
22859
|
+
attrs: {
|
|
22860
|
+
role: 'columnheader',
|
|
22861
|
+
scope: 'col',
|
|
22862
|
+
'aria-label': header.text || ''
|
|
22863
|
+
},
|
|
22864
|
+
style: {
|
|
22865
|
+
width: convertToUnit(header.width),
|
|
22866
|
+
minWidth: convertToUnit(header.width)
|
|
22867
|
+
},
|
|
22868
|
+
class: [`text-${header.align || 'start'}`, ...wrapInArray(header.class), header.divider && 'v-data-table__divider'],
|
|
22869
|
+
on: {}
|
|
22870
|
+
};
|
|
22871
|
+
const children = [];
|
|
22872
|
+
|
|
22873
|
+
if (header.value === 'data-table-select' && !this.singleSelect) {
|
|
22874
|
+
return this.$createElement('th', data, [this.genSelectAll()]);
|
|
22875
|
+
}
|
|
22876
|
+
|
|
22877
|
+
children.push(this.$scopedSlots[header.value] ? this.$scopedSlots[header.value]({
|
|
22878
|
+
header
|
|
22879
|
+
}) : this.$createElement('span', [header.text]));
|
|
22880
|
+
|
|
22881
|
+
if (!this.disableSort && (header.sortable || !header.hasOwnProperty('sortable'))) {
|
|
22882
|
+
data.on.click = () => this.$emit('sort', header.value);
|
|
22883
|
+
|
|
22884
|
+
const sortIndex = this.options.sortBy.findIndex(k => k === header.value);
|
|
22885
|
+
const beingSorted = sortIndex >= 0;
|
|
22886
|
+
const isDesc = this.options.sortDesc[sortIndex];
|
|
22887
|
+
data.class.push('sortable');
|
|
22888
|
+
const {
|
|
22889
|
+
ariaLabel,
|
|
22890
|
+
ariaSort
|
|
22891
|
+
} = this.getAria(beingSorted, isDesc);
|
|
22892
|
+
data.attrs['aria-label'] += `${header.text ? ': ' : ''}${ariaLabel}`;
|
|
22893
|
+
data.attrs['aria-sort'] = ariaSort;
|
|
22894
|
+
|
|
22895
|
+
if (beingSorted) {
|
|
22896
|
+
data.class.push('active');
|
|
22897
|
+
data.class.push(isDesc ? 'desc' : 'asc');
|
|
22898
|
+
}
|
|
22899
|
+
|
|
22900
|
+
if (header.align === 'end') children.unshift(this.genSortIcon());else children.push(this.genSortIcon());
|
|
22901
|
+
|
|
22902
|
+
if (this.options.multiSort && beingSorted) {
|
|
22903
|
+
children.push(this.$createElement('span', {
|
|
22904
|
+
class: 'v-data-table-header__sort-badge'
|
|
22905
|
+
}, [String(sortIndex + 1)]));
|
|
22906
|
+
}
|
|
22907
|
+
}
|
|
22908
|
+
|
|
22909
|
+
if (this.showGroupBy && header.groupable !== false) children.push(this.genGroupByToggle(header));
|
|
22910
|
+
return this.$createElement('th', data, children);
|
|
22911
|
+
}
|
|
22912
|
+
|
|
22913
|
+
},
|
|
22914
|
+
|
|
22915
|
+
render() {
|
|
22916
|
+
return this.$createElement('thead', {
|
|
22917
|
+
staticClass: 'v-data-table-header'
|
|
22918
|
+
}, [this.$createElement('tr', this.headers.map(header => this.genHeader(header)))]);
|
|
22919
|
+
}
|
|
22920
|
+
|
|
22921
|
+
}));
|
|
22922
|
+
//# sourceMappingURL=VDataTableHeaderDesktop.js.map
|
|
22923
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/util/dedupeModelListeners.js
|
|
22924
|
+
/**
|
|
22925
|
+
* Removes duplicate `@input` listeners when
|
|
22926
|
+
* using v-model with functional components
|
|
22927
|
+
*
|
|
22928
|
+
* @see https://github.com/vuetifyjs/vuetify/issues/4460
|
|
22929
|
+
*/
|
|
22930
|
+
function dedupeModelListeners(data) {
|
|
22931
|
+
if (data.model && data.on && data.on.input) {
|
|
22932
|
+
if (Array.isArray(data.on.input)) {
|
|
22933
|
+
const i = data.on.input.indexOf(data.model.callback);
|
|
22934
|
+
if (i > -1) data.on.input.splice(i, 1);
|
|
22935
|
+
} else {
|
|
22936
|
+
delete data.on.input;
|
|
22937
|
+
}
|
|
22938
|
+
}
|
|
22939
|
+
}
|
|
22940
|
+
//# sourceMappingURL=dedupeModelListeners.js.map
|
|
22941
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/util/rebuildFunctionalSlots.js
|
|
22942
|
+
function rebuildFunctionalSlots(slots, h) {
|
|
22943
|
+
const children = [];
|
|
22944
|
+
|
|
22945
|
+
for (const slot in slots) {
|
|
22946
|
+
if (slots.hasOwnProperty(slot)) {
|
|
22947
|
+
children.push(h('template', {
|
|
22948
|
+
slot
|
|
22949
|
+
}, slots[slot]));
|
|
22950
|
+
}
|
|
22951
|
+
}
|
|
22952
|
+
|
|
22953
|
+
return children;
|
|
22954
|
+
}
|
|
22955
|
+
//# sourceMappingURL=rebuildFunctionalSlots.js.map
|
|
22956
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTableHeader.js
|
|
22957
|
+
// Styles
|
|
22958
|
+
// Components
|
|
22959
|
+
|
|
22960
|
+
|
|
22961
|
+
// Mixins
|
|
22962
|
+
|
|
22963
|
+
// Utilities
|
|
22964
|
+
|
|
22965
|
+
|
|
22966
|
+
|
|
22967
|
+
// Types
|
|
22968
|
+
|
|
22969
|
+
|
|
22970
|
+
/* @vue/component */
|
|
22971
|
+
|
|
22972
|
+
/* harmony default export */ var VDataTable_VDataTableHeader = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
22973
|
+
name: 'v-data-table-header',
|
|
22974
|
+
functional: true,
|
|
22975
|
+
props: { ...mixins_header.options.props,
|
|
22976
|
+
mobile: Boolean
|
|
22977
|
+
},
|
|
22978
|
+
|
|
22979
|
+
render(h, {
|
|
22980
|
+
props,
|
|
22981
|
+
data,
|
|
22982
|
+
slots
|
|
22983
|
+
}) {
|
|
22984
|
+
dedupeModelListeners(data);
|
|
22985
|
+
const children = rebuildFunctionalSlots(slots(), h);
|
|
22986
|
+
data = mergeData(data, {
|
|
22987
|
+
props
|
|
22988
|
+
});
|
|
22989
|
+
|
|
22990
|
+
if (props.mobile) {
|
|
22991
|
+
return h(VDataTableHeaderMobile, data, children);
|
|
22992
|
+
} else {
|
|
22993
|
+
return h(VDataTableHeaderDesktop, data, children);
|
|
22994
|
+
}
|
|
22995
|
+
}
|
|
22996
|
+
|
|
22997
|
+
}));
|
|
22998
|
+
//# sourceMappingURL=VDataTableHeader.js.map
|
|
22999
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/Row.js
|
|
23000
|
+
// Types
|
|
23001
|
+
// Utils
|
|
23002
|
+
|
|
23003
|
+
|
|
23004
|
+
/* harmony default export */ var Row = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23005
|
+
name: 'row',
|
|
23006
|
+
functional: true,
|
|
23007
|
+
props: {
|
|
23008
|
+
headers: Array,
|
|
23009
|
+
index: Number,
|
|
23010
|
+
item: Object,
|
|
23011
|
+
rtl: Boolean
|
|
23012
|
+
},
|
|
23013
|
+
|
|
23014
|
+
render(h, {
|
|
23015
|
+
props,
|
|
23016
|
+
slots,
|
|
23017
|
+
data
|
|
23018
|
+
}) {
|
|
23019
|
+
const computedSlots = slots();
|
|
23020
|
+
const columns = props.headers.map(header => {
|
|
23021
|
+
const children = [];
|
|
23022
|
+
const value = getObjectValueByPath(props.item, header.value);
|
|
23023
|
+
const slotName = header.value;
|
|
23024
|
+
const scopedSlot = data.scopedSlots && data.scopedSlots[slotName];
|
|
23025
|
+
const regularSlot = computedSlots[slotName];
|
|
23026
|
+
|
|
23027
|
+
if (scopedSlot) {
|
|
23028
|
+
children.push(scopedSlot({
|
|
23029
|
+
item: props.item,
|
|
23030
|
+
isMobile: false,
|
|
23031
|
+
header,
|
|
23032
|
+
index: props.index,
|
|
23033
|
+
value
|
|
23034
|
+
}));
|
|
23035
|
+
} else if (regularSlot) {
|
|
23036
|
+
children.push(regularSlot);
|
|
23037
|
+
} else {
|
|
23038
|
+
children.push(value == null ? value : String(value));
|
|
23039
|
+
}
|
|
23040
|
+
|
|
23041
|
+
const textAlign = `text-${header.align || 'start'}`;
|
|
23042
|
+
return h('td', {
|
|
23043
|
+
class: [textAlign, header.cellClass, {
|
|
23044
|
+
'v-data-table__divider': header.divider
|
|
23045
|
+
}]
|
|
23046
|
+
}, children);
|
|
23047
|
+
});
|
|
23048
|
+
return h('tr', data, columns);
|
|
23049
|
+
}
|
|
23050
|
+
|
|
23051
|
+
}));
|
|
23052
|
+
//# sourceMappingURL=Row.js.map
|
|
23053
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/RowGroup.js
|
|
23054
|
+
|
|
23055
|
+
/* harmony default export */ var RowGroup = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23056
|
+
name: 'row-group',
|
|
23057
|
+
functional: true,
|
|
23058
|
+
props: {
|
|
23059
|
+
value: {
|
|
23060
|
+
type: Boolean,
|
|
23061
|
+
default: true
|
|
23062
|
+
},
|
|
23063
|
+
headerClass: {
|
|
23064
|
+
type: String,
|
|
23065
|
+
default: 'v-row-group__header'
|
|
23066
|
+
},
|
|
23067
|
+
contentClass: String,
|
|
23068
|
+
summaryClass: {
|
|
23069
|
+
type: String,
|
|
23070
|
+
default: 'v-row-group__summary'
|
|
23071
|
+
}
|
|
23072
|
+
},
|
|
23073
|
+
|
|
23074
|
+
render(h, {
|
|
23075
|
+
slots,
|
|
23076
|
+
props
|
|
23077
|
+
}) {
|
|
23078
|
+
const computedSlots = slots();
|
|
23079
|
+
const children = [];
|
|
23080
|
+
|
|
23081
|
+
if (computedSlots['column.header']) {
|
|
23082
|
+
children.push(h('tr', {
|
|
23083
|
+
staticClass: props.headerClass
|
|
23084
|
+
}, computedSlots['column.header']));
|
|
23085
|
+
} else if (computedSlots['row.header']) {
|
|
23086
|
+
children.push(...computedSlots['row.header']);
|
|
23087
|
+
}
|
|
23088
|
+
|
|
23089
|
+
if (computedSlots['row.content'] && props.value) children.push(...computedSlots['row.content']);
|
|
23090
|
+
|
|
23091
|
+
if (computedSlots['column.summary']) {
|
|
23092
|
+
children.push(h('tr', {
|
|
23093
|
+
staticClass: props.summaryClass
|
|
23094
|
+
}, computedSlots['column.summary']));
|
|
23095
|
+
} else if (computedSlots['row.summary']) {
|
|
23096
|
+
children.push(...computedSlots['row.summary']);
|
|
23097
|
+
}
|
|
23098
|
+
|
|
23099
|
+
return children;
|
|
23100
|
+
}
|
|
23101
|
+
|
|
23102
|
+
}));
|
|
23103
|
+
//# sourceMappingURL=RowGroup.js.map
|
|
23104
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDataTable/VSimpleTable.sass
|
|
23105
|
+
var VSimpleTable = __webpack_require__("8b37");
|
|
23106
|
+
|
|
23107
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VSimpleTable.js
|
|
23108
|
+
|
|
23109
|
+
|
|
23110
|
+
|
|
23111
|
+
|
|
23112
|
+
/* harmony default export */ var VDataTable_VSimpleTable = (mixins(themeable).extend({
|
|
23113
|
+
name: 'v-simple-table',
|
|
23114
|
+
props: {
|
|
23115
|
+
dense: Boolean,
|
|
23116
|
+
fixedHeader: Boolean,
|
|
23117
|
+
height: [Number, String]
|
|
23118
|
+
},
|
|
23119
|
+
computed: {
|
|
23120
|
+
classes() {
|
|
23121
|
+
return {
|
|
23122
|
+
'v-data-table--dense': this.dense,
|
|
23123
|
+
'v-data-table--fixed-height': !!this.height && !this.fixedHeader,
|
|
23124
|
+
'v-data-table--fixed-header': this.fixedHeader,
|
|
23125
|
+
'v-data-table--has-top': !!this.$slots.top,
|
|
23126
|
+
'v-data-table--has-bottom': !!this.$slots.bottom,
|
|
23127
|
+
...this.themeClasses
|
|
23128
|
+
};
|
|
23129
|
+
}
|
|
23130
|
+
|
|
23131
|
+
},
|
|
23132
|
+
methods: {
|
|
23133
|
+
genWrapper() {
|
|
23134
|
+
return this.$slots.wrapper || this.$createElement('div', {
|
|
23135
|
+
staticClass: 'v-data-table__wrapper',
|
|
23136
|
+
style: {
|
|
23137
|
+
height: convertToUnit(this.height)
|
|
23138
|
+
}
|
|
23139
|
+
}, [this.$createElement('table', this.$slots.default)]);
|
|
23140
|
+
}
|
|
23141
|
+
|
|
23142
|
+
},
|
|
23143
|
+
|
|
23144
|
+
render(h) {
|
|
23145
|
+
return h('div', {
|
|
23146
|
+
staticClass: 'v-data-table',
|
|
23147
|
+
class: this.classes
|
|
23148
|
+
}, [this.$slots.top, this.genWrapper(), this.$slots.bottom]);
|
|
23149
|
+
}
|
|
23150
|
+
|
|
23151
|
+
}));
|
|
23152
|
+
//# sourceMappingURL=VSimpleTable.js.map
|
|
23153
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/MobileRow.js
|
|
23154
|
+
|
|
23155
|
+
|
|
23156
|
+
/* harmony default export */ var MobileRow = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23157
|
+
name: 'row',
|
|
23158
|
+
functional: true,
|
|
23159
|
+
props: {
|
|
23160
|
+
headers: Array,
|
|
23161
|
+
hideDefaultHeader: Boolean,
|
|
23162
|
+
index: Number,
|
|
23163
|
+
item: Object,
|
|
23164
|
+
rtl: Boolean
|
|
23165
|
+
},
|
|
23166
|
+
|
|
23167
|
+
render(h, {
|
|
23168
|
+
props,
|
|
23169
|
+
slots,
|
|
23170
|
+
data
|
|
23171
|
+
}) {
|
|
23172
|
+
const computedSlots = slots();
|
|
23173
|
+
const columns = props.headers.map(header => {
|
|
23174
|
+
const classes = {
|
|
23175
|
+
'v-data-table__mobile-row': true
|
|
23176
|
+
};
|
|
23177
|
+
const children = [];
|
|
23178
|
+
const value = getObjectValueByPath(props.item, header.value);
|
|
23179
|
+
const slotName = header.value;
|
|
23180
|
+
const scopedSlot = data.scopedSlots && data.scopedSlots[slotName];
|
|
23181
|
+
const regularSlot = computedSlots[slotName];
|
|
23182
|
+
|
|
23183
|
+
if (scopedSlot) {
|
|
23184
|
+
children.push(scopedSlot({
|
|
23185
|
+
item: props.item,
|
|
23186
|
+
isMobile: true,
|
|
23187
|
+
header,
|
|
23188
|
+
index: props.index,
|
|
23189
|
+
value
|
|
23190
|
+
}));
|
|
23191
|
+
} else if (regularSlot) {
|
|
23192
|
+
children.push(regularSlot);
|
|
23193
|
+
} else {
|
|
23194
|
+
children.push(value == null ? value : String(value));
|
|
23195
|
+
}
|
|
23196
|
+
|
|
23197
|
+
const mobileRowChildren = [h('div', {
|
|
23198
|
+
staticClass: 'v-data-table__mobile-row__cell'
|
|
23199
|
+
}, children)];
|
|
23200
|
+
|
|
23201
|
+
if (header.value !== 'dataTableSelect' && !props.hideDefaultHeader) {
|
|
23202
|
+
mobileRowChildren.unshift(h('div', {
|
|
23203
|
+
staticClass: 'v-data-table__mobile-row__header'
|
|
23204
|
+
}, [header.text]));
|
|
23205
|
+
}
|
|
23206
|
+
|
|
23207
|
+
return h('td', {
|
|
23208
|
+
class: classes
|
|
23209
|
+
}, mobileRowChildren);
|
|
23210
|
+
});
|
|
23211
|
+
return h('tr', { ...data,
|
|
23212
|
+
staticClass: 'v-data-table__mobile-table-row'
|
|
23213
|
+
}, columns);
|
|
23214
|
+
}
|
|
23215
|
+
|
|
23216
|
+
}));
|
|
23217
|
+
//# sourceMappingURL=MobileRow.js.map
|
|
23218
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDataTable/VDataTable.js
|
|
23219
|
+
// Components
|
|
23220
|
+
|
|
23221
|
+
|
|
23222
|
+
|
|
23223
|
+
|
|
23224
|
+
// import VVirtualTable from './VVirtualTable'
|
|
23225
|
+
|
|
23226
|
+
|
|
23227
|
+
|
|
23228
|
+
|
|
23229
|
+
|
|
23230
|
+
|
|
23231
|
+
// Mixins
|
|
23232
|
+
|
|
23233
|
+
// Directives
|
|
23234
|
+
|
|
23235
|
+
// Helpers
|
|
23236
|
+
|
|
23237
|
+
|
|
23238
|
+
|
|
23239
|
+
|
|
23240
|
+
|
|
23241
|
+
|
|
23242
|
+
function filterFn(item, search, filter) {
|
|
23243
|
+
return header => {
|
|
23244
|
+
const value = getObjectValueByPath(item, header.value);
|
|
23245
|
+
return header.filter ? header.filter(value, search, item) : filter(value, search, item);
|
|
23246
|
+
};
|
|
23247
|
+
}
|
|
23248
|
+
|
|
23249
|
+
function searchTableItems(items, search, headersWithCustomFilters, headersWithoutCustomFilters, customFilter) {
|
|
23250
|
+
search = typeof search === 'string' ? search.trim() : null;
|
|
23251
|
+
return items.filter(item => {
|
|
23252
|
+
// Headers with custom filters are evaluated whether or not a search term has been provided.
|
|
23253
|
+
// We need to match every filter to be included in the results.
|
|
23254
|
+
const matchesColumnFilters = headersWithCustomFilters.every(filterFn(item, search, defaultFilter)); // Headers without custom filters are only filtered by the `search` property if it is defined.
|
|
23255
|
+
// We only need a single column to match the search term to be included in the results.
|
|
23256
|
+
|
|
23257
|
+
const matchesSearchTerm = !search || headersWithoutCustomFilters.some(filterFn(item, search, customFilter));
|
|
23258
|
+
return matchesColumnFilters && matchesSearchTerm;
|
|
23259
|
+
});
|
|
23260
|
+
}
|
|
23261
|
+
/* @vue/component */
|
|
23262
|
+
|
|
23263
|
+
|
|
23264
|
+
/* harmony default export */ var VDataTable_VDataTable = (mixins(VDataIterator, loadable).extend({
|
|
23265
|
+
name: 'v-data-table',
|
|
23266
|
+
// https://github.com/vuejs/vue/issues/6872
|
|
23267
|
+
directives: {
|
|
23268
|
+
ripple: directives_ripple
|
|
23269
|
+
},
|
|
23270
|
+
props: {
|
|
23271
|
+
headers: {
|
|
23272
|
+
type: Array,
|
|
23273
|
+
default: () => []
|
|
23274
|
+
},
|
|
23275
|
+
showSelect: Boolean,
|
|
23276
|
+
checkboxColor: String,
|
|
23277
|
+
showExpand: Boolean,
|
|
23278
|
+
showGroupBy: Boolean,
|
|
23279
|
+
// TODO: Fix
|
|
23280
|
+
// virtualRows: Boolean,
|
|
23281
|
+
height: [Number, String],
|
|
23282
|
+
hideDefaultHeader: Boolean,
|
|
23283
|
+
caption: String,
|
|
23284
|
+
dense: Boolean,
|
|
23285
|
+
headerProps: Object,
|
|
23286
|
+
calculateWidths: Boolean,
|
|
23287
|
+
fixedHeader: Boolean,
|
|
23288
|
+
headersLength: Number,
|
|
23289
|
+
expandIcon: {
|
|
23290
|
+
type: String,
|
|
23291
|
+
default: '$expand'
|
|
23292
|
+
},
|
|
23293
|
+
customFilter: {
|
|
23294
|
+
type: Function,
|
|
23295
|
+
default: defaultFilter
|
|
23296
|
+
},
|
|
23297
|
+
itemClass: {
|
|
23298
|
+
type: [String, Function],
|
|
23299
|
+
default: () => ''
|
|
23300
|
+
},
|
|
23301
|
+
loaderHeight: {
|
|
23302
|
+
type: [Number, String],
|
|
23303
|
+
default: 4
|
|
23304
|
+
}
|
|
23305
|
+
},
|
|
23306
|
+
|
|
23307
|
+
data() {
|
|
23308
|
+
return {
|
|
23309
|
+
internalGroupBy: [],
|
|
23310
|
+
openCache: {},
|
|
23311
|
+
widths: []
|
|
23312
|
+
};
|
|
23313
|
+
},
|
|
23314
|
+
|
|
23315
|
+
computed: {
|
|
23316
|
+
computedHeaders() {
|
|
23317
|
+
if (!this.headers) return [];
|
|
23318
|
+
const headers = this.headers.filter(h => h.value === undefined || !this.internalGroupBy.find(v => v === h.value));
|
|
23319
|
+
const defaultHeader = {
|
|
23320
|
+
text: '',
|
|
23321
|
+
sortable: false,
|
|
23322
|
+
width: '1px'
|
|
23323
|
+
};
|
|
23324
|
+
|
|
23325
|
+
if (this.showSelect) {
|
|
23326
|
+
const index = headers.findIndex(h => h.value === 'data-table-select');
|
|
23327
|
+
if (index < 0) headers.unshift({ ...defaultHeader,
|
|
23328
|
+
value: 'data-table-select'
|
|
23329
|
+
});else headers.splice(index, 1, { ...defaultHeader,
|
|
23330
|
+
...headers[index]
|
|
23331
|
+
});
|
|
23332
|
+
}
|
|
23333
|
+
|
|
23334
|
+
if (this.showExpand) {
|
|
23335
|
+
const index = headers.findIndex(h => h.value === 'data-table-expand');
|
|
23336
|
+
if (index < 0) headers.unshift({ ...defaultHeader,
|
|
23337
|
+
value: 'data-table-expand'
|
|
23338
|
+
});else headers.splice(index, 1, { ...defaultHeader,
|
|
23339
|
+
...headers[index]
|
|
23340
|
+
});
|
|
23341
|
+
}
|
|
23342
|
+
|
|
23343
|
+
return headers;
|
|
23344
|
+
},
|
|
23345
|
+
|
|
23346
|
+
colspanAttrs() {
|
|
23347
|
+
return this.isMobile ? undefined : {
|
|
23348
|
+
colspan: this.headersLength || this.computedHeaders.length
|
|
23349
|
+
};
|
|
23350
|
+
},
|
|
23351
|
+
|
|
23352
|
+
columnSorters() {
|
|
23353
|
+
return this.computedHeaders.reduce((acc, header) => {
|
|
23354
|
+
if (header.sort) acc[header.value] = header.sort;
|
|
23355
|
+
return acc;
|
|
23356
|
+
}, {});
|
|
23357
|
+
},
|
|
23358
|
+
|
|
23359
|
+
headersWithCustomFilters() {
|
|
23360
|
+
return this.headers.filter(header => header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true));
|
|
23361
|
+
},
|
|
23362
|
+
|
|
23363
|
+
headersWithoutCustomFilters() {
|
|
23364
|
+
return this.headers.filter(header => !header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true));
|
|
23365
|
+
},
|
|
23366
|
+
|
|
23367
|
+
sanitizedHeaderProps() {
|
|
23368
|
+
return camelizeObjectKeys(this.headerProps);
|
|
23369
|
+
},
|
|
23370
|
+
|
|
23371
|
+
computedItemsPerPage() {
|
|
23372
|
+
const itemsPerPage = this.options && this.options.itemsPerPage ? this.options.itemsPerPage : this.itemsPerPage;
|
|
23373
|
+
const itemsPerPageOptions = this.sanitizedFooterProps.itemsPerPageOptions;
|
|
23374
|
+
|
|
23375
|
+
if (itemsPerPageOptions && !itemsPerPageOptions.find(item => typeof item === 'number' ? item === itemsPerPage : item.value === itemsPerPage)) {
|
|
23376
|
+
const firstOption = itemsPerPageOptions[0];
|
|
23377
|
+
return typeof firstOption === 'object' ? firstOption.value : firstOption;
|
|
23378
|
+
}
|
|
23379
|
+
|
|
23380
|
+
return itemsPerPage;
|
|
23381
|
+
}
|
|
23382
|
+
|
|
23383
|
+
},
|
|
23384
|
+
|
|
23385
|
+
created() {
|
|
23386
|
+
const breakingProps = [['sort-icon', 'header-props.sort-icon'], ['hide-headers', 'hide-default-header'], ['select-all', 'show-select']];
|
|
23387
|
+
/* istanbul ignore next */
|
|
23388
|
+
|
|
23389
|
+
breakingProps.forEach(([original, replacement]) => {
|
|
23390
|
+
if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this);
|
|
23391
|
+
});
|
|
23392
|
+
},
|
|
23393
|
+
|
|
23394
|
+
mounted() {
|
|
23395
|
+
// if ((!this.sortBy || !this.sortBy.length) && (!this.options.sortBy || !this.options.sortBy.length)) {
|
|
23396
|
+
// const firstSortable = this.headers.find(h => !('sortable' in h) || !!h.sortable)
|
|
23397
|
+
// if (firstSortable) this.updateOptions({ sortBy: [firstSortable.value], sortDesc: [false] })
|
|
23398
|
+
// }
|
|
23399
|
+
if (this.calculateWidths) {
|
|
23400
|
+
window.addEventListener('resize', this.calcWidths);
|
|
23401
|
+
this.calcWidths();
|
|
23402
|
+
}
|
|
23403
|
+
},
|
|
23404
|
+
|
|
23405
|
+
beforeDestroy() {
|
|
23406
|
+
if (this.calculateWidths) {
|
|
23407
|
+
window.removeEventListener('resize', this.calcWidths);
|
|
23408
|
+
}
|
|
23409
|
+
},
|
|
23410
|
+
|
|
23411
|
+
methods: {
|
|
23412
|
+
calcWidths() {
|
|
23413
|
+
this.widths = Array.from(this.$el.querySelectorAll('th')).map(e => e.clientWidth);
|
|
23414
|
+
},
|
|
23415
|
+
|
|
23416
|
+
customFilterWithColumns(items, search) {
|
|
23417
|
+
return searchTableItems(items, search, this.headersWithCustomFilters, this.headersWithoutCustomFilters, this.customFilter);
|
|
23418
|
+
},
|
|
23419
|
+
|
|
23420
|
+
customSortWithHeaders(items, sortBy, sortDesc, locale) {
|
|
23421
|
+
return this.customSort(items, sortBy, sortDesc, locale, this.columnSorters);
|
|
23422
|
+
},
|
|
23423
|
+
|
|
23424
|
+
createItemProps(item, index) {
|
|
23425
|
+
const props = VDataIterator.options.methods.createItemProps.call(this, item, index);
|
|
23426
|
+
return Object.assign(props, {
|
|
23427
|
+
headers: this.computedHeaders
|
|
23428
|
+
});
|
|
23429
|
+
},
|
|
23430
|
+
|
|
23431
|
+
genCaption(props) {
|
|
23432
|
+
if (this.caption) return [this.$createElement('caption', [this.caption])];
|
|
23433
|
+
return getSlot(this, 'caption', props, true);
|
|
23434
|
+
},
|
|
23435
|
+
|
|
23436
|
+
genColgroup(props) {
|
|
23437
|
+
return this.$createElement('colgroup', this.computedHeaders.map(header => {
|
|
23438
|
+
return this.$createElement('col', {
|
|
23439
|
+
class: {
|
|
23440
|
+
divider: header.divider
|
|
23441
|
+
}
|
|
23442
|
+
});
|
|
23443
|
+
}));
|
|
23444
|
+
},
|
|
23445
|
+
|
|
23446
|
+
genLoading() {
|
|
23447
|
+
const th = this.$createElement('th', {
|
|
23448
|
+
staticClass: 'column',
|
|
23449
|
+
attrs: this.colspanAttrs
|
|
23450
|
+
}, [this.genProgress()]);
|
|
23451
|
+
const tr = this.$createElement('tr', {
|
|
23452
|
+
staticClass: 'v-data-table__progress'
|
|
23453
|
+
}, [th]);
|
|
23454
|
+
return this.$createElement('thead', [tr]);
|
|
23455
|
+
},
|
|
23456
|
+
|
|
23457
|
+
genHeaders(props) {
|
|
23458
|
+
const data = {
|
|
23459
|
+
props: { ...this.sanitizedHeaderProps,
|
|
23460
|
+
headers: this.computedHeaders,
|
|
23461
|
+
options: props.options,
|
|
23462
|
+
mobile: this.isMobile,
|
|
23463
|
+
showGroupBy: this.showGroupBy,
|
|
23464
|
+
checkboxColor: this.checkboxColor,
|
|
23465
|
+
someItems: this.someItems,
|
|
23466
|
+
everyItem: this.everyItem,
|
|
23467
|
+
singleSelect: this.singleSelect,
|
|
23468
|
+
disableSort: this.disableSort
|
|
23469
|
+
},
|
|
23470
|
+
on: {
|
|
23471
|
+
sort: props.sort,
|
|
23472
|
+
group: props.group,
|
|
23473
|
+
'toggle-select-all': this.toggleSelectAll
|
|
23474
|
+
}
|
|
23475
|
+
}; // TODO: rename to 'head'? (thead, tbody, tfoot)
|
|
23476
|
+
|
|
23477
|
+
const children = [getSlot(this, 'header', { ...data,
|
|
23478
|
+
isMobile: this.isMobile
|
|
23479
|
+
})];
|
|
23480
|
+
|
|
23481
|
+
if (!this.hideDefaultHeader) {
|
|
23482
|
+
const scopedSlots = getPrefixedScopedSlots('header.', this.$scopedSlots);
|
|
23483
|
+
children.push(this.$createElement(VDataTable_VDataTableHeader, { ...data,
|
|
23484
|
+
scopedSlots
|
|
23485
|
+
}));
|
|
23486
|
+
}
|
|
23487
|
+
|
|
23488
|
+
if (this.loading) children.push(this.genLoading());
|
|
23489
|
+
return children;
|
|
23490
|
+
},
|
|
23491
|
+
|
|
23492
|
+
genEmptyWrapper(content) {
|
|
23493
|
+
return this.$createElement('tr', {
|
|
23494
|
+
staticClass: 'v-data-table__empty-wrapper'
|
|
23495
|
+
}, [this.$createElement('td', {
|
|
23496
|
+
attrs: this.colspanAttrs
|
|
23497
|
+
}, content)]);
|
|
23498
|
+
},
|
|
23499
|
+
|
|
23500
|
+
genItems(items, props) {
|
|
23501
|
+
const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength);
|
|
23502
|
+
if (empty) return [empty];
|
|
23503
|
+
return props.groupedItems ? this.genGroupedRows(props.groupedItems, props) : this.genRows(items, props);
|
|
23504
|
+
},
|
|
23505
|
+
|
|
23506
|
+
genGroupedRows(groupedItems, props) {
|
|
23507
|
+
return groupedItems.map(group => {
|
|
23508
|
+
if (!this.openCache.hasOwnProperty(group.name)) this.$set(this.openCache, group.name, true);
|
|
23509
|
+
|
|
23510
|
+
if (this.$scopedSlots.group) {
|
|
23511
|
+
return this.$scopedSlots.group({
|
|
23512
|
+
group: group.name,
|
|
23513
|
+
options: props.options,
|
|
23514
|
+
isMobile: this.isMobile,
|
|
23515
|
+
items: group.items,
|
|
23516
|
+
headers: this.computedHeaders
|
|
23517
|
+
});
|
|
23518
|
+
} else {
|
|
23519
|
+
return this.genDefaultGroupedRow(group.name, group.items, props);
|
|
23520
|
+
}
|
|
23521
|
+
});
|
|
23522
|
+
},
|
|
23523
|
+
|
|
23524
|
+
genDefaultGroupedRow(group, items, props) {
|
|
23525
|
+
const isOpen = !!this.openCache[group];
|
|
23526
|
+
const children = [this.$createElement('template', {
|
|
23527
|
+
slot: 'row.content'
|
|
23528
|
+
}, this.genRows(items, props))];
|
|
23529
|
+
|
|
23530
|
+
const toggleFn = () => this.$set(this.openCache, group, !this.openCache[group]);
|
|
23531
|
+
|
|
23532
|
+
const removeFn = () => props.updateOptions({
|
|
23533
|
+
groupBy: [],
|
|
23534
|
+
groupDesc: []
|
|
23535
|
+
});
|
|
23536
|
+
|
|
23537
|
+
if (this.$scopedSlots['group.header']) {
|
|
23538
|
+
children.unshift(this.$createElement('template', {
|
|
23539
|
+
slot: 'column.header'
|
|
23540
|
+
}, [this.$scopedSlots['group.header']({
|
|
23541
|
+
group,
|
|
23542
|
+
groupBy: props.options.groupBy,
|
|
23543
|
+
isMobile: this.isMobile,
|
|
23544
|
+
items,
|
|
23545
|
+
headers: this.computedHeaders,
|
|
23546
|
+
isOpen,
|
|
23547
|
+
toggle: toggleFn,
|
|
23548
|
+
remove: removeFn
|
|
23549
|
+
})]));
|
|
23550
|
+
} else {
|
|
23551
|
+
const toggle = this.$createElement(components_VBtn, {
|
|
23552
|
+
staticClass: 'ma-0',
|
|
23553
|
+
props: {
|
|
23554
|
+
icon: true,
|
|
23555
|
+
small: true
|
|
23556
|
+
},
|
|
23557
|
+
on: {
|
|
23558
|
+
click: toggleFn
|
|
23559
|
+
}
|
|
23560
|
+
}, [this.$createElement(components_VIcon, [isOpen ? '$minus' : '$plus'])]);
|
|
23561
|
+
const remove = this.$createElement(components_VBtn, {
|
|
23562
|
+
staticClass: 'ma-0',
|
|
23563
|
+
props: {
|
|
23564
|
+
icon: true,
|
|
23565
|
+
small: true
|
|
23566
|
+
},
|
|
23567
|
+
on: {
|
|
23568
|
+
click: removeFn
|
|
23569
|
+
}
|
|
23570
|
+
}, [this.$createElement(components_VIcon, ['$close'])]);
|
|
23571
|
+
const column = this.$createElement('td', {
|
|
23572
|
+
staticClass: 'text-start',
|
|
23573
|
+
attrs: this.colspanAttrs
|
|
23574
|
+
}, [toggle, `${props.options.groupBy[0]}: ${group}`, remove]);
|
|
23575
|
+
children.unshift(this.$createElement('template', {
|
|
23576
|
+
slot: 'column.header'
|
|
23577
|
+
}, [column]));
|
|
23578
|
+
}
|
|
23579
|
+
|
|
23580
|
+
if (this.$scopedSlots['group.summary']) {
|
|
23581
|
+
children.push(this.$createElement('template', {
|
|
23582
|
+
slot: 'column.summary'
|
|
23583
|
+
}, [this.$scopedSlots['group.summary']({
|
|
23584
|
+
group,
|
|
23585
|
+
groupBy: props.options.groupBy,
|
|
23586
|
+
isMobile: this.isMobile,
|
|
23587
|
+
items,
|
|
23588
|
+
headers: this.computedHeaders,
|
|
23589
|
+
isOpen,
|
|
23590
|
+
toggle: toggleFn
|
|
23591
|
+
})]));
|
|
23592
|
+
}
|
|
23593
|
+
|
|
23594
|
+
return this.$createElement(RowGroup, {
|
|
23595
|
+
key: group,
|
|
23596
|
+
props: {
|
|
23597
|
+
value: isOpen
|
|
23598
|
+
}
|
|
23599
|
+
}, children);
|
|
23600
|
+
},
|
|
23601
|
+
|
|
23602
|
+
genRows(items, props) {
|
|
23603
|
+
return this.$scopedSlots.item ? this.genScopedRows(items, props) : this.genDefaultRows(items, props);
|
|
23604
|
+
},
|
|
23605
|
+
|
|
23606
|
+
genScopedRows(items, props) {
|
|
23607
|
+
const rows = [];
|
|
23608
|
+
|
|
23609
|
+
for (let i = 0; i < items.length; i++) {
|
|
23610
|
+
const item = items[i];
|
|
23611
|
+
rows.push(this.$scopedSlots.item({ ...this.createItemProps(item, i),
|
|
23612
|
+
isMobile: this.isMobile
|
|
23613
|
+
}));
|
|
23614
|
+
|
|
23615
|
+
if (this.isExpanded(item)) {
|
|
23616
|
+
rows.push(this.$scopedSlots['expanded-item']({
|
|
23617
|
+
headers: this.computedHeaders,
|
|
23618
|
+
isMobile: this.isMobile,
|
|
23619
|
+
index: i,
|
|
23620
|
+
item
|
|
23621
|
+
}));
|
|
23622
|
+
}
|
|
23623
|
+
}
|
|
23624
|
+
|
|
23625
|
+
return rows;
|
|
23626
|
+
},
|
|
23627
|
+
|
|
23628
|
+
genDefaultRows(items, props) {
|
|
23629
|
+
return this.$scopedSlots['expanded-item'] ? items.map((item, index) => this.genDefaultExpandedRow(item, index)) : items.map((item, index) => this.genDefaultSimpleRow(item, index));
|
|
23630
|
+
},
|
|
23631
|
+
|
|
23632
|
+
genDefaultExpandedRow(item, index) {
|
|
23633
|
+
const isExpanded = this.isExpanded(item);
|
|
23634
|
+
const classes = {
|
|
23635
|
+
'v-data-table__expanded v-data-table__expanded__row': isExpanded
|
|
23636
|
+
};
|
|
23637
|
+
const headerRow = this.genDefaultSimpleRow(item, index, classes);
|
|
23638
|
+
const expandedRow = this.$createElement('tr', {
|
|
23639
|
+
staticClass: 'v-data-table__expanded v-data-table__expanded__content'
|
|
23640
|
+
}, [this.$scopedSlots['expanded-item']({
|
|
23641
|
+
headers: this.computedHeaders,
|
|
23642
|
+
isMobile: this.isMobile,
|
|
23643
|
+
item
|
|
23644
|
+
})]);
|
|
23645
|
+
return this.$createElement(RowGroup, {
|
|
23646
|
+
props: {
|
|
23647
|
+
value: isExpanded
|
|
23648
|
+
}
|
|
23649
|
+
}, [this.$createElement('template', {
|
|
23650
|
+
slot: 'row.header'
|
|
23651
|
+
}, [headerRow]), this.$createElement('template', {
|
|
23652
|
+
slot: 'row.content'
|
|
23653
|
+
}, [expandedRow])]);
|
|
23654
|
+
},
|
|
23655
|
+
|
|
23656
|
+
genDefaultSimpleRow(item, index, classes = {}) {
|
|
23657
|
+
const scopedSlots = getPrefixedScopedSlots('item.', this.$scopedSlots);
|
|
23658
|
+
const data = this.createItemProps(item, index);
|
|
23659
|
+
|
|
23660
|
+
if (this.showSelect) {
|
|
23661
|
+
const slot = scopedSlots['data-table-select'];
|
|
23662
|
+
scopedSlots['data-table-select'] = slot ? () => slot({ ...data,
|
|
23663
|
+
isMobile: this.isMobile
|
|
23664
|
+
}) : () => {
|
|
23665
|
+
var _this$checkboxColor;
|
|
23666
|
+
|
|
23667
|
+
return this.$createElement(VCheckbox_VSimpleCheckbox, {
|
|
23668
|
+
staticClass: 'v-data-table__checkbox',
|
|
23669
|
+
props: {
|
|
23670
|
+
value: data.isSelected,
|
|
23671
|
+
disabled: !this.isSelectable(item),
|
|
23672
|
+
color: (_this$checkboxColor = this.checkboxColor) != null ? _this$checkboxColor : ''
|
|
23673
|
+
},
|
|
23674
|
+
on: {
|
|
23675
|
+
input: val => data.select(val)
|
|
23676
|
+
}
|
|
23677
|
+
});
|
|
23678
|
+
};
|
|
23679
|
+
}
|
|
23680
|
+
|
|
23681
|
+
if (this.showExpand) {
|
|
23682
|
+
const slot = scopedSlots['data-table-expand'];
|
|
23683
|
+
scopedSlots['data-table-expand'] = slot ? () => slot(data) : () => this.$createElement(components_VIcon, {
|
|
23684
|
+
staticClass: 'v-data-table__expand-icon',
|
|
23685
|
+
class: {
|
|
23686
|
+
'v-data-table__expand-icon--active': data.isExpanded
|
|
23687
|
+
},
|
|
23688
|
+
on: {
|
|
23689
|
+
click: e => {
|
|
23690
|
+
e.stopPropagation();
|
|
23691
|
+
data.expand(!data.isExpanded);
|
|
23692
|
+
}
|
|
23693
|
+
}
|
|
23694
|
+
}, [this.expandIcon]);
|
|
23695
|
+
}
|
|
23696
|
+
|
|
23697
|
+
return this.$createElement(this.isMobile ? MobileRow : Row, {
|
|
23698
|
+
key: getObjectValueByPath(item, this.itemKey),
|
|
23699
|
+
class: mergeClasses({ ...classes,
|
|
23700
|
+
'v-data-table__selected': data.isSelected
|
|
23701
|
+
}, getPropertyFromItem(item, this.itemClass)),
|
|
23702
|
+
props: {
|
|
23703
|
+
headers: this.computedHeaders,
|
|
23704
|
+
hideDefaultHeader: this.hideDefaultHeader,
|
|
23705
|
+
index,
|
|
23706
|
+
item,
|
|
23707
|
+
rtl: this.$vuetify.rtl
|
|
23708
|
+
},
|
|
23709
|
+
scopedSlots,
|
|
23710
|
+
on: {
|
|
23711
|
+
// TODO: for click, the first argument should be the event, and the second argument should be data,
|
|
23712
|
+
// but this is a breaking change so it's for v3
|
|
23713
|
+
click: () => this.$emit('click:row', item, data),
|
|
23714
|
+
contextmenu: event => this.$emit('contextmenu:row', event, data),
|
|
23715
|
+
dblclick: event => this.$emit('dblclick:row', event, data)
|
|
23716
|
+
}
|
|
23717
|
+
});
|
|
23718
|
+
},
|
|
23719
|
+
|
|
23720
|
+
genBody(props) {
|
|
23721
|
+
const data = { ...props,
|
|
23722
|
+
expand: this.expand,
|
|
23723
|
+
headers: this.computedHeaders,
|
|
23724
|
+
isExpanded: this.isExpanded,
|
|
23725
|
+
isMobile: this.isMobile,
|
|
23726
|
+
isSelected: this.isSelected,
|
|
23727
|
+
select: this.select
|
|
23728
|
+
};
|
|
23729
|
+
|
|
23730
|
+
if (this.$scopedSlots.body) {
|
|
23731
|
+
return this.$scopedSlots.body(data);
|
|
23732
|
+
}
|
|
23733
|
+
|
|
23734
|
+
return this.$createElement('tbody', [getSlot(this, 'body.prepend', data, true), this.genItems(props.items, props), getSlot(this, 'body.append', data, true)]);
|
|
23735
|
+
},
|
|
23736
|
+
|
|
23737
|
+
genFoot(props) {
|
|
23738
|
+
var _this$$scopedSlots$fo, _this$$scopedSlots;
|
|
23739
|
+
|
|
23740
|
+
return (_this$$scopedSlots$fo = (_this$$scopedSlots = this.$scopedSlots).foot) == null ? void 0 : _this$$scopedSlots$fo.call(_this$$scopedSlots, props);
|
|
23741
|
+
},
|
|
23742
|
+
|
|
23743
|
+
genFooters(props) {
|
|
23744
|
+
const data = {
|
|
23745
|
+
props: {
|
|
23746
|
+
options: props.options,
|
|
23747
|
+
pagination: props.pagination,
|
|
23748
|
+
itemsPerPageText: '$vuetify.dataTable.itemsPerPageText',
|
|
23749
|
+
...this.sanitizedFooterProps
|
|
23750
|
+
},
|
|
23751
|
+
on: {
|
|
23752
|
+
'update:options': value => props.updateOptions(value)
|
|
23753
|
+
},
|
|
23754
|
+
widths: this.widths,
|
|
23755
|
+
headers: this.computedHeaders
|
|
23756
|
+
};
|
|
23757
|
+
const children = [getSlot(this, 'footer', data, true)];
|
|
23758
|
+
|
|
23759
|
+
if (!this.hideDefaultFooter) {
|
|
23760
|
+
children.push(this.$createElement(VDataIterator_VDataFooter, { ...data,
|
|
23761
|
+
scopedSlots: getPrefixedScopedSlots('footer.', this.$scopedSlots)
|
|
23762
|
+
}));
|
|
23763
|
+
}
|
|
23764
|
+
|
|
23765
|
+
return children;
|
|
23766
|
+
},
|
|
23767
|
+
|
|
23768
|
+
genDefaultScopedSlot(props) {
|
|
23769
|
+
const simpleProps = {
|
|
23770
|
+
height: this.height,
|
|
23771
|
+
fixedHeader: this.fixedHeader,
|
|
23772
|
+
dense: this.dense
|
|
23773
|
+
}; // if (this.virtualRows) {
|
|
23774
|
+
// return this.$createElement(VVirtualTable, {
|
|
23775
|
+
// props: Object.assign(simpleProps, {
|
|
23776
|
+
// items: props.items,
|
|
23777
|
+
// height: this.height,
|
|
23778
|
+
// rowHeight: this.dense ? 24 : 48,
|
|
23779
|
+
// headerHeight: this.dense ? 32 : 48,
|
|
23780
|
+
// // TODO: expose rest of props from virtual table?
|
|
23781
|
+
// }),
|
|
23782
|
+
// scopedSlots: {
|
|
23783
|
+
// items: ({ items }) => this.genItems(items, props) as any,
|
|
23784
|
+
// },
|
|
23785
|
+
// }, [
|
|
23786
|
+
// this.proxySlot('body.before', [this.genCaption(props), this.genHeaders(props)]),
|
|
23787
|
+
// this.proxySlot('bottom', this.genFooters(props)),
|
|
23788
|
+
// ])
|
|
23789
|
+
// }
|
|
23790
|
+
|
|
23791
|
+
return this.$createElement(VDataTable_VSimpleTable, {
|
|
23792
|
+
props: simpleProps,
|
|
23793
|
+
class: {
|
|
23794
|
+
'v-data-table--mobile': this.isMobile
|
|
23795
|
+
}
|
|
23796
|
+
}, [this.proxySlot('top', getSlot(this, 'top', { ...props,
|
|
23797
|
+
isMobile: this.isMobile
|
|
23798
|
+
}, true)), this.genCaption(props), this.genColgroup(props), this.genHeaders(props), this.genBody(props), this.genFoot(props), this.proxySlot('bottom', this.genFooters(props))]);
|
|
23799
|
+
},
|
|
23800
|
+
|
|
23801
|
+
proxySlot(slot, content) {
|
|
23802
|
+
return this.$createElement('template', {
|
|
23803
|
+
slot
|
|
23804
|
+
}, content);
|
|
23805
|
+
}
|
|
23806
|
+
|
|
23807
|
+
},
|
|
23808
|
+
|
|
23809
|
+
render() {
|
|
23810
|
+
return this.$createElement(VData, {
|
|
23811
|
+
props: { ...this.$props,
|
|
23812
|
+
customFilter: this.customFilterWithColumns,
|
|
23813
|
+
customSort: this.customSortWithHeaders,
|
|
23814
|
+
itemsPerPage: this.computedItemsPerPage
|
|
23815
|
+
},
|
|
23816
|
+
on: {
|
|
23817
|
+
'update:options': (v, old) => {
|
|
23818
|
+
this.internalGroupBy = v.groupBy || [];
|
|
23819
|
+
!deepEqual(v, old) && this.$emit('update:options', v);
|
|
23820
|
+
},
|
|
23821
|
+
'update:page': v => this.$emit('update:page', v),
|
|
23822
|
+
'update:items-per-page': v => this.$emit('update:items-per-page', v),
|
|
23823
|
+
'update:sort-by': v => this.$emit('update:sort-by', v),
|
|
23824
|
+
'update:sort-desc': v => this.$emit('update:sort-desc', v),
|
|
23825
|
+
'update:group-by': v => this.$emit('update:group-by', v),
|
|
23826
|
+
'update:group-desc': v => this.$emit('update:group-desc', v),
|
|
23827
|
+
pagination: (v, old) => !deepEqual(v, old) && this.$emit('pagination', v),
|
|
23828
|
+
'current-items': v => {
|
|
23829
|
+
this.internalCurrentItems = v;
|
|
23830
|
+
this.$emit('current-items', v);
|
|
23831
|
+
},
|
|
23832
|
+
'page-count': v => this.$emit('page-count', v)
|
|
23833
|
+
},
|
|
23834
|
+
scopedSlots: {
|
|
23835
|
+
default: this.genDefaultScopedSlot
|
|
23836
|
+
}
|
|
23837
|
+
});
|
|
23838
|
+
}
|
|
23839
|
+
|
|
23840
|
+
}));
|
|
23841
|
+
//# sourceMappingURL=VDataTable.js.map
|
|
23842
|
+
// 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&
|
|
23843
|
+
|
|
23844
|
+
|
|
23845
|
+
//
|
|
23846
|
+
//
|
|
23847
|
+
//
|
|
23848
|
+
//
|
|
23849
|
+
//
|
|
23850
|
+
//
|
|
23851
|
+
//
|
|
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
|
+
/* harmony default export */ var SelectModalOptionsvue_type_script_lang_js_ = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
|
|
23930
|
+
name: 'farm-select-modal-options',
|
|
23931
|
+
components: {
|
|
23932
|
+
VTextField: components_VTextField,
|
|
23933
|
+
VCol: VCol,
|
|
23934
|
+
VMain: VMain_VMain,
|
|
23935
|
+
VDataTable: VDataTable_VDataTable,
|
|
23936
|
+
VDialog: VDialog_VDialog,
|
|
23937
|
+
DialogHeader: components_DialogHeader,
|
|
23938
|
+
DialogFooter: components_DialogFooter,
|
|
23939
|
+
DataTableEmptyWrapper: components_DataTableEmptyWrapper,
|
|
23940
|
+
DataTablePaginator: components_DataTablePaginator
|
|
23941
|
+
},
|
|
23942
|
+
props: {
|
|
23943
|
+
/**
|
|
23944
|
+
* Input Label
|
|
23945
|
+
*/
|
|
23946
|
+
label: {
|
|
23947
|
+
type: String,
|
|
23948
|
+
required: true
|
|
23949
|
+
},
|
|
23950
|
+
|
|
23951
|
+
/**
|
|
23952
|
+
* Input ID
|
|
23953
|
+
*/
|
|
23954
|
+
inputId: {
|
|
23955
|
+
type: String,
|
|
23956
|
+
required: true
|
|
23957
|
+
},
|
|
23958
|
+
|
|
23959
|
+
/**
|
|
23960
|
+
* Key used to get value from selected item
|
|
23961
|
+
*/
|
|
23962
|
+
selectIdentifier: {
|
|
23963
|
+
type: String,
|
|
23964
|
+
default: 'id'
|
|
23965
|
+
},
|
|
23966
|
+
|
|
23967
|
+
/**
|
|
23968
|
+
* Format label from each item
|
|
23969
|
+
* If value is a function, it is evaluted (use it to build complex strings)
|
|
23970
|
+
* Otherwise, will get item value from the key with the prop value
|
|
23971
|
+
*/
|
|
23972
|
+
itemLabelFormatter: {
|
|
23973
|
+
default: 'name'
|
|
23974
|
+
},
|
|
23975
|
+
|
|
23976
|
+
/**
|
|
23977
|
+
* Items to be shown in the table
|
|
23978
|
+
*/
|
|
23979
|
+
items: {
|
|
23980
|
+
type: Array,
|
|
23981
|
+
default: function _default() {
|
|
23982
|
+
return [];
|
|
23983
|
+
}
|
|
23984
|
+
},
|
|
23985
|
+
|
|
23986
|
+
/**
|
|
23987
|
+
* Function that will be called when user focus/click the input
|
|
23988
|
+
*/
|
|
23989
|
+
loadFn: {
|
|
23990
|
+
type: Function,
|
|
23991
|
+
default: function _default() {}
|
|
23992
|
+
},
|
|
23993
|
+
|
|
23994
|
+
/**
|
|
23995
|
+
* Request Status from the loader function
|
|
23996
|
+
*/
|
|
23997
|
+
loadingRequestStatus: {
|
|
23998
|
+
default: 'IDLE'
|
|
23999
|
+
},
|
|
24000
|
+
|
|
24001
|
+
/**
|
|
24002
|
+
* Title from the modal
|
|
24003
|
+
*/
|
|
24004
|
+
modalTitle: {
|
|
24005
|
+
type: String,
|
|
24006
|
+
default: 'Selecione um item'
|
|
24007
|
+
},
|
|
24008
|
+
|
|
24009
|
+
/**
|
|
24010
|
+
* General configuration
|
|
24011
|
+
*/
|
|
24012
|
+
config: {
|
|
24013
|
+
default: function _default() {
|
|
24014
|
+
return {
|
|
24015
|
+
md: 2,
|
|
24016
|
+
required: false
|
|
24017
|
+
};
|
|
24018
|
+
}
|
|
24019
|
+
},
|
|
24020
|
+
|
|
24021
|
+
/**
|
|
24022
|
+
* Placeholder from the search input
|
|
24023
|
+
*/
|
|
24024
|
+
placeholder: {
|
|
24025
|
+
type: String,
|
|
24026
|
+
default: 'Pesquise'
|
|
24027
|
+
},
|
|
24028
|
+
|
|
24029
|
+
/**
|
|
24030
|
+
* v-model
|
|
24031
|
+
*/
|
|
24032
|
+
value: {
|
|
24033
|
+
required: true
|
|
24034
|
+
}
|
|
24035
|
+
},
|
|
24036
|
+
computed: {
|
|
24037
|
+
inputVal: {
|
|
24038
|
+
get: function get() {
|
|
24039
|
+
return this.value;
|
|
24040
|
+
},
|
|
24041
|
+
set: function set(val) {
|
|
24042
|
+
this.$emit('input', val);
|
|
24043
|
+
}
|
|
24044
|
+
},
|
|
24045
|
+
isLoading: function isLoading() {
|
|
24046
|
+
return this.loadingRequestStatus === 'START';
|
|
24047
|
+
},
|
|
24048
|
+
selectedValueText: {
|
|
24049
|
+
get: function get() {
|
|
24050
|
+
return this.selectedItem ? this.getItemLabel(this.selectedItem) : '';
|
|
24051
|
+
}
|
|
24052
|
+
},
|
|
24053
|
+
totalPages: function totalPages() {
|
|
24054
|
+
if (this.items !== undefined) {
|
|
24055
|
+
return Math.ceil(this.items.length / 10);
|
|
24056
|
+
}
|
|
24057
|
+
|
|
24058
|
+
return 0;
|
|
24059
|
+
}
|
|
24060
|
+
},
|
|
24061
|
+
data: function data() {
|
|
24062
|
+
return {
|
|
24063
|
+
selectedValue: {},
|
|
24064
|
+
showModal: false,
|
|
24065
|
+
selectedItem: null,
|
|
24066
|
+
searchValue: '',
|
|
24067
|
+
headers: [{
|
|
24068
|
+
text: 'Label',
|
|
24069
|
+
sortable: false,
|
|
24070
|
+
value: 'label',
|
|
24071
|
+
align: 'left'
|
|
24072
|
+
}],
|
|
24073
|
+
pagination: {
|
|
24074
|
+
page: 1,
|
|
24075
|
+
itemsPerPage: 10,
|
|
24076
|
+
pages: 0
|
|
24077
|
+
}
|
|
24078
|
+
};
|
|
24079
|
+
},
|
|
24080
|
+
watch: {
|
|
24081
|
+
value: function value(newValue) {
|
|
24082
|
+
if (!newValue || newValue === undefined) {
|
|
24083
|
+
this.selectedItem = null;
|
|
24084
|
+
}
|
|
24085
|
+
},
|
|
24086
|
+
items: function items(newValue) {
|
|
24087
|
+
this.pagination.pages = Math.ceil(newValue.length / 10);
|
|
24088
|
+
}
|
|
24089
|
+
},
|
|
24090
|
+
methods: {
|
|
24091
|
+
handlePagination: function handlePagination(tablePagination) {
|
|
24092
|
+
if (tablePagination.page === 1 && tablePagination.itemsLength !== this.pagination.pages) {
|
|
24093
|
+
this.pagination.pages = Math.ceil(tablePagination.itemsLength / 10);
|
|
24094
|
+
}
|
|
24095
|
+
},
|
|
24096
|
+
openModal: function openModal() {
|
|
24097
|
+
this.loadFn();
|
|
24098
|
+
this.showModal = true;
|
|
24099
|
+
},
|
|
24100
|
+
closeModal: function closeModal() {
|
|
24101
|
+
this.showModal = false;
|
|
24102
|
+
},
|
|
24103
|
+
onChangePage: function onChangePage(newPage) {
|
|
24104
|
+
this.pagination.page = newPage;
|
|
24105
|
+
},
|
|
24106
|
+
getItemLabel: function getItemLabel(item) {
|
|
24107
|
+
if (typeof this.itemLabelFormatter === 'function') {
|
|
24108
|
+
return this.itemLabelFormatter(item);
|
|
24109
|
+
}
|
|
24110
|
+
|
|
24111
|
+
return item[this.itemLabelFormatter];
|
|
24112
|
+
},
|
|
24113
|
+
handleClick: function handleClick(item) {
|
|
24114
|
+
this.inputVal = item[this.selectIdentifier];
|
|
24115
|
+
this.showModal = false;
|
|
24116
|
+
this.selectedItem = item;
|
|
24117
|
+
},
|
|
24118
|
+
customFilter: function customFilter(_, search, item) {
|
|
24119
|
+
var label = this.getItemLabel(item);
|
|
24120
|
+
return label.toLowerCase().includes(search.toLowerCase());
|
|
24121
|
+
}
|
|
24122
|
+
}
|
|
24123
|
+
}));
|
|
24124
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=script&lang=js&
|
|
24125
|
+
/* harmony default export */ var SelectModalOptions_SelectModalOptionsvue_type_script_lang_js_ = (SelectModalOptionsvue_type_script_lang_js_);
|
|
24126
|
+
// EXTERNAL MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue?vue&type=style&index=0&id=04f9e4b0&lang=scss&scoped=true&
|
|
24127
|
+
var SelectModalOptionsvue_type_style_index_0_id_04f9e4b0_lang_scss_scoped_true_ = __webpack_require__("1051");
|
|
24128
|
+
|
|
24129
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/SelectModalOptions.vue
|
|
24130
|
+
|
|
24131
|
+
|
|
24132
|
+
|
|
24133
|
+
|
|
24134
|
+
|
|
24135
|
+
|
|
24136
|
+
/* normalize component */
|
|
24137
|
+
|
|
24138
|
+
var SelectModalOptions_component = normalizeComponent(
|
|
24139
|
+
SelectModalOptions_SelectModalOptionsvue_type_script_lang_js_,
|
|
24140
|
+
SelectModalOptionsvue_type_template_id_04f9e4b0_scoped_true_render,
|
|
24141
|
+
SelectModalOptionsvue_type_template_id_04f9e4b0_scoped_true_staticRenderFns,
|
|
24142
|
+
false,
|
|
24143
|
+
null,
|
|
24144
|
+
"04f9e4b0",
|
|
24145
|
+
null
|
|
24146
|
+
|
|
24147
|
+
)
|
|
24148
|
+
|
|
24149
|
+
/* harmony default export */ var SelectModalOptions = (SelectModalOptions_component.exports);
|
|
24150
|
+
// CONCATENATED MODULE: ./src/components/SelectModalOptions/index.js
|
|
24151
|
+
|
|
24152
|
+
|
|
24153
|
+
/* harmony default export */ var components_SelectModalOptions = (SelectModalOptions);
|
|
24154
|
+
// CONCATENATED MODULE: ./src/main.js
|
|
24155
|
+
|
|
24156
|
+
|
|
21364
24157
|
|
|
21365
24158
|
|
|
21366
24159
|
|