amis 1.9.1-beta.12 → 1.9.1-beta.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/README.md +1 -1
  2. package/lib/components/formula/Picker.js +1 -2
  3. package/lib/components/formula/Picker.js.map +2 -2
  4. package/lib/components/table/HeadCellFilter.js +4 -1
  5. package/lib/components/table/HeadCellFilter.js.map +2 -2
  6. package/lib/components/table/HeadCellSort.js +30 -24
  7. package/lib/components/table/HeadCellSort.js.map +2 -2
  8. package/lib/components/table/index.d.ts +6 -3
  9. package/lib/components/table/index.js +72 -86
  10. package/lib/components/table/index.js.map +2 -2
  11. package/lib/index.js +1 -1
  12. package/lib/renderers/Action.d.ts +21 -4
  13. package/lib/renderers/Action.js +42 -19
  14. package/lib/renderers/Action.js.map +2 -2
  15. package/lib/renderers/Breadcrumb.js +2 -2
  16. package/lib/renderers/Breadcrumb.js.map +2 -2
  17. package/lib/renderers/Form/Picker.d.ts +1 -1
  18. package/lib/renderers/Form/Picker.js +38 -23
  19. package/lib/renderers/Form/Picker.js.map +2 -2
  20. package/lib/renderers/Form/wrapControl.js +10 -10
  21. package/lib/renderers/Form/wrapControl.js.map +2 -2
  22. package/lib/renderers/Service.js +0 -1
  23. package/lib/renderers/Service.js.map +2 -2
  24. package/lib/renderers/Steps.d.ts +2 -2
  25. package/lib/renderers/Steps.js +1 -1
  26. package/lib/renderers/Steps.js.map +2 -2
  27. package/lib/renderers/Table-v2/HeadCellSearchDropdown.d.ts +1 -1
  28. package/lib/renderers/Table-v2/HeadCellSearchDropdown.js +38 -24
  29. package/lib/renderers/Table-v2/HeadCellSearchDropdown.js.map +2 -2
  30. package/lib/renderers/Table-v2/index.d.ts +10 -4
  31. package/lib/renderers/Table-v2/index.js +109 -58
  32. package/lib/renderers/Table-v2/index.js.map +2 -2
  33. package/lib/store/table-v2.d.ts +210 -4
  34. package/lib/store/table-v2.js +82 -5
  35. package/lib/store/table-v2.js.map +2 -2
  36. package/lib/themes/ang-ie11.css +14 -11
  37. package/lib/themes/ang.css +14 -6
  38. package/lib/themes/ang.css.map +1 -1
  39. package/lib/themes/antd-ie11.css +14 -11
  40. package/lib/themes/antd.css +14 -6
  41. package/lib/themes/antd.css.map +1 -1
  42. package/lib/themes/cxd-ie11.css +165 -162
  43. package/lib/themes/cxd.css +15 -7
  44. package/lib/themes/cxd.css.map +1 -1
  45. package/lib/themes/dark-ie11.css +14 -11
  46. package/lib/themes/dark.css +14 -6
  47. package/lib/themes/dark.css.map +1 -1
  48. package/lib/themes/default-ie11.css +165 -162
  49. package/lib/themes/default.css +15 -7
  50. package/lib/themes/default.css.map +1 -1
  51. package/lib/types.d.ts +1 -1
  52. package/lib/types.js.map +1 -1
  53. package/package.json +1 -1
  54. package/scss/components/_modal.scss +1 -1
  55. package/scss/components/form/_icon-picker.scss +10 -6
  56. package/scss/components/form/_switch.scss +1 -0
  57. package/scss/components/form/_text.scss +2 -0
  58. package/scss/themes/_cxd-variables.scss +1 -1
  59. package/sdk/ang-ie11.css +14 -11
  60. package/sdk/ang.css +14 -6
  61. package/sdk/antd-ie11.css +14 -11
  62. package/sdk/antd.css +14 -6
  63. package/sdk/barcode.js +51 -51
  64. package/sdk/charts.js +14 -14
  65. package/sdk/codemirror.js +7 -7
  66. package/sdk/color-picker.js +65 -65
  67. package/sdk/cropperjs.js +2 -2
  68. package/sdk/cxd-ie11.css +165 -162
  69. package/sdk/cxd.css +15 -7
  70. package/sdk/dark-ie11.css +14 -11
  71. package/sdk/dark.css +14 -6
  72. package/sdk/exceljs.js +1 -1
  73. package/sdk/markdown.js +69 -69
  74. package/sdk/papaparse.js +1 -1
  75. package/sdk/renderers/Form/CityDB.js +1 -1
  76. package/sdk/rest.js +16 -16
  77. package/sdk/rich-text.js +62 -62
  78. package/sdk/sdk-ie11.css +165 -162
  79. package/sdk/sdk.css +15 -7
  80. package/sdk/sdk.js +1336 -1336
  81. package/sdk/thirds/hls.js/hls.js +1 -1
  82. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  83. package/sdk/tinymce.js +57 -57
  84. package/src/components/formula/Picker.tsx +1 -3
  85. package/src/components/table/HeadCellFilter.tsx +4 -1
  86. package/src/components/table/HeadCellSort.tsx +1 -1
  87. package/src/components/table/index.tsx +66 -90
  88. package/src/renderers/Action.tsx +62 -18
  89. package/src/renderers/Breadcrumb.tsx +11 -12
  90. package/src/renderers/Form/Picker.tsx +11 -1
  91. package/src/renderers/Form/wrapControl.tsx +10 -10
  92. package/src/renderers/Service.tsx +0 -1
  93. package/src/renderers/Steps.tsx +5 -5
  94. package/src/renderers/Table-v2/HeadCellSearchDropdown.tsx +14 -9
  95. package/src/renderers/Table-v2/index.tsx +130 -58
  96. package/src/store/table-v2.ts +104 -7
  97. package/src/types.ts +2 -1
