dfish-widget 1.1.13 → 2.0.0-beta.0

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 (124) hide show
  1. package/README.md +26 -28
  2. package/css/style.css +1 -1
  3. package/lib/assets/entity.d.ts +1 -0
  4. package/lib/dfish.d.ts +22 -0
  5. package/lib/directive/dialog-move.d.ts +5 -0
  6. package/lib/directive/form-ignore.d.ts +6 -0
  7. package/lib/directive/index.d.ts +1 -0
  8. package/lib/directive/label-width.d.ts +6 -0
  9. package/lib/directive/tip.d.ts +4 -0
  10. package/lib/index.cjs.js +46 -1
  11. package/lib/index.d.ts +6 -0
  12. package/lib/index.esm.js +10870 -1
  13. package/lib/template/TemplateAlert.vue.d.ts +41 -0
  14. package/lib/template/TemplateConfirm.vue.d.ts +43 -0
  15. package/lib/template/TemplateDateSheet.vue.d.ts +59 -0
  16. package/lib/template/TemplateJigsaw.vue.d.ts +20 -0
  17. package/lib/template/TemplatePreviewMedia.vue.d.ts +14 -0
  18. package/lib/template/TemplateTip.vue.d.ts +23 -0
  19. package/lib/util/browser.d.ts +44 -0
  20. package/lib/util/css.d.ts +2 -0
  21. package/lib/util/date.d.ts +10 -0
  22. package/lib/util/elem.d.ts +8 -0
  23. package/lib/util/event.d.ts +18 -0
  24. package/lib/util/json.d.ts +3 -0
  25. package/lib/util/loc/zh-CN.d.ts +155 -0
  26. package/lib/util/mime.d.ts +1 -0
  27. package/lib/util/number.d.ts +9 -0
  28. package/lib/util/range.d.ts +6 -0
  29. package/lib/util/snap.d.ts +5 -0
  30. package/lib/util/str.d.ts +14 -0
  31. package/lib/util/uid.d.ts +1 -0
  32. package/lib/util/v-directive.d.ts +8 -0
  33. package/lib/widgets/Album.vue.d.ts +167 -0
  34. package/lib/widgets/Alert.vue.d.ts +334 -0
  35. package/lib/widgets/AlignParent.vue.d.ts +20 -0
  36. package/lib/widgets/Button.vue.d.ts +150 -0
  37. package/lib/widgets/ButtonAbs.vue.d.ts +171 -0
  38. package/lib/widgets/ButtonBar.vue.d.ts +177 -0
  39. package/lib/widgets/Calendar.vue.d.ts +202 -0
  40. package/lib/widgets/CheckBox.vue.d.ts +293 -0
  41. package/lib/widgets/CheckBoxGroup.vue.d.ts +254 -0
  42. package/lib/widgets/ComboBox.vue.d.ts +296 -0
  43. package/lib/widgets/Confirm.vue.d.ts +338 -0
  44. package/lib/widgets/DatePicker.vue.d.ts +353 -0
  45. package/lib/widgets/Dialog.vue.d.ts +331 -0
  46. package/lib/widgets/DialogTarget.vue.d.ts +17 -0
  47. package/lib/widgets/DocView.vue.d.ts +129 -0
  48. package/lib/widgets/DropBox.vue.d.ts +254 -0
  49. package/lib/widgets/FileUpload.vue.d.ts +324 -0
  50. package/lib/widgets/Form.vue.d.ts +226 -0
  51. package/lib/widgets/FormBase.vue.d.ts +232 -0
  52. package/lib/widgets/FormGroup.vue.d.ts +241 -0
  53. package/lib/widgets/Grid.vue.d.ts +168 -0
  54. package/lib/widgets/Hidden.vue.d.ts +210 -0
  55. package/lib/widgets/Horizontal.vue.d.ts +153 -0
  56. package/lib/widgets/Html.vue.d.ts +97 -0
  57. package/lib/widgets/ImageUpload.vue.d.ts +328 -0
  58. package/lib/widgets/Img.vue.d.ts +136 -0
  59. package/lib/widgets/Jigsaw.vue.d.ts +255 -0
  60. package/lib/widgets/Label.vue.d.ts +108 -0
  61. package/lib/widgets/Leaf.vue.d.ts +158 -0
  62. package/lib/widgets/LinkBox.vue.d.ts +295 -0
  63. package/lib/widgets/Loading.vue.d.ts +306 -0
  64. package/lib/widgets/MediaUpload.vue.d.ts +326 -0
  65. package/lib/widgets/MediaUploadItem.vue.d.ts +27 -0
  66. package/lib/widgets/Menu.vue.d.ts +318 -0
  67. package/lib/widgets/MenuButton.vue.d.ts +163 -0
  68. package/lib/widgets/Option.vue.d.ts +93 -0
  69. package/lib/widgets/PageBar.vue.d.ts +248 -0
  70. package/lib/widgets/Password.vue.d.ts +267 -0
  71. package/lib/widgets/PickBox.vue.d.ts +261 -0
  72. package/lib/widgets/Progress.vue.d.ts +93 -0
  73. package/lib/widgets/PubParent.vue.d.ts +18 -0
  74. package/lib/widgets/Radio.vue.d.ts +297 -0
  75. package/lib/widgets/RadioGroup.vue.d.ts +239 -0
  76. package/lib/widgets/Range.vue.d.ts +223 -0
  77. package/lib/widgets/Rate.vue.d.ts +246 -0
  78. package/lib/widgets/Scroll.vue.d.ts +129 -0
  79. package/lib/widgets/SlidePicker.vue.d.ts +125 -0
  80. package/lib/widgets/Slider.vue.d.ts +238 -0
  81. package/lib/widgets/SlotDefault.vue.d.ts +17 -0
  82. package/lib/widgets/Spinner.vue.d.ts +317 -0
  83. package/lib/widgets/Split.vue.d.ts +110 -0
  84. package/lib/widgets/SrcParent.vue.d.ts +24 -0
  85. package/lib/widgets/Swiper.vue.d.ts +117 -0
  86. package/lib/widgets/SwiperItem.vue.d.ts +91 -0
  87. package/lib/widgets/Switch.vue.d.ts +236 -0
  88. package/lib/widgets/Tab.vue.d.ts +2 -0
  89. package/lib/widgets/TabBar.vue.d.ts +235 -0
  90. package/lib/widgets/TabButton.vue.d.ts +151 -0
  91. package/lib/widgets/Table.vue.d.ts +109 -0
  92. package/lib/widgets/TableColumn.vue.d.ts +13 -0
  93. package/lib/widgets/TableColumns.vue.d.ts +2 -0
  94. package/lib/widgets/TableTBody.vue.d.ts +246 -0
  95. package/lib/widgets/TableTD.vue.d.ts +34 -0
  96. package/lib/widgets/TableTH.vue.d.ts +125 -0
  97. package/lib/widgets/TableTHead.vue.d.ts +112 -0
  98. package/lib/widgets/TableTR.vue.d.ts +130 -0
  99. package/lib/widgets/TableV2.vue.d.ts +85 -0
  100. package/lib/widgets/Tabs.vue.d.ts +115 -0
  101. package/lib/widgets/Text.vue.d.ts +262 -0
  102. package/lib/widgets/Textarea.vue.d.ts +252 -0
  103. package/lib/widgets/Timeline.vue.d.ts +147 -0
  104. package/lib/widgets/TimelineItem.vue.d.ts +101 -0
  105. package/lib/widgets/Tip.vue.d.ts +328 -0
  106. package/lib/widgets/Toggle.vue.d.ts +120 -0
  107. package/lib/widgets/Tree.vue.d.ts +163 -0
  108. package/lib/widgets/TreeV2.vue.d.ts +75 -0
  109. package/lib/widgets/TreeV2Wrap.vue.d.ts +155 -0
  110. package/lib/widgets/TripleBox.vue.d.ts +304 -0
  111. package/lib/widgets/Vertical.vue.d.ts +150 -0
  112. package/lib/widgets/Video.vue.d.ts +94 -0
  113. package/lib/widgets/View.vue.d.ts +197 -0
  114. package/lib/widgets/ViewAbs.vue.d.ts +48 -0
  115. package/lib/widgets/WidgetAbs.vue.d.ts +87 -0
  116. package/lib/widgets/WidgetBase.vue.d.ts +72 -0
  117. package/lib/widgets/index.d.ts +2 -0
  118. package/package.json +11 -25
  119. package/css/f/iconfont.ttf +0 -0
  120. package/css/f/iconfont.woff +0 -0
  121. package/css/f/iconfont.woff2 +0 -0
  122. package/css/g/f.png +0 -0
  123. package/css/g/i.png +0 -0
  124. package/css/reset.css +0 -32
