@yoooloo42/joker 1.0.44 → 1.0.45

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
@@ -39303,7 +39303,7 @@ const _hoisted_1$d = { key: 12 };
39303
39303
  const _hoisted_2$d = { key: 0 };
39304
39304
  const _hoisted_3$8 = { key: 13 };
39305
39305
  const _hoisted_4$7 = { key: 0 };
39306
- const _hoisted_5$6 = { key: 14 };
39306
+ const _hoisted_5$7 = { key: 14 };
39307
39307
  const _hoisted_6$6 = { key: 0 };
39308
39308
  const _hoisted_7$6 = { key: 16 };
39309
39309
  const _hoisted_8$5 = ["innerHTML"];
@@ -39872,7 +39872,7 @@ return (_ctx, _cache) => {
39872
39872
  : createCommentVNode("v-if", true),
39873
39873
  createCommentVNode(" 多个图片 "),
39874
39874
  (__props.item.inputType === 'images')
39875
- ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
39875
+ ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
39876
39876
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataBox.fieldsValue[__props.item.fieldName], (itemImages, indexImages) => {
39877
39877
  return (openBlock(), createElementBlock("div", {
39878
39878
  key: indexImages,
@@ -40128,9 +40128,10 @@ script$f.__scopeId = "data-v-a94fa4ba";
40128
40128
  script$f.__file = "src/form/InputBox.vue";
40129
40129
 
40130
40130
  const _hoisted_1$c = { key: 0 };
40131
- const _hoisted_2$c = ["colspan"];
40132
- const _hoisted_3$7 = { key: 0 };
40133
- const _hoisted_4$6 = ["colspan"];
40131
+ const _hoisted_2$c = { key: 0 };
40132
+ const _hoisted_3$7 = ["colspan"];
40133
+ const _hoisted_4$6 = { key: 0 };
40134
+ const _hoisted_5$6 = ["colspan"];
40134
40135
 
40135
40136
 
40136
40137
  var script$e = {
@@ -40158,155 +40159,157 @@ return (_ctx, _cache) => {
40158
40159
  const _component_el_collapse = resolveComponent("el-collapse");
40159
40160
  const _component_el_button = resolveComponent("el-button");
40160
40161
 
40161
- return (openBlock(), createElementBlock(Fragment, null, [
40162
- createCommentVNode(" 置顶菜单 "),
40163
- (isMenuVisible.value)
40164
- ? (openBlock(), createBlock(_component_ly0Menu, {
40165
- key: 0,
40166
- scopeThis: __props.scopeThis,
40167
- myProps: __props.myProps.menu
40168
- }, null, 8 /* PROPS */, ["scopeThis", "myProps"]))
40169
- : createCommentVNode("v-if", true),
40170
- createCommentVNode(" 表单区域可以分为多个列 "),
40171
- createElementVNode("div", {
40172
- style: normalizeStyle(style.root_box)
40173
- }, [
40174
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.myProps.cols, (item, index) => {
40175
- return (openBlock(), createElementBlock("div", { key: index }, [
40176
- createElementVNode("table", null, [
40177
- createElementVNode("tbody", null, [
40178
- (openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (item0, index0) => {
40179
- return (openBlock(), createElementBlock(Fragment, { key: index0 }, [
40180
- (item0.hdlVisible ? item0.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue) : true)
40181
- ? (openBlock(), createElementBlock("tr", _hoisted_1$c, [
40182
- (!!item0.label)
40183
- ? (openBlock(), createElementBlock("td", {
40184
- key: 0,
40185
- style: normalizeStyle(style.field_box.left)
40162
+ return (__props.myProps)
40163
+ ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
40164
+ createCommentVNode(" 置顶菜单 "),
40165
+ (isMenuVisible.value)
40166
+ ? (openBlock(), createBlock(_component_ly0Menu, {
40167
+ key: 0,
40168
+ scopeThis: __props.scopeThis,
40169
+ myProps: __props.myProps.menu
40170
+ }, null, 8 /* PROPS */, ["scopeThis", "myProps"]))
40171
+ : createCommentVNode("v-if", true),
40172
+ createCommentVNode(" 表单区域可以分为多个列 "),
40173
+ createElementVNode("div", {
40174
+ style: normalizeStyle(style.root_box)
40175
+ }, [
40176
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.myProps.cols, (item, index) => {
40177
+ return (openBlock(), createElementBlock("div", { key: index }, [
40178
+ createElementVNode("table", null, [
40179
+ createElementVNode("tbody", null, [
40180
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (item0, index0) => {
40181
+ return (openBlock(), createElementBlock(Fragment, { key: index0 }, [
40182
+ (item0.hdlVisible ? item0.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue) : true)
40183
+ ? (openBlock(), createElementBlock("tr", _hoisted_2$c, [
40184
+ (!!item0.label)
40185
+ ? (openBlock(), createElementBlock("td", {
40186
+ key: 0,
40187
+ style: normalizeStyle(style.field_box.left)
40188
+ }, [
40189
+ createVNode(script$g, {
40190
+ scopeThis: __props.scopeThis,
40191
+ myProps: __props.myProps,
40192
+ dataBox: __props.dataBox,
40193
+ item: item0
40194
+ }, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
40195
+ ], 4 /* STYLE */))
40196
+ : createCommentVNode("v-if", true),
40197
+ createElementVNode("td", {
40198
+ style: normalizeStyle(style.field_box.right),
40199
+ colspan: style.no_field_label(item0)
40186
40200
  }, [
40187
- createVNode(script$g, {
40188
- scopeThis: __props.scopeThis,
40189
- myProps: __props.myProps,
40190
- dataBox: __props.dataBox,
40191
- item: item0
40192
- }, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
40193
- ], 4 /* STYLE */))
40194
- : createCommentVNode("v-if", true),
40195
- createElementVNode("td", {
40196
- style: normalizeStyle(style.field_box.right),
40197
- colspan: style.no_field_label(item0)
40198
- }, [
40199
- (item0.inputType === 'collapse')
40200
- ? (openBlock(), createBlock(_component_el_collapse, {
40201
- key: 0,
40202
- accordion:
40201
+ (item0.inputType === 'collapse')
40202
+ ? (openBlock(), createBlock(_component_el_collapse, {
40203
+ key: 0,
40204
+ accordion:
40203
40205
  'accordion' in item0 &&
40204
40206
  (item0.accordion === true || item0.accordion === 'true')
40205
40207
  ,
40206
- modelValue: item0.activeNames,
40207
- "onUpdate:modelValue": $event => ((item0.activeNames) = $event),
40208
- style: normalizeStyle(style.collapse.style)
40209
- }, {
40210
- default: withCtx(() => [
40211
- (openBlock(true), createElementBlock(Fragment, null, renderList(item0.items, (item1, index1) => {
40212
- return (openBlock(), createElementBlock(Fragment, { key: index1 }, [
40213
- (item1.hdlVisible ? item1.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue) : true)
40214
- ? (openBlock(), createBlock(_component_el_collapse_item, {
40215
- key: 0,
40216
- title: item1.title,
40217
- name: item1.name ? item1.name : index1
40218
- }, {
40219
- default: withCtx(() => [
40220
- createElementVNode("table", {
40221
- style: normalizeStyle(style.collapse.table)
40222
- }, [
40223
- (openBlock(true), createElementBlock(Fragment, null, renderList(item1.items, (item2, index2) => {
40224
- return (openBlock(), createElementBlock(Fragment, { key: index2 }, [
40225
- (
40208
+ modelValue: item0.activeNames,
40209
+ "onUpdate:modelValue": $event => ((item0.activeNames) = $event),
40210
+ style: normalizeStyle(style.collapse.style)
40211
+ }, {
40212
+ default: withCtx(() => [
40213
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item0.items, (item1, index1) => {
40214
+ return (openBlock(), createElementBlock(Fragment, { key: index1 }, [
40215
+ (item1.hdlVisible ? item1.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue) : true)
40216
+ ? (openBlock(), createBlock(_component_el_collapse_item, {
40217
+ key: 0,
40218
+ title: item1.title,
40219
+ name: item1.name ? item1.name : index1
40220
+ }, {
40221
+ default: withCtx(() => [
40222
+ createElementVNode("table", {
40223
+ style: normalizeStyle(style.collapse.table)
40224
+ }, [
40225
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item1.items, (item2, index2) => {
40226
+ return (openBlock(), createElementBlock(Fragment, { key: index2 }, [
40227
+ (
40226
40228
  item2.hdlVisible
40227
40229
  ? item2.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue)
40228
40230
  : true
40229
40231
  )
40230
- ? (openBlock(), createElementBlock("tr", _hoisted_3$7, [
40231
- (item2.label)
40232
- ? (openBlock(), createElementBlock("td", {
40233
- key: 0,
40234
- style: normalizeStyle(style.field_box.left)
40232
+ ? (openBlock(), createElementBlock("tr", _hoisted_4$6, [
40233
+ (item2.label)
40234
+ ? (openBlock(), createElementBlock("td", {
40235
+ key: 0,
40236
+ style: normalizeStyle(style.field_box.left)
40237
+ }, [
40238
+ createVNode(script$g, {
40239
+ scopeThis: __props.scopeThis,
40240
+ myProps: __props.myProps,
40241
+ dataBox: __props.dataBox,
40242
+ item: item2
40243
+ }, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
40244
+ ], 4 /* STYLE */))
40245
+ : createCommentVNode("v-if", true),
40246
+ createElementVNode("td", {
40247
+ style: normalizeStyle(style.field_box.right),
40248
+ colspan: style.no_field_label(item2)
40235
40249
  }, [
40236
- createVNode(script$g, {
40250
+ createVNode(script$f, {
40237
40251
  scopeThis: __props.scopeThis,
40238
40252
  myProps: __props.myProps,
40239
40253
  dataBox: __props.dataBox,
40240
40254
  item: item2
40241
40255
  }, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
40242
- ], 4 /* STYLE */))
40243
- : createCommentVNode("v-if", true),
40244
- createElementVNode("td", {
40245
- style: normalizeStyle(style.field_box.right),
40246
- colspan: style.no_field_label(item2)
40247
- }, [
40248
- createVNode(script$f, {
40249
- scopeThis: __props.scopeThis,
40250
- myProps: __props.myProps,
40251
- dataBox: __props.dataBox,
40252
- item: item2
40253
- }, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
40254
- ], 12 /* STYLE, PROPS */, _hoisted_4$6)
40255
- ]))
40256
- : createCommentVNode("v-if", true)
40257
- ], 64 /* STABLE_FRAGMENT */))
40258
- }), 128 /* KEYED_FRAGMENT */))
40259
- ], 4 /* STYLE */)
40260
- ]),
40261
- _: 2 /* DYNAMIC */
40262
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["title", "name"]))
40263
- : createCommentVNode("v-if", true)
40264
- ], 64 /* STABLE_FRAGMENT */))
40265
- }), 128 /* KEYED_FRAGMENT */))
40266
- ]),
40267
- _: 2 /* DYNAMIC */
40268
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["accordion", "modelValue", "onUpdate:modelValue", "style"]))
40269
- : (openBlock(), createBlock(script$f, {
40270
- key: 1,
40271
- scopeThis: __props.scopeThis,
40272
- myProps: __props.myProps,
40273
- dataBox: __props.dataBox,
40274
- item: item0
40275
- }, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"]))
40276
- ], 12 /* STYLE, PROPS */, _hoisted_2$c)
40277
- ]))
40278
- : createCommentVNode("v-if", true)
40279
- ], 64 /* STABLE_FRAGMENT */))
40280
- }), 128 /* KEYED_FRAGMENT */))
40281
- ])
40282
- ])
40283
- ]))
40284
- }), 128 /* KEYED_FRAGMENT */))
40285
- ], 4 /* STYLE */),
40286
- createCommentVNode(" 提交 "),
40287
- (__props.dataBox.hdlSubmit)
40288
- ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
40289
- createElementVNode("div", {
40290
- style: normalizeStyle(style.line)
40291
- }, null, 4 /* STYLE */),
40292
- createElementVNode("div", {
40293
- style: normalizeStyle(style.submit_box.style)
40294
- }, [
40295
- createVNode(_component_el_button, {
40296
- type: style.submit_box.button.facade.type,
40297
- plain: style.submit_box.button.facade.plain,
40298
- style: normalizeStyle(style.submit_box.button.style),
40299
- onClick: _cache[0] || (_cache[0] = $event => (__props.dataBox.hdlSubmit(__props.scopeThis, __props.dataBox.fieldsValue)))
40300
- }, {
40301
- default: withCtx(() => [...(_cache[1] || (_cache[1] = [
40302
- createTextVNode("提交", -1 /* CACHED */)
40303
- ]))]),
40304
- _: 1 /* STABLE */
40305
- }, 8 /* PROPS */, ["type", "plain", "style"])
40306
- ], 4 /* STYLE */)
40307
- ], 64 /* STABLE_FRAGMENT */))
40308
- : createCommentVNode("v-if", true)
40309
- ], 64 /* STABLE_FRAGMENT */))
40256
+ ], 12 /* STYLE, PROPS */, _hoisted_5$6)
40257
+ ]))
40258
+ : createCommentVNode("v-if", true)
40259
+ ], 64 /* STABLE_FRAGMENT */))
40260
+ }), 128 /* KEYED_FRAGMENT */))
40261
+ ], 4 /* STYLE */)
40262
+ ]),
40263
+ _: 2 /* DYNAMIC */
40264
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["title", "name"]))
40265
+ : createCommentVNode("v-if", true)
40266
+ ], 64 /* STABLE_FRAGMENT */))
40267
+ }), 128 /* KEYED_FRAGMENT */))
40268
+ ]),
40269
+ _: 2 /* DYNAMIC */
40270
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["accordion", "modelValue", "onUpdate:modelValue", "style"]))
40271
+ : (openBlock(), createBlock(script$f, {
40272
+ key: 1,
40273
+ scopeThis: __props.scopeThis,
40274
+ myProps: __props.myProps,
40275
+ dataBox: __props.dataBox,
40276
+ item: item0
40277
+ }, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"]))
40278
+ ], 12 /* STYLE, PROPS */, _hoisted_3$7)
40279
+ ]))
40280
+ : createCommentVNode("v-if", true)
40281
+ ], 64 /* STABLE_FRAGMENT */))
40282
+ }), 128 /* KEYED_FRAGMENT */))
40283
+ ])
40284
+ ])
40285
+ ]))
40286
+ }), 128 /* KEYED_FRAGMENT */))
40287
+ ], 4 /* STYLE */),
40288
+ createCommentVNode(" 提交 "),
40289
+ (__props.dataBox.hdlSubmit)
40290
+ ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
40291
+ createElementVNode("div", {
40292
+ style: normalizeStyle(style.line)
40293
+ }, null, 4 /* STYLE */),
40294
+ createElementVNode("div", {
40295
+ style: normalizeStyle(style.submit_box.style)
40296
+ }, [
40297
+ createVNode(_component_el_button, {
40298
+ type: style.submit_box.button.facade.type,
40299
+ plain: style.submit_box.button.facade.plain,
40300
+ style: normalizeStyle(style.submit_box.button.style),
40301
+ onClick: _cache[0] || (_cache[0] = $event => (__props.dataBox.hdlSubmit(__props.scopeThis, __props.dataBox.fieldsValue)))
40302
+ }, {
40303
+ default: withCtx(() => [...(_cache[1] || (_cache[1] = [
40304
+ createTextVNode("提交", -1 /* CACHED */)
40305
+ ]))]),
40306
+ _: 1 /* STABLE */
40307
+ }, 8 /* PROPS */, ["type", "plain", "style"])
40308
+ ], 4 /* STYLE */)
40309
+ ], 64 /* STABLE_FRAGMENT */))
40310
+ : createCommentVNode("v-if", true)
40311
+ ]))
40312
+ : createCommentVNode("v-if", true)
40310
40313
  }
40311
40314
  }
40312
40315