@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
|
@@ -427,13 +427,6 @@ module.exports = function (O, P) {
|
|
|
427
427
|
};
|
|
428
428
|
|
|
429
429
|
|
|
430
|
-
/***/ }),
|
|
431
|
-
|
|
432
|
-
/***/ "0884":
|
|
433
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
434
|
-
|
|
435
|
-
// extracted by mini-css-extract-plugin
|
|
436
|
-
|
|
437
430
|
/***/ }),
|
|
438
431
|
|
|
439
432
|
/***/ "0976":
|
|
@@ -1612,6 +1605,13 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
|
1612
1605
|
});
|
|
1613
1606
|
|
|
1614
1607
|
|
|
1608
|
+
/***/ }),
|
|
1609
|
+
|
|
1610
|
+
/***/ "1521":
|
|
1611
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1612
|
+
|
|
1613
|
+
// extracted by mini-css-extract-plugin
|
|
1614
|
+
|
|
1615
1615
|
/***/ }),
|
|
1616
1616
|
|
|
1617
1617
|
/***/ "1626":
|
|
@@ -7657,6 +7657,17 @@ module.exports = function (error, C, stack, dropEntries) {
|
|
|
7657
7657
|
};
|
|
7658
7658
|
|
|
7659
7659
|
|
|
7660
|
+
/***/ }),
|
|
7661
|
+
|
|
7662
|
+
/***/ "700c":
|
|
7663
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7664
|
+
|
|
7665
|
+
"use strict";
|
|
7666
|
+
/* 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");
|
|
7667
|
+
/* 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__);
|
|
7668
|
+
/* unused harmony reexport * */
|
|
7669
|
+
|
|
7670
|
+
|
|
7660
7671
|
/***/ }),
|
|
7661
7672
|
|
|
7662
7673
|
/***/ "70c9":
|
|
@@ -19726,13 +19737,13 @@ KindEditor.lang({
|
|
|
19726
19737
|
}
|
|
19727
19738
|
}, 'zh-CN');
|
|
19728
19739
|
KindEditor.options.langType = 'zh-CN';
|
|
19729
|
-
/*******************************************************************************
|
|
19730
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19731
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
19732
|
-
*
|
|
19733
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
19734
|
-
* @site http://www.kindsoft.net/
|
|
19735
|
-
* @licence http://www.kindsoft.net/license.php
|
|
19740
|
+
/*******************************************************************************
|
|
19741
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19742
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
19743
|
+
*
|
|
19744
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
19745
|
+
* @site http://www.kindsoft.net/
|
|
19746
|
+
* @licence http://www.kindsoft.net/license.php
|
|
19736
19747
|
*******************************************************************************/
|
|
19737
19748
|
KindEditor.plugin('anchor', function (K) {
|
|
19738
19749
|
var self = this,
|
|
@@ -19769,13 +19780,13 @@ KindEditor.plugin('anchor', function (K) {
|
|
|
19769
19780
|
self.clickToolbar(name, self.plugin.anchor.edit);
|
|
19770
19781
|
});
|
|
19771
19782
|
|
|
19772
|
-
/*******************************************************************************
|
|
19773
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19774
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
19775
|
-
*
|
|
19776
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
19777
|
-
* @site http://www.kindsoft.net/
|
|
19778
|
-
* @licence http://www.kindsoft.net/license.php
|
|
19783
|
+
/*******************************************************************************
|
|
19784
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19785
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
19786
|
+
*
|
|
19787
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
19788
|
+
* @site http://www.kindsoft.net/
|
|
19789
|
+
* @licence http://www.kindsoft.net/license.php
|
|
19779
19790
|
*******************************************************************************/
|
|
19780
19791
|
KindEditor.plugin('autoheight', function (K) {
|
|
19781
19792
|
var self = this;
|
|
@@ -19807,21 +19818,21 @@ KindEditor.plugin('autoheight', function (K) {
|
|
|
19807
19818
|
self.afterCreate(init);
|
|
19808
19819
|
}
|
|
19809
19820
|
});
|
|
19810
|
-
/*
|
|
19811
|
-
* 如何实现真正的自动高度?
|
|
19812
|
-
* 修改编辑器高度之后,再次获取body内容高度时,最小值只会是当前iframe的设置高度,这样就导致高度只增不减。
|
|
19813
|
-
* 所以每次获取body内容高度之前,先将iframe的高度重置为最小高度,这样就能获取body的实际高度。
|
|
19814
|
-
* 由此就实现了真正的自动高度
|
|
19815
|
-
* 测试:chrome、firefox、IE9、IE8
|
|
19821
|
+
/*
|
|
19822
|
+
* 如何实现真正的自动高度?
|
|
19823
|
+
* 修改编辑器高度之后,再次获取body内容高度时,最小值只会是当前iframe的设置高度,这样就导致高度只增不减。
|
|
19824
|
+
* 所以每次获取body内容高度之前,先将iframe的高度重置为最小高度,这样就能获取body的实际高度。
|
|
19825
|
+
* 由此就实现了真正的自动高度
|
|
19826
|
+
* 测试:chrome、firefox、IE9、IE8
|
|
19816
19827
|
* */
|
|
19817
19828
|
|
|
19818
|
-
/*******************************************************************************
|
|
19819
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19820
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
19821
|
-
*
|
|
19822
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
19823
|
-
* @site http://www.kindsoft.net/
|
|
19824
|
-
* @licence http://www.kindsoft.net/license.php
|
|
19829
|
+
/*******************************************************************************
|
|
19830
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
19831
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
19832
|
+
*
|
|
19833
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
19834
|
+
* @site http://www.kindsoft.net/
|
|
19835
|
+
* @licence http://www.kindsoft.net/license.php
|
|
19825
19836
|
*******************************************************************************/
|
|
19826
19837
|
KindEditor.plugin('baidumap', function (K) {
|
|
19827
19838
|
var self = this,
|
|
@@ -20470,7 +20481,9 @@ KindEditor.plugin('uploadImage', function (K) {
|
|
|
20470
20481
|
var editor = this;
|
|
20471
20482
|
editor.clickToolbar('uploadImage', function () {
|
|
20472
20483
|
$app.$upload({
|
|
20473
|
-
|
|
20484
|
+
count: Infinity,
|
|
20485
|
+
type: 'image',
|
|
20486
|
+
size: $app.$compsConfig.config.file.size,
|
|
20474
20487
|
success: function (data) {
|
|
20475
20488
|
editor.insertHtml(Array.from(data, item => `<img src="${item.path}" alt="" />`).join(''));
|
|
20476
20489
|
}
|
|
@@ -20635,6 +20648,8 @@ KindEditor.plugin('image', function (K) {
|
|
|
20635
20648
|
if (allowFileManager) {
|
|
20636
20649
|
viewServerBtn.click(function (e) {
|
|
20637
20650
|
$app.$upload({
|
|
20651
|
+
type: 'image',
|
|
20652
|
+
size: $app.$compsConfig.config.file.size,
|
|
20638
20653
|
success: function (data) {
|
|
20639
20654
|
if (Array.isArray(data)) {
|
|
20640
20655
|
data = data[0];
|
|
@@ -20642,22 +20657,6 @@ KindEditor.plugin('image', function (K) {
|
|
|
20642
20657
|
K('[name="url"]', div).val(data.path);
|
|
20643
20658
|
}
|
|
20644
20659
|
});
|
|
20645
|
-
return;
|
|
20646
|
-
self.loadPlugin('filemanager', function () {
|
|
20647
|
-
self.plugin.filemanagerDialog({
|
|
20648
|
-
viewType: 'VIEW',
|
|
20649
|
-
dirName: 'image',
|
|
20650
|
-
clickFn: function (url, title) {
|
|
20651
|
-
if (self.dialogs.length > 1) {
|
|
20652
|
-
K('[name="url"]', div).val(url);
|
|
20653
|
-
if (self.afterSelectFile) {
|
|
20654
|
-
self.afterSelectFile.call(self, url);
|
|
20655
|
-
}
|
|
20656
|
-
self.hideDialog();
|
|
20657
|
-
}
|
|
20658
|
-
}
|
|
20659
|
-
});
|
|
20660
|
-
});
|
|
20661
20660
|
});
|
|
20662
20661
|
} else {
|
|
20663
20662
|
viewServerBtn.hide();
|
|
@@ -21110,13 +21109,13 @@ KindEditor.plugin('media', function (K) {
|
|
|
21110
21109
|
self.clickToolbar(name, self.plugin.media.edit);
|
|
21111
21110
|
});
|
|
21112
21111
|
|
|
21113
|
-
/*******************************************************************************
|
|
21114
|
-
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
21115
|
-
* Copyright (C) 2006-2011 kindsoft.net
|
|
21116
|
-
*
|
|
21117
|
-
* @author Roddy <luolonghao@gmail.com>
|
|
21118
|
-
* @site http://www.kindsoft.net/
|
|
21119
|
-
* @licence http://www.kindsoft.net/license.php
|
|
21112
|
+
/*******************************************************************************
|
|
21113
|
+
* KindEditor - WYSIWYG HTML Editor for Internet
|
|
21114
|
+
* Copyright (C) 2006-2011 kindsoft.net
|
|
21115
|
+
*
|
|
21116
|
+
* @author Roddy <luolonghao@gmail.com>
|
|
21117
|
+
* @site http://www.kindsoft.net/
|
|
21118
|
+
* @licence http://www.kindsoft.net/license.php
|
|
21120
21119
|
*******************************************************************************/
|
|
21121
21120
|
(function (K) {
|
|
21122
21121
|
function KSWFUpload(options) {
|
|
@@ -21590,8 +21589,8 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21590
21589
|
SWFUpload.prototype.displayDebugInfo = function () {
|
|
21591
21590
|
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(""));
|
|
21592
21591
|
};
|
|
21593
|
-
/* Note: addSetting and getSetting are no longer used by SWFUpload but are included
|
|
21594
|
-
the maintain v2 API compatibility
|
|
21592
|
+
/* Note: addSetting and getSetting are no longer used by SWFUpload but are included
|
|
21593
|
+
the maintain v2 API compatibility
|
|
21595
21594
|
*/
|
|
21596
21595
|
SWFUpload.prototype.addSetting = function (name, value, default_value) {
|
|
21597
21596
|
if (value == undefined) {
|
|
@@ -21621,10 +21620,10 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21621
21620
|
}
|
|
21622
21621
|
return returnValue;
|
|
21623
21622
|
};
|
|
21624
|
-
/* *****************************
|
|
21625
|
-
-- Flash control methods --
|
|
21626
|
-
Your UI should use these
|
|
21627
|
-
to operate SWFUpload
|
|
21623
|
+
/* *****************************
|
|
21624
|
+
-- Flash control methods --
|
|
21625
|
+
Your UI should use these
|
|
21626
|
+
to operate SWFUpload
|
|
21628
21627
|
***************************** */
|
|
21629
21628
|
SWFUpload.prototype.selectFile = function () {
|
|
21630
21629
|
this.callFlash("SelectFile");
|
|
@@ -21644,12 +21643,12 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21644
21643
|
SWFUpload.prototype.stopUpload = function () {
|
|
21645
21644
|
this.callFlash("StopUpload");
|
|
21646
21645
|
};
|
|
21647
|
-
/* ************************
|
|
21648
|
-
* Settings methods
|
|
21649
|
-
* These methods change the SWFUpload settings.
|
|
21650
|
-
* SWFUpload settings should not be changed directly on the settings object
|
|
21651
|
-
* since many of the settings need to be passed to Flash in order to take
|
|
21652
|
-
* effect.
|
|
21646
|
+
/* ************************
|
|
21647
|
+
* Settings methods
|
|
21648
|
+
* These methods change the SWFUpload settings.
|
|
21649
|
+
* SWFUpload settings should not be changed directly on the settings object
|
|
21650
|
+
* since many of the settings need to be passed to Flash in order to take
|
|
21651
|
+
* effect.
|
|
21653
21652
|
* *********************** */
|
|
21654
21653
|
SWFUpload.prototype.getStats = function () {
|
|
21655
21654
|
return this.callFlash("GetStats");
|
|
@@ -21772,15 +21771,15 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21772
21771
|
this.settings.button_cursor = cursor;
|
|
21773
21772
|
this.callFlash("SetButtonCursor", [cursor]);
|
|
21774
21773
|
};
|
|
21775
|
-
/* *******************************
|
|
21776
|
-
Flash Event Interfaces
|
|
21777
|
-
These functions are used by Flash to trigger the various
|
|
21778
|
-
events.
|
|
21779
|
-
All these functions a Private.
|
|
21780
|
-
Because the ExternalInterface library is buggy the event calls
|
|
21781
|
-
are added to a queue and the queue then executed by a setTimeout.
|
|
21782
|
-
This ensures that events are executed in a determinate order and that
|
|
21783
|
-
the ExternalInterface bugs are avoided.
|
|
21774
|
+
/* *******************************
|
|
21775
|
+
Flash Event Interfaces
|
|
21776
|
+
These functions are used by Flash to trigger the various
|
|
21777
|
+
events.
|
|
21778
|
+
All these functions a Private.
|
|
21779
|
+
Because the ExternalInterface library is buggy the event calls
|
|
21780
|
+
are added to a queue and the queue then executed by a setTimeout.
|
|
21781
|
+
This ensures that events are executed in a determinate order and that
|
|
21782
|
+
the ExternalInterface bugs are avoided.
|
|
21784
21783
|
******************************* */
|
|
21785
21784
|
SWFUpload.prototype.queueEvent = function (handlerName, argumentArray) {
|
|
21786
21785
|
if (argumentArray == undefined) {
|
|
@@ -21876,7 +21875,7 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21876
21875
|
file = this.unescapeFilePostParams(file);
|
|
21877
21876
|
this.queueEvent("file_queue_error_handler", [file, errorCode, message]);
|
|
21878
21877
|
};
|
|
21879
|
-
/* Called after the file dialog has closed and the selected files have been queued.
|
|
21878
|
+
/* Called after the file dialog has closed and the selected files have been queued.
|
|
21880
21879
|
You could call startUpload here if you want the queued files to begin uploading immediately. */
|
|
21881
21880
|
SWFUpload.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued, numFilesInQueue) {
|
|
21882
21881
|
this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued, numFilesInQueue]);
|
|
@@ -21915,20 +21914,20 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21915
21914
|
file = this.unescapeFilePostParams(file);
|
|
21916
21915
|
this.queueEvent("upload_complete_handler", file);
|
|
21917
21916
|
};
|
|
21918
|
-
/* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
|
|
21917
|
+
/* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
|
|
21919
21918
|
internal debug console. You can override this event and have messages written where you want. */
|
|
21920
21919
|
SWFUpload.prototype.debug = function (message) {
|
|
21921
21920
|
this.queueEvent("debug_handler", message);
|
|
21922
21921
|
};
|
|
21923
|
-
/* **********************************
|
|
21924
|
-
Debug Console
|
|
21925
|
-
The debug console is a self contained, in page location
|
|
21926
|
-
for debug message to be sent. The Debug Console adds
|
|
21927
|
-
itself to the body if necessary.
|
|
21928
|
-
The console is automatically scrolled as messages appear.
|
|
21929
|
-
If you are using your own debug handler or when you deploy to production and
|
|
21930
|
-
have debug disabled you can remove these functions to reduce the file size
|
|
21931
|
-
and complexity.
|
|
21922
|
+
/* **********************************
|
|
21923
|
+
Debug Console
|
|
21924
|
+
The debug console is a self contained, in page location
|
|
21925
|
+
for debug message to be sent. The Debug Console adds
|
|
21926
|
+
itself to the body if necessary.
|
|
21927
|
+
The console is automatically scrolled as messages appear.
|
|
21928
|
+
If you are using your own debug handler or when you deploy to production and
|
|
21929
|
+
have debug disabled you can remove these functions to reduce the file size
|
|
21930
|
+
and complexity.
|
|
21932
21931
|
********************************** */
|
|
21933
21932
|
SWFUpload.prototype.debugMessage = function (message) {
|
|
21934
21933
|
if (this.settings.debug) {
|
|
@@ -21976,15 +21975,15 @@ KindEditor.plugin('multiimage', function (K) {
|
|
|
21976
21975
|
};
|
|
21977
21976
|
})();
|
|
21978
21977
|
(function () {
|
|
21979
|
-
/*
|
|
21980
|
-
Queue Plug-in
|
|
21981
|
-
Features:
|
|
21982
|
-
*Adds a cancelQueue() method for cancelling the entire queue.
|
|
21983
|
-
*All queued files are uploaded when startUpload() is called.
|
|
21984
|
-
*If false is returned from uploadComplete then the queue upload is stopped.
|
|
21985
|
-
If false is not returned (strict comparison) then the queue upload is continued.
|
|
21986
|
-
*Adds a QueueComplete event that is fired when all the queued files have finished uploading.
|
|
21987
|
-
Set the event handler with the queue_complete_handler setting.
|
|
21978
|
+
/*
|
|
21979
|
+
Queue Plug-in
|
|
21980
|
+
Features:
|
|
21981
|
+
*Adds a cancelQueue() method for cancelling the entire queue.
|
|
21982
|
+
*All queued files are uploaded when startUpload() is called.
|
|
21983
|
+
*If false is returned from uploadComplete then the queue upload is stopped.
|
|
21984
|
+
If false is not returned (strict comparison) then the queue upload is continued.
|
|
21985
|
+
*Adds a QueueComplete event that is fired when all the queued files have finished uploading.
|
|
21986
|
+
Set the event handler with the queue_complete_handler setting.
|
|
21988
21987
|
*/
|
|
21989
21988
|
if (typeof SWFUpload === "function") {
|
|
21990
21989
|
SWFUpload.queue = {};
|
|
@@ -26198,6 +26197,17 @@ exports.toSJIS = function toSJIS (kanji) {
|
|
|
26198
26197
|
__webpack_require__.r(__webpack_exports__);
|
|
26199
26198
|
/* 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 | 是否立即激活第一个选项卡");
|
|
26200
26199
|
|
|
26200
|
+
/***/ }),
|
|
26201
|
+
|
|
26202
|
+
/***/ "7df9":
|
|
26203
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26204
|
+
|
|
26205
|
+
"use strict";
|
|
26206
|
+
/* 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");
|
|
26207
|
+
/* 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__);
|
|
26208
|
+
/* unused harmony reexport * */
|
|
26209
|
+
|
|
26210
|
+
|
|
26201
26211
|
/***/ }),
|
|
26202
26212
|
|
|
26203
26213
|
/***/ "8009":
|
|
@@ -26706,7 +26716,7 @@ module.exports = function (key) {
|
|
|
26706
26716
|
|
|
26707
26717
|
"use strict";
|
|
26708
26718
|
__webpack_require__.r(__webpack_exports__);
|
|
26709
|
-
/* 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//
|
|
26719
|
+
/* 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 | 按钮内容");
|
|
26710
26720
|
|
|
26711
26721
|
/***/ }),
|
|
26712
26722
|
|
|
@@ -27064,17 +27074,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27064
27074
|
__webpack_require__.r(__webpack_exports__);
|
|
27065
27075
|
/* 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 | 通过点击事件触发");
|
|
27066
27076
|
|
|
27067
|
-
/***/ }),
|
|
27068
|
-
|
|
27069
|
-
/***/ "9b66":
|
|
27070
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27071
|
-
|
|
27072
|
-
"use strict";
|
|
27073
|
-
/* 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");
|
|
27074
|
-
/* 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__);
|
|
27075
|
-
/* unused harmony reexport * */
|
|
27076
|
-
|
|
27077
|
-
|
|
27078
27077
|
/***/ }),
|
|
27079
27078
|
|
|
27080
27079
|
/***/ "9bf2":
|
|
@@ -30080,7 +30079,7 @@ module.exports = function (input, pref) {
|
|
|
30080
30079
|
|
|
30081
30080
|
"use strict";
|
|
30082
30081
|
__webpack_require__.r(__webpack_exports__);
|
|
30083
|
-
/* 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\
|
|
30082
|
+
/* 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) | - | 搜索事件,异步模式下可用");
|
|
30084
30083
|
|
|
30085
30084
|
/***/ }),
|
|
30086
30085
|
|
|
@@ -31177,17 +31176,6 @@ try {
|
|
|
31177
31176
|
} catch (error) { /* empty */ }
|
|
31178
31177
|
|
|
31179
31178
|
|
|
31180
|
-
/***/ }),
|
|
31181
|
-
|
|
31182
|
-
/***/ "c790":
|
|
31183
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31184
|
-
|
|
31185
|
-
"use strict";
|
|
31186
|
-
/* 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");
|
|
31187
|
-
/* 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__);
|
|
31188
|
-
/* unused harmony reexport * */
|
|
31189
|
-
|
|
31190
|
-
|
|
31191
31179
|
/***/ }),
|
|
31192
31180
|
|
|
31193
31181
|
/***/ "c8aa":
|
|
@@ -33009,7 +32997,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33009
32997
|
|
|
33010
32998
|
"use strict";
|
|
33011
32999
|
__webpack_require__.r(__webpack_exports__);
|
|
33012
|
-
/* 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 | [
|
|
33000
|
+
/* 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**: 开关变更后的状态");
|
|
33013
33001
|
|
|
33014
33002
|
/***/ }),
|
|
33015
33003
|
|
|
@@ -33522,6 +33510,13 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
33522
33510
|
};
|
|
33523
33511
|
|
|
33524
33512
|
|
|
33513
|
+
/***/ }),
|
|
33514
|
+
|
|
33515
|
+
/***/ "eae7":
|
|
33516
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
33517
|
+
|
|
33518
|
+
// extracted by mini-css-extract-plugin
|
|
33519
|
+
|
|
33525
33520
|
/***/ }),
|
|
33526
33521
|
|
|
33527
33522
|
/***/ "ed5e":
|
|
@@ -33750,13 +33745,6 @@ module.exports = function (key) {
|
|
|
33750
33745
|
};
|
|
33751
33746
|
|
|
33752
33747
|
|
|
33753
|
-
/***/ }),
|
|
33754
|
-
|
|
33755
|
-
/***/ "f78d":
|
|
33756
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
33757
|
-
|
|
33758
|
-
// extracted by mini-css-extract-plugin
|
|
33759
|
-
|
|
33760
33748
|
/***/ }),
|
|
33761
33749
|
|
|
33762
33750
|
/***/ "fb09":
|
|
@@ -34320,8 +34308,8 @@ var options_component = normalizeComponent(
|
|
|
34320
34308
|
)
|
|
34321
34309
|
|
|
34322
34310
|
/* harmony default export */ var options = (options_component.exports);
|
|
34323
|
-
// 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=
|
|
34324
|
-
var
|
|
34311
|
+
// 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&
|
|
34312
|
+
var selectorvue_type_template_id_712ed438_scoped_true_render = function render() {
|
|
34325
34313
|
var _vm = this,
|
|
34326
34314
|
_c = _vm._self._c;
|
|
34327
34315
|
return _c('div', [_c('div', [_c('c-form', {
|
|
@@ -34485,8 +34473,8 @@ var selectorvue_type_template_id_03250c73_scoped_true_render = function render()
|
|
|
34485
34473
|
}, [_c('p', [_c('c-transfer', {
|
|
34486
34474
|
attrs: {
|
|
34487
34475
|
"options": _vm.initRandomOptions,
|
|
34488
|
-
"
|
|
34489
|
-
"
|
|
34476
|
+
"sort": "",
|
|
34477
|
+
"search": ""
|
|
34490
34478
|
},
|
|
34491
34479
|
on: {
|
|
34492
34480
|
"search": _vm.randomOptions,
|
|
@@ -34499,9 +34487,9 @@ var selectorvue_type_template_id_03250c73_scoped_true_render = function render()
|
|
|
34499
34487
|
}
|
|
34500
34488
|
})]);
|
|
34501
34489
|
};
|
|
34502
|
-
var
|
|
34490
|
+
var selectorvue_type_template_id_712ed438_scoped_true_staticRenderFns = [];
|
|
34503
34491
|
|
|
34504
|
-
// CONCATENATED MODULE: ./src/api/selector.vue?vue&type=template&id=
|
|
34492
|
+
// CONCATENATED MODULE: ./src/api/selector.vue?vue&type=template&id=712ed438&scoped=true&
|
|
34505
34493
|
|
|
34506
34494
|
// 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&
|
|
34507
34495
|
|
|
@@ -34576,11 +34564,11 @@ var selectorvue_type_template_id_03250c73_scoped_true_staticRenderFns = [];
|
|
|
34576
34564
|
|
|
34577
34565
|
var selector_component = normalizeComponent(
|
|
34578
34566
|
api_selectorvue_type_script_lang_js_,
|
|
34579
|
-
|
|
34580
|
-
|
|
34567
|
+
selectorvue_type_template_id_712ed438_scoped_true_render,
|
|
34568
|
+
selectorvue_type_template_id_712ed438_scoped_true_staticRenderFns,
|
|
34581
34569
|
false,
|
|
34582
34570
|
null,
|
|
34583
|
-
"
|
|
34571
|
+
"712ed438",
|
|
34584
34572
|
null
|
|
34585
34573
|
|
|
34586
34574
|
)
|
|
@@ -40666,29 +40654,19 @@ var color_component = normalizeComponent(
|
|
|
40666
40654
|
)
|
|
40667
40655
|
|
|
40668
40656
|
/* harmony default export */ var color = (color_component.exports);
|
|
40669
|
-
// 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=
|
|
40670
|
-
var
|
|
40657
|
+
// 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&
|
|
40658
|
+
var transfervue_type_template_id_7072d085_scoped_true_render = function render() {
|
|
40671
40659
|
var _vm = this,
|
|
40672
40660
|
_c = _vm._self._c;
|
|
40673
40661
|
return _c('div', {
|
|
40674
40662
|
staticClass: "c-transfer flex",
|
|
40675
|
-
class: {
|
|
40676
|
-
'z-fold': _vm.foldState
|
|
40677
|
-
},
|
|
40678
40663
|
style: {
|
|
40679
|
-
'height': _vm.
|
|
40664
|
+
'height': _vm.parsePixel(_vm.height, true)
|
|
40680
40665
|
},
|
|
40681
40666
|
attrs: {
|
|
40682
|
-
"fold": _vm.fold,
|
|
40683
40667
|
"warn": !!_vm.name && _vm.warnState
|
|
40684
40668
|
}
|
|
40685
40669
|
}, [_c('div', {
|
|
40686
|
-
directives: [{
|
|
40687
|
-
name: "show",
|
|
40688
|
-
rawName: "v-show",
|
|
40689
|
-
value: !_vm.foldState,
|
|
40690
|
-
expression: "!foldState"
|
|
40691
|
-
}],
|
|
40692
40670
|
staticClass: "c-transfer-data flex-column"
|
|
40693
40671
|
}, [_vm.searchConfig ? _c('div', {
|
|
40694
40672
|
staticClass: "c-transfer-data-search flex-center"
|
|
@@ -40752,37 +40730,17 @@ var transfervue_type_template_id_1ca6d409_scoped_true_render = function render()
|
|
|
40752
40730
|
})], 2)]), _c('div', {
|
|
40753
40731
|
staticClass: "c-transfer-current flex-column flex-grow"
|
|
40754
40732
|
}, [_c('div', {
|
|
40755
|
-
staticClass: "c-transfer-current-head flex-between-center"
|
|
40756
|
-
|
|
40757
|
-
|
|
40758
|
-
|
|
40759
|
-
on: {
|
|
40760
|
-
"click": _vm.foldHandle
|
|
40761
|
-
}
|
|
40762
|
-
}, [_vm.foldState && !_vm.currentOptions.length ? _c('p', {
|
|
40763
|
-
staticClass: "c-transfer-current-empty"
|
|
40764
|
-
}, [_vm._v(_vm._s(_vm.$t(_vm.placeholder)))]) : _c('p', {
|
|
40765
|
-
staticClass: "flex-grow flex"
|
|
40766
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.$t('_t.transfer.selected', [_vm.currentOptions.length])))]), _vm.currentOptions.length && !_vm.foldState ? _c('c-link', {
|
|
40733
|
+
staticClass: "c-transfer-current-head flex-between-center"
|
|
40734
|
+
}, [_c('p', {
|
|
40735
|
+
staticClass: "flex-grow flex-between"
|
|
40736
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.$t('_t.transfer.selected', [_vm.currentOptions.length])))]), _vm.currentOptions.length ? _c('c-link', {
|
|
40767
40737
|
nativeOn: {
|
|
40768
40738
|
"click": function ($event) {
|
|
40769
40739
|
$event.stopPropagation();
|
|
40770
|
-
return _vm.
|
|
40740
|
+
return _vm.clearHandle.apply(null, arguments);
|
|
40771
40741
|
}
|
|
40772
40742
|
}
|
|
40773
|
-
}, [_vm._v("清空")]) : _vm._e()], 1),
|
|
40774
|
-
staticClass: "c-transfer-icon"
|
|
40775
|
-
}, [_vm.foldState ? _c('i', {
|
|
40776
|
-
staticClass: "c-icon-more"
|
|
40777
|
-
}) : _c('i', {
|
|
40778
|
-
staticClass: "c-icon-angle-up"
|
|
40779
|
-
})]) : _vm._e()]), _c('div', {
|
|
40780
|
-
directives: [{
|
|
40781
|
-
name: "show",
|
|
40782
|
-
rawName: "v-show",
|
|
40783
|
-
value: !_vm.foldState,
|
|
40784
|
-
expression: "!foldState"
|
|
40785
|
-
}],
|
|
40743
|
+
}, [_vm._v("清空")]) : _vm._e()], 1)]), _c('div', {
|
|
40786
40744
|
staticClass: "c-transfer-current-list flex-grow"
|
|
40787
40745
|
}, [_c('c-drag-sort', {
|
|
40788
40746
|
attrs: {
|
|
@@ -40828,9 +40786,9 @@ var transfervue_type_template_id_1ca6d409_scoped_true_render = function render()
|
|
|
40828
40786
|
}
|
|
40829
40787
|
})], 1)])]);
|
|
40830
40788
|
};
|
|
40831
|
-
var
|
|
40789
|
+
var transfervue_type_template_id_7072d085_scoped_true_staticRenderFns = [];
|
|
40832
40790
|
|
|
40833
|
-
// CONCATENATED MODULE: ./src/components/unit/transfer.vue?vue&type=template&id=
|
|
40791
|
+
// CONCATENATED MODULE: ./src/components/unit/transfer.vue?vue&type=template&id=7072d085&scoped=true&
|
|
40834
40792
|
|
|
40835
40793
|
// 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&
|
|
40836
40794
|
|
|
@@ -40843,10 +40801,6 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40843
40801
|
value: Array,
|
|
40844
40802
|
valueData: Array,
|
|
40845
40803
|
name: [String, Number],
|
|
40846
|
-
placeholder: {
|
|
40847
|
-
type: String,
|
|
40848
|
-
default: '_t.transfer.placeholder'
|
|
40849
|
-
},
|
|
40850
40804
|
options: {
|
|
40851
40805
|
type: Array,
|
|
40852
40806
|
default: () => {
|
|
@@ -40864,13 +40818,7 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40864
40818
|
type: [String, Number],
|
|
40865
40819
|
default: 300
|
|
40866
40820
|
},
|
|
40867
|
-
sort: Boolean
|
|
40868
|
-
fold: {
|
|
40869
|
-
type: Boolean,
|
|
40870
|
-
default() {
|
|
40871
|
-
return this.$compsConfig.config.transfer.fold;
|
|
40872
|
-
}
|
|
40873
|
-
}
|
|
40821
|
+
sort: Boolean
|
|
40874
40822
|
},
|
|
40875
40823
|
data() {
|
|
40876
40824
|
return {
|
|
@@ -40879,8 +40827,7 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40879
40827
|
optionsList: [],
|
|
40880
40828
|
currentOptions: [],
|
|
40881
40829
|
currentValue: [],
|
|
40882
|
-
keyword: ''
|
|
40883
|
-
foldState: this.fold
|
|
40830
|
+
keyword: ''
|
|
40884
40831
|
};
|
|
40885
40832
|
},
|
|
40886
40833
|
computed: {
|
|
@@ -40897,7 +40844,6 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40897
40844
|
this.set(val);
|
|
40898
40845
|
},
|
|
40899
40846
|
currentValue() {
|
|
40900
|
-
this.updateCurrentOption();
|
|
40901
40847
|
this.$emit('input', this.get());
|
|
40902
40848
|
},
|
|
40903
40849
|
optionsList() {
|
|
@@ -40931,6 +40877,7 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40931
40877
|
methods: {
|
|
40932
40878
|
set(val) {
|
|
40933
40879
|
this.currentValue = val || [];
|
|
40880
|
+
this.updateCurrentOption();
|
|
40934
40881
|
this.cFormItemStore && this.cFormItemStore.commit('warnState', false);
|
|
40935
40882
|
},
|
|
40936
40883
|
get() {
|
|
@@ -40979,11 +40926,18 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40979
40926
|
this.currentOptions.splice(index, 1);
|
|
40980
40927
|
}
|
|
40981
40928
|
}
|
|
40929
|
+
this.updateCurrentOption();
|
|
40982
40930
|
this.$emit('change', this.getData());
|
|
40983
40931
|
this.cFormStore && this.cFormStore.commit('editState', true);
|
|
40984
40932
|
},
|
|
40933
|
+
clearHandle() {
|
|
40934
|
+
this.set();
|
|
40935
|
+
this.$emit('change', this.getData());
|
|
40936
|
+
},
|
|
40985
40937
|
sortHandle(item, oldIndex, newIndex, stop) {
|
|
40986
40938
|
this.currentValue.splice(newIndex, 0, this.currentValue.splice(oldIndex, 1)[0]);
|
|
40939
|
+
this.updateCurrentOption();
|
|
40940
|
+
this.$emit('change', this.getData());
|
|
40987
40941
|
},
|
|
40988
40942
|
searchHandle() {
|
|
40989
40943
|
if (this.async) {
|
|
@@ -40992,19 +40946,13 @@ var transfervue_type_template_id_1ca6d409_scoped_true_staticRenderFns = [];
|
|
|
40992
40946
|
},
|
|
40993
40947
|
searchDebounceHandle: debounce(function () {
|
|
40994
40948
|
this.searchHandle();
|
|
40995
|
-
}, 300)
|
|
40996
|
-
foldHandle() {
|
|
40997
|
-
if (this.fold) {
|
|
40998
|
-
this.foldState = !this.foldState;
|
|
40999
|
-
this.cFormItemStore && this.cFormItemStore.commit('warnState', false);
|
|
41000
|
-
}
|
|
41001
|
-
}
|
|
40949
|
+
}, 300)
|
|
41002
40950
|
}
|
|
41003
40951
|
});
|
|
41004
40952
|
// CONCATENATED MODULE: ./src/components/unit/transfer.vue?vue&type=script&lang=js&
|
|
41005
40953
|
/* harmony default export */ var unit_transfervue_type_script_lang_js_ = (transfervue_type_script_lang_js_);
|
|
41006
|
-
// EXTERNAL MODULE: ./src/components/unit/transfer.vue?vue&type=style&index=0&id=
|
|
41007
|
-
var
|
|
40954
|
+
// EXTERNAL MODULE: ./src/components/unit/transfer.vue?vue&type=style&index=0&id=7072d085&prod&lang=stylus&scoped=true&
|
|
40955
|
+
var transfervue_type_style_index_0_id_7072d085_prod_lang_stylus_scoped_true_ = __webpack_require__("700c");
|
|
41008
40956
|
|
|
41009
40957
|
// CONCATENATED MODULE: ./src/components/unit/transfer.vue
|
|
41010
40958
|
|
|
@@ -41017,11 +40965,11 @@ var transfervue_type_style_index_0_id_1ca6d409_prod_lang_stylus_scoped_true_ = _
|
|
|
41017
40965
|
|
|
41018
40966
|
var transfer_component = normalizeComponent(
|
|
41019
40967
|
unit_transfervue_type_script_lang_js_,
|
|
41020
|
-
|
|
41021
|
-
|
|
40968
|
+
transfervue_type_template_id_7072d085_scoped_true_render,
|
|
40969
|
+
transfervue_type_template_id_7072d085_scoped_true_staticRenderFns,
|
|
41022
40970
|
false,
|
|
41023
40971
|
null,
|
|
41024
|
-
"
|
|
40972
|
+
"7072d085",
|
|
41025
40973
|
null
|
|
41026
40974
|
|
|
41027
40975
|
)
|
|
@@ -42199,8 +42147,8 @@ var popup_dialog_component = normalizeComponent(
|
|
|
42199
42147
|
)
|
|
42200
42148
|
|
|
42201
42149
|
/* harmony default export */ var popup_dialog = (popup_dialog_component.exports);
|
|
42202
|
-
// 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=
|
|
42203
|
-
var
|
|
42150
|
+
// 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&
|
|
42151
|
+
var windowvue_type_template_id_d0e3b97a_scoped_true_render = function render() {
|
|
42204
42152
|
var _vm = this,
|
|
42205
42153
|
_c = _vm._self._c;
|
|
42206
42154
|
return _c('div', [_vm.maskClose && _vm.active ? _c('div', {
|
|
@@ -42220,7 +42168,9 @@ var windowvue_type_template_id_5718ab8f_scoped_true_render = function render() {
|
|
|
42220
42168
|
style: _vm.compStyle
|
|
42221
42169
|
}, [_vm.title !== false ? _c('div', {
|
|
42222
42170
|
staticClass: "c-window-head flex-between-center"
|
|
42223
|
-
}, [_c('p', [_vm._v(_vm._s(_vm.$t(_vm.title)))]), _c('
|
|
42171
|
+
}, [_c('p', [_vm._v(_vm._s(_vm.$t(_vm.title)))]), _c('div', {
|
|
42172
|
+
staticClass: "flex-grow"
|
|
42173
|
+
}, [_vm._t("head")], 2), _c('a', {
|
|
42224
42174
|
on: {
|
|
42225
42175
|
"click": _vm.closeHandle
|
|
42226
42176
|
}
|
|
@@ -42240,9 +42190,9 @@ var windowvue_type_template_id_5718ab8f_scoped_true_render = function render() {
|
|
|
42240
42190
|
staticClass: "c-window-button flex-center"
|
|
42241
42191
|
}, [_vm._t("button")], 2)]) : _vm._e()])]);
|
|
42242
42192
|
};
|
|
42243
|
-
var
|
|
42193
|
+
var windowvue_type_template_id_d0e3b97a_scoped_true_staticRenderFns = [];
|
|
42244
42194
|
|
|
42245
|
-
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=
|
|
42195
|
+
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=d0e3b97a&scoped=true&
|
|
42246
42196
|
|
|
42247
42197
|
// 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&
|
|
42248
42198
|
|
|
@@ -42339,8 +42289,8 @@ var windowvue_type_template_id_5718ab8f_scoped_true_staticRenderFns = [];
|
|
|
42339
42289
|
});
|
|
42340
42290
|
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=script&lang=js&
|
|
42341
42291
|
/* harmony default export */ var components_popup_windowvue_type_script_lang_js_ = (popup_windowvue_type_script_lang_js_);
|
|
42342
|
-
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=
|
|
42343
|
-
var
|
|
42292
|
+
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=d0e3b97a&prod&lang=stylus&scoped=true&
|
|
42293
|
+
var windowvue_type_style_index_0_id_d0e3b97a_prod_lang_stylus_scoped_true_ = __webpack_require__("7df9");
|
|
42344
42294
|
|
|
42345
42295
|
// CONCATENATED MODULE: ./src/components/popup/window.vue
|
|
42346
42296
|
|
|
@@ -42353,11 +42303,11 @@ var windowvue_type_style_index_0_id_5718ab8f_prod_lang_stylus_scoped_true_ = __w
|
|
|
42353
42303
|
|
|
42354
42304
|
var popup_window_component = normalizeComponent(
|
|
42355
42305
|
components_popup_windowvue_type_script_lang_js_,
|
|
42356
|
-
|
|
42357
|
-
|
|
42306
|
+
windowvue_type_template_id_d0e3b97a_scoped_true_render,
|
|
42307
|
+
windowvue_type_template_id_d0e3b97a_scoped_true_staticRenderFns,
|
|
42358
42308
|
false,
|
|
42359
42309
|
null,
|
|
42360
|
-
"
|
|
42310
|
+
"d0e3b97a",
|
|
42361
42311
|
null
|
|
42362
42312
|
|
|
42363
42313
|
)
|
|
@@ -42857,7 +42807,7 @@ function renderCellText(row, col) {
|
|
|
42857
42807
|
return h("tr", {
|
|
42858
42808
|
"class": this.currentRow == this.row ? ' z-hl' : '',
|
|
42859
42809
|
"attrs": {
|
|
42860
|
-
"hidden": this.hiddenState,
|
|
42810
|
+
"hidden": this.foldedState || this.hiddenState || this.row.hidden,
|
|
42861
42811
|
"drag": this.dragState
|
|
42862
42812
|
},
|
|
42863
42813
|
"on": {
|
|
@@ -42871,6 +42821,7 @@ function renderCellText(row, col) {
|
|
|
42871
42821
|
props: {
|
|
42872
42822
|
row: Object,
|
|
42873
42823
|
span: Object,
|
|
42824
|
+
foldedState: Boolean,
|
|
42874
42825
|
hiddenState: Boolean,
|
|
42875
42826
|
dragState: Boolean
|
|
42876
42827
|
},
|
|
@@ -46287,7 +46238,8 @@ function renderTree(h, parent) {
|
|
|
46287
46238
|
row,
|
|
46288
46239
|
span: this.span,
|
|
46289
46240
|
dragState: this.dragState,
|
|
46290
|
-
|
|
46241
|
+
foldedState: !parent.nodeData.expand,
|
|
46242
|
+
hiddenState: parent.hidden
|
|
46291
46243
|
}
|
|
46292
46244
|
}));
|
|
46293
46245
|
arr.push(...renderTree.call(this, h, row));
|
|
@@ -46296,7 +46248,7 @@ function renderTree(h, parent) {
|
|
|
46296
46248
|
arr.push(h("tr", {
|
|
46297
46249
|
"attrs": {
|
|
46298
46250
|
"extra": "tree",
|
|
46299
|
-
"hidden": !parent.nodeData.expand
|
|
46251
|
+
"hidden": !parent.nodeData.expand || parent.hidden
|
|
46300
46252
|
}
|
|
46301
46253
|
}, [renderTreeButton.call(this, h, parent.nodeData.add)]));
|
|
46302
46254
|
}
|
|
@@ -46639,6 +46591,7 @@ var es_array_unshift = __webpack_require__("3c65");
|
|
|
46639
46591
|
key: this.keyIndex++,
|
|
46640
46592
|
data: opt.data,
|
|
46641
46593
|
index: 0,
|
|
46594
|
+
hidden: false,
|
|
46642
46595
|
expandState: {
|
|
46643
46596
|
expand: false,
|
|
46644
46597
|
loading: false,
|
|
@@ -46703,6 +46656,12 @@ var es_array_unshift = __webpack_require__("3c65");
|
|
|
46703
46656
|
next: () => {
|
|
46704
46657
|
let list = row.nodeData.parent ? row.nodeData.parent.nodeData.children : this.rows;
|
|
46705
46658
|
return list[row.index + 1];
|
|
46659
|
+
},
|
|
46660
|
+
show: () => {
|
|
46661
|
+
row.hidden = false;
|
|
46662
|
+
},
|
|
46663
|
+
hide: () => {
|
|
46664
|
+
row.hidden = true;
|
|
46706
46665
|
}
|
|
46707
46666
|
}, opt.extend);
|
|
46708
46667
|
let children = this.treeCol ? opt.data[this.treeCol.name] : false;
|
|
@@ -48523,8 +48482,8 @@ var components_form_component = normalizeComponent(
|
|
|
48523
48482
|
)
|
|
48524
48483
|
|
|
48525
48484
|
/* harmony default export */ var components_form = (components_form_component.exports);
|
|
48526
|
-
// 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=
|
|
48527
|
-
var
|
|
48485
|
+
// 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&
|
|
48486
|
+
var itemvue_type_template_id_0857e06a_render = function render() {
|
|
48528
48487
|
var _vm = this,
|
|
48529
48488
|
_c = _vm._self._c;
|
|
48530
48489
|
return _c('div', {
|
|
@@ -48605,9 +48564,9 @@ var itemvue_type_template_id_15a9db4e_render = function render() {
|
|
|
48605
48564
|
staticClass: "c-icon-message-warn"
|
|
48606
48565
|
}), _vm._v(_vm._s(_vm.warnMsg))]) : _vm._e()])])]);
|
|
48607
48566
|
};
|
|
48608
|
-
var
|
|
48567
|
+
var itemvue_type_template_id_0857e06a_staticRenderFns = [];
|
|
48609
48568
|
|
|
48610
|
-
// CONCATENATED MODULE: ./src/components/form/item.vue?vue&type=template&id=
|
|
48569
|
+
// CONCATENATED MODULE: ./src/components/form/item.vue?vue&type=template&id=0857e06a&
|
|
48611
48570
|
|
|
48612
48571
|
// 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&
|
|
48613
48572
|
|
|
@@ -48642,7 +48601,7 @@ var itemvue_type_template_id_15a9db4e_staticRenderFns = [];
|
|
|
48642
48601
|
...mapStore('cFormStore', ['columnWidth', 'columnCount', 'updateLabelLength', 'labelLength', 'unitWidth', 'vertical']),
|
|
48643
48602
|
...mapStore('cFormItemStore', ['warnState']),
|
|
48644
48603
|
compWidth() {
|
|
48645
|
-
if (this.$parent.$options.name == 'cFormColumn') {
|
|
48604
|
+
if (this.$parent.$options.name == 'cFormColumn' || this.colspan == this.columnCount) {
|
|
48646
48605
|
return '100%';
|
|
48647
48606
|
}
|
|
48648
48607
|
return `calc(${parseFloat(this.columnWidth) * parseInt(this.colspan)}% - ${Math.ceil((parseInt(this.columnCount) - 1) * 20 / parseInt(this.columnCount))}px)`;
|
|
@@ -48690,8 +48649,8 @@ var itemvue_type_template_id_15a9db4e_staticRenderFns = [];
|
|
|
48690
48649
|
|
|
48691
48650
|
var item_component = normalizeComponent(
|
|
48692
48651
|
form_itemvue_type_script_lang_js_,
|
|
48693
|
-
|
|
48694
|
-
|
|
48652
|
+
itemvue_type_template_id_0857e06a_render,
|
|
48653
|
+
itemvue_type_template_id_0857e06a_staticRenderFns,
|
|
48695
48654
|
false,
|
|
48696
48655
|
null,
|
|
48697
48656
|
null,
|
|
@@ -57193,9 +57152,7 @@ const messages = {
|
|
|
57193
57152
|
address: '详细街道地址'
|
|
57194
57153
|
},
|
|
57195
57154
|
transfer: {
|
|
57196
|
-
title: '数据',
|
|
57197
57155
|
selected: '已选{0}项',
|
|
57198
|
-
placeholder: '请选择',
|
|
57199
57156
|
searchPlaceholder: '输入关键词搜索'
|
|
57200
57157
|
},
|
|
57201
57158
|
switch: {
|
|
@@ -57298,9 +57255,7 @@ const messages = {
|
|
|
57298
57255
|
address: 'address'
|
|
57299
57256
|
},
|
|
57300
57257
|
transfer: {
|
|
57301
|
-
title: 'data',
|
|
57302
57258
|
selected: '{0} item selected',
|
|
57303
|
-
placeholder: 'please select',
|
|
57304
57259
|
searchPlaceholder: 'Enter keyword search'
|
|
57305
57260
|
},
|
|
57306
57261
|
switch: {
|