package/sdk/cxd.css CHANGED
@@ -14736,7 +14736,7 @@ readers do not read off random characters that represent icons */
14736
14736
  --fontSizeMd: 14px;
14737
14737
  --fontSizeLg: 16px;
14738
14738
  --fontSizeXl: 18px;
14739
- --fontSizeBase: var(--fontSizeSm);
14739
+ --fontSizeBase: var(--fontSizeMd);
14740
14740
  --borderColor: #e8e9eb;
14741
14741
  --borderRadius: 0.25rem;
14742
14742
  --body-bg: #ffffff;
@@ -28986,7 +28986,7 @@ readers do not read off random characters that represent icons */
28986
28986
  }
28987
28987
 
28988
28988
  .amis-scope .cxd-Modal-footer .cxd-Button {
28989
- width: var(--Modal-footer-button-width);
28989
+ min-width: var(--Modal-footer-button-width);
28990
28990
  margin-left: var(--gap-sm);
28991
28991
  }
28992
28992
 
@@ -42548,6 +42548,8 @@ readers do not read off random characters that represent icons */
42548
42548
 
42549
42549
  .amis-scope .cxd-TextControl-revealPassword {
42550
42550
  font-size: 0;
42551
+ display: inline-flex;
42552
+ align-items: center;
42551
42553
  }
42552
42554
 
42553
42555
  .amis-scope .cxd-TextControl-revealPassword .icon {
@@ -43647,6 +43649,7 @@ readers do not read off random characters that represent icons */
43647
43649
  margin: 0;
43648
43650
  vertical-align: middle;
43649
43651
  text-align: left;
43652
+ transition: all 0.5s ease;
43650
43653
  }
43651
43654
 
