vft 0.0.370 → 0.0.372

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.
Files changed (56) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/button/index.d.ts +9 -9
  3. package/es/components/carousel/use-carousel.js +1 -1
  4. package/es/components/form/form-item.vue.d.ts +1 -1
  5. package/es/components/form/form-item.vue2.js +3 -2
  6. package/es/components/form/index.d.ts +30 -30
  7. package/es/components/input/input.vue2.js +4 -4
  8. package/es/components/input-tag/composables/use-input-tag.js +1 -1
  9. package/es/components/popconfirm/index.d.ts +15 -15
  10. package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
  11. package/es/components/select/defaults.d.ts +7 -2
  12. package/es/components/select/defaults.js +3 -1
  13. package/es/components/select/option-item.vue.d.ts +12 -2
  14. package/es/components/select/select-dropdown.js +6 -6
  15. package/es/components/skeleton/index.d.ts +12 -0
  16. package/es/components/skeleton/skeleton-item.vue.d.ts +2 -0
  17. package/es/components/skeleton/skeleton-item.vue2.js +22 -16
  18. package/es/components/super-form/index.d.ts +5 -0
  19. package/es/components/super-form/super-form-action.vue2.js +42 -40
  20. package/es/components/super-form/super-form-item.vue2.js +312 -188
  21. package/es/components/super-form/super-form.vue.d.ts +2 -0
  22. package/es/components/super-form/super-form.vue2.js +64 -63
  23. package/es/components/super-form/types.d.ts +6 -0
  24. package/es/components/super-form/use/use-form-context.d.ts +1 -0
  25. package/es/package.json.d.ts +1 -1
  26. package/es/package.json.js +1 -1
  27. package/es/utils/vue/vnode.js +1 -1
  28. package/lib/components/button/index.d.ts +9 -9
  29. package/lib/components/form/form-item.vue.d.ts +1 -1
  30. package/lib/components/form/form-item.vue2.cjs +1 -1
  31. package/lib/components/form/index.d.ts +30 -30
  32. package/lib/components/input/input.vue2.cjs +1 -1
  33. package/lib/components/popconfirm/index.d.ts +15 -15
  34. package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
  35. package/lib/components/select/defaults.cjs +1 -1
  36. package/lib/components/select/defaults.d.ts +7 -2
  37. package/lib/components/select/option-item.vue.d.ts +12 -2
  38. package/lib/components/select/select-dropdown.cjs +1 -1
  39. package/lib/components/skeleton/index.d.ts +12 -0
  40. package/lib/components/skeleton/skeleton-item.vue.d.ts +2 -0
  41. package/lib/components/skeleton/skeleton-item.vue2.cjs +1 -1
  42. package/lib/components/super-form/index.d.ts +5 -0
  43. package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
  44. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  45. package/lib/components/super-form/super-form.vue.d.ts +2 -0
  46. package/lib/components/super-form/super-form.vue2.cjs +1 -1
  47. package/lib/components/super-form/types.d.ts +6 -0
  48. package/lib/components/super-form/use/use-form-context.d.ts +1 -0
  49. package/lib/package.json.cjs +1 -1
  50. package/lib/package.json.d.ts +1 -1
  51. package/package.json +5 -5
  52. package/theme-style/index.css +1 -1
  53. package/theme-style/src/common/icon.scss +1 -0
  54. package/theme-style/src/super-form.scss +15 -0
  55. package/theme-style/vft-super-form.css +1 -1
  56. package/web-types.json +1 -1
@@ -52,6 +52,7 @@ $icon-close-box-multiple-outline: 'data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2
52
52
  $icon-vector-square-delete: 'data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M13 19c0-.3 0-.7.1-1H8v-2H6V8h2V6h8v2h2v5.1c.3-.1.7-.1 1-.1c.3 0 .7 0 1 .1V8h2V2h-6v2H8V2H2v6h2v8H2v6h6v-2h5.1c-.1-.3-.1-.7-.1-1m5-15h2v2h-2V4M4 4h2v2H4V4m2 16H4v-2h2v2m16.5-3.1L20.4 19l2.1 2.1l-1.4 1.4l-2.1-2.1l-2.1 2.1l-1.4-1.4l2.1-2.1l-2.1-2.1l1.4-1.4l2.1 2.1l2.1-2.1l1.4 1.4Z"%2F%3E%3C%2Fsvg%3E';
53
53
  $icon-more-filled: 'data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="1024" height="1024" viewBox="0 0 1024 1024"%3E%3Cpath fill="currentColor" d="M176 416a112 112 0 1 1 0 224a112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224a112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224a112 112 0 0 1 0-224z"%2F%3E%3C%2Fsvg%3E';
54
54
  $icon-sidebar-collapse: 'data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"%3E%3Cpath d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2Z"%2F%3E%3Cpath d="M7.25 10L5.5 12l1.75 2m2.25 7V3"%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E';
