@tongfun/tf-widget 0.1.5 → 0.1.9

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 (85) hide show
  1. package/.browserslistrc +3 -3
  2. package/.editorconfig +5 -5
  3. package/.eslintrc.js +17 -17
  4. package/README.md +39 -24
  5. package/dist/css/chunk-9c7a8e06.920744ef.css +1 -0
  6. package/dist/css/chunk-vendors.de967301.css +1 -0
  7. package/dist/css/index.9f1afeaf.css +1 -0
  8. package/dist/fonts/element-icons.535877f5.woff +0 -0
  9. package/dist/fonts/element-icons.732389de.ttf +0 -0
  10. package/dist/js/chunk-9c7a8e06.ffff58b5.js +1 -0
  11. package/dist/js/chunk-vendors.45086d09.js +39 -0
  12. package/dist/js/index.a3b16e45.js +1 -0
  13. package/lib/tf-widget.common.js +1294 -240
  14. package/lib/tf-widget.css +1 -1
  15. package/lib/tf-widget.umd.js +1294 -240
  16. package/lib/tf-widget.umd.min.js +3 -3
  17. package/package/t-data-list/index.js +6 -0
  18. package/package/t-data-list/main.vue +192 -0
  19. package/package/t-data-list/src/condition-input/basic.vue +31 -0
  20. package/package/t-data-list/src/condition-input/date.vue +106 -0
  21. package/package/t-data-list/src/condition-input/index.vue +100 -0
  22. package/package/t-data-list/src/condition-input/input.vue +31 -0
  23. package/package/t-data-list/src/condition-input/number.vue +115 -0
  24. package/package/t-data-list/src/condition-input/select.vue +86 -0
  25. package/package/t-data-list/src/js/fieldTypeEnum.js +10 -0
  26. package/package/t-data-list/src/js/operatorEnum.js +109 -0
  27. package/package/t-data-list/src/js/qureyParamsEnum.js +4 -0
  28. package/package/t-data-list/src/js/util.js +34 -0
  29. package/package/t-data-list/src/mixins/button-controll-mixin.js +77 -0
  30. package/package/t-data-list/src/pushdown/push-down.vue +158 -0
  31. package/package/t-data-list/src/t-list-search.vue +32 -0
  32. package/package/t-data-list/src/t-plan/condition-always-item.vue +143 -0
  33. package/package/t-data-list/src/t-plan/condition-mult-item.vue +222 -0
  34. package/package/t-data-list/src/t-plan/index.vue +190 -0
  35. package/package/t-data-list/src/t-plan/plan-content.vue +396 -0
  36. package/package/t-data-list/src/t-table/index.vue +120 -0
  37. package/package/t-data-list/src/t-table/table-group-item-edit.vue +238 -0
  38. package/package/t-data-list/src/t-table/table-group-item.vue +87 -0
  39. package/package/t-data-list/src/t-table/table-group.vue +179 -0
  40. package/package/t-data-list/src/t-table/table-records-header-popover.vue +250 -0
  41. package/package/t-data-list/src/t-table/table-records-selected.vue +159 -0
  42. package/package/t-data-list/src/t-table/table-records.vue +324 -0
  43. package/package/t-input/children/address.vue +101 -0
  44. package/package/t-input/children/basic-display.vue +41 -0
  45. package/package/t-input/children/basic.vue +251 -0
  46. package/package/t-input/children/date.vue +89 -0
  47. package/package/t-input/children/group-components/group-dialog.vue +350 -0
  48. package/package/t-input/children/group.vue +126 -0
  49. package/package/t-input/children/input.vue +72 -0
  50. package/package/t-input/children/number.vue +74 -0
  51. package/package/t-input/children/select.vue +89 -0
  52. package/package/t-input/children/tfile/fiile-enclosure.vue +233 -0
  53. package/package/t-input/children/tfile/file-img/comp.png +0 -0
  54. package/package/t-input/children/tfile/file-img/excel.png +0 -0
  55. package/package/t-input/children/tfile/file-img/img.png +0 -0
  56. package/package/t-input/children/tfile/file-img/pdf.png +0 -0
  57. package/package/t-input/children/tfile/file-img/word.png +0 -0
  58. package/package/t-input/index.js +7 -0
  59. package/package/t-input/index.vue +337 -0
  60. package/package/t-input/tInputCache.js +24 -0
  61. package/package/tf-layout/README.md +69 -0
  62. package/package/tf-layout/index.js +8 -0
  63. package/package/tf-layout/src/components/tf-labelbar.vue +376 -0
  64. package/package/tf-layout/src/components/tf-menu.vue +180 -0
  65. package/package/tf-layout/src/components/tf-right-menu.vue +89 -0
  66. package/package/tf-layout/src/components/tf-rotate-box.vue +50 -0
  67. package/package/tf-layout/src/tf-layout.vue +115 -0
  68. package/package/tf-widget/src/assets/common-input.less +11 -0
  69. package/package/tf-widget/src/children/basic-data/basic-data.vue +2 -1
  70. package/package/tf-widget/src/children/date-time.vue +1 -1
  71. package/package/tf-widget/src/children/date.vue +1 -0
  72. package/package/tf-widget/src/children/decimal.vue +20 -1
  73. package/package/tf-widget/src/children/integer.vue +31 -12
  74. package/package/tf-widget/src/children/single-line-text.vue +15 -7
  75. package/package/tf-widget/src/children/small-pictures.vue +5 -1
  76. package/package/tf-widget/src/children/text-area.vue +5 -4
  77. package/package/tf-widget/src/children/tf-select.vue +16 -7
  78. package/package.json +4 -2
  79. package/postinstall.js +10 -10
  80. package/src/api/file-enclosure.js +26 -0
  81. package/src/api/push-down.js +19 -0
  82. package/src/api/tableV3.js +186 -0
  83. package/src/index.js +11 -3
  84. package/src/mixins/t-data-query-mixin.js +289 -0
  85. package/src/utils/request.js +4 -1
