lt-business-component 1.0.4 → 1.0.6

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.
@@ -17060,7 +17060,7 @@ return jQuery;
17060
17060
 
17061
17061
  /***/ }),
17062
17062
 
17063
- /***/ 2689:
17063
+ /***/ 1602:
17064
17064
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17065
17065
 
17066
17066
  "use strict";
@@ -17074,35 +17074,35 @@ __webpack_require__.d(__webpack_exports__, {
17074
17074
 
17075
17075
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
17076
17076
  var objectSpread2 = __webpack_require__(9379);
17077
- ;// CONCATENATED MODULE: ./packages/locales/lang/zh-CN/component.ts
17078
- var component = {
17077
+ ;// CONCATENATED MODULE: ./packages/locales/lang/en-US/component.ts
17078
+ var baseBusiness = {
17079
17079
  commonList: {
17080
- New: "新建",
17081
- Edit: "编辑",
17082
- Delete: "删除",
17083
- warning: "警告",
17084
- Cancel: "取消",
17085
- confirm: "确定",
17086
- Operate: "操作",
17087
- DelWarning: "当前操作将删除选中数据,是否继续?",
17088
- save: "保存",
17089
- SaveSuccess: "保存成功",
17090
- DelSuccess: "删除成功",
17091
- Reset: "重置"
17080
+ New: "New",
17081
+ Edit: "Edit",
17082
+ Delete: "Delete",
17083
+ warning: "warning",
17084
+ Cancel: "Cancel",
17085
+ confirm: "confirm",
17086
+ Operate: "Operate",
17087
+ DelWarning: "he current operation will delete the selected data?",
17088
+ save: "save",
17089
+ SaveSuccess: "Save Success",
17090
+ DelSuccess: "Delete Success",
17091
+ Reset: "Reset"
17092
17092
  }
17093
17093
  };
17094
17094
  ;// CONCATENATED MODULE: ./packages/locales/lang/en_US.ts
17095
17095
 
17096
17096
 
17097
17097
  /* harmony default export */ var en_US = ({
17098
- message: (0,objectSpread2/* default */.A)({}, component),
17098
+ message: (0,objectSpread2/* default */.A)({}, baseBusiness),
17099
17099
  dateLocale: null,
17100
17100
  dateLocaleName: 'en-US'
17101
17101
  });
17102
17102
 
17103
17103
  /***/ }),
17104
17104
 
17105
- /***/ 7434:
17105
+ /***/ 9978:
17106
17106
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17107
17107
 
17108
17108
  "use strict";
@@ -17114,28 +17114,28 @@ __webpack_require__.d(__webpack_exports__, {
17114
17114
  "default": function() { return /* binding */ zh_CN; }
17115
17115
  });
17116
17116
 
17117
- ;// CONCATENATED MODULE: ./packages/locales/lang/en-US/component.ts
17118
- var component = {
17117
+ ;// CONCATENATED MODULE: ./packages/locales/lang/zh-CN/component.ts
17118
+ var baseBusiness = {
17119
17119
  commonList: {
17120
- New: "New",
17121
- Edit: "Edit",
17122
- Delete: "Delete",
17123
- warning: "warning",
17124
- Cancel: "Cancel",
17125
- confirm: "confirm",
17126
- Operate: "Operate",
17127
- DelWarning: "he current operation will delete the selected data?",
17128
- save: "save",
17129
- SaveSuccess: "Save Success",
17130
- DelSuccess: "Delete Success",
17131
- Reset: "Reset"
17120
+ New: "新建",
17121
+ Edit: "编辑",
17122
+ Delete: "删除",
17123
+ warning: "警告",
17124
+ Cancel: "取消",
17125
+ confirm: "确定",
17126
+ Operate: "操作",
17127
+ DelWarning: "当前操作将删除选中数据,是否继续?",
17128
+ save: "保存",
17129
+ SaveSuccess: "保存成功",
17130
+ DelSuccess: "删除成功",
17131
+ Reset: "重置"
17132
17132
  }
17133
17133
  };
17134
17134
  ;// CONCATENATED MODULE: ./packages/locales/lang/zh_CN.ts
17135
17135
 
17136
17136
  /* harmony default export */ var zh_CN = ({
17137
17137
  message: {
17138
- component: component
17138
+ baseBusiness: baseBusiness
17139
17139
  }
17140
17140
  });
17141
17141
 
@@ -31685,8 +31685,8 @@ function useLocaleStoreWithOut() {
31685
31685
 
31686
31686
 
31687
31687
 
31688
- var enUS = __webpack_require__(2689);
31689
- var zhCN = __webpack_require__(7434);
31688
+ var enUS = __webpack_require__(1602);
31689
+ var zhCN = __webpack_require__(9978);
31690
31690
  function createI18nOptions() {
31691
31691
  var _defaultLocal$default, _defaultLocal$default2;
31692
31692
  var localeStore = useLocaleStoreWithOut();
@@ -45633,7 +45633,7 @@ var commonSaveData = /*#__PURE__*/function () {
45633
45633
  case 0:
45634
45634
  _context.next = 2;
45635
45635
  return LtRest.post(url, data).then(function (res) {
45636
- message.success(getBaseDataFromServer_t("component.commonList.SaveSuccess"));
45636
+ message.success(getBaseDataFromServer_t("baseBusiness.commonList.SaveSuccess"));
45637
45637
  return res.Result;
45638
45638
  }).catch(function (err) {
45639
45639
  return false;
@@ -45659,7 +45659,7 @@ var commonDelData = /*#__PURE__*/function () {
45659
45659
  return LtRest.delete(url, {
45660
45660
  data: data
45661
45661
  }).then(function (res) {
45662
- message.success(getBaseDataFromServer_t("component.commonList.DelSuccess"));
45662
+ message.success(getBaseDataFromServer_t("baseBusiness.commonList.DelSuccess"));
45663
45663
  return res.Result;
45664
45664
  }).catch(function (err) {
45665
45665
  return false;
@@ -46109,7 +46109,7 @@ var UseformatShowCols = function UseformatShowCols(_ref) {
46109
46109
  }
46110
46110
  if (isShowOperate == true) {
46111
46111
  innerCols.value.push({
46112
- title: main_t("component.commonList.Operate"),
46112
+ title: main_t("baseBusiness.commonList.Operate"),
46113
46113
  align: 'center',
46114
46114
  width: 80,
46115
46115
  dataIndex: 'ACTION',
@@ -46120,7 +46120,7 @@ var UseformatShowCols = function UseformatShowCols(_ref) {
46120
46120
  isEditable = action.isEditable,
46121
46121
  validateRow = action.validateRow;
46122
46122
  return isEditable(record[key]) ? [{
46123
- label: main_t("component.commonList.save"),
46123
+ label: main_t("baseBusiness.commonList.save"),
46124
46124
  onClick: function () {
46125
46125
  var _onClick = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
46126
46126
  var result, sendData, bRet;
@@ -46157,12 +46157,12 @@ var UseformatShowCols = function UseformatShowCols(_ref) {
46157
46157
  return onClick;
46158
46158
  }()
46159
46159
  }, {
46160
- label: main_t("component.commonList.Cancel"),
46160
+ label: main_t("baseBusiness.commonList.Cancel"),
46161
46161
  onClick: function onClick() {
46162
46162
  cancelEditable(record[key]);
46163
46163
  }
46164
46164
  }] : [{
46165
- label: main_t("component.commonList.Edit"),
46165
+ label: main_t("baseBusiness.commonList.Edit"),
46166
46166
  onClick: function onClick() {
46167
46167
  startEditable(record[key], record);
46168
46168
  }
@@ -46508,7 +46508,7 @@ var mainvue_type_script_setup_true_lang_tsx_hoisted_3 = (0,external_commonjs_vue
46508
46508
  }();
46509
46509
  var handleDel = function handleDel() {
46510
46510
  VisibleWarnDlg.value = true;
46511
- showWarningMSG.value = t("component.commonList.DelWarning");
46511
+ showWarningMSG.value = t("baseBusiness.commonList.DelWarning");
46512
46512
  };
46513
46513
  var handleFormSubmit = /*#__PURE__*/function () {
46514
46514
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(record) {
@@ -46605,7 +46605,7 @@ var mainvue_type_script_setup_true_lang_tsx_hoisted_3 = (0,external_commonjs_vue
46605
46605
  return [mainvue_type_script_setup_true_lang_tsx_hoisted_1];
46606
46606
  }),
46607
46607
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function () {
46608
- return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("component.commonList.New")), 1)];
46608
+ return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("baseBusiness.commonList.New")), 1)];
46609
46609
  }),
46610
46610
  _: 1
46611
46611
  })) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), __props.isShowEdit ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_a_button, {
@@ -46621,7 +46621,7 @@ var mainvue_type_script_setup_true_lang_tsx_hoisted_3 = (0,external_commonjs_vue
46621
46621
  return [mainvue_type_script_setup_true_lang_tsx_hoisted_2];
46622
46622
  }),
46623
46623
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function () {
46624
- return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("component.commonList.Edit")), 1)];
46624
+ return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("baseBusiness.commonList.Edit")), 1)];
46625
46625
  }),
