@nokecy/qc-ui 0.6.7 → 0.7.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/README.md +23 -23
- package/dist/cjs/ag-grid-plus/_utils/boolSelect.d.ts +4 -4
- package/dist/cjs/ag-grid-plus/_utils/boolSelect.js +12 -29
- package/dist/cjs/ag-grid-plus/ag-grid-theme-builder.css +350 -0
- package/dist/cjs/ag-grid-plus/ag-gridPlus.d.ts +6 -7
- package/dist/cjs/ag-grid-plus/ag-gridPlus.js +98 -166
- package/dist/cjs/ag-grid-plus/context/gridContext.d.ts +12 -12
- package/dist/cjs/ag-grid-plus/context/gridContext.js +2 -7
- package/dist/cjs/ag-grid-plus/gridManager/index.d.ts +7 -8
- package/dist/cjs/ag-grid-plus/gridManager/index.js +21 -32
- package/dist/cjs/ag-grid-plus/index.d.ts +11 -9
- package/dist/cjs/ag-grid-plus/index.js +3 -11
- package/dist/cjs/ag-grid-plus/index.less +6 -6
- package/dist/cjs/ag-grid-plus/interface.d.ts +39 -39
- package/dist/cjs/ag-grid-plus/interface.js +1 -2
- package/dist/cjs/ag-grid-plus/queryForm/index.d.ts +11 -11
- package/dist/cjs/ag-grid-plus/queryForm/index.js +29 -72
- package/dist/cjs/ag-grid-plus/queryForm/index.less +48 -48
- package/dist/cjs/ag-grid-plus/queryForm/queryForm.d.ts +3 -3
- package/dist/cjs/ag-grid-plus/queryForm/queryForm.js +28 -46
- package/dist/cjs/ag-grid-plus/setting/index.d.ts +8 -9
- package/dist/cjs/ag-grid-plus/setting/index.js +116 -141
- package/dist/cjs/ag-grid-plus/settingItem/index.d.ts +3 -3
- package/dist/cjs/ag-grid-plus/settingItem/index.js +2 -7
- package/dist/cjs/ag-grid-plus/toolBar/index.d.ts +20 -20
- package/dist/cjs/ag-grid-plus/toolBar/index.js +35 -57
- package/dist/cjs/ag-grid-plus/toolBar/style.d.ts +9 -5
- package/dist/cjs/ag-grid-plus/toolBar/style.js +81 -83
- package/dist/cjs/ag-grid-plus/utils.d.ts +9 -9
- package/dist/cjs/ag-grid-plus/utils.js +21 -67
- package/dist/cjs/array-table/arrayAddBtn.d.ts +3 -3
- package/dist/cjs/array-table/arrayAddBtn.js +6 -25
- package/dist/cjs/array-table/arrayBase.d.ts +62 -62
- package/dist/cjs/array-table/arrayBase.js +47 -69
- package/dist/cjs/array-table/index.d.ts +6 -6
- package/dist/cjs/array-table/index.js +29 -55
- package/dist/cjs/array-table/interface.d.ts +16 -16
- package/dist/cjs/array-table/preview.d.ts +3 -3
- package/dist/cjs/array-table/preview.js +8 -16
- package/dist/cjs/array-table/utils.d.ts +10 -10
- package/dist/cjs/array-table/utils.js +28 -59
- package/dist/cjs/array-table-index/index.d.ts +3 -3
- package/dist/cjs/array-table-index/index.js +5 -15
- package/dist/cjs/dashboard/dashboard/components/index.d.ts +2 -2
- package/dist/cjs/dashboard/dashboard/components/index.js +0 -2
- package/dist/cjs/dashboard/dashboard/components/modal/index.d.ts +3 -3
- package/dist/cjs/dashboard/dashboard/components/modal/index.js +4 -9
- package/dist/cjs/dashboard/dashboard/components/toolbar/index.d.ts +11 -11
- package/dist/cjs/dashboard/dashboard/components/toolbar/index.js +5 -13
- package/dist/cjs/dashboard/dashboard/components/toolbar/style/index.d.ts +1 -1
- package/dist/cjs/dashboard/dashboard/components/toolbar/style/index.less +49 -49
- package/dist/cjs/dashboard/dashboard/index.d.ts +62 -62
- package/dist/cjs/dashboard/dashboard/index.js +161 -234
- package/dist/cjs/dashboard/dashboard/index.less +173 -173
- package/dist/cjs/dashboard/dashboard/service.d.ts +8 -8
- package/dist/cjs/dashboard/dashboard/service.js +41 -65
- package/dist/cjs/dashboard/dashboard/utils.d.ts +9 -9
- package/dist/cjs/dashboard/dashboard/utils.js +43 -70
- package/dist/cjs/dashboard/index.d.ts +3 -3
- package/dist/cjs/dashboard/index.js +4 -11
- package/dist/cjs/dashboard/utils.d.ts +24 -24
- package/dist/cjs/dashboard/utils.js +32 -59
- package/dist/cjs/dashboard/widget/index.d.ts +13 -13
- package/dist/cjs/dashboard/widget/index.js +20 -41
- package/dist/cjs/dashboard/widget/index.less +7 -7
- package/dist/cjs/dashboard/widget/selector/index.d.ts +4 -4
- package/dist/cjs/dashboard/widget/selector/index.js +44 -74
- package/dist/cjs/dashboard/widget/selector/index.less +172 -172
- package/dist/cjs/dashboard/widget/utils.d.ts +4 -4
- package/dist/cjs/dashboard/widget/utils.js +20 -36
- package/dist/cjs/dialogSelect/index.d.ts +4 -4
- package/dist/cjs/dialogSelect/index.js +19 -44
- package/dist/cjs/dialogSelect/interface.d.ts +11 -11
- package/dist/cjs/dialogSelect/selectModal.d.ts +6 -6
- package/dist/cjs/dialogSelect/selectModal.js +42 -79
- package/dist/cjs/editable/index.d.ts +8 -8
- package/dist/cjs/editable/index.js +75 -146
- package/dist/cjs/editable/style.d.ts +2 -2
- package/dist/cjs/editable/style.js +17 -21
- package/dist/cjs/extensible-grid/index.d.ts +4 -4
- package/dist/cjs/extensible-grid/index.js +4 -14
- package/dist/cjs/extensible-grid/interface.d.ts +14 -14
- package/dist/cjs/formDesigner/FormDesigner.d.ts +4 -3
- package/dist/cjs/formDesigner/FormDesigner.js +13 -35
- package/dist/cjs/formDesigner/ProCard/index.d.ts +3 -2
- package/dist/cjs/formDesigner/ProCard/index.js +7 -14
- package/dist/cjs/formDesigner/arrayTable/arrayTableSchema.d.ts +5 -5
- package/dist/cjs/formDesigner/arrayTable/arrayTableSchema.js +1 -2
- package/dist/cjs/formDesigner/arrayTable/index.d.ts +1 -1
- package/dist/cjs/formDesigner/arrayTable/index.js +0 -2
- package/dist/cjs/formDesigner/arrayTable/preview.d.ts +3 -3
- package/dist/cjs/formDesigner/arrayTable/preview.js +12 -50
- package/dist/cjs/formDesigner/arrayTable/styles.less +2 -2
- package/dist/cjs/formDesigner/index.d.ts +2 -2
- package/dist/cjs/formDesigner/index.js +0 -2
- package/dist/cjs/formDesigner/index.less +2 -2
- package/dist/cjs/formDesigner/preWidgets/arrayTableIndex/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/arrayTableIndex/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/arrayTableIndex/preview.d.ts +4 -4
- package/dist/cjs/formDesigner/preWidgets/arrayTableIndex/preview.js +7 -14
- package/dist/cjs/formDesigner/preWidgets/card/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/card/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/card/preview.d.ts +4 -4
- package/dist/cjs/formDesigner/preWidgets/card/preview.js +1 -11
- package/dist/cjs/formDesigner/preWidgets/index.d.ts +12 -12
- package/dist/cjs/formDesigner/preWidgets/index.js +0 -24
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/index.js +0 -2
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/preview.js +7 -16
- package/dist/cjs/formDesigner/preWidgets/utils.d.ts +294 -294
- package/dist/cjs/formDesigner/preWidgets/utils.js +10 -21
- package/dist/cjs/formDesigner/widgets/ActionsWidget.d.ts +2 -2
- package/dist/cjs/formDesigner/widgets/ActionsWidget.js +5 -15
- package/dist/cjs/formDesigner/widgets/LogoWidget.d.ts +2 -2
- package/dist/cjs/formDesigner/widgets/LogoWidget.js +3 -9
- package/dist/cjs/formDesigner/widgets/PreviewWidget.d.ts +7 -7
- package/dist/cjs/formDesigner/widgets/PreviewWidget.js +12 -27
- package/dist/cjs/formDesigner/widgets/SchemaEditorWidget.d.ts +7 -7
- package/dist/cjs/formDesigner/widgets/SchemaEditorWidget.js +4 -11
- package/dist/cjs/formDesigner/widgets/index.d.ts +4 -4
- package/dist/cjs/formDesigner/widgets/index.js +0 -8
- package/dist/cjs/formPro/context/formProContext.d.ts +13 -13
- package/dist/cjs/formPro/context/formProContext.js +2 -7
- package/dist/cjs/formPro/formLayoutPro.d.ts +9 -9
- package/dist/cjs/formPro/formLayoutPro.js +4 -15
- package/dist/cjs/formPro/index.d.ts +2 -2
- package/dist/cjs/formPro/index.js +0 -2
- package/dist/cjs/index.d.ts +12 -12
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/type.d.ts +1 -0
- package/dist/esm/ag-grid-plus/_utils/boolSelect.d.ts +4 -4
- package/dist/esm/ag-grid-plus/_utils/boolSelect.js +37 -36
- package/dist/esm/ag-grid-plus/ag-grid-theme-builder.css +350 -0
- package/dist/esm/ag-grid-plus/ag-gridPlus.d.ts +6 -7
- package/dist/esm/ag-grid-plus/ag-gridPlus.js +95 -143
- package/dist/esm/ag-grid-plus/context/gridContext.d.ts +12 -12
- package/dist/esm/ag-grid-plus/gridManager/index.d.ts +7 -8
- package/dist/esm/ag-grid-plus/gridManager/index.js +19 -28
- package/dist/esm/ag-grid-plus/index.d.ts +11 -9
- package/dist/esm/ag-grid-plus/index.js +1 -0
- package/dist/esm/ag-grid-plus/index.less +6 -6
- package/dist/esm/ag-grid-plus/interface.d.ts +39 -39
- package/dist/esm/ag-grid-plus/interface.js +2 -1
- package/dist/esm/ag-grid-plus/queryForm/index.d.ts +11 -11
- package/dist/esm/ag-grid-plus/queryForm/index.js +26 -54
- package/dist/esm/ag-grid-plus/queryForm/index.less +48 -48
- package/dist/esm/ag-grid-plus/queryForm/queryForm.d.ts +3 -3
- package/dist/esm/ag-grid-plus/queryForm/queryForm.js +23 -29
- package/dist/esm/ag-grid-plus/setting/index.d.ts +8 -9
- package/dist/esm/ag-grid-plus/setting/index.js +129 -128
- package/dist/esm/ag-grid-plus/settingItem/index.d.ts +3 -3
- package/dist/esm/ag-grid-plus/settingItem/index.js +1 -3
- package/dist/esm/ag-grid-plus/toolBar/index.d.ts +20 -20
- package/dist/esm/ag-grid-plus/toolBar/index.js +32 -43
- package/dist/esm/ag-grid-plus/toolBar/style.d.ts +9 -5
- package/dist/esm/ag-grid-plus/toolBar/style.js +82 -83
- package/dist/esm/ag-grid-plus/utils.d.ts +9 -9
- package/dist/esm/ag-grid-plus/utils.js +13 -45
- package/dist/esm/array-table/arrayAddBtn.d.ts +3 -3
- package/dist/esm/array-table/arrayAddBtn.js +5 -15
- package/dist/esm/array-table/arrayBase.d.ts +62 -62
- package/dist/esm/array-table/arrayBase.js +43 -48
- package/dist/esm/array-table/index.d.ts +6 -6
- package/dist/esm/array-table/index.js +27 -34
- package/dist/esm/array-table/interface.d.ts +16 -16
- package/dist/esm/array-table/preview.d.ts +3 -3
- package/dist/esm/array-table/preview.js +6 -4
- package/dist/esm/array-table/utils.d.ts +10 -10
- package/dist/esm/array-table/utils.js +21 -35
- package/dist/esm/array-table-index/index.d.ts +3 -3
- package/dist/esm/dashboard/dashboard/components/index.d.ts +2 -2
- package/dist/esm/dashboard/dashboard/components/modal/index.d.ts +3 -3
- package/dist/esm/dashboard/dashboard/components/modal/index.js +2 -4
- package/dist/esm/dashboard/dashboard/components/toolbar/index.d.ts +11 -11
- package/dist/esm/dashboard/dashboard/components/toolbar/index.js +4 -6
- package/dist/esm/dashboard/dashboard/components/toolbar/style/index.d.ts +1 -1
- package/dist/esm/dashboard/dashboard/components/toolbar/style/index.less +49 -49
- package/dist/esm/dashboard/dashboard/index.d.ts +62 -62
- package/dist/esm/dashboard/dashboard/index.js +158 -207
- package/dist/esm/dashboard/dashboard/index.less +173 -173
- package/dist/esm/dashboard/dashboard/service.d.ts +8 -8
- package/dist/esm/dashboard/dashboard/service.js +45 -61
- package/dist/esm/dashboard/dashboard/utils.d.ts +9 -9
- package/dist/esm/dashboard/dashboard/utils.js +38 -55
- package/dist/esm/dashboard/index.d.ts +3 -3
- package/dist/esm/dashboard/utils.d.ts +24 -24
- package/dist/esm/dashboard/utils.js +30 -47
- package/dist/esm/dashboard/widget/index.d.ts +13 -13
- package/dist/esm/dashboard/widget/index.js +17 -30
- package/dist/esm/dashboard/widget/index.less +7 -7
- package/dist/esm/dashboard/widget/selector/index.d.ts +4 -4
- package/dist/esm/dashboard/widget/selector/index.js +40 -58
- package/dist/esm/dashboard/widget/selector/index.less +172 -172
- package/dist/esm/dashboard/widget/utils.d.ts +4 -4
- package/dist/esm/dashboard/widget/utils.js +16 -14
- package/dist/esm/dialogSelect/index.d.ts +4 -4
- package/dist/esm/dialogSelect/index.js +18 -35
- package/dist/esm/dialogSelect/interface.d.ts +11 -11
- package/dist/esm/dialogSelect/selectModal.d.ts +6 -6
- package/dist/esm/dialogSelect/selectModal.js +39 -67
- package/dist/esm/editable/index.d.ts +8 -8
- package/dist/esm/editable/index.js +71 -125
- package/dist/esm/editable/style.d.ts +2 -2
- package/dist/esm/editable/style.js +15 -15
- package/dist/esm/extensible-grid/index.d.ts +4 -4
- package/dist/esm/extensible-grid/index.js +3 -9
- package/dist/esm/extensible-grid/interface.d.ts +14 -14
- package/dist/esm/formDesigner/FormDesigner.d.ts +4 -3
- package/dist/esm/formDesigner/FormDesigner.js +10 -16
- package/dist/esm/formDesigner/ProCard/index.d.ts +3 -2
- package/dist/esm/formDesigner/ProCard/index.js +6 -9
- package/dist/esm/formDesigner/arrayTable/arrayTableSchema.d.ts +5 -5
- package/dist/esm/formDesigner/arrayTable/index.d.ts +1 -1
- package/dist/esm/formDesigner/arrayTable/preview.d.ts +3 -3
- package/dist/esm/formDesigner/arrayTable/preview.js +9 -25
- package/dist/esm/formDesigner/arrayTable/styles.less +2 -2
- package/dist/esm/formDesigner/index.d.ts +2 -2
- package/dist/esm/formDesigner/index.less +2 -2
- package/dist/esm/formDesigner/preWidgets/arrayTableIndex/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/arrayTableIndex/preview.d.ts +4 -4
- package/dist/esm/formDesigner/preWidgets/arrayTableIndex/preview.js +6 -6
- package/dist/esm/formDesigner/preWidgets/card/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/card/preview.d.ts +4 -4
- package/dist/esm/formDesigner/preWidgets/card/preview.js +0 -1
- package/dist/esm/formDesigner/preWidgets/index.d.ts +12 -12
- package/dist/esm/formDesigner/preWidgets/preDefineProperty1/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty1/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty1/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty10/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty10/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty10/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty2/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty2/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty2/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty3/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty3/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty3/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty4/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty4/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty4/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty5/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty5/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty5/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty6/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty6/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty6/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty7/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty7/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty7/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty8/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty8/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty8/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/preDefineProperty9/index.d.ts +1 -1
- package/dist/esm/formDesigner/preWidgets/preDefineProperty9/preview.d.ts +5 -5
- package/dist/esm/formDesigner/preWidgets/preDefineProperty9/preview.js +6 -8
- package/dist/esm/formDesigner/preWidgets/utils.d.ts +294 -294
- package/dist/esm/formDesigner/preWidgets/utils.js +6 -6
- package/dist/esm/formDesigner/widgets/ActionsWidget.d.ts +2 -2
- package/dist/esm/formDesigner/widgets/LogoWidget.d.ts +2 -2
- package/dist/esm/formDesigner/widgets/LogoWidget.js +1 -0
- package/dist/esm/formDesigner/widgets/PreviewWidget.d.ts +7 -7
- package/dist/esm/formDesigner/widgets/PreviewWidget.js +8 -11
- package/dist/esm/formDesigner/widgets/SchemaEditorWidget.d.ts +7 -7
- package/dist/esm/formDesigner/widgets/SchemaEditorWidget.js +3 -4
- package/dist/esm/formDesigner/widgets/index.d.ts +4 -4
- package/dist/esm/formPro/context/formProContext.d.ts +13 -13
- package/dist/esm/formPro/formLayoutPro.d.ts +9 -9
- package/dist/esm/formPro/formLayoutPro.js +3 -9
- package/dist/esm/formPro/index.d.ts +2 -2
- package/dist/esm/index.d.ts +12 -12
- package/dist/esm/type.d.ts +1 -0
- package/dist/umd/qc-ui.min.css +1 -1
- package/dist/umd/qc-ui.min.js +1 -1
- package/package.json +64 -64
- package/dist/cjs/ag-grid-plus/global.scss +0 -31
- package/dist/esm/ag-grid-plus/global.scss +0 -31
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
|
|
3
1
|
import _uniqueId from "lodash/uniqueId";
|
|
4
|
-
|
|
5
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
6
|
-
|
|
2
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
7
4
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
8
|
-
|
|
9
5
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
10
|
-
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
-
|
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
11
|
import { ArrayTable, FormDialog, FormGrid, FormItem, FormLayout, FormTab, Input, Select, Space, NumberPicker, Switch } from '@formily/antd-v5';
|
|
18
12
|
import { createSchemaField } from '@formily/react';
|
|
19
13
|
import { onFormInit } from '@formily/core';
|
|
20
14
|
import React, { useMemo } from "react";
|
|
21
15
|
import { SettingOutlined } from '@ant-design/icons';
|
|
22
|
-
|
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
18
|
var Setting = function Setting(props) {
|
|
24
19
|
var gridKey = props.gridKey,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
onSaveColumnState = props.onSaveColumnState;
|
|
20
|
+
gridApi = props.gridApi,
|
|
21
|
+
onSaveColumnState = props.onSaveColumnState;
|
|
28
22
|
var SchemaField = useMemo(function () {
|
|
29
23
|
return createSchemaField({
|
|
30
24
|
components: {
|
|
@@ -47,9 +41,8 @@ var Setting = function Setting(props) {
|
|
|
47
41
|
});
|
|
48
42
|
}
|
|
49
43
|
};
|
|
50
|
-
|
|
51
44
|
var getColumnData = function getColumnData() {
|
|
52
|
-
var columnStates =
|
|
45
|
+
var columnStates = gridApi.getColumnState();
|
|
53
46
|
var columnRowData = [];
|
|
54
47
|
var columns = columnStates.map(function (columnState) {
|
|
55
48
|
var colDef = gridApi === null || gridApi === void 0 ? void 0 : gridApi.getColumnDef(columnState.colId);
|
|
@@ -62,136 +55,144 @@ var Setting = function Setting(props) {
|
|
|
62
55
|
});
|
|
63
56
|
return columnRowData;
|
|
64
57
|
};
|
|
65
|
-
|
|
66
58
|
var portalId = "workProcedure".concat(_uniqueId());
|
|
67
|
-
|
|
68
59
|
if (!gridKey) {
|
|
69
60
|
return null;
|
|
70
61
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
while (1) {
|
|
85
|
-
switch (_context.prev = _context.next) {
|
|
62
|
+
return /*#__PURE__*/_jsx(FormDialog.Portal, {
|
|
63
|
+
id: portalId,
|
|
64
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
65
|
+
style: {
|
|
66
|
+
margin: "0 4px",
|
|
67
|
+
color: "#000",
|
|
68
|
+
fontSize: 16,
|
|
69
|
+
cursor: "pointer"
|
|
70
|
+
},
|
|
71
|
+
onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
72
|
+
var formDialog;
|
|
73
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
74
|
+
while (1) switch (_context.prev = _context.next) {
|
|
86
75
|
case 0:
|
|
87
76
|
formDialog = FormDialog({
|
|
88
77
|
title: "个性化设置",
|
|
89
78
|
width: 960
|
|
90
79
|
}, portalId, function () {
|
|
91
|
-
return /*#__PURE__*/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
80
|
+
return /*#__PURE__*/_jsx(FormLayout, {
|
|
81
|
+
children: /*#__PURE__*/_jsx(SchemaField, {
|
|
82
|
+
children: /*#__PURE__*/_jsx(SchemaField.Void, {
|
|
83
|
+
"x-component": "FormGrid",
|
|
84
|
+
"x-component-props": {
|
|
85
|
+
maxColumns: [1, 3],
|
|
86
|
+
strictAutoFit: true
|
|
87
|
+
},
|
|
88
|
+
children: /*#__PURE__*/_jsx(SchemaField.Array, {
|
|
89
|
+
name: "items",
|
|
90
|
+
title: "",
|
|
91
|
+
"x-component": "ArrayTable",
|
|
92
|
+
"x-validator": [{
|
|
93
|
+
message: ""
|
|
94
|
+
}],
|
|
95
|
+
"x-decorator": "FormItem",
|
|
96
|
+
"x-decorator-props": {
|
|
97
|
+
gridSpan: 3
|
|
98
|
+
},
|
|
99
|
+
children: /*#__PURE__*/_jsxs(SchemaField.Object, {
|
|
100
|
+
children: [/*#__PURE__*/_jsx(SchemaField.Void, {
|
|
101
|
+
"x-component": "ArrayTable.Column",
|
|
102
|
+
"x-component-props": {
|
|
103
|
+
width: 100,
|
|
104
|
+
title: "列名"
|
|
105
|
+
},
|
|
106
|
+
children: /*#__PURE__*/_jsx(SchemaField.String, {
|
|
107
|
+
name: "headerName",
|
|
108
|
+
"x-decorator": "FormItem",
|
|
109
|
+
"x-component": "Input",
|
|
110
|
+
"x-read-pretty": true
|
|
111
|
+
})
|
|
112
|
+
}), /*#__PURE__*/_jsx(SchemaField.Void, {
|
|
113
|
+
"x-component": "ArrayTable.Column",
|
|
114
|
+
"x-component-props": {
|
|
115
|
+
width: 100,
|
|
116
|
+
title: "宽度"
|
|
117
|
+
},
|
|
118
|
+
children: /*#__PURE__*/_jsx(SchemaField.String, {
|
|
119
|
+
name: "width",
|
|
120
|
+
"x-decorator": "FormItem",
|
|
121
|
+
"x-component": "NumberPicker"
|
|
122
|
+
})
|
|
123
|
+
}), /*#__PURE__*/_jsx(SchemaField.Void, {
|
|
124
|
+
"x-component": "ArrayTable.Column",
|
|
125
|
+
"x-component-props": {
|
|
126
|
+
width: 100,
|
|
127
|
+
title: "占满"
|
|
128
|
+
},
|
|
129
|
+
children: /*#__PURE__*/_jsx(SchemaField.String, {
|
|
130
|
+
name: "flex",
|
|
131
|
+
"x-decorator": "FormItem",
|
|
132
|
+
"x-component": "Select",
|
|
133
|
+
enum: [{
|
|
134
|
+
value: 1,
|
|
135
|
+
label: "占满"
|
|
136
|
+
}, {
|
|
137
|
+
value: 0,
|
|
138
|
+
label: "不占满"
|
|
139
|
+
}]
|
|
140
|
+
})
|
|
141
|
+
}), /*#__PURE__*/_jsx(SchemaField.Void, {
|
|
142
|
+
"x-component": "ArrayTable.Column",
|
|
143
|
+
"x-component-props": {
|
|
144
|
+
width: 100,
|
|
145
|
+
title: '固定位置'
|
|
146
|
+
},
|
|
147
|
+
children: /*#__PURE__*/_jsx(SchemaField.String, {
|
|
148
|
+
name: "pinned",
|
|
149
|
+
"x-decorator": "FormItem",
|
|
150
|
+
"x-component": "Select",
|
|
151
|
+
enum: [{
|
|
152
|
+
value: "left",
|
|
153
|
+
label: "左固定"
|
|
154
|
+
}, {
|
|
155
|
+
value: "right",
|
|
156
|
+
label: "右固定"
|
|
157
|
+
}, {
|
|
158
|
+
value: undefined,
|
|
159
|
+
label: "不固定"
|
|
160
|
+
}]
|
|
161
|
+
})
|
|
162
|
+
}), /*#__PURE__*/_jsx(SchemaField.Void, {
|
|
163
|
+
"x-component": "ArrayTable.Column",
|
|
164
|
+
"x-component-props": {
|
|
165
|
+
title: '隐藏'
|
|
166
|
+
},
|
|
167
|
+
children: /*#__PURE__*/_jsx(SchemaField.String, {
|
|
168
|
+
name: "hide",
|
|
169
|
+
"x-decorator": "FormItem",
|
|
170
|
+
"x-component": "Switch"
|
|
171
|
+
})
|
|
172
|
+
})]
|
|
173
|
+
})
|
|
174
|
+
})
|
|
175
|
+
})
|
|
176
|
+
})
|
|
177
|
+
});
|
|
176
178
|
});
|
|
177
179
|
formDialog.forConfirm(function (payload, next) {
|
|
178
180
|
var values = payload.values;
|
|
179
|
-
var falg =
|
|
181
|
+
var falg = gridApi.applyColumnState({
|
|
180
182
|
state: values.items,
|
|
181
183
|
applyOrder: true
|
|
182
184
|
});
|
|
183
185
|
onSaveColumnState && onSaveColumnState(values.items);
|
|
184
186
|
next(payload);
|
|
185
187
|
}).open(formProps);
|
|
186
|
-
|
|
187
188
|
case 2:
|
|
188
189
|
case "end":
|
|
189
190
|
return _context.stop();
|
|
190
191
|
}
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
}, _callee);
|
|
193
|
+
})),
|
|
194
|
+
children: /*#__PURE__*/_jsx(SettingOutlined, {})
|
|
195
|
+
})
|
|
196
|
+
});
|
|
195
197
|
};
|
|
196
|
-
|
|
197
198
|
export default Setting;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SettingItem: (props: any) => JSX.Element;
|
|
3
|
-
export default SettingItem;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SettingItem: (props: any) => React.JSX.Element;
|
|
3
|
+
export default SettingItem;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
var SettingItem = function SettingItem(props) {
|
|
4
3
|
var onClick = props.onClick,
|
|
5
|
-
|
|
4
|
+
icon = props.icon;
|
|
6
5
|
return /*#__PURE__*/React.createElement("div", {
|
|
7
6
|
style: {
|
|
8
7
|
margin: "0 4px",
|
|
@@ -13,5 +12,4 @@ var SettingItem = function SettingItem(props) {
|
|
|
13
12
|
onClick: onClick
|
|
14
13
|
}, icon);
|
|
15
14
|
};
|
|
16
|
-
|
|
17
15
|
export default SettingItem;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { LabelTooltipType } from 'antd/es/form/FormItemLabel';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
prefixCls?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
/** 标题 */
|
|
9
|
-
title?: React.ReactNode;
|
|
10
|
-
/** 副标题 */
|
|
11
|
-
subTitle?: React.ReactNode;
|
|
12
|
-
/** 标题提示 */
|
|
13
|
-
tooltip?: string | LabelTooltipType;
|
|
14
|
-
/** 工具栏右侧操作区 */
|
|
15
|
-
actions?: React.ReactNode[];
|
|
16
|
-
/** 工作栏右侧设置区 */
|
|
17
|
-
settings?: SettingPropType[];
|
|
18
|
-
};
|
|
19
|
-
declare const ListToolBar: React.
|
|
20
|
-
export default ListToolBar;
|
|
1
|
+
import type { LabelTooltipType } from 'antd/es/form/FormItemLabel';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type SettingPropType = React.ReactNode;
|
|
4
|
+
export type ListToolBarProps = {
|
|
5
|
+
prefixCls?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
/** 标题 */
|
|
9
|
+
title?: React.ReactNode;
|
|
10
|
+
/** 副标题 */
|
|
11
|
+
subTitle?: React.ReactNode;
|
|
12
|
+
/** 标题提示 */
|
|
13
|
+
tooltip?: string | LabelTooltipType;
|
|
14
|
+
/** 工具栏右侧操作区 */
|
|
15
|
+
actions?: React.ReactNode[];
|
|
16
|
+
/** 工作栏右侧设置区 */
|
|
17
|
+
settings?: SettingPropType[];
|
|
18
|
+
};
|
|
19
|
+
declare const ListToolBar: ({ prefixCls: customizePrefixCls, title, subTitle, tooltip, className, style, actions, settings }: ListToolBarProps) => React.JSX.Element;
|
|
20
|
+
export default ListToolBar;
|
|
@@ -1,32 +1,30 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { LabelIconTip } from '@ant-design/pro-utils';
|
|
8
|
+
import { proTheme } from '@ant-design/pro-provider';
|
|
8
9
|
import { ConfigProvider, Tooltip } from 'antd';
|
|
9
10
|
import classNames from 'classnames';
|
|
10
11
|
import React, { useContext, useMemo } from 'react';
|
|
11
12
|
import { useStyle } from "./style";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @param setting 配置项
|
|
13
|
+
/**
|
|
14
|
+
* 获取配置区域 DOM Item
|
|
15
|
+
*
|
|
16
|
+
* @param setting 配置项
|
|
17
17
|
*/
|
|
18
18
|
function getSettingItem(setting) {
|
|
19
19
|
if ( /*#__PURE__*/React.isValidElement(setting)) {
|
|
20
20
|
return setting;
|
|
21
21
|
}
|
|
22
|
-
|
|
23
22
|
if (setting) {
|
|
24
23
|
var settingConfig = setting;
|
|
25
24
|
var icon = settingConfig.icon,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
tooltip = settingConfig.tooltip,
|
|
26
|
+
_onClick = settingConfig.onClick,
|
|
27
|
+
key = settingConfig.key;
|
|
30
28
|
if (icon && tooltip) {
|
|
31
29
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
32
30
|
title: tooltip
|
|
@@ -39,49 +37,43 @@ function getSettingItem(setting) {
|
|
|
39
37
|
}
|
|
40
38
|
}, icon));
|
|
41
39
|
}
|
|
42
|
-
|
|
43
40
|
return icon;
|
|
44
41
|
}
|
|
45
|
-
|
|
46
42
|
return null;
|
|
47
43
|
}
|
|
48
|
-
|
|
49
44
|
var ListToolBar = function ListToolBar(_ref) {
|
|
50
45
|
var customizePrefixCls = _ref.prefixCls,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
46
|
+
title = _ref.title,
|
|
47
|
+
subTitle = _ref.subTitle,
|
|
48
|
+
tooltip = _ref.tooltip,
|
|
49
|
+
className = _ref.className,
|
|
50
|
+
style = _ref.style,
|
|
51
|
+
_ref$actions = _ref.actions,
|
|
52
|
+
actions = _ref$actions === void 0 ? [] : _ref$actions,
|
|
53
|
+
_ref$settings = _ref.settings,
|
|
54
|
+
settings = _ref$settings === void 0 ? [] : _ref$settings;
|
|
61
55
|
var _useContext = useContext(ConfigProvider.ConfigContext),
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
getPrefixCls = _useContext.getPrefixCls;
|
|
57
|
+
var _proTheme$useToken = proTheme.useToken(),
|
|
58
|
+
token = _proTheme$useToken.token;
|
|
64
59
|
var prefixCls = getPrefixCls('pro-table-list-toolbar', customizePrefixCls);
|
|
65
|
-
|
|
66
60
|
var _useStyle = useStyle(prefixCls),
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
61
|
+
wrapSSR = _useStyle.wrapSSR,
|
|
62
|
+
hashId = _useStyle.hashId;
|
|
70
63
|
|
|
64
|
+
/** 有没有 title,需要结合多个场景判断 */
|
|
71
65
|
var hasTitle = useMemo(function () {
|
|
72
66
|
return title || subTitle || tooltip;
|
|
73
67
|
}, [subTitle, title, tooltip]);
|
|
74
|
-
/** 没有 key 的时候帮忙加一下 key 不加的话很烦人 */
|
|
75
68
|
|
|
69
|
+
/** 没有 key 的时候帮忙加一下 key 不加的话很烦人 */
|
|
76
70
|
var actionDom = useMemo(function () {
|
|
77
71
|
if (!Array.isArray(actions)) {
|
|
78
72
|
return actions;
|
|
79
73
|
}
|
|
80
|
-
|
|
81
74
|
if (actions.length < 1) {
|
|
82
75
|
return null;
|
|
83
76
|
}
|
|
84
|
-
|
|
85
77
|
return /*#__PURE__*/React.createElement("div", {
|
|
86
78
|
style: {
|
|
87
79
|
display: 'flex',
|
|
@@ -95,7 +87,6 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
95
87
|
key: index
|
|
96
88
|
}, action);
|
|
97
89
|
}
|
|
98
|
-
|
|
99
90
|
return /*#__PURE__*/React.cloneElement(action, _objectSpread({
|
|
100
91
|
// eslint-disable-next-line react/no-array-index-key
|
|
101
92
|
key: index
|
|
@@ -114,9 +105,9 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
114
105
|
return /*#__PURE__*/React.createElement("div", {
|
|
115
106
|
className: "".concat(prefixCls, "-left ").concat(hashId)
|
|
116
107
|
});
|
|
117
|
-
}
|
|
118
|
-
|
|
108
|
+
}
|
|
119
109
|
|
|
110
|
+
// 减少 space 的dom,渲染的时候能节省点性能
|
|
120
111
|
if (hasTitle) {
|
|
121
112
|
return /*#__PURE__*/React.createElement("div", {
|
|
122
113
|
className: "".concat(prefixCls, "-left ").concat(hashId)
|
|
@@ -128,7 +119,6 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
128
119
|
subTitle: subTitle
|
|
129
120
|
})));
|
|
130
121
|
}
|
|
131
|
-
|
|
132
122
|
return /*#__PURE__*/React.createElement("div", {
|
|
133
123
|
className: "".concat(prefixCls, "-left ").concat(hashId)
|
|
134
124
|
}, hasTitle && /*#__PURE__*/React.createElement("div", {
|
|
@@ -172,5 +162,4 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
172
162
|
className: classNames(prefixCls, hashId, className)
|
|
173
163
|
}, titleNode);
|
|
174
164
|
};
|
|
175
|
-
|
|
176
165
|
export default ListToolBar;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ProAliasToken } from "@ant-design/pro-provider";
|
|
3
|
+
export interface ProListToken extends ProAliasToken {
|
|
4
|
+
componentCls: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function useStyle(prefixCls: string): {
|
|
7
|
+
wrapSSR: (node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").JSX.Element;
|
|
8
|
+
hashId: string;
|
|
9
|
+
};
|