amis 1.9.0-beta.12 → 1.9.0-beta.15
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 +4 -2
- package/lib/Schema.js.map +1 -1
- package/lib/SchemaRenderer.d.ts +2 -2
- package/lib/SchemaRenderer.js +3 -3
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/actions/Action.d.ts +8 -6
- package/lib/actions/Action.js.map +2 -2
- package/lib/actions/AjaxAction.d.ts +10 -7
- package/lib/actions/AjaxAction.js +27 -21
- package/lib/actions/AjaxAction.js.map +2 -2
- package/lib/actions/BreakAction.d.ts +2 -2
- package/lib/actions/BreakAction.js.map +1 -1
- package/lib/actions/BroadcastAction.d.ts +3 -3
- package/lib/actions/BroadcastAction.js +3 -2
- package/lib/actions/BroadcastAction.js.map +2 -2
- package/lib/actions/CmptAction.d.ts +2 -2
- package/lib/actions/CmptAction.js +7 -9
- package/lib/actions/CmptAction.js.map +2 -2
- package/lib/actions/ContinueAction.d.ts +2 -2
- package/lib/actions/ContinueAction.js.map +1 -1
- package/lib/actions/CopyAction.d.ts +7 -4
- package/lib/actions/CopyAction.js +8 -6
- package/lib/actions/CopyAction.js.map +2 -2
- package/lib/actions/CustomAction.d.ts +2 -2
- package/lib/actions/CustomAction.js.map +1 -1
- package/lib/actions/DialogAction.d.ts +14 -8
- package/lib/actions/DialogAction.js +6 -6
- package/lib/actions/DialogAction.js.map +2 -2
- package/lib/actions/DrawerAction.d.ts +3 -3
- package/lib/actions/DrawerAction.js.map +1 -1
- package/lib/actions/EmailAction.d.ts +10 -7
- package/lib/actions/EmailAction.js +4 -5
- package/lib/actions/EmailAction.js.map +2 -2
- package/lib/actions/LinkAction.d.ts +19 -11
- package/lib/actions/LinkAction.js +6 -5
- package/lib/actions/LinkAction.js.map +2 -2
- package/lib/actions/LoopAction.d.ts +6 -3
- package/lib/actions/LoopAction.js +22 -20
- package/lib/actions/LoopAction.js.map +2 -2
- package/lib/actions/PageAction.d.ts +8 -5
- package/lib/actions/PageAction.js +3 -2
- package/lib/actions/PageAction.js.map +2 -2
- package/lib/actions/ParallelAction.d.ts +2 -2
- package/lib/actions/ParallelAction.js.map +1 -1
- package/lib/actions/SwitchAction.d.ts +2 -2
- package/lib/actions/SwitchAction.js.map +1 -1
- package/lib/actions/ToastAction.d.ts +2 -2
- package/lib/actions/ToastAction.js +6 -4
- package/lib/actions/ToastAction.js.map +2 -2
- package/lib/components/Editor.d.ts +84 -84
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/Pagination.d.ts +1175 -0
- package/lib/components/Pagination.js +274 -0
- package/lib/components/Pagination.js.map +13 -0
- package/lib/components/PickerContainer.d.ts +1 -0
- package/lib/components/PickerContainer.js +3 -2
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/Rating.js +11 -9
- package/lib/components/Rating.js.map +2 -2
- package/lib/components/Select.js +3 -3
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Tag.d.ts +148 -0
- package/lib/components/Tag.js +96 -0
- package/lib/components/Tag.js.map +13 -0
- package/lib/components/TooltipWrapper.d.ts +25 -21
- package/lib/components/TooltipWrapper.js +11 -1
- package/lib/components/TooltipWrapper.js.map +2 -2
- package/lib/components/TransferDropDown.d.ts +85 -84
- package/lib/components/TransferDropDown.js +2 -2
- package/lib/components/TransferDropDown.js.map +2 -2
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/formula/VariableList.d.ts +1 -0
- package/lib/components/formula/VariableList.js.map +2 -2
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +4 -1
- package/lib/components/index.js +7 -1
- package/lib/components/index.js.map +2 -2
- package/lib/components/schema-editor/Array.d.ts +11 -0
- package/lib/components/schema-editor/Array.js +66 -0
- package/lib/components/schema-editor/Array.js.map +13 -0
- package/lib/components/schema-editor/Common.d.ts +29 -0
- package/lib/components/schema-editor/Common.js +69 -0
- package/lib/components/schema-editor/Common.js.map +13 -0
- package/lib/components/schema-editor/Item.d.ts +9 -0
- package/lib/components/schema-editor/Item.js +31 -0
- package/lib/components/schema-editor/Item.js.map +13 -0
- package/lib/components/schema-editor/Object.d.ts +44 -0
- package/lib/components/schema-editor/Object.js +191 -0
- package/lib/components/schema-editor/Object.js.map +13 -0
- package/lib/components/schema-editor/SchemaVariableList.d.ts +316 -0
- package/lib/components/schema-editor/SchemaVariableList.js +74 -0
- package/lib/components/schema-editor/SchemaVariableList.js.map +13 -0
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +305 -0
- package/lib/components/schema-editor/SchemaVariableListPicker.js +32 -0
- package/lib/components/schema-editor/SchemaVariableListPicker.js.map +13 -0
- package/lib/components/schema-editor/index.d.ts +520 -0
- package/lib/components/schema-editor/index.js +118 -0
- package/lib/components/schema-editor/index.js.map +13 -0
- package/lib/components/table/Cell.d.ts +930 -0
- package/lib/components/table/Cell.js +36 -0
- package/lib/components/table/Cell.js.map +13 -0
- package/lib/components/table/HeadCellDropDown.d.ts +514 -0
- package/lib/components/table/HeadCellDropDown.js +52 -0
- package/lib/components/table/HeadCellDropDown.js.map +13 -0
- package/lib/components/table/HeadCellFilter.d.ts +771 -0
- package/lib/components/table/HeadCellFilter.js +106 -0
- package/lib/components/table/HeadCellFilter.js.map +13 -0
- package/lib/components/table/HeadCellSelect.d.ts +672 -0
- package/lib/components/table/HeadCellSelect.js +46 -0
- package/lib/components/table/HeadCellSelect.js.map +13 -0
- package/lib/components/table/HeadCellSort.d.ts +498 -0
- package/lib/components/table/HeadCellSort.js +67 -0
- package/lib/components/table/HeadCellSort.js.map +13 -0
- package/lib/components/table/index.d.ts +1355 -0
- package/lib/components/table/index.js +1095 -0
- package/lib/components/table/index.js.map +13 -0
- package/lib/env.d.ts +2 -4
- package/lib/env.js.map +2 -2
- package/lib/factory.js +0 -95
- package/lib/factory.js.map +2 -2
- package/lib/icons/dot.js +11 -0
- package/lib/index.d.ts +6 -1
- package/lib/index.js +9 -2
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +18 -1
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +18 -1
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +20 -1
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.js +0 -2
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Carousel.d.ts +5 -1
- package/lib/renderers/Carousel.js +18 -5
- package/lib/renderers/Carousel.js.map +2 -2
- package/lib/renderers/Form/ButtonGroupSelect.d.ts +2 -0
- package/lib/renderers/Form/ButtonGroupSelect.js +7 -0
- package/lib/renderers/Form/ButtonGroupSelect.js.map +2 -2
- package/lib/renderers/Form/Checkbox.js +3 -4
- package/lib/renderers/Form/Checkbox.js.map +2 -2
- package/lib/renderers/Form/Checkboxes.d.ts +2 -1
- package/lib/renderers/Form/Checkboxes.js +19 -14
- package/lib/renderers/Form/Checkboxes.js.map +2 -2
- package/lib/renderers/Form/Combo.js +23 -4
- package/lib/renderers/Form/Combo.js.map +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +126 -18
- package/lib/renderers/Form/Editor.d.ts +412 -112
- package/lib/renderers/Form/Editor.js +10 -1
- package/lib/renderers/Form/Editor.js.map +2 -2
- package/lib/renderers/Form/InputExcel.js +6 -1
- package/lib/renderers/Form/InputExcel.js.map +2 -2
- package/lib/renderers/Form/InputFile.js +1 -2
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputTree.js +1 -1
- package/lib/renderers/Form/InputTree.js.map +2 -2
- package/lib/renderers/Form/Item.d.ts +0 -6
- package/lib/renderers/Form/JSONSchemaEditor.d.ts +41 -0
- package/lib/renderers/Form/JSONSchemaEditor.js +33 -0
- package/lib/renderers/Form/JSONSchemaEditor.js.map +13 -0
- package/lib/renderers/Form/ListSelect.d.ts +2 -0
- package/lib/renderers/Form/ListSelect.js +7 -0
- package/lib/renderers/Form/ListSelect.js.map +2 -2
- package/lib/renderers/Form/Options.js +1 -0
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.js +12 -1
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/TabsTransfer.d.ts +1 -1
- package/lib/renderers/Form/TabsTransfer.js +2 -2
- package/lib/renderers/Form/TabsTransfer.js.map +2 -2
- package/lib/renderers/Form/TreeSelect.d.ts +4 -0
- package/lib/renderers/Form/TreeSelect.js +2 -2
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Form/wrapControl.js +10 -5
- package/lib/renderers/Form/wrapControl.js.map +2 -2
- package/lib/renderers/Pagination.d.ts +49 -30
- package/lib/renderers/Pagination.js +3 -132
- package/lib/renderers/Pagination.js.map +2 -2
- package/lib/renderers/Table/HeadCellSearchDropdown.js +0 -1
- package/lib/renderers/Table/HeadCellSearchDropdown.js.map +2 -2
- package/lib/renderers/Table-v2/HeadCellSearchDropdown.d.ts +29 -0
- package/lib/renderers/Table-v2/HeadCellSearchDropdown.js +158 -0
- package/lib/renderers/Table-v2/HeadCellSearchDropdown.js.map +13 -0
- package/lib/renderers/Table-v2/TableCell.d.ts +6 -0
- package/lib/renderers/Table-v2/TableCell.js +28 -0
- package/lib/renderers/Table-v2/TableCell.js.map +13 -0
- package/lib/renderers/Table-v2/index.d.ts +256 -0
- package/lib/renderers/Table-v2/index.js +548 -0
- package/lib/renderers/Table-v2/index.js.map +13 -0
- package/lib/renderers/Tabs.js +1 -1
- package/lib/renderers/Tabs.js.map +2 -2
- package/lib/renderers/Tag.d.ts +66 -0
- package/lib/renderers/Tag.js +53 -0
- package/lib/renderers/Tag.js.map +13 -0
- package/lib/renderers/Wizard.js +3 -3
- package/lib/renderers/Wizard.js.map +2 -2
- package/lib/schemaExtend.js +24 -30
- package/lib/schemaExtend.js.map +2 -2
- package/lib/store/combo.d.ts +140 -20
- package/lib/store/form.d.ts +56 -8
- package/lib/store/formItem.d.ts +3 -1
- package/lib/store/formItem.js +3 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/store/index.js +2 -0
- package/lib/store/index.js.map +2 -2
- package/lib/store/table-v2.d.ts +308 -0
- package/lib/store/table-v2.js +452 -0
- package/lib/store/table-v2.js.map +13 -0
- package/lib/store/table.d.ts +112 -16
- package/lib/store/table.js +1 -1
- package/lib/store/table.js.map +2 -2
- package/lib/themes/ang-ie11.css +1686 -120
- package/lib/themes/ang.css +1807 -208
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +1667 -101
- package/lib/themes/antd.css +1789 -201
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +1662 -97
- package/lib/themes/cxd.css +1983 -394
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +1667 -101
- package/lib/themes/dark.css +1789 -201
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default-ie11.css +1662 -97
- package/lib/themes/default.css +1983 -394
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/DataSchema.d.ts +25 -0
- package/lib/utils/DataSchema.js +104 -0
- package/lib/utils/DataSchema.js.map +13 -0
- package/lib/utils/DataScope.d.ts +23 -0
- package/lib/utils/DataScope.js +140 -0
- package/lib/utils/DataScope.js.map +13 -0
- package/lib/utils/handleAction.js +1 -1
- package/lib/utils/handleAction.js.map +2 -2
- package/lib/utils/renderer-event.d.ts +8 -2
- package/lib/utils/renderer-event.js +102 -1
- package/lib/utils/renderer-event.js.map +2 -2
- package/package.json +3 -2
- package/schema.json +1476 -469
- package/scss/_properties.scss +69 -0
- package/scss/components/_button.scss +37 -39
- package/scss/components/_context-menu.scss +3 -18
- package/scss/components/_json-schema-editor.scss +126 -0
- package/scss/components/_pagination.scss +104 -23
- package/scss/components/_result-box.scss +2 -2
- package/scss/components/_table-v2.scss +912 -0
- package/scss/components/_tag.scss +177 -0
- package/scss/components/form/_selection.scss +1 -14
- package/scss/components/form/_text.scss +1 -1
- package/scss/themes/_antd-variables.scss +0 -13
- package/scss/themes/_common.scss +3 -0
- package/scss/themes/_cxd-variables.scss +7 -17
- package/scss/themes/_dark-variables.scss +0 -13
- package/scss/themes/cxd.scss +1 -1
- package/sdk/ang-ie11.css +2240 -227
- package/sdk/ang.css +2905 -859
- package/sdk/antd-ie11.css +2233 -220
- package/sdk/antd.css +2905 -870
- package/sdk/barcode.js +51 -51
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +2223 -211
- package/sdk/cxd.css +2911 -875
- package/sdk/dark-ie11.css +2233 -220
- package/sdk/dark.css +2905 -870
- package/sdk/exceljs.js +1 -1
- package/sdk/locale/de-DE.js +18 -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 +16 -16
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +2223 -211
- package/sdk/sdk.css +2911 -875
- package/sdk/sdk.js +1326 -1270
- 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 +7 -0
- package/src/SchemaRenderer.tsx +4 -5
- package/src/actions/Action.ts +7 -6
- package/src/actions/AjaxAction.ts +33 -24
- package/src/actions/BreakAction.ts +2 -2
- package/src/actions/BroadcastAction.ts +6 -5
- package/src/actions/CmptAction.ts +5 -6
- package/src/actions/ContinueAction.ts +2 -2
- package/src/actions/CopyAction.ts +14 -8
- package/src/actions/CustomAction.ts +2 -2
- package/src/actions/DialogAction.ts +16 -10
- package/src/actions/DrawerAction.ts +3 -3
- package/src/actions/EmailAction.ts +12 -12
- package/src/actions/LinkAction.ts +34 -14
- package/src/actions/LoopAction.ts +13 -8
- package/src/actions/PageAction.ts +9 -6
- package/src/actions/ParallelAction.ts +2 -2
- package/src/actions/SwitchAction.ts +2 -2
- package/src/actions/ToastAction.ts +9 -5
- package/src/components/InputBox.tsx +1 -0
- package/src/components/Pagination.tsx +446 -0
- package/src/components/PickerContainer.tsx +8 -5
- package/src/components/Rating.tsx +16 -9
- package/src/components/Select.tsx +3 -3
- package/src/components/Tag.tsx +179 -0
- package/src/components/TooltipWrapper.tsx +14 -1
- package/src/components/TransferDropDown.tsx +3 -0
- package/src/components/formula/VariableList.tsx +1 -0
- package/src/components/icons.tsx +2 -0
- package/src/components/index.tsx +7 -1
- package/src/components/schema-editor/Array.tsx +95 -0
- package/src/components/schema-editor/Common.tsx +138 -0
- package/src/components/schema-editor/Item.tsx +36 -0
- package/src/components/schema-editor/Object.tsx +299 -0
- package/src/components/schema-editor/SchemaVariableList.tsx +97 -0
- package/src/components/schema-editor/SchemaVariableListPicker.tsx +66 -0
- package/src/components/schema-editor/index.tsx +211 -0
- package/src/components/table/Cell.tsx +70 -0
- package/src/components/table/HeadCellDropDown.tsx +115 -0
- package/src/components/table/HeadCellFilter.tsx +193 -0
- package/src/components/table/HeadCellSelect.tsx +86 -0
- package/src/components/table/HeadCellSort.tsx +102 -0
- package/src/components/table/index.tsx +1681 -0
- package/src/env.tsx +7 -14
- package/src/factory.tsx +3 -106
- package/src/icons/dot.svg +11 -0
- package/src/index.tsx +8 -1
- package/src/locale/de-DE.ts +18 -1
- package/src/locale/en-US.ts +18 -1
- package/src/locale/zh-CN.ts +20 -1
- package/src/renderers/Action.tsx +1 -1
- package/src/renderers/Carousel.tsx +21 -6
- package/src/renderers/Form/ButtonGroupSelect.tsx +10 -1
- package/src/renderers/Form/Checkbox.tsx +4 -4
- package/src/renderers/Form/Checkboxes.tsx +31 -25
- package/src/renderers/Form/Combo.tsx +20 -4
- package/src/renderers/Form/Editor.tsx +15 -1
- package/src/renderers/Form/InputExcel.tsx +6 -1
- package/src/renderers/Form/InputFile.tsx +1 -2
- package/src/renderers/Form/InputTree.tsx +1 -1
- package/src/renderers/Form/JSONSchemaEditor.tsx +67 -0
- package/src/renderers/Form/ListSelect.tsx +9 -1
- package/src/renderers/Form/Options.tsx +1 -1
- package/src/renderers/Form/Select.tsx +7 -0
- package/src/renderers/Form/TabsTransfer.tsx +2 -2
- package/src/renderers/Form/TreeSelect.tsx +8 -1
- package/src/renderers/Form/wrapControl.tsx +11 -5
- package/src/renderers/Pagination.tsx +65 -253
- package/src/renderers/Table/HeadCellSearchDropdown.tsx +0 -1
- package/src/renderers/Table-v2/HeadCellSearchDropdown.tsx +244 -0
- package/src/renderers/Table-v2/TableCell.tsx +19 -0
- package/src/renderers/Table-v2/index.tsx +1140 -0
- package/src/renderers/Tabs.tsx +1 -1
- package/src/renderers/Tag.tsx +128 -0
- package/src/renderers/Wizard.tsx +3 -3
- package/src/schemaExtend.ts +24 -28
- package/src/store/formItem.ts +5 -1
- package/src/store/index.ts +2 -0
- package/src/store/table-v2.ts +646 -0
- package/src/store/table.ts +1 -1
- package/src/utils/DataSchema.ts +131 -0
- package/src/utils/DataScope.ts +190 -0
- package/src/utils/handleAction.ts +1 -1
- package/src/utils/renderer-event.ts +113 -2
@@ -0,0 +1,912 @@
|
|
1
|
+
.#{$ns}Table-v2 {
|
2
|
+
position: relative;
|
3
|
+
|
4
|
+
border-radius: var(--Table-borderRadius);
|
5
|
+
margin-bottom: var(--gap-md);
|
6
|
+
|
7
|
+
&.#{$ns}Table-bordered {
|
8
|
+
border-width: var(--Table-borderWidth) var(--Table-borderWidth) 0 var(--Table-borderWidth);
|
9
|
+
border-style: solid;
|
10
|
+
border-color: var(--Table-borderColor);
|
11
|
+
border-collapse: inherit;
|
12
|
+
|
13
|
+
.#{$ns}Table-table {
|
14
|
+
> thead > tr > th,
|
15
|
+
> tbody > tr > td,
|
16
|
+
> tfoot > tr > td {
|
17
|
+
border-right: var(--Table-borderWidth) solid var(--Table-borderColor);
|
18
|
+
|
19
|
+
&:last-child {
|
20
|
+
border-right: none;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.#{$ns}Table-footer {
|
26
|
+
border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
|
27
|
+
}
|
28
|
+
|
29
|
+
.#{$ns}Table-title {
|
30
|
+
border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
&.#{$ns}Table-large {
|
35
|
+
.#{$ns}Table-table {
|
36
|
+
> thead > tr {
|
37
|
+
> th {
|
38
|
+
padding: var(--TableCell-paddingY-large) var(--TableCell-paddingX-large);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
> tbody > tr {
|
43
|
+
> td,
|
44
|
+
> th {
|
45
|
+
padding: var(--TableCell-paddingY-large) var(--TableCell-paddingX-large);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
> tfoot > tr {
|
50
|
+
> td {
|
51
|
+
padding: var(--TableCell-paddingY-large) var(--TableCell-paddingX-large);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.#{$ns}TableCell-filterBtn {
|
57
|
+
right: calc(
|
58
|
+
var(--TableCell-paddingX-large) - var(--TableCell-filterBtn-width) / 2
|
59
|
+
);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
&.#{$ns}Table-small {
|
64
|
+
.#{$ns}Table-table {
|
65
|
+
> thead > tr {
|
66
|
+
> th {
|
67
|
+
padding: var(--TableCell-paddingY-small) var(--TableCell-paddingX-small);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
> tbody > tr {
|
72
|
+
> td,
|
73
|
+
> th {
|
74
|
+
padding: var(--TableCell-paddingY-small) var(--TableCell-paddingX-small);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
> tfoot > tr {
|
79
|
+
> td {
|
80
|
+
padding: var(--TableCell-paddingY-small) var(--TableCell-paddingX-small);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.#{$ns}TableCell-filterBtn {
|
86
|
+
right: calc(
|
87
|
+
var(--TableCell-paddingX-small) - var(--TableCell-filterBtn-width) / 2
|
88
|
+
);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.#{$ns}Table-title,
|
93
|
+
.#{$ns}Table-footer {
|
94
|
+
background: var(--Table-heading-bg);
|
95
|
+
padding: calc(
|
96
|
+
(
|
97
|
+
var(--Table-heading-height) - var(--Table-fontSize) *
|
98
|
+
var(--lineHeightBase)
|
99
|
+
) / 2
|
100
|
+
)
|
101
|
+
var(--gap-sm);
|
102
|
+
}
|
103
|
+
|
104
|
+
.#{$ns}Table-header {
|
105
|
+
padding: var(--Table-toolbar-marginY) var(--Table-toolbar-marginX);
|
106
|
+
|
107
|
+
&.#{$ns}Table-sticky-holder {
|
108
|
+
position: sticky;
|
109
|
+
z-index: 3;
|
110
|
+
background: var(--Table-bg);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
.#{$ns}Table-toolbar {
|
115
|
+
@include clearfix();
|
116
|
+
display: flex;
|
117
|
+
margin: 0 var(--Table-toolbar-marginX) var(--Table-toolbar-marginY);
|
118
|
+
flex-wrap: wrap;
|
119
|
+
|
120
|
+
.#{$ns}DropDown {
|
121
|
+
&-menuItem {
|
122
|
+
height: auto;
|
123
|
+
|
124
|
+
.#{$ns}Checkbox {
|
125
|
+
display: flex;
|
126
|
+
align-items: center;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
.#{$ns}Table-header + .#{$ns}Table-toolbar {
|
133
|
+
padding-top: 0;
|
134
|
+
}
|
135
|
+
|
136
|
+
.#{$ns}Table-content {
|
137
|
+
min-height: 0.01%;
|
138
|
+
overflow-x: auto;
|
139
|
+
transform: translateZ(0);
|
140
|
+
|
141
|
+
th {
|
142
|
+
position: relative;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
.#{$ns}Table-table {
|
147
|
+
width: 100%;
|
148
|
+
min-width: 100%;
|
149
|
+
margin-bottom: 0;
|
150
|
+
font-size: var(--Table-fontSize);
|
151
|
+
color: var(--Table-color);
|
152
|
+
background: var(--Table-bg);
|
153
|
+
border-spacing: 0;
|
154
|
+
border-collapse: collapse;
|
155
|
+
border: none;
|
156
|
+
|
157
|
+
& th,
|
158
|
+
& td {
|
159
|
+
text-align: left;
|
160
|
+
}
|
161
|
+
|
162
|
+
& th.text-center,
|
163
|
+
& td.text-center,
|
164
|
+
& th[colspan],
|
165
|
+
& td[colspan] {
|
166
|
+
text-align: center;
|
167
|
+
}
|
168
|
+
|
169
|
+
& th.text-right,
|
170
|
+
& td.text-right {
|
171
|
+
text-align: right;
|
172
|
+
}
|
173
|
+
|
174
|
+
> thead > tr {
|
175
|
+
> th {
|
176
|
+
background: var(--Table-thead-bg);
|
177
|
+
padding: var(--TableCell-paddingY-default) var(--TableCell-paddingX);
|
178
|
+
|
179
|
+
&:first-child {
|
180
|
+
padding-left: var(--TableCell--edge-paddingX-default);
|
181
|
+
}
|
182
|
+
|
183
|
+
&.#{$ns}Table-cell-last {
|
184
|
+
padding-right: var(--TableCell--edge-paddingX-default);
|
185
|
+
}
|
186
|
+
|
187
|
+
&:not(.#{$ns}Table-cell-last) {
|
188
|
+
border-right: var(--Table-thead-borderWidth) solid
|
189
|
+
var(--Table-thead-borderColor);
|
190
|
+
}
|
191
|
+
|
192
|
+
&.#{$ns}Table-row-expand-icon-cell {
|
193
|
+
border-right: 0;
|
194
|
+
}
|
195
|
+
|
196
|
+
font-size: var(--Table-thead-fontSize);
|
197
|
+
color: var(--Table-thead-color);
|
198
|
+
font-weight: var(--fontWeightNormal);
|
199
|
+
white-space: nowrap;
|
200
|
+
|
201
|
+
.#{$ns}Remark {
|
202
|
+
margin-left: var(--gap-xs);
|
203
|
+
position: relative;
|
204
|
+
top: 2px;
|
205
|
+
}
|
206
|
+
|
207
|
+
.#{$ns}Table-head-cell-wrapper {
|
208
|
+
display: flex;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
> thead > tr:not(:last-child) {
|
214
|
+
border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
|
215
|
+
}
|
216
|
+
|
217
|
+
> tbody > tr {
|
218
|
+
position: relative;
|
219
|
+
border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
|
220
|
+
|
221
|
+
&.#{$ns}Table-summary-row {
|
222
|
+
> td {
|
223
|
+
background: var(--Table-thead-bg);
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
> th {
|
228
|
+
background: var(--Table-thead-bg);
|
229
|
+
color: var(--Table-thead-color);
|
230
|
+
font-weight: var(--fontWeightNormal);
|
231
|
+
white-space: nowrap;
|
232
|
+
border-right: var(--Table-thead-borderWidth) solid
|
233
|
+
var(--Table-thead-borderColor);
|
234
|
+
}
|
235
|
+
|
236
|
+
> td,
|
237
|
+
> th {
|
238
|
+
padding: var(--TableCell-paddingY-default) var(--TableCell-paddingX);
|
239
|
+
|
240
|
+
&:first-child {
|
241
|
+
padding-left: var(--TableCell--edge-paddingX-default);
|
242
|
+
}
|
243
|
+
|
244
|
+
&:last-child {
|
245
|
+
padding-right: var(--TableCell--edge-paddingX-default);
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
.#{$ns}Table-cell-wrapper-prefix {
|
250
|
+
display: flex;
|
251
|
+
|
252
|
+
.#{$ns}Table-expandBtn {
|
253
|
+
margin-right: 5px;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
.#{$ns}Table-cell-height-large {
|
258
|
+
height: var(--TableCell-line-height-large);
|
259
|
+
line-height: var(--TableCell-line-height-large);
|
260
|
+
overflow: hidden;
|
261
|
+
}
|
262
|
+
|
263
|
+
.#{$ns}Table-cell-height-middle {
|
264
|
+
height: var(--TableCell-line-height-middle);
|
265
|
+
line-height: var(--TableCell-line-height-middle);
|
266
|
+
overflow: hidden;
|
267
|
+
}
|
268
|
+
|
269
|
+
@if var(--Table-strip-bg) !=transparent {
|
270
|
+
background: transparent;
|
271
|
+
|
272
|
+
&.#{$ns}Table-tr--odd {
|
273
|
+
background: var(--Table-strip-bg);
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
&.#{$ns}Table-tr--hasItemAction:hover {
|
278
|
+
cursor: pointer;
|
279
|
+
}
|
280
|
+
|
281
|
+
&:hover,
|
282
|
+
&.is-hovered {
|
283
|
+
background: var(--Table-onHover-bg);
|
284
|
+
border-color: var(--Table-onHover-borderColor);
|
285
|
+
color: var(--Table-onHover-color);
|
286
|
+
|
287
|
+
& + tr {
|
288
|
+
border-color: var(--Table-onHover-borderColor);
|
289
|
+
}
|
290
|
+
}
|
291
|
+
|
292
|
+
&.is-checked {
|
293
|
+
background: var(--Table-onChecked-bg);
|
294
|
+
border-color: var(--Table-onChecked-borderColor);
|
295
|
+
color: var(--Table-onChecked-color);
|
296
|
+
|
297
|
+
& + tr {
|
298
|
+
border-color: var(--Table-onChecked-borderColor);
|
299
|
+
}
|
300
|
+
}
|
301
|
+
|
302
|
+
&.is-moved,
|
303
|
+
&.is-modified {
|
304
|
+
background: var(--Table-onModified-bg);
|
305
|
+
border-color: var(--Table-onModified-borderColor);
|
306
|
+
color: var(--Table-onModified-color);
|
307
|
+
|
308
|
+
& + tr {
|
309
|
+
border-color: var(--Table-onModified-borderColor);
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
&.is-summary {
|
314
|
+
background: var(--Table-thead-bg);
|
315
|
+
color: var(--Table-thead-color);
|
316
|
+
font-weight: var(--fontWeightNormal);
|
317
|
+
}
|
318
|
+
|
319
|
+
&.bg-light {
|
320
|
+
@include color-variant($light, 2%, 3%, 3%, 5%);
|
321
|
+
color: $text-color;
|
322
|
+
}
|
323
|
+
|
324
|
+
&.bg-dark {
|
325
|
+
@include color-variant($dark, 5%, 10%, 5%, 10%);
|
326
|
+
@include font-variant($dark);
|
327
|
+
}
|
328
|
+
|
329
|
+
&.bg-black {
|
330
|
+
@include color-variant($black, 5%, 10%, 5%, 10%);
|
331
|
+
@include font-variant($black);
|
332
|
+
}
|
333
|
+
|
334
|
+
&.bg-primary {
|
335
|
+
@include color-variant($primary, 5%, 10%, 5%, 10%);
|
336
|
+
@include font-variant($primary);
|
337
|
+
}
|
338
|
+
|
339
|
+
&.bg-success {
|
340
|
+
@include color-variant($success, 5%, 10%, 5%, 10%);
|
341
|
+
@include font-variant($success);
|
342
|
+
}
|
343
|
+
|
344
|
+
&.bg-info {
|
345
|
+
@include color-variant($info, 5%, 10%, 5%, 10%);
|
346
|
+
@include font-variant($info);
|
347
|
+
}
|
348
|
+
|
349
|
+
&.bg-warning {
|
350
|
+
@include color-variant($warning, 5%, 10%, 5%, 10%);
|
351
|
+
@include font-variant($warning);
|
352
|
+
}
|
353
|
+
|
354
|
+
&.bg-danger {
|
355
|
+
@include color-variant($danger, 5%, 10%, 5%, 10%);
|
356
|
+
@include font-variant($danger);
|
357
|
+
}
|
358
|
+
|
359
|
+
&.is-dragging {
|
360
|
+
opacity: var(--Table-onDragging-opacity);
|
361
|
+
}
|
362
|
+
}
|
363
|
+
|
364
|
+
@for $i from 2 through 10 {
|
365
|
+
tr.#{$ns}Table-tr--#{$i}th.is-expanded {
|
366
|
+
.#{$ns}Table-expandCell:before {
|
367
|
+
right: px2rem(7px) + px2rem(-18px) * ($i - 1);
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
tr.#{$ns}Table-tr--#{$i}th {
|
372
|
+
.#{$ns}Table-expandBtn {
|
373
|
+
position: relative;
|
374
|
+
right: -(px2rem(18px)) * ($i - 1);
|
375
|
+
}
|
376
|
+
|
377
|
+
.#{$ns}Table-expandCell + td {
|
378
|
+
position: relative;
|
379
|
+
|
380
|
+
&::before {
|
381
|
+
content: '';
|
382
|
+
position: absolute;
|
383
|
+
width: px2rem(1px);
|
384
|
+
top: 0;
|
385
|
+
bottom: 0;
|
386
|
+
left: px2rem(-8px) + px2rem(18px) * ($i - 2);
|
387
|
+
height: auto;
|
388
|
+
background: var(--Table-tree-borderColor);
|
389
|
+
}
|
390
|
+
|
391
|
+
&::after {
|
392
|
+
content: '';
|
393
|
+
position: absolute;
|
394
|
+
height: px2rem(1px);
|
395
|
+
top: 50%;
|
396
|
+
left: px2rem(-8px) + px2rem(18px) * ($i - 2);
|
397
|
+
width: px2rem(10px);
|
398
|
+
background: var(--Table-tree-borderColor);
|
399
|
+
}
|
400
|
+
|
401
|
+
padding-left: px2rem(18px) * $i - px2rem(18px);
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
tr.#{$ns}Table-tr--#{$i}th.is-expandable {
|
406
|
+
.#{$ns}Table-expandCell + td {
|
407
|
+
padding-left: px2rem(18px) * ($i - 1);
|
408
|
+
}
|
409
|
+
}
|
410
|
+
|
411
|
+
tr.#{$ns}Table-tr--#{$i}th.is-last:not(.is-expanded) {
|
412
|
+
.#{$ns}Table-expandCell + td {
|
413
|
+
&::before {
|
414
|
+
height: 50%;
|
415
|
+
bottom: auto;
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
419
|
+
}
|
420
|
+
|
421
|
+
> thead > tr > th.#{$ns}Table-checkCell,
|
422
|
+
> tbody > tr > td.#{$ns}Table-checkCell {
|
423
|
+
border-right: 0;
|
424
|
+
white-space: nowrap;
|
425
|
+
|
426
|
+
.#{$ns}Checkbox {
|
427
|
+
margin: 0;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
|
431
|
+
> thead > tr > th.#{$ns}Table-expandCell,
|
432
|
+
> tbody > tr > td.#{$ns}Table-expandCell {
|
433
|
+
border-right: 0;
|
434
|
+
width: px2rem(1px);
|
435
|
+
padding-right: 0;
|
436
|
+
}
|
437
|
+
|
438
|
+
> thead > tr > th.#{$ns}Table-dragCell,
|
439
|
+
> tbody > tr > td.#{$ns}Table-dragCell {
|
440
|
+
border-right: 0;
|
441
|
+
width: px2rem(1px);
|
442
|
+
padding-right: 0;
|
443
|
+
cursor: move;
|
444
|
+
> svg {
|
445
|
+
vertical-align: middle;
|
446
|
+
}
|
447
|
+
}
|
448
|
+
|
449
|
+
> tbody > tr > td.#{$ns}Table-expandCell {
|
450
|
+
position: relative;
|
451
|
+
|
452
|
+
@for $i from 1 through 7 {
|
453
|
+
.#{$ns}Table-divider-#{$i} {
|
454
|
+
position: absolute;
|
455
|
+
width: px2rem(1px);
|
456
|
+
top: 0;
|
457
|
+
bottom: 0;
|
458
|
+
height: 100%;
|
459
|
+
background: var(--Table-tree-borderColor);
|
460
|
+
right: px2rem(7px) + px2rem(-18px) * ($i - 1);
|
461
|
+
}
|
462
|
+
}
|
463
|
+
}
|
464
|
+
|
465
|
+
> tbody > tr.is-expanded > td.#{$ns}Table-expandCell {
|
466
|
+
|
467
|
+
&::before {
|
468
|
+
content: '';
|
469
|
+
position: absolute;
|
470
|
+
width: px2rem(1px);
|
471
|
+
top: 50%;
|
472
|
+
bottom: 0;
|
473
|
+
right: px2rem(7px);
|
474
|
+
height: auto;
|
475
|
+
background: var(--Table-tree-borderColor);
|
476
|
+
}
|
477
|
+
}
|
478
|
+
|
479
|
+
> thead > tr > th.#{$ns}TableCell--sortable {
|
480
|
+
padding-right: calc(
|
481
|
+
var(--TableCell-paddingX) + var(--TableCell-sortBtn-width)
|
482
|
+
);
|
483
|
+
position: relative;
|
484
|
+
}
|
485
|
+
|
486
|
+
> thead > tr > th.#{$ns}TableCell--searchable {
|
487
|
+
padding-right: calc(
|
488
|
+
var(--TableCell-paddingX) + var(--TableCell-searchBtn-width)
|
489
|
+
);
|
490
|
+
position: relative;
|
491
|
+
}
|
492
|
+
|
493
|
+
> thead > tr > th.#{$ns}TableCell--filterable {
|
494
|
+
padding-right: calc(
|
495
|
+
var(--TableCell-paddingX) + var(--TableCell-filterBtn-width)
|
496
|
+
);
|
497
|
+
position: relative;
|
498
|
+
}
|
499
|
+
|
500
|
+
> tbody > tr.#{$ns}Table-row-disabled {
|
501
|
+
background: var(--TableRow-onDisabled-bg);
|
502
|
+
color: var(--TableRow-onDisabled-color);
|
503
|
+
}
|
504
|
+
|
505
|
+
> tbody > tr:not(.#{$ns}Table-row-disabled) > td.#{$ns}Table-cell-row-hover {
|
506
|
+
background: var(--Table-onHover-bg);
|
507
|
+
border-color: var(--Table-onHover-borderColor);
|
508
|
+
color: var(--Table-onHover-color);
|
509
|
+
}
|
510
|
+
|
511
|
+
> thead > tr > th.#{$ns}Table-cell-fix-left-last,
|
512
|
+
> tbody > tr > td.#{$ns}Table-cell-fix-left-last,
|
513
|
+
> tfoot > tr > td.#{$ns}Table-cell-fix-left-last {
|
514
|
+
&:after {
|
515
|
+
position: absolute;
|
516
|
+
top: 0;
|
517
|
+
right: 0;
|
518
|
+
bottom: -1px;
|
519
|
+
width: 30px;
|
520
|
+
transform: translate(100%);
|
521
|
+
transition: box-shadow .3s;
|
522
|
+
content: "";
|
523
|
+
pointer-events: none;
|
524
|
+
}
|
525
|
+
}
|
526
|
+
|
527
|
+
> thead > tr > th.#{$ns}Table-cell-fix-right-first,
|
528
|
+
> tbody > tr > td.#{$ns}Table-cell-fix-right-first,
|
529
|
+
> tfoot > tr > td.#{$ns}Table-cell-fix-right-last {
|
530
|
+
&:after {
|
531
|
+
position: absolute;
|
532
|
+
top: 0;
|
533
|
+
bottom: -1px;
|
534
|
+
left: 0;
|
535
|
+
width: 30px;
|
536
|
+
transform: translate(-100%);
|
537
|
+
transition: box-shadow .3s;
|
538
|
+
content: "";
|
539
|
+
pointer-events: none;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
|
543
|
+
> tbody > tr > td.#{$ns}Table-cell-expand-icon-cell {
|
544
|
+
text-align: center;
|
545
|
+
|
546
|
+
.#{$ns}Table-row-indent {
|
547
|
+
height: 1px;
|
548
|
+
}
|
549
|
+
}
|
550
|
+
|
551
|
+
> tbody > tr.#{$ns}Table-expanded-row > td {
|
552
|
+
background: var(--Table-onHover-bg);
|
553
|
+
}
|
554
|
+
|
555
|
+
> tfoot > tr {
|
556
|
+
border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
|
557
|
+
|
558
|
+
> td {
|
559
|
+
padding: var(--TableCell-paddingY-default) var(--TableCell-paddingX);
|
560
|
+
background: var(--Table-thead-bg);
|
561
|
+
}
|
562
|
+
}
|
563
|
+
}
|
564
|
+
|
565
|
+
.#{$ns}Table-container {
|
566
|
+
.#{$ns}Table-header {
|
567
|
+
padding: 0;
|
568
|
+
}
|
569
|
+
}
|
570
|
+
|
571
|
+
&.#{$ns}Table-ping-left {
|
572
|
+
.#{$ns}Table-table {
|
573
|
+
> thead > tr > th.#{$ns}Table-cell-fix-left-last,
|
574
|
+
> tbody > tr > td.#{$ns}Table-cell-fix-left-last,
|
575
|
+
> tfoot > tr > td.#{$ns}Table-cell-fix-left-last {
|
576
|
+
&:after {
|
577
|
+
box-shadow: var(--Table-fixedLeftLast-boxShadow);
|
578
|
+
}
|
579
|
+
}
|
580
|
+
|
581
|
+
> tbody > tr:not(.#{$ns}Table-row-disabled) {
|
582
|
+
> td.#{$ns}Table-cell-fix-left {
|
583
|
+
border-right: none;
|
584
|
+
}
|
585
|
+
|
586
|
+
> td.#{$ns}Table-cell-fix-left:not(.#{$ns}Table-cell-row-hover) {
|
587
|
+
background: #FFF;
|
588
|
+
}
|
589
|
+
}
|
590
|
+
|
591
|
+
> tfoot > tr > td:not(:last-child) {
|
592
|
+
&.#{$ns}Table-cell-fix-left-last {
|
593
|
+
border-right: none;
|
594
|
+
}
|
595
|
+
}
|
596
|
+
|
597
|
+
> thead > tr > th:not(:last-child):not(:first-child) {
|
598
|
+
&.#{$ns}Table-cell-fix-left-last {
|
599
|
+
border-right: none;
|
600
|
+
}
|
601
|
+
}
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
605
|
+
&.#{$ns}Table-ping-right {
|
606
|
+
.#{$ns}Table-table {
|
607
|
+
> thead > tr > th.#{$ns}Table-cell-fix-right-first,
|
608
|
+
> tbody > tr > td.#{$ns}Table-cell-fix-right-first,
|
609
|
+
> tfoot > tr > td.#{$ns}Table-cell-fix-right-first {
|
610
|
+
&:after {
|
611
|
+
box-shadow: var(--Table-fixedRightFirst-boxShadow);
|
612
|
+
}
|
613
|
+
}
|
614
|
+
|
615
|
+
> tbody > tr:not(.#{$ns}Table-row-disabled) {
|
616
|
+
> td.#{$ns}Table-cell-fix-right {
|
617
|
+
border-right: none;
|
618
|
+
}
|
619
|
+
|
620
|
+
> td.#{$ns}Table-cell-fix-right:not(.#{$ns}Table-cell-row-hover) {
|
621
|
+
background: #FFF;
|
622
|
+
}
|
623
|
+
}
|
624
|
+
}
|
625
|
+
|
626
|
+
&:not(.#{$ns}Table-bordered) {
|
627
|
+
.#{$ns}Table-table {
|
628
|
+
> thead > tr > th.#{$ns}Table-cell-fix-right-first-prev {
|
629
|
+
border-right: none;
|
630
|
+
}
|
631
|
+
|
632
|
+
> thead > tr > th:not(:last-child) {
|
633
|
+
&.#{$ns}Table-cell-fix-right-first {
|
634
|
+
border-right: none;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
}
|
638
|
+
}
|
639
|
+
}
|
640
|
+
|
641
|
+
&.#{$ns}Table-resizable {
|
642
|
+
.#{$ns}Table-table {
|
643
|
+
> thead > tr > th {
|
644
|
+
position: relative;
|
645
|
+
|
646
|
+
.#{$ns}Table-thead-resizable {
|
647
|
+
position: absolute;
|
648
|
+
width: 1px;
|
649
|
+
right: 0;
|
650
|
+
top: 0;
|
651
|
+
bottom: 0;
|
652
|
+
cursor: col-resize;
|
653
|
+
}
|
654
|
+
}
|
655
|
+
}
|
656
|
+
}
|
657
|
+
|
658
|
+
.#{$ns}Table-loading {
|
659
|
+
padding: var(--Table-loading-padding);
|
660
|
+
text-align: center;
|
661
|
+
}
|
662
|
+
|
663
|
+
.#{$ns}TableCell-sortBtn {
|
664
|
+
cursor: pointer;
|
665
|
+
width: var(--TableCell-sortBtn-width);
|
666
|
+
height: var(--gap-md);
|
667
|
+
position: static;
|
668
|
+
display: inline-block;
|
669
|
+
transform: none;
|
670
|
+
color: var(--icon-color);
|
671
|
+
margin-left: var(--TableCell-icon-gap);
|
672
|
+
|
673
|
+
&:hover {
|
674
|
+
color: var(--icon-onHover-color);
|
675
|
+
}
|
676
|
+
|
677
|
+
&--up > svg,
|
678
|
+
&--down > svg,
|
679
|
+
&--default > svg {
|
680
|
+
color: inherit;
|
681
|
+
width: 13px;
|
682
|
+
height: 13px;
|
683
|
+
}
|
684
|
+
|
685
|
+
&--up,
|
686
|
+
&--down,
|
687
|
+
&--default {
|
688
|
+
display: none;
|
689
|
+
z-index: 2;
|
690
|
+
font-style: normal;
|
691
|
+
|
692
|
+
&.is-active {
|
693
|
+
display: inline-block;
|
694
|
+
}
|
695
|
+
}
|
696
|
+
|
697
|
+
&--default {
|
698
|
+
&.is-active {
|
699
|
+
color: var(--text--muted-color);
|
700
|
+
&:hover {
|
701
|
+
color: var(--text-color);
|
702
|
+
}
|
703
|
+
}
|
704
|
+
}
|
705
|
+
&--up,
|
706
|
+
&--down {
|
707
|
+
&.is-active {
|
708
|
+
color: var(--TableCell-sortBtn--onActive-color);
|
709
|
+
}
|
710
|
+
}
|
711
|
+
}
|
712
|
+
|
713
|
+
.#{$ns}TableCell-searchBtn {
|
714
|
+
cursor: pointer;
|
715
|
+
position: static;
|
716
|
+
transform: translateY(-50%);
|
717
|
+
color: var(--text--muted-color);
|
718
|
+
margin-left: var(--TableCell-icon-gap);
|
719
|
+
|
720
|
+
svg.icon {
|
721
|
+
width: 12px;
|
722
|
+
height: 12px;
|
723
|
+
}
|
724
|
+
|
725
|
+
&:hover {
|
726
|
+
color: var(--text-color);
|
727
|
+
}
|
728
|
+
&.is-active {
|
729
|
+
color: var(--TableCell-searchBtn--onActive-color);
|
730
|
+
}
|
731
|
+
}
|
732
|
+
|
733
|
+
.#{$ns}TableCell-searchPopOver {
|
734
|
+
border: none;
|
735
|
+
min-width: px2rem(320px);
|
736
|
+
max-width: px2rem(640px);
|
737
|
+
|
738
|
+
.#{$ns}Panel {
|
739
|
+
margin: 0;
|
740
|
+
}
|
741
|
+
}
|
742
|
+
|
743
|
+
.#{$ns}TableCell-filterBtn {
|
744
|
+
cursor: pointer;
|
745
|
+
width: var(--TableCell-filterBtn-width);
|
746
|
+
position: static;
|
747
|
+
display: inline-block;
|
748
|
+
transform: none;
|
749
|
+
color: var(--text--muted-color);
|
750
|
+
margin-left: var(--TableCell-icon-gap);
|
751
|
+
|
752
|
+
svg.icon {
|
753
|
+
width: 13px;
|
754
|
+
height: 13px;
|
755
|
+
}
|
756
|
+
|
757
|
+
&:hover {
|
758
|
+
color: var(--text-color);
|
759
|
+
}
|
760
|
+
|
761
|
+
&.is-active {
|
762
|
+
color: var(--TableCell-filterBtn--onActive-color);
|
763
|
+
}
|
764
|
+
|
765
|
+
.#{$ns}Remark {
|
766
|
+
display: inline;
|
767
|
+
}
|
768
|
+
}
|
769
|
+
|
770
|
+
.#{$ns}TableCell-filterPopOver {
|
771
|
+
border: none;
|
772
|
+
width: px2rem(160px);
|
773
|
+
|
774
|
+
.#{$ns}DropDown-menu {
|
775
|
+
margin: 0;
|
776
|
+
padding: 0;
|
777
|
+
|
778
|
+
.#{$ns}DropDown-divider {
|
779
|
+
height: var(--TableCell-filterPopOver-dropDownItem-height);
|
780
|
+
line-height: var(--TableCell-filterPopOver-dropDownItem-height);
|
781
|
+
padding: var(--TableCell-filterPopOver-dropDownItem-padding);
|
782
|
+
background: var(--white);
|
783
|
+
margin: 0;
|
784
|
+
|
785
|
+
&:hover {
|
786
|
+
background: var(--light);
|
787
|
+
color: var(--primary);
|
788
|
+
}
|
789
|
+
|
790
|
+
&.is-selected {
|
791
|
+
background: var(--light);
|
792
|
+
color: var(--primary);
|
793
|
+
}
|
794
|
+
|
795
|
+
.#{$ns}Checkbox {
|
796
|
+
width: 100%;
|
797
|
+
margin: 0;
|
798
|
+
}
|
799
|
+
}
|
800
|
+
}
|
801
|
+
|
802
|
+
.#{$ns}DropDown-multiple-menu {
|
803
|
+
text-align: center;
|
804
|
+
border-top: 1px solid var(--Table-borderColor);
|
805
|
+
|
806
|
+
.#{$ns}Button {
|
807
|
+
margin: 0 5px;
|
808
|
+
padding: 0 10px;
|
809
|
+
}
|
810
|
+
|
811
|
+
&:hover {
|
812
|
+
background: none;
|
813
|
+
}
|
814
|
+
}
|
815
|
+
}
|
816
|
+
|
817
|
+
.#{$ns}TableCell-selectionBtn {
|
818
|
+
cursor: pointer;
|
819
|
+
margin-left: 4px;
|
820
|
+
|
821
|
+
svg.icon {
|
822
|
+
transform: rotate(270deg);
|
823
|
+
font-size: 12px;
|
824
|
+
}
|
825
|
+
}
|
826
|
+
|
827
|
+
.#{$ns}TableCell-selectionPopOver {
|
828
|
+
.#{$ns}DropDown-menu {
|
829
|
+
margin: 0;
|
830
|
+
padding: 0;
|
831
|
+
}
|
832
|
+
}
|
833
|
+
|
834
|
+
&.#{$ns}Table-expandBtn {
|
835
|
+
position: relative;
|
836
|
+
z-index: 1;
|
837
|
+
color: var(--Table-expandBtn-color);
|
838
|
+
display: inline-flex;
|
839
|
+
justify-content: center;
|
840
|
+
align-items: center;
|
841
|
+
width: px2rem(14px);
|
842
|
+
line-height: 1;
|
843
|
+
height: 16px;
|
844
|
+
|
845
|
+
> svg {
|
846
|
+
display: inline-block;
|
847
|
+
text-align: center;
|
848
|
+
cursor: pointer;
|
849
|
+
transition: transform ease-in-out var(--animation-duration),
|
850
|
+
top ease-in-out var(--animation-duration);
|
851
|
+
position: relative;
|
852
|
+
transform-origin: 50% 50%;
|
853
|
+
width: px2rem(10px);
|
854
|
+
height: px2rem(10px);
|
855
|
+
top: 0;
|
856
|
+
}
|
857
|
+
|
858
|
+
&.is-active > svg {
|
859
|
+
transform: rotate(90deg);
|
860
|
+
}
|
861
|
+
|
862
|
+
&:hover {
|
863
|
+
text-decoration: none;
|
864
|
+
}
|
865
|
+
}
|
866
|
+
|
867
|
+
.#{$ns}Table-table > tbody > tr:hover .#{$ns}Table-dragBtn,
|
868
|
+
.#{$ns}Table-table > tbody > tr.is-dragging .#{$ns}Table-dragBtn,
|
869
|
+
.#{$ns}Table-table > tbody > tr.is-drop-allowed .#{$ns}Table-dragBtn {
|
870
|
+
visibility: visible;
|
871
|
+
}
|
872
|
+
|
873
|
+
.fake-hide {
|
874
|
+
visibility: hidden;
|
875
|
+
position: absolute;
|
876
|
+
}
|
877
|
+
|
878
|
+
.#{$ns}Table-badge {
|
879
|
+
position: absolute;
|
880
|
+
top: 0;
|
881
|
+
left: 0;
|
882
|
+
}
|
883
|
+
}
|
884
|
+
|
885
|
+
.#{$ns}InputTable-toolbar {
|
886
|
+
display: flex;
|
887
|
+
flex-direction: row;
|
888
|
+
flex-wrap: wrap;
|
889
|
+
justify-content: space-between;
|
890
|
+
}
|
891
|
+
|
892
|
+
.#{$ns}InputTable-pager {
|
893
|
+
margin-left: auto;
|
894
|
+
}
|
895
|
+
|
896
|
+
.#{$ns}OperationField {
|
897
|
+
margin: px2rem(-3px);
|
898
|
+
|
899
|
+
> .#{$ns}Button,
|
900
|
+
> .#{$ns}Button--disabled-wrap > .#{$ns}Button {
|
901
|
+
margin: px2rem(3px);
|
902
|
+
}
|
903
|
+
|
904
|
+
> .#{$ns}Button--disabled-wrap > .#{$ns}Button--link {
|
905
|
+
padding: 0;
|
906
|
+
}
|
907
|
+
|
908
|
+
> .#{$ns}Button--link {
|
909
|
+
padding: 0;
|
910
|
+
margin-right: px2rem(10px);
|
911
|
+
}
|
912
|
+
}
|