amis 1.5.6-beta.4 → 1.5.6-beta.5
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/lib/Schema.d.ts +1 -1
- package/lib/Schema.js.map +1 -1
- package/lib/components/AsideNav.d.ts +1 -1
- package/lib/components/AsideNav.js.map +1 -1
- package/lib/components/CodeMirror.d.ts +26 -0
- package/lib/components/CodeMirror.js +104 -0
- package/lib/components/CodeMirror.js.map +13 -0
- package/lib/components/Collapse.d.ts +22 -21
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/ColorPicker.d.ts +85 -84
- package/lib/components/ColorPicker.js +15 -3
- package/lib/components/ColorPicker.js.map +2 -2
- package/lib/components/DatePicker.js +7 -3
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +85 -84
- package/lib/components/DateRangePicker.js +5 -3
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/MonthRangePicker.d.ts +85 -84
- package/lib/components/MonthRangePicker.js +5 -3
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/PickerContainer.d.ts +2 -1
- package/lib/components/PickerContainer.js +3 -3
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/PopUp.d.ts +93 -0
- package/lib/components/PopUp.js +58 -0
- package/lib/components/PopUp.js.map +13 -0
- package/lib/components/Steps.d.ts +1 -0
- package/lib/components/Steps.js +5 -3
- package/lib/components/Steps.js.map +2 -2
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/TabsTransferPicker.js.map +2 -2
- package/lib/components/TransferPicker.d.ts +0 -1
- package/lib/components/TransferPicker.js +2 -15
- package/lib/components/TransferPicker.js.map +2 -2
- package/lib/components/formula/Editor.d.ts +560 -0
- package/lib/components/formula/Editor.js +186 -0
- package/lib/components/formula/Editor.js.map +13 -0
- package/lib/components/formula/FuncList.d.ts +67 -0
- package/lib/components/formula/FuncList.js +35 -0
- package/lib/components/formula/FuncList.js.map +13 -0
- package/lib/components/formula/Picker.d.ts +493 -0
- package/lib/components/formula/Picker.js +48 -0
- package/lib/components/formula/Picker.js.map +13 -0
- package/lib/components/formula/VariableList.d.ts +9 -0
- package/lib/components/formula/VariableList.js +15 -0
- package/lib/components/formula/VariableList.js.map +13 -0
- package/lib/components/formula/plugin.d.ts +18 -0
- package/lib/components/formula/plugin.js +136 -0
- package/lib/components/formula/plugin.js.map +13 -0
- package/lib/helper.css +57 -57
- package/lib/helper.css.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/index.js.map +2 -2
- package/lib/renderers/Form/InputColor.d.ts +84 -84
- package/lib/renderers/Form/InputColor.js +2 -2
- package/lib/renderers/Form/InputColor.js.map +2 -2
- package/lib/renderers/Form/InputDate.js +2 -2
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Form/InputDateRange.js +2 -2
- package/lib/renderers/Form/InputDateRange.js.map +2 -2
- package/lib/renderers/Form/InputFormula.d.ts +35 -0
- package/lib/renderers/Form/InputFormula.js +25 -0
- package/lib/renderers/Form/InputFormula.js.map +13 -0
- package/lib/renderers/Form/InputMonthRange.js +2 -2
- package/lib/renderers/Form/InputMonthRange.js.map +2 -2
- package/lib/renderers/Form/InputQuarterRange.js +2 -2
- package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
- package/lib/renderers/Form/InputYearRange.js +2 -2
- package/lib/renderers/Form/InputYearRange.js.map +2 -2
- package/lib/renderers/Form/TreeSelect.d.ts +1 -0
- package/lib/renderers/Form/TreeSelect.js +11 -8
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Steps.js +2 -2
- package/lib/renderers/Steps.js.map +2 -2
- package/lib/themes/ang-ie11.css +261 -0
- package/lib/themes/ang.css +261 -0
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +261 -0
- package/lib/themes/antd.css +261 -0
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +261 -0
- package/lib/themes/cxd.css +261 -0
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +261 -0
- package/lib/themes/dark.css +261 -0
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +261 -0
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +2 -2
- package/lib/utils/api.js.map +2 -2
- package/package.json +4 -2
- package/scss/_variables.scss +1 -1
- package/scss/components/_formula.scss +122 -0
- package/scss/components/_popup.scss +123 -0
- package/scss/components/_steps.scss +60 -0
- package/scss/components/form/_color.scss +4 -0
- package/scss/components/form/_date-range.scss +4 -0
- package/scss/components/form/_date.scss +3 -0
- package/scss/components/form/_tree-select.scss +4 -0
- package/scss/helper/background/_background-color.scss +1 -1
- package/scss/helper/border/_border-color.scss +1 -1
- package/scss/helper/typography/_text-color.scss +1 -1
- package/scss/themes/_common.scss +2 -0
- package/sdk/ang-ie11.css +875 -0
- package/sdk/ang.css +875 -0
- package/sdk/antd-ie11.css +875 -0
- package/sdk/antd.css +875 -0
- package/sdk/charts.js +15 -15
- package/sdk/codemirror.js +14 -0
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +875 -0
- package/sdk/cxd.css +875 -0
- package/sdk/dark-ie11.css +875 -0
- package/sdk/dark.css +875 -0
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css +57 -57
- package/sdk/helper.css.map +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +875 -0
- package/sdk/sdk.css +875 -0
- package/sdk/sdk.js +1219 -1201
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/Schema.ts +1 -0
- package/src/components/AsideNav.tsx +1 -1
- package/src/components/CodeMirror.tsx +99 -0
- package/src/components/Collapse.tsx +2 -1
- package/src/components/ColorPicker.tsx +45 -3
- package/src/components/DatePicker.tsx +33 -3
- package/src/components/DateRangePicker.tsx +17 -3
- package/src/components/MonthRangePicker.tsx +18 -4
- package/src/components/PickerContainer.tsx +10 -6
- package/src/components/PopUp.tsx +133 -0
- package/src/components/Steps.tsx +8 -3
- package/src/components/TabsTransferPicker.tsx +1 -1
- package/src/components/TransferPicker.tsx +1 -11
- package/src/components/formula/Editor.tsx +261 -0
- package/src/components/formula/FuncList.tsx +82 -0
- package/src/components/formula/Picker.tsx +86 -0
- package/src/components/formula/VariableList.tsx +49 -0
- package/src/components/formula/plugin.ts +177 -0
- package/src/index.tsx +1 -0
- package/src/renderers/Form/InputColor.tsx +2 -3
- package/src/renderers/Form/InputDate.tsx +2 -0
- package/src/renderers/Form/InputDateRange.tsx +2 -0
- package/src/renderers/Form/InputFormula.tsx +75 -0
- package/src/renderers/Form/InputMonthRange.tsx +2 -0
- package/src/renderers/Form/InputQuarterRange.tsx +2 -0
- package/src/renderers/Form/InputYearRange.tsx +2 -0
- package/src/renderers/Form/TreeSelect.tsx +82 -63
- package/src/renderers/Steps.tsx +4 -2
- package/src/utils/api.ts +5 -2
package/lib/themes/ang.css
CHANGED
@@ -4499,6 +4499,117 @@ input[type=button].a-Button--block {
|
|
4499
4499
|
margin-top: -0.25rem;
|
4500
4500
|
}
|
4501
4501
|
|
4502
|
+
@keyframes PopUpIn {
|
4503
|
+
from {
|
4504
|
+
height: 0;
|
4505
|
+
}
|
4506
|
+
}
|
4507
|
+
@keyframes PopUpOut {
|
4508
|
+
to {
|
4509
|
+
height: 0;
|
4510
|
+
}
|
4511
|
+
}
|
4512
|
+
@keyframes PopUpOpacityIn {
|
4513
|
+
from {
|
4514
|
+
opacity: 0;
|
4515
|
+
}
|
4516
|
+
}
|
4517
|
+
@keyframes PopUpOpacityOut {
|
4518
|
+
to {
|
4519
|
+
opacity: 0;
|
4520
|
+
}
|
4521
|
+
}
|
4522
|
+
.a-PopUp {
|
4523
|
+
width: 100%;
|
4524
|
+
position: fixed;
|
4525
|
+
background: var(--PopOver-bg);
|
4526
|
+
left: 0;
|
4527
|
+
bottom: 0;
|
4528
|
+
z-index: 1300;
|
4529
|
+
padding: 0;
|
4530
|
+
margin: 0;
|
4531
|
+
font-weight: var(--fontWeightNormal);
|
4532
|
+
letter-spacing: normal;
|
4533
|
+
line-height: var(--lineHeightBase);
|
4534
|
+
text-align: left;
|
4535
|
+
text-align: start;
|
4536
|
+
text-decoration: none;
|
4537
|
+
text-shadow: none;
|
4538
|
+
text-transform: none;
|
4539
|
+
white-space: normal;
|
4540
|
+
word-break: normal;
|
4541
|
+
word-spacing: normal;
|
4542
|
+
word-wrap: normal;
|
4543
|
+
font-size: var(--fontSizeBase);
|
4544
|
+
box-shadow: var(--boxShadow);
|
4545
|
+
border: var(--borderWidth) solid var(--borderColor);
|
4546
|
+
border-radius: var(--borderRadius);
|
4547
|
+
overflow: hidden;
|
4548
|
+
}
|
4549
|
+
.a-PopUp.in, .a-PopUp.out {
|
4550
|
+
animation-duration: var(--animation-duration);
|
4551
|
+
animation-fill-mode: both;
|
4552
|
+
}
|
4553
|
+
.a-PopUp.in {
|
4554
|
+
animation-name: PopUpIn;
|
4555
|
+
}
|
4556
|
+
.a-PopUp.in .a-PopUp-overlay {
|
4557
|
+
animation-name: PopUpOpacityIn;
|
4558
|
+
}
|
4559
|
+
.a-PopUp.out {
|
4560
|
+
animation-name: PopUpOut;
|
4561
|
+
}
|
4562
|
+
.a-PopUp.out .a-PopUp-overlay {
|
4563
|
+
animation-name: PopUpOpacityOut;
|
4564
|
+
}
|
4565
|
+
.a-PopUp-inner {
|
4566
|
+
position: relative;
|
4567
|
+
overflow: hidden;
|
4568
|
+
height: 100%;
|
4569
|
+
box-sizing: border-box;
|
4570
|
+
background: #fff;
|
4571
|
+
padding-top: 2.25rem;
|
4572
|
+
}
|
4573
|
+
.a-PopUp-closeWrap {
|
4574
|
+
width: 100%;
|
4575
|
+
position: absolute !important;
|
4576
|
+
left: 0;
|
4577
|
+
top: 0;
|
4578
|
+
}
|
4579
|
+
.a-PopUp-close {
|
4580
|
+
width: 2.125rem !important;
|
4581
|
+
height: 2.125rem !important;
|
4582
|
+
padding: 0.75rem;
|
4583
|
+
cursor: pointer;
|
4584
|
+
}
|
4585
|
+
.a-PopUp-content {
|
4586
|
+
overflow-y: auto;
|
4587
|
+
height: 100%;
|
4588
|
+
display: flex;
|
4589
|
+
}
|
4590
|
+
.a-PopUp > * {
|
4591
|
+
position: relative;
|
4592
|
+
z-index: 2;
|
4593
|
+
}
|
4594
|
+
.a-PopUp-overlay {
|
4595
|
+
position: fixed !important;
|
4596
|
+
top: 0;
|
4597
|
+
left: 0;
|
4598
|
+
right: 0;
|
4599
|
+
z-index: 1;
|
4600
|
+
bottom: 0;
|
4601
|
+
background: rgba(0, 0, 0, 0.3);
|
4602
|
+
opacity: 1;
|
4603
|
+
animation-duration: var(--animation-duration);
|
4604
|
+
animation-fill-mode: both;
|
4605
|
+
}
|
4606
|
+
.a-PopUp--leftBottomLeftTop {
|
4607
|
+
margin-top: 0.25rem;
|
4608
|
+
}
|
4609
|
+
.a-PopUp--leftTopLeftBottom {
|
4610
|
+
margin-top: -0.25rem;
|
4611
|
+
}
|
4612
|
+
|
4502
4613
|
.a-PickerColumns {
|
4503
4614
|
position: relative;
|
4504
4615
|
background-color: var(--PickerColumns-bg);
|
@@ -11101,6 +11212,36 @@ input[type=button].a-Button--block {
|
|
11101
11212
|
border: 1px solid var(--Steps-status-success);
|
11102
11213
|
}
|
11103
11214
|
|
11215
|
+
.a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerWrapper .a-StepsItem-body .a-StepsItem-title::after {
|
11216
|
+
display: none !important;
|
11217
|
+
}
|
11218
|
+
.a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerWrapper .a-StepsItem-body .a-StepsItem-title .a-StepsItem-subTitle {
|
11219
|
+
padding-left: 0.3125rem;
|
11220
|
+
}
|
11221
|
+
.a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerIcon {
|
11222
|
+
position: relative;
|
11223
|
+
display: block;
|
11224
|
+
}
|
11225
|
+
.a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerIcon:after {
|
11226
|
+
content: "";
|
11227
|
+
position: absolute;
|
11228
|
+
right: 0;
|
11229
|
+
top: 0.9375rem;
|
11230
|
+
height: 1px;
|
11231
|
+
left: 2.5rem;
|
11232
|
+
width: 99999px;
|
11233
|
+
background-color: var(--Steps-line-bg);
|
11234
|
+
}
|
11235
|
+
.a-Steps-mobile.a-Steps--horizontal .a-StepsItem-containerIcon.is-success:after {
|
11236
|
+
background-color: var(--Steps-line-success-bg);
|
11237
|
+
}
|
11238
|
+
.a-Steps-mobile.a-Steps--horizontal .a-StepsItem:last-child {
|
11239
|
+
flex: 1;
|
11240
|
+
}
|
11241
|
+
.a-Steps-mobile.a-Steps--horizontal .a-StepsItem:last-child .a-StepsItem-containerIcon:after {
|
11242
|
+
display: none !important;
|
11243
|
+
}
|
11244
|
+
|
11104
11245
|
.a-Portlet {
|
11105
11246
|
border: var(--Portlet-borderWidth) var(--Portlet-borderStyle) var(--Portlet-borderColor);
|
11106
11247
|
border-radius: var(--Portlet-borderRadius);
|
@@ -13322,6 +13463,9 @@ fieldset.a-Collapse--lg:after {
|
|
13322
13463
|
color: var(--ColorPicker-color);
|
13323
13464
|
border-radius: var(--borderRadius);
|
13324
13465
|
}
|
13466
|
+
.a-ColorPicker-popup {
|
13467
|
+
height: 80vh;
|
13468
|
+
}
|
13325
13469
|
.a-ColorPicker:not(.is-disabled) {
|
13326
13470
|
cursor: pointer;
|
13327
13471
|
}
|
@@ -13547,6 +13691,10 @@ fieldset.a-Collapse--lg:after {
|
|
13547
13691
|
margin: -0.125rem 0 0;
|
13548
13692
|
}
|
13549
13693
|
|
13694
|
+
.a-DatePicker-popup {
|
13695
|
+
height: 80vh;
|
13696
|
+
}
|
13697
|
+
|
13550
13698
|
.rdt {
|
13551
13699
|
user-select: none;
|
13552
13700
|
font-size: var(--Calendar-fontSize);
|
@@ -14010,6 +14158,10 @@ td.rdtQuarter.rdtDisabled > span {
|
|
14010
14158
|
margin: -0.125rem 0 0;
|
14011
14159
|
}
|
14012
14160
|
|
14161
|
+
.a-DateRangePicker-popup {
|
14162
|
+
height: 90vh;
|
14163
|
+
}
|
14164
|
+
|
14013
14165
|
@media (min-width: 576px) {
|
14014
14166
|
.a-DateRangePicker-wrap {
|
14015
14167
|
white-space: nowrap;
|
@@ -15125,6 +15277,9 @@ td.rdtQuarter.rdtDisabled > span {
|
|
15125
15277
|
box-shadow: var(--Form-input-boxShadow);
|
15126
15278
|
background: var(--Form-input-onFocused-bg);
|
15127
15279
|
}
|
15280
|
+
.a-TreeSelect-popup {
|
15281
|
+
height: 80vh;
|
15282
|
+
}
|
15128
15283
|
|
15129
15284
|
.a-TreeSelect-popover {
|
15130
15285
|
background: transparent;
|
@@ -17011,6 +17166,112 @@ td.rdtQuarter.rdtDisabled > span {
|
|
17011
17166
|
margin-right: 0;
|
17012
17167
|
}
|
17013
17168
|
|
17169
|
+
.a-FormulaEditor {
|
17170
|
+
overflow: visible;
|
17171
|
+
max-width: 100%;
|
17172
|
+
box-sizing: content-box;
|
17173
|
+
}
|
17174
|
+
.a-FormulaEditor-header {
|
17175
|
+
width: 100%;
|
17176
|
+
height: 2.5rem;
|
17177
|
+
line-height: 2.5rem;
|
17178
|
+
padding-left: 0.625rem;
|
17179
|
+
box-sizing: border-box;
|
17180
|
+
background: #f3f8fb;
|
17181
|
+
}
|
17182
|
+
.a-FormulaEditor-editor {
|
17183
|
+
min-height: 14.875rem;
|
17184
|
+
max-height: 20rem;
|
17185
|
+
height: auto;
|
17186
|
+
border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
|
17187
|
+
}
|
17188
|
+
.a-FormulaEditor.is-error .a-FormulaEditor-editor {
|
17189
|
+
border-color: var(--Form-input-onError-borderColor);
|
17190
|
+
}
|
17191
|
+
.a-FormulaEditor.is-focused .a-FormulaEditor-editor {
|
17192
|
+
border-color: var(--Form-input-onFocused-borderColor);
|
17193
|
+
}
|
17194
|
+
.a-FormulaEditor-settings {
|
17195
|
+
display: flex;
|
17196
|
+
flex-direction: row;
|
17197
|
+
align-items: stretch;
|
17198
|
+
justify-content: space-between;
|
17199
|
+
max-height: 21.875rem;
|
17200
|
+
margin: 0 -5px;
|
17201
|
+
}
|
17202
|
+
.a-FormulaEditor-settings > div {
|
17203
|
+
flex: 1;
|
17204
|
+
padding: 0 5px;
|
17205
|
+
display: flex;
|
17206
|
+
flex-direction: column;
|
17207
|
+
}
|
17208
|
+
.a-FormulaEditor-settings > div > h3 {
|
17209
|
+
padding: 10px 0;
|
17210
|
+
margin: 0;
|
17211
|
+
flex-shrink: 0;
|
17212
|
+
}
|
17213
|
+
.a-FormulaEditor-settings > div > div {
|
17214
|
+
flex: 1;
|
17215
|
+
min-height: 0;
|
17216
|
+
}
|
17217
|
+
.a-FormulaEditor .cm-field,
|
17218
|
+
.a-FormulaEditor .cm-func {
|
17219
|
+
border-radius: 2px;
|
17220
|
+
color: #fff;
|
17221
|
+
margin: 0 1px;
|
17222
|
+
padding: 0 2px;
|
17223
|
+
}
|
17224
|
+
.a-FormulaEditor .cm-field {
|
17225
|
+
background: #007bff;
|
17226
|
+
}
|
17227
|
+
.a-FormulaEditor .cm-func {
|
17228
|
+
background: #17a2b8;
|
17229
|
+
}
|
17230
|
+
|
17231
|
+
.a-FormulaFuncList {
|
17232
|
+
display: flex;
|
17233
|
+
flex-direction: column;
|
17234
|
+
}
|
17235
|
+
.a-FormulaFuncList > .a-FormulaFuncList-searchBox {
|
17236
|
+
display: flex;
|
17237
|
+
width: auto;
|
17238
|
+
flex-shrink: 0;
|
17239
|
+
margin-bottom: 0.5rem;
|
17240
|
+
}
|
17241
|
+
.a-FormulaFuncList-columns {
|
17242
|
+
flex: 1;
|
17243
|
+
min-height: 0;
|
17244
|
+
overflow: auto;
|
17245
|
+
display: flex;
|
17246
|
+
flex-direction: row;
|
17247
|
+
justify-content: flex-start;
|
17248
|
+
}
|
17249
|
+
.a-FormulaFuncList-columns > div:first-child {
|
17250
|
+
min-width: 200px;
|
17251
|
+
flex-shrink: 0;
|
17252
|
+
}
|
17253
|
+
.a-FormulaFuncList-funcItem {
|
17254
|
+
padding: 0 10px;
|
17255
|
+
cursor: pointer;
|
17256
|
+
}
|
17257
|
+
.a-FormulaFuncList-funcItem.is-active {
|
17258
|
+
color: var(--primary);
|
17259
|
+
}
|
17260
|
+
.a-FormulaFuncList-groupTitle {
|
17261
|
+
padding: 5px 0;
|
17262
|
+
background: transparent;
|
17263
|
+
}
|
17264
|
+
.a-FormulaFuncList-groupBody > div {
|
17265
|
+
padding: 5px 0;
|
17266
|
+
}
|
17267
|
+
.a-FormulaFuncList-funcDetail {
|
17268
|
+
padding: 10px 20px;
|
17269
|
+
}
|
17270
|
+
|
17271
|
+
.a-FormulaPicker-icon {
|
17272
|
+
margin-left: auto;
|
17273
|
+
}
|
17274
|
+
|
17014
17275
|
/*
|
17015
17276
|
* utilities
|
17016
17277
|
*/
|