@vipl520/dk-ui 1.0.20 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +28 -42
  3. package/dist/index.min.js +7 -7
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.min.mjs +6 -6
  6. package/dist/index.min.mjs.map +1 -1
  7. package/dist/index.mjs +28 -42
  8. package/dist/web-types.json +1 -1
  9. package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
  10. package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
  11. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  12. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +2 -1
  13. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  14. package/es/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  15. package/es/page-diy/src/config/rule/min/index.d.ts +2 -0
  16. package/es/page-diy/style/dk-page-diy.css +1 -1
  17. package/es/page-diy/style/dk-page-diy.scss +3 -0
  18. package/es/page-diy/style/index.css +1 -1
  19. package/es/page-diy/style/index.scss +2 -3
  20. package/es/style-number-input/index.d.ts +2 -1
  21. package/es/style-number-input/src/style-number-input.vue.d.ts +2 -1
  22. package/es/style-number-input/src/style-number-input.vue2.mjs +3 -2
  23. package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
  24. package/es/style-position-input/src/style-position-input.vue2.mjs +23 -39
  25. package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
  26. package/lib/page-diy/src/components/DragBox.vue.js +1 -1
  27. package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
  28. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  29. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +2 -1
  30. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  31. package/lib/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  32. package/lib/page-diy/src/config/rule/min/index.d.ts +2 -0
  33. package/lib/page-diy/style/dk-page-diy.css +1 -1
  34. package/lib/page-diy/style/dk-page-diy.scss +3 -0
  35. package/lib/page-diy/style/index.css +1 -1
  36. package/lib/page-diy/style/index.scss +2 -3
  37. package/lib/style-number-input/index.d.ts +2 -1
  38. package/lib/style-number-input/src/style-number-input.vue.d.ts +2 -1
  39. package/lib/style-number-input/src/style-number-input.vue2.js +3 -2
  40. package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
  41. package/lib/style-position-input/src/style-position-input.vue2.js +22 -38
  42. package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
  43. package/package.json +1 -1
@@ -31,7 +31,7 @@ const _sfc_main = vue.defineComponent({
31
31
 
32
32
  return vue.h(draggable, subRule, {
33
33
  item: ({ element }) => {
34
- return vue.h('div', {}, keys[element.__fc__.key + 'fc'])
34
+ return vue.h('div', { class: 'drag-box-item' }, keys[element.__fc__.key + 'fc'])
35
35
  },
36
36
  })
37
37
  },
@@ -1 +1 @@
1
- {"version":3,"file":"DragBox.vue.js","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable/src/vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n // 这里报错 Unhandled error during execution of render function\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h('div', {}, keys[element.__fc__.key + 'fc'])\n },\n })\n },\n})\n</script>\n"],"names":["defineComponent","h"],"mappings":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EAAA;;;;;"}
1
+ {"version":3,"file":"DragBox.vue.js","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable/src/vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n // 这里报错 Unhandled error during execution of render function\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h('div', { class: 'drag-box-item' }, keys[element.__fc__.key + 'fc'])\n },\n })\n },\n})\n</script>\n"],"names":["defineComponent","h"],"mappings":";;;;;;;;AAIA,MAAK,SAAU,GAAGA,mBAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,SAAS;AACf,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC;EAC1C,MAAM,CAAC,GAAG,EAAE;IACV,MAAM,OAAM,GAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,MAAO,GAAA;AAC1D,IAAA,IAAI,MAAK,GAAI,GAAG,CAAC,GAAI,GAAE,iBAAe;AACtC,IAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;MACnC,MAAK,IAAK,GAAI,GAAE,GAAG,CAAC,GAAE,GAAI,UAAQ;AACpC,KAAA;AACA,IAAA,OAAO,CAAC,KAAM,GAAE,OAAK;IACrB,OAAO,CAAC,UAAS,GAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAA;;IAE9D,MAAM,IAAK,GAAE,GAAC;IACd,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;;AAEtB,MAAA,MAAM,QAAO,GAAI,GAAG,CAAC,MAAM,CAAC,OAAO,GAAC;MACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;AACtB,QAAA,IAAI,CAAC,CAAC,GAAG,EAAE;UACT,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA,GAAI,EAAA;AAChB,SAAA;OACD,EAAA;AACH,KAAA;;IAEA,OAAOC,KAAC,CAAC,SAAS,EAAE,OAAO,EAAE;AAC3B,MAAA,IAAI,EAAE,CAAC,EAAE,OAAM,EAAG,KAAK;AACrB,QAAA,OAAOA,KAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,eAAgB,EAAC,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAE,GAAI,IAAI,CAAC,CAAA;OAC5E;KACF,CAAA;GACF;AACH,CAAC,EAAA;;;;;"}
@@ -9,6 +9,7 @@ declare namespace _default {
9
9
  subtitle: string;
10
10
  };
11
11
  showStyle: boolean;
12
+ fixed: boolean;
12
13
  };
13
14
  export function props(): {
14
15
  type: string;
@@ -15,7 +15,8 @@ var DkMinTitle = {
15
15
  title: "\u4E3B\u6807\u9898",
16
16
  subtitle: "\u526F\u6807\u9898"
17
17
  },
18
- showStyle: true
18
+ showStyle: true,
19
+ fixed: true
19
20
  };
20
21
  },