package/.browserslistrc CHANGED
@@ -1,3 +1,3 @@
1
- > 1%
2
- last 2 versions
3
- not dead
1
+ > 1%
2
+ last 2 versions
3
+ not dead
package/.editorconfig CHANGED
@@ -1,5 +1,5 @@
1
- [*.{js,jsx,ts,tsx,vue}]
2
- indent_style = space
3
- indent_size = 2
4
- trim_trailing_whitespace = true
5
- insert_final_newline = true
1
+ [*.{js,jsx,ts,tsx,vue}]
2
+ indent_style = space
3
+ indent_size = 2
4
+ trim_trailing_whitespace = true
5
+ insert_final_newline = true
package/.eslintrc.js CHANGED
@@ -1,17 +1,17 @@
1
- module.exports = {
2
- root: true,
3
- env: {
4
- node: true
5
- },
6
- extends: [
7
- 'plugin:vue/essential',
8
- '@vue/standard'
9
- ],
10
- parserOptions: {
11
- parser: 'babel-eslint'
12
- },
13
- rules: {
14
- 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
16
- }
17
- }
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ node: true
5
+ },
6
+ extends: [
7
+ 'plugin:vue/essential',
8
+ '@vue/standard'
9
+ ],
10
+ parserOptions: {
11
+ parser: 'babel-eslint'
12
+ },
13
+ rules: {
14
+ 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
16
+ }
17
+ }
package/README.md CHANGED
@@ -1,24 +1,39 @@
1
- # tf-widget
2
-
3
- ## Project setup
4
- ```
5
- npm install
6
- ```
7
-
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
12
-
13
- ### Compiles and minifies for production
14
- ```
15
- npm run build
16
- ```
17
-
18
- ### Lints and fixes files
19
- ```
20
- npm run lint
21
- ```
22
-
23
- ### Customize configuration
24
- See [Configuration Reference](https://cli.vuejs.org/config/).
1
+ # TF-Widget
2
+ ## 版本更新记录
3
+
4
+
5
+ ## 🍎 0.1.7
6
+
7
+ ⭐ 1.去除小数,整数组件禁用状态下的Lock图标
8
+
9
+
10
+ ## 🍎 0.1.6
11
+
12
+ ⭐ 1.input组件添加可清空选项
13
+ ⭐ 2.input,select,text-area,date等组件更新禁用状态下输入框的背景色
14
+ ⭐ 3.添加proxy代理以便本地测试组件
15
+
16
+ ## 🍎 0.1.5
17
+
18
+ ⭐ 1.新增基础资料组件默认值参数
19
+
20
+ ## 🍎 0.1.4
21
+
22
+ ⭐ 1.新增图片组件
23
+
24
+ ## 🍎 0.1.3
25
+
26
+ ⭐ 1.优化基础资料组件(默认展示head__name字段,但此字段可控)
27
+
28
+ ## 🍎 0.1.2
29
+
30
+ ⭐ 1.添加postinstall信息
31
+ ⭐ 2.添加babel插件
32
+
33
+ ## 🍎 0.1.1
34
+
35
+ ⭐ 1.组件库初始化
36
+
37
+
38
+ ## 使用文档
39
+
@@ -0,0 +1 @@
1
+ .el-popover .context-list .list-item[data-v-fcd31cd8]{display:flex;margin:1px 0;padding:2px 8px;justify-content:space-between}.el-popover .context-list .list-item[data-v-fcd31cd8]:hover{background-color:#e7ebfd}.el-popover .context-list .list-item-active[data-v-fcd31cd8]{color:#3b68fc;background-color:#e7ebfd}.el-popover .context-list[data-v-fcd31cd8] .el-input .el-input__inner{height:30px}.el-popover .context-list[data-v-fcd31cd8]:last-child{margin-top:4px;width:100%;display:flex;justify-content:space-between}.el-popover .header-input[data-v-fcd31cd8]{margin-top:5px}.el-popover .filter-icon[data-v-fcd31cd8]{outline:none;width:15px;height:15px;cursor:pointer}