@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.cjs.js CHANGED
@@ -22535,7 +22535,7 @@ const style = vue.ref({
22535
22535
 
22536
22536
  const hdlClick = () => {
22537
22537
  if(propsItem_box.hdlLabelClick){
22538
- propsItem_box.hdlLabelClick({formData_box, scopeThis_box});
22538
+ propsItem_box.hdlLabelClick({formData: formData_box, scopeThis: scopeThis_box});
22539
22539
  }
22540
22540
  };
22541
22541
 
@@ -22926,16 +22926,16 @@ return (_ctx, _cache) => {
22926
22926
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22927
22927
  placeholder: input.placeholder,
22928
22928
  style: vue.normalizeStyle(style.input(propsItem_box, formProps_box)),
22929
- onInput: input.hdlCannotInput,
22929
+ onInput: _cache[1] || (_cache[1] = $event => (input.hdlCannotInput($event))),
22930
22930
  "show-password": input.showPassword
22931
- }, null, 8 /* PROPS */, ["modelValue", "placeholder", "style", "onInput", "show-password"]))
22931
+ }, null, 8 /* PROPS */, ["modelValue", "placeholder", "style", "show-password"]))
22932
22932
  : vue.createCommentVNode("v-if", true),
22933
22933
  (propsItem_box.inputType === 'select')