21
22
  props() {
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinTitle.js","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinTitle.js"],"sourcesContent":["const label = '标题'\nconst name = 'DkMinTitle'\n\nexport default {\n icon: 'material-symbols:title',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n title: '主标题',\n subtitle: '副标题',\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'radio',\n field: 'type',\n title: '类型',\n value: '0',\n options: [\n { label: '默认', value: '0' },\n { label: '副标题', value: '1' },\n ],\n control: [\n {\n value: '0',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'radio',\n field: 'align',\n title: '位置',\n value: 'left',\n options: [\n { label: '居左', value: 'left' },\n { label: '居中', value: 'center' },\n ],\n },\n { type: 'DkColorInput', field: 'color', title: '标题色', value: '#000' },\n ],\n },\n {\n value: '1',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n { type: 'DkColorInput', field: 'color', title: '标题色', value: '#000' },\n { type: 'input', field: 'subtitle', title: '副标题', value: '' },\n { type: 'DkColorInput', field: 'subColor', title: '副标题色', value: '#999' },\n {\n type: 'switch',\n field: 'isMore',\n title: '显示更多',\n value: true,\n control: [\n {\n value: true,\n rule: [\n { type: 'input', field: 'moreText', title: '文本内容', value: '查看更多' },\n { type: 'input', field: 'url', title: '链接地址', value: '' },\n { type: 'DkColorInput', field: 'moreColor', title: '颜色', value: '#999' },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,oBAAA;AAAA,QACP,QAAU,EAAA,oBAAA;AAAA,OACZ;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,OAAA;AAAA,QACN,KAAO,EAAA,MAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,K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0BAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,cACxE;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,IAAA;AAAA,gBACP,OAAS,EAAA;AAAA,kBACP;AAAA,oBACE,KAAO,EAAA,IAAA;AAAA,oBACP,IAAM,EAAA;AAAA,sBACJ,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,YAAY,KAAO,EAAA,0BAAA,EAAQ,OAAO,0BAAO,EAAA;AAAA,sBACjE,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,OAAO,KAAO,EAAA,0BAAA,EAAQ,OAAO,EAAG,EAAA;AAAA,sBACxD,EAAE,MAAM,cAAgB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,MAAO,EAAA;AAAA,qBACzE;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkMinTitle.js","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinTitle.js"],"sourcesContent":["const label = '标题'\nconst name = 'DkMinTitle'\n\nexport default {\n icon: 'material-symbols:title',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n title: '主标题',\n subtitle: '副标题',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'radio',\n field: 'type',\n title: '类型',\n value: '0',\n options: [\n { label: '默认', value: '0' },\n { label: '副标题', value: '1' },\n ],\n control: [\n {\n value: '0',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'radio',\n field: 'align',\n title: '位置',\n value: 'left',\n options: [\n { label: '居左', value: 'left' },\n { label: '居中', value: 'center' },\n ],\n },\n { type: 'DkColorInput', field: 'color', title: '标题色', value: '#000' },\n ],\n },\n {\n value: '1',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n { type: 'DkColorInput', field: 'color', title: '标题色', value: '#000' },\n { type: 'input', field: 'subtitle', title: '副标题', value: '' },\n { type: 'DkColorInput', field: 'subColor', title: '副标题色', value: '#999' },\n {\n type: 'switch',\n field: 'isMore',\n title: '显示更多',\n value: true,\n control: [\n {\n value: true,\n rule: [\n { type: 'input', field: 'moreText', title: '文本内容', value: '查看更多' },\n { type: 'input', field: 'url', title: '链接地址', value: '' },\n { type: 'DkColorInput', field: 'moreColor', title: '颜色', value: '#999' },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,oBAAA;AAAA,QACP,QAAU,EAAA,oBAAA;AAAA,OACZ;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,OAAA;AAAA,QACN,KAAO,EAAA,MAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,GAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP,EAAE,KAAA,EAAO,cAAM,EAAA,KAAA,EAAO,GAAI,EAAA;AAAA,UAC1B,EAAE,KAAA,EAAO,oBAAO,EAAA,KAAA,EAAO,GAAI,EAAA;AAAA,SAC7B;AAAA,QACA,OAAS,EAAA;AAAA,UACP;AAAA,YACE,KAAO,EAAA,GAAA;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,EAAA;AAAA,sBACJ,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,YAAY,KAAO,EAAA,0BAAA,EAAQ,OAAO,0BAAO,EAAA;AAAA,sBACjE,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,OAAO,KAAO,EAAA,0BAAA,EAAQ,OAAO,EAAG,EAAA;AAAA,sBACxD,EAAE,MAAM,cAAgB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,MAAO,EAAA;AAAA,qBACzE;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -171,6 +171,7 @@ export const commonMenu: ({
171
171
  subtitle: string;
172
172
  };
173
173
  showStyle: boolean;
174
+ fixed: boolean;
174
175
  };
175
176
  props(): {
176
177
  type: string;
@@ -482,6 +483,7 @@ export const commonRuleList: {
482
483
  subtitle: string;
483
484
  };
484
485
  showStyle: boolean;
486
+ fixed: boolean;
485
487
  };
486
488
  props(): {
487
489
  type: string;
@@ -172,6 +172,7 @@ export const minRuleList: {
172
172
  subtitle: string;
173
173
  };
174
174
  showStyle: boolean;
175
+ fixed: boolean;
175
176
  };
176
177
  props(): {
177
178
  type: string;
@@ -486,6 +487,7 @@ export function createMinMenu(): {
486
487
  subtitle: string;
487
488
  };
488
489
  showStyle: boolean;
490
+ fixed: boolean;
489
491
  };
490
492
  props(): {
491
493
  type: string;
@@ -1 +1 @@
1
- @charset "UTF-8";._fc-l,._fc-m,._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}._fc-l::-webkit-scrollbar,._fc-m::-webkit-scrollbar,._fc-r::-webkit-scrollbar{display:none}._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}._fc-l ._fc-l-group{padding:0 12px}._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}._fc-l:hover .aside-toggle{display:block}._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}._fc-l .children-list::-webkit-scrollbar{display:none}._fc-m{background:#ebeced;width:100%}._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}._fc-r{width:calc(100% - 800px);overflow:inherit!important}._fc-r .el-tabs__nav-wrap{padding:0 20px}._fc-r .el-tabs__nav{width:100%}._fc-r .el-tabs__item{width:33%;text-align:center}._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}._fc-r:hover .aside-toggle{display:block}._fc-r .el-form-item__content{display:block}._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}._fc-m-drag,.draggable-drag{min-height:630px;height:100%;position:relative}._fc-m-drag .chosen,.draggable-drag .chosen{opacity:1!important}.aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.aside-resizer:hover{background:rgba(204,204,204,.5)}.aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}
1
+ @charset "UTF-8";._fc-l,._fc-m,._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}._fc-l::-webkit-scrollbar,._fc-m::-webkit-scrollbar,._fc-r::-webkit-scrollbar{display:none}._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}._fc-l ._fc-l-group{padding:0 12px}._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}._fc-l:hover .aside-toggle{display:block}._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}._fc-l .children-list::-webkit-scrollbar{display:none}._fc-m{background:#ebeced;width:100%}._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}._fc-r{width:calc(100% - 800px);overflow:inherit!important}._fc-r .el-tabs__nav-wrap{padding:0 20px}._fc-r .el-tabs__nav{width:100%}._fc-r .el-tabs__item{width:33%;text-align:center}._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}._fc-r:hover .aside-toggle{display:block}._fc-r .el-form-item__content{display:block}._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}._fc-m-drag,.draggable-drag{min-height:630px;height:100%;position:relative}._fc-m-drag .drag-box-item,.draggable-drag .drag-box-item{overflow:auto}._fc-m-drag .chosen,.draggable-drag .chosen{opacity:1!important}.aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.aside-resizer:hover{background:rgba(204,204,204,.5)}.aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}
@@ -306,6 +306,9 @@
306
306
  height: 100%;
307
307
  position: relative;
308
308
 
309
+ .drag-box-item {
310
+ overflow: auto;
311
+ }
309
312
  .chosen {
310
313
  opacity: 1 !important;
311
314
  }
@@ -1 +1 @@
1
- @charset "UTF-8";.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .drag-box{min-height:50px}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}.dk-page-diy ._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}.dk-page-diy ._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}.dk-page-diy ._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:var(--padding);position:relative;min-height:var(--minHeight);box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.dk-page-diy .preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.dk-page-diy .preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{-webkit-animation-name:changeRight;animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{-webkit-animation-name:changeLeft;animation-name:changeLeft}@-webkit-keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@-webkit-keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}.dk-page-diy .dk-min-swipe .image{width:100%}.dk-page-diy .dk-min-swipe .swipe-title{position:absolute;bottom:0;background:rgba(0,0,0,.3333333333);width:100%;color:#fff;padding:5px}.dk-page-diy .dk-min-area{position:relative}.dk-page-diy .hot-item{display:flex;align-items:center;justify-content:center;color:#fff}.diy-cloud .diy-header{display:flex;justify-content:space-between}.diy-cloud .diy-header .diy-search{width:500px;display:flex;align-items:center}.diy-cloud .diy-content{padding:20px 0}.diy-cloud .diy-content ul{height:520px}.diy-cloud .diy-content ul li{float:left;width:calc(16.6% - 10px);text-align:center;margin:5px;position:relative;transition:all .3s ease 0s;cursor:pointer;border-radius:10px;overflow:hidden;border:1px solid #ccc}.diy-cloud .diy-content ul li .cover{width:180px;height:240px;transition:all .3s ease 0s}.diy-cloud .diy-content ul li .title{position:absolute;bottom:0;padding:4px 10px;background:#fff;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .type{position:absolute;bottom:40px;padding:4px 10px;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .tag-list{position:absolute;bottom:30px;padding:4px 10px;color:#000;text-align:right;width:100%}.diy-cloud .diy-content ul li .tag-list .tag{font-size:12px;margin-top:17px;text-align:right;padding:2px 6px;top:180px;right:6px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:4px;margin-left:5px}.diy-cloud .diy-content ul li .mask{position:absolute;height:240px;width:180px;top:0;background:rgba(0,0,0,.3019607843)}.diy-cloud .diy-content ul li:hover{box-shadow:0 4px 12px 0 rgba(0,13,71,.2)}.diy-cloud .diy-content ul li.choose{transition:all .1s ease 0s;border:1px solid #1989fa}.diy-cloud .diy-footer{text-align:center;padding:10px}
1
+ @charset "UTF-8";.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}.dk-page-diy ._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}.dk-page-diy ._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}.dk-page-diy ._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .drag-box-item,.dk-page-diy .draggable-drag .drag-box-item{overflow:auto}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:var(--padding);position:relative;min-height:var(--minHeight);box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.dk-page-diy .preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.dk-page-diy .preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{-webkit-animation-name:changeRight;animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{-webkit-animation-name:changeLeft;animation-name:changeLeft}@-webkit-keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@-webkit-keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}.dk-page-diy .dk-min-swipe .image{width:100%}.dk-page-diy .dk-min-swipe .swipe-title{position:absolute;bottom:0;background:rgba(0,0,0,.3333333333);width:100%;color:#fff;padding:5px}.dk-page-diy .dk-min-area{position:relative}.dk-page-diy .hot-item{display:flex;align-items:center;justify-content:center;color:#fff}.diy-cloud .diy-header{display:flex;justify-content:space-between}.diy-cloud .diy-header .diy-search{width:500px;display:flex;align-items:center}.diy-cloud .diy-content{padding:20px 0}.diy-cloud .diy-content ul{height:520px}.diy-cloud .diy-content ul li{float:left;width:calc(16.6% - 10px);text-align:center;margin:5px;position:relative;transition:all .3s ease 0s;cursor:pointer;border-radius:10px;overflow:hidden;border:1px solid #ccc}.diy-cloud .diy-content ul li .cover{width:180px;height:240px;transition:all .3s ease 0s}.diy-cloud .diy-content ul li .title{position:absolute;bottom:0;padding:4px 10px;background:#fff;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .type{position:absolute;bottom:40px;padding:4px 10px;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .tag-list{position:absolute;bottom:30px;padding:4px 10px;color:#000;text-align:right;width:100%}.diy-cloud .diy-content ul li .tag-list .tag{font-size:12px;margin-top:17px;text-align:right;padding:2px 6px;top:180px;right:6px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:4px;margin-left:5px}.diy-cloud .diy-content ul li .mask{position:absolute;height:240px;width:180px;top:0;background:rgba(0,0,0,.3019607843)}.diy-cloud .diy-content ul li:hover{box-shadow:0 4px 12px 0 rgba(0,13,71,.2)}.diy-cloud .diy-content ul li.choose{transition:all .1s ease 0s;border:1px solid #1989fa}.diy-cloud .diy-footer{text-align:center;padding:10px}
@@ -2,14 +2,13 @@
2
2
  .dk-page-diy {
3
3
  min-width: 1000px;
4
4
  user-select: none;
5
- .drag-box {
6
- min-height: 50px;
7
- }
5
+
8
6
  @import './dk-page-diy';
9
7
  @import './drag-tool';
10
8
  @import './preview-phone';
11
9
  @import './views';
12
10
  @import './minViews';
13
11
  }
12
+
14
13
  @import './cloud';
15
14
  /* stylelint-enable */
@@ -23,7 +23,7 @@ export declare const StyleNumberInput: import("@vipl520/utils").WithInstall<impo
23
23
  default: string;
24
24
  type: StringConstructor;
25
25
  };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue")[], "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  modelValue: {
28
28
  default: string;
29
29
  type: StringConstructor;
@@ -49,6 +49,7 @@ export declare const StyleNumberInput: import("@vipl520/utils").WithInstall<impo
49
49
  type: StringConstructor;
50
50
  };
51
51
  }>> & {
52
+ onInput?: ((...args: any[]) => any) | undefined;
52
53
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
54
  }, {
54
55
  modelValue: string;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  default: string;
24
24
  type: StringConstructor;
25
25
  };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue")[], "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  modelValue: {
28
28
  default: string;
29
29
  type: StringConstructor;
@@ -49,6 +49,7 @@ declare const _default: import("vue").DefineComponent<{
49
49
  type: StringConstructor;
50
50
  };
51
51
  }>> & {
52
+ onInput?: ((...args: any[]) => any) | undefined;
52
53
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
54
  }, {
54
55
  modelValue: string;
@@ -12,7 +12,7 @@ const __default__ = vue.defineComponent({
12
12
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
13
  ...__default__,
14
14
  props: props.styleNumberInputProps,
15
- emits: ["update:modelValue"],
15
+ emits: ["input", "update:modelValue"],
16
16
  setup(__props, { emit }) {
17
17
  const props = __props;
18
18
  const values = utils.splitUnit(props.modelValue, props.units);
@@ -94,7 +94,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
94
94
  modelValue: form.number,
95
95
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => form.number = $event),
96
96
  type: "text",
97
- controls: false
97
+ controls: false,
98
+ onInput: _cache[2] || (_cache[2] = ($event) => emit("input", $event))
98
99
  }, vue.createSlots({
99
100
  prefix: vue.withCtx(() => [
100
101
  vue.createElementVNode(
@@ -1 +1 @@
1
- {"version":3,"file":"style-number-input.vue2.js","sources":["../../../src/style-number-input/src/style-number-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleNumberInput',\n});\n</script>\n<template>\n <div :class=\"['dk-style-number-input', props.direction]\">\n <el-input v-model=\"form.number\" type=\"text\" :controls=\"false\">\n <template #prefix>\n <span\n class=\"w-resize\"\n :class=\"[`${props.direction}-resize`]\"\n @mousemove=\"handleMouseMove\"\n @mousedown=\"handleMouseDown\"\n @mouseup=\"handleMouseUp\"\n >\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n :disabled=\"!props.tooltipContent\"\n :content=\"props.tooltipContent\"\n placement=\"top\"\n :open-delay=\"500\"\n >\n <dk-icon :icon=\"props.icon || 'Rank'\"></dk-icon>\n </el-tooltip>\n </span>\n </template>\n <template v-if=\"showUnit\" #append>\n <el-select v-model=\"form.unit\" style=\"width: 40px\" suffix-icon=\"\">\n <el-option v-for=\"(item, index) in units\" :key=\"index\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { styleNumberInputProps } from './props'\nimport { reactive, ref, watch } from 'vue'\nimport { splitUnit } from '@vipl520/utils'\n\n\nconst props = defineProps(styleNumberInputProps)\nconst values = splitUnit(props.modelValue, props.units)\nconst form: any = reactive({\n number: values.number,\n unit: values.unit || 'px',\n})\n\nconst isDragging = ref(false)\nconst trackMouseBound: any = ref(null)\nconst stopChangeBound: any = ref(null)\nconst startY = ref(0) // 开始的Y坐标\nconst startX = ref(0) // 开始的X坐标\nconst handleMouseDown = (event: any) => {\n isDragging.value = true\n startX.value = event.clientX\n startY.value = event.clientY\n trackMouseBound.value = handleMouseMove.bind(event)\n stopChangeBound.value = handleMouseUp.bind(event)\n document.addEventListener('mousemove', trackMouseBound.value)\n document.addEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'ew-resize'\n}\n\nconst handleMouseMove = (event: any) => {\n if (isDragging.value) {\n let increment\n if (props.direction === 'horizontal') {\n const dx = event.clientX - startX.value\n increment = Math.floor(dx / 10)\n startX.value += increment * 10\n } else if (props.direction === 'vertical') {\n const dy = event.clientY - startY.value\n increment = Math.floor(dy / 10)\n startY.value += increment * 10\n }\n form.number = parseInt(form.number + increment)\n }\n}\n\nconst handleMouseUp = () => {\n console.log('up')\n document.removeEventListener('mousemove', trackMouseBound.value)\n document.removeEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'default'\n isDragging.value = false\n}\nconst emit = defineEmits(['update:modelValue'])\n\nwatch(\n () => form,\n () => {\n if (form.number === '') {\n emit('update:modelValue', '')\n } else {\n emit('update:modelValue', form.number + form.unit)\n }\n },\n {\n deep: true,\n }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n const values = splitUnit(props.modelValue, props.units)\n form.number = values.number\n form.unit = values.unit || 'px'\n }\n)\n</script>\n"],"names":["__MACROS_defineComponent","splitUnit","reactive","ref","watch","values"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,oBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAyCD,IAAA,MAAM,MAAS,GAAAC,eAAA,CAAU,KAAM,CAAA,UAAA,EAAY,MAAM,KAAK,CAAA,CAAA;AACtD,IAAA,MAAM,OAAYC,YAAS,CAAA;AAAA,MACzB,QAAQ,MAAO,CAAA,MAAA;AAAA,MACf,IAAA,EAAM,OAAO,IAAQ,IAAA,IAAA;AAAA,KACtB,CAAA,CAAA;AAED,IA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AA;AAAA,MACZ,MAAM;AACJ,QAAA,MAAMC,OAAS,GAAAJ,eAAA,CAAU,KAAM,CAAA,UAAA,EAAY,MAAM,KAAK,CAAA,CAAA;AACtD,QAAA,IAAA,CAAK,SAASI,OAAO,CAAA,MAAA,CAAA;AACrB,QAAK,IAAA,CAAA,IAAA,GAAOA,QAAO,IAAQ,IAAA,IAAA,CAAA;AAAA,OAC7B;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"style-number-input.vue2.js","sources":["../../../src/style-number-input/src/style-number-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleNumberInput',\n});\n</script>\n<template>\n <div :class=\"['dk-style-number-input', props.direction]\">\n <el-input v-model=\"form.number\" type=\"text\" :controls=\"false\" @input=\"emit('input', $event)\">\n <template #prefix>\n <span\n class=\"w-resize\"\n :class=\"[`${props.direction}-resize`]\"\n @mousemove=\"handleMouseMove\"\n @mousedown=\"handleMouseDown\"\n @mouseup=\"handleMouseUp\"\n >\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n :disabled=\"!props.tooltipContent\"\n :content=\"props.tooltipContent\"\n placement=\"top\"\n :open-delay=\"500\"\n >\n <dk-icon :icon=\"props.icon || 'Rank'\"></dk-icon>\n </el-tooltip>\n </span>\n </template>\n <template v-if=\"showUnit\" #append>\n <el-select v-model=\"form.unit\" style=\"width: 40px\" suffix-icon=\"\">\n <el-option v-for=\"(item, index) in units\" :key=\"index\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { styleNumberInputProps } from './props'\nimport { reactive, ref, watch } from 'vue'\nimport { splitUnit } from '@vipl520/utils'\n\n\nconst props = defineProps(styleNumberInputProps)\nconst values = splitUnit(props.modelValue, props.units)\nconst form: any = reactive({\n number: values.number,\n unit: values.unit || 'px',\n})\n\nconst isDragging = ref(false)\nconst trackMouseBound: any = ref(null)\nconst stopChangeBound: any = ref(null)\nconst startY = ref(0) // 开始的Y坐标\nconst startX = ref(0) // 开始的X坐标\nconst handleMouseDown = (event: any) => {\n isDragging.value = true\n startX.value = event.clientX\n startY.value = event.clientY\n trackMouseBound.value = handleMouseMove.bind(event)\n stopChangeBound.value = handleMouseUp.bind(event)\n document.addEventListener('mousemove', trackMouseBound.value)\n document.addEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'ew-resize'\n}\n\nconst handleMouseMove = (event: any) => {\n if (isDragging.value) {\n let increment\n if (props.direction === 'horizontal') {\n const dx = event.clientX - startX.value\n increment = Math.floor(dx / 10)\n startX.value += increment * 10\n } else if (props.direction === 'vertical') {\n const dy = event.clientY - startY.value\n increment = Math.floor(dy / 10)\n startY.value += increment * 10\n }\n form.number = parseInt(form.number + increment)\n }\n}\n\nconst handleMouseUp = () => {\n console.log('up')\n document.removeEventListener('mousemove', trackMouseBound.value)\n document.removeEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'default'\n isDragging.value = false\n}\nconst emit = defineEmits(['input', 'update:modelValue'])\n\nwatch(\n () => form,\n () => {\n if (form.number === '') {\n emit('update:modelValue', '')\n } else {\n emit('update:modelValue', form.number + form.unit)\n }\n },\n {\n deep: true,\n }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n const values = splitUnit(props.modelValue, props.units)\n form.number = values.number\n form.unit = values.unit || 'px'\n }\n)\n</script>\n"],"names":["__MACROS_defineComponent","splitUnit","reactive","ref","watch","values"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,oBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAyCD,IAAA,MAAM,MAAS,GAAAC,eAAA,CAAU,KAAM,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,IAAA,CAAK,MAAS,GAAA,IAAA,CAAK,IAAI,CAAA,CAAA;AAAA,SACnD;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,OACR;AAAA,KACF,CAAA;AAEA,IAAAA,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,MAAM;AACJ,QAAA,MAAMC,OAAS,GAAAJ,eAAA,CAAU,KAAM,CAAA,UAAA,EAAY,MAAM,KAAK,CAAA,CAAA;AACtD,QAAA,IAAA,CAAK,SAASI,OAAO,CAAA,MAAA,CAAA;AACrB,QAAK,IAAA,CAAA,IAAA,GAAOA,QAAO,IAAQ,IAAA,IAAA,CAAA;AAAA,OAC7B;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -44,49 +44,40 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
44
44
  { label: "\u5DE6\u4E0A", value: "left-top" },
45
45
  { label: "\u5DE6\u4E0B", value: "left-down" },
46
46
  { label: "\u53F3\u4E0A", value: "right-top" },
47
- { label: "\u53F3\u4E0B", value: "right-down" }
47
+ { label: "\u53F3\u4E0B", value: "right-down" },
48
+ { label: "\u4E0B\u5C45\u4E2D", value: "down-center" },
49
+ { label: "\u4E0A\u5C45\u4E2D", value: "up-center" }
48
50
  ];
51
+ const change = vue.ref(false);
49
52
  const positionChange = (value) => {
53
+ change.value = true;
50
54
  switch (value) {
51
55
  case "left-top":
52
- form.value = {
53
- left: "1px",
54
- top: "0px",
55
- right: "",
56
- bottom: ""
57
- };
56
+ form.value = { left: "1px", top: "1px", right: "", bottom: "" };
58
57
  break;
59
58
  case "left-down":
60
- form.value = {
61
- left: "0px",
62
- top: "",
63
- right: "",
64
- bottom: "0px"
65
- };
59
+ form.value = { left: "1px", bottom: "1px", right: "", up: "" };
66
60
  break;
67
61
  case "right-top":
68
- form.value = {
69
- left: "",
70
- top: "0px",
71
- right: "0px",
72
- bottom: ""
73
- };
62
+ form.value = { top: "1px", right: "1px", left: "", bottom: "" };
74
63
  break;
75
64
  case "right-down":
76
- form.value = {
77
- left: "",
78
- top: "",
79
- right: "0px",
80
- bottom: "0px"
81
- };
65
+ form.value = { right: "1px", bottom: "1px", left: "", up: "" };
66
+ break;
67
+ case "down-center":
68
+ form.value = { left: "1px", right: "1px", bottom: "1px", up: "" };
69
+ break;
70
+ case "up-center":
71
+ form.value = { left: "1px", top: "1px", right: "1px", bottom: "" };
82
72
  break;
83
73
  }
84
- emitValue();
85
74
  };
86
75
  const emitValue = () => {
87
76
  const data = Object.keys(form.value).reduce((prev, cur) => {
88
- if (form.value[cur] && cur !== "position") {
89
- prev[cur] = form.value[cur];
77
+ if (change.value && form.value[cur] != "0px" || !change.value && cur !== "position") {
78
+ if (form.value[cur]) {
79
+ prev[cur] = form.value[cur];
80
+ }
90
81
  }
91
82
  return prev;
92
83
  }, {});
@@ -163,15 +154,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
163
154
  ]),
164
155
  _: 1
165
156
  /* STABLE */
166
- }),
167
- vue.createCommentVNode(' <el-select v-model="form.position" placeholder="Select">'),
168
- vue.createCommentVNode(" <el-option"),
169
- vue.createCommentVNode(' v-for="item in positions"'),
170
- vue.createCommentVNode(' :key="item.value"'),
171
- vue.createCommentVNode(' :label="item.label"'),
172
- vue.createCommentVNode(' :value="item.value"'),
173
- vue.createCommentVNode(" />"),
174
- vue.createCommentVNode(" </el-select>")
157
+ })
175
158
  ]),
176
159
  _: 1
177
160
  /* STABLE */
@@ -213,7 +196,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
213
196
  default: vue.withCtx(() => [
214
197
  vue.createVNode(_component_dk_style_number_input, {
215
198
  modelValue: form.value[item.value],
216
- "onUpdate:modelValue": ($event) => form.value[item.value] = $event
199
+ "onUpdate:modelValue": ($event) => form.value[item.value] = $event,
200
+ onInput: _cache[0] || (_cache[0] = ($event) => change.value = false)
217
201
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
218
202
  ]),
219
203
  _: 2
@@ -1 +1 @@
1
- {"version":3,"file":"style-position-input.vue2.js","sources":["../../../src/style-position-input/src/style-position-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStylePositionInput',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-style-position-input\">\n <el-form label-width=\"50px\" label-position=\"left\">\n <div>\n <el-form-item label=\"常用\">\n <el-radio-group @change=\"positionChange\">\n <el-radio-button v-for=\"(item, key) in positions\" :key=\"key\" :label=\"item.value\">\n {{ item.label }}\n </el-radio-button>\n </el-radio-group>\n <!-- <el-select v-model=\"form.position\" placeholder=\"Select\">-->\n <!-- <el-option-->\n <!-- v-for=\"item in positions\"-->\n <!-- :key=\"item.value\"-->\n <!-- :label=\"item.label\"-->\n <!-- :value=\"item.value\"-->\n <!-- />-->\n <!-- </el-select>-->\n </el-form-item>\n </div>\n <div class=\"m-t-10px\">\n <el-row :gutter=\"20\">\n <el-col v-for=\"(item, key) in custom\" :key=\"key\" :span=\"span\" class=\"m-b-5px\">\n <el-form-item :label=\"item.label\">\n <template #label>\n <el-tooltip class=\"item\" effect=\"dark\" :content=\"item.tip\" placement=\"top\">\n <span\n style=\"cursor: pointer\"\n :style=\"form[item.value] ? 'color:var(--el-color-primary)' : ''\"\n @click=\"form[item.value] = ''\"\n >\n {{ item.label }}:</span\n >\n </el-tooltip>\n </template>\n <dk-style-number-input v-model=\"form[item.value]\"></dk-style-number-input>\n </el-form-item>\n </el-col>\n </el-row>\n </div>\n </el-form>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { stylePositionInputProps } from './props'\nimport { computed, ref, watch } from 'vue'\nimport { useElementSize } from '@vueuse/core'\n\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\nconst span = computed(() => {\n if (width.value <= 300) {\n return 24\n } else if (width.value < 800) {\n return 12\n } else {\n return 6\n }\n})\n\n\n\nconst props = defineProps(stylePositionInputProps)\n\nconst form: any = ref({\n left: props.modelValue.left || '',\n top: props.modelValue.top || '',\n right: props.modelValue.right || '',\n bottom: props.modelValue.bottom || '',\n})\n\nconst custom = [\n { label: '上', value: 'top', tip: '当前距离顶部距离,点击清除' },\n { label: '右', value: 'right', tip: '当前距离右侧的距离,点击清除' },\n { label: '下', value: 'bottom', tip: '当前距离底部的距离,点击清除' },\n { label: '左', value: 'left', tip: '当前距离左侧的距离,点击清除' },\n]\n\nconst positions = [\n { label: '左上', value: 'left-top' },\n { label: '左下', value: 'left-down' },\n { label: '右上', value: 'right-top' },\n { label: '右下', value: 'right-down' },\n]\nconst emit = defineEmits(['update:modelValue'])\nconst positionChange = (value: string) => {\n switch (value) {\n case 'left-top':\n form.value = {\n left: '1px',\n top: '0px',\n right: '',\n bottom: '',\n }\n break\n case 'left-down':\n form.value = {\n left: '0px',\n top: '',\n right: '',\n bottom: '0px',\n }\n break\n case 'right-top':\n form.value = {\n left: '',\n top: '0px',\n right: '0px',\n bottom: '',\n }\n break\n case 'right-down':\n form.value = {\n left: '',\n top: '',\n right: '0px',\n bottom: '0px',\n }\n break\n }\n emitValue()\n}\nconst emitValue = () => {\n // 只保留form中有的值,并移除position\n const data = Object.keys(form.value).reduce((prev: any, cur) => {\n if (form.value[cur] && cur !== 'position') {\n prev[cur] = form.value[cur]\n }\n return prev\n }, {})\n emit('update:modelValue', data)\n}\nwatch(\n () => form.value,\n () => {\n emitValue()\n },\n { deep: true }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n Object.keys(props.modelValue).reduce((prev: any, cur) => {\n if (cur !== 'position') {\n prev[cur] = props.modelValue[cur]\n }\n return prev\n }, form.value)\n },\n { deep: true }\n)\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","computed","watch"],"mappings":";;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"style-position-input.vue2.js","sources":["../../../src/style-position-input/src/style-position-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStylePositionInput',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-style-position-input\">\n <el-form label-width=\"50px\" label-position=\"left\">\n <div>\n <el-form-item label=\"常用\">\n <el-radio-group @change=\"positionChange\">\n <el-radio-button v-for=\"(item, key) in positions\" :key=\"key\" :label=\"item.value\">\n {{ item.label }}\n </el-radio-button>\n </el-radio-group>\n </el-form-item>\n </div>\n <div class=\"m-t-10px\">\n <el-row :gutter=\"20\">\n <el-col v-for=\"(item, key) in custom\" :key=\"key\" :span=\"span\" class=\"m-b-5px\">\n <el-form-item :label=\"item.label\">\n <template #label>\n <el-tooltip class=\"item\" effect=\"dark\" :content=\"item.tip\" placement=\"top\">\n <span\n style=\"cursor: pointer\"\n :style=\"form[item.value] ? 'color:var(--el-color-primary)' : ''\"\n @click=\"form[item.value] = ''\"\n >\n {{ item.label }}:</span\n >\n </el-tooltip>\n </template>\n <dk-style-number-input v-model=\"form[item.value]\" @input=\"change = false\"></dk-style-number-input>\n </el-form-item>\n </el-col>\n </el-row>\n </div>\n </el-form>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { stylePositionInputProps } from './props'\nimport { computed, ref, watch } from 'vue'\nimport { useElementSize } from '@vueuse/core'\n\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\nconst span = computed(() => {\n if (width.value <= 300) {\n return 24\n } else if (width.value < 800) {\n return 12\n } else {\n return 6\n }\n})\n\n\n\nconst props = defineProps(stylePositionInputProps)\n\nconst form: any = ref({\n left: props.modelValue.left || '',\n top: props.modelValue.top || '',\n right: props.modelValue.right || '',\n bottom: props.modelValue.bottom || '',\n})\n\nconst custom = [\n { label: '上', value: 'top', tip: '当前距离顶部距离,点击清除' },\n { label: '右', value: 'right', tip: '当前距离右侧的距离,点击清除' },\n { label: '下', value: 'bottom', tip: '当前距离底部的距离,点击清除' },\n { label: '左', value: 'left', tip: '当前距离左侧的距离,点击清除' },\n]\n\nconst positions = [\n { label: '左上', value: 'left-top' },\n { label: '左下', value: 'left-down' },\n { label: '右上', value: 'right-top' },\n { label: '右下', value: 'right-down' },\n { label: '下居中', value: 'down-center' },\n { label: '上居中', value: 'up-center' },\n]\nconst emit = defineEmits(['update:modelValue'])\n\nconst change = ref(false)\n\nconst positionChange = (value: string) => {\n change.value = true\n switch (value) {\n case 'left-top':\n form.value = { left: '1px', top: '1px', right: '', bottom: '' }\n break\n case 'left-down':\n form.value = { left: '1px', bottom: '1px', right: '', up: '' }\n break\n case 'right-top':\n form.value = { top: '1px', right: '1px', left: '', bottom: '' }\n break\n case 'right-down':\n form.value = { right: '1px', bottom: '1px', left: '', up: '' }\n break\n case 'down-center':\n form.value = { left: '1px', right: '1px', bottom: '1px', up: '' }\n break\n case 'up-center':\n form.value = { left: '1px', top: '1px', right: '1px', bottom: '' }\n break\n }\n // emitValue()\n}\nconst emitValue = () => {\n const data = Object.keys(form.value).reduce((prev: any, cur) => {\n // 当 change.value 存在时检查是否不等于 '0px',否则只检查当前 key 是否不等于 'position'\n if ((change.value && form.value[cur] != '0px') || (!change.value && cur !== 'position')) {\n if (form.value[cur]) {\n prev[cur] = form.value[cur]\n }\n }\n return prev\n }, {})\n emit('update:modelValue', data)\n}\nwatch(\n () => form.value,\n () => {\n emitValue()\n },\n { deep: true }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n Object.keys(props.modelValue).reduce((prev: any, cur) => {\n if (cur !== 'position') {\n prev[cur] = props.modelValue[cur]\n }\n return prev\n }, form.value)\n },\n { deep: true }\n)\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","computed","watch"],"mappings":";;;;;;;;;;AAEA,MAA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AAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;AAEA,IAAAA,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,MAAM;AACJ,QAAA,MAAA,CAAO,KAAK,KAAM,CAAA,UAAU,EAAE,MAAO,CAAA,CAAC,MAAW,GAAQ,KAAA;AACvD,UAAA,IAAI,QAAQ,UAAY,EAAA;AACtB,YAAA,IAAA,CAAK,GAAG,CAAA,GAAI,KAAM,CAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AAAA,WAClC;AACA,UAAO,OAAA,IAAA,CAAA;AAAA,SACT,EAAG,KAAK,KAAK,CAAA,CAAA;AAAA,OACf;AAAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vipl520/dk-ui",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Vant extension components.",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",