46626
46626
  _: 1
46627
46627
  }, 8, ["disabled"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), __props.isShowDel ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_a_button, {
@@ -46638,7 +46638,7 @@ var mainvue_type_script_setup_true_lang_tsx_hoisted_3 = (0,external_commonjs_vue
46638
46638
  return [mainvue_type_script_setup_true_lang_tsx_hoisted_3];
46639
46639
  }),
46640
46640
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function () {
46641
- return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("component.commonList.Delete")), 1)];
46641
+ return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("baseBusiness.commonList.Delete")), 1)];
46642
46642
  }),
46643
46643
  _: 1
46644
46644
  }, 8, ["disabled"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "header-extra-btn")];
@@ -46687,9 +46687,9 @@ var mainvue_type_script_setup_true_lang_tsx_hoisted_3 = (0,external_commonjs_vue
46687
46687
  "onUpdate:open": _cache[0] || (_cache[0] = function ($event) {
46688
46688
  return VisibleWarnDlg.value = $event;
46689
46689
  }),
46690
- title: _ctx.$t('component.commonList.warning'),
46691
- "ok-text": _ctx.$t("component.commonList.confirm"),
46692
- "cancel-text": _ctx.$t('component.commonList.Cancel'),
46690
+ title: _ctx.$t('baseBusiness.commonList.warning'),
46691
+ "ok-text": _ctx.$t("baseBusiness.commonList.confirm"),
46692
+ "cancel-text": _ctx.$t('baseBusiness.commonList.Cancel'),
46693
46693
  onOk: handleONok
46694
46694
  }, {
46695
46695
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(function () {
@@ -62874,7 +62874,7 @@ return (_ctx, _cache) => {
62874
62874
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_CloseOutlined)
62875
62875
  ]),
62876
62876
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [
62877
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("component.commonList.Close")), 1)
62877
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("baseBusiness.commonList.Close")), 1)
62878
62878
  ]),
62879
62879
  _: 1
62880
62880
  }))
@@ -62887,7 +62887,7 @@ return (_ctx, _cache) => {
62887
62887
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_check_outlined)
62888
62888
  ]),
62889
62889
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [
62890
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("component.commonList.Save")), 1)
62890
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("baseBusiness.commonList.Save")), 1)
62891
62891
  ]),
62892
62892
  _: 1
62893
62893
  }, 8, ["style"]),
@@ -62899,7 +62899,7 @@ return (_ctx, _cache) => {
62899
62899
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_reload_outlined)
62900
62900
  ]),
62901
62901
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [
62902
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("component.commonList.Reset")), 1)
62902
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(_ctx.$t("baseBusiness.commonList.Reset")), 1)
62903
62903
  ]),
62904
62904
  _: 1
62905
62905
  })