@vipl520/dk-ui 1.0.52 → 1.0.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +2012 -1428
  4. package/dist/index.min.js +4 -4
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +4 -4
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +2011 -1429
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/form/src/form.vue2.mjs +0 -1
  12. package/es/form/src/form.vue2.mjs.map +1 -1
  13. package/es/group/src/group.vue2.mjs +1 -0
  14. package/es/group/src/group.vue2.mjs.map +1 -1
  15. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +23 -21
  16. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  17. package/es/icon/style/index.css +0 -1
  18. package/es/icon/style/index.scss +1 -1
  19. package/es/index.d.ts +1 -0
  20. package/es/index.mjs +5 -2
  21. package/es/index.mjs.map +1 -1
  22. package/es/index.scss +1 -0
  23. package/es/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  24. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs +114 -0
  25. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs.map +1 -0
  26. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  27. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +7 -1
  28. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -1
  29. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  30. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +76 -62
  31. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  32. package/es/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  33. package/es/page-diy/src/config/rule/min/common/index.mjs +4 -2
  34. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  35. package/es/page-diy/src/config/rule/min/index.d.ts +240 -60
  36. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs +1 -1
  37. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -1
  38. package/es/page-diy/src/props.mjs +1 -1
  39. package/es/page-diy/src/props.mjs.map +1 -1
  40. package/es/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  41. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +65 -0
  42. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -0
  43. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  44. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +7 -2
  45. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  46. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  47. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +59 -30
  48. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  49. package/es/page-diy/src/views/min/index.mjs +3 -1
  50. package/es/page-diy/src/views/min/index.mjs.map +1 -1
  51. package/es/page-diy/style/drag-tool.css +1 -1
  52. package/es/page-diy/style/drag-tool.scss +4 -0
  53. package/es/page-diy/style/index.css +1 -1
  54. package/es/page-diy/style/minViews/index.scss +8 -0
  55. package/es/style-box-input/src/style-box-input.vue2.mjs +200 -130
  56. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  57. package/es/style-box-input/style/index.css +1 -1
  58. package/es/style-box-input/style/index.scss +13 -3
  59. package/es/style-font-input/src/style-font-input.vue2.mjs +105 -272
  60. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  61. package/es/style-input/src/style-input.vue2.mjs +1 -0
  62. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  63. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +1 -1
  64. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  65. package/es/test/index.d.ts +4 -2
  66. package/es/test/src/test.vue.d.ts +4 -2
  67. package/es/test/src/test.vue2.mjs +14 -3
  68. package/es/test/src/test.vue2.mjs.map +1 -1
  69. package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
  70. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  71. package/es/uni-icon/style/index.css +1 -1
  72. package/es/uni-icon/style/index.scss +1 -1
  73. package/es/url-input/index.d.ts +35 -0
  74. package/es/url-input/index.mjs +8 -0
  75. package/es/url-input/index.mjs.map +1 -0
  76. package/es/url-input/src/props.d.ts +16 -0
  77. package/es/url-input/src/props.mjs +13 -0
  78. package/es/url-input/src/props.mjs.map +1 -0
  79. package/es/url-input/src/url-input-content.vue.d.ts +25 -0
  80. package/es/url-input/src/url-input-content.vue.mjs +7 -0
  81. package/es/url-input/src/url-input-content.vue.mjs.map +1 -0
  82. package/es/url-input/src/url-input-content.vue2.mjs +301 -0
  83. package/es/url-input/src/url-input-content.vue2.mjs.map +1 -0
  84. package/es/url-input/src/url-input-table.vue.d.ts +16 -0
  85. package/es/url-input/src/url-input-table.vue.mjs +7 -0
  86. package/es/url-input/src/url-input-table.vue.mjs.map +1 -0
  87. package/es/url-input/src/url-input-table.vue2.mjs +63 -0
  88. package/es/url-input/src/url-input-table.vue2.mjs.map +1 -0
  89. package/es/url-input/src/url-input.vue.d.ts +34 -0
  90. package/es/url-input/src/url-input.vue.mjs +7 -0
  91. package/es/url-input/src/url-input.vue.mjs.map +1 -0
  92. package/es/url-input/src/url-input.vue2.mjs +69 -0
  93. package/es/url-input/src/url-input.vue2.mjs.map +1 -0
  94. package/es/url-input/style/index.css +1 -0
  95. package/es/url-input/style/index.scss +39 -0
  96. package/lib/form/src/form.vue2.js +0 -1
  97. package/lib/form/src/form.vue2.js.map +1 -1
  98. package/lib/group/src/group.vue2.js +1 -0
  99. package/lib/group/src/group.vue2.js.map +1 -1
  100. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +23 -21
  101. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  102. package/lib/icon/style/index.css +0 -1
  103. package/lib/icon/style/index.scss +1 -1
  104. package/lib/index.d.ts +1 -0
  105. package/lib/index.js +8 -3
  106. package/lib/index.js.map +1 -1
  107. package/lib/index.scss +1 -0
  108. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  109. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js +118 -0
  110. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js.map +1 -0
  111. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  112. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +7 -1
  113. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -1
  114. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  115. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +76 -62
  116. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  117. package/lib/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  118. package/lib/page-diy/src/config/rule/min/common/index.js +4 -2
  119. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  120. package/lib/page-diy/src/config/rule/min/index.d.ts +240 -60
  121. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js +1 -1
  122. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -1
  123. package/lib/page-diy/src/props.js +1 -1
  124. package/lib/page-diy/src/props.js.map +1 -1
  125. package/lib/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  126. package/lib/page-diy/src/views/min/DkMinGrid.vue.js +69 -0
  127. package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -0
  128. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  129. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +7 -2
  130. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  131. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  132. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +58 -29
  133. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  134. package/lib/page-diy/src/views/min/index.js +3 -1
  135. package/lib/page-diy/src/views/min/index.js.map +1 -1
  136. package/lib/page-diy/style/drag-tool.css +1 -1
  137. package/lib/page-diy/style/drag-tool.scss +4 -0
  138. package/lib/page-diy/style/index.css +1 -1
  139. package/lib/page-diy/style/minViews/index.scss +8 -0
  140. package/lib/style-box-input/src/style-box-input.vue2.js +199 -129
  141. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  142. package/lib/style-box-input/style/index.css +1 -1
  143. package/lib/style-box-input/style/index.scss +13 -3
  144. package/lib/style-font-input/src/style-font-input.vue2.js +105 -272
  145. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  146. package/lib/style-input/src/style-input.vue2.js +1 -0
  147. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  148. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +1 -1
  149. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  150. package/lib/test/index.d.ts +4 -2
  151. package/lib/test/src/test.vue.d.ts +4 -2
  152. package/lib/test/src/test.vue2.js +14 -3
  153. package/lib/test/src/test.vue2.js.map +1 -1
  154. package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
  155. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  156. package/lib/uni-icon/style/index.css +1 -1
  157. package/lib/uni-icon/style/index.scss +1 -1
  158. package/lib/url-input/index.d.ts +35 -0
  159. package/lib/url-input/index.js +14 -0
  160. package/lib/url-input/index.js.map +1 -0
  161. package/lib/url-input/src/props.d.ts +16 -0
  162. package/lib/url-input/src/props.js +15 -0
  163. package/lib/url-input/src/props.js.map +1 -0
  164. package/lib/url-input/src/url-input-content.vue.d.ts +25 -0
  165. package/lib/url-input/src/url-input-content.vue.js +11 -0
  166. package/lib/url-input/src/url-input-content.vue.js.map +1 -0
  167. package/lib/url-input/src/url-input-content.vue2.js +305 -0
  168. package/lib/url-input/src/url-input-content.vue2.js.map +1 -0
  169. package/lib/url-input/src/url-input-table.vue.d.ts +16 -0
  170. package/lib/url-input/src/url-input-table.vue.js +11 -0
  171. package/lib/url-input/src/url-input-table.vue.js.map +1 -0
  172. package/lib/url-input/src/url-input-table.vue2.js +67 -0
  173. package/lib/url-input/src/url-input-table.vue2.js.map +1 -0
  174. package/lib/url-input/src/url-input.vue.d.ts +34 -0
  175. package/lib/url-input/src/url-input.vue.js +11 -0
  176. package/lib/url-input/src/url-input.vue.js.map +1 -0
  177. package/lib/url-input/src/url-input.vue2.js +73 -0
  178. package/lib/url-input/src/url-input.vue2.js.map +1 -0
  179. package/lib/url-input/style/index.css +1 -0
  180. package/lib/url-input/style/index.scss +39 -0
  181. package/package.json +1 -1
