pui9-datatables 3.0.10 → 3.0.12
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/pui9-datatables.common.js +187 -1278
- package/dist/pui9-datatables.css +1 -1
- package/package-lock.json +206 -200
- package/package.json +1 -1
|
@@ -602,17 +602,6 @@ var NATIVE_SYMBOL = __webpack_require__("04f8");
|
|
|
602
602
|
module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;
|
|
603
603
|
|
|
604
604
|
|
|
605
|
-
/***/ }),
|
|
606
|
-
|
|
607
|
-
/***/ "0c80":
|
|
608
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
609
|
-
|
|
610
|
-
"use strict";
|
|
611
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_0_id_20924664_prod_lang_postcss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d482");
|
|
612
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_0_id_20924664_prod_lang_postcss_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_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_0_id_20924664_prod_lang_postcss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
613
|
-
/* unused harmony reexport * */
|
|
614
|
-
|
|
615
|
-
|
|
616
605
|
/***/ }),
|
|
617
606
|
|
|
618
607
|
/***/ "0cb2":
|
|
@@ -46235,6 +46224,13 @@ module.exports = /MSIE|Trident/.test(UA);
|
|
|
46235
46224
|
|
|
46236
46225
|
/***/ }),
|
|
46237
46226
|
|
|
46227
|
+
/***/ "2f57":
|
|
46228
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
46229
|
+
|
|
46230
|
+
// extracted by mini-css-extract-plugin
|
|
46231
|
+
|
|
46232
|
+
/***/ }),
|
|
46233
|
+
|
|
46238
46234
|
/***/ "2ff2":
|
|
46239
46235
|
/***/ (function(module, exports, __webpack_require__) {
|
|
46240
46236
|
|
|
@@ -47867,13 +47863,6 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
47867
47863
|
});
|
|
47868
47864
|
|
|
47869
47865
|
|
|
47870
|
-
/***/ }),
|
|
47871
|
-
|
|
47872
|
-
/***/ "4f75":
|
|
47873
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
47874
|
-
|
|
47875
|
-
// extracted by mini-css-extract-plugin
|
|
47876
|
-
|
|
47877
47866
|
/***/ }),
|
|
47878
47867
|
|
|
47879
47868
|
/***/ "4fad":
|
|
@@ -47988,13 +47977,6 @@ module.exports = !!webkit && +webkit[1];
|
|
|
47988
47977
|
/* unused harmony reexport * */
|
|
47989
47978
|
|
|
47990
47979
|
|
|
47991
|
-
/***/ }),
|
|
47992
|
-
|
|
47993
|
-
/***/ "5164":
|
|
47994
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
47995
|
-
|
|
47996
|
-
// extracted by mini-css-extract-plugin
|
|
47997
|
-
|
|
47998
47980
|
/***/ }),
|
|
47999
47981
|
|
|
48000
47982
|
/***/ "51eb":
|
|
@@ -48501,6 +48483,17 @@ var WeakMap = global.WeakMap;
|
|
|
48501
48483
|
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
48502
48484
|
|
|
48503
48485
|
|
|
48486
|
+
/***/ }),
|
|
48487
|
+
|
|
48488
|
+
/***/ "5d47":
|
|
48489
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
48490
|
+
|
|
48491
|
+
"use strict";
|
|
48492
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_1_id_7fb36b86_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2f57");
|
|
48493
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_1_id_7fb36b86_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_1_id_7fb36b86_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
48494
|
+
/* unused harmony reexport * */
|
|
48495
|
+
|
|
48496
|
+
|
|
48504
48497
|
/***/ }),
|
|
48505
48498
|
|
|
48506
48499
|
/***/ "5e77":
|
|
@@ -49546,6 +49539,13 @@ module.exports = function (it) {
|
|
|
49546
49539
|
};
|
|
49547
49540
|
|
|
49548
49541
|
|
|
49542
|
+
/***/ }),
|
|
49543
|
+
|
|
49544
|
+
/***/ "73a7":
|
|
49545
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
49546
|
+
|
|
49547
|
+
// extracted by mini-css-extract-plugin
|
|
49548
|
+
|
|
49549
49549
|
/***/ }),
|
|
49550
49550
|
|
|
49551
49551
|
/***/ "7418":
|
|
@@ -49684,6 +49684,17 @@ $({ target: 'Iterator', proto: true, real: true, forced: true }, {
|
|
|
49684
49684
|
});
|
|
49685
49685
|
|
|
49686
49686
|
|
|
49687
|
+
/***/ }),
|
|
49688
|
+
|
|
49689
|
+
/***/ "7742":
|
|
49690
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49691
|
+
|
|
49692
|
+
"use strict";
|
|
49693
|
+
/* harmony import */ var _pui9_datatables_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_pui9_datatables_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_pui9_datatables_node_modules_vue_loader_lib_loaders_stylePostLoader_js_pui9_datatables_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_pui9_datatables_node_modules_cache_loader_dist_cjs_js_ref_1_0_pui9_datatables_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiFilterRule_vue_vue_type_style_index_0_id_68064e1a_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a2cc");
|
|
49694
|
+
/* harmony import */ var _pui9_datatables_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_pui9_datatables_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_pui9_datatables_node_modules_vue_loader_lib_loaders_stylePostLoader_js_pui9_datatables_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_pui9_datatables_node_modules_cache_loader_dist_cjs_js_ref_1_0_pui9_datatables_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiFilterRule_vue_vue_type_style_index_0_id_68064e1a_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_pui9_datatables_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_pui9_datatables_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_pui9_datatables_node_modules_vue_loader_lib_loaders_stylePostLoader_js_pui9_datatables_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_pui9_datatables_node_modules_cache_loader_dist_cjs_js_ref_1_0_pui9_datatables_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiFilterRule_vue_vue_type_style_index_0_id_68064e1a_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0__);
|
|
49695
|
+
/* unused harmony reexport * */
|
|
49696
|
+
|
|
49697
|
+
|
|
49687
49698
|
/***/ }),
|
|
49688
49699
|
|
|
49689
49700
|
/***/ "7839":
|
|
@@ -50104,6 +50115,17 @@ module.exports = function (argument) {
|
|
|
50104
50115
|
};
|
|
50105
50116
|
|
|
50106
50117
|
|
|
50118
|
+
/***/ }),
|
|
50119
|
+
|
|
50120
|
+
/***/ "8320":
|
|
50121
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
50122
|
+
|
|
50123
|
+
"use strict";
|
|
50124
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_0_id_7fb36b86_prod_lang_postcss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("73a7");
|
|
50125
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_0_id_7fb36b86_prod_lang_postcss_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_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_0_id_7fb36b86_prod_lang_postcss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
50126
|
+
/* unused harmony reexport * */
|
|
50127
|
+
|
|
50128
|
+
|
|
50107
50129
|
/***/ }),
|
|
50108
50130
|
|
|
50109
50131
|
/***/ "83ab":
|
|
@@ -50201,13 +50223,6 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
50201
50223
|
});
|
|
50202
50224
|
|
|
50203
50225
|
|
|
50204
|
-
/***/ }),
|
|
50205
|
-
|
|
50206
|
-
/***/ "8421":
|
|
50207
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
50208
|
-
|
|
50209
|
-
// extracted by mini-css-extract-plugin
|
|
50210
|
-
|
|
50211
50226
|
/***/ }),
|
|
50212
50227
|
|
|
50213
50228
|
/***/ "84ef":
|
|
@@ -50997,13 +51012,6 @@ module.exports = function (key, value) {
|
|
|
50997
51012
|
/* unused harmony reexport * */
|
|
50998
51013
|
|
|
50999
51014
|
|
|
51000
|
-
/***/ }),
|
|
51001
|
-
|
|
51002
|
-
/***/ "93d4":
|
|
51003
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
51004
|
-
|
|
51005
|
-
// extracted by mini-css-extract-plugin
|
|
51006
|
-
|
|
51007
51015
|
/***/ }),
|
|
51008
51016
|
|
|
51009
51017
|
/***/ "94ca":
|
|
@@ -51651,6 +51659,13 @@ module.exports = {
|
|
|
51651
51659
|
};
|
|
51652
51660
|
|
|
51653
51661
|
|
|
51662
|
+
/***/ }),
|
|
51663
|
+
|
|
51664
|
+
/***/ "a2cc":
|
|
51665
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
51666
|
+
|
|
51667
|
+
// extracted by mini-css-extract-plugin
|
|
51668
|
+
|
|
51654
51669
|
/***/ }),
|
|
51655
51670
|
|
|
51656
51671
|
/***/ "a30a":
|
|
@@ -51954,17 +51969,6 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
51954
51969
|
};
|
|
51955
51970
|
|
|
51956
51971
|
|
|
51957
|
-
/***/ }),
|
|
51958
|
-
|
|
51959
|
-
/***/ "a7ce":
|
|
51960
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
51961
|
-
|
|
51962
|
-
"use strict";
|
|
51963
|
-
/* harmony import */ var _pui9_datatables_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_pui9_datatables_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_pui9_datatables_node_modules_vue_loader_lib_loaders_stylePostLoader_js_pui9_datatables_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_pui9_datatables_node_modules_cache_loader_dist_cjs_js_ref_1_0_pui9_datatables_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiFilterRule_vue_vue_type_style_index_0_id_ae3f4c98_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8421");
|
|
51964
|
-
/* harmony import */ var _pui9_datatables_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_pui9_datatables_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_pui9_datatables_node_modules_vue_loader_lib_loaders_stylePostLoader_js_pui9_datatables_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_pui9_datatables_node_modules_cache_loader_dist_cjs_js_ref_1_0_pui9_datatables_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiFilterRule_vue_vue_type_style_index_0_id_ae3f4c98_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_pui9_datatables_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_pui9_datatables_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_pui9_datatables_node_modules_vue_loader_lib_loaders_stylePostLoader_js_pui9_datatables_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_pui9_datatables_node_modules_cache_loader_dist_cjs_js_ref_1_0_pui9_datatables_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiFilterRule_vue_vue_type_style_index_0_id_ae3f4c98_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0__);
|
|
51965
|
-
/* unused harmony reexport * */
|
|
51966
|
-
|
|
51967
|
-
|
|
51968
51972
|
/***/ }),
|
|
51969
51973
|
|
|
51970
51974
|
/***/ "a89b":
|
|
@@ -53772,17 +53776,6 @@ module.exports = function (object, key, value) {
|
|
|
53772
53776
|
|
|
53773
53777
|
// extracted by mini-css-extract-plugin
|
|
53774
53778
|
|
|
53775
|
-
/***/ }),
|
|
53776
|
-
|
|
53777
|
-
/***/ "ca82":
|
|
53778
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
53779
|
-
|
|
53780
|
-
"use strict";
|
|
53781
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiAuditForm_vue_vue_type_style_index_0_id_f82d1292_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("93d4");
|
|
53782
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiAuditForm_vue_vue_type_style_index_0_id_f82d1292_prod_lang_postcss__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_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiAuditForm_vue_vue_type_style_index_0_id_f82d1292_prod_lang_postcss__WEBPACK_IMPORTED_MODULE_0__);
|
|
53783
|
-
/* unused harmony reexport * */
|
|
53784
|
-
|
|
53785
|
-
|
|
53786
53779
|
/***/ }),
|
|
53787
53780
|
|
|
53788
53781
|
/***/ "ca84":
|
|
@@ -53839,17 +53832,6 @@ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
53839
53832
|
addToUnscopables('includes');
|
|
53840
53833
|
|
|
53841
53834
|
|
|
53842
|
-
/***/ }),
|
|
53843
|
-
|
|
53844
|
-
/***/ "cad9":
|
|
53845
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
53846
|
-
|
|
53847
|
-
"use strict";
|
|
53848
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_1_id_20924664_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5164");
|
|
53849
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_1_id_20924664_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PuiSimpleDatatable_vue_vue_type_style_index_1_id_20924664_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
53850
|
-
/* unused harmony reexport * */
|
|
53851
|
-
|
|
53852
|
-
|
|
53853
53835
|
/***/ }),
|
|
53854
53836
|
|
|
53855
53837
|
/***/ "cb2d":
|
|
@@ -54504,13 +54486,6 @@ module.exports = function (target, TAG, STATIC) {
|
|
|
54504
54486
|
};
|
|
54505
54487
|
|
|
54506
54488
|
|
|
54507
|
-
/***/ }),
|
|
54508
|
-
|
|
54509
|
-
/***/ "d482":
|
|
54510
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
54511
|
-
|
|
54512
|
-
// extracted by mini-css-extract-plugin
|
|
54513
|
-
|
|
54514
54489
|
/***/ }),
|
|
54515
54490
|
|
|
54516
54491
|
/***/ "d495":
|
|
@@ -76444,9 +76419,9 @@ var PuiGridActionsBtn_component = normalizeComponent(
|
|
|
76444
76419
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
|
|
76445
76420
|
var es_string_fixed = __webpack_require__("c7cd");
|
|
76446
76421
|
|
|
76447
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/desktop/PuiSimpleDatatable.vue?vue&type=template&id=
|
|
76422
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/desktop/PuiSimpleDatatable.vue?vue&type=template&id=7fb36b86&scoped=true
|
|
76448
76423
|
|
|
76449
|
-
var
|
|
76424
|
+
var PuiSimpleDatatablevue_type_template_id_7fb36b86_scoped_true_render = function render() {
|
|
76450
76425
|
var _vm = this,
|
|
76451
76426
|
_c = _vm._self._c;
|
|
76452
76427
|
return _c('v-layout', {
|
|
@@ -76523,9 +76498,9 @@ var PuiSimpleDatatablevue_type_template_id_20924664_scoped_true_render = functio
|
|
|
76523
76498
|
}
|
|
76524
76499
|
}) : _vm._e()], 1);
|
|
76525
76500
|
};
|
|
76526
|
-
var
|
|
76501
|
+
var PuiSimpleDatatablevue_type_template_id_7fb36b86_scoped_true_staticRenderFns = [];
|
|
76527
76502
|
|
|
76528
|
-
// CONCATENATED MODULE: ./src/components/desktop/PuiSimpleDatatable.vue?vue&type=template&id=
|
|
76503
|
+
// CONCATENATED MODULE: ./src/components/desktop/PuiSimpleDatatable.vue?vue&type=template&id=7fb36b86&scoped=true
|
|
76529
76504
|
|
|
76530
76505
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js
|
|
76531
76506
|
var es_object_get_own_property_descriptor = __webpack_require__("e439");
|
|
@@ -81321,1071 +81296,6 @@ var dataTables_fixedColumns = __webpack_require__("ea7d");
|
|
|
81321
81296
|
// EXTERNAL MODULE: ./node_modules/datatables.net-fixedcolumns-dt/css/fixedColumns.dataTables.css
|
|
81322
81297
|
var fixedColumns_dataTables = __webpack_require__("8e28");
|
|
81323
81298
|
|
|
81324
|
-
// CONCATENATED MODULE: ./node_modules/datatables.net-fixedheader/js/dataTables.fixedHeader.mjs
|
|
81325
|
-
/*! FixedHeader 3.3.1
|
|
81326
|
-
* ©2009-2022 SpryMedia Ltd - datatables.net/license
|
|
81327
|
-
*/
|
|
81328
|
-
|
|
81329
|
-
|
|
81330
|
-
|
|
81331
|
-
|
|
81332
|
-
|
|
81333
|
-
|
|
81334
|
-
/**
|
|
81335
|
-
* @summary FixedHeader
|
|
81336
|
-
* @description Fix a table's header or footer, so it is always visible while
|
|
81337
|
-
* scrolling
|
|
81338
|
-
* @version 3.3.1
|
|
81339
|
-
* @author SpryMedia Ltd (www.sprymedia.co.uk)
|
|
81340
|
-
* @contact www.sprymedia.co.uk
|
|
81341
|
-
* @copyright SpryMedia Ltd.
|
|
81342
|
-
*
|
|
81343
|
-
* This source file is free software, available under the following license:
|
|
81344
|
-
* MIT license - http://datatables.net/license/mit
|
|
81345
|
-
*
|
|
81346
|
-
* This source file is distributed in the hope that it will be useful, but
|
|
81347
|
-
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
81348
|
-
* or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
|
|
81349
|
-
*
|
|
81350
|
-
* For details please refer to: http://www.datatables.net
|
|
81351
|
-
*/
|
|
81352
|
-
|
|
81353
|
-
var _instCounter = 0;
|
|
81354
|
-
|
|
81355
|
-
var FixedHeader = function ( dt, config ) {
|
|
81356
|
-
// Sanity check - you just know it will happen
|
|
81357
|
-
if ( ! (this instanceof FixedHeader) ) {
|
|
81358
|
-
throw "FixedHeader must be initialised with the 'new' keyword.";
|
|
81359
|
-
}
|
|
81360
|
-
|
|
81361
|
-
// Allow a boolean true for defaults
|
|
81362
|
-
if ( config === true ) {
|
|
81363
|
-
config = {};
|
|
81364
|
-
}
|
|
81365
|
-
|
|
81366
|
-
dt = new js_jquery_dataTables_default.a.Api( dt );
|
|
81367
|
-
|
|
81368
|
-
this.c = jquery_default.a.extend( true, {}, FixedHeader.defaults, config );
|
|
81369
|
-
|
|
81370
|
-
this.s = {
|
|
81371
|
-
dt: dt,
|
|
81372
|
-
position: {
|
|
81373
|
-
theadTop: 0,
|
|
81374
|
-
tbodyTop: 0,
|
|
81375
|
-
tfootTop: 0,
|
|
81376
|
-
tfootBottom: 0,
|
|
81377
|
-
width: 0,
|
|
81378
|
-
left: 0,
|
|
81379
|
-
tfootHeight: 0,
|
|
81380
|
-
theadHeight: 0,
|
|
81381
|
-
windowHeight: jquery_default()(window).height(),
|
|
81382
|
-
visible: true
|
|
81383
|
-
},
|
|
81384
|
-
headerMode: null,
|
|
81385
|
-
footerMode: null,
|
|
81386
|
-
autoWidth: dt.settings()[0].oFeatures.bAutoWidth,
|
|
81387
|
-
namespace: '.dtfc'+(_instCounter++),
|
|
81388
|
-
scrollLeft: {
|
|
81389
|
-
header: -1,
|
|
81390
|
-
footer: -1
|
|
81391
|
-
},
|
|
81392
|
-
enable: true
|
|
81393
|
-
};
|
|
81394
|
-
|
|
81395
|
-
this.dom = {
|
|
81396
|
-
floatingHeader: null,
|
|
81397
|
-
thead: jquery_default()(dt.table().header()),
|
|
81398
|
-
tbody: jquery_default()(dt.table().body()),
|
|
81399
|
-
tfoot: jquery_default()(dt.table().footer()),
|
|
81400
|
-
header: {
|
|
81401
|
-
host: null,
|
|
81402
|
-
floating: null,
|
|
81403
|
-
floatingParent: jquery_default()('<div class="dtfh-floatingparent">'),
|
|
81404
|
-
placeholder: null
|
|
81405
|
-
},
|
|
81406
|
-
footer: {
|
|
81407
|
-
host: null,
|
|
81408
|
-
floating: null,
|
|
81409
|
-
floatingParent: jquery_default()('<div class="dtfh-floatingparent">'),
|
|
81410
|
-
placeholder: null
|
|
81411
|
-
}
|
|
81412
|
-
};
|
|
81413
|
-
|
|
81414
|
-
this.dom.header.host = this.dom.thead.parent();
|
|
81415
|
-
this.dom.footer.host = this.dom.tfoot.parent();
|
|
81416
|
-
|
|
81417
|
-
var dtSettings = dt.settings()[0];
|
|
81418
|
-
if ( dtSettings._fixedHeader ) {
|
|
81419
|
-
throw "FixedHeader already initialised on table "+dtSettings.nTable.id;
|
|
81420
|
-
}
|
|
81421
|
-
|
|
81422
|
-
dtSettings._fixedHeader = this;
|
|
81423
|
-
|
|
81424
|
-
this._constructor();
|
|
81425
|
-
};
|
|
81426
|
-
|
|
81427
|
-
|
|
81428
|
-
/*
|
|
81429
|
-
* Variable: FixedHeader
|
|
81430
|
-
* Purpose: Prototype for FixedHeader
|
|
81431
|
-
* Scope: global
|
|
81432
|
-
*/
|
|
81433
|
-
jquery_default.a.extend( FixedHeader.prototype, {
|
|
81434
|
-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
81435
|
-
* API methods
|
|
81436
|
-
*/
|
|
81437
|
-
|
|
81438
|
-
/**
|
|
81439
|
-
* Kill off FH and any events
|
|
81440
|
-
*/
|
|
81441
|
-
destroy: function () {
|
|
81442
|
-
var dom = this.dom;
|
|
81443
|
-
|
|
81444
|
-
this.s.dt.off( '.dtfc' );
|
|
81445
|
-
jquery_default()(window).off( this.s.namespace );
|
|
81446
|
-
|
|
81447
|
-
// Remove clones of FC blockers
|
|
81448
|
-
if (dom.header.rightBlocker) {
|
|
81449
|
-
dom.header.rightBlocker.remove();
|
|
81450
|
-
}
|
|
81451
|
-
if (dom.header.leftBlocker) {
|
|
81452
|
-
dom.header.leftBlocker.remove();
|
|
81453
|
-
}
|
|
81454
|
-
if (dom.footer.rightBlocker) {
|
|
81455
|
-
dom.footer.rightBlocker.remove();
|
|
81456
|
-
}
|
|
81457
|
-
if (dom.footer.leftBlocker) {
|
|
81458
|
-
dom.footer.leftBlocker.remove();
|
|
81459
|
-
}
|
|
81460
|
-
|
|
81461
|
-
if ( this.c.header ) {
|
|
81462
|
-
this._modeChange( 'in-place', 'header', true );
|
|
81463
|
-
}
|
|
81464
|
-
|
|
81465
|
-
if ( this.c.footer && dom.tfoot.length ) {
|
|
81466
|
-
this._modeChange( 'in-place', 'footer', true );
|
|
81467
|
-
}
|
|
81468
|
-
},
|
|
81469
|
-
|
|
81470
|
-
/**
|
|
81471
|
-
* Enable / disable the fixed elements
|
|
81472
|
-
*
|
|
81473
|
-
* @param {boolean} enable `true` to enable, `false` to disable
|
|
81474
|
-
*/
|
|
81475
|
-
enable: function ( enable, update )
|
|
81476
|
-
{
|
|
81477
|
-
this.s.enable = enable;
|
|
81478
|
-
|
|
81479
|
-
if ( update || update === undefined ) {
|
|
81480
|
-
this._positions();
|
|
81481
|
-
this._scroll( true );
|
|
81482
|
-
}
|
|
81483
|
-
},
|
|
81484
|
-
|
|
81485
|
-
/**
|
|
81486
|
-
* Get enabled status
|
|
81487
|
-
*/
|
|
81488
|
-
enabled: function ()
|
|
81489
|
-
{
|
|
81490
|
-
return this.s.enable;
|
|
81491
|
-
},
|
|
81492
|
-
|
|
81493
|
-
/**
|
|
81494
|
-
* Set header offset
|
|
81495
|
-
*
|
|
81496
|
-
* @param {int} new value for headerOffset
|
|
81497
|
-
*/
|
|
81498
|
-
headerOffset: function ( offset )
|
|
81499
|
-
{
|
|
81500
|
-
if ( offset !== undefined ) {
|
|
81501
|
-
this.c.headerOffset = offset;
|
|
81502
|
-
this.update();
|
|
81503
|
-
}
|
|
81504
|
-
|
|
81505
|
-
return this.c.headerOffset;
|
|
81506
|
-
},
|
|
81507
|
-
|
|
81508
|
-
/**
|
|
81509
|
-
* Set footer offset
|
|
81510
|
-
*
|
|
81511
|
-
* @param {int} new value for footerOffset
|
|
81512
|
-
*/
|
|
81513
|
-
footerOffset: function ( offset )
|
|
81514
|
-
{
|
|
81515
|
-
if ( offset !== undefined ) {
|
|
81516
|
-
this.c.footerOffset = offset;
|
|
81517
|
-
this.update();
|
|
81518
|
-
}
|
|
81519
|
-
|
|
81520
|
-
return this.c.footerOffset;
|
|
81521
|
-
},
|
|
81522
|
-
|
|
81523
|
-
|
|
81524
|
-
/**
|
|
81525
|
-
* Recalculate the position of the fixed elements and force them into place
|
|
81526
|
-
*/
|
|
81527
|
-
update: function (force)
|
|
81528
|
-
{
|
|
81529
|
-
if (! this.s.enable) {
|
|
81530
|
-
return;
|
|
81531
|
-
}
|
|
81532
|
-
|
|
81533
|
-
var table = this.s.dt.table().node();
|
|
81534
|
-
|
|
81535
|
-
if ( jquery_default()(table).is(':visible') ) {
|
|
81536
|
-
this.enable( true, false );
|
|
81537
|
-
}
|
|
81538
|
-
else {
|
|
81539
|
-
this.enable( false, false );
|
|
81540
|
-
}
|
|
81541
|
-
|
|
81542
|
-
// Don't update if header is not in the document atm (due to
|
|
81543
|
-
// async events)
|
|
81544
|
-
if (jquery_default()(table).children('thead').length === 0) {
|
|
81545
|
-
return;
|
|
81546
|
-
}
|
|
81547
|
-
|
|
81548
|
-
this._positions();
|
|
81549
|
-
this._scroll( force !== undefined ? force : true );
|
|
81550
|
-
},
|
|
81551
|
-
|
|
81552
|
-
|
|
81553
|
-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
81554
|
-
* Constructor
|
|
81555
|
-
*/
|
|
81556
|
-
|
|
81557
|
-
/**
|
|
81558
|
-
* FixedHeader constructor - adding the required event listeners and
|
|
81559
|
-
* simple initialisation
|
|
81560
|
-
*
|
|
81561
|
-
* @private
|
|
81562
|
-
*/
|
|
81563
|
-
_constructor: function ()
|
|
81564
|
-
{
|
|
81565
|
-
var that = this;
|
|
81566
|
-
var dt = this.s.dt;
|
|
81567
|
-
|
|
81568
|
-
jquery_default()(window)
|
|
81569
|
-
.on( 'scroll'+this.s.namespace, function () {
|
|
81570
|
-
that._scroll();
|
|
81571
|
-
} )
|
|
81572
|
-
.on( 'resize'+this.s.namespace, js_jquery_dataTables_default.a.util.throttle( function () {
|
|
81573
|
-
that.s.position.windowHeight = jquery_default()(window).height();
|
|
81574
|
-
that.update();
|
|
81575
|
-
}, 50 ) );
|
|
81576
|
-
|
|
81577
|
-
var autoHeader = jquery_default()('.fh-fixedHeader');
|
|
81578
|
-
if ( ! this.c.headerOffset && autoHeader.length ) {
|
|
81579
|
-
this.c.headerOffset = autoHeader.outerHeight();
|
|
81580
|
-
}
|
|
81581
|
-
|
|
81582
|
-
var autoFooter = jquery_default()('.fh-fixedFooter');
|
|
81583
|
-
if ( ! this.c.footerOffset && autoFooter.length ) {
|
|
81584
|
-
this.c.footerOffset = autoFooter.outerHeight();
|
|
81585
|
-
}
|
|
81586
|
-
|
|
81587
|
-
dt
|
|
81588
|
-
.on( 'column-reorder.dt.dtfc column-visibility.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc', function (e, ctx) {
|
|
81589
|
-
that.update();
|
|
81590
|
-
} )
|
|
81591
|
-
.on( 'draw.dt.dtfc', function (e, ctx) {
|
|
81592
|
-
// For updates from our own table, don't reclone, but for all others, do
|
|
81593
|
-
that.update(ctx === dt.settings()[0] ? false : true);
|
|
81594
|
-
} );
|
|
81595
|
-
|
|
81596
|
-
dt.on( 'destroy.dtfc', function () {
|
|
81597
|
-
that.destroy();
|
|
81598
|
-
} );
|
|
81599
|
-
|
|
81600
|
-
this._positions();
|
|
81601
|
-
this._scroll();
|
|
81602
|
-
},
|
|
81603
|
-
|
|
81604
|
-
|
|
81605
|
-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
81606
|
-
* Private methods
|
|
81607
|
-
*/
|
|
81608
|
-
|
|
81609
|
-
/**
|
|
81610
|
-
* Clone a fixed item to act as a place holder for the original element
|
|
81611
|
-
* which is moved into a clone of the table element, and moved around the
|
|
81612
|
-
* document to give the fixed effect.
|
|
81613
|
-
*
|
|
81614
|
-
* @param {string} item 'header' or 'footer'
|
|
81615
|
-
* @param {boolean} force Force the clone to happen, or allow automatic
|
|
81616
|
-
* decision (reuse existing if available)
|
|
81617
|
-
* @private
|
|
81618
|
-
*/
|
|
81619
|
-
_clone: function ( item, force )
|
|
81620
|
-
{
|
|
81621
|
-
var that = this;
|
|
81622
|
-
var dt = this.s.dt;
|
|
81623
|
-
var itemDom = this.dom[ item ];
|
|
81624
|
-
var itemElement = item === 'header' ?
|
|
81625
|
-
this.dom.thead :
|
|
81626
|
-
this.dom.tfoot;
|
|
81627
|
-
|
|
81628
|
-
// If footer and scrolling is enabled then we don't clone
|
|
81629
|
-
// Instead the table's height is decreased accordingly - see `_scroll()`
|
|
81630
|
-
if (item === 'footer' && this._scrollEnabled()) {
|
|
81631
|
-
return;
|
|
81632
|
-
}
|
|
81633
|
-
|
|
81634
|
-
if ( ! force && itemDom.floating ) {
|
|
81635
|
-
// existing floating element - reuse it
|
|
81636
|
-
itemDom.floating.removeClass( 'fixedHeader-floating fixedHeader-locked' );
|
|
81637
|
-
}
|
|
81638
|
-
else {
|
|
81639
|
-
var docScrollLeft = jquery_default()(document).scrollLeft();
|
|
81640
|
-
var docScrollTop = jquery_default()(document).scrollTop();
|
|
81641
|
-
|
|
81642
|
-
if ( itemDom.floating ) {
|
|
81643
|
-
if(itemDom.placeholder !== null) {
|
|
81644
|
-
itemDom.placeholder.remove();
|
|
81645
|
-
}
|
|
81646
|
-
this._unsize( item );
|
|
81647
|
-
itemDom.floating.children().detach();
|
|
81648
|
-
itemDom.floating.remove();
|
|
81649
|
-
}
|
|
81650
|
-
|
|
81651
|
-
var tableNode = jquery_default()(dt.table().node());
|
|
81652
|
-
var scrollBody = jquery_default()(tableNode.parent());
|
|
81653
|
-
var scrollEnabled = this._scrollEnabled();
|
|
81654
|
-
|
|
81655
|
-
itemDom.floating = jquery_default()( dt.table().node().cloneNode( false ) )
|
|
81656
|
-
.attr( 'aria-hidden', 'true' )
|
|
81657
|
-
.css({
|
|
81658
|
-
'table-layout': 'fixed',
|
|
81659
|
-
top: 0,
|
|
81660
|
-
left: 0
|
|
81661
|
-
})
|
|
81662
|
-
.removeAttr( 'id' )
|
|
81663
|
-
.append( itemElement );
|
|
81664
|
-
|
|
81665
|
-
itemDom.floatingParent
|
|
81666
|
-
.css({
|
|
81667
|
-
width: scrollBody.width(),
|
|
81668
|
-
overflow: 'hidden',
|
|
81669
|
-
height: 'fit-content',
|
|
81670
|
-
position: 'fixed',
|
|
81671
|
-
left: scrollEnabled ? tableNode.offset().left + scrollBody.scrollLeft() : 0
|
|
81672
|
-
})
|
|
81673
|
-
.css(
|
|
81674
|
-
item === 'header' ?
|
|
81675
|
-
{
|
|
81676
|
-
top: this.c.headerOffset,
|
|
81677
|
-
bottom: ''
|
|
81678
|
-
} :
|
|
81679
|
-
{
|
|
81680
|
-
top: '',
|
|
81681
|
-
bottom: this.c.footerOffset
|
|
81682
|
-
}
|
|
81683
|
-
)
|
|
81684
|
-
.addClass(item === 'footer' ? 'dtfh-floatingparentfoot' : 'dtfh-floatingparenthead')
|
|
81685
|
-
.append(itemDom.floating)
|
|
81686
|
-
.appendTo( 'body' );
|
|
81687
|
-
|
|
81688
|
-
this._stickyPosition(itemDom.floating, '-');
|
|
81689
|
-
|
|
81690
|
-
var scrollLeftUpdate = function () {
|
|
81691
|
-
var scrollLeft = scrollBody.scrollLeft()
|
|
81692
|
-
that.s.scrollLeft = {footer: scrollLeft, header: scrollLeft};
|
|
81693
|
-
itemDom.floatingParent.scrollLeft(that.s.scrollLeft.header);
|
|
81694
|
-
}
|
|
81695
|
-
|
|
81696
|
-
scrollLeftUpdate();
|
|
81697
|
-
scrollBody
|
|
81698
|
-
.off('scroll.dtfh')
|
|
81699
|
-
.on('scroll.dtfh', scrollLeftUpdate);
|
|
81700
|
-
|
|
81701
|
-
// Insert a fake thead/tfoot into the DataTable to stop it jumping around
|
|
81702
|
-
itemDom.placeholder = itemElement.clone( false );
|
|
81703
|
-
itemDom.placeholder
|
|
81704
|
-
.find( '*[id]' )
|
|
81705
|
-
.removeAttr( 'id' );
|
|
81706
|
-
|
|
81707
|
-
itemDom.host.prepend( itemDom.placeholder );
|
|
81708
|
-
|
|
81709
|
-
// Clone widths
|
|
81710
|
-
this._matchWidths( itemDom.placeholder, itemDom.floating );
|
|
81711
|
-
|
|
81712
|
-
// The above action will remove the table header, potentially causing the table to
|
|
81713
|
-
// collapse to a smaller size, before it is then re-inserted (append). The result
|
|
81714
|
-
// can be that the document, if scrolling, can "jump".
|
|
81715
|
-
jquery_default()(document)
|
|
81716
|
-
.scrollTop(docScrollTop)
|
|
81717
|
-
.scrollLeft(docScrollLeft);
|
|
81718
|
-
}
|
|
81719
|
-
},
|
|
81720
|
-
|
|
81721
|
-
/**
|
|
81722
|
-
* This method sets the sticky position of the header elements to match fixed columns
|
|
81723
|
-
* @param {JQuery<HTMLElement>} el
|
|
81724
|
-
* @param {string} sign
|
|
81725
|
-
*/
|
|
81726
|
-
_stickyPosition: function(el, sign) {
|
|
81727
|
-
if (this._scrollEnabled()) {
|
|
81728
|
-
var that = this
|
|
81729
|
-
var rtl = jquery_default()(that.s.dt.table().node()).css('direction') === 'rtl';
|
|
81730
|
-
|
|
81731
|
-
el.find('th').each(function() {
|
|
81732
|
-
// Find out if fixed header has previously set this column
|
|
81733
|
-
if (jquery_default()(this).css('position') === 'sticky') {
|
|
81734
|
-
var right = jquery_default()(this).css('right');
|
|
81735
|
-
var left = jquery_default()(this).css('left');
|
|
81736
|
-
if (right !== 'auto' && !rtl) {
|
|
81737
|
-
// New position either adds or dismisses the barWidth
|
|
81738
|
-
var potential = +right.replace(/px/g, '') + (sign === '-' ? -1 : 1) * that.s.dt.settings()[0].oBrowser.barWidth;
|
|
81739
|
-
jquery_default()(this).css('right', potential > 0 ? potential : 0);
|
|
81740
|
-
}
|
|
81741
|
-
else if(left !== 'auto' && rtl) {
|
|
81742
|
-
var potential = +left.replace(/px/g, '') + (sign === '-' ? -1 : 1) * that.s.dt.settings()[0].oBrowser.barWidth;
|
|
81743
|
-
jquery_default()(this).css('left', potential > 0 ? potential : 0);
|
|
81744
|
-
}
|
|
81745
|
-
}
|
|
81746
|
-
});
|
|
81747
|
-
}
|
|
81748
|
-
},
|
|
81749
|
-
|
|
81750
|
-
/**
|
|
81751
|
-
* Copy widths from the cells in one element to another. This is required
|
|
81752
|
-
* for the footer as the footer in the main table takes its sizes from the
|
|
81753
|
-
* header columns. That isn't present in the footer so to have it still
|
|
81754
|
-
* align correctly, the sizes need to be copied over. It is also required
|
|
81755
|
-
* for the header when auto width is not enabled
|
|
81756
|
-
*
|
|
81757
|
-
* @param {jQuery} from Copy widths from
|
|
81758
|
-
* @param {jQuery} to Copy widths to
|
|
81759
|
-
* @private
|
|
81760
|
-
*/
|
|
81761
|
-
_matchWidths: function ( from, to ) {
|
|
81762
|
-
var get = function ( name ) {
|
|
81763
|
-
return jquery_default()(name, from)
|
|
81764
|
-
.map( function () {
|
|
81765
|
-
return jquery_default()(this).css('width').replace(/[^\d\.]/g, '') * 1;
|
|
81766
|
-
} ).toArray();
|
|
81767
|
-
};
|
|
81768
|
-
|
|
81769
|
-
var set = function ( name, toWidths ) {
|
|
81770
|
-
jquery_default()(name, to).each( function ( i ) {
|
|
81771
|
-
jquery_default()(this).css( {
|
|
81772
|
-
width: toWidths[i],
|
|
81773
|
-
minWidth: toWidths[i]
|
|
81774
|
-
} );
|
|
81775
|
-
} );
|
|
81776
|
-
};
|
|
81777
|
-
|
|
81778
|
-
var thWidths = get( 'th' );
|
|
81779
|
-
var tdWidths = get( 'td' );
|
|
81780
|
-
|
|
81781
|
-
set( 'th', thWidths );
|
|
81782
|
-
set( 'td', tdWidths );
|
|
81783
|
-
},
|
|
81784
|
-
|
|
81785
|
-
/**
|
|
81786
|
-
* Remove assigned widths from the cells in an element. This is required
|
|
81787
|
-
* when inserting the footer back into the main table so the size is defined
|
|
81788
|
-
* by the header columns and also when auto width is disabled in the
|
|
81789
|
-
* DataTable.
|
|
81790
|
-
*
|
|
81791
|
-
* @param {string} item The `header` or `footer`
|
|
81792
|
-
* @private
|
|
81793
|
-
*/
|
|
81794
|
-
_unsize: function ( item ) {
|
|
81795
|
-
var el = this.dom[ item ].floating;
|
|
81796
|
-
|
|
81797
|
-
if ( el && (item === 'footer' || (item === 'header' && ! this.s.autoWidth)) ) {
|
|
81798
|
-
jquery_default()('th, td', el).css( {
|
|
81799
|
-
width: '',
|
|
81800
|
-
minWidth: ''
|
|
81801
|
-
} );
|
|
81802
|
-
}
|
|
81803
|
-
else if ( el && item === 'header' ) {
|
|
81804
|
-
jquery_default()('th, td', el).css( 'min-width', '' );
|
|
81805
|
-
}
|
|
81806
|
-
},
|
|
81807
|
-
|
|
81808
|
-
/**
|
|
81809
|
-
* Reposition the floating elements to take account of horizontal page
|
|
81810
|
-
* scroll
|
|
81811
|
-
*
|
|
81812
|
-
* @param {string} item The `header` or `footer`
|
|
81813
|
-
* @param {int} scrollLeft Document scrollLeft
|
|
81814
|
-
* @private
|
|
81815
|
-
*/
|
|
81816
|
-
_horizontal: function ( item, scrollLeft )
|
|
81817
|
-
{
|
|
81818
|
-
var itemDom = this.dom[ item ];
|
|
81819
|
-
var position = this.s.position;
|
|
81820
|
-
var lastScrollLeft = this.s.scrollLeft;
|
|
81821
|
-
|
|
81822
|
-
if ( itemDom.floating && lastScrollLeft[ item ] !== scrollLeft ) {
|
|
81823
|
-
// If scrolling is enabled we need to match the floating header to the body
|
|
81824
|
-
if (this._scrollEnabled()) {
|
|
81825
|
-
var newScrollLeft = jquery_default()(jquery_default()(this.s.dt.table().node()).parent()).scrollLeft()
|
|
81826
|
-
itemDom.floating.scrollLeft(newScrollLeft);
|
|
81827
|
-
itemDom.floatingParent.scrollLeft(newScrollLeft);
|
|
81828
|
-
}
|
|
81829
|
-
|
|
81830
|
-
lastScrollLeft[ item ] = scrollLeft;
|
|
81831
|
-
}
|
|
81832
|
-
},
|
|
81833
|
-
|
|
81834
|
-
/**
|
|
81835
|
-
* Change from one display mode to another. Each fixed item can be in one
|
|
81836
|
-
* of:
|
|
81837
|
-
*
|
|
81838
|
-
* * `in-place` - In the main DataTable
|
|
81839
|
-
* * `in` - Floating over the DataTable
|
|
81840
|
-
* * `below` - (Header only) Fixed to the bottom of the table body
|
|
81841
|
-
* * `above` - (Footer only) Fixed to the top of the table body
|
|
81842
|
-
*
|
|
81843
|
-
* @param {string} mode Mode that the item should be shown in
|
|
81844
|
-
* @param {string} item 'header' or 'footer'
|
|
81845
|
-
* @param {boolean} forceChange Force a redraw of the mode, even if already
|
|
81846
|
-
* in that mode.
|
|
81847
|
-
* @private
|
|
81848
|
-
*/
|
|
81849
|
-
_modeChange: function ( mode, item, forceChange )
|
|
81850
|
-
{
|
|
81851
|
-
var dt = this.s.dt;
|
|
81852
|
-
var itemDom = this.dom[ item ];
|
|
81853
|
-
var position = this.s.position;
|
|
81854
|
-
|
|
81855
|
-
// Just determine if scroll is enabled once
|
|
81856
|
-
var scrollEnabled = this._scrollEnabled();
|
|
81857
|
-
|
|
81858
|
-
// If footer and scrolling is enabled then we don't clone
|
|
81859
|
-
// Instead the table's height is decreased accordingly - see `_scroll()`
|
|
81860
|
-
if (item === 'footer' && scrollEnabled) {
|
|
81861
|
-
return;
|
|
81862
|
-
}
|
|
81863
|
-
|
|
81864
|
-
// It isn't trivial to add a !important css attribute...
|
|
81865
|
-
var importantWidth = function (w) {
|
|
81866
|
-
itemDom.floating.attr('style', function(i,s) {
|
|
81867
|
-
return (s || '') + 'width: '+w+'px !important;';
|
|
81868
|
-
});
|
|
81869
|
-
|
|
81870
|
-
// If not scrolling also have to update the floatingParent
|
|
81871
|
-
if (!scrollEnabled) {
|
|
81872
|
-
itemDom.floatingParent.attr('style', function(i,s) {
|
|
81873
|
-
return (s || '') + 'width: '+w+'px !important;';
|
|
81874
|
-
});
|
|
81875
|
-
}
|
|
81876
|
-
};
|
|
81877
|
-
|
|
81878
|
-
// Record focus. Browser's will cause input elements to loose focus if
|
|
81879
|
-
// they are inserted else where in the doc
|
|
81880
|
-
var tablePart = this.dom[ item==='footer' ? 'tfoot' : 'thead' ];
|
|
81881
|
-
var focus = jquery_default.a.contains( tablePart[0], document.activeElement ) ?
|
|
81882
|
-
document.activeElement :
|
|
81883
|
-
null;
|
|
81884
|
-
var scrollBody = jquery_default()(jquery_default()(this.s.dt.table().node()).parent());
|
|
81885
|
-
|
|
81886
|
-
if ( mode === 'in-place' ) {
|
|
81887
|
-
// Insert the header back into the table's real header
|
|
81888
|
-
if ( itemDom.placeholder ) {
|
|
81889
|
-
itemDom.placeholder.remove();
|
|
81890
|
-
itemDom.placeholder = null;
|
|
81891
|
-
}
|
|
81892
|
-
|
|
81893
|
-
this._unsize( item );
|
|
81894
|
-
|
|
81895
|
-
if ( item === 'header' ) {
|
|
81896
|
-
itemDom.host.prepend( tablePart );
|
|
81897
|
-
}
|
|
81898
|
-
else {
|
|
81899
|
-
itemDom.host.append( tablePart );
|
|
81900
|
-
}
|
|
81901
|
-
|
|
81902
|
-
if ( itemDom.floating ) {
|
|
81903
|
-
itemDom.floating.remove();
|
|
81904
|
-
itemDom.floating = null;
|
|
81905
|
-
this._stickyPosition(itemDom.host, '+');
|
|
81906
|
-
}
|
|
81907
|
-
|
|
81908
|
-
if ( itemDom.floatingParent ) {
|
|
81909
|
-
itemDom.floatingParent.remove();
|
|
81910
|
-
}
|
|
81911
|
-
|
|
81912
|
-
jquery_default()(jquery_default()(itemDom.host.parent()).parent()).scrollLeft(scrollBody.scrollLeft())
|
|
81913
|
-
}
|
|
81914
|
-
else if ( mode === 'in' ) {
|
|
81915
|
-
// Remove the header from the read header and insert into a fixed
|
|
81916
|
-
// positioned floating table clone
|
|
81917
|
-
this._clone( item, forceChange );
|
|
81918
|
-
|
|
81919
|
-
// Get useful position values
|
|
81920
|
-
var scrollOffset = scrollBody.offset();
|
|
81921
|
-
var windowTop = jquery_default()(document).scrollTop();
|
|
81922
|
-
var windowHeight = jquery_default()(window).height();
|
|
81923
|
-
var windowBottom = windowTop + windowHeight;
|
|
81924
|
-
var bodyTop = scrollEnabled ? scrollOffset.top : position.tbodyTop;
|
|
81925
|
-
var bodyBottom = scrollEnabled ? scrollOffset.top + scrollBody.outerHeight() : position.tfootTop
|
|
81926
|
-
|
|
81927
|
-
// Calculate the amount that the footer or header needs to be shuffled
|
|
81928
|
-
var shuffle = item === 'footer' ?
|
|
81929
|
-
// footer and top of body isn't on screen
|
|
81930
|
-
bodyTop > windowBottom ?
|
|
81931
|
-
// Yes - push the footer below
|
|
81932
|
-
position.tfootHeight :
|
|
81933
|
-
// No - bottom set to the gap between the top of the body and the bottom of the window
|
|
81934
|
-
bodyTop + position.tfootHeight - windowBottom :
|
|
81935
|
-
// Otherwise must be a header so get the difference from the bottom of the
|
|
81936
|
-
// desired floating header and the bottom of the table body
|
|
81937
|
-
windowTop + this.c.headerOffset + position.theadHeight - bodyBottom
|
|
81938
|
-
|
|
81939
|
-
// Set the top or bottom based off of the offset and the shuffle value
|
|
81940
|
-
var prop = item === 'header' ? 'top' : 'bottom';
|
|
81941
|
-
var val = this.c[item+'Offset'] - (shuffle > 0 ? shuffle : 0);
|
|
81942
|
-
|
|
81943
|
-
itemDom.floating.addClass( 'fixedHeader-floating' );
|
|
81944
|
-
itemDom.floatingParent
|
|
81945
|
-
.css(prop, val)
|
|
81946
|
-
.css( {
|
|
81947
|
-
'left': position.left,
|
|
81948
|
-
'height': item === 'header' ? position.theadHeight : position.tfootHeight,
|
|
81949
|
-
'z-index': 2
|
|
81950
|
-
})
|
|
81951
|
-
.append(itemDom.floating);
|
|
81952
|
-
|
|
81953
|
-
importantWidth(position.width);
|
|
81954
|
-
|
|
81955
|
-
if ( item === 'footer' ) {
|
|
81956
|
-
itemDom.floating.css( 'top', '' );
|
|
81957
|
-
}
|
|
81958
|
-
}
|
|
81959
|
-
else if ( mode === 'below' ) { // only used for the header
|
|
81960
|
-
// Fix the position of the floating header at base of the table body
|
|
81961
|
-
this._clone( item, forceChange );
|
|
81962
|
-
|
|
81963
|
-
itemDom.floating.addClass( 'fixedHeader-locked' );
|
|
81964
|
-
itemDom.floatingParent.css({
|
|
81965
|
-
position: 'absolute',
|
|
81966
|
-
top: position.tfootTop - position.theadHeight,
|
|
81967
|
-
left: position.left+'px'
|
|
81968
|
-
});
|
|
81969
|
-
|
|
81970
|
-
importantWidth(position.width);
|
|
81971
|
-
}
|
|
81972
|
-
else if ( mode === 'above' ) { // only used for the footer
|
|
81973
|
-
// Fix the position of the floating footer at top of the table body
|
|
81974
|
-
this._clone( item, forceChange );
|
|
81975
|
-
|
|
81976
|
-
itemDom.floating.addClass( 'fixedHeader-locked' );
|
|
81977
|
-
itemDom.floatingParent.css({
|
|
81978
|
-
position: 'absolute',
|
|
81979
|
-
top: position.tbodyTop,
|
|
81980
|
-
left: position.left+'px'
|
|
81981
|
-
});
|
|
81982
|
-
|
|
81983
|
-
importantWidth(position.width);
|
|
81984
|
-
}
|
|
81985
|
-
|
|
81986
|
-
// Restore focus if it was lost
|
|
81987
|
-
if ( focus && focus !== document.activeElement ) {
|
|
81988
|
-
setTimeout( function () {
|
|
81989
|
-
focus.focus();
|
|
81990
|
-
}, 10 );
|
|
81991
|
-
}
|
|
81992
|
-
|
|
81993
|
-
this.s.scrollLeft.header = -1;
|
|
81994
|
-
this.s.scrollLeft.footer = -1;
|
|
81995
|
-
this.s[item+'Mode'] = mode;
|
|
81996
|
-
},
|
|
81997
|
-
|
|
81998
|
-
/**
|
|
81999
|
-
* Cache the positional information that is required for the mode
|
|
82000
|
-
* calculations that FixedHeader performs.
|
|
82001
|
-
*
|
|
82002
|
-
* @private
|
|
82003
|
-
*/
|
|
82004
|
-
_positions: function ()
|
|
82005
|
-
{
|
|
82006
|
-
var dt = this.s.dt;
|
|
82007
|
-
var table = dt.table();
|
|
82008
|
-
var position = this.s.position;
|
|
82009
|
-
var dom = this.dom;
|
|
82010
|
-
var tableNode = jquery_default()(table.node());
|
|
82011
|
-
var scrollEnabled = this._scrollEnabled();
|
|
82012
|
-
|
|
82013
|
-
// Need to use the header and footer that are in the main table,
|
|
82014
|
-
// regardless of if they are clones, since they hold the positions we
|
|
82015
|
-
// want to measure from
|
|
82016
|
-
var thead = jquery_default()(dt.table().header());
|
|
82017
|
-
var tfoot = jquery_default()(dt.table().footer());
|
|
82018
|
-
var tbody = dom.tbody;
|
|
82019
|
-
var scrollBody = tableNode.parent();
|
|
82020
|
-
|
|
82021
|
-
position.visible = tableNode.is(':visible');
|
|
82022
|
-
position.width = tableNode.outerWidth();
|
|
82023
|
-
position.left = tableNode.offset().left;
|
|
82024
|
-
position.theadTop = thead.offset().top;
|
|
82025
|
-
position.tbodyTop = scrollEnabled ? scrollBody.offset().top : tbody.offset().top;
|
|
82026
|
-
position.tbodyHeight = scrollEnabled ? scrollBody.outerHeight() : tbody.outerHeight();
|
|
82027
|
-
position.theadHeight = thead.outerHeight();
|
|
82028
|
-
position.theadBottom = position.theadTop + position.theadHeight;
|
|
82029
|
-
|
|
82030
|
-
if ( tfoot.length ) {
|
|
82031
|
-
position.tfootTop = position.tbodyTop + position.tbodyHeight; //tfoot.offset().top;
|
|
82032
|
-
position.tfootBottom = position.tfootTop + tfoot.outerHeight();
|
|
82033
|
-
position.tfootHeight = tfoot.outerHeight();
|
|
82034
|
-
}
|
|
82035
|
-
else {
|
|
82036
|
-
position.tfootTop = position.tbodyTop + tbody.outerHeight();
|
|
82037
|
-
position.tfootBottom = position.tfootTop;
|
|
82038
|
-
position.tfootHeight = position.tfootTop;
|
|
82039
|
-
}
|
|
82040
|
-
},
|
|
82041
|
-
|
|
82042
|
-
|
|
82043
|
-
/**
|
|
82044
|
-
* Mode calculation - determine what mode the fixed items should be placed
|
|
82045
|
-
* into.
|
|
82046
|
-
*
|
|
82047
|
-
* @param {boolean} forceChange Force a redraw of the mode, even if already
|
|
82048
|
-
* in that mode.
|
|
82049
|
-
* @private
|
|
82050
|
-
*/
|
|
82051
|
-
_scroll: function ( forceChange )
|
|
82052
|
-
{
|
|
82053
|
-
if (this.s.dt.settings()[0].bDestroying) {
|
|
82054
|
-
return;
|
|
82055
|
-
}
|
|
82056
|
-
|
|
82057
|
-
// ScrollBody details
|
|
82058
|
-
var scrollEnabled = this._scrollEnabled();
|
|
82059
|
-
var scrollBody = jquery_default()(this.s.dt.table().node()).parent();
|
|
82060
|
-
var scrollOffset = scrollBody.offset();
|
|
82061
|
-
var scrollHeight = scrollBody.outerHeight();
|
|
82062
|
-
|
|
82063
|
-
// Window details
|
|
82064
|
-
var windowLeft = jquery_default()(document).scrollLeft();
|
|
82065
|
-
var windowTop = jquery_default()(document).scrollTop();
|
|
82066
|
-
var windowHeight = jquery_default()(window).height();
|
|
82067
|
-
var windowBottom = windowHeight + windowTop
|
|
82068
|
-
|
|
82069
|
-
|
|
82070
|
-
var position = this.s.position;
|
|
82071
|
-
var headerMode, footerMode;
|
|
82072
|
-
|
|
82073
|
-
// Body Details
|
|
82074
|
-
var bodyTop = (scrollEnabled ? scrollOffset.top : position.tbodyTop);
|
|
82075
|
-
var bodyLeft = (scrollEnabled ? scrollOffset.left : position.left);
|
|
82076
|
-
var bodyBottom = (scrollEnabled ? scrollOffset.top + scrollHeight : position.tfootTop);
|
|
82077
|
-
var bodyWidth = (scrollEnabled ? scrollBody.outerWidth() : position.tbodyWidth);
|
|
82078
|
-
|
|
82079
|
-
var windowBottom = windowTop + windowHeight;
|
|
82080
|
-
|
|
82081
|
-
if ( this.c.header ) {
|
|
82082
|
-
if ( ! this.s.enable ) {
|
|
82083
|
-
headerMode = 'in-place';
|
|
82084
|
-
}
|
|
82085
|
-
// The header is in it's normal place if the body top is lower than
|
|
82086
|
-
// the scroll of the window plus the headerOffset and the height of the header
|
|
82087
|
-
else if ( ! position.visible || windowTop + this.c.headerOffset + position.theadHeight <= bodyTop) {
|
|
82088
|
-
headerMode = 'in-place';
|
|
82089
|
-
}
|
|
82090
|
-
// The header should be floated if
|
|
82091
|
-
else if (
|
|
82092
|
-
// The scrolling plus the header offset plus the height of the header is lower than the top of the body
|
|
82093
|
-
windowTop + this.c.headerOffset + position.theadHeight > bodyTop &&
|
|
82094
|
-
// And the scrolling at the top plus the header offset is above the bottom of the body
|
|
82095
|
-
windowTop + this.c.headerOffset + position.theadHeight < bodyBottom
|
|
82096
|
-
) {
|
|
82097
|
-
headerMode = 'in';
|
|
82098
|
-
var scrollBody = jquery_default()(jquery_default()(this.s.dt.table().node()).parent());
|
|
82099
|
-
|
|
82100
|
-
// Further to the above, If the scrolling plus the header offset plus the header height is lower
|
|
82101
|
-
// than the bottom of the table a shuffle is required so have to force the calculation
|
|
82102
|
-
if(windowTop + this.c.headerOffset + position.theadHeight > bodyBottom || this.dom.header.floatingParent === undefined){
|
|
82103
|
-
forceChange = true;
|
|
82104
|
-
}
|
|
82105
|
-
else {
|
|
82106
|
-
this.dom.header.floatingParent
|
|
82107
|
-
.css({
|
|
82108
|
-
'top': this.c.headerOffset,
|
|
82109
|
-
'position': 'fixed'
|
|
82110
|
-
})
|
|
82111
|
-
.append(this.dom.header.floating);
|
|
82112
|
-
}
|
|
82113
|
-
}
|
|
82114
|
-
// Anything else and the view is below the table
|
|
82115
|
-
else {
|
|
82116
|
-
headerMode = 'below';
|
|
82117
|
-
}
|
|
82118
|
-
|
|
82119
|
-
if ( forceChange || headerMode !== this.s.headerMode ) {
|
|
82120
|
-
this._modeChange( headerMode, 'header', forceChange );
|
|
82121
|
-
}
|
|
82122
|
-
|
|
82123
|
-
this._horizontal( 'header', windowLeft );
|
|
82124
|
-
}
|
|
82125
|
-
|
|
82126
|
-
var header = {
|
|
82127
|
-
offset: {top: 0, left: 0},
|
|
82128
|
-
height: 0
|
|
82129
|
-
}
|
|
82130
|
-
var footer = {
|
|
82131
|
-
offset: {top: 0, left: 0},
|
|
82132
|
-
height: 0
|
|
82133
|
-
}
|
|
82134
|
-
|
|
82135
|
-
if ( this.c.footer && this.dom.tfoot.length ) {
|
|
82136
|
-
if ( ! this.s.enable ) {
|
|
82137
|
-
footerMode = 'in-place';
|
|
82138
|
-
}
|
|
82139
|
-
else if ( ! position.visible || position.tfootBottom + this.c.footerOffset <= windowBottom ) {
|
|
82140
|
-
footerMode = 'in-place';
|
|
82141
|
-
}
|
|
82142
|
-
else if (
|
|
82143
|
-
bodyBottom + position.tfootHeight + this.c.footerOffset > windowBottom &&
|
|
82144
|
-
bodyTop + this.c.footerOffset < windowBottom
|
|
82145
|
-
) {
|
|
82146
|
-
footerMode = 'in';
|
|
82147
|
-
forceChange = true;
|
|
82148
|
-
}
|
|
82149
|
-
else {
|
|
82150
|
-
footerMode = 'above';
|
|
82151
|
-
}
|
|
82152
|
-
|
|
82153
|
-
if ( forceChange || footerMode !== this.s.footerMode ) {
|
|
82154
|
-
this._modeChange( footerMode, 'footer', forceChange );
|
|
82155
|
-
}
|
|
82156
|
-
|
|
82157
|
-
this._horizontal( 'footer', windowLeft );
|
|
82158
|
-
|
|
82159
|
-
var getOffsetHeight = function (el) {
|
|
82160
|
-
return {
|
|
82161
|
-
offset: el.offset(),
|
|
82162
|
-
height: el.outerHeight()
|
|
82163
|
-
};
|
|
82164
|
-
};
|
|
82165
|
-
|
|
82166
|
-
header = this.dom.header.floating ? getOffsetHeight(this.dom.header.floating) : getOffsetHeight(this.dom.thead);
|
|
82167
|
-
footer = this.dom.footer.floating ? getOffsetHeight(this.dom.footer.floating) : getOffsetHeight(this.dom.tfoot);
|
|
82168
|
-
|
|
82169
|
-
// If scrolling is enabled and the footer is off the screen
|
|
82170
|
-
if (scrollEnabled && footer.offset.top > windowTop){// && footer.offset.top >= windowBottom) {
|
|
82171
|
-
// Calculate the gap between the top of the scrollBody and the top of the window
|
|
82172
|
-
var overlap = windowTop - scrollOffset.top;
|
|
82173
|
-
// The new height is the bottom of the window
|
|
82174
|
-
var newHeight = windowBottom +
|
|
82175
|
-
// If the gap between the top of the scrollbody and the window is more than
|
|
82176
|
-
// the height of the header then the top of the table is still visible so add that gap
|
|
82177
|
-
// Doing this has effectively calculated the height from the top of the table to the bottom of the current page
|
|
82178
|
-
(overlap > -header.height ? overlap : 0) -
|
|
82179
|
-
// Take from that
|
|
82180
|
-
(
|
|
82181
|
-
// The top of the header plus
|
|
82182
|
-
header.offset.top +
|
|
82183
|
-
// The header height if the standard header is present
|
|
82184
|
-
(overlap < -header.height ? header.height : 0) +
|
|
82185
|
-
// And the height of the footer
|
|
82186
|
-
footer.height
|
|
82187
|
-
)
|
|
82188
|
-
|
|
82189
|
-
// Don't want a negative height
|
|
82190
|
-
if (newHeight < 0) {
|
|
82191
|
-
newHeight = 0;
|
|
82192
|
-
}
|
|
82193
|
-
|
|
82194
|
-
// At the end of the above calculation the space between the header (top of the page if floating)
|
|
82195
|
-
// and the point just above the footer should be the new value for the height of the table.
|
|
82196
|
-
scrollBody.outerHeight(newHeight);
|
|
82197
|
-
|
|
82198
|
-
// Need some rounding here as sometimes very small decimal places are encountered
|
|
82199
|
-
// If the actual height is bigger or equal to the height we just applied then the footer is "Floating"
|
|
82200
|
-
if(Math.round(scrollBody.outerHeight()) >= Math.round(newHeight)) {
|
|
82201
|
-
jquery_default()(this.dom.tfoot.parent()).addClass("fixedHeader-floating");
|
|
82202
|
-
}
|
|
82203
|
-
// Otherwise max-width has kicked in so it is not floating
|
|
82204
|
-
else {
|
|
82205
|
-
jquery_default()(this.dom.tfoot.parent()).removeClass("fixedHeader-floating");
|
|
82206
|
-
}
|
|
82207
|
-
}
|
|
82208
|
-
}
|
|
82209
|
-
|
|
82210
|
-
if(this.dom.header.floating){
|
|
82211
|
-
this.dom.header.floatingParent.css('left', bodyLeft-windowLeft);
|
|
82212
|
-
}
|
|
82213
|
-
if(this.dom.footer.floating){
|
|
82214
|
-
this.dom.footer.floatingParent.css('left', bodyLeft-windowLeft);
|
|
82215
|
-
}
|
|
82216
|
-
|
|
82217
|
-
// If fixed columns is being used on this table then the blockers need to be copied across
|
|
82218
|
-
// Cloning these is cleaner than creating as our own as it will keep consistency with fixedColumns automatically
|
|
82219
|
-
// ASSUMING that the class remains the same
|
|
82220
|
-
if (this.s.dt.settings()[0]._fixedColumns !== undefined) {
|
|
82221
|
-
var adjustBlocker = function (side, end, el) {
|
|
82222
|
-
if (el === undefined) {
|
|
82223
|
-
var blocker = jquery_default()('div.dtfc-'+side+'-'+end+'-blocker');
|
|
82224
|
-
|
|
82225
|
-
el = blocker.length === 0 ?
|
|
82226
|
-
null :
|
|
82227
|
-
blocker.clone().css('z-index', 1);
|
|
82228
|
-
}
|
|
82229
|
-
|
|
82230
|
-
if(el !== null) {
|
|
82231
|
-
if (headerMode === 'in' || headerMode === 'below') {
|
|
82232
|
-
el
|
|
82233
|
-
.appendTo('body')
|
|
82234
|
-
.css({
|
|
82235
|
-
top: end === 'top' ? header.offset.top : footer.offset.top,
|
|
82236
|
-
left: side === 'right' ? bodyLeft + bodyWidth - el.width() : bodyLeft
|
|
82237
|
-
});
|
|
82238
|
-
}
|
|
82239
|
-
else {
|
|
82240
|
-
el.detach();
|
|
82241
|
-
}
|
|
82242
|
-
}
|
|
82243
|
-
|
|
82244
|
-
return el;
|
|
82245
|
-
}
|
|
82246
|
-
|
|
82247
|
-
// Adjust all blockers
|
|
82248
|
-
this.dom.header.rightBlocker = adjustBlocker('right', 'top', this.dom.header.rightBlocker);
|
|
82249
|
-
this.dom.header.leftBlocker = adjustBlocker('left', 'top', this.dom.header.leftBlocker);
|
|
82250
|
-
this.dom.footer.rightBlocker = adjustBlocker('right', 'bottom', this.dom.footer.rightBlocker);
|
|
82251
|
-
this.dom.footer.leftBlocker = adjustBlocker('left', 'bottom', this.dom.footer.leftBlocker);
|
|
82252
|
-
}
|
|
82253
|
-
},
|
|
82254
|
-
|
|
82255
|
-
/**
|
|
82256
|
-
* Function to check if scrolling is enabled on the table or not
|
|
82257
|
-
* @returns Boolean value indicating if scrolling on the table is enabled or not
|
|
82258
|
-
*/
|
|
82259
|
-
_scrollEnabled: function() {
|
|
82260
|
-
var oScroll = this.s.dt.settings()[0].oScroll;
|
|
82261
|
-
if(oScroll.sY !== "" || oScroll.sX !== "") {
|
|
82262
|
-
return true;
|
|
82263
|
-
}
|
|
82264
|
-
return false
|
|
82265
|
-
}
|
|
82266
|
-
} );
|
|
82267
|
-
|
|
82268
|
-
|
|
82269
|
-
/**
|
|
82270
|
-
* Version
|
|
82271
|
-
* @type {String}
|
|
82272
|
-
* @static
|
|
82273
|
-
*/
|
|
82274
|
-
FixedHeader.version = "3.3.1";
|
|
82275
|
-
|
|
82276
|
-
/**
|
|
82277
|
-
* Defaults
|
|
82278
|
-
* @type {Object}
|
|
82279
|
-
* @static
|
|
82280
|
-
*/
|
|
82281
|
-
FixedHeader.defaults = {
|
|
82282
|
-
header: true,
|
|
82283
|
-
footer: false,
|
|
82284
|
-
headerOffset: 0,
|
|
82285
|
-
footerOffset: 0
|
|
82286
|
-
};
|
|
82287
|
-
|
|
82288
|
-
|
|
82289
|
-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
82290
|
-
* DataTables interfaces
|
|
82291
|
-
*/
|
|
82292
|
-
|
|
82293
|
-
// Attach for constructor access
|
|
82294
|
-
jquery_default.a.fn.dataTable.FixedHeader = FixedHeader;
|
|
82295
|
-
jquery_default.a.fn.DataTable.FixedHeader = FixedHeader;
|
|
82296
|
-
|
|
82297
|
-
|
|
82298
|
-
// DataTables creation - check if the FixedHeader option has been defined on the
|
|
82299
|
-
// table and if so, initialise
|
|
82300
|
-
jquery_default()(document).on( 'init.dt.dtfh', function (e, settings, json) {
|
|
82301
|
-
if ( e.namespace !== 'dt' ) {
|
|
82302
|
-
return;
|
|
82303
|
-
}
|
|
82304
|
-
|
|
82305
|
-
var init = settings.oInit.fixedHeader;
|
|
82306
|
-
var defaults = js_jquery_dataTables_default.a.defaults.fixedHeader;
|
|
82307
|
-
|
|
82308
|
-
if ( (init || defaults) && ! settings._fixedHeader ) {
|
|
82309
|
-
var opts = jquery_default.a.extend( {}, defaults, init );
|
|
82310
|
-
|
|
82311
|
-
if ( init !== false ) {
|
|
82312
|
-
new FixedHeader( settings, opts );
|
|
82313
|
-
}
|
|
82314
|
-
}
|
|
82315
|
-
} );
|
|
82316
|
-
|
|
82317
|
-
// DataTables API methods
|
|
82318
|
-
js_jquery_dataTables_default.a.Api.register( 'fixedHeader()', function () {} );
|
|
82319
|
-
|
|
82320
|
-
js_jquery_dataTables_default.a.Api.register( 'fixedHeader.adjust()', function () {
|
|
82321
|
-
return this.iterator( 'table', function ( ctx ) {
|
|
82322
|
-
var fh = ctx._fixedHeader;
|
|
82323
|
-
|
|
82324
|
-
if ( fh ) {
|
|
82325
|
-
fh.update();
|
|
82326
|
-
}
|
|
82327
|
-
} );
|
|
82328
|
-
} );
|
|
82329
|
-
|
|
82330
|
-
js_jquery_dataTables_default.a.Api.register( 'fixedHeader.enable()', function ( flag ) {
|
|
82331
|
-
return this.iterator( 'table', function ( ctx ) {
|
|
82332
|
-
var fh = ctx._fixedHeader;
|
|
82333
|
-
|
|
82334
|
-
flag = ( flag !== undefined ? flag : true );
|
|
82335
|
-
if ( fh && flag !== fh.enabled() ) {
|
|
82336
|
-
fh.enable( flag );
|
|
82337
|
-
}
|
|
82338
|
-
} );
|
|
82339
|
-
} );
|
|
82340
|
-
|
|
82341
|
-
js_jquery_dataTables_default.a.Api.register( 'fixedHeader.enabled()', function () {
|
|
82342
|
-
if ( this.context.length ) {
|
|
82343
|
-
var fh = this.context[0]._fixedHeader;
|
|
82344
|
-
|
|
82345
|
-
if ( fh ) {
|
|
82346
|
-
return fh.enabled();
|
|
82347
|
-
}
|
|
82348
|
-
}
|
|
82349
|
-
|
|
82350
|
-
return false;
|
|
82351
|
-
} );
|
|
82352
|
-
|
|
82353
|
-
js_jquery_dataTables_default.a.Api.register( 'fixedHeader.disable()', function ( ) {
|
|
82354
|
-
return this.iterator( 'table', function ( ctx ) {
|
|
82355
|
-
var fh = ctx._fixedHeader;
|
|
82356
|
-
|
|
82357
|
-
if ( fh && fh.enabled() ) {
|
|
82358
|
-
fh.enable( false );
|
|
82359
|
-
}
|
|
82360
|
-
} );
|
|
82361
|
-
} );
|
|
82362
|
-
|
|
82363
|
-
jquery_default.a.each( ['header', 'footer'], function ( i, el ) {
|
|
82364
|
-
js_jquery_dataTables_default.a.Api.register( 'fixedHeader.'+el+'Offset()', function ( offset ) {
|
|
82365
|
-
var ctx = this.context;
|
|
82366
|
-
|
|
82367
|
-
if ( offset === undefined ) {
|
|
82368
|
-
return ctx.length && ctx[0]._fixedHeader ?
|
|
82369
|
-
ctx[0]._fixedHeader[el +'Offset']() :
|
|
82370
|
-
undefined;
|
|
82371
|
-
}
|
|
82372
|
-
|
|
82373
|
-
return this.iterator( 'table', function ( ctx ) {
|
|
82374
|
-
var fh = ctx._fixedHeader;
|
|
82375
|
-
|
|
82376
|
-
if ( fh ) {
|
|
82377
|
-
fh[ el +'Offset' ]( offset );
|
|
82378
|
-
}
|
|
82379
|
-
} );
|
|
82380
|
-
} );
|
|
82381
|
-
} );
|
|
82382
|
-
|
|
82383
|
-
|
|
82384
|
-
/* harmony default export */ var dataTables_fixedHeader = (js_jquery_dataTables_default.a);
|
|
82385
|
-
|
|
82386
|
-
// EXTERNAL MODULE: ./node_modules/datatables.net-fixedheader-dt/css/fixedHeader.dataTables.css
|
|
82387
|
-
var fixedHeader_dataTables = __webpack_require__("4f75");
|
|
82388
|
-
|
|
82389
81299
|
// CONCATENATED MODULE: ./src/components/desktop/datatables.net-plugins/pagination/input.js
|
|
82390
81300
|
|
|
82391
81301
|
|
|
@@ -83274,7 +82184,9 @@ var lodash = __webpack_require__("2ef0");
|
|
|
83274
82184
|
|
|
83275
82185
|
// eslint-disable-line
|
|
83276
82186
|
|
|
83277
|
-
|
|
82187
|
+
|
|
82188
|
+
//import fixedheader from 'datatables.net-fixedheader'; // eslint-disable-line
|
|
82189
|
+
//import 'datatables.net-fixedheader-dt/css/fixedHeader.dataTables.css';
|
|
83278
82190
|
|
|
83279
82191
|
// eslint-disable-line
|
|
83280
82192
|
|
|
@@ -83448,7 +82360,8 @@ var lodash = __webpack_require__("2ef0");
|
|
|
83448
82360
|
showGridRowActionsEdit: false,
|
|
83449
82361
|
showGridRowActionsDelete: false,
|
|
83450
82362
|
showDetailModalDialog: false,
|
|
83451
|
-
|
|
82363
|
+
shortDebouncedAdjustTableColumns: null,
|
|
82364
|
+
longDebouncedAdjustTableColumns: null
|
|
83452
82365
|
};
|
|
83453
82366
|
},
|
|
83454
82367
|
computed: {
|
|
@@ -83484,10 +82397,10 @@ var lodash = __webpack_require__("2ef0");
|
|
|
83484
82397
|
return !(this.data !== undefined && this.data.length !== undefined);
|
|
83485
82398
|
},
|
|
83486
82399
|
onPuiExpandMenu: function onPuiExpandMenu() {
|
|
83487
|
-
return this.menuConf.
|
|
82400
|
+
return this.menuConf.expandMenu;
|
|
83488
82401
|
},
|
|
83489
82402
|
onPuiSecondMenuShowed: function onPuiSecondMenuShowed() {
|
|
83490
|
-
return this.menuConf.
|
|
82403
|
+
return this.menuConf.secondMenuShowed;
|
|
83491
82404
|
}
|
|
83492
82405
|
},
|
|
83493
82406
|
methods: {
|
|
@@ -84046,9 +82959,6 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84046
82959
|
});
|
|
84047
82960
|
}
|
|
84048
82961
|
this.table.scrollDiv = jquery_default()(this.table.table().container()).find('.dataTables_scrollBody');
|
|
84049
|
-
this.table.scrollDiv.on('scroll', function (e) {
|
|
84050
|
-
_this2.handleScroll(e);
|
|
84051
|
-
});
|
|
84052
82962
|
},
|
|
84053
82963
|
handleWheelRowActions: function handleWheelRowActions(e) {
|
|
84054
82964
|
this.table.scrollDiv.scrollTop(this.table.scrollDiv.scrollTop() - e.wheelDeltaY);
|
|
@@ -84570,16 +83480,6 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84570
83480
|
_this7.createDatatable();
|
|
84571
83481
|
});
|
|
84572
83482
|
},
|
|
84573
|
-
onMenuExpandColapse: function onMenuExpandColapse() {
|
|
84574
|
-
var _this8 = this;
|
|
84575
|
-
this.$nextTick(function () {
|
|
84576
|
-
//FIXME
|
|
84577
|
-
//Se usa timeout porque sino solo funciona si se pone un debugger o un punto dentro del nextTick, fuera de eso, no funciona
|
|
84578
|
-
setTimeout(function () {
|
|
84579
|
-
_this8.adjustTableColumns();
|
|
84580
|
-
}, 150);
|
|
84581
|
-
});
|
|
84582
|
-
},
|
|
84583
83483
|
adjustTableColumns: function adjustTableColumns() {
|
|
84584
83484
|
this.table.columns.adjust();
|
|
84585
83485
|
},
|
|
@@ -84648,7 +83548,7 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84648
83548
|
this.datatablesOrderApplied = this.order;
|
|
84649
83549
|
},
|
|
84650
83550
|
getTotalColumns: function getTotalColumns(sumData) {
|
|
84651
|
-
var
|
|
83551
|
+
var _this8 = this;
|
|
84652
83552
|
var thousandSeparator = this.$store.getters.thousandSeparator;
|
|
84653
83553
|
var decimalSeparator = this.$store.getters.decimalSeparator;
|
|
84654
83554
|
var totals;
|
|
@@ -84657,11 +83557,11 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84657
83557
|
try {
|
|
84658
83558
|
var _loop = function _loop() {
|
|
84659
83559
|
var column = _step.value;
|
|
84660
|
-
var tableColumn =
|
|
83560
|
+
var tableColumn = _this8.tableColumns.find(function (c) {
|
|
84661
83561
|
return c.name === column.name;
|
|
84662
83562
|
});
|
|
84663
|
-
var prefix =
|
|
84664
|
-
var suffix =
|
|
83563
|
+
var prefix = _this8.$t(column.prefix) || "Total ".concat(tableColumn.sTitle, ": ");
|
|
83564
|
+
var suffix = _this8.$t(column.suffix) || '';
|
|
84665
83565
|
var total = sumData[column.name];
|
|
84666
83566
|
// Round decimals
|
|
84667
83567
|
total = Math.round(total * 100) / 100;
|
|
@@ -84694,18 +83594,18 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84694
83594
|
puiSimpleDatatableTheadClass: function puiSimpleDatatableTheadClass() {
|
|
84695
83595
|
this.setFixedThead();
|
|
84696
83596
|
},
|
|
84697
|
-
actionFooter: function actionFooter() {
|
|
84698
|
-
// this.adjustTableHeight();
|
|
84699
|
-
},
|
|
84700
83597
|
onPuiExpandMenu: function onPuiExpandMenu() {
|
|
84701
|
-
this.
|
|
83598
|
+
this.longDebouncedAdjustTableColumns();
|
|
84702
83599
|
},
|
|
84703
83600
|
onPuiSecondMenuShowed: function onPuiSecondMenuShowed() {
|
|
84704
|
-
this.
|
|
83601
|
+
this.longDebouncedAdjustTableColumns();
|
|
84705
83602
|
}
|
|
84706
83603
|
},
|
|
84707
83604
|
created: function created() {
|
|
84708
|
-
var
|
|
83605
|
+
var _this9 = this;
|
|
83606
|
+
// Initialize debounced functions
|
|
83607
|
+
this.shortDebouncedAdjustTableColumns = Object(lodash["debounce"])(this.adjustTableColumns, 80);
|
|
83608
|
+
this.longDebouncedAdjustTableColumns = Object(lodash["debounce"])(this.adjustTableColumns, 180);
|
|
84709
83609
|
this.dateFormat = this.$store.getters.dateFormat;
|
|
84710
83610
|
this.timeFormat = this.$store.getters.timeFormat;
|
|
84711
83611
|
this.toolbarSingleRowNegativeHeight = 0;
|
|
@@ -84722,7 +83622,7 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84722
83622
|
this.tableColumns = [];
|
|
84723
83623
|
this.columnDefs = this.modelColumnDefs;
|
|
84724
83624
|
this.columns && this.columns.forEach(function (column) {
|
|
84725
|
-
|
|
83625
|
+
_this9.tableColumns.push(column);
|
|
84726
83626
|
});
|
|
84727
83627
|
this.addSelectCheckColumn();
|
|
84728
83628
|
this.model = this.$store.getters.getModelByName(this.modelName);
|
|
@@ -84739,32 +83639,31 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84739
83639
|
this.subscribeToActionsEvents();
|
|
84740
83640
|
},
|
|
84741
83641
|
mounted: function mounted() {
|
|
84742
|
-
var
|
|
83642
|
+
var _this0 = this;
|
|
84743
83643
|
this.createDatatable();
|
|
84744
83644
|
//onMenuEspandColapse ajustará las columnas según esté el menú en el momento justo después de montar la tabla
|
|
84745
|
-
this.onMenuExpandColapse();
|
|
84746
83645
|
if (this.modalDialog) {
|
|
84747
83646
|
this.detailComponentLabel = this.$t("form.".concat(this.modelName));
|
|
84748
83647
|
this.detailComponentName = "".concat(this.modelName, "form");
|
|
84749
83648
|
this.$puiEvents.$on("pui-modalDialog-".concat(this.detailComponentName, "_").concat(this.completeGridName, "_detail_popup-hide"), function () {
|
|
84750
|
-
|
|
83649
|
+
_this0.showDetailModalDialog = false;
|
|
84751
83650
|
});
|
|
84752
83651
|
}
|
|
84753
|
-
this.
|
|
84754
|
-
|
|
84755
|
-
// window.addEventListener('resize', this.recalculateScrollY);
|
|
84756
|
-
window.addEventListener('wheel', this.refreshDatatableScrollHeadInner = function (event) {
|
|
83652
|
+
this.adjustTableColumns();
|
|
83653
|
+
this.refreshDatatableScrollHeadInner = function (event) {
|
|
84757
83654
|
if (event.deltaY < 0) {
|
|
84758
83655
|
// scrolling up
|
|
84759
|
-
|
|
83656
|
+
_this0.shortDebouncedAdjustTableColumns();
|
|
84760
83657
|
}
|
|
84761
|
-
}
|
|
83658
|
+
};
|
|
83659
|
+
window.addEventListener('resize', this.shortDebouncedAdjustTableColumns);
|
|
83660
|
+
window.addEventListener('wheel', this.refreshDatatableScrollHeadInner);
|
|
84762
83661
|
},
|
|
84763
83662
|
updated: function updated() {
|
|
84764
83663
|
this.setFixedThead();
|
|
84765
83664
|
},
|
|
84766
83665
|
beforeDestroy: function beforeDestroy() {
|
|
84767
|
-
window.removeEventListener('resize', this.
|
|
83666
|
+
window.removeEventListener('resize', this.shortDebouncedAdjustTableColumns);
|
|
84768
83667
|
// window.removeEventListener('resize', this.recalculateScrollY);
|
|
84769
83668
|
window.removeEventListener('wheel', this.refreshDatatableScrollHeadInner);
|
|
84770
83669
|
this.table.destroy(true);
|
|
@@ -84788,11 +83687,11 @@ var lodash = __webpack_require__("2ef0");
|
|
|
84788
83687
|
});
|
|
84789
83688
|
// CONCATENATED MODULE: ./src/components/desktop/PuiSimpleDatatable.vue?vue&type=script&lang=js
|
|
84790
83689
|
/* harmony default export */ var desktop_PuiSimpleDatatablevue_type_script_lang_js = (PuiSimpleDatatablevue_type_script_lang_js);
|
|
84791
|
-
// EXTERNAL MODULE: ./src/components/desktop/PuiSimpleDatatable.vue?vue&type=style&index=0&id=
|
|
84792
|
-
var
|
|
83690
|
+
// EXTERNAL MODULE: ./src/components/desktop/PuiSimpleDatatable.vue?vue&type=style&index=0&id=7fb36b86&prod&lang=postcss&scoped=true
|
|
83691
|
+
var PuiSimpleDatatablevue_type_style_index_0_id_7fb36b86_prod_lang_postcss_scoped_true = __webpack_require__("8320");
|
|
84793
83692
|
|
|
84794
|
-
// EXTERNAL MODULE: ./src/components/desktop/PuiSimpleDatatable.vue?vue&type=style&index=1&id=
|
|
84795
|
-
var
|
|
83693
|
+
// EXTERNAL MODULE: ./src/components/desktop/PuiSimpleDatatable.vue?vue&type=style&index=1&id=7fb36b86&prod&lang=css
|
|
83694
|
+
var PuiSimpleDatatablevue_type_style_index_1_id_7fb36b86_prod_lang_css = __webpack_require__("5d47");
|
|
84796
83695
|
|
|
84797
83696
|
// CONCATENATED MODULE: ./src/components/desktop/PuiSimpleDatatable.vue
|
|
84798
83697
|
|
|
@@ -84806,11 +83705,11 @@ var PuiSimpleDatatablevue_type_style_index_1_id_20924664_prod_lang_css = __webpa
|
|
|
84806
83705
|
|
|
84807
83706
|
var PuiSimpleDatatable_component = normalizeComponent(
|
|
84808
83707
|
desktop_PuiSimpleDatatablevue_type_script_lang_js,
|
|
84809
|
-
|
|
84810
|
-
|
|
83708
|
+
PuiSimpleDatatablevue_type_template_id_7fb36b86_scoped_true_render,
|
|
83709
|
+
PuiSimpleDatatablevue_type_template_id_7fb36b86_scoped_true_staticRenderFns,
|
|
84811
83710
|
false,
|
|
84812
83711
|
null,
|
|
84813
|
-
"
|
|
83712
|
+
"7fb36b86",
|
|
84814
83713
|
null
|
|
84815
83714
|
|
|
84816
83715
|
)
|
|
@@ -86445,8 +85344,8 @@ var PuiGridAdvancedFilterDialogvue_type_template_id_0dafedb1_staticRenderFns = [
|
|
|
86445
85344
|
|
|
86446
85345
|
// CONCATENATED MODULE: ./src/components/desktop/toolbar/filtering/PuiGridAdvancedFilterDialog.vue?vue&type=template&id=0dafedb1
|
|
86447
85346
|
|
|
86448
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../pui9-components/src/components/PuiFilter.vue?vue&type=template&id=
|
|
86449
|
-
var
|
|
85347
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../pui9-components/src/components/PuiFilter.vue?vue&type=template&id=7ffc6605
|
|
85348
|
+
var PuiFiltervue_type_template_id_7ffc6605_render = function render() {
|
|
86450
85349
|
var _vm = this,
|
|
86451
85350
|
_c = _vm._self._c;
|
|
86452
85351
|
return _c('v-container', {
|
|
@@ -86465,9 +85364,9 @@ var PuiFiltervue_type_template_id_5f23694f_render = function render() {
|
|
|
86465
85364
|
}
|
|
86466
85365
|
}) : _vm._e()], 1);
|
|
86467
85366
|
};
|
|
86468
|
-
var
|
|
85367
|
+
var PuiFiltervue_type_template_id_7ffc6605_staticRenderFns = [];
|
|
86469
85368
|
|
|
86470
|
-
// CONCATENATED MODULE: ../pui9-components/src/components/PuiFilter.vue?vue&type=template&id=
|
|
85369
|
+
// CONCATENATED MODULE: ../pui9-components/src/components/PuiFilter.vue?vue&type=template&id=7ffc6605
|
|
86471
85370
|
|
|
86472
85371
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../pui9-components/src/components/PuiFilterGroup.vue?vue&type=template&id=fdac749c&scoped=true
|
|
86473
85372
|
var PuiFilterGroupvue_type_template_id_fdac749c_scoped_true_render = function render() {
|
|
@@ -86649,8 +85548,8 @@ var es_string_at_alternative = __webpack_require__("46fc");
|
|
|
86649
85548
|
// EXTERNAL MODULE: ../pui9-components/node_modules/core-js/modules/es.string.replace.js
|
|
86650
85549
|
var modules_es_string_replace = __webpack_require__("8869");
|
|
86651
85550
|
|
|
86652
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../pui9-components/src/components/PuiFilterRule.vue?vue&type=template&id=
|
|
86653
|
-
var
|
|
85551
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../pui9-components/src/components/PuiFilterRule.vue?vue&type=template&id=68064e1a
|
|
85552
|
+
var PuiFilterRulevue_type_template_id_68064e1a_render = function render() {
|
|
86654
85553
|
var _vm = this,
|
|
86655
85554
|
_c = _vm._self._c;
|
|
86656
85555
|
return _c('v-layout', {
|
|
@@ -86896,7 +85795,7 @@ var PuiFilterRulevue_type_template_id_ae3f4c98_render = function render() {
|
|
|
86896
85795
|
attrs: {
|
|
86897
85796
|
"xs5": ""
|
|
86898
85797
|
}
|
|
86899
|
-
}, [_vm.columnHasFilterColumnValues && _vm.filterRuleModel.op === 'eq' || _vm.filterRuleModel.op === 'ne' ? _c('v-autocomplete', {
|
|
85798
|
+
}, [_vm.columnHasFilterColumnValues && _vm.filterRuleModel.op === 'eq' || _vm.columnHasFilterColumnValues && _vm.filterRuleModel.op === 'ne' ? _c('v-autocomplete', {
|
|
86900
85799
|
attrs: {
|
|
86901
85800
|
"append-icon": "fa fa-angle-down",
|
|
86902
85801
|
"solo": "",
|
|
@@ -87007,9 +85906,9 @@ var PuiFilterRulevue_type_template_id_ae3f4c98_render = function render() {
|
|
|
87007
85906
|
}])
|
|
87008
85907
|
}, [_c('span', [_vm._v(_vm._s(_vm.$t('puidatatables.caseSensitive')))])])], 1)], 2)]], 2)], 1);
|
|
87009
85908
|
};
|
|
87010
|
-
var
|
|
85909
|
+
var PuiFilterRulevue_type_template_id_68064e1a_staticRenderFns = [];
|
|
87011
85910
|
|
|
87012
|
-
// CONCATENATED MODULE: ../pui9-components/src/components/PuiFilterRule.vue?vue&type=template&id=
|
|
85911
|
+
// CONCATENATED MODULE: ../pui9-components/src/components/PuiFilterRule.vue?vue&type=template&id=68064e1a
|
|
87013
85912
|
|
|
87014
85913
|
// EXTERNAL MODULE: ../pui9-components/node_modules/core-js/modules/es.array.concat.js
|
|
87015
85914
|
var modules_es_array_concat = __webpack_require__("d01e");
|
|
@@ -87437,8 +86336,8 @@ var modules_web_dom_collections_for_each = __webpack_require__("5099");
|
|
|
87437
86336
|
});
|
|
87438
86337
|
// CONCATENATED MODULE: ../pui9-components/src/components/PuiFilterRule.vue?vue&type=script&lang=js
|
|
87439
86338
|
/* harmony default export */ var components_PuiFilterRulevue_type_script_lang_js = (PuiFilterRulevue_type_script_lang_js);
|
|
87440
|
-
// EXTERNAL MODULE: ../pui9-components/src/components/PuiFilterRule.vue?vue&type=style&index=0&id=
|
|
87441
|
-
var
|
|
86339
|
+
// EXTERNAL MODULE: ../pui9-components/src/components/PuiFilterRule.vue?vue&type=style&index=0&id=68064e1a&prod&lang=postcss
|
|
86340
|
+
var PuiFilterRulevue_type_style_index_0_id_68064e1a_prod_lang_postcss = __webpack_require__("7742");
|
|
87442
86341
|
|
|
87443
86342
|
// CONCATENATED MODULE: ../pui9-components/src/components/PuiFilterRule.vue
|
|
87444
86343
|
|
|
@@ -87451,8 +86350,8 @@ var PuiFilterRulevue_type_style_index_0_id_ae3f4c98_prod_lang_postcss = __webpac
|
|
|
87451
86350
|
|
|
87452
86351
|
var PuiFilterRule_component = normalizeComponent(
|
|
87453
86352
|
components_PuiFilterRulevue_type_script_lang_js,
|
|
87454
|
-
|
|
87455
|
-
|
|
86353
|
+
PuiFilterRulevue_type_template_id_68064e1a_render,
|
|
86354
|
+
PuiFilterRulevue_type_template_id_68064e1a_staticRenderFns,
|
|
87456
86355
|
false,
|
|
87457
86356
|
null,
|
|
87458
86357
|
null,
|
|
@@ -87647,6 +86546,7 @@ var PuiFilterGroup_component = normalizeComponent(
|
|
|
87647
86546
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!../pui9-components/src/components/PuiFilter.vue?vue&type=script&lang=js
|
|
87648
86547
|
|
|
87649
86548
|
|
|
86549
|
+
|
|
87650
86550
|
/* harmony default export */ var PuiFiltervue_type_script_lang_js = ({
|
|
87651
86551
|
name: 'PuiFilter',
|
|
87652
86552
|
components: {
|
|
@@ -87662,6 +86562,11 @@ var PuiFilterGroup_component = normalizeComponent(
|
|
|
87662
86562
|
//type: Object,
|
|
87663
86563
|
required: true
|
|
87664
86564
|
},
|
|
86565
|
+
mandatoryRule: {
|
|
86566
|
+
type: Boolean,
|
|
86567
|
+
required: false,
|
|
86568
|
+
default: true
|
|
86569
|
+
},
|
|
87665
86570
|
columns: {
|
|
87666
86571
|
type: Array,
|
|
87667
86572
|
required: true
|
|
@@ -87691,32 +86596,36 @@ var PuiFilterGroup_component = normalizeComponent(
|
|
|
87691
86596
|
},
|
|
87692
86597
|
methods: {
|
|
87693
86598
|
retrieveGroupsData: function retrieveGroupsData() {
|
|
87694
|
-
var _this = this
|
|
86599
|
+
var _this = this,
|
|
86600
|
+
_this$filterModel;
|
|
87695
86601
|
// validation - al menos una regla por filtro
|
|
87696
86602
|
|
|
87697
86603
|
var validFilter = true;
|
|
87698
|
-
var
|
|
87699
|
-
var _validate = function validate(filterGroupModel) {
|
|
86604
|
+
var validate = function validate(filterGroupModel) {
|
|
87700
86605
|
if (filterGroupModel) {
|
|
87701
|
-
|
|
87702
|
-
|
|
87703
|
-
|
|
87704
|
-
|
|
87705
|
-
|
|
87706
|
-
|
|
87707
|
-
|
|
87708
|
-
|
|
87709
|
-
|
|
87710
|
-
|
|
86606
|
+
var _iterator = _createForOfIteratorHelper(filterGroupModel.rules),
|
|
86607
|
+
_step;
|
|
86608
|
+
try {
|
|
86609
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
86610
|
+
var rule = _step.value;
|
|
86611
|
+
if (_this.mandatoryRule && (!rule.field || !rule.op || !rule.data && rule.op !== 'nn' && rule.op !== 'nu')) {
|
|
86612
|
+
_this.$puiNotify.warning(_this.$t('puidatatables.not-valid-rule-error'));
|
|
86613
|
+
validFilter = false;
|
|
86614
|
+
return;
|
|
86615
|
+
}
|
|
86616
|
+
if (_typeof(rule.data) !== 'object' && (rule.op === 'in' || rule.op === 'ni')) {
|
|
86617
|
+
rule.data = rule.data.split(',');
|
|
86618
|
+
}
|
|
87711
86619
|
}
|
|
87712
|
-
}
|
|
87713
|
-
|
|
87714
|
-
|
|
86620
|
+
} catch (err) {
|
|
86621
|
+
_iterator.e(err);
|
|
86622
|
+
} finally {
|
|
86623
|
+
_iterator.f();
|
|
87715
86624
|
}
|
|
87716
86625
|
}
|
|
87717
86626
|
};
|
|
87718
|
-
this.filterModel &&
|
|
87719
|
-
if (
|
|
86627
|
+
this.filterModel && validate(this.filterModel);
|
|
86628
|
+
if (this.mandatoryRule && ((_this$filterModel = this.filterModel) === null || _this$filterModel === void 0 || (_this$filterModel = _this$filterModel.rules) === null || _this$filterModel === void 0 ? void 0 : _this$filterModel.length) < 1) {
|
|
87720
86629
|
this.$puiNotify.warning(this.$t('puidatatables.no-rules-error'));
|
|
87721
86630
|
return null;
|
|
87722
86631
|
} else if (validFilter === true) {
|
|
@@ -87741,8 +86650,8 @@ var PuiFilterGroup_component = normalizeComponent(
|
|
|
87741
86650
|
|
|
87742
86651
|
var PuiFilter_component = normalizeComponent(
|
|
87743
86652
|
components_PuiFiltervue_type_script_lang_js,
|
|
87744
|
-
|
|
87745
|
-
|
|
86653
|
+
PuiFiltervue_type_template_id_7ffc6605_render,
|
|
86654
|
+
PuiFiltervue_type_template_id_7ffc6605_staticRenderFns,
|
|
87746
86655
|
false,
|
|
87747
86656
|
null,
|
|
87748
86657
|
null,
|
|
@@ -89442,8 +88351,8 @@ var PuiGridSortBtn_component = normalizeComponent(
|
|
|
89442
88351
|
)
|
|
89443
88352
|
|
|
89444
88353
|
/* harmony default export */ var PuiGridSortBtn = (PuiGridSortBtn_component.exports);
|
|
89445
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/desktop/toolbar/searching/PuiGridSearcher.vue?vue&type=template&id=
|
|
89446
|
-
var
|
|
88354
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/desktop/toolbar/searching/PuiGridSearcher.vue?vue&type=template&id=fb34d3f8
|
|
88355
|
+
var PuiGridSearchervue_type_template_id_fb34d3f8_render = function render() {
|
|
89447
88356
|
var _vm = this,
|
|
89448
88357
|
_c = _vm._self._c;
|
|
89449
88358
|
return _c('div', {
|
|
@@ -89518,9 +88427,9 @@ var PuiGridSearchervue_type_template_id_02644b5a_render = function render() {
|
|
|
89518
88427
|
}
|
|
89519
88428
|
}) : _vm._e()], 1);
|
|
89520
88429
|
};
|
|
89521
|
-
var
|
|
88430
|
+
var PuiGridSearchervue_type_template_id_fb34d3f8_staticRenderFns = [];
|
|
89522
88431
|
|
|
89523
|
-
// CONCATENATED MODULE: ./src/components/desktop/toolbar/searching/PuiGridSearcher.vue?vue&type=template&id=
|
|
88432
|
+
// CONCATENATED MODULE: ./src/components/desktop/toolbar/searching/PuiGridSearcher.vue?vue&type=template&id=fb34d3f8
|
|
89524
88433
|
|
|
89525
88434
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/desktop/toolbar/searching/PuiGridSearcherColumnsList.vue?vue&type=template&id=68fec6fe
|
|
89526
88435
|
var PuiGridSearcherColumnsListvue_type_template_id_68fec6fe_render = function render() {
|
|
@@ -89918,12 +88827,16 @@ var PuiGridSearcherColumnsList_component = normalizeComponent(
|
|
|
89918
88827
|
jquery_default()('.pui-completeDatatable_desktop__table table').on('draw.dt', function () {
|
|
89919
88828
|
self.searchRunning = false;
|
|
89920
88829
|
});
|
|
88830
|
+
jquery_default()('.pui-completeDatatable_desktop_detail__table table').on('draw.dt', function () {
|
|
88831
|
+
self.searchRunning = false;
|
|
88832
|
+
});
|
|
89921
88833
|
},
|
|
89922
88834
|
beforeDestroy: function beforeDestroy() {
|
|
89923
88835
|
this.$puiEvents.$off("onPui-apply-configuration-".concat(this.modelName));
|
|
89924
88836
|
this.$puiEvents.$off("onPuiApplySearchingColumns-".concat(this.modelName));
|
|
89925
88837
|
this.$puiEvents.$off("onPuiApplySearchingColumnsDisable-".concat(this.modelName));
|
|
89926
88838
|
jquery_default()('.pui-completeDatatable_desktop__table table').off('draw.dt');
|
|
88839
|
+
jquery_default()('.pui-completeDatatable_desktop_detail__table table').off('draw.dt');
|
|
89927
88840
|
},
|
|
89928
88841
|
methods: {
|
|
89929
88842
|
initConf: function initConf() {
|
|
@@ -90017,8 +88930,8 @@ var PuiGridSearcherColumnsList_component = normalizeComponent(
|
|
|
90017
88930
|
|
|
90018
88931
|
var PuiGridSearcher_component = normalizeComponent(
|
|
90019
88932
|
searching_PuiGridSearchervue_type_script_lang_js,
|
|
90020
|
-
|
|
90021
|
-
|
|
88933
|
+
PuiGridSearchervue_type_template_id_fb34d3f8_render,
|
|
88934
|
+
PuiGridSearchervue_type_template_id_fb34d3f8_staticRenderFns,
|
|
90022
88935
|
false,
|
|
90023
88936
|
null,
|
|
90024
88937
|
null,
|
|
@@ -95939,8 +94852,8 @@ var PuiDatalist_component = normalizeComponent(
|
|
|
95939
94852
|
)
|
|
95940
94853
|
|
|
95941
94854
|
/* harmony default export */ var PuiDatalist = (PuiDatalist_component.exports);
|
|
95942
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/puiaudit/PuiAuditForm.vue?vue&type=template&id=
|
|
95943
|
-
var
|
|
94855
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/puiaudit/PuiAuditForm.vue?vue&type=template&id=47f28786
|
|
94856
|
+
var PuiAuditFormvue_type_template_id_47f28786_render = function render() {
|
|
95944
94857
|
var _vm = this,
|
|
95945
94858
|
_c = _vm._self._c;
|
|
95946
94859
|
return _c('div', {
|
|
@@ -95948,76 +94861,72 @@ var PuiAuditFormvue_type_template_id_f82d1292_render = function render() {
|
|
|
95948
94861
|
}, [_c('table', [_c('thead', [_c('tr', [_c('th', [_vm._v(_vm._s(_vm.$t('puiaudit.attribute')))]), _vm.type === 'update' ? _c('th', [_vm._v(_vm._s(_vm.$t('puiaudit.oldValue')))]) : _vm._e(), _c('th', [_vm._v(_vm._s(_vm.$t('puiaudit.newValue')))])])]), _c('tbody', _vm._l(_vm.content, function (item, index) {
|
|
95949
94862
|
return _c('tr', {
|
|
95950
94863
|
key: index
|
|
95951
|
-
}, [_c('td', [_c('span', [_vm._v(_vm._s(item.attribute))])]), _vm.type === 'update' ? [
|
|
95952
|
-
return _c('tr', {
|
|
95953
|
-
key: internalIndex
|
|
95954
|
-
}, [_c('pui-audit-item', {
|
|
95955
|
-
attrs: {
|
|
95956
|
-
"model": internalItem
|
|
95957
|
-
}
|
|
95958
|
-
})], 1);
|
|
95959
|
-
}), 0) : _c('pui-audit-item', {
|
|
94864
|
+
}, [_c('td', [_c('span', [_vm._v(_vm._s(item.attribute))])]), _vm.type === 'update' ? [_c('pui-audit-item', {
|
|
95960
94865
|
attrs: {
|
|
95961
94866
|
"model": item.oldValue
|
|
95962
94867
|
}
|
|
95963
|
-
})] : _vm._e(),
|
|
95964
|
-
return _c('tr', {
|
|
95965
|
-
key: internalIndex
|
|
95966
|
-
}, [_c('pui-audit-item', {
|
|
95967
|
-
attrs: {
|
|
95968
|
-
"model": internalItem
|
|
95969
|
-
}
|
|
95970
|
-
})], 1);
|
|
95971
|
-
}), 0) : _c('pui-audit-item', {
|
|
94868
|
+
})] : _vm._e(), [_c('pui-audit-item', {
|
|
95972
94869
|
attrs: {
|
|
95973
94870
|
"model": item.value
|
|
95974
94871
|
}
|
|
95975
|
-
})], 2);
|
|
94872
|
+
})]], 2);
|
|
95976
94873
|
}), 0)])]);
|
|
95977
94874
|
};
|
|
95978
|
-
var
|
|
94875
|
+
var PuiAuditFormvue_type_template_id_47f28786_staticRenderFns = [];
|
|
95979
94876
|
|
|
95980
|
-
// CONCATENATED MODULE: ./src/components/puiaudit/PuiAuditForm.vue?vue&type=template&id=
|
|
94877
|
+
// CONCATENATED MODULE: ./src/components/puiaudit/PuiAuditForm.vue?vue&type=template&id=47f28786
|
|
95981
94878
|
|
|
95982
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/puiaudit/PuiAuditItem.vue?vue&type=template&id=
|
|
94879
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf80b3ea-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/puiaudit/PuiAuditItem.vue?vue&type=template&id=67aaeeda
|
|
95983
94880
|
|
|
95984
|
-
|
|
94881
|
+
|
|
94882
|
+
var PuiAuditItemvue_type_template_id_67aaeeda_render = function render() {
|
|
95985
94883
|
var _vm = this,
|
|
95986
94884
|
_c = _vm._self._c;
|
|
95987
|
-
return _c('td', [!_vm.isObject(_vm.model) ? _c('span', [_vm._v(" " + _vm._s(_vm.printValue(_vm.model)))]) : _vm.
|
|
95988
|
-
return
|
|
94885
|
+
return _c('td', [!_vm.model || _vm.isArray(_vm.model) && _vm.model.length === 0 ? [_c('span', [_vm._v(" ")])] : _vm.model && !_vm.isObject(_vm.model) ? [_c('span', [_vm._v(" " + _vm._s(_vm.printValue(_vm.model)))])] : _vm.model && _vm.isObject(_vm.model) ? [_c('table', [_vm.mainHeaders ? _c('tr', [_c('th', [_vm._v(_vm._s(_vm.$t('puiaudit.attribute')))]), _c('th', [_vm._v(_vm._s(_vm.$t('puiaudit.value')))])]) : _vm._e(), _vm._l(Object.entries(_vm.model), function (item, index) {
|
|
94886
|
+
return [item[1] && _vm.isObject(item[1]) ? [_vm._l(Object.entries(item[1]), function (sitem, sindex) {
|
|
94887
|
+
return [_c('tr', {
|
|
94888
|
+
key: "".concat(index, "-").concat(sindex)
|
|
94889
|
+
}, [sitem[1] && sitem[1].attribute ? [_c('td', [_c('span', [_vm._v(_vm._s(sitem[1].attribute))])]), _c('td', [_c('span', [_vm._v(_vm._s(_vm.printValue(sitem[1].value)))])])] : [_c('td', [_c('span', [_vm._v(_vm._s(sitem[0]))])]), _c('td', [_c('span', [_vm._v(_vm._s(_vm.printValue(sitem[1])))])])]], 2)];
|
|
94890
|
+
})] : _c('tr', {
|
|
95989
94891
|
key: index
|
|
95990
|
-
}, [_c('td', [_c('span', [_vm._v(_vm._s(item[0]))])]), _c('td', [_c('span', [_vm._v(_vm._s(_vm.printValue(item[1])))])])]);
|
|
94892
|
+
}, [_c('td', [_c('span', [_vm._v(_vm._s(item[0]))])]), _c('td', [_c('span', [_vm._v(_vm._s(_vm.printValue(item[1])))])])])];
|
|
95991
94893
|
})], 2)] : _vm._e()], 2);
|
|
95992
94894
|
};
|
|
95993
|
-
var
|
|
94895
|
+
var PuiAuditItemvue_type_template_id_67aaeeda_staticRenderFns = [];
|
|
95994
94896
|
|
|
95995
|
-
// CONCATENATED MODULE: ./src/components/puiaudit/PuiAuditItem.vue?vue&type=template&id=
|
|
94897
|
+
// CONCATENATED MODULE: ./src/components/puiaudit/PuiAuditItem.vue?vue&type=template&id=67aaeeda
|
|
95996
94898
|
|
|
95997
94899
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/puiaudit/PuiAuditItem.vue?vue&type=script&lang=js
|
|
95998
94900
|
|
|
95999
94901
|
|
|
94902
|
+
|
|
94903
|
+
|
|
96000
94904
|
/* harmony default export */ var PuiAuditItemvue_type_script_lang_js = ({
|
|
96001
94905
|
name: 'PuiAuditItem',
|
|
96002
94906
|
props: {
|
|
96003
94907
|
model: {
|
|
96004
94908
|
required: true
|
|
96005
|
-
},
|
|
96006
|
-
headers: {
|
|
96007
|
-
type: Boolean,
|
|
96008
|
-
default: false
|
|
96009
94909
|
}
|
|
96010
94910
|
},
|
|
96011
|
-
|
|
96012
|
-
|
|
94911
|
+
data: function data() {
|
|
94912
|
+
return {
|
|
94913
|
+
mainHeaders: true
|
|
94914
|
+
};
|
|
96013
94915
|
},
|
|
96014
94916
|
methods: {
|
|
96015
|
-
|
|
96016
|
-
return
|
|
94917
|
+
isArray: function isArray(value) {
|
|
94918
|
+
return Array.isArray(value);
|
|
96017
94919
|
},
|
|
96018
94920
|
isObject: function isObject(value) {
|
|
96019
94921
|
return _typeof(value) === 'object';
|
|
96020
94922
|
},
|
|
94923
|
+
printValue: function printValue(value) {
|
|
94924
|
+
if (value) {
|
|
94925
|
+
return this.isDate(value) ? this.getLocalDate(value) : value.toString();
|
|
94926
|
+
} else {
|
|
94927
|
+
return null;
|
|
94928
|
+
}
|
|
94929
|
+
},
|
|
96021
94930
|
isDate: function isDate(value) {
|
|
96022
94931
|
try {
|
|
96023
94932
|
return value.indexOf('T') > -1 && value.indexOf('Z') > -1 && this.getLocalDate(value) != 'Invalid date';
|
|
@@ -96042,8 +94951,8 @@ var PuiAuditItemvue_type_template_id_75466e70_staticRenderFns = [];
|
|
|
96042
94951
|
|
|
96043
94952
|
var PuiAuditItem_component = normalizeComponent(
|
|
96044
94953
|
puiaudit_PuiAuditItemvue_type_script_lang_js,
|
|
96045
|
-
|
|
96046
|
-
|
|
94954
|
+
PuiAuditItemvue_type_template_id_67aaeeda_render,
|
|
94955
|
+
PuiAuditItemvue_type_template_id_67aaeeda_staticRenderFns,
|
|
96047
94956
|
false,
|
|
96048
94957
|
null,
|
|
96049
94958
|
null,
|
|
@@ -96081,26 +94990,26 @@ var PuiAuditItem_component = normalizeComponent(
|
|
|
96081
94990
|
this.type = newValue.type;
|
|
96082
94991
|
this.content = JSON.parse(newValue.content);
|
|
96083
94992
|
}
|
|
94993
|
+
},
|
|
94994
|
+
created: function created() {
|
|
94995
|
+
this.type = this.model.type;
|
|
94996
|
+
this.content = JSON.parse(this.model.content);
|
|
96084
94997
|
}
|
|
96085
94998
|
});
|
|
96086
94999
|
// CONCATENATED MODULE: ./src/components/puiaudit/PuiAuditForm.vue?vue&type=script&lang=js
|
|
96087
95000
|
/* harmony default export */ var puiaudit_PuiAuditFormvue_type_script_lang_js = (PuiAuditFormvue_type_script_lang_js);
|
|
96088
|
-
// EXTERNAL MODULE: ./src/components/puiaudit/PuiAuditForm.vue?vue&type=style&index=0&id=f82d1292&prod&lang=postcss
|
|
96089
|
-
var PuiAuditFormvue_type_style_index_0_id_f82d1292_prod_lang_postcss = __webpack_require__("ca82");
|
|
96090
|
-
|
|
96091
95001
|
// CONCATENATED MODULE: ./src/components/puiaudit/PuiAuditForm.vue
|
|
96092
95002
|
|
|
96093
95003
|
|
|
96094
95004
|
|
|
96095
95005
|
|
|
96096
95006
|
|
|
96097
|
-
|
|
96098
95007
|
/* normalize component */
|
|
96099
95008
|
|
|
96100
95009
|
var PuiAuditForm_component = normalizeComponent(
|
|
96101
95010
|
puiaudit_PuiAuditFormvue_type_script_lang_js,
|
|
96102
|
-
|
|
96103
|
-
|
|
95011
|
+
PuiAuditFormvue_type_template_id_47f28786_render,
|
|
95012
|
+
PuiAuditFormvue_type_template_id_47f28786_staticRenderFns,
|
|
96104
95013
|
false,
|
|
96105
95014
|
null,
|
|
96106
95015
|
null,
|