@yoooloo42/joker 1.0.93 → 1.0.95

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.esm.js CHANGED
@@ -22531,7 +22531,7 @@ const style = ref({
22531
22531
 
22532
22532
  const hdlClick = () => {
22533
22533
  if(propsItem_box.hdlLabelClick){
22534
- propsItem_box.hdlLabelClick({formData_box, scopeThis_box});
22534
+ propsItem_box.hdlLabelClick({formData: formData_box, scopeThis: scopeThis_box});
22535
22535
  }
22536
22536
  };
22537
22537
 
@@ -22922,16 +22922,16 @@ return (_ctx, _cache) => {
22922
22922
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22923
22923
  placeholder: input.placeholder,
22924
22924
  style: normalizeStyle(style.input(propsItem_box, formProps_box)),
22925
- onInput: input.hdlCannotInput,
22925
+ onInput: _cache[1] || (_cache[1] = $event => (input.hdlCannotInput($event))),
22926
22926
  "show-password": input.showPassword
22927
- }, null, 8 /* PROPS */, ["modelValue", "placeholder", "style", "onInput", "show-password"]))
22927
+ }, null, 8 /* PROPS */, ["modelValue", "placeholder", "style", "show-password"]))
22928
22928
  : createCommentVNode("v-if", true),
22929
22929
  (propsItem_box.inputType === 'select')
