@deanwu/vue-component-library 1.3.177 → 1.3.179
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/vue-component-library.common.js +186 -231
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.css +1 -1
- package/dist/vue-component-library.umd.js +186 -231
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +4 -4
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -418,13 +418,6 @@ module.exports = function (O, P) {
|
|
|
418
418
|
};
|
|
419
419
|
|
|
420
420
|
|
|
421
|
-
/***/ }),
|
|
422
|
-
|
|
423
|
-
/***/ "0884":
|
|
424
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
425
|
-
|
|
426
|
-
// extracted by mini-css-extract-plugin
|
|
427
|
-
|
|
428
421
|
/***/ }),
|
|
429
422
|
|
|
430
423
|
/***/ "0976":
|
|
@@ -1603,6 +1596,13 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
|
1603
1596
|
});
|
|
1604
1597
|
|
|
1605
1598
|
|
|
1599
|
+
/***/ }),
|
|
1600
|
+
|
|
1601
|
+
/***/ "1521":
|
|
1602
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1603
|
+
|
|
1604
|
+
// extracted by mini-css-extract-plugin
|
|
1605
|
+
|
|
1606
1606
|
/***/ }),
|
|
1607
1607
|
|
|
1608
1608
|
/***/ "1626":
|
|
@@ -7648,6 +7648,17 @@ module.exports = function (error, C, stack, dropEntries) {
|
|
|
7648
7648
|
};
|
|
7649
7649
|
|
|
7650
7650
|
|
|
7651
|
+
/***/ }),
|
|
7652
|
+
|
|
7653
|
+
/***/ "700c":
|
|
7654
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7655
|
+
|
|
7656
|
+
"use strict";
|
|
7657
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_transfer_vue_vue_type_style_index_0_id_7072d085_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1521");
|
|
7658
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_transfer_vue_vue_type_style_index_0_id_7072d085_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_transfer_vue_vue_type_style_index_0_id_7072d085_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7659
|
+
/* unused harmony reexport * */
|
|
7660
|
+
|
|
7661
|
+
|
|
7651
7662
|
/***/ }),
|
|
7652
7663
|
|
|
7653
7664
|
/***/ "70c9":
|
|
@@ -19717,13 +19728,13 @@ KindEditor.lang({
|
|
|
19717
19728
|
}
|
|
19718
19729
|
}, 'zh-CN');
|
|
19719
19730
|
KindEditor.options.langType = 'zh-CN';
|
|
19720
|
-
/*******************************************************************************
|
|
19721
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19722
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
19723
|
-
*
|
|
19724
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
19725
|
-
* @site http://www.kindsoft.net/
|
|
19726
|
-
* @licence http://www.kindsoft.net/license.php
|
|
19731
|
+
/*******************************************************************************
|
|
19732
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19733
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
19734
|
+
*
|
|
19735
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
19736
|
+
* @site http://www.kindsoft.net/
|
|
19737
|
+
* @licence http://www.kindsoft.net/license.php
|
|
19727
19738
|
*******************************************************************************/
|
|
19728
19739
|
KindEditor.plugin('anchor', function (K) {
|
|
19729
19740
|
var self = this,
|
|
@@ -19760,13 +19771,13 @@ KindEditor.plugin('anchor', function (K) {
|
|
|
19760
19771
|
self.clickToolbar(name, self.plugin.anchor.edit);
|
|
19761
19772
|
});
|
|
19762
19773
|
|
|
19763
|
-
/*******************************************************************************
|
|
19764
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19765
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
19766
|
-
*
|
|
19767
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
19768
|
-
* @site http://www.kindsoft.net/
|
|
19769
|
-
* @licence http://www.kindsoft.net/license.php
|
|
19774
|
+
/*******************************************************************************
|
|
19775
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19776
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
19777
|
+
*
|
|
19778
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
19779
|
+
* @site http://www.kindsoft.net/
|
|
19780
|
+
* @licence http://www.kindsoft.net/license.php
|
|
19770
19781
|
*******************************************************************************/
|
|
19771
19782
|
KindEditor.plugin('autoheight', function (K) {
|
|
19772
19783
|
var self = this;
|
|
@@ -19798,21 +19809,21 @@ KindEditor.plugin('autoheight', function (K) {
|
|
|
19798
19809
|
self.afterCreate(init);
|
|
19799
19810
|
}
|
|
19800
19811
|
});
|
|
19801
|
-
/*
|
|
19802
|
-
* 如何实现真正的自动高度?
|
|
19803
|
-
* 修改编辑器高度之后,再次获取body内容高度时,最小值只会是当前iframe的设置高度,这样就导致高度只增不减。
|
|
19804
|
-
* 所以每次获取body内容高度之前,先将iframe的高度重置为最小高度,这样就能获取body的实际高度。
|
|
19805
|
-
* 由此就实现了真正的自动高度
|
|
19806
|
-
* 测试:chrome、firefox、IE9、IE8
|
|
19812
|
+
/*
|
|
19813
|
+
* 如何实现真正的自动高度?
|
|
19814
|
+
* 修改编辑器高度之后,再次获取body内容高度时,最小值只会是当前iframe的设置高度,这样就导致高度只增不减。
|
|
19815
|
+
* 所以每次获取body内容高度之前,先将iframe的高度重置为最小高度,这样就能获取body的实际高度。
|
|
19816
|
+
* 由此就实现了真正的自动高度
|
|
19817
|
+
* 测试:chrome、firefox、IE9、IE8
|
|
19807
19818
|
* */
|
|
19808
19819
|
|
|
19809
|
-
/*******************************************************************************
|
|
19810
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19811
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
19812
|
-
*
|
|
19813
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
19814
|
-
* @site http://www.kindsoft.net/
|
|
19815
|
-
* @licence http://www.kindsoft.net/license.php
|
|
19820
|
+
/*******************************************************************************
|
|
19821
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19822
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
19823
|
+
*
|
|
19824
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
19825
|
+
* @site http://www.kindsoft.net/
|
|
19826
|
+
* @licence http://www.kindsoft.net/license.php
|
|
19816
19827
|
*******************************************************************************/
|
|
19817
19828
|
KindEditor.plugin('baidumap', function (K) {
|
|
19818
19829
|
var self = this,
|
|
@@ -20461,7 +20472,9 @@ KindEditor.plugin('uploadImage', function (K) {
|
|
|
20461
20472
|
var editor = this;
|
|
20462
20473
|
editor.clickToolbar('uploadImage', function () {
|
|
20463
20474
|
$app.$upload({
|
|
20464
|
-
|
|
20475
|
+
count: Infinity,
|
|
20476
|
+
type: 'image',
|
|
20477
|
+
size: $app.$compsConfig.config.file.size,
|
|
20465
20478
|
success: function (data) {
|
|
20466
20479
|
editor.insertHtml(Array.from(data, item => `<img src="${item.path}" alt="" />`).join(''));
|
|
20467
20480
|
}
|
|
@@ -20626,6 +20639,8 @@ KindEditor.plugin('image', function (K) {
|
|
|
20626
20639
|
if (allowFileManager) {
|
|
20627
20640
|
viewServerBtn.click(function (e) {
|
|
20628
20641
|
$app.$upload({
|
|
20642
|
+
type: 'image',
|
|
20643
|
+
size: $app.$compsConfig.config.file.size,
|
|
20629
20644
|
success: function (data) {
|
|
20630
20645
|
if (Array.isArray(data)) {
|
|
20631
20646
|
data = data[0];
|
|
@@ -20633,22 +20648,6 @@ KindEditor.plugin('image', function (K) {
|
|
|
20633
20648
|
K('[name="url"]', div).val(data.path);
|
|
20634
20649
|
}
|
|
20635
20650
|
});
|
|
20636
|
-
return;
|
|
20637
|
-
self.loadPlugin('filemanager', function () {
|
|
20638
|
-
self.plugin.filemanagerDialog({
|
|
20639
|
-
viewType: 'VIEW',
|
|
20640
|
-
dirName: 'image',
|
|
20641
|
-
clickFn: function (url, title) {
|
|
20642
|
-
if (self.dialogs.length > 1) {
|
|
20643
|
-
K('[name="url"]', div).val(url);
|
|
20644
|
-
if (self.afterSelectFile) {
|
|
20645
|
-
self.afterSelectFile.call(self, url);
|
|
20646
|
-
}
|
|
20647
|
-
self.hideDialog();
|
|
20648
|
-
}
|
|
20649
|
-
}
|
|
20650
|
-
});
|
|
20651
|
-
});
|
|
20652
20651
|
});
|
|
20653
20652
|
} else {
|
|
20654
20653
|
viewServerBtn.hide();
|
|
@@ -21101,13 +21100,13 @@ KindEditor.plugin('media', function (K) {
|
|
|
21101
21100
|
self.clickToolbar(name, self.plugin.media.edit);
|
|
21102
21101
|
});
|
|
21103
21102
|
|
|
21104
|
-
/*******************************************************************************
|
|
21105
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
21106
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
21107
|
-
*
|
|
21108
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
21109
|
-
* @site http://www.kindsoft.net/
|
|
21110
|
-
* @licence http://www.kindsoft.net/license.php
|
|
21103
|
+
/*******************************************************************************
|
|
21104
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
21105
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
21106
|
+
*
|
|
21107
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
21108
|
+
* @site http://www.kindsoft.net/
|
|
21109
|
+
* @licence http://www.kindsoft.net/license.php
|
|
21111
21110
|
*******************************************************************************/
|
|
21112
21111
|
(function (K) {
|
|
21113
21112
|
function KSWFUpload(options) {
|
|
@@ -21581,8 +21580,8 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21581
21580
|
SWFUpload.prototype.displayDebugInfo = function () {
|
|
21582
21581
|
this.debug(["---SWFUpload Instance Info---\n", "Version: ", SWFUpload.version, "\n", "Movie Name: ", this.movieName, "\n", "Settings:\n", "\t", "upload_url: ", this.settings.upload_url, "\n", "\t", "flash_url: ", this.settings.flash_url, "\n", "\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n", "\t", "requeue_on_error: ", this.settings.requeue_on_error.toString(), "\n", "\t", "http_success: ", this.settings.http_success.join(", "), "\n", "\t", "assume_success_timeout: ", this.settings.assume_success_timeout, "\n", "\t", "file_post_name: ", this.settings.file_post_name, "\n", "\t", "post_params: ", this.settings.post_params.toString(), "\n", "\t", "file_types: ", this.settings.file_types, "\n", "\t", "file_types_description: ", this.settings.file_types_description, "\n", "\t", "file_size_limit: ", this.settings.file_size_limit, "\n", "\t", "file_upload_limit: ", this.settings.file_upload_limit, "\n", "\t", "file_queue_limit: ", this.settings.file_queue_limit, "\n", "\t", "debug: ", this.settings.debug.toString(), "\n", "\t", "prevent_swf_caching: ", this.settings.prevent_swf_caching.toString(), "\n", "\t", "button_placeholder_id: ", this.settings.button_placeholder_id.toString(), "\n", "\t", "button_placeholder: ", this.settings.button_placeholder ? "Set" : "Not Set", "\n", "\t", "button_image_url: ", this.settings.button_image_url.toString(), "\n", "\t", "button_width: ", this.settings.button_width.toString(), "\n", "\t", "button_height: ", this.settings.button_height.toString(), "\n", "\t", "button_text: ", this.settings.button_text.toString(), "\n", "\t", "button_text_style: ", this.settings.button_text_style.toString(), "\n", "\t", "button_text_top_padding: ", this.settings.button_text_top_padding.toString(), "\n", "\t", "button_text_left_padding: ", this.settings.button_text_left_padding.toString(), "\n", "\t", "button_action: ", this.settings.button_action.toString(), "\n", "\t", "button_disabled: ", this.settings.button_disabled.toString(), "\n", "\t", "custom_settings: ", this.settings.custom_settings.toString(), "\n", "Event Handlers:\n", "\t", "swfupload_loaded_handler assigned: ", (typeof this.settings.swfupload_loaded_handler === "function").toString(), "\n", "\t", "file_dialog_start_handler assigned: ", (typeof this.settings.file_dialog_start_handler === "function").toString(), "\n", "\t", "file_queued_handler assigned: ", (typeof this.settings.file_queued_handler === "function").toString(), "\n", "\t", "file_queue_error_handler assigned: ", (typeof this.settings.file_queue_error_handler === "function").toString(), "\n", "\t", "upload_start_handler assigned: ", (typeof this.settings.upload_start_handler === "function").toString(), "\n", "\t", "upload_progress_handler assigned: ", (typeof this.settings.upload_progress_handler === "function").toString(), "\n", "\t", "upload_error_handler assigned: ", (typeof this.settings.upload_error_handler === "function").toString(), "\n", "\t", "upload_success_handler assigned: ", (typeof this.settings.upload_success_handler === "function").toString(), "\n", "\t", "upload_complete_handler assigned: ", (typeof this.settings.upload_complete_handler === "function").toString(), "\n", "\t", "debug_handler assigned: ", (typeof this.settings.debug_handler === "function").toString(), "\n"].join(""));
|
|
21583
21582
|
};
|
|
21584
|
-
/* Note: addSetting and getSetting are no longer used by SWFUpload but are included
|
|
21585
|
-
the maintain v2 API compatibility
|
|
21583
|
+
/* Note: addSetting and getSetting are no longer used by SWFUpload but are included
|
|
21584
|
+
the maintain v2 API compatibility
|
|
21586
21585
|
*/
|
|
21587
21586
|
SWFUpload.prototype.addSetting = function (name, value, default_value) {
|
|
21588
21587
|
if (value == undefined) {
|
|
@@ -21612,10 +21611,10 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21612
21611
|
}
|
|
21613
21612
|
return returnValue;
|
|
21614
21613
|
};
|
|
21615
|
-
/* *****************************
|
|
21616
|
-
-- Flash control methods --
|
|
21617
|
-
Your UI should use these
|
|
21618
|
-
to operate SWFUpload
|
|
21614
|
+
/* *****************************
|
|
21615
|
+
-- Flash control methods --
|
|
21616
|
+
Your UI should use these
|
|
21617
|
+
to operate SWFUpload
|
|
21619
21618
|
***************************** */
|
|
21620
21619
|
SWFUpload.prototype.selectFile = function () {
|
|
21621
21620
|
this.callFlash("SelectFile");
|
|
@@ -21635,12 +21634,12 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21635
21634
|
SWFUpload.prototype.stopUpload = function () {
|
|
21636
21635
|
this.callFlash("StopUpload");
|
|
21637
21636
|
};
|
|
21638
|
-
/* ************************
|
|
21639
|
-
* Settings methods
|
|
21640
|
-
* These methods change the SWFUpload settings.
|
|
21641
|
-
* SWFUpload settings should not be changed directly on the settings object
|
|
21642
|
-
* since many of the settings need to be passed to Flash in order to take
|
|
21643
|
-
* effect.
|
|
21637
|
+
/* ************************
|
|
21638
|
+
* Settings methods
|
|
21639
|
+
* These methods change the SWFUpload settings.
|
|
21640
|
+
* SWFUpload settings should not be changed directly on the settings object
|
|
21641
|
+
* since many of the settings need to be passed to Flash in order to take
|
|
21642
|
+
* effect.
|
|
21644
21643
|
* *********************** */
|
|
21645
21644
|
SWFUpload.prototype.getStats = function () {
|
|
21646
21645
|
return this.callFlash("GetStats");
|
|
@@ -21763,15 +21762,15 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21763
21762
|
this.settings.button_cursor = cursor;
|
|
21764
21763
|
this.callFlash("SetButtonCursor", [cursor]);
|
|
21765
21764
|
};
|
|
21766
|
-
/* *******************************
|
|
21767
|
-
Flash Event Interfaces
|
|
21768
|
-
These functions are used by Flash to trigger the various
|
|
21769
|
-
events.
|
|
21770
|
-
All these functions a Private.
|
|
21771
|
-
Because the ExternalInterface library is buggy the event calls
|
|
21772
|
-
are added to a queue and the queue then executed by a setTimeout.
|
|
21773
|
-
This ensures that events are executed in a determinate order and that
|
|
21774
|
-
the ExternalInterface bugs are avoided.
|
|
21765
|
+
/* *******************************
|
|
21766
|
+
Flash Event Interfaces
|
|
21767
|
+
These functions are used by Flash to trigger the various
|
|
21768
|
+
events.
|
|
21769
|
+
All these functions a Private.
|
|
21770
|
+
Because the ExternalInterface library is buggy the event calls
|
|
21771
|
+
are added to a queue and the queue then executed by a setTimeout.
|
|
21772
|
+
This ensures that events are executed in a determinate order and that
|
|
21773
|
+
the ExternalInterface bugs are avoided.
|
|
21775
21774
|
******************************* */
|
|
21776
21775
|
SWFUpload.prototype.queueEvent = function (handlerName, argumentArray) {
|
|
21777
21776
|
if (argumentArray == undefined) {
|
|
@@ -21867,7 +21866,7 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21867
21866
|
file = this.unescapeFilePostParams(file);
|
|
21868
21867
|
this.queueEvent("file_queue_error_handler", [file, errorCode, message]);
|
|
21869
21868
|
};
|
|
21870
|
-
/* Called after the file dialog has closed and the selected files have been queued.
|
|
21869
|
+
/* Called after the file dialog has closed and the selected files have been queued.
|
|
21871
21870
|
You could call startUpload here if you want the queued files to begin uploading immediately. */
|
|
21872
21871
|
SWFUpload.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued, numFilesInQueue) {
|
|
21873
21872
|
this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued, numFilesInQueue]);
|
|
@@ -21906,20 +21905,20 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21906
21905
|
file = this.unescapeFilePostParams(file);
|
|
21907
21906
|
this.queueEvent("upload_complete_handler", file);
|
|
21908
21907
|
};
|
|
21909
|
-
/* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
|
|
21908
|
+
/* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
|
|
21910
21909
|
internal debug console. You can override this event and have messages written where you want. */
|
|
21911
21910
|
SWFUpload.prototype.debug = function (message) {
|
|
21912
21911
|
this.queueEvent("debug_handler", message);
|
|
21913
21912
|
};
|
|
21914
|
-
/* **********************************
|
|
21915
|
-
Debug Console
|
|
21916
|
-
The debug console is a self contained, in page location
|
|
21917
|
-
for debug message to be sent. The Debug Console adds
|
|
21918
|
-
itself to the body if necessary.
|
|
21919
|
-
The console is automatically scrolled as messages appear.
|
|
21920
|
-
If you are using your own debug handler or when you deploy to production and
|
|
21921
|
-
have debug disabled you can remove these functions to reduce the file size
|
|
21922
|
-
and complexity.
|
|
21913
|
+
/* **********************************
|
|
21914
|
+
Debug Console
|
|
21915
|
+
The debug console is a self contained, in page location
|
|
21916
|
+
for debug message to be sent. The Debug Console adds
|
|
21917
|
+
itself to the body if necessary.
|
|
21918
|
+
The console is automatically scrolled as messages appear.
|
|
21919
|
+
If you are using your own debug handler or when you deploy to production and
|
|
21920
|
+
have debug disabled you can remove these functions to reduce the file size
|
|
21921
|
+
and complexity.
|
|
21923
21922
|
********************************** */
|
|
21924
21923
|
SWFUpload.prototype.debugMessage = function (message) {
|
|
21925
21924
|
if (this.settings.debug) {
|
|
@@ -21967,15 +21966,15 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21967
21966
|
};
|
|
21968
21967
|
})();
|
|
21969
21968
|
(function () {
|
|
21970
|
-
/*
|
|
21971
|
-
Queue Plug-in
|
|
21972
|
-
Features:
|
|
21973
|
-
*Adds a cancelQueue() method for cancelling the entire queue.
|
|
21974
|
-
*All queued files are uploaded when startUpload() is called.
|
|
21975
|
-
*If false is returned from uploadComplete then the queue upload is stopped.
|
|
21976
|
-
If false is not returned (strict comparison) then the queue upload is continued.
|
|
21977
|
-
*Adds a QueueComplete event that is fired when all the queued files have finished uploading.
|
|
21978
|
-
Set the event handler with the queue_complete_handler setting.
|
|
21969
|
+
/*
|
|
21970
|
+
Queue Plug-in
|
|
21971
|
+
Features:
|
|
21972
|
+
*Adds a cancelQueue() method for cancelling the entire queue.
|
|
21973
|
+
*All queued files are uploaded when startUpload() is called.
|
|
21974
|
+
*If false is returned from uploadComplete then the queue upload is stopped.
|
|
21975
|
+
If false is not returned (strict comparison) then the queue upload is continued.
|
|
21976
|
+
*Adds a QueueComplete event that is fired when all the queued files have finished uploading.
|
|
21977
|
+
Set the event handler with the queue_complete_handler setting.
|
|
21979
21978
|
*/
|
|
21980
21979
|
if (typeof SWFUpload === "function") {
|
|
21981
21980
|
SWFUpload.queue = {};
|
|
@@ -26189,6 +26188,17 @@ exports.toSJIS = function toSJIS (kanji) {
|
|
|
26189
26188
|
__webpack_require__.r(__webpack_exports__);
|
|
26190
26189
|
/* harmony default export */ __webpack_exports__["default"] = ("## 选项卡模块\r\n\r\n```\r\n<module :tabs=\"tabs\" @tabChange=\"\">\r\n\t// 通过tabs属性定义标签,页面内容相同仅参数不同时使用\r\n\t// @tabChange 选项卡切换事件\r\n</module>\r\n\r\n<module>\r\n\t// 通过<module-tab>组件定义标签,页面内容不同时使用\r\n\t\r\n\t<module-tab name=\"选项卡一\" @mounted=\"\" @activated=\"\" @deactivated=\"\">\r\n\t\t// @mounted 标签页面首次打开事件\r\n\t\t// @activated 标签页面打开事件\r\n\t\t// @deactivated 标签页面关闭事件\r\n\t</module-tab>\r\n</module>\r\n```\r\n\r\n## 属性配置\r\n\r\n### 模块 <module\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\ntab-type | String | tab | 选项卡样式<br>**tab**: 普通选项卡<br>**border-tab**: 带边框的选项卡<br>**card**: 卡片式\r\nimmediate | Boolean | true | 是否立即激活第一个选项卡");
|
|
26191
26190
|
|
|
26191
|
+
/***/ }),
|
|
26192
|
+
|
|
26193
|
+
/***/ "7df9":
|
|
26194
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26195
|
+
|
|
26196
|
+
"use strict";
|
|
26197
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_d0e3b97a_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eae7");
|
|
26198
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_d0e3b97a_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_d0e3b97a_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
26199
|
+
/* unused harmony reexport * */
|
|
26200
|
+
|
|
26201
|
+
|
|
26192
26202
|
/***/ }),
|
|
26193
26203
|
|
|
26194
26204
|
/***/ "8009":
|
|
@@ -26697,7 +26707,7 @@ module.exports = function (key) {
|
|
|
26697
26707
|
|
|
26698
26708
|
"use strict";
|
|
26699
26709
|
__webpack_require__.r(__webpack_exports__);
|
|
26700
|
-
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\r\n\r\n```\r\n// 各种列类型\r\n<c-table ref=\"table\">\r\n\t// 拖拽列\r\n\t<c-table-column\r\n\t\ttype=\"drag\"\r\n\t></c-table-column>\r\n\t\r\n\t// 选择列\r\n\t<c-table-column\r\n\t\ttype=\"selector\"\r\n\t></c-table-column>\r\n\t\r\n\t// 索引列\r\n\t<c-table-column\r\n\t\ttype=\"index\"\r\n\t></c-table-column>\r\n\t\r\n\t// 树形列\r\n\t<c-table-column\r\n\t\tlabel=\"树形列\"\r\n\t\ttype=\"tree\"\r\n\t></c-table-column>\r\n\t\r\n\t// 排序列\r\n\t<c-table-column\r\n\t\tlabel=\"排序列\"\r\n\t\ttype=\"sort\"\r\n\t></c-table-column>\r\n\t\r\n\t// 展开列\r\n\t<c-table-column\r\n\t\tlabel=\"展开列\"\r\n\t\ttype=\"expand\"\r\n\t>\r\n\t\t<template #default=\"{data}\">\r\n\t\t\t<span>点击展开</span>\r\n\t\t</template>\r\n\t\t\r\n\t\t// 展开行内容,expandData为@handle事件resolve回调传入的数据\r\n\t\t<template #expand=\"{data, expandData}\">\r\n\t\t\t<span>展开数据:{{expandData}}</span>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\t\r\n\t// 操作列\r\n\t<c-table-column\r\n\t\tlabel=\"操作\"\r\n\t\ttype=\"button\"\r\n\t>\r\n\t\t<template #default=\"{data}\">\r\n\t\t\t<c-table-button>按钮</c-table-button>\r\n\t\t</template>\r\n\t</c-table-column>\r\n</c-table>\r\n\r\n// 其它功能\r\n<c-table ref=\"table\">\r\n\t// 多级表头\r\n\t<c-table-column\r\n\t\tlabel=\"多级表头\"\r\n\t>\r\n\t\t<c-table-column\r\n\t\t\tlabel=\"子表头1\"\r\n\t\t></c-table-column>\r\n\t\t<c-table-column\r\n\t\t\tlabel=\"子表头2\"\r\n\t\t></c-table-column>\r\n\t</c-table-column>\r\n\r\n\t// 自定义列头内容\r\n\t<c-table-column>\r\n\t\t<template #head>\r\n\t\t\t<c-button>自定义头部</c-button>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\t\r\n\t// 列头提示\r\n\t<c-table-column>\r\n\t\t<template #tip>\r\n\t\t\t<c-tooltip tip=\"提示内容\"></c-tooltip>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\r\n\t// 自定义单元格内容\r\n\t<c-table-column>\r\n\t\t<template #default=\"{data}\">\r\n\t\t\t<span>id: {{data.id}}</span>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\r\n\t// 单元格编辑\r\n\t<c-table-column>\r\n\t\t<template #edit=\"{data}\">\r\n\t\t\t<c-table-input value=\"\" @resolve=\"\"></c-table-input> // 文本框,功能同cInput组件\r\n\t\t\t<c-table-select value=\"\" @resolve=\"\"></c-table-select> // 下拉框,功能同cSelect组件\r\n\t\t\t<c-table-datetime value=\"\" @resolve=\"\"></c-table-datetime> // 日期时间框,功能同cDatetime组件\r\n\t\t</template>\r\n\t</c-table-column>\r\n\r\n\t// 固定合并行列\r\n\t<c-table-column\r\n\t\trow-span=\"2\" // 固定合并行数\r\n\t\tcol-span=\"2\" // 固定合并列数\r\n\t></c-table-column>\r\n\r\n\t// 动态计算合并行列\r\n\t<c-table-column\r\n\t\t:row-span=\"({data}, list) => {return 1}\" // 根据当前行数据data和所有行数据list自行计算合并行数\r\n\t\t:col-span=\"({data}, list) => {return 1}\" // 根据当前行数据data和所有行数据list自行计算合并列数\r\n\t></c-table-column>\r\n\t\r\n\t// 列数据合计\r\n\t<c-table-column\r\n\t\tsummed // 默认使用单元格的内容进行合计\r\n\t>\r\n\t\t// 自定义合计内容,不需要可不写\r\n\t\t<template #summed=\"{total}\">\r\n\t\t\t合计:{{total}}\r\n\t\t</template>\r\n\t</c-table-column>\r\n\t\r\n\t// 传入函数返回自定义合计数据\r\n\t<c-table-column\r\n\t\t:summed=\"({data}) => {return data.num}\"\r\n\t></c-table-column>\r\n\r\n\t// 空数据提示,不定义时默认显示c-empty组件\r\n\t<template #empty>\r\n\t\t<p>暂无数据</p>\r\n\t</template>\r\n\r\n\t// 自定义行内容,使用后不渲染默认表格,参数data为行数据、index为行序号\r\n\t<template #custom=\"{data, index}\">\r\n\t\t<span>{{index}}: {{data.name}}</span>\r\n\t</template>\r\n</c-table>\r\n\r\n\r\n// 设置表格数据,和data属性功能相同\r\nthis.$refs.table.setData([...]);\r\n\r\n// 获取表格数据\r\nthis.$refs.table.getData();\r\n\r\n// 获取全部行对象\r\nthis.$refs.table.getRow();\r\n\r\n// 获取选中行数据\r\nthis.$refs.table.getRow('selected');\r\n\r\n// 获取指定序号行数据\r\nthis.$refs.table.getRow(0);\r\nthis.$refs.table.getRow([0, 1, 2]);\r\n\r\n// 获取符合自定义条件的行数据\r\nthis.$refs.table.getRow(item => {\r\n\treturn true; // 这里返回判断条件\r\n});\r\n\r\n// 插入一行数据\r\nthis.$refs.table.push({});\r\n\r\n//
|
|
26710
|
+
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\r\n\r\n```\r\n// 各种列类型\r\n<c-table ref=\"table\">\r\n\t// 拖拽列\r\n\t<c-table-column\r\n\t\ttype=\"drag\"\r\n\t></c-table-column>\r\n\t\r\n\t// 选择列\r\n\t<c-table-column\r\n\t\ttype=\"selector\"\r\n\t></c-table-column>\r\n\t\r\n\t// 索引列\r\n\t<c-table-column\r\n\t\ttype=\"index\"\r\n\t></c-table-column>\r\n\t\r\n\t// 树形列\r\n\t<c-table-column\r\n\t\tlabel=\"树形列\"\r\n\t\ttype=\"tree\"\r\n\t></c-table-column>\r\n\t\r\n\t// 排序列\r\n\t<c-table-column\r\n\t\tlabel=\"排序列\"\r\n\t\ttype=\"sort\"\r\n\t></c-table-column>\r\n\t\r\n\t// 展开列\r\n\t<c-table-column\r\n\t\tlabel=\"展开列\"\r\n\t\ttype=\"expand\"\r\n\t>\r\n\t\t<template #default=\"{data}\">\r\n\t\t\t<span>点击展开</span>\r\n\t\t</template>\r\n\t\t\r\n\t\t// 展开行内容,expandData为@handle事件resolve回调传入的数据\r\n\t\t<template #expand=\"{data, expandData}\">\r\n\t\t\t<span>展开数据:{{expandData}}</span>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\t\r\n\t// 操作列\r\n\t<c-table-column\r\n\t\tlabel=\"操作\"\r\n\t\ttype=\"button\"\r\n\t>\r\n\t\t<template #default=\"{data}\">\r\n\t\t\t<c-table-button>按钮</c-table-button>\r\n\t\t\t<c-table-button color=\"red\" icon=\"c-icon-delete\">删除</c-table-button> // color为全局颜色配置(color)中的颜色名\r\n\t\t\t<c-tooltip tip=\"提示内容\"> // 需要文字提示时使用c-tooltip包裹按钮\r\n\t\t\t\t<c-table-button>按钮</c-table-button>\r\n\t\t\t</c-tooltip>\r\n\t\t</template>\r\n\t</c-table-column>\r\n</c-table>\r\n\r\n// 其它功能\r\n<c-table ref=\"table\">\r\n\t// 多级表头\r\n\t<c-table-column\r\n\t\tlabel=\"多级表头\"\r\n\t>\r\n\t\t<c-table-column\r\n\t\t\tlabel=\"子表头1\"\r\n\t\t></c-table-column>\r\n\t\t<c-table-column\r\n\t\t\tlabel=\"子表头2\"\r\n\t\t></c-table-column>\r\n\t</c-table-column>\r\n\r\n\t// 自定义列头内容\r\n\t<c-table-column>\r\n\t\t<template #head>\r\n\t\t\t<c-button>自定义头部</c-button>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\t\r\n\t// 列头提示\r\n\t<c-table-column>\r\n\t\t<template #tip>\r\n\t\t\t<c-tooltip tip=\"提示内容\"></c-tooltip>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\r\n\t// 自定义单元格内容\r\n\t<c-table-column>\r\n\t\t<template #default=\"{data}\">\r\n\t\t\t<span>id: {{data.id}}</span>\r\n\t\t</template>\r\n\t</c-table-column>\r\n\r\n\t// 单元格编辑\r\n\t<c-table-column>\r\n\t\t<template #edit=\"{data}\">\r\n\t\t\t<c-table-input value=\"\" @resolve=\"\"></c-table-input> // 文本框,功能同cInput组件\r\n\t\t\t<c-table-select value=\"\" @resolve=\"\"></c-table-select> // 下拉框,功能同cSelect组件\r\n\t\t\t<c-table-datetime value=\"\" @resolve=\"\"></c-table-datetime> // 日期时间框,功能同cDatetime组件\r\n\t\t</template>\r\n\t</c-table-column>\r\n\r\n\t// 固定合并行列\r\n\t<c-table-column\r\n\t\trow-span=\"2\" // 固定合并行数\r\n\t\tcol-span=\"2\" // 固定合并列数\r\n\t></c-table-column>\r\n\r\n\t// 动态计算合并行列\r\n\t<c-table-column\r\n\t\t:row-span=\"({data}, list) => {return 1}\" // 根据当前行数据data和所有行数据list自行计算合并行数\r\n\t\t:col-span=\"({data}, list) => {return 1}\" // 根据当前行数据data和所有行数据list自行计算合并列数\r\n\t></c-table-column>\r\n\t\r\n\t// 列数据合计\r\n\t<c-table-column\r\n\t\tsummed // 默认使用单元格的内容进行合计\r\n\t>\r\n\t\t// 自定义合计内容,不需要可不写\r\n\t\t<template #summed=\"{total}\">\r\n\t\t\t合计:{{total}}\r\n\t\t</template>\r\n\t</c-table-column>\r\n\t\r\n\t// 传入函数返回自定义合计数据\r\n\t<c-table-column\r\n\t\t:summed=\"({data}) => {return data.num}\"\r\n\t></c-table-column>\r\n\r\n\t// 空数据提示,不定义时默认显示c-empty组件\r\n\t<template #empty>\r\n\t\t<p>暂无数据</p>\r\n\t</template>\r\n\r\n\t// 自定义行内容,使用后不渲染默认表格,参数data为行数据、index为行序号\r\n\t<template #custom=\"{data, index}\">\r\n\t\t<span>{{index}}: {{data.name}}</span>\r\n\t</template>\r\n</c-table>\r\n\r\n\r\n// 设置表格数据,和data属性功能相同\r\nthis.$refs.table.setData([...]);\r\n\r\n// 获取表格数据\r\nthis.$refs.table.getData();\r\n\r\n// 获取全部行对象\r\nthis.$refs.table.getRow();\r\n\r\n// 获取选中行数据\r\nthis.$refs.table.getRow('selected');\r\n\r\n// 获取指定序号行数据\r\nthis.$refs.table.getRow(0);\r\nthis.$refs.table.getRow([0, 1, 2]);\r\n\r\n// 获取符合自定义条件的行数据\r\nthis.$refs.table.getRow(item => {\r\n\treturn true; // 这里返回判断条件\r\n});\r\n\r\n// 插入一行数据\r\nthis.$refs.table.push({});\r\n\r\n// 异步加载表格数据,加载时重置表头排序状态并回到第一页\r\nthis.$refs.table.load({\r\n\turl: '', // 接口地址\r\n\tdata: {}, // 接口请求参数\r\n\tloading: true, // 是否显示加载中状态\r\n\tdataFormatter: data => {}, // 接口返回数据处理方法\r\n\ttotalFormatter: res => {}, // 数据总数处理方法\r\n\tsuccess: data => {} // 加载成功回调\r\n});\r\n\r\n// 更新指定页数据\r\nthis.$refs.table.update(1);\r\n\r\n// 刷新当前页数据\r\nthis.$refs.table.refresh();\r\n\r\n// 清空表格数据\r\nthis.$refs.table.clear();\r\n\r\n// 滚动表格到指定位置,x、y为像素坐标\r\nthis.$refs.table.scrollTo(x, y);\r\n```\r\n\r\n## 属性配置\r\n\r\n### 表格主体 <c-table\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\ndata | Array | - | 表格数据:[{...}]\r\nheight | String \\| Number | auto | 表格高度\r\npaging | Boolean \\| Object | true | 是否显示分页栏\r\npaging.size | Number | 20 | 每页条数\r\npaging.select | Boolean | true | 是否支持选择每页条数\r\nborder | Boolean | false | 是否显示边框\r\nfixed-width | Boolean | false | 是否固定列宽\r\nwidth-resize | Boolean | false | 是否支持拖拽调整列宽\r\n@rowClick | Function | - | 行点击事件\r\n@dataChange | Function(data) | - | 表格数据变化事件\r\n@pagingChange | Function(data) | - | 分页切换事件<br>**data**: {pageIndex: 页码, pageSize: 每页条数}\r\n@widthResize | Function(data) | - | 列宽调整事件<br>**data**: {type: 列类型, name: 列字段名, width: 调整后的列宽}\r\n\r\n### 表格列 <c-table-column\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\ntype | String | normal | 列类型<br>**normal**: 普通列<br>**index**: 索引列<br>**drag**: 拖拽列<br>**selector**: 选择列<br>**expand**: 展开列<br>**tree**: 树形列<br>**sort**: 排序列<br>**button**: 操作列\r\nfixed | String \\| Boolean | false | 是否固定列<br>**left**: 固定在左侧<br>**right**: 固定在右侧<br>拖拽列、选择列、索引列默认固定在左侧,操作列默认固定在右侧\r\nlabel | String | - | 列名\r\nname | String | - | 列数据字段名\r\nwidth | String \\| Number | 100 | 列宽,拖拽列、选择列、索引列默认38,排序列默认104\r\nrequired | Boolean | false | 显示必填星号\r\nalign-center | Boolean | false | 内容是否居中\r\nellipsis | Boolean | 全局配置 | 内容超出列宽时省略显示\r\ntitle | Boolean | true | 单元格内容是否显示title提示,普通列、树形列默认显示,其它列默认不显示\r\nsortable | Boolean \\| Object | - | 列头是否支持排序,传入对象可配置排序字段名\r\neditable | Function | - | 单元格是否可编辑,接收行数据({data})返回布尔值,需定义#edit插槽,不设置时所有行均可编辑\r\nrow-span | Number \\| String \\| Function | 1 | 合并行数\r\ncol-span | Number \\| String \\| Function | 1 | 合并列数\r\nsummed | Boolean \\| Function \\| Object | false | 列合计,默认使用单元格的内容进行合计,也可传入函数返回自定义合计数据或传入对象配置(format: 自定义合计函数; includeChildren: 树形列合计是否包含子级)\r\nmultiple | Boolean | true | 选择列是否支持多选\r\nselected | Function | - | 选择列判断行是否选中,接收行数据({data})返回布尔值,默认判断行数据name字段的值\r\npaging-index | Boolean | false | 索引列序号是否包含分页偏移量\r\nleaf-node | Function | - | 树形列是否为叶子节点,接收行数据({data})返回布尔值\r\nadd-node | Boolean \\| String \\| Function | false | 树形列是否显示添加子级按钮,可传入字符串定义按钮名称,也可传入函数根据行数据判断\r\nlevel-limit | String \\| Number | - | 树形列最大展开层级\r\nexpand-button | Function | - | 展开列是否显示展开按钮,接收行数据({data})返回布尔值,默认显示\r\nexpand-fixed | Boolean | false | 展开行内容是否固定,固定后不随表格横向滚动\r\nbutton-limit | Number \\| String | 4 | 操作列最大展示按钮数,多余的按钮自动归为更多\r\n@handle | Function | - | 列操作事件(拖拽列拖拽事件、选择列选择事件、树形列展开事件、排序列排序事件、展开列展开加载事件)\r\n@add | Function | - | 树形列添加子级事件\r\n\r\n### 操作按钮 <c-table-button\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\ncolor | String | normal | 按钮颜色,为全局颜色配置(color)中注册的颜色名,hover时使用高亮色\r\nicon | String | - | 图标类名\r\ndisabled | Boolean | false | 是否禁用\r\n@click | Function | - | 按钮点击事件\r\n\r\n插槽 | 说明\r\n---- | ----\r\ndefault | 按钮内容");
|
|
26701
26711
|
|
|
26702
26712
|
/***/ }),
|
|
26703
26713
|
|
|
@@ -27055,17 +27065,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27055
27065
|
__webpack_require__.r(__webpack_exports__);
|
|
27056
27066
|
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\r\n\r\n```\r\n<c-tooltip tip=\"提示信息\">\r\n\t<c-button>按钮</c-button>\r\n\r\n\t<template #tip>\r\n\t\t<p>自定义提示内容</p>\r\n\t</template>\r\n</c-tooltip>\r\n```\r\n\r\n## 属性配置\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\ntip | String \\| Number \\| Boolean | - | 提示内容\r\nwidth | Number \\| String | - | 提示信息宽度\r\nposition | String | bottom | 跟随位置<br>**bottom**: 底部<br>**top**: 顶部<br>**left**: 左侧<br>**right**: 右侧\r\nalign | String | start | 对齐方向<br>**start**: 起始方向<br>**center**: 居中对齐<br>**end**: 结束方向\r\ncolor | String | black | 颜色<br>**black**: 黑色<br>**white**: 白色\r\nz-index | String \\| Number | 9999 | 提示信息层级\r\nclick-event | Boolean | false | 通过点击事件触发");
|
|
27057
27067
|
|
|
27058
|
-
/***/ }),
|
|
27059
|
-
|
|
27060
|
-
/***/ "9b66":
|
|
27061
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27062
|
-
|
|
27063
|
-
"use strict";
|
|
27064
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_5718ab8f_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f78d");
|
|
27065
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_5718ab8f_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_5718ab8f_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
27066
|
-
/* unused harmony reexport * */
|
|
27067
|
-
|
|
27068
|
-
|
|
27069
27068
|
/***/ }),
|
|
27070
27069
|
|
|
27071
27070
|
/***/ "9bf2":
|
|
@@ -30071,7 +30070,7 @@ module.exports = function (input, pref) {
|
|
|
30071
30070
|
|
|
30072
30071
|
"use strict";
|
|
30073
30072
|
__webpack_require__.r(__webpack_exports__);
|
|
30074
|
-
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\r\n\r\n```\r\n<c-select ref=\"select\"></c-select> // 下拉框\r\n\r\n// 自定义组件展示内容\r\n<c-select>\r\n\t<template #default=\"{value, valueData, valueName, active, warn}\">\r\n\t\t{{valueName}} // value为值、valueData为值对应的数据、valueName为值的文本、active为是否展开、warn为是否警示\r\n\t</template>\r\n</c-select>\r\n\r\n// 自定义右侧图标\r\n<c-select>\r\n\t<template #icon>\r\n\t\t<i class=\"c-icon-angle-down\"></i>\r\n\t</template>\r\n</c-select>\r\n\r\n// 自定义选项内容\r\n<c-select>\r\n\t<template #option=\"{data, selected, disabled}\">\r\n\t\t{{data.name}} // data为选项数据、selected为是否选中、disabled为是否禁用\r\n\t</template>\r\n</c-select>\r\n\r\n<c-region></c-region> // 地址框\r\n\r\n<c-datetime></c-datetime> // 日期框\r\n\r\n// 自定义组件展示内容\r\n<c-datetime>\r\n\t<template #default=\"{value, active, warn}\">\r\n\t\t{{value}} // value为值、active为是否展开、warn为是否警示\r\n\t</template>\r\n</c-datetime>\r\n\r\n<c-color></c-color> // 颜色框\r\n\r\n// 自定义组件展示内容\r\n<c-color>\r\n\t<template #default=\"{value, active, warn}\">\r\n\t\t{{value}} // value为值、active为是否展开、warn为是否警示\r\n\t</template>\r\n</c-color>\r\n\r\n<c-transfer></c-transfer> // 穿梭框\r\n\r\n// 设置数据\r\nthis.$refs.select.set('1');\r\n\r\n// 获取数据\r\nthis.$refs.select.get();\r\n\r\n// 获取值对应的数据\r\nthis.$refs.select.getData();\r\n```\r\n\r\n## 属性配置\r\n\r\n### 下拉框 <c-select\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | String \\| Number \\| Array | - | 下拉框的值,可使用v-model属性绑定变量\r\nvalue-data | Array | - | 下拉框值对应的数据,异步模式下可用\r\nname | String \\| Number | - | 字段名\r\nplaceholder | String | 请选择 | 提示占位符\r\noptions | Array \\| String | [] | 选项数据:[{\"name\": \"选项名\", \"value\": \"选项值\"}]<br>传入字符串时为全局数据源配置(data.options)中注册的数据源名称\r\ndisable-options | Array | [] | 禁用的选项,为选项value组成的数组\r\nlist-width | String \\| Number | 0 | 下拉列表宽度,实际宽度不小于组件宽度\r\nlist-height | String \\| Number | 300 | 下拉列表最大高度\r\ndisabled | Boolean | false | 是否禁用下拉框\r\nmultiple | Boolean \\| Object | false | 是否支持多选\r\nmultiple.limit | Number | - | 多选最多可以选的选项数\r\nmultiple.linefeed | Boolean | false | 多选标签是否换行显示\r\nsearch | Boolean \\| Object | false | 是否支持搜索,异步模式下默认开启\r\nsearch.empty | Boolean | true | 异步模式下是否支持空搜索\r\nsearch.add | Boolean | false | 是否支持添加选项\r\nsearch.addEvents | Array | ['option'] | 添加选项的触发方式<br>**option**: 点击列表中的添加项<br>**enter**: 输入框回车<br>**blur**: 输入框失焦\r\nsearch.options | String | - | 异步搜索的数据源名称,为全局数据源配置(data.options)中注册的数据源,不设置时触发@search事件\r\nasync | Boolean | false | 异步模式\r\nclear | Boolean | true | 是否显示清空按钮\r\n@change | Function | - | 选项变化事件\r\n@search | Function(keyword, resolve) | - | 搜索事件,异步模式下可用\r\n@add | Function(event, keyword, resolve) | - | 添加选项事件\r\n@customEvent | Function(data, resolve) | - | 自定义事件\r\n\r\n### 地址框 <c-region\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | Object | - | 地址框的值,为对象格式:{province, city, county, address},可使用v-model属性绑定变量\r\nprovince-name | String \\| Number | - | 省份字段名\r\ncity-name | String \\| Number | - | 城市字段名\r\ncounty-name | String \\| Number | - | 区县字段名\r\naddress-name | String \\| Number | - | 详细街道字段名\r\nlevel | String \\| Number | 3 | 地址库级别<br>**1**: 到省级<br>**2**: 到市级<br>**3**: 到区县级<br>**4**: 到详细街道地址\r\ndisabled | Boolean | false | 是否禁用地址框\r\nimmediate | Boolean | true | 是否在初始化时立即加载省份数据\r\n@change | Function(value) | - | 地址变化事件\r\n\r\n### 日期框 <c-datetime\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | String \\| Array | - | 日期框的值,范围选择时为数组:[开始日期, 结束日期],可使用v-model属性绑定变量\r\nname | String \\| Number | - | 字段名\r\nstart-name | String \\| Number | - | 开始日期字段名\r\nend-name | String \\| Number | - | 结束日期字段名\r\nplaceholder | String \\| Array | - | 提示占位符,范围选择时可传入数组:[开始提示, 结束提示]\r\ntype | String | datetime | 日期类型<br>**datetime**: 日期+时间<br>**date**: 仅日期<br>**time**: 仅时间\r\ntime-accuracy | String | sec | 时间精度<br>**hour**: 到小时<br>**min**: 到分钟<br>**sec**: 到秒\r\ndefault-time | String \\| Array | - | 默认时间\r\nrange | Boolean \\| Object | false | 是否为范围选择\r\nrange.limit | Number | false | 范围选择时可选范围的最大天数\r\nformat | String | 随type变化 | 日期格式,默认随type变化<br>**datetime**: 'yyyy-MM-dd hh:mm:ss'<br>**date**: 'yyyy-MM-dd'<br>**time**: 'hh:mm:ss'\r\neditable | Boolean | true | 是否可手动输入\r\nclear | Boolean | true | 是否显示清空按钮\r\nmin-date | String | - | 最小可选日期\r\nmax-date | String | - | 最大可选日期\r\ndisabled | Boolean | false | 是否禁用日期框\r\n@change | Function(value) | - | 日期变化事件\r\n\r\n### 颜色框 <c-color\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | String | - | 颜色框的值,可使用v-model属性绑定变量\r\nname | String \\| Number | - | 字段名\r\neditable | Boolean | true | 是否可手动输入\r\ndisabled | Boolean | false | 是否禁用颜色框\r\nclear | Boolean | true | 是否显示清空按钮\r\n@change | Function(value) | - | 颜色变化事件\r\n\r\n### 穿梭框 <c-transfer\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | Array | - | 穿梭框的值,可使用v-model属性绑定变量\r\nvalue-data | Array | - | 穿梭框值对应的数据,异步模式下可用\r\nname | String \\| Number | - | 字段名\r\
|
|
30073
|
+
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\r\n\r\n```\r\n<c-select ref=\"select\"></c-select> // 下拉框\r\n\r\n// 自定义组件展示内容\r\n<c-select>\r\n\t<template #default=\"{value, valueData, valueName, active, warn}\">\r\n\t\t{{valueName}} // value为值、valueData为值对应的数据、valueName为值的文本、active为是否展开、warn为是否警示\r\n\t</template>\r\n</c-select>\r\n\r\n// 自定义右侧图标\r\n<c-select>\r\n\t<template #icon>\r\n\t\t<i class=\"c-icon-angle-down\"></i>\r\n\t</template>\r\n</c-select>\r\n\r\n// 自定义选项内容\r\n<c-select>\r\n\t<template #option=\"{data, selected, disabled}\">\r\n\t\t{{data.name}} // data为选项数据、selected为是否选中、disabled为是否禁用\r\n\t</template>\r\n</c-select>\r\n\r\n<c-region></c-region> // 地址框\r\n\r\n<c-datetime></c-datetime> // 日期框\r\n\r\n// 自定义组件展示内容\r\n<c-datetime>\r\n\t<template #default=\"{value, active, warn}\">\r\n\t\t{{value}} // value为值、active为是否展开、warn为是否警示\r\n\t</template>\r\n</c-datetime>\r\n\r\n<c-color></c-color> // 颜色框\r\n\r\n// 自定义组件展示内容\r\n<c-color>\r\n\t<template #default=\"{value, active, warn}\">\r\n\t\t{{value}} // value为值、active为是否展开、warn为是否警示\r\n\t</template>\r\n</c-color>\r\n\r\n<c-transfer></c-transfer> // 穿梭框\r\n\r\n// 设置数据\r\nthis.$refs.select.set('1');\r\n\r\n// 获取数据\r\nthis.$refs.select.get();\r\n\r\n// 获取值对应的数据\r\nthis.$refs.select.getData();\r\n```\r\n\r\n## 属性配置\r\n\r\n### 下拉框 <c-select\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | String \\| Number \\| Array | - | 下拉框的值,可使用v-model属性绑定变量\r\nvalue-data | Array | - | 下拉框值对应的数据,异步模式下可用\r\nname | String \\| Number | - | 字段名\r\nplaceholder | String | 请选择 | 提示占位符\r\noptions | Array \\| String | [] | 选项数据:[{\"name\": \"选项名\", \"value\": \"选项值\"}]<br>传入字符串时为全局数据源配置(data.options)中注册的数据源名称\r\ndisable-options | Array | [] | 禁用的选项,为选项value组成的数组\r\nlist-width | String \\| Number | 0 | 下拉列表宽度,实际宽度不小于组件宽度\r\nlist-height | String \\| Number | 300 | 下拉列表最大高度\r\ndisabled | Boolean | false | 是否禁用下拉框\r\nmultiple | Boolean \\| Object | false | 是否支持多选\r\nmultiple.limit | Number | - | 多选最多可以选的选项数\r\nmultiple.linefeed | Boolean | false | 多选标签是否换行显示\r\nsearch | Boolean \\| Object | false | 是否支持搜索,异步模式下默认开启\r\nsearch.empty | Boolean | true | 异步模式下是否支持空搜索\r\nsearch.add | Boolean | false | 是否支持添加选项\r\nsearch.addEvents | Array | ['option'] | 添加选项的触发方式<br>**option**: 点击列表中的添加项<br>**enter**: 输入框回车<br>**blur**: 输入框失焦\r\nsearch.options | String | - | 异步搜索的数据源名称,为全局数据源配置(data.options)中注册的数据源,不设置时触发@search事件\r\nasync | Boolean | false | 异步模式\r\nclear | Boolean | true | 是否显示清空按钮\r\n@change | Function | - | 选项变化事件\r\n@search | Function(keyword, resolve) | - | 搜索事件,异步模式下可用\r\n@add | Function(event, keyword, resolve) | - | 添加选项事件\r\n@customEvent | Function(data, resolve) | - | 自定义事件\r\n\r\n### 地址框 <c-region\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | Object | - | 地址框的值,为对象格式:{province, city, county, address},可使用v-model属性绑定变量\r\nprovince-name | String \\| Number | - | 省份字段名\r\ncity-name | String \\| Number | - | 城市字段名\r\ncounty-name | String \\| Number | - | 区县字段名\r\naddress-name | String \\| Number | - | 详细街道字段名\r\nlevel | String \\| Number | 3 | 地址库级别<br>**1**: 到省级<br>**2**: 到市级<br>**3**: 到区县级<br>**4**: 到详细街道地址\r\ndisabled | Boolean | false | 是否禁用地址框\r\nimmediate | Boolean | true | 是否在初始化时立即加载省份数据\r\n@change | Function(value) | - | 地址变化事件\r\n\r\n### 日期框 <c-datetime\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | String \\| Array | - | 日期框的值,范围选择时为数组:[开始日期, 结束日期],可使用v-model属性绑定变量\r\nname | String \\| Number | - | 字段名\r\nstart-name | String \\| Number | - | 开始日期字段名\r\nend-name | String \\| Number | - | 结束日期字段名\r\nplaceholder | String \\| Array | - | 提示占位符,范围选择时可传入数组:[开始提示, 结束提示]\r\ntype | String | datetime | 日期类型<br>**datetime**: 日期+时间<br>**date**: 仅日期<br>**time**: 仅时间\r\ntime-accuracy | String | sec | 时间精度<br>**hour**: 到小时<br>**min**: 到分钟<br>**sec**: 到秒\r\ndefault-time | String \\| Array | - | 默认时间\r\nrange | Boolean \\| Object | false | 是否为范围选择\r\nrange.limit | Number | false | 范围选择时可选范围的最大天数\r\nformat | String | 随type变化 | 日期格式,默认随type变化<br>**datetime**: 'yyyy-MM-dd hh:mm:ss'<br>**date**: 'yyyy-MM-dd'<br>**time**: 'hh:mm:ss'\r\neditable | Boolean | true | 是否可手动输入\r\nclear | Boolean | true | 是否显示清空按钮\r\nmin-date | String | - | 最小可选日期\r\nmax-date | String | - | 最大可选日期\r\ndisabled | Boolean | false | 是否禁用日期框\r\n@change | Function(value) | - | 日期变化事件\r\n\r\n### 颜色框 <c-color\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | String | - | 颜色框的值,可使用v-model属性绑定变量\r\nname | String \\| Number | - | 字段名\r\neditable | Boolean | true | 是否可手动输入\r\ndisabled | Boolean | false | 是否禁用颜色框\r\nclear | Boolean | true | 是否显示清空按钮\r\n@change | Function(value) | - | 颜色变化事件\r\n\r\n### 穿梭框 <c-transfer\\>\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | Array | - | 穿梭框的值,可使用v-model属性绑定变量\r\nvalue-data | Array | - | 穿梭框值对应的数据,异步模式下可用\r\nname | String \\| Number | - | 字段名\r\nplaceholder | String | _t.transfer.placeholder | 折叠状态下未选择任何选项时的提示占位符\r\noptions | Array | [] | 所有可选数据:[{\"name\": \"选项名\", \"value\": \"选项值\"}]\r\ndisable-options | Array | [] | 禁用的选项,为选项value组成的数组\r\nsearch | Boolean \\| Object | false | 搜索功能,异步模式下默认开启\r\nsearch.immediate | Boolean | true | 异步模式下是否立即加载数据\r\nsearch.placeholder | String | 输入关键词搜索 | 搜索框提示信息\r\nasync | Boolean | false | 异步模式\r\nheight | String \\| Number | 300 | 穿梭框列表高度\r\nsort | Boolean | false | 是否支持排序\r\n@change | Function(data) | - | 选项变化事件\r\n@search | Function(keyword, resolve) | - | 搜索事件,异步模式下可用");
|
|
30075
30074
|
|
|
30076
30075
|
/***/ }),
|
|
30077
30076
|
|
|
@@ -31168,17 +31167,6 @@ try {
|
|
|
31168
31167
|
} catch (error) { /* empty */ }
|
|
31169
31168
|
|
|
31170
31169
|
|
|
31171
|
-
/***/ }),
|
|
31172
|
-
|
|
31173
|
-
/***/ "c790":
|
|
31174
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31175
|
-
|
|
31176
|
-
"use strict";
|
|
31177
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_transfer_vue_vue_type_style_index_0_id_1ca6d409_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0884");
|
|
31178
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_transfer_vue_vue_type_style_index_0_id_1ca6d409_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_transfer_vue_vue_type_style_index_0_id_1ca6d409_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
31179
|
-
/* unused harmony reexport * */
|
|
31180
|
-
|
|
31181
|
-
|
|
31182
31170
|
/***/ }),
|
|
31183
31171
|
|
|
31184
31172
|
/***/ "c8aa":
|
|
@@ -33000,7 +32988,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33000
32988
|
|
|
33001
32989
|
"use strict";
|
|
33002
32990
|
__webpack_require__.r(__webpack_exports__);
|
|
33003
|
-
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\r\n\r\n```\r\n<c-switch></c-switch>\r\n```\r\n\r\n## 属性配置\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | Boolean \\| Number \\| String | false | 开关当前的状态值,可使用v-model属性绑定变量\r\nname | String \\| Number | - | 字段名\r\nstate-value | Array | [true, false] | 开关的状态值,第0项对于打开状态,第1项对应关闭状态\r\nstate-text | Array | [
|
|
32991
|
+
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\r\n\r\n```\r\n<c-switch></c-switch>\r\n\r\n// 配置尺寸并隐藏状态文字\r\n<c-switch size=\"24\" :state-text=\"false\"></c-switch>\r\n```\r\n\r\n## 属性配置\r\n\r\n属性 | 类型 | 默认值 | 说明\r\n---- | ---- | ---- | ----\r\nvalue | Boolean \\| Number \\| String | false | 开关当前的状态值,可使用v-model属性绑定变量\r\nname | String \\| Number | - | 字段名\r\nstate-value | Array | [true, false] | 开关的状态值,第0项对于打开状态,第1项对应关闭状态\r\nstate-text | Array \\| Boolean | [_t.switch.open, _t.switch.close] | 开关的状态文字,第0项对于打开状态,第1项对应关闭状态,传入false时隐藏状态文字\r\nstate-color | Array | ['#00B578', '#eee'] | 开关的状态颜色,第0项对于打开状态,第1项对应关闭状态\r\nsize | String \\| Number | 28 | 开关尺寸(宽度)\r\nfont-size | String \\| Number | 13 | 状态文字字号\r\n@input | Function | - | 输入事件\r\n@beforeChange | Function(state, next) | - | 开关状态变更前的回调函数<br>**state**: 开关变更前的状态<br>**next**: 继续变更开关状态的方法,不调用则开关状态不变更\r\n@change | Function(state) | - | 开关状态变更后的回调函数<br>**state**: 开关变更后的状态");
|
|
33004
32992
|
|
|
33005
32993
|
/***/ }),
|
|
33006
32994
|
|
|
@@ -33513,6 +33501,13 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
33513
33501
|
};
|
|
33514
33502
|
|
|
33515
33503
|
|
|
33504
|
+
/***/ }),
|
|
33505
|
+
|
|
33506
|
+
/***/ "eae7":
|
|
33507
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
33508
|
+
|
|
33509
|
+
// extracted by mini-css-extract-plugin
|
|
33510
|
+
|
|
33516
33511
|
/***/ }),
|
|
33517
33512
|
|
|
33518
33513
|
/***/ "ed5e":
|
|
@@ -33741,13 +33736,6 @@ module.exports = function (key) {
|
|
|
33741
33736
|
};
|
|
33742
33737
|
|
|
33743
33738
|
|
|
33744
|
-
/***/ }),
|
|
33745
|
-
|
|
33746
|
-
/***/ "f78d":
|
|
33747
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
33748
|
-
|
|
33749
|
-
// extracted by mini-css-extract-plugin
|
|
33750
|
-
|
|
33751
33739
|
/***/ }),
|
|
33752
33740
|
|
|
33753
33741
|
/***/ "fb09":
|
|
@@ -34311,8 +34299,8 @@ var options_component = normalizeComponent(
|
|
|
34311
34299
|
)
|
|
34312
34300
|
|
|
34313
34301
|
/* harmony default export */ var options = (options_component.exports);
|
|
34314
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/api/selector.vue?vue&type=template&id=
|
|
34315
|
-
var
|
|
34302
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/api/selector.vue?vue&type=template&id=712ed438&scoped=true&
|
|
34303
|
+
var selectorvue_type_template_id_712ed438_scoped_true_render = function render() {
|
|
34316
34304
|
var _vm = this,
|
|
34317
34305
|
_c = _vm._self._c;
|
|
34318
34306
|
return _c('div', [_c('div', [_c('c-form', {
|
|
@@ -34476,8 +34464,8 @@ var selectorvue_type_template_id_03250c73_scoped_true_render = function render()
|
|
|
34476
34464
|
}, [_c('p', [_c('c-transfer', {
|
|
34477
34465
|
attrs: {
|
|
34478
34466
|
"options": _vm.initRandomOptions,
|
|
34479
|
-
"
|
|
34480
|
-
"
|
|
34467
|
+
"sort": "",
|
|
34468
|
+
"search": ""
|
|
34481
34469
|
},
|
|
34482
34470
|
on: {
|
|
34483
34471
|
"search": _vm.randomOptions,
|
|
@@ -34490,9 +34478,9 @@ var selectorvue_type_template_id_03250c73_scoped_true_render = function render()
|
|
|
34490
34478
|
}
|
|
34491
34479
|
})]);
|
|
34492
34480
|
};
|
|
34493
|
-
var
|
|
34481
|
+
var selectorvue_type_template_id_712ed438_scoped_true_staticRenderFns = [];
|
|
34494
34482
|
|
|
34495
|
-
// CONCATENATED MODULE: ./src/api/selector.vue?vue&type=template&id=
|
|
34483
|
+
// CONCATENATED MODULE: ./src/api/selector.vue?vue&type=template&id=712ed438&scoped=true&
|
|
34496
34484
|
|
|
34497
34485
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/api/selector.vue?vue&type=script&lang=js&
|
|
34498
34486
|
|
|
@@ -34567,11 +34555,11 @@ var selectorvue_type_template_id_03250c73_scoped_true_staticRenderFns = [];
|
|
|
34567
34555
|
|
|
34568
34556
|
var selector_component = normalizeComponent(
|
|
34569
34557
|
api_selectorvue_type_script_lang_js_,
|
|
34570
|
-
|
|
34571
|
-
|
|
34558
|
+
selectorvue_type_template_id_712ed438_scoped_true_render,
|
|
34559
|
+
selectorvue_type_template_id_712ed438_scoped_true_staticRenderFns,
|
|
34572
34560
|
false,
|
|
34573
34561
|
null,
|
|
34574
|
-
"
|
|
34562
|
+
"712ed438",
|
|
34575
34563
|
null
|
|
34576
34564
|
|
|
34577
34565
|
)
|
|
@@ -40657,29 +40645,19 @@ var color_component = normalizeComponent(
|
|
|
40657
40645
|
)
|
|
40658
40646
|
|
|
40659
40647
|
/* harmony default export */ var color = (color_component.exports);
|
|
40660
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/unit/transfer.vue?vue&type=template&id=
|
|
40661
|
-
var
|
|
40648
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/unit/transfer.vue?vue&type=template&id=7072d085&scoped=true&
|
|
40649
|
+
var transfervue_type_template_id_7072d085_scoped_true_render = function render() {
|
|
40662
40650
|
var _vm = this,
|
|
40663
40651
|
_c = _vm._self._c;
|
|
40664
40652
|
return _c('div', {
|
|
40665
40653
|
staticClass: "c-transfer flex",
|
|
40666
|
-
class: {
|
|
40667
|
-
'z-fold': _vm.foldState
|
|
40668
|
-
},
|
|
40669
40654
|
style: {
|
|
40670
|
-
'height': _vm.
|
|
40655
|
+
'height': _vm.parsePixel(_vm.height, true)
|
|
40671
40656
|
},
|
|
40672
40657
|
attrs: {
|
|
40673
|
-
"fold": _vm.fold,
|
|
40674
40658
|
"warn": !!_vm.name && _vm.warnState
|
|
40675
40659
|
}
|
|
40676
40660
|
}, [_c('div', {
|
|
40677
|
-
directives: [{
|
|
40678
|
-
name: "show",
|
|
40679
|
-
rawName: "v-show",
|
|
40680
|
-
value: !_vm.foldState,
|
|
40681
|
-
expression: "!foldState"
|
|
40682
|
-
}],
|
|
40683
40661
|
staticClass: "c-transfer-data flex-column"
|
|
40684
40662
|
}, [_vm.searchConfig ? _c('div', {
|
|
40685
40663
|
staticClass: "c-transfer-data-search flex-center"
|
|
@@ -40743,37 +40721,17 @@ var transfervue_type_template_id_1ca6d409_scoped_true_render = function render()
|
|
|
40743
40721
|
})], 2)]), _c('div', {
|
|
40744
40722
|
staticClass: "c-transfer-current flex-column flex-grow"
|
|
40745
40723
|
}, [_c('div', {
|
|
40746
|
-
staticClass: "c-transfer-current-head flex-between-center"
|
|
40747
|
-
|
|
40748
|
-
|
|
40749
|
-
|
|
40750
|
-
on: {
|
|
40751
|
-
"click": _vm.foldHandle
|
|
40752
|
-
}
|
|
40753
|
-
}, [_vm.foldState && !_vm.currentOptions.length ? _c('p', {
|
|
40754
|
-
staticClass: "c-transfer-current-empty"
|
|
40755
|
-
}, [_vm._v(_vm._s(_vm.$t(_vm.placeholder)))]) : _c('p', {
|
|
40756
|
-
staticClass: "flex-grow flex"
|
|
40757
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.$t('_t.transfer.selected', [_vm.currentOptions.length])))]), _vm.currentOptions.length && !_vm.foldState ? _c('c-link', {
|
|
40724
|
+
staticClass: "c-transfer-current-head flex-between-center"
|
|
40725
|
+
}, [_c('p', {
|
|
40726
|
+
staticClass: "flex-grow flex-between"
|
|
40727
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.$t('_t.transfer.selected', [_vm.currentOptions.length])))]), _vm.currentOptions.length ? _c('c-link', {
|
|
40758
40728
|
nativeOn: {
|
|
40759
40729
|
"click": function ($event) {
|
|
40760
40730
|
$event.stopPropagation();
|
|
40761
|
-
return _vm.
|
|
40731
|
+
return _vm.clearHandle.apply(null, arguments);
|
|
40762
40732
|
}
|
|
40763
40733
|
}
|
|
40764
|
-
}, [_vm._v("清空")]) : _vm._e()], 1),
|
|
40765
|
-
staticClass: "c-transfer-icon"
|
|
40766
|
-
}, [_vm.foldState ? _c('i', {
|
|
40767
|
-
staticClass: "c-icon-more"
|
|
40768
|
-
}) : _c('i', {
|
|
40769
|
-
staticClass: "c-icon-angle-up"
|
|
40770
|
-
})]) : _vm._e()]), _c('div', {
|
|
40771
|
-
directives: [{
|
|
40772
|
-
name: "show",
|
|
40773
|
-
rawName: "v-show",
|
|
40774
|
-
value: !_vm.foldState,
|
|
40775
|
-
expression: "!foldState"
|
|
40776
|
-
}],
|
|
40734
|
+
}, [_vm._v("清空")]) : _vm._e()], 1)]), _c('div', {
|
|
40777
40735
|
staticClass: "c-transfer-current-list flex-grow"
|
|
40778
40736
|
}, [_c('c-drag-sort', {
|
|
40779
40737
|
attrs: {
|
|
@@ -40819,9 +40777,9 @@ var transfervue_type_template_id_1ca6d409_scoped_true_render = function render()
|
|
|
40819
40777
|
}
|
|
40820
40778
|
})], 1)])]);
|
|
40821
40779
|
};
|
|
40822
|
-
var
|
|
40780
|
+
var transfervue_type_template_id_7072d085_scoped_true_staticRenderFns = [];
|
|
40823
40781
|
|
|
40824
|
-
// CONCATENATED MODULE: ./src/components/unit/transfer.vue?vue&type=template&id=
|
|
40782
|
+
// CONCATENATED MODULE: ./src/components/unit/transfer.vue?vue&type=template&id=7072d085&scoped=true&
|
|
40825
40783
|
|
|
40826
40784
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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/unit/transfer.vue?vue&type=script&lang=js&
|
|
40827
40785
|
|
|
@@ -40834,10 +40792,6 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40834
40792
|
value: Array,
|
|
40835
40793
|
valueData: Array,
|
|
40836
40794
|
name: [String, Number],
|
|
40837
|
-
placeholder: {
|
|
40838
|
-
type: String,
|
|
40839
|
-
default: '_t.transfer.placeholder'
|
|
40840
|
-
},
|
|
40841
40795
|
options: {
|
|
40842
40796
|
type: Array,
|
|
40843
40797
|
default: () => {
|
|
@@ -40855,13 +40809,7 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40855
40809
|
type: [String, Number],
|
|
40856
40810
|
default: 300
|
|
40857
40811
|
},
|
|
40858
|
-
sort: Boolean
|
|
40859
|
-
fold: {
|
|
40860
|
-
type: Boolean,
|
|
40861
|
-
default() {
|
|
40862
|
-
return this.$compsConfig.config.transfer.fold;
|
|
40863
|
-
}
|
|
40864
|
-
}
|
|
40812
|
+
sort: Boolean
|
|
40865
40813
|
},
|
|
40866
40814
|
data() {
|
|
40867
40815
|
return {
|
|
@@ -40870,8 +40818,7 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40870
40818
|
optionsList: [],
|
|
40871
40819
|
currentOptions: [],
|
|
40872
40820
|
currentValue: [],
|
|
40873
|
-
keyword: ''
|
|
40874
|
-
foldState: this.fold
|
|
40821
|
+
keyword: ''
|
|
40875
40822
|
};
|
|
40876
40823
|
},
|
|
40877
40824
|
computed: {
|
|
@@ -40888,7 +40835,6 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40888
40835
|
this.set(val);
|
|
40889
40836
|
},
|
|
40890
40837
|
currentValue() {
|
|
40891
|
-
this.updateCurrentOption();
|
|
40892
40838
|
this.$emit('input', this.get());
|
|
40893
40839
|
},
|
|
40894
40840
|
optionsList() {
|
|
@@ -40922,6 +40868,7 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40922
40868
|
methods: {
|
|
40923
40869
|
set(val) {
|
|
40924
40870
|
this.currentValue = val || [];
|
|
40871
|
+
this.updateCurrentOption();
|
|
40925
40872
|
this.cFormItemStore && this.cFormItemStore.commit('warnState', false);
|
|
40926
40873
|
},
|
|
40927
40874
|
get() {
|
|
@@ -40970,11 +40917,18 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40970
40917
|
this.currentOptions.splice(index, 1);
|
|
40971
40918
|
}
|
|
40972
40919
|
}
|
|
40920
|
+
this.updateCurrentOption();
|
|
40973
40921
|
this.$emit('change', this.getData());
|
|
40974
40922
|
this.cFormStore && this.cFormStore.commit('editState', true);
|
|
40975
40923
|
},
|
|
40924
|
+
clearHandle() {
|
|
40925
|
+
this.set();
|
|
40926
|
+
this.$emit('change', this.getData());
|
|
40927
|
+
},
|
|
40976
40928
|
sortHandle(item, oldIndex, newIndex, stop) {
|
|
40977
40929
|
this.currentValue.splice(newIndex, 0, this.currentValue.splice(oldIndex, 1)[0]);
|
|
40930
|
+
this.updateCurrentOption();
|
|
40931
|
+
this.$emit('change', this.getData());
|
|
40978
40932
|
},
|
|
40979
40933
|
searchHandle() {
|
|
40980
40934
|
if (this.async) {
|
|
@@ -40983,19 +40937,13 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40983
40937
|
},
|
|
40984
40938
|
searchDebounceHandle: debounce(function () {
|
|
40985
40939
|
this.searchHandle();
|
|
40986
|
-
}, 300)
|
|
40987
|
-
foldHandle() {
|
|
40988
|
-
if (this.fold) {
|
|
40989
|
-
this.foldState = !this.foldState;
|
|
40990
|
-
this.cFormItemStore && this.cFormItemStore.commit('warnState', false);
|
|
40991
|
-
}
|
|
40992
|
-
}
|
|
40940
|
+
}, 300)
|
|
40993
40941
|
}
|
|
40994
40942
|
});
|
|
40995
40943
|
// CONCATENATED MODULE: ./src/components/unit/transfer.vue?vue&type=script&lang=js&
|
|
40996
40944
|
/* harmony default export */ var unit_transfervue_type_script_lang_js_ = (transfervue_type_script_lang_js_);
|
|
40997
|
-
// EXTERNAL MODULE: ./src/components/unit/transfer.vue?vue&type=style&index=0&id=
|
|
40998
|
-
var
|
|
40945
|
+
// EXTERNAL MODULE: ./src/components/unit/transfer.vue?vue&type=style&index=0&id=7072d085&prod&lang=stylus&scoped=true&
|
|
40946
|
+
var transfervue_type_style_index_0_id_7072d085_prod_lang_stylus_scoped_true_ = __webpack_require__("700c");
|
|
40999
40947
|
|
|
41000
40948
|
// CONCATENATED MODULE: ./src/components/unit/transfer.vue
|
|
41001
40949
|
|
|
@@ -41008,11 +40956,11 @@ var transfervue_type_style_index_0_id_1ca6d409_prod_lang_stylus_scoped_true_ = _
|
|
|
41008
40956
|
|
|
41009
40957
|
var transfer_component = normalizeComponent(
|
|
41010
40958
|
unit_transfervue_type_script_lang_js_,
|
|
41011
|
-
|
|
41012
|
-
|
|
40959
|
+
transfervue_type_template_id_7072d085_scoped_true_render,
|
|
40960
|
+
transfervue_type_template_id_7072d085_scoped_true_staticRenderFns,
|
|
41013
40961
|
false,
|
|
41014
40962
|
null,
|
|
41015
|
-
"
|
|
40963
|
+
"7072d085",
|
|
41016
40964
|
null
|
|
41017
40965
|
|
|
41018
40966
|
)
|
|
@@ -42190,8 +42138,8 @@ var popup_dialog_component = normalizeComponent(
|
|
|
42190
42138
|
)
|
|
42191
42139
|
|
|
42192
42140
|
/* harmony default export */ var popup_dialog = (popup_dialog_component.exports);
|
|
42193
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/popup/window.vue?vue&type=template&id=
|
|
42194
|
-
var
|
|
42141
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/popup/window.vue?vue&type=template&id=d0e3b97a&scoped=true&
|
|
42142
|
+
var windowvue_type_template_id_d0e3b97a_scoped_true_render = function render() {
|
|
42195
42143
|
var _vm = this,
|
|
42196
42144
|
_c = _vm._self._c;
|
|
42197
42145
|
return _c('div', [_vm.maskClose && _vm.active ? _c('div', {
|
|
@@ -42211,7 +42159,9 @@ var windowvue_type_template_id_5718ab8f_scoped_true_render = function render() {
|
|
|
42211
42159
|
style: _vm.compStyle
|
|
42212
42160
|
}, [_vm.title !== false ? _c('div', {
|
|
42213
42161
|
staticClass: "c-window-head flex-between-center"
|
|
42214
|
-
}, [_c('p', [_vm._v(_vm._s(_vm.$t(_vm.title)))]), _c('
|
|
42162
|
+
}, [_c('p', [_vm._v(_vm._s(_vm.$t(_vm.title)))]), _c('div', {
|
|
42163
|
+
staticClass: "flex-grow"
|
|
42164
|
+
}, [_vm._t("head")], 2), _c('a', {
|
|
42215
42165
|
on: {
|
|
42216
42166
|
"click": _vm.closeHandle
|
|
42217
42167
|
}
|
|
@@ -42231,9 +42181,9 @@ var windowvue_type_template_id_5718ab8f_scoped_true_render = function render() {
|
|
|
42231
42181
|
staticClass: "c-window-button flex-center"
|
|
42232
42182
|
}, [_vm._t("button")], 2)]) : _vm._e()])]);
|
|
42233
42183
|
};
|
|
42234
|
-
var
|
|
42184
|
+
var windowvue_type_template_id_d0e3b97a_scoped_true_staticRenderFns = [];
|
|
42235
42185
|
|
|
42236
|
-
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=
|
|
42186
|
+
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=d0e3b97a&scoped=true&
|
|
42237
42187
|
|
|
42238
42188
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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/popup/window.vue?vue&type=script&lang=js&
|
|
42239
42189
|
|
|
@@ -42330,8 +42280,8 @@ var windowvue_type_template_id_5718ab8f_scoped_true_staticRenderFns = [];
|
|
|
42330
42280
|
});
|
|
42331
42281
|
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=script&lang=js&
|
|
42332
42282
|
/* harmony default export */ var components_popup_windowvue_type_script_lang_js_ = (popup_windowvue_type_script_lang_js_);
|
|
42333
|
-
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=
|
|
42334
|
-
var
|
|
42283
|
+
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=d0e3b97a&prod&lang=stylus&scoped=true&
|
|
42284
|
+
var windowvue_type_style_index_0_id_d0e3b97a_prod_lang_stylus_scoped_true_ = __webpack_require__("7df9");
|
|
42335
42285
|
|
|
42336
42286
|
// CONCATENATED MODULE: ./src/components/popup/window.vue
|
|
42337
42287
|
|
|
@@ -42344,11 +42294,11 @@ var windowvue_type_style_index_0_id_5718ab8f_prod_lang_stylus_scoped_true_ = __w
|
|
|
42344
42294
|
|
|
42345
42295
|
var popup_window_component = normalizeComponent(
|
|
42346
42296
|
components_popup_windowvue_type_script_lang_js_,
|
|
42347
|
-
|
|
42348
|
-
|
|
42297
|
+
windowvue_type_template_id_d0e3b97a_scoped_true_render,
|
|
42298
|
+
windowvue_type_template_id_d0e3b97a_scoped_true_staticRenderFns,
|
|
42349
42299
|
false,
|
|
42350
42300
|
null,
|
|
42351
|
-
"
|
|
42301
|
+
"d0e3b97a",
|
|
42352
42302
|
null
|
|
42353
42303
|
|
|
42354
42304
|
)
|
|
@@ -42848,7 +42798,7 @@ function renderCellText(row, col) {
|
|
|
42848
42798
|
return h("tr", {
|
|
42849
42799
|
"class": this.currentRow == this.row ? ' z-hl' : '',
|
|
42850
42800
|
"attrs": {
|
|
42851
|
-
"hidden": this.hiddenState,
|
|
42801
|
+
"hidden": this.foldedState || this.hiddenState || this.row.hidden,
|
|
42852
42802
|
"drag": this.dragState
|
|
42853
42803
|
},
|
|
42854
42804
|
"on": {
|
|
@@ -42862,6 +42812,7 @@ function renderCellText(row, col) {
|
|
|
42862
42812
|
props: {
|
|
42863
42813
|
row: Object,
|
|
42864
42814
|
span: Object,
|
|
42815
|
+
foldedState: Boolean,
|
|
42865
42816
|
hiddenState: Boolean,
|
|
42866
42817
|
dragState: Boolean
|
|
42867
42818
|
},
|
|
@@ -46278,7 +46229,8 @@ function renderTree(h, parent) {
|
|
|
46278
46229
|
row,
|
|
46279
46230
|
span: this.span,
|
|
46280
46231
|
dragState: this.dragState,
|
|
46281
|
-
|
|
46232
|
+
foldedState: !parent.nodeData.expand,
|
|
46233
|
+
hiddenState: parent.hidden
|
|
46282
46234
|
}
|
|
46283
46235
|
}));
|
|
46284
46236
|
arr.push(...renderTree.call(this, h, row));
|
|
@@ -46287,7 +46239,7 @@ function renderTree(h, parent) {
|
|
|
46287
46239
|
arr.push(h("tr", {
|
|
46288
46240
|
"attrs": {
|
|
46289
46241
|
"extra": "tree",
|
|
46290
|
-
"hidden": !parent.nodeData.expand
|
|
46242
|
+
"hidden": !parent.nodeData.expand || parent.hidden
|
|
46291
46243
|
}
|
|
46292
46244
|
}, [renderTreeButton.call(this, h, parent.nodeData.add)]));
|
|
46293
46245
|
}
|
|
@@ -46630,6 +46582,7 @@ var es_array_unshift = __webpack_require__("3c65");
|
|
|
46630
46582
|
key: this.keyIndex++,
|
|
46631
46583
|
data: opt.data,
|
|
46632
46584
|
index: 0,
|
|
46585
|
+
hidden: false,
|
|
46633
46586
|
expandState: {
|
|
46634
46587
|
expand: false,
|
|
46635
46588
|
loading: false,
|
|
@@ -46694,6 +46647,12 @@ var es_array_unshift = __webpack_require__("3c65");
|
|
|
46694
46647
|
next: () => {
|
|
46695
46648
|
let list = row.nodeData.parent ? row.nodeData.parent.nodeData.children : this.rows;
|
|
46696
46649
|
return list[row.index + 1];
|
|
46650
|
+
},
|
|
46651
|
+
show: () => {
|
|
46652
|
+
row.hidden = false;
|
|
46653
|
+
},
|
|
46654
|
+
hide: () => {
|
|
46655
|
+
row.hidden = true;
|
|
46697
46656
|
}
|
|
46698
46657
|
}, opt.extend);
|
|
46699
46658
|
let children = this.treeCol ? opt.data[this.treeCol.name] : false;
|
|
@@ -48514,8 +48473,8 @@ var components_form_component = normalizeComponent(
|
|
|
48514
48473
|
)
|
|
48515
48474
|
|
|
48516
48475
|
/* harmony default export */ var components_form = (components_form_component.exports);
|
|
48517
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/form/item.vue?vue&type=template&id=
|
|
48518
|
-
var
|
|
48476
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-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/form/item.vue?vue&type=template&id=0857e06a&
|
|
48477
|
+
var itemvue_type_template_id_0857e06a_render = function render() {
|
|
48519
48478
|
var _vm = this,
|
|
48520
48479
|
_c = _vm._self._c;
|
|
48521
48480
|
return _c('div', {
|
|
@@ -48596,9 +48555,9 @@ var itemvue_type_template_id_15a9db4e_render = function render() {
|
|
|
48596
48555
|
staticClass: "c-icon-message-warn"
|
|
48597
48556
|
}), _vm._v(_vm._s(_vm.warnMsg))]) : _vm._e()])])]);
|
|
48598
48557
|
};
|
|
48599
|
-
var
|
|
48558
|
+
var itemvue_type_template_id_0857e06a_staticRenderFns = [];
|
|
48600
48559
|
|
|
48601
|
-
// CONCATENATED MODULE: ./src/components/form/item.vue?vue&type=template&id=
|
|
48560
|
+
// CONCATENATED MODULE: ./src/components/form/item.vue?vue&type=template&id=0857e06a&
|
|
48602
48561
|
|
|
48603
48562
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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/form/item.vue?vue&type=script&lang=js&
|
|
48604
48563
|
|
|
@@ -48633,7 +48592,7 @@ var itemvue_type_template_id_15a9db4e_staticRenderFns = [];
|
|
|
48633
48592
|
...mapStore('cFormStore', ['columnWidth', 'columnCount', 'updateLabelLength', 'labelLength', 'unitWidth', 'vertical']),
|
|
48634
48593
|
...mapStore('cFormItemStore', ['warnState']),
|
|
48635
48594
|
compWidth() {
|
|
48636
|
-
if (this.$parent.$options.name == 'cFormColumn') {
|
|
48595
|
+
if (this.$parent.$options.name == 'cFormColumn' || this.colspan == this.columnCount) {
|
|
48637
48596
|
return '100%';
|
|
48638
48597
|
}
|
|
48639
48598
|
return `calc(${parseFloat(this.columnWidth) * parseInt(this.colspan)}% - ${Math.ceil((parseInt(this.columnCount) - 1) * 20 / parseInt(this.columnCount))}px)`;
|
|
@@ -48681,8 +48640,8 @@ var itemvue_type_template_id_15a9db4e_staticRenderFns = [];
|
|
|
48681
48640
|
|
|
48682
48641
|
var item_component = normalizeComponent(
|
|
48683
48642
|
form_itemvue_type_script_lang_js_,
|
|
48684
|
-
|
|
48685
|
-
|
|
48643
|
+
itemvue_type_template_id_0857e06a_render,
|
|
48644
|
+
itemvue_type_template_id_0857e06a_staticRenderFns,
|
|
48686
48645
|
false,
|
|
48687
48646
|
null,
|
|
48688
48647
|
null,
|
|
@@ -57184,9 +57143,7 @@ const messages = {
|
|
|
57184
57143
|
address: '详细街道地址'
|
|
57185
57144
|
},
|
|
57186
57145
|
transfer: {
|
|
57187
|
-
title: '数据',
|
|
57188
57146
|
selected: '已选{0}项',
|
|
57189
|
-
placeholder: '请选择',
|
|
57190
57147
|
searchPlaceholder: '输入关键词搜索'
|
|
57191
57148
|
},
|
|
57192
57149
|
switch: {
|
|
@@ -57289,9 +57246,7 @@ const messages = {
|
|
|
57289
57246
|
address: 'address'
|
|
57290
57247
|
},
|
|
57291
57248
|
transfer: {
|
|
57292
|
-
title: 'data',
|
|
57293
57249
|
selected: '{0} item selected',
|
|
57294
|
-
placeholder: 'please select',
|
|
57295
57250
|
searchPlaceholder: 'Enter keyword search'
|
|
57296
57251
|
},
|
|
57297
57252
|
switch: {
|