55
+ $icon-help: 'data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887t-.362-.888t-.888-.362t-.887.363t-.363.887t.363.888t.887.362m.05 4q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m.1-12.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.937t.75-.788q.575-.55.988-1.2t.412-1.45q0-1.275-1.037-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.112.638t.337.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2"/%3E%3C%2Fsvg%3E';
55
56
  // status
56
57
  $icon-warning: 'data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="1024" height="1024" viewBox="0 0 1024 1024"%3E%3Cpath fill="currentColor" d="M512 64a448 448 0 1 1 0 896a448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768a384 384 0 0 0 0 768zm48-176a48 48 0 1 1-96 0a48 48 0 0 1 96 0zm-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"%2F%3E%3C%2Fsvg%3E';
57
58
  $icon-warning-filled: 'data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="1024" height="1024" viewBox="0 0 1024 1024"%3E%3Cpath fill="currentColor" d="M512 64a448 448 0 1 1 0 896a448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4a51.2 51.2 0 0 0 0 102.4z"%2F%3E%3C%2Fsvg%3E';
@@ -51,7 +51,22 @@ $name: super-form;
51
51
  width: 100%;
52
52
  }
53
53
 
54
+ .label-content {
55
+ display: flex;
56
+ align-items: center;
57
+
58
+ .vft-icon {
59
+ margin-left: 6px;
60
+ }
61
+ }
62
+
54
63
  .icon-arrow-upload {
55
64
  @include icon-common($icon-upload);
56
65
  }
66
+
67
+ .icon-help {
68
+ @include icon-common($icon-help);
69
+ }
70
+
71
+
57
72
  }
@@ -1 +1 @@
1
- .vft-super-form__container{display:flex;width:100%}.vft-super-form__content{display:flex;flex:1;line-height:1}.vft-super-form__item .sub-label{color:var(--vft-text-placeholder-color);font-size:12px}.vft-super-form.is-suffix--suffix{display:inline-flex;align-items:center;padding-left:6px;line-height:1}.vft-super-form .is-comp-full-width .vft-select{width:100%}.vft-super-form .submit-block{width:100%}.vft-super-form .label-required{margin-right:4px;color:var(--vft-danger-color)}.vft-super-form .vft-date-editor.vft-input__wrapper,.vft-super-form .vft-upload-wrapper{width:100%}.vft-super-form .icon-arrow-upload{width:1em;height:1em;background-color:currentcolor;-webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="1024" height="1024" viewBox="0 0 1024 1024"%3E%3Cpath fill="currentColor" d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048L192 444.8L508.8 128l316.8 316.8l-45.312 45.248L544 253.696z"%2F%3E%3C%2Fsvg%3E') no-repeat;mask:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="1024" height="1024" viewBox="0 0 1024 1024"%3E%3Cpath fill="currentColor" d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048L192 444.8L508.8 128l316.8 316.8l-45.312 45.248L544 253.696z"%2F%3E%3C%2Fsvg%3E') no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
1
+ .vft-super-form__container{display:flex;width:100%}.vft-super-form__content{display:flex;flex:1;line-height:1}.vft-super-form__item .sub-label{color:var(--vft-text-placeholder-color);font-size:12px}.vft-super-form.is-suffix--suffix{display:inline-flex;align-items:center;padding-left:6px;line-height:1}.vft-super-form .is-comp-full-width .vft-select{width:100%}.vft-super-form .submit-block{width:100%}.vft-super-form .label-required{margin-right:4px;color:var(--vft-danger-color)}.vft-super-form .vft-date-editor.vft-input__wrapper,.vft-super-form .vft-upload-wrapper{width:100%}.vft-super-form .label-content{display:flex;align-items:center}.vft-super-form .label-content .vft-icon{margin-left:6px}.vft-super-form .icon-arrow-upload{width:1em;height:1em;background-color:currentcolor;-webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="1024" height="1024" viewBox="0 0 1024 1024"%3E%3Cpath fill="currentColor" d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048L192 444.8L508.8 128l316.8 316.8l-45.312 45.248L544 253.696z"%2F%3E%3C%2Fsvg%3E') no-repeat;mask:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="1024" height="1024" viewBox="0 0 1024 1024"%3E%3Cpath fill="currentColor" d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048L192 444.8L508.8 128l316.8 316.8l-45.312 45.248L544 253.696z"%2F%3E%3C%2Fsvg%3E') no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.vft-super-form .icon-help{width:1em;height:1em;background-color:currentcolor;-webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887t-.362-.888t-.888-.362t-.887.363t-.363.887t.363.888t.887.362m.05 4q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m.1-12.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.937t.75-.788q.575-.55.988-1.2t.412-1.45q0-1.275-1.037-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.112.638t.337.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2"/%3E%3C%2Fsvg%3E') no-repeat;mask:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887t-.362-.888t-.888-.362t-.887.363t-.363.887t.363.888t.887.362m.05 4q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m.1-12.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.937t.75-.788q.575-.55.988-1.2t.412-1.45q0-1.275-1.037-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.112.638t.337.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2"/%3E%3C%2Fsvg%3E') no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
package/web-types.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.370","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{}}}
1
+ {"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.372","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{}}}