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