43652
43655
  .amis-scope .cxd-Switch.is-disabled {
@@ -49005,19 +49008,20 @@ readers do not read off random characters that represent icons */
49005
49008
  .amis-scope .cxd-IconPickerControl-placeholder {
49006
49009
  color: var(--Form-input-placeholderColor);
49007
49010
  user-select: none;
49008
- position: absolute;
49009
- left: var(--Form-input-paddingX);
49010
- top: var(--Form-input-paddingY);
49011
- margin-top: calc(2 * var(--Form-input-borderWidth));
49012
49011
  line-height: var(--Form-input-lineHeight);
49012
+ position: absolute;
49013
+ left: 2px;
49014
+ overflow: hidden;
49015
+ width: 100%;
49013
49016
  }
49014
49017
 
49015
49018
  .amis-scope .cxd-IconPickerControl-valueWrap {
49016
- display: flex;
49017
49019
  justify-content: space-between;
49018
49020
  flex-grow: 1;
49019
49021
  line-height: 1;
49020
49022
  white-space: nowrap;
49023
+ width: 100%;
49024
+ position: relative;
49021
49025
  }
49022
49026
 
49023
49027
  .amis-scope .cxd-IconPickerControl-valueWrap > input {
@@ -49029,6 +49033,7 @@ readers do not read off random characters that represent icons */
49029
49033
  .amis-scope .cxd-IconPickerControl-input--withAC {
49030
49034
  position: relative;
49031
49035
  flex-wrap: wrap;
49036
+ width: 100%;
49032
49037
  }
49033
49038
 
49034
49039
  .amis-scope .cxd-IconPickerControl-input--withAC > input {
@@ -49096,6 +49101,9 @@ readers do not read off random characters that represent icons */
49096
49101
  line-height: calc( var(--Form-input-lineHeight) * var(--Form-input-fontSize) );
49097
49102
  vertical-align: middle;
49098
49103
  display: inline-block;
49104
+ overflow: hidden;
49105
+ width: 100%;
49106
+ text-overflow: ellipsis;
49099
49107
  }
49100
49108
 
49101
49109
  .amis-scope .cxd-IconPickerControl-value > i {
package/sdk/dark-ie11.css CHANGED
@@ -26981,7 +26981,7 @@ readers do not read off random characters that represent icons */
26981
26981
  }
26982
26982
 
26983
26983
  .amis-scope .dark-Modal-footer .dark-Button {
26984
- width: 4.5rem;
26984
+ min-width: 4.5rem;
26985
26985
  margin-left: 0.5rem;
26986
26986
  }
26987
26987
 
@@ -40666,6 +40666,8 @@ readers do not read off random characters that represent icons */
40666
40666
 
40667
40667
  .amis-scope .dark-TextControl-revealPassword {
40668
40668
  font-size: 0;
40669
+ display: inline-flex;
40670
+ align-items: center;
40669
40671
  }
40670
40672
 
40671
40673
  .amis-scope .dark-TextControl-revealPassword .icon {
@@ -41800,6 +41802,7 @@ readers do not read off random characters that represent icons */
41800
41802
  margin: 0;
41801
41803
  vertical-align: middle;
41802
41804
  text-align: left;
41805
+ transition: all 0.5s ease;
41803
41806
  }
41804
41807
 
41805
41808
  .amis-scope .dark-Switch.is-disabled {
@@ -47269,24 +47272,20 @@ readers do not read off random characters that represent icons */
47269
47272
  .amis-scope .dark-IconPickerControl-placeholder {
47270
47273
  color: white;
47271
47274
  user-select: none;
47272
- position: absolute;
47273
- left: 0.5rem;
47274
- top: calc(
47275
- (
47276
- 1.875rem - 1.4285714286 *
47277
- 0.875rem - 0.125rem
47278
- ) / 2
47279
- );
47280
- margin-top: calc(2 * 0.0625rem);
47281
47275
  line-height: 1.4285714286;
47276
+ position: absolute;
47277
+ left: 2px;
47278
+ overflow: hidden;
47279
+ width: 100%;
47282
47280
  }
47283
47281
 
47284
47282
  .amis-scope .dark-IconPickerControl-valueWrap {
47285
- display: flex;
47286
47283
  justify-content: space-between;
47287
47284
  flex-grow: 1;
47288
47285
  line-height: 1;
47289
47286
  white-space: nowrap;
47287
+ width: 100%;
47288
+ position: relative;
47290
47289
  }
47291
47290
 
47292
47291
  .amis-scope .dark-IconPickerControl-valueWrap > input {
@@ -47298,6 +47297,7 @@ readers do not read off random characters that represent icons */
47298
47297
  .amis-scope .dark-IconPickerControl-input--withAC {
47299
47298
  position: relative;
47300
47299
  flex-wrap: wrap;
47300
+ width: 100%;
47301
47301
  }
47302
47302
 
47303
47303
  .amis-scope .dark-IconPickerControl-input--withAC > input {
@@ -47365,6 +47365,9 @@ readers do not read off random characters that represent icons */
47365
47365
  line-height: calc( 1.4285714286 * 0.875rem );
47366
47366
  vertical-align: middle;
47367
47367
  display: inline-block;
47368
+ overflow: hidden;
47369
+ width: 100%;
47370
+ text-overflow: ellipsis;
47368
47371
  }
47369
47372
 
47370
47373
  .amis-scope .dark-IconPickerControl-value > i {
package/sdk/dark.css CHANGED
@@ -28579,7 +28579,7 @@ readers do not read off random characters that represent icons */
28579
28579
  }
28580
28580
 
28581
28581
  .amis-scope .dark-Modal-footer .dark-Button {
28582
- width: var(--Modal-footer-button-width);
28582
+ min-width: var(--Modal-footer-button-width);
28583
28583
  margin-left: var(--gap-sm);
28584
28584
  }
28585
28585
 
@@ -42141,6 +42141,8 @@ readers do not read off random characters that represent icons */
42141
42141
 
42142
42142
  .amis-scope .dark-TextControl-revealPassword {
42143
42143
  font-size: 0;
42144
+ display: inline-flex;
42145
+ align-items: center;
42144
42146
  }
42145
42147
 
42146
42148
  .amis-scope .dark-TextControl-revealPassword .icon {
@@ -43240,6 +43242,7 @@ readers do not read off random characters that represent icons */
43240
43242
  margin: 0;
43241
43243
  vertical-align: middle;
43242
43244
  text-align: left;
43245
+ transition: all 0.5s ease;
43243
43246
  }
43244
43247
 
43245
43248
  .amis-scope .dark-Switch.is-disabled {
@@ -48598,19 +48601,20 @@ readers do not read off random characters that represent icons */
48598
48601
  .amis-scope .dark-IconPickerControl-placeholder {
48599
48602
  color: var(--Form-input-placeholderColor);
48600
48603
  user-select: none;
48601
- position: absolute;
48602
- left: var(--Form-input-paddingX);
48603
- top: var(--Form-input-paddingY);
48604
- margin-top: calc(2 * var(--Form-input-borderWidth));
48605
48604
  line-height: var(--Form-input-lineHeight);
48605
+ position: absolute;
48606
+ left: 2px;
48607
+ overflow: hidden;
48608
+ width: 100%;
48606
48609
  }
48607
48610
 
48608
48611
  .amis-scope .dark-IconPickerControl-valueWrap {
48609
- display: flex;
48610
48612
  justify-content: space-between;
48611
48613
  flex-grow: 1;
48612
48614
  line-height: 1;
48613
48615
  white-space: nowrap;
48616
+ width: 100%;
48617
+ position: relative;
48614
48618
  }
48615
48619
 
48616
48620
  .amis-scope .dark-IconPickerControl-valueWrap > input {
@@ -48622,6 +48626,7 @@ readers do not read off random characters that represent icons */
48622
48626
  .amis-scope .dark-IconPickerControl-input--withAC {
48623
48627
  position: relative;
48624
48628
  flex-wrap: wrap;
48629
+ width: 100%;
48625
48630
  }
48626
48631
 
48627
48632
  .amis-scope .dark-IconPickerControl-input--withAC > input {
@@ -48689,6 +48694,9 @@ readers do not read off random characters that represent icons */
48689
48694
  line-height: calc( var(--Form-input-lineHeight) * var(--Form-input-fontSize) );
48690
48695
  vertical-align: middle;
48691
48696
  display: inline-block;
48697
+ overflow: hidden;
48698
+ width: 100%;
48699
+ text-overflow: ellipsis;
48692
48700
  }
48693
48701
 
48694
48702
  .amis-scope .dark-IconPickerControl-value > i {
package/sdk/exceljs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  ;/*!node_modules/exceljs/dist/exceljs.min.js*/
2
- amis.define('95c2cba', function(require, exports, module, define) {
2
+ amis.define('66a8e68', function(require, exports, module, define) {
3
3
 
4
4
  /*! ExcelJS 21-08-2021 */
5
5