mali-ui-plus 1.0.61 → 1.0.62

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.
@@ -18995,7 +18995,7 @@ __webpack_require__.d(__webpack_exports__, {
18995
18995
  "default": function() { return /* binding */ entry_lib; }
18996
18996
  });
18997
18997
 
18998
- // UNUSED EXPORTS: MaliLoading, MaliModal, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCascader, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
18998
+ // UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCascader, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
18999
18999
 
19000
19000
  // NAMESPACE OBJECT: ./node_modules/vxe-table/es/all.js
19001
19001
  var all_namespaceObject = {};
@@ -71237,6 +71237,32 @@ const MaliLoading = {
71237
71237
  }
71238
71238
  };
71239
71239
  /* harmony default export */ var modal_loading = (MaliLoading);
71240
+ ;// CONCATENATED MODULE: ./clipboard/index.ts
71241
+
71242
+ const MaliClipboard = {
71243
+ copy(text) {
71244
+ let status = false;
71245
+ try {
71246
+ const copyElem = document.createElement('textarea');
71247
+ const styles = copyElem.style;
71248
+ styles.width = '60px';
71249
+ styles.height = '40px';
71250
+ styles.position = 'fixed';
71251
+ styles.zIndex = '0';
71252
+ styles.left = '-1000px';
71253
+ styles.top = '-1000px';
71254
+ document.body.appendChild(copyElem);
71255
+ copyElem.value = xe_utils_default().toString(text);
71256
+ copyElem.select();
71257
+ copyElem.setSelectionRange(0, copyElem.value.length);
71258
+ status = document.execCommand('copy');
71259
+ copyElem.blur();
71260
+ copyElem.parentNode?.removeChild(copyElem);
71261
+ } catch (e) {}
71262
+ return status;
71263
+ }
71264
+ };
71265
+ /* harmony default export */ var clipboard = (MaliClipboard);
71240
71266
  ;// CONCATENATED MODULE: ./utils/permission.ts
71241
71267
 
71242
71268
  function checkPermission(params) {
@@ -72989,6 +73015,7 @@ VXETable.setup({
72989
73015
 
72990
73016
 
72991
73017
 
73018
+
72992
73019
 
72993
73020
 
72994
73021
  const index_MlIcon = MlIcon;
@@ -73118,11 +73145,12 @@ function index_config(options) {
73118
73145
  return config_0;
73119
73146
  }
73120
73147
  const MaliUI = {
73121
- version: "1.0.60",
73148
+ version: "1.0.61",
73122
73149
  install: index_install,
73123
73150
  config: index_config,
73124
73151
  renderer: index_esm.renderer,
73125
73152
  MaliUtils: utils,
73153
+ MaliClipboard: clipboard,
73126
73154
  MaliToast: toast,
73127
73155
  MaliModal: modal_modal_0,
73128
73156
  MaliLoading: modal_loading,
@@ -19005,7 +19005,7 @@ __webpack_require__.d(__webpack_exports__, {
19005
19005
  "default": function() { return /* binding */ entry_lib; }
19006
19006
  });
19007
19007
 
19008
- // UNUSED EXPORTS: MaliLoading, MaliModal, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCascader, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
19008
+ // UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCascader, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
19009
19009
 
19010
19010
  // NAMESPACE OBJECT: ./node_modules/vxe-table/es/all.js
19011
19011
  var all_namespaceObject = {};
@@ -71247,6 +71247,32 @@ const MaliLoading = {
71247
71247
  }
71248
71248
  };
71249
71249
  /* harmony default export */ var modal_loading = (MaliLoading);
71250
+ ;// CONCATENATED MODULE: ./clipboard/index.ts
71251
+
71252
+ const MaliClipboard = {
71253
+ copy(text) {
71254
+ let status = false;
71255
+ try {
71256
+ const copyElem = document.createElement('textarea');
71257
+ const styles = copyElem.style;
71258
+ styles.width = '60px';
71259
+ styles.height = '40px';
71260
+ styles.position = 'fixed';
71261
+ styles.zIndex = '0';
71262
+ styles.left = '-1000px';
71263
+ styles.top = '-1000px';
71264
+ document.body.appendChild(copyElem);
71265
+ copyElem.value = xe_utils_default().toString(text);
71266
+ copyElem.select();
71267
+ copyElem.setSelectionRange(0, copyElem.value.length);
71268
+ status = document.execCommand('copy');
71269
+ copyElem.blur();
71270
+ copyElem.parentNode?.removeChild(copyElem);
71271
+ } catch (e) {}
71272
+ return status;
71273
+ }
71274
+ };
71275
+ /* harmony default export */ var clipboard = (MaliClipboard);
71250
71276
  ;// CONCATENATED MODULE: ./utils/permission.ts
71251
71277
 
71252
71278
  function checkPermission(params) {
@@ -72999,6 +73025,7 @@ VXETable.setup({
72999
73025
 
73000
73026
 
73001
73027
 
73028
+
73002
73029
 
73003
73030
 
73004
73031
  const index_MlIcon = MlIcon;
@@ -73128,11 +73155,12 @@ function index_config(options) {
73128
73155
  return config_0;
73129
73156
  }
73130
73157
  const MaliUI = {
73131
- version: "1.0.60",
73158
+ version: "1.0.61",
73132
73159
  install: index_install,
73133
73160
  config: index_config,
73134
73161
  renderer: index_esm.renderer,
73135
73162
  MaliUtils: utils,
73163
+ MaliClipboard: clipboard,
73136
73164
  MaliToast: toast,
73137
73165
  MaliModal: modal_modal_0,
73138
73166
  MaliLoading: modal_loading,