22934
22934
  ? (vue.openBlock(), vue.createBlock(_component_el_select, {
22935
22935
  key: 7,
22936
22936
  class: "deep-input",
22937
22937
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
22938
- "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22938
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22939
22939
  placeholder: select.placeholder,
22940
22940
  filterable: "",
22941
22941
  style: vue.normalizeStyle(style.input(propsItem_box, formProps_box)),
@@ -22958,7 +22958,7 @@ return (_ctx, _cache) => {
22958
22958
  key: 8,
22959
22959
  class: "deep-input",
22960
22960
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
22961
- "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22961
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22962
22962
  type: propsItem_box.type ? propsItem_box.type : 'datetime',
22963
22963
  placeholder: datePicker.placeholder,
22964
22964
  format: datePicker.format,
@@ -22970,7 +22970,7 @@ return (_ctx, _cache) => {
22970
22970
  ? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
22971
22971
  key: 9,
22972
22972
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
22973
- "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22973
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22974
22974
  size: style.input_number(propsItem_box).facade.size,
22975
22975
  min: 'min' in propsItem_box ? propsItem_box.min : 1,
22976
22976
  max: 'max' in propsItem_box ? propsItem_box.max : 100,
@@ -22982,7 +22982,7 @@ return (_ctx, _cache) => {
22982
22982
  ? (vue.openBlock(), vue.createBlock(_component_el_switch, {
22983
22983
  key: 10,
22984
22984
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
22985
- "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22985
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22986
22986
  "active-text": propsItem_box.activeText,
22987
22987
  "inactive-text": propsItem_box.inactiveText,
22988
22988
  "active-value": propsItem_box.activeValue,
@@ -22996,7 +22996,7 @@ return (_ctx, _cache) => {
22996
22996
  ? (vue.openBlock(), vue.createBlock(_component_el_radio_group, {
22997
22997
  key: 11,
22998
22998
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
22999
- "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
22999
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23000
23000
  disabled: !!propsItem_box.disabled,
23001
23001
  onChange: radioGroup.hdlChange
23002
23002
  }, {
@@ -23132,7 +23132,7 @@ return (_ctx, _cache) => {
23132
23132
  }, [
23133
23133
  vue.createVNode(_component_ly0Richtext, {
23134
23134
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23135
- "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23135
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23136
23136
  myProps: richtextProps.value
23137
23137
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23138
23138
  ], 4 /* STYLE */))
@@ -23213,7 +23213,7 @@ return (_ctx, _cache) => {
23213
23213
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
23214
23214
  vue.createVNode(_component_ly0Upload, {
23215
23215
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23216
- "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23216
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23217
23217
  myProps: {uploadUrl: upload.uploadUrl}
23218
23218
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23219
23219
  ]))
@@ -23223,7 +23223,7 @@ return (_ctx, _cache) => {
23223
23223
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18, [
23224
23224
  vue.createVNode(_component_ly0Upload_drag, {
23225
23225
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23226
- "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23226
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23227
23227
  myProps: {uploadUrl: upload.uploadUrl}
23228
23228
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23229
23229
  ]))
@@ -23233,7 +23233,7 @@ return (_ctx, _cache) => {
23233
23233
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
23234
23234
  vue.createVNode(_component_ly0Upload_picture, {
23235
23235
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23236
- "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23236
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23237
23237
  myProps: {uploadUrl: upload.uploadUrl_image}
23238
23238
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23239
23239
  ]))
@@ -23243,7 +23243,7 @@ return (_ctx, _cache) => {
23243
23243
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, [
23244
23244
  vue.createVNode(_component_ly0Upload_pictureCard, {
23245
23245
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23246
- "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23246
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23247
23247
  myProps: {uploadUrl: upload.uploadUrl_image}
23248
23248
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23249
23249
  ]))
@@ -23253,7 +23253,7 @@ return (_ctx, _cache) => {
23253
23253
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_21, [
23254
23254
  vue.createVNode(_component_ly0Upload_avatar, {
23255
23255
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23256
- "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23256
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23257
23257
  myProps: {uploadUrl: upload.uploadUrl_image}
23258
23258
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23259
23259
  ]))
@@ -23263,7 +23263,7 @@ return (_ctx, _cache) => {
23263
23263
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22, [
23264
23264
  vue.createVNode(_component_ly0Upload_carplate, {
23265
23265
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23266
- "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23266
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23267
23267
  myProps: {uploadUrl: upload.uploadUrl_carplate}
23268
23268
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23269
23269
  ]))
@@ -23273,7 +23273,7 @@ return (_ctx, _cache) => {
23273
23273
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_23, [
23274
23274
  vue.createVNode(_component_ly0gbt2260, {
23275
23275
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23276
- "onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23276
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23277
23277
  myProps: {readOnly: propsItem_box.readOnly}
23278
23278
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23279
23279
  ]))
@@ -23283,7 +23283,7 @@ return (_ctx, _cache) => {
23283
23283
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_24, [
23284
23284
  vue.createVNode(_component_ly0d7group, {
23285
23285
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23286
- "onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23286
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23287
23287
  myProps: {readOnly: propsItem_box.readOnly}
23288
23288
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23289
23289
  ]))
@@ -23293,7 +23293,7 @@ return (_ctx, _cache) => {
23293
23293
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_25, [
23294
23294
  vue.createVNode(_component_ly0d7postal, {
23295
23295
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23296
- "onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23296
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23297
23297
  myProps: {readOnly: propsItem_box.readOnly}
23298
23298
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23299
23299
  ]))
@@ -23303,7 +23303,7 @@ return (_ctx, _cache) => {
23303
23303
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_26, [
23304
23304
  vue.createVNode(_component_ly0d7price, {
23305
23305
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23306
- "onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23306
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23307
23307
  myProps: {readOnly: propsItem_box.readOnly}
23308
23308
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23309
23309
  ]))
@@ -23313,7 +23313,7 @@ return (_ctx, _cache) => {
23313
23313
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27, [
23314
23314
  vue.createVNode(_component_ly0d7size, {
23315
23315
  modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
23316
- "onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23316
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
23317
23317
  myProps: {readOnly: propsItem_box.readOnly}
23318
23318
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23319
23319
  ]))
@@ -23323,7 +23323,7 @@ return (_ctx, _cache) => {
23323
23323
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_28, [
23324
23324
  vue.createVNode(_component_ly0d7thumb, {
23325
23325
  modelValue: vue.unref(formData_box),
23326
- "onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23326
+ "onUpdate:modelValue": _cache[19] || (_cache[19] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23327
23327
  myProps: {
23328
23328
  thumb: {
23329
23329
  fieldName: propsItem_box.thumb.fieldName || formProps_box.para.ly0d7thumb.thumb.fieldName,
@@ -23439,13 +23439,20 @@ const hdl = {
23439
23439
  };
23440
23440
 
23441
23441
  return (_ctx, _cache) => {
23442
+ const _component_ly0Menu = vue.resolveComponent("ly0Menu");
23442
23443
  const _component_el_collapse_item = vue.resolveComponent("el-collapse-item");
23443
23444
  const _component_el_collapse = vue.resolveComponent("el-collapse");
23444
23445
  const _component_el_button = vue.resolveComponent("el-button");
23445
23446
 
23446
23447
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
23447
23448
  vue.createCommentVNode(" 置顶菜单 "),
23448
- vue.createCommentVNode("ly0Menu v-if=\"formProps_box.menu && formProps_box.menu.menu && formProps_box.menu.menu.length > 0\" :myProps=\"formProps_box.menu\" :scopeThis=\"scopeThis\"></ly0Menu"),
23449
+ (formProps_box.menu && formProps_box.menu.menu && formProps_box.menu.menu.length > 0)
23450
+ ? (vue.openBlock(), vue.createBlock(_component_ly0Menu, {
23451
+ key: 0,
23452
+ myProps: formProps_box.menu,
23453
+ scopeThis: __props.scopeThis
23454
+ }, null, 8 /* PROPS */, ["myProps", "scopeThis"]))
23455
+ : vue.createCommentVNode("v-if", true),
23449
23456
  vue.createCommentVNode(" 表单区域可以分为多个列 "),
23450
23457
  vue.createElementVNode("div", {
23451
23458
  style: vue.normalizeStyle(style.root_box)
@@ -23568,7 +23575,7 @@ return (_ctx, _cache) => {
23568
23575
  ], 4 /* STYLE */),
23569
23576
  vue.createCommentVNode(" 提交 "),
23570
23577
  (formProps_box.submit.switch)
23571
- ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
23578
+ ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
23572
23579
  vue.createElementVNode("div", {
23573
23580
  style: vue.normalizeStyle(style.line)
23574
23581
  }, null, 4 /* STYLE */),
@@ -41008,7 +41015,7 @@ const props = __props;
41008
41015
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41009
41016
  const emit = __emit;
41010
41017
 
41011
- const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41018
+ const myProps_box = vue.reactive(Object.assign({}, ly0default.myProps, props.myProps));
41012
41019
  // 在这里,const ... reactive不能用于双向绑定:v-model:file-list="fileList_box"
41013
41020
  const fileList_box = vue.ref([]);
41014
41021
  props.modelValue.forEach((item, index) => {
@@ -41156,7 +41163,7 @@ const props = __props;
41156
41163
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41157
41164
  const emit = __emit;
41158
41165
 
41159
- const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41166
+ const myProps_box = vue.reactive(Object.assign({}, ly0default.myProps, props.myProps));
41160
41167
  const fileList_box = vue.ref([]);
41161
41168
  props.modelValue.forEach((item, index) => {
41162
41169
  fileList_box.value.push({
@@ -41336,7 +41343,7 @@ const props = __props;
41336
41343
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41337
41344
  const emit = __emit;
41338
41345
 
41339
- const myProps_box = vue.reactive(Object.assign({}, ly0default, {
41346
+ const myProps_box = vue.reactive(Object.assign({}, ly0default.myProps, {
41340
41347
  uploadUrl: ly0default.carplate.uploadUrl,
41341
41348
  avatar: {
41342
41349
  width: ly0default.carplate.width,
@@ -41524,7 +41531,7 @@ const props = __props;
41524
41531
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41525
41532
  const emit = __emit;
41526
41533
 
41527
- const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41534
+ const myProps_box = vue.reactive(Object.assign({}, ly0default.myProps, props.myProps));
41528
41535
  const fileList_box = vue.ref([]);
41529
41536
  props.modelValue.forEach((item, index) => {
41530
41537
  fileList_box.value.push({
@@ -41678,7 +41685,7 @@ const props = __props;
41678
41685
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41679
41686
  const emit = __emit;
41680
41687
 
41681
- const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41688
+ const myProps_box = vue.reactive(Object.assign({}, ly0default.myProps, props.myProps));
41682
41689
  const fileList_box = vue.ref([]);
41683
41690
  props.modelValue.forEach((item, index) => {
41684
41691
  fileList_box.value.push({
@@ -41829,7 +41836,7 @@ const props = __props;
41829
41836
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41830
41837
  const emit = __emit;
41831
41838
 
41832
- const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41839
+ const myProps_box = vue.reactive(Object.assign({}, ly0default.myProps, props.myProps));
41833
41840
  const fileList_box = vue.ref([]);
41834
41841
  props.modelValue.forEach((item, index) => {
41835
41842
  fileList_box.value.push({