package/README.md CHANGED
@@ -1,28 +1,26 @@
1
- ## 首次安装
2
- ```
3
- npm install dfish-widget
4
- ```
5
-
6
- ## 重装
7
- ```
8
- npm uninstall dfish-widget
9
- npm install dfish-widget
10
- ```
11
-
12
- ## main.js中引用
13
- ```
14
- import dfish from 'dfish-widget'
15
- import 'dfish-widget/css/style.css'
16
-
17
- app.use(dfish)
18
- ```
19
-
20
- ### 附录1:相关文档
21
- [dfish-widget组件API](http://dfish.rongji.com/api/dfish-widget/).
22
- [dfish-widget组件内网API](http://192.168.0.53:8080/jsapi/api/dfish-widget/).
23
-
24
- [Vue3中文文档](https://v3.cn.vuejs.org/guide/introduction.html).
25
-
26
- [axios中文文档](http://www.axios-js.com/zh-cn/docs/).
27
-
28
- [lodash中文文档](https://www.lodashjs.com/).
1
+ # dfish-widget
2
+
3
+ 基于 Vue3 的组件库,同时支持 TypeScript 与 JavaScript 项目调用。
4
+
5
+ ## 首次安装
6
+
7
+ ```bash
8
+ npm install dfish-widget
9
+ ```
10
+
11
+ ## 重装
12
+
13
+ ```bash
14
+ npm uninstall dfish-widget
15
+ npm install dfish-widget
16
+ ```
17
+
18
+ ## main.ts / main.js 中引用
19
+
20
+ ```ts
21
+ import dfish from 'dfish-widget'
22
+ import 'dfish-widget/css/style.css'
23
+
24
+ app.use(dfish)
25
+ ```
26
+