@ldmjs/ui 1.0.39 → 1.0.41

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/index.d.ts CHANGED
@@ -149,6 +149,7 @@ export declare const ValidateMixinOptions: Record<string, any>;
149
149
 
150
150
  export declare class DialogManager {
151
151
  static exec<T>(modal: Dialog, fetchData?: () => Promise<any>): Promise<T>;
152
+ static id: (value: string) => DialogManager
152
153
  }
153
154
 
154
155
  declare const ldmui: {
package/dist/index.js CHANGED
@@ -11263,14 +11263,17 @@ let SelectListBoxComponent = class SelectListBoxComponent extends (0,external_vu
11263
11263
  emitClick() {
11264
11264
  return true;
11265
11265
  }
11266
- async onValueChanged(value) {
11266
+ async onValueChanged(value, oldValue) {
11267
11267
  if (!this.$utils.isDefined(value)) {
11268
11268
  if (this.hasSelected) {
11269
11269
  this.clear();
11270
11270
  }
11271
11271
  return;
11272
11272
  }
11273
- let val = this.toArray(value);
11273
+ if (this.$utils.isDefined(value) && this.$utils.isDefined(oldValue) && lodash_es_isEqual(value, oldValue)) {
11274
+ return;
11275
+ }
11276
+ let val = Array.from(new Set(this.toArray(value)));
11274
11277
  if (lodash_es_isEqual(val, this.selectedIds)) {
11275
11278
  return;
11276
11279
  }
@@ -11642,7 +11645,7 @@ ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11642
11645
  ld_select_list_boxvue_type_script_lang_ts_external_decorate([
11643
11646
  (0,external_vue_property_decorator_.Watch)('modelValue', { immediate: true }),
11644
11647
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:type", Function),
11645
- ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:paramtypes", [Object]),
11648
+ ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:paramtypes", [Object, Object]),
11646
11649
  ld_select_list_boxvue_type_script_lang_ts_external_metadata("design:returntype", Promise)
11647
11650
  ], SelectListBoxComponent.prototype, "onValueChanged", null);
11648
11651
  ld_select_list_boxvue_type_script_lang_ts_external_decorate([
@@ -11825,8 +11828,6 @@ class CheckboxComponent extends (0,external_vue_property_decorator_.mixins)(Inpu
11825
11828
  return value;
11826
11829
  }
11827
11830
  onValueChanged() {
11828
- /* eslint-disable no-console */
11829
- console.log('onValueChanged!!!');
11830
11831
  if (this.modelValue === this.internalValue) {
11831
11832
  return;
11832
11833
  }
@@ -11852,8 +11853,6 @@ class CheckboxComponent extends (0,external_vue_property_decorator_.mixins)(Inpu
11852
11853
  }
11853
11854
  }
11854
11855
  onChange(event) {
11855
- /* eslint-disable no-console */
11856
- console.log('onChange!!!');
11857
11856
  const checked = event.target.checked;
11858
11857
  if (this.$utils.isDefined(this.checkedValue) && this.$utils.isDefined(this.uncheckedValue)) {
11859
11858
  this.fireinputEvent(checked ? this.checkedValue : this.uncheckedValue);
@@ -15492,10 +15491,10 @@ function ld_switch_reg(vue, options) {
15492
15491
  }
15493
15492
  /* harmony default export */ const src_ld_switch = (ld_switch_reg);
15494
15493
 
15495
- ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-dialog/ld-dialog.vue?vue&type=template&id=184339ee&ts=true
15494
+ ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-dialog/ld-dialog.vue?vue&type=template&id=a2e3c6ee&ts=true
15496
15495
 
15497
- const ld_dialogvue_type_template_id_184339ee_ts_true_hoisted_1 = { class: "ld-dialog" };
15498
- function ld_dialogvue_type_template_id_184339ee_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
15496
+ const ld_dialogvue_type_template_id_a2e3c6ee_ts_true_hoisted_1 = { class: "ld-dialog" };
15497
+ function ld_dialogvue_type_template_id_a2e3c6ee_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
15499
15498
  const _component_minimized = (0,external_vue_.resolveComponent)("minimized");
15500
15499
  const _component_v_spacer = (0,external_vue_.resolveComponent)("v-spacer");
15501
15500
  const _component_square_button = (0,external_vue_.resolveComponent)("square-button");
@@ -15505,13 +15504,14 @@ function ld_dialogvue_type_template_id_184339ee_ts_true_render(_ctx, _cache, $pr
15505
15504
  const _component_v_card_actions = (0,external_vue_.resolveComponent)("v-card-actions");
15506
15505
  const _component_v_card = (0,external_vue_.resolveComponent)("v-card");
15507
15506
  const _component_v_dialog = (0,external_vue_.resolveComponent)("v-dialog");
15508
- return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_dialogvue_type_template_id_184339ee_ts_true_hoisted_1, [
15507
+ return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", ld_dialogvue_type_template_id_a2e3c6ee_ts_true_hoisted_1, [
15509
15508
  (0,external_vue_.createVNode)(_component_minimized, {
15509
+ id: _ctx.id,
15510
15510
  dialogs: _ctx.minimized,
15511
15511
  onMaximize: _cache[0] || (_cache[0] = ($event) => (_ctx.onMinimize($event))),
15512
15512
  onClose: _cache[1] || (_cache[1] = ($event) => (_ctx.handleCancel($event))),
15513
15513
  onCloseAll: _ctx.handleCancelAll
15514
- }, null, 8, ["dialogs", "onCloseAll"]),
15514
+ }, null, 8, ["id", "dialogs", "onCloseAll"]),
15515
15515
  (0,external_vue_.createTextVNode)(),
15516
15516
  ((0,external_vue_.openBlock)(true), (0,external_vue_.createElementBlock)(external_vue_.Fragment, null, (0,external_vue_.renderList)(_ctx.modals, (modal) => {
15517
15517
  return ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
@@ -15739,7 +15739,7 @@ function ld_dialogvue_type_template_id_184339ee_ts_true_render(_ctx, _cache, $pr
15739
15739
  ]));
15740
15740
  }
15741
15741
 
15742
- ;// CONCATENATED MODULE: ./src/ld-dialog/ld-dialog.vue?vue&type=template&id=184339ee&ts=true
15742
+ ;// CONCATENATED MODULE: ./src/ld-dialog/ld-dialog.vue?vue&type=template&id=a2e3c6ee&ts=true
15743
15743
 
15744
15744
  // EXTERNAL MODULE: ./node_modules/@ldmjs/core/dist/index.js
15745
15745
  var dist = __webpack_require__(634);
@@ -15764,23 +15764,6 @@ const GAP = 17;
15764
15764
  const MARGIN_RIGHT = 25;
15765
15765
  const MARGIN_BOTTOM = 68;
15766
15766
  class DialogManager {
15767
- static exec(modal, fetchData) {
15768
- switch (modal.constructor.name) {
15769
- case 'AlertDialog':
15770
- return DialogManager.alert(modal);
15771
- case 'PromptDialog':
15772
- return DialogManager.prompt(modal);
15773
- case 'ConfirmDialog':
15774
- return DialogManager.confirm(modal);
15775
- case 'InfoDialog':
15776
- return DialogManager.info(modal, fetchData);
15777
- case 'SelectDialog':
15778
- return DialogManager.select(modal, fetchData);
15779
- case 'CreateEditDialog':
15780
- return DialogManager.createEdit(modal, fetchData);
15781
- }
15782
- return null;
15783
- }
15784
15767
  constructor() {
15785
15768
  this._visibled = [];
15786
15769
  this._minimized = [];
@@ -16020,18 +16003,43 @@ class DialogManager {
16020
16003
  uniqKey(info) {
16021
16004
  return `dlg-${info.id}`;
16022
16005
  }
16006
+ static id(value) {
16007
+ DialogManager._id = value;
16008
+ return DialogManager;
16009
+ }
16010
+ static exec(modal, fetchData) {
16011
+ switch (modal.constructor.name) {
16012
+ case 'AlertDialog':
16013
+ return DialogManager.alert(modal);
16014
+ case 'PromptDialog':
16015
+ return DialogManager.prompt(modal);
16016
+ case 'ConfirmDialog':
16017
+ return DialogManager.confirm(modal);
16018
+ case 'InfoDialog':
16019
+ return DialogManager.info(modal, fetchData);
16020
+ case 'SelectDialog':
16021
+ return DialogManager.select(modal, fetchData);
16022
+ case 'CreateEditDialog':
16023
+ return DialogManager.createEdit(modal, fetchData);
16024
+ }
16025
+ return null;
16026
+ }
16023
16027
  static alert(modal) {
16024
16028
  const modalInfo = {
16025
16029
  title: modal.title,
16026
16030
  content: modal.content,
16027
16031
  type: ModalType.Alert,
16032
+ hostObject: modal.hostObject,
16033
+ managerId: DialogManager._id,
16028
16034
  };
16029
16035
  return DialogManager.execAsync(modalInfo);
16030
16036
  }
16031
16037
  static prompt(modal) {
16032
16038
  const modalInfo = {
16033
16039
  ...modal,
16034
- type: ModalType.Prompt
16040
+ type: ModalType.Prompt,
16041
+ hostObject: modal.hostObject,
16042
+ managerId: DialogManager._id
16035
16043
  };
16036
16044
  return DialogManager.execAsync(modalInfo);
16037
16045
  }
@@ -16041,6 +16049,8 @@ class DialogManager {
16041
16049
  content: modal.text,
16042
16050
  type: ModalType.Confirm,
16043
16051
  closable: true,
16052
+ hostObject: modal.hostObject,
16053
+ managerId: DialogManager._id
16044
16054
  };
16045
16055
  return DialogManager.execAsync(modalInfo);
16046
16056
  }
@@ -16048,6 +16058,7 @@ class DialogManager {
16048
16058
  const modalInfo = {
16049
16059
  ...modal,
16050
16060
  type: ModalType.Info,
16061
+ managerId: DialogManager._id
16051
16062
  };
16052
16063
  if (!modalInfo.hostObject) {
16053
16064
  modalInfo.hostObject = {
@@ -16062,6 +16073,7 @@ class DialogManager {
16062
16073
  const modalInfo = {
16063
16074
  ...modal,
16064
16075
  type: ModalType.Select,
16076
+ managerId: DialogManager._id
16065
16077
  };
16066
16078
  if (!modalInfo.hostObject) {
16067
16079
  modalInfo.hostObject = {
@@ -16076,6 +16088,7 @@ class DialogManager {
16076
16088
  const modalInfo = {
16077
16089
  ...modal,
16078
16090
  type: ModalType.CreateEdit,
16091
+ managerId: DialogManager._id
16079
16092
  };
16080
16093
  if (!modalInfo.hostObject) {
16081
16094
  modalInfo.hostObject = {
@@ -16090,22 +16103,24 @@ class DialogManager {
16090
16103
  return new Promise(resolve => {
16091
16104
  modalInfo.resolveFunction = resolve;
16092
16105
  let fetchProps = null;
16106
+ const managerId = modalInfo.managerId || '';
16093
16107
  if (fetchData instanceof Function) {
16094
16108
  fetchProps = async (host) => {
16095
16109
  if (host.id === modalInfo.hostObject.id) {
16096
16110
  if (fetchData instanceof Function) {
16097
16111
  const props = await fetchData();
16098
- dist.eventBus.$off('dialog:created', fetchProps);
16099
- dist.eventBus.$emit('dialog:props', props, modalInfo.hostObject);
16112
+ dist.eventBus.$off('dialog:created' + managerId, fetchProps);
16113
+ dist.eventBus.$emit('dialog:props' + managerId, props, modalInfo.hostObject);
16100
16114
  }
16101
16115
  }
16102
16116
  };
16103
- dist.eventBus.$on('dialog:created', fetchProps);
16117
+ dist.eventBus.$on('dialog:created' + managerId, fetchProps);
16104
16118
  }
16105
- dist.eventBus.$emit('dialog:open', modalInfo);
16119
+ dist.eventBus.$emit('dialog:open' + managerId, modalInfo);
16106
16120
  });
16107
16121
  }
16108
16122
  }
16123
+ DialogManager._id = '';
16109
16124
 
16110
16125
  ;// CONCATENATED MODULE: ./node_modules/ts-loader/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-dialog/dialog.minimized.vue?vue&type=template&id=719819aa&ts=true
16111
16126
 
@@ -16328,10 +16343,10 @@ var dialog_minimizedvue_type_script_lang_ts_external_a;
16328
16343
  let DialogMinimizedComponent = class DialogMinimizedComponent extends external_vue_property_decorator_.Vue {
16329
16344
  created() {
16330
16345
  this.maximizeHandler = this.onMaximize.bind(this);
16331
- dist.eventBus.$on('modal-maximize', this.maximizeHandler);
16346
+ dist.eventBus.$on('modal-maximize' + this.id, this.maximizeHandler);
16332
16347
  }
16333
16348
  beforeUnmount() {
16334
- dist.eventBus.$off('modal-maximize', this.maximizeHandler);
16349
+ dist.eventBus.$off('modal-maximize' + this.id, this.maximizeHandler);
16335
16350
  }
16336
16351
  onMaximize(item) {
16337
16352
  const dlg = this.dialogs.find(d => d.id === item.id);
@@ -16364,6 +16379,10 @@ let DialogMinimizedComponent = class DialogMinimizedComponent extends external_v
16364
16379
  return this.items.length && this.items.length < 5;
16365
16380
  }
16366
16381
  };
16382
+ dialog_minimizedvue_type_script_lang_ts_external_decorate([
16383
+ (0,external_vue_property_decorator_.Prop)({ type: String, default: '' }),
16384
+ dialog_minimizedvue_type_script_lang_ts_external_metadata("design:type", String)
16385
+ ], DialogMinimizedComponent.prototype, "id", void 0);
16367
16386
  dialog_minimizedvue_type_script_lang_ts_external_decorate([
16368
16387
  (0,external_vue_property_decorator_.Prop)(),
16369
16388
  dialog_minimizedvue_type_script_lang_ts_external_metadata("design:type", typeof (dialog_minimizedvue_type_script_lang_ts_external_a = typeof Array !== "undefined" && Array) === "function" ? dialog_minimizedvue_type_script_lang_ts_external_a : Object)
@@ -16401,13 +16420,14 @@ class Dialog {
16401
16420
  class AlertDialog extends Dialog {
16402
16421
  constructor(data) {
16403
16422
  super(data.title, data.text);
16423
+ this.hostObject = data.hostObject;
16404
16424
  }
16405
16425
  }
16406
16426
  class PromptDialog extends Dialog {
16407
16427
  constructor(data) {
16408
16428
  super(data.title, data.content);
16409
- this.title = data.title;
16410
16429
  this.width = data.width || '60%';
16430
+ this.hostObject = data.hostObject;
16411
16431
  }
16412
16432
  }
16413
16433
  class ConfirmDialog extends Dialog {
@@ -16419,6 +16439,7 @@ class ConfirmDialog extends Dialog {
16419
16439
  this.cancelTitle = data.cancelTitle;
16420
16440
  this.okResult = data.okResult;
16421
16441
  this.cancelResult = data.cancelResult;
16442
+ this.hostObject = data.hostObject;
16422
16443
  }
16423
16444
  ;
16424
16445
  }
@@ -16449,6 +16470,9 @@ class SelectDialog {
16449
16470
  this.width = data.width;
16450
16471
  this.height = data.height;
16451
16472
  this.selectAsOk = data.selectAsOk;
16473
+ this.okTitle = data.okTitle;
16474
+ this.cancelTitle = data.cancelTitle;
16475
+ this.hostObject = data.hostObject;
16452
16476
  }
16453
16477
  }
16454
16478
  class CreateEditDialog {
@@ -16529,15 +16553,15 @@ let DialogComponent = class DialogComponent extends (0,external_vue_class_compon
16529
16553
  }
16530
16554
  mounted() {
16531
16555
  this.$nextTick(() => {
16532
- dist.eventBus.$on('dialog:open', this.open);
16533
- dist.eventBus.$on('dialog:props', this.onSetProps);
16534
- dist.eventBus.$on('dialog:close:all', this.closeAll);
16556
+ dist.eventBus.$on('dialog:open' + this.id, this.open);
16557
+ dist.eventBus.$on('dialog:props' + this.id, this.onSetProps);
16558
+ dist.eventBus.$on('dialog:close:all' + this.id, this.closeAll);
16535
16559
  });
16536
16560
  }
16537
16561
  beforeUnmount() {
16538
- dist.eventBus.$off('dialog:open', this.open);
16539
- dist.eventBus.$off('dialog:props', this.onSetProps);
16540
- dist.eventBus.$off('dialog:close:all', this.closeAll);
16562
+ dist.eventBus.$off('dialog:open' + this.id, this.open);
16563
+ dist.eventBus.$off('dialog:props' + this.id, this.onSetProps);
16564
+ dist.eventBus.$off('dialog:close:all' + this.id, this.closeAll);
16541
16565
  }
16542
16566
  async open(modalInfo) {
16543
16567
  if (modalInfo.hostObject) {
@@ -16643,7 +16667,7 @@ let DialogComponent = class DialogComponent extends (0,external_vue_class_compon
16643
16667
  }
16644
16668
  }
16645
16669
  this.dialogManager.dialogCreated(modal);
16646
- dist.eventBus.$emit('dialog:created', modal.hostObject);
16670
+ dist.eventBus.$emit('dialog:created' + this.id, modal.hostObject);
16647
16671
  }
16648
16672
  }, 100);
16649
16673
  }
@@ -16651,6 +16675,9 @@ let DialogComponent = class DialogComponent extends (0,external_vue_class_compon
16651
16675
  const result = [
16652
16676
  `${this.uniqKey(modal)} ${ModalType[modal.type]}`
16653
16677
  ];
16678
+ if (this.id) {
16679
+ result.push(`${ModalType[modal.type]}-${this.id}`);
16680
+ }
16654
16681
  if (this.isMobileGlobal) {
16655
16682
  return result;
16656
16683
  }
@@ -16806,7 +16833,7 @@ let DialogComponent = class DialogComponent extends (0,external_vue_class_compon
16806
16833
  if (!modal.show) {
16807
16834
  this.remove(modal);
16808
16835
  this.listenerMap.remove(modal);
16809
- dist.eventBus.$emit('modal-cancel');
16836
+ dist.eventBus.$emit('modal-cancel' + this.id);
16810
16837
  }
16811
16838
  }
16812
16839
  }
@@ -16877,7 +16904,7 @@ let DialogComponent = class DialogComponent extends (0,external_vue_class_compon
16877
16904
  onMinimize(modal) {
16878
16905
  modal.minimized = !modal.minimized;
16879
16906
  this.dialogManager.dialogMinimizeChanged(modal);
16880
- dist.eventBus.$emit('on-minimize', modal.minimized);
16907
+ dist.eventBus.$emit('on-minimize' + this.id, modal.minimized);
16881
16908
  }
16882
16909
  onActivate(modal) {
16883
16910
  modal.processingDescription = null;
@@ -17034,6 +17061,10 @@ let DialogComponent = class DialogComponent extends (0,external_vue_class_compon
17034
17061
  };
17035
17062
  }
17036
17063
  };
17064
+ ld_dialogvue_type_script_lang_ts_external_decorate([
17065
+ (0,external_vue_property_decorator_.Prop)({ type: String, default: '' }),
17066
+ ld_dialogvue_type_script_lang_ts_external_metadata("design:type", String)
17067
+ ], DialogComponent.prototype, "id", void 0);
17037
17068
  ld_dialogvue_type_script_lang_ts_external_decorate([
17038
17069
  Emit('modal-in-focus'),
17039
17070
  ld_dialogvue_type_script_lang_ts_external_metadata("design:type", Function),
@@ -17063,7 +17094,7 @@ DialogComponent = ld_dialogvue_type_script_lang_ts_external_decorate([
17063
17094
 
17064
17095
 
17065
17096
  ;
17066
- const ld_dialog_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_dialogvue_type_script_lang_ts_external, [['render',ld_dialogvue_type_template_id_184339ee_ts_true_render]])
17097
+ const ld_dialog_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ld_dialogvue_type_script_lang_ts_external, [['render',ld_dialogvue_type_template_id_a2e3c6ee_ts_true_render]])
17067
17098
 
17068
17099
  /* harmony default export */ const ld_dialog = (ld_dialog_exports_);
17069
17100
  ;// CONCATENATED MODULE: ./src/ld-dialog/index.ts
@@ -26,6 +26,7 @@ export interface IModalInfo {
26
26
  description?: string | (() => string);
27
27
  processingDescription?: string | (() => string);
28
28
  el?: HTMLElement;
29
+ managerId?: string;
29
30
  hostObject?: IHostObject;
30
31
  /**
31
32
  * Окно немодальное - это начит окно отображается поверх контента страницы и не ограничивает пользователя
@@ -94,13 +95,17 @@ export class Dialog {
94
95
  }
95
96
 
96
97
  export class AlertDialog extends Dialog {
97
- constructor(data: { title: string; text: string });
98
+ title: string;
99
+ text: string;
100
+ hostObject?: IHostObject;
101
+ constructor(data: { title: string; text: string; hostObject?: IHostObject });
98
102
  }
99
103
 
100
104
  export class PromptDialog extends Dialog {
101
105
  title: string;
102
106
  width?: string;
103
- constructor(data: { title: string; width?: string });
107
+ hostObject?: IHostObject;
108
+ constructor(data: { title: string; width?: string; hostObject?: IHostObject; });
104
109
  }
105
110
 
106
111
  export class ConfirmDialog extends Dialog {
@@ -110,6 +115,7 @@ export class ConfirmDialog extends Dialog {
110
115
  cancelTitle?: string;
111
116
  okResult?: number | string | boolean;
112
117
  cancelResult?: number | string | boolean;
118
+ hostObject?: IHostObject;
113
119
  constructor(data: {
114
120
  title: string;
115
121
  text: string;
@@ -117,6 +123,7 @@ export class ConfirmDialog extends Dialog {
117
123
  cancelTitle?: string;
118
124
  okResult?: number | string | boolean;
119
125
  cancelResult?: number | string | boolean;
126
+ hostObject?: IHostObject;
120
127
  });
121
128
  }
122
129
 
@@ -132,6 +139,7 @@ export class InfoDialog extends Dialog {
132
139
  hideFooter?: boolean;
133
140
  minimizable?: boolean;
134
141
  description?: string;
142
+ hostObject?: IHostObject;
135
143
  constructor(data: {
136
144
  title: string;
137
145
  component: string;
@@ -144,6 +152,7 @@ export class InfoDialog extends Dialog {
144
152
  hideFooter?: boolean;
145
153
  minimizable?: boolean;
146
154
  description?: string;
155
+ hostObject?: IHostObject;
147
156
  });
148
157
  }
149
158
 
@@ -171,6 +180,9 @@ export class SelectDialog<T> {
171
180
  width?: string | number;
172
181
  height?: string | number;
173
182
  selectAsOk?: boolean;
183
+ okTitle?: string;
184
+ cancelTitle?: string;
185
+ hostObject?: IHostObject;
174
186
  constructor(data: {
175
187
  title: string;
176
188
  component: string;
@@ -188,6 +200,7 @@ export class SelectDialog<T> {
188
200
  width?: string | number;
189
201
  height?: string | number;
190
202
  selectAsOk?: boolean;
203
+ hostObject?: IHostObject;
191
204
  });
192
205
  }
193
206
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldmjs/ui",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "ldm ui",
5
5
  "main": "dist/index.js",
6
6
  "engines": {