22930
22930
  ? (openBlock(), createBlock(_component_el_select, {
22931
22931
  key: 7,
22932
22932
  class: "deep-input",
22933
22933
  modelValue: unref(formData_box)[propsItem_box.fieldName],
22934
- "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22934
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22935
22935
  placeholder: select.placeholder,
22936
22936
  filterable: "",
22937
22937
  style: normalizeStyle(style.input(propsItem_box, formProps_box)),
@@ -22954,7 +22954,7 @@ return (_ctx, _cache) => {
22954
22954
  key: 8,
22955
22955
  class: "deep-input",
22956
22956
  modelValue: unref(formData_box)[propsItem_box.fieldName],
22957
- "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22957
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22958
22958
  type: propsItem_box.type ? propsItem_box.type : 'datetime',
22959
22959
  placeholder: datePicker.placeholder,
22960
22960
  format: datePicker.format,
@@ -22966,7 +22966,7 @@ return (_ctx, _cache) => {
22966
22966
  ? (openBlock(), createBlock(_component_el_input_number, {
22967
22967
  key: 9,
22968
22968
  modelValue: unref(formData_box)[propsItem_box.fieldName],
22969
- "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22969
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22970
22970
  size: style.input_number(propsItem_box).facade.size,
22971
22971
  min: 'min' in propsItem_box ? propsItem_box.min : 1,
22972
22972
  max: 'max' in propsItem_box ? propsItem_box.max : 100,
@@ -22978,7 +22978,7 @@ return (_ctx, _cache) => {
22978
22978
  ? (openBlock(), createBlock(_component_el_switch, {
22979
22979
  key: 10,
22980
22980
  modelValue: unref(formData_box)[propsItem_box.fieldName],
22981
- "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22981
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22982
22982
  "active-text": propsItem_box.activeText,
22983
22983
  "inactive-text": propsItem_box.inactiveText,
22984
22984
  "active-value": propsItem_box.activeValue,
@@ -22992,7 +22992,7 @@ return (_ctx, _cache) => {
22992
22992
  ? (openBlock(), createBlock(_component_el_radio_group, {
22993
22993
  key: 11,
22994
22994
  modelValue: unref(formData_box)[propsItem_box.fieldName],
22995
- "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22995
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22996
22996
  disabled: !!propsItem_box.disabled,
22997
22997
  onChange: radioGroup.hdlChange
22998
22998
  }, {
@@ -23128,7 +23128,7 @@ return (_ctx, _cache) => {
23128
23128
  }, [
23129
23129
  createVNode(_component_ly0Richtext, {
23130
23130
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23131
- "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23131
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23132
23132
  myProps: richtextProps.value
23133
23133
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23134
23134
  ], 4 /* STYLE */))
@@ -23209,7 +23209,7 @@ return (_ctx, _cache) => {
23209
23209
  ? (openBlock(), createElementBlock("div", _hoisted_17, [
23210
23210
  createVNode(_component_ly0Upload, {
23211
23211
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23212
- "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23212
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23213
23213
  myProps: {uploadUrl: upload.uploadUrl}
23214
23214
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23215
23215
  ]))
@@ -23219,7 +23219,7 @@ return (_ctx, _cache) => {
23219
23219
  ? (openBlock(), createElementBlock("div", _hoisted_18, [
23220
23220
  createVNode(_component_ly0Upload_drag, {
23221
23221
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23222
- "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23222
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23223
23223
  myProps: {uploadUrl: upload.uploadUrl}
23224
23224
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23225
23225
  ]))
@@ -23229,7 +23229,7 @@ return (_ctx, _cache) => {
23229
23229
  ? (openBlock(), createElementBlock("div", _hoisted_19, [
23230
23230
  createVNode(_component_ly0Upload_picture, {
23231
23231
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23232
- "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23232
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23233
23233
  myProps: {uploadUrl: upload.uploadUrl_image}
23234
23234
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23235
23235
  ]))
@@ -23239,7 +23239,7 @@ return (_ctx, _cache) => {
23239
23239
  ? (openBlock(), createElementBlock("div", _hoisted_20, [
23240
23240
  createVNode(_component_ly0Upload_pictureCard, {
23241
23241
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23242
- "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23242
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23243
23243
  myProps: {uploadUrl: upload.uploadUrl_image}
23244
23244
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23245
23245
  ]))
@@ -23249,7 +23249,7 @@ return (_ctx, _cache) => {
23249
23249
  ? (openBlock(), createElementBlock("div", _hoisted_21, [
23250
23250
  createVNode(_component_ly0Upload_avatar, {
23251
23251
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23252
- "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23252
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23253
23253
  myProps: {uploadUrl: upload.uploadUrl_image}
23254
23254
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23255
23255
  ]))
@@ -23259,7 +23259,7 @@ return (_ctx, _cache) => {
23259
23259
  ? (openBlock(), createElementBlock("div", _hoisted_22, [
23260
23260
  createVNode(_component_ly0Upload_carplate, {
23261
23261
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23262
- "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23262
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23263
23263
  myProps: {uploadUrl: upload.uploadUrl_carplate}
23264
23264
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23265
23265
  ]))
@@ -23269,7 +23269,7 @@ return (_ctx, _cache) => {
23269
23269
  ? (openBlock(), createElementBlock("div", _hoisted_23, [
23270
23270
  createVNode(_component_ly0gbt2260, {
23271
23271
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23272
- "onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23272
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23273
23273
  myProps: {readOnly: propsItem_box.readOnly}
23274
23274
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23275
23275
  ]))
@@ -23279,7 +23279,7 @@ return (_ctx, _cache) => {
23279
23279
  ? (openBlock(), createElementBlock("div", _hoisted_24, [
23280
23280
  createVNode(_component_ly0d7group, {
23281
23281
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23282
- "onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23282
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23283
23283
  myProps: {readOnly: propsItem_box.readOnly}
23284
23284
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23285
23285
  ]))
@@ -23289,7 +23289,7 @@ return (_ctx, _cache) => {
23289
23289
  ? (openBlock(), createElementBlock("div", _hoisted_25, [
23290
23290
  createVNode(_component_ly0d7postal, {
23291
23291
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23292
- "onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23292
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23293
23293
  myProps: {readOnly: propsItem_box.readOnly}
23294
23294
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23295
23295
  ]))
@@ -23299,7 +23299,7 @@ return (_ctx, _cache) => {
23299
23299
  ? (openBlock(), createElementBlock("div", _hoisted_26, [
23300
23300
  createVNode(_component_ly0d7price, {
23301
23301
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23302
- "onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23302
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23303
23303
  myProps: {readOnly: propsItem_box.readOnly}
23304
23304
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23305
23305
  ]))
@@ -23309,7 +23309,7 @@ return (_ctx, _cache) => {
23309
23309
  ? (openBlock(), createElementBlock("div", _hoisted_27, [
23310
23310
  createVNode(_component_ly0d7size, {
23311
23311
  modelValue: unref(formData_box)[propsItem_box.fieldName],
23312
- "onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23312
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23313
23313
  myProps: {readOnly: propsItem_box.readOnly}
23314
23314
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23315
23315
  ]))
@@ -23319,7 +23319,7 @@ return (_ctx, _cache) => {
23319
23319
  ? (openBlock(), createElementBlock("div", _hoisted_28, [
23320
23320
  createVNode(_component_ly0d7thumb, {
23321
23321
  modelValue: unref(formData_box),
23322
- "onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23322
+ "onUpdate:modelValue": _cache[19] || (_cache[19] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23323
23323
  myProps: {
23324
23324
  thumb: {
23325
23325
  fieldName: propsItem_box.thumb.fieldName || formProps_box.para.ly0d7thumb.thumb.fieldName,
@@ -23435,13 +23435,20 @@ const hdl = {
23435
23435
  };
23436
23436
 
23437
23437
  return (_ctx, _cache) => {
23438
+ const _component_ly0Menu = resolveComponent("ly0Menu");
23438
23439
  const _component_el_collapse_item = resolveComponent("el-collapse-item");
23439
23440
  const _component_el_collapse = resolveComponent("el-collapse");
23440
23441
  const _component_el_button = resolveComponent("el-button");
23441
23442
 
23442
23443
  return (openBlock(), createElementBlock(Fragment, null, [
23443
23444
  createCommentVNode(" 置顶菜单 "),
23444
- createCommentVNode("ly0Menu v-if=\"formProps_box.menu && formProps_box.menu.menu && formProps_box.menu.menu.length > 0\" :myProps=\"formProps_box.menu\" :scopeThis=\"scopeThis\"></ly0Menu"),
23445
+ (formProps_box.menu && formProps_box.menu.menu && formProps_box.menu.menu.length > 0)
23446
+ ? (openBlock(), createBlock(_component_ly0Menu, {
23447
+ key: 0,
23448
+ myProps: formProps_box.menu,
23449
+ scopeThis: __props.scopeThis
23450
+ }, null, 8 /* PROPS */, ["myProps", "scopeThis"]))
23451
+ : createCommentVNode("v-if", true),
23445
23452
  createCommentVNode(" 表单区域可以分为多个列 "),
23446
23453
  createElementVNode("div", {
23447
23454
  style: normalizeStyle(style.root_box)
@@ -23564,7 +23571,7 @@ return (_ctx, _cache) => {
23564
23571
  ], 4 /* STYLE */),
23565
23572
  createCommentVNode(" 提交 "),
23566
23573
  (formProps_box.submit.switch)
23567
- ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
23574
+ ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
23568
23575
  createElementVNode("div", {
23569
23576
  style: normalizeStyle(style.line)
23570
23577
  }, null, 4 /* STYLE */),
@@ -41004,7 +41011,7 @@ const props = __props;
41004
41011
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41005
41012
  const emit = __emit;
41006
41013
 
41007
- const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41014
+ const myProps_box = reactive(Object.assign({}, ly0default.myProps, props.myProps));
41008
41015
  // 在这里,const ... reactive不能用于双向绑定:v-model:file-list="fileList_box"
41009
41016
  const fileList_box = ref([]);
41010
41017
  props.modelValue.forEach((item, index) => {
@@ -41152,7 +41159,7 @@ const props = __props;
41152
41159
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41153
41160
  const emit = __emit;
41154
41161
 
41155
- const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41162
+ const myProps_box = reactive(Object.assign({}, ly0default.myProps, props.myProps));
41156
41163
  const fileList_box = ref([]);
41157
41164
  props.modelValue.forEach((item, index) => {
41158
41165
  fileList_box.value.push({
@@ -41332,7 +41339,7 @@ const props = __props;
41332
41339
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41333
41340
  const emit = __emit;
41334
41341
 
41335
- const myProps_box = reactive(Object.assign({}, ly0default, {
41342
+ const myProps_box = reactive(Object.assign({}, ly0default.myProps, {
41336
41343
  uploadUrl: ly0default.carplate.uploadUrl,
41337
41344
  avatar: {
41338
41345
  width: ly0default.carplate.width,
@@ -41520,7 +41527,7 @@ const props = __props;
41520
41527
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41521
41528
  const emit = __emit;
41522
41529
 
41523
- const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41530
+ const myProps_box = reactive(Object.assign({}, ly0default.myProps, props.myProps));
41524
41531
  const fileList_box = ref([]);
41525
41532
  props.modelValue.forEach((item, index) => {
41526
41533
  fileList_box.value.push({
@@ -41674,7 +41681,7 @@ const props = __props;
41674
41681
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41675
41682
  const emit = __emit;
41676
41683
 
41677
- const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41684
+ const myProps_box = reactive(Object.assign({}, ly0default.myProps, props.myProps));
41678
41685
  const fileList_box = ref([]);
41679
41686
  props.modelValue.forEach((item, index) => {
41680
41687
  fileList_box.value.push({
@@ -41825,7 +41832,7 @@ const props = __props;
41825
41832
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41826
41833
  const emit = __emit;
41827
41834
 
41828
- const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41835
+ const myProps_box = reactive(Object.assign({}, ly0default.myProps, props.myProps));
41829
41836
  const fileList_box = ref([]);
41830
41837
  props.modelValue.forEach((item, index) => {
41831
41838
  fileList_box.value.push({