@yoooloo42/joker 1.0.61 → 1.0.62

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
@@ -1,5 +1,5 @@
1
1
  import { useRouter } from 'vue-router';
2
- import { computed, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, reactive, ref, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, unref } from 'vue';
2
+ import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, unref } from 'vue';
3
3
 
4
4
  function _mergeNamespaces(n, m) {
5
5
  m.forEach(function (e) {
@@ -22419,14 +22419,10 @@ var script$h = {
22419
22419
 
22420
22420
  const props = __props;
22421
22421
 
22422
- const style = {
22423
- box: computed(()=>{
22424
- return styleModule.label.box(props.item)
22425
- }),
22426
- label: computed(()=>{
22427
- return styleModule.label.label(props.item)
22428
- }),
22429
- };
22422
+ const style = ref({
22423
+ box: styleModule.label.box(props.item),
22424
+ label: styleModule.label.label(props.item),
22425
+ });
22430
22426
 
22431
22427
  const hdlClick = () => {
22432
22428
  if(props.item.hdlLabelClick){
@@ -22438,11 +22434,11 @@ return (_ctx, _cache) => {
22438
22434
  return (openBlock(), createElementBlock(Fragment, null, [
22439
22435
  createCommentVNode(" label-box "),
22440
22436
  createElementVNode("div", {
22441
- style: normalizeStyle(style.box),
22437
+ style: normalizeStyle(style.value.box),
22442
22438
  onClick: hdlClick
22443
22439
  }, [
22444
22440
  createElementVNode("span", {
22445
- style: normalizeStyle(style.label)
22441
+ style: normalizeStyle(style.value.label)
22446
22442
  }, toDisplayString(__props.item.label), 5 /* TEXT, STYLE */)
22447
22443
  ], 4 /* STYLE */)
22448
22444
  ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))