@@ -69,6 +69,14 @@ declare namespace _default {
69
69
  props?: undefined;
70
70
  options?: undefined;
71
71
  effect?: undefined;
72
+ } | {
73
+ type: string;
74
+ field: string;
75
+ title: string;
76
+ value: number;
77
+ props?: undefined;
78
+ options?: undefined;
79
+ effect?: undefined;
72
80
  } | {
73
81
  type: string;
74
82
  field: string;
@@ -131,6 +131,12 @@ var DkMinSwiperImage = {
131
131
  title: "\u663E\u793A\u6807\u9898",
132
132
  value: false
133
133
  },
134
+ {
135
+ type: "inputNumber",
136
+ field: "radius",
137
+ title: "\u5F27\u5EA6",
138
+ value: 0
139
+ },
134
140
  {
135
141
  type: "DkGroup",
136
142
  field: "swipeList",
@@ -163,7 +169,7 @@ var DkMinSwiperImage = {
163
169
  title: "\u662F\u5426\u663E\u793A"
164
170
  },
165
171
  {
166
- type: "input",
172
+ type: "DkUrlInput",
167
173
  field: "url",
168
174
  props: {
169
175
  showInput: false
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinSwiperImage.js","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinSwiperImage.js"],"sourcesContent":["const label = '轮播图'\nconst name = 'DkMinSwiperImage'\n\nexport default {\n icon: 'dashicons:images-alt2',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n swipeList: [\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/06/FsivVhWrSJsQWx0GhgOJKS_IOQp_.jpg?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称1',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/07/Fm30KtbmHzLJ96USZWFGI8FLQVss.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称2',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/01/Fj19dCrgsMyTYdrr89b9iheMVFZU.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称3',\n show: true,\n },\n ],\n height: 160,\n autoplay: 2000,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'inputNumber',\n field: 'height',\n title: '图片高度',\n value: 200,\n props: { min: 0, max: 500 },\n },\n {\n type: 'select',\n field: 'imgMode',\n title: '裁剪缩放模式',\n value: 'aspectFill',\n options: [\n {\n label: 'scaleToFill:宽高完全拉伸至填满',\n value: 'scaleToFill',\n },\n {\n label: 'aspectFit:长边能完全显示出来',\n value: 'aspectFit',\n },\n {\n label: 'aspectFill:短边能完全显示出来',\n value: 'aspectFill',\n },\n { label: 'widthFix:宽度不变,高度自动变化', value: 'widthFix' },\n {\n label: 'heightFix:高度不变,宽度自动变化',\n value: 'heightFix',\n },\n {\n label: 'top:只显示图片的顶部区域',\n value: 'top',\n },\n {\n label: 'bottom:只显示图片的底部区域',\n value: 'bottom',\n },\n {\n label: 'center:只显示图片的中间区域',\n value: 'center',\n },\n {\n label: 'left:只显示图片的左边区域',\n value: 'left',\n },\n {\n label: 'right:只显示图片的右边区域',\n value: 'right',\n },\n {\n label: 'top left:只显示图片的左上边区域',\n value: 'top left',\n },\n {\n label: 'top right:只显示图片的右上边区域',\n value: 'top right',\n },\n {\n label: 'bottom left:只显示图片的左下边区域',\n value: 'bottom left',\n },\n {\n label: 'bottom right:只显示图片的右下边区域',\n value: 'bottom right',\n },\n ],\n effect: {\n help: '小程序图片的缩放剪裁模式,目前无法直接预览,可以参考:https://uniapp.dcloud.net.cn/component/image.html',\n },\n },\n\n {\n type: 'slider',\n field: 'autoplay',\n title: '轮播间隔',\n value: 3000,\n props: {\n min: 500,\n max: 10000,\n step: 100,\n formatTooltip: (val) => {\n return val / 1000 + '秒'\n },\n },\n },\n {\n type: 'switch',\n field: 'showTitle',\n title: '显示标题',\n value: false,\n },\n {\n type: 'DkGroup',\n field: 'swipeList',\n value: [],\n props: {\n title: '图片配置',\n // addTitle:'',\n defaultValue: {\n img: 'https://cdn.w7.cc/images/2019/03/25/j0C525ySgwApwp1gmIRUdDS6ZXL8lOrbxoiM6JZb.png',\n url: '',\n title: '新内容',\n },\n rule: [\n {\n type: 'input',\n field: 'title',\n value: '',\n title: '备注名称',\n },\n {\n type: 'DkImageInput',\n field: 'img',\n value: '',\n title: '选择图标',\n },\n {\n type: 'switch',\n field: 'show',\n value: true,\n title: '是否显示',\n },\n {\n type: 'input',\n field: 'url',\n props: {\n showInput: false,\n },\n value: {},\n title: '跳转地址',\n },\n ],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,KAAQ,GAAA,oBAAA,CAAA;AACd,MAAM,IAAO,GAAA,kBAAA,CAAA;AAEb,uBAAe;AAAA,EACb,IAAM,EAAA,uBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA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../../../src/page-diy/src/config/rule/min/common/DkMinSwiperImage.js"],"sourcesContent":["const label = '轮播图'\nconst name = 'DkMinSwiperImage'\n\nexport default {\n icon: 'dashicons:images-alt2',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n swipeList: [\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/06/FsivVhWrSJsQWx0GhgOJKS_IOQp_.jpg?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称1',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/07/Fm30KtbmHzLJ96USZWFGI8FLQVss.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称2',\n show: true,\n },\n {\n img: 'https://img01.yzcdn.cn/upload_files/2021/07/01/Fj19dCrgsMyTYdrr89b9iheMVFZU.png?imageMogr2/format/jpg/thumbnail/1484x/size-limit/300k!/interlace/1',\n url: '',\n title: '默认备注名称3',\n show: true,\n },\n ],\n height: 160,\n autoplay: 2000,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'inputNumber',\n field: 'height',\n title: '图片高度',\n value: 200,\n props: { min: 0, max: 500 },\n },\n {\n type: 'select',\n field: 'imgMode',\n title: '裁剪缩放模式',\n value: 'aspectFill',\n options: [\n {\n label: 'scaleToFill:宽高完全拉伸至填满',\n value: 'scaleToFill',\n },\n {\n label: 'aspectFit:长边能完全显示出来',\n value: 'aspectFit',\n },\n {\n label: 'aspectFill:短边能完全显示出来',\n value: 'aspectFill',\n },\n { label: 'widthFix:宽度不变,高度自动变化', value: 'widthFix' },\n {\n label: 'heightFix:高度不变,宽度自动变化',\n value: 'heightFix',\n },\n {\n label: 'top:只显示图片的顶部区域',\n value: 'top',\n },\n {\n label: 'bottom:只显示图片的底部区域',\n value: 'bottom',\n },\n {\n label: 'center:只显示图片的中间区域',\n value: 'center',\n },\n {\n label: 'left:只显示图片的左边区域',\n value: 'left',\n },\n {\n label: 'right:只显示图片的右边区域',\n value: 'right',\n },\n {\n label: 'top left:只显示图片的左上边区域',\n value: 'top left',\n },\n {\n label: 'top right:只显示图片的右上边区域',\n value: 'top right',\n },\n {\n label: 'bottom left:只显示图片的左下边区域',\n value: 'bottom left',\n },\n {\n label: 'bottom right:只显示图片的右下边区域',\n value: 'bottom right',\n },\n ],\n effect: {\n help: '小程序图片的缩放剪裁模式,目前无法直接预览,可以参考:https://uniapp.dcloud.net.cn/component/image.html',\n },\n },\n\n {\n type: 'slider',\n field: 'autoplay',\n title: '轮播间隔',\n value: 3000,\n props: {\n min: 500,\n max: 10000,\n step: 100,\n formatTooltip: (val) => {\n return val / 1000 + '秒'\n },\n },\n },\n {\n type: 'switch',\n field: 'showTitle',\n title: '显示标题',\n value: false,\n },\n {\n type: 'inputNumber',\n field: 'radius',\n title: '弧度',\n value: 0,\n },\n {\n type: 'DkGroup',\n field: 'swipeList',\n value: [],\n props: {\n title: '图片配置',\n // addTitle:'',\n defaultValue: {\n img: 'https://cdn.w7.cc/images/2019/03/25/j0C525ySgwApwp1gmIRUdDS6ZXL8lOrbxoiM6JZb.png',\n url: '',\n title: '新内容',\n },\n rule: [\n {\n type: 'input',\n field: 'title',\n value: '',\n title: '备注名称',\n },\n {\n type: 'DkImageInput',\n field: 'img',\n value: '',\n title: '选择图标',\n },\n {\n type: 'switch',\n field: 'show',\n value: true,\n title: '是否显示',\n },\n {\n type: 'DkUrlInput',\n field: 'url',\n props: {\n showInput: false,\n },\n value: {},\n title: '跳转地址',\n },\n ],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,KAAQ,GAAA,oBAAA,CAAA;AACd,MAAM,IAAO,GAAA,kBAAA,CAAA;AAEb,uBAAe;AAAA,EACb,IAAM,EAAA,uBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MAC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OAAO,EAAC;AAAA,cACR,KAAO,EAAA,0BAAA;AAAA,aACT;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -7,12 +7,30 @@ declare namespace _default {
7
7
  props: {
8
8
  title: string;
9
9
  subtitle: string;
10
+ iconType: string;
11
+ iconSize: number;
12
+ showSubtitle: boolean;
10
13
  };
11
14
  showStyle: boolean;
12
15
  fixed: boolean;
13
- setting: {};
16
+ setting: {
17
+ style: {
18
+ paddingLeft: string;
19
+ paddingRight: string;
20
+ paddingTop: string;
21
+ paddingBottom: string;
22
+ backgroundColor: string;
23
+ };
24
+ };
14
25
  };
15
- export function props(): {
26
+ export function props(): ({
27
+ type: string;
28
+ field: string;
29
+ title: string;
30
+ value?: undefined;
31
+ options?: undefined;
32
+ control?: undefined;
33
+ } | {
16
34
  type: string;
17
35
  field: string;
18
36
  title: string;
@@ -21,49 +39,36 @@ declare namespace _default {
21
39
  label: string;
22
40
  value: string;
23
41
  }[];
24
- control: ({
42
+ control: {
25
43
  value: string;
26
44
  rule: ({
27
45
  type: string;
28
46
  field: string;
29
47
  title: string;
30
48
  value: string;
31
- options?: undefined;
32
49
  } | {
33
50
  type: string;
34
51
  field: string;
35
52
  title: string;
36
- value: string;
37
- options: {
38
- label: string;
39
- value: string;
40
- }[];
53
+ value: number;
41
54
  })[];
42
- } | {
43
- value: string;
44
- rule: ({
55
+ }[];
56
+ } | {
57
+ type: string;
58
+ field: string;
59
+ title: string;
60
+ value: boolean;
61
+ control: {
62
+ value: boolean;
63
+ rule: {
45
64
  type: string;
46
65
  field: string;
47
66
  title: string;
48
67
  value: string;
49
- control?: undefined;
50
- } | {
51
- type: string;
52
- field: string;
53
- title: string;
54
- value: boolean;
55
- control: {
56
- value: boolean;
57
- rule: {
58
- type: string;
59
- field: string;
60
- title: string;
61
- value: string;
62
- }[];
63
- }[];
64
- })[];
65
- })[];
66
- }[];
68
+ }[];
69
+ }[];
70
+ options?: undefined;
71
+ })[];
67
72
  }
68
73
  export default _default;
69
74
  declare const label: "标题";
@@ -12,95 +12,109 @@ var DkMinTitle = {
12
12
  return {
13
13
  type: name,
14
14
  props: {
15
- title: "\u4E3B\u6807\u9898",
16
- subtitle: "\u526F\u6807\u9898"
15
+ title: "\u8FD9\u662F\u6807\u9898",
16
+ subtitle: "\u526F\u6807\u9898",
17
+ iconType: "icon",
18
+ iconSize: 24,
19
+ showSubtitle: true
17
20
  },
18
21
  showStyle: true,
19
22
  fixed: true,
20
- setting: {}
23
+ setting: {
24
+ style: {
25
+ paddingLeft: "5px",
26
+ paddingRight: "5px",
27
+ paddingTop: "5px",
28
+ paddingBottom: "5px",
29
+ backgroundColor: "rgba(255, 255, 255, 1)"
30
+ }
31
+ }
21
32
  };
22
33
  },
23
34
  props() {
24
35
  return [
36
+ { type: "input", field: "title", title: "\u6807\u9898" },
37
+ {
38
+ type: "DkStyleFontInput",
39
+ field: "titleStyle",
40
+ title: "\u6807\u9898\u6837\u5F0F"
41
+ },
25
42
  {
26
43
  type: "radio",
27
- field: "type",
28
- title: "\u7C7B\u578B",
29
- value: "0",
44
+ field: "iconType",
45
+ title: "\u56FE\u6807\u7C7B\u578B",
46
+ value: "none",
30
47
  options: [
31
- { label: "\u9ED8\u8BA4", value: "0" },
32
- { label: "\u526F\u6807\u9898", value: "1" }
48
+ { label: "\u65E0", value: "none" },
49
+ { label: "\u56FE\u6807", value: "icon" },
50
+ { label: "\u56FE\u7247", value: "img" }
33
51
  ],
34
52
  control: [
35
53
  {
36
- value: "0",
54
+ value: "icon",
37
55
  rule: [
38
- { type: "input", field: "title", title: "\u6807\u9898", value: "\u4E3B\u6807\u9898" },
39
- {
40
- type: "radio",
41
- field: "align",
42
- title: "\u4F4D\u7F6E",
43
- value: "left",
44
- options: [
45
- { label: "\u5C45\u5DE6", value: "left" },
46
- { label: "\u5C45\u4E2D", value: "center" }
47
- ]
48
- },
56
+ { type: "DkUniIconInput", field: "icon", title: "\u56FE\u6807", value: "fire-filled" },
57
+ { type: "DkColorInput", field: "iconColor", title: "\u56FE\u6807\u989C\u8272", value: "#F64C2E" },
58
+ { type: "number", field: "iconSize", title: "\u56FE\u6807\u5C3A\u5BF8", value: 24 },
59
+ { type: "number", field: "marginRight", title: "\u95F4\u9694", value: 4 }
60
+ ]
61
+ },
62
+ {
63
+ value: "img",
64
+ rule: [
65
+ { type: "DkImageInput", field: "image", title: "\u56FE\u7247\u56FE\u6807", value: "" },
66
+ { type: "number", field: "iconSize", title: "\u56FE\u6807\u5C3A\u5BF8", value: 24 },
67
+ { type: "number", field: "marginRight", title: "\u95F4\u9694", value: 4 }
68
+ ]
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ type: "switch",
74
+ field: "showSubtitle",
75
+ title: "\u526F\u6807\u9898",
76
+ value: true,
77
+ control: [
78
+ {
79
+ value: true,
80
+ rule: [
81
+ { type: "input", field: "subtitle", title: "\u526F\u6807\u9898", value: "" },
49
82
  {
50
83
  type: "DkColorInput",
51
- field: "color",
52
- title: "\u6807\u9898\u8272",
53
- value: "#000"
84
+ field: "subColor",
85
+ title: "\u526F\u6807\u9898\u8272",
86
+ value: "#999"
54
87
  }
55
88
  ]
56
- },
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ type: "switch",
94
+ field: "isMore",
95
+ title: "\u663E\u793A\u66F4\u591A",
96
+ value: true,
97
+ control: [
57
98
  {
58
- value: "1",
99
+ value: true,
59
100
  rule: [
60
- { type: "input", field: "title", title: "\u6807\u9898", value: "\u4E3B\u6807\u9898" },
61
101
  {
62
- type: "DkColorInput",
63
- field: "color",
64
- title: "\u6807\u9898\u8272",
65
- value: "#000"
102
+ type: "input",
103
+ field: "moreText",
104
+ title: "\u6587\u672C\u5185\u5BB9",
105
+ value: "\u67E5\u770B\u66F4\u591A"
66
106
  },
67
- { type: "input", field: "subtitle", title: "\u526F\u6807\u9898", value: "" },
68
107
  {
69
108
  type: "DkColorInput",
70
- field: "subColor",
71
- title: "\u526F\u6807\u9898\u8272",
109
+ field: "moreColor",
110
+ title: "\u989C\u8272",
72
111
  value: "#999"
73
112
  },
74
113
  {
75
- type: "switch",
76
- field: "isMore",
77
- title: "\u663E\u793A\u66F4\u591A",
78
- value: true,
79
- control: [
80
- {
81
- value: true,
82
- rule: [
83
- {
84
- type: "input",
85
- field: "moreText",
86
- title: "\u6587\u672C\u5185\u5BB9",
87
- value: "\u67E5\u770B\u66F4\u591A"
88
- },
89
- {
90
- type: "input",
91
- field: "url",
92
- title: "\u94FE\u63A5\u5730\u5740",
93
- value: ""
94
- },
95
- {
96
- type: "DkColorInput",
97
- field: "moreColor",
98
- title: "\u989C\u8272",
99
- value: "#999"
100
- }
101
- ]
102
- }
103
- ]
114
+ type: "DkUrlInput",
115
+ field: "url",
116
+ title: "\u94FE\u63A5\u5730\u5740",
117
+ value: ""
104
118
  }
105
119
  ]
106
120
  }
@@ -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 fixed: true,\n setting: {},\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 {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n ],\n },\n {\n value: '1',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n { type: 'input', field: 'subtitle', title: '副标题', value: '' },\n {\n type: 'DkColorInput',\n field: 'subColor',\n title: '副标题色',\n value: '#999',\n },\n {\n type: 'switch',\n field: 'isMore',\n title: '显示更多',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'input',\n field: 'moreText',\n title: '文本内容',\n value: '查看更多',\n },\n {\n type: 'input',\n field: 'url',\n title: '链接地址',\n value: '',\n },\n {\n type: 'DkColorInput',\n field: 'moreColor',\n title: '颜色',\n value: '#999',\n },\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,MACP,SAAS,EAAC;AAAA,KACZ,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;AAAA,YACP,IAAM,EAAA;AA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gBACP,KAAO,EAAA,IAAA;AAAA,gBACP,OAAS,EAAA;AAAA,kBACP;AAAA,oBACE,KAAO,EAAA,IAAA;AAAA,oBACP,IAAM,EAAA;AAAA,sBACJ;AAAA,wBACE,IAAM,EAAA,OAAA;AAAA,wBACN,KAAO,EAAA,UAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,uBACT;AAAA,sBACA;AAAA,wBACE,IAAM,EAAA,OAAA;AAAA,wBACN,KAAO,EAAA,KAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,EAAA;AAAA,uBACT;AAAA,sBACA;AAAA,wBACE,IAAM,EAAA,cAAA;AAAA,wBACN,KAAO,EAAA,WAAA;AAAA,wBACP,KAAO,EAAA,cAAA;AAAA,wBACP,KAAO,EAAA,MAAA;AAAA,uBACT;AAAA,qBACF;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 iconType: 'icon',\n iconSize: 24,\n showSubtitle: true,\n },\n showStyle: true,\n fixed: true,\n setting: {\n style: {\n paddingLeft: '5px',\n paddingRight: '5px',\n paddingTop: '5px',\n paddingBottom: '5px',\n backgroundColor: 'rgba(255, 255, 255, 1)',\n },\n },\n }\n },\n props() {\n return [\n { type: 'input', field: 'title', title: '标题' },\n {\n type: 'DkStyleFontInput',\n field: 'titleStyle',\n title: '标题样式',\n },\n {\n type: 'radio',\n field: 'iconType',\n title: '图标类型',\n value: 'none',\n options: [\n { label: '', value: 'none' },\n { label: '图标', value: 'icon' },\n { label: '图片', value: 'img' },\n ],\n control: [\n {\n value: 'icon',\n rule: [\n { type: 'DkUniIconInput', field: 'icon', title: '图标', value: 'fire-filled' },\n { type: 'DkColorInput', field: 'iconColor', title: '图标颜色', value: '#F64C2E' },\n { type: 'number', field: 'iconSize', title: '图标尺寸', value: 24 },\n { type: 'number', field: 'marginRight', title: '间隔', value: 4 },\n ],\n },\n {\n value: 'img',\n rule: [\n { type: 'DkImageInput', field: 'image', title: '图片图标', value: '' },\n { type: 'number', field: 'iconSize', title: '图标尺寸', value: 24 },\n { type: 'number', field: 'marginRight', title: '间隔', value: 4 },\n ],\n },\n ],\n },\n {\n type: 'switch',\n field: 'showSubtitle',\n title: '副标题',\n value: true,\n control: [\n {\n value: true,\n rule: [\n { type: 'input', field: 'subtitle', title: '副标题', value: '' },\n {\n type: 'DkColorInput',\n field: 'subColor',\n title: '副标题色',\n value: '#999',\n },\n ],\n },\n ],\n },\n {\n type: 'switch',\n field: 'isMore',\n title: '显示更多',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'input',\n field: 'moreText',\n title: '文本内容',\n value: '查看更多',\n },\n {\n type: 'DkColorInput',\n field: 'moreColor',\n title: '颜色',\n value: '#999',\n },\n {\n type: 'DkUrlInput',\n field: 'url',\n title: '链接地址',\n value: '',\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,0BAAA;AAAA,QACP,QAAU,EAAA,oBAAA;AAAA,QACV,QAAU,EAAA,MAAA;AAAA,QACV,QAAU,EA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