@epic-designer/antd 1.1.8 → 1.1.9-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.
package/dist/index.cjs CHANGED
@@ -2971,7 +2971,7 @@ function styleInject(css, ref) {
2971
2971
  }
2972
2972
  }
2973
2973
 
2974
- var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n";
2974
+ var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n.ep-readonly {\n /* 上传组件样式 */\n}\n.ep-readonly .ant-form-item-control-input {\n pointer-events: none;\n}\n.ep-readonly .ant-upload {\n display: none !important;\n}\n.ep-readonly .ant-form-item-label {\n pointer-events: none;\n}\n.ep-readonly .ant-upload-list {\n pointer-events: auto;\n margin-bottom: 8px;\n}\n.ep-readonly .ant-upload-list [title='Remove file'] {\n display: none !important;\n}\n";
2975
2975
  styleInject(css_248z);
2976
2976
 
2977
2977
  function setupAntd(pluginManager = epicDesigner.pluginManager, config = {}) {
package/dist/index.d.cts CHANGED
@@ -27,7 +27,7 @@ function styleInject(css, ref) {
27
27
  }
28
28
  }
29
29
 
30
- var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n";
30
+ var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n.ep-readonly {\n /* 上传组件样式 */\n}\n.ep-readonly .ant-form-item-control-input {\n pointer-events: none;\n}\n.ep-readonly .ant-upload {\n display: none !important;\n}\n.ep-readonly .ant-form-item-label {\n pointer-events: none;\n}\n.ep-readonly .ant-upload-list {\n pointer-events: auto;\n margin-bottom: 8px;\n}\n.ep-readonly .ant-upload-list [title='Remove file'] {\n display: none !important;\n}\n";
31
31
  styleInject(css_248z);
32
32
 
33
33
  declare function setupAntd(pluginManager?: PluginManager, config?: SetupConfig): void;
package/dist/index.d.mts CHANGED
@@ -27,7 +27,7 @@ function styleInject(css, ref) {
27
27
  }
28
28
  }
29
29
 
30
- var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n";
30
+ var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n.ep-readonly {\n /* 上传组件样式 */\n}\n.ep-readonly .ant-form-item-control-input {\n pointer-events: none;\n}\n.ep-readonly .ant-upload {\n display: none !important;\n}\n.ep-readonly .ant-form-item-label {\n pointer-events: none;\n}\n.ep-readonly .ant-upload-list {\n pointer-events: auto;\n margin-bottom: 8px;\n}\n.ep-readonly .ant-upload-list [title='Remove file'] {\n display: none !important;\n}\n";
31
31
  styleInject(css_248z);
32
32
 
33
33
  declare function setupAntd(pluginManager?: PluginManager, config?: SetupConfig): void;
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ function styleInject(css, ref) {
27
27
  }
28
28
  }
29
29
 
30
- var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n";
30
+ var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n.ep-readonly {\n /* 上传组件样式 */\n}\n.ep-readonly .ant-form-item-control-input {\n pointer-events: none;\n}\n.ep-readonly .ant-upload {\n display: none !important;\n}\n.ep-readonly .ant-form-item-label {\n pointer-events: none;\n}\n.ep-readonly .ant-upload-list {\n pointer-events: auto;\n margin-bottom: 8px;\n}\n.ep-readonly .ant-upload-list [title='Remove file'] {\n display: none !important;\n}\n";
31
31
  styleInject(css_248z);
32
32
 
33
33
  declare function setupAntd(pluginManager?: PluginManager, config?: SetupConfig): void;
package/dist/index.mjs CHANGED
@@ -2969,7 +2969,7 @@ function styleInject(css, ref) {
2969
2969
  }
2970
2970
  }
2971
2971
 
2972
- var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n";
2972
+ var css_248z = ".epic-designer-main .ant-input-number {\n width: 100%;\n}\n.epic-designer-main .ant-collapse-content > .ant-collapse-content-box {\n padding: 8px;\n}\n.epic-designer-main .ant-select {\n width: 100%;\n}\n.epic-designer-main .epic-upload-image .avatar-uploader > .ant-upload {\n width: 128px;\n height: 128px;\n}\n.ep-input-size.ant-input-affix-wrapper {\n padding-top: 0;\n padding-right: 0;\n padding-bottom: 0;\n}\n.ep-input-size .ant-select-selector {\n border: none !important;\n box-shadow: none !important;\n padding: 0 4px !important;\n}\n.ep-readonly {\n /* 上传组件样式 */\n}\n.ep-readonly .ant-form-item-control-input {\n pointer-events: none;\n}\n.ep-readonly .ant-upload {\n display: none !important;\n}\n.ep-readonly .ant-form-item-label {\n pointer-events: none;\n}\n.ep-readonly .ant-upload-list {\n pointer-events: auto;\n margin-bottom: 8px;\n}\n.ep-readonly .ant-upload-list [title='Remove file'] {\n display: none !important;\n}\n";
2973
2973
  styleInject(css_248z);
2974
2974
 
2975
2975
  function setupAntd(pluginManager$1 = pluginManager, config = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epic-designer/antd",
3
- "version": "1.1.8",
3
+ "version": "1.1.9-beta.0",
4
4
  "description": "epic-designer base antd ui",
5
5
  "private": false,
6
6
  "author": "kchengz",
package/src/index.less CHANGED
@@ -27,9 +27,34 @@
27
27
  padding-bottom: 0;
28
28
  }
29
29
 
30
- .ant-select-selector{
30
+ .ant-select-selector {
31
31
  border: none !important;
32
32
  box-shadow: none !important;
33
33
  padding: 0 4px !important;
34
34
  }
35
35
  }
36
+
37
+ // 适配ep-readonly样式
38
+ .ep-readonly {
39
+ .ant-form-item-control-input {
40
+ pointer-events: none;
41
+ }
42
+
43
+ .ant-upload {
44
+ display: none !important;
45
+ }
46
+
47
+ .ant-form-item-label {
48
+ pointer-events: none;
49
+ }
50
+
51
+ /* 上传组件样式 */
52
+ .ant-upload-list {
53
+ pointer-events: auto;
54
+ margin-bottom: 8px;
55
+
56
+ [title='Remove file'] {
57
+ display: none !important;
58
+ }
59
+ }
60
+ }