@nokecy/qc-ui 0.6.6 → 0.6.7
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 +29 -12
- package/dist/cjs/ag-grid-plus/ag-gridPlus.d.ts +7 -6
- package/dist/cjs/ag-grid-plus/ag-gridPlus.js +166 -98
- package/dist/cjs/ag-grid-plus/context/gridContext.d.ts +12 -12
- package/dist/cjs/ag-grid-plus/context/gridContext.js +7 -2
- package/dist/cjs/ag-grid-plus/global.scss +31 -0
- package/dist/cjs/ag-grid-plus/gridManager/index.d.ts +8 -7
- package/dist/cjs/ag-grid-plus/gridManager/index.js +32 -21
- package/dist/cjs/ag-grid-plus/index.d.ts +9 -11
- package/dist/cjs/ag-grid-plus/index.js +11 -3
- 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 +2 -1
- package/dist/cjs/ag-grid-plus/queryForm/index.d.ts +11 -11
- package/dist/cjs/ag-grid-plus/queryForm/index.js +72 -29
- 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 +27 -8
- package/dist/cjs/ag-grid-plus/setting/index.d.ts +9 -8
- package/dist/cjs/ag-grid-plus/setting/index.js +141 -116
- package/dist/cjs/ag-grid-plus/settingItem/index.d.ts +3 -3
- package/dist/cjs/ag-grid-plus/settingItem/index.js +7 -2
- package/dist/cjs/ag-grid-plus/toolBar/index.d.ts +20 -20
- package/dist/cjs/ag-grid-plus/toolBar/index.js +57 -35
- package/dist/cjs/ag-grid-plus/toolBar/style.d.ts +5 -9
- package/dist/cjs/ag-grid-plus/toolBar/style.js +83 -81
- package/dist/cjs/ag-grid-plus/utils.d.ts +9 -9
- package/dist/cjs/ag-grid-plus/utils.js +67 -21
- package/dist/cjs/array-table/arrayAddBtn.d.ts +3 -3
- package/dist/cjs/array-table/arrayAddBtn.js +25 -6
- package/dist/cjs/array-table/arrayBase.d.ts +62 -62
- package/dist/cjs/array-table/arrayBase.js +69 -47
- package/dist/cjs/array-table/index.d.ts +6 -6
- package/dist/cjs/array-table/index.js +54 -28
- 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 +16 -8
- package/dist/cjs/array-table/utils.d.ts +10 -10
- package/dist/cjs/array-table/utils.js +59 -28
- package/dist/cjs/array-table-index/index.d.ts +3 -3
- package/dist/cjs/array-table-index/index.js +15 -5
- package/dist/cjs/dashboard/dashboard/components/index.d.ts +2 -2
- package/dist/cjs/dashboard/dashboard/components/index.js +2 -0
- package/dist/cjs/dashboard/dashboard/components/modal/index.d.ts +3 -3
- package/dist/cjs/dashboard/dashboard/components/modal/index.js +9 -4
- package/dist/cjs/dashboard/dashboard/components/toolbar/index.d.ts +11 -11
- package/dist/cjs/dashboard/dashboard/components/toolbar/index.js +13 -5
- 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 +234 -161
- 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 +65 -41
- package/dist/cjs/dashboard/dashboard/utils.d.ts +9 -9
- package/dist/cjs/dashboard/dashboard/utils.js +70 -43
- package/dist/cjs/dashboard/index.d.ts +3 -3
- package/dist/cjs/dashboard/index.js +11 -4
- package/dist/cjs/dashboard/utils.d.ts +24 -24
- package/dist/cjs/dashboard/utils.js +59 -32
- package/dist/cjs/dashboard/widget/index.d.ts +13 -13
- package/dist/cjs/dashboard/widget/index.js +41 -20
- 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 +74 -44
- 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 +36 -20
- package/dist/cjs/dialogSelect/index.d.ts +4 -4
- package/dist/cjs/dialogSelect/index.js +44 -19
- package/dist/cjs/dialogSelect/interface.d.ts +11 -11
- package/dist/cjs/dialogSelect/selectModal.d.ts +6 -6
- package/dist/cjs/dialogSelect/selectModal.js +79 -42
- package/dist/cjs/editable/index.d.ts +8 -8
- package/dist/cjs/editable/index.js +146 -75
- package/dist/cjs/editable/style.d.ts +2 -2
- package/dist/cjs/editable/style.js +21 -17
- package/dist/cjs/extensible-grid/index.d.ts +4 -4
- package/dist/cjs/extensible-grid/index.js +14 -4
- package/dist/cjs/extensible-grid/interface.d.ts +14 -14
- package/dist/cjs/formDesigner/FormDesigner.d.ts +3 -4
- package/dist/cjs/formDesigner/FormDesigner.js +35 -13
- package/dist/cjs/formDesigner/ProCard/index.d.ts +2 -3
- package/dist/cjs/formDesigner/ProCard/index.js +14 -7
- package/dist/cjs/formDesigner/arrayTable/arrayTableSchema.d.ts +5 -5
- package/dist/cjs/formDesigner/arrayTable/arrayTableSchema.js +2 -1
- package/dist/cjs/formDesigner/arrayTable/index.d.ts +1 -1
- package/dist/cjs/formDesigner/arrayTable/index.js +2 -0
- package/dist/cjs/formDesigner/arrayTable/preview.d.ts +3 -3
- package/dist/cjs/formDesigner/arrayTable/preview.js +50 -12
- package/dist/cjs/formDesigner/arrayTable/styles.less +2 -2
- package/dist/cjs/formDesigner/index.d.ts +2 -2
- package/dist/cjs/formDesigner/index.js +2 -0
- 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 +2 -0
- package/dist/cjs/formDesigner/preWidgets/arrayTableIndex/preview.d.ts +4 -4
- package/dist/cjs/formDesigner/preWidgets/arrayTableIndex/preview.js +14 -7
- package/dist/cjs/formDesigner/preWidgets/card/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/card/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/card/preview.d.ts +4 -4
- package/dist/cjs/formDesigner/preWidgets/card/preview.js +11 -1
- package/dist/cjs/formDesigner/preWidgets/index.d.ts +12 -12
- package/dist/cjs/formDesigner/preWidgets/index.js +24 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty1/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty10/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty2/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty3/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty4/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty5/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty6/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty7/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty8/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/index.d.ts +1 -1
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/index.js +2 -0
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/preview.d.ts +5 -5
- package/dist/cjs/formDesigner/preWidgets/preDefineProperty9/preview.js +16 -7
- package/dist/cjs/formDesigner/preWidgets/utils.d.ts +294 -294
- package/dist/cjs/formDesigner/preWidgets/utils.js +21 -10
- package/dist/cjs/formDesigner/widgets/ActionsWidget.d.ts +2 -2
- package/dist/cjs/formDesigner/widgets/ActionsWidget.js +15 -5
- package/dist/cjs/formDesigner/widgets/LogoWidget.d.ts +2 -2
- package/dist/cjs/formDesigner/widgets/LogoWidget.js +9 -3
- package/dist/cjs/formDesigner/widgets/PreviewWidget.d.ts +7 -7
- package/dist/cjs/formDesigner/widgets/PreviewWidget.js +27 -12
- package/dist/cjs/formDesigner/widgets/SchemaEditorWidget.d.ts +7 -7
- package/dist/cjs/formDesigner/widgets/SchemaEditorWidget.js +11 -4
- package/dist/cjs/formDesigner/widgets/index.d.ts +4 -4
- package/dist/cjs/formDesigner/widgets/index.js +8 -0
- package/dist/cjs/formPro/context/formProContext.d.ts +13 -13
- package/dist/cjs/formPro/context/formProContext.js +7 -2
- package/dist/cjs/formPro/formLayoutPro.d.ts +9 -9
- package/dist/cjs/formPro/formLayoutPro.js +15 -4
- package/dist/cjs/formPro/index.d.ts +2 -2
- package/dist/cjs/formPro/index.js +2 -0
- package/dist/cjs/index.d.ts +12 -12
- package/dist/cjs/index.js +11 -0
- package/dist/esm/ag-grid-plus/_utils/boolSelect.d.ts +4 -4
- package/dist/esm/ag-grid-plus/_utils/boolSelect.js +36 -37
- package/dist/esm/ag-grid-plus/ag-gridPlus.d.ts +7 -6
- package/dist/esm/ag-grid-plus/ag-gridPlus.js +143 -95
- package/dist/esm/ag-grid-plus/context/gridContext.d.ts +12 -12
- package/dist/esm/ag-grid-plus/global.scss +31 -0
- package/dist/esm/ag-grid-plus/gridManager/index.d.ts +8 -7
- package/dist/esm/ag-grid-plus/gridManager/index.js +28 -19
- package/dist/esm/ag-grid-plus/index.d.ts +9 -11
- package/dist/esm/ag-grid-plus/index.js +0 -1
- 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 +1 -2
- package/dist/esm/ag-grid-plus/queryForm/index.d.ts +11 -11
- package/dist/esm/ag-grid-plus/queryForm/index.js +54 -26
- 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 +14 -4
- package/dist/esm/ag-grid-plus/setting/index.d.ts +9 -8
- package/dist/esm/ag-grid-plus/setting/index.js +128 -129
- package/dist/esm/ag-grid-plus/settingItem/index.d.ts +3 -3
- package/dist/esm/ag-grid-plus/settingItem/index.js +3 -1
- package/dist/esm/ag-grid-plus/toolBar/index.d.ts +20 -20
- package/dist/esm/ag-grid-plus/toolBar/index.js +43 -32
- package/dist/esm/ag-grid-plus/toolBar/style.d.ts +5 -9
- package/dist/esm/ag-grid-plus/toolBar/style.js +83 -82
- package/dist/esm/ag-grid-plus/utils.d.ts +9 -9
- package/dist/esm/ag-grid-plus/utils.js +45 -13
- package/dist/esm/array-table/arrayAddBtn.d.ts +3 -3
- package/dist/esm/array-table/arrayAddBtn.js +15 -5
- package/dist/esm/array-table/arrayBase.d.ts +62 -62
- package/dist/esm/array-table/arrayBase.js +48 -43
- package/dist/esm/array-table/index.d.ts +6 -6
- package/dist/esm/array-table/index.js +33 -26
- 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 +4 -6
- package/dist/esm/array-table/utils.d.ts +10 -10
- package/dist/esm/array-table/utils.js +35 -21
- 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 +4 -2
- package/dist/esm/dashboard/dashboard/components/toolbar/index.d.ts +11 -11
- package/dist/esm/dashboard/dashboard/components/toolbar/index.js +6 -4
- 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 +207 -158
- 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 +61 -45
- package/dist/esm/dashboard/dashboard/utils.d.ts +9 -9
- package/dist/esm/dashboard/dashboard/utils.js +55 -38
- package/dist/esm/dashboard/index.d.ts +3 -3
- package/dist/esm/dashboard/utils.d.ts +24 -24
- package/dist/esm/dashboard/utils.js +47 -30
- package/dist/esm/dashboard/widget/index.d.ts +13 -13
- package/dist/esm/dashboard/widget/index.js +30 -17
- 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 +58 -40
- 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 +14 -16
- package/dist/esm/dialogSelect/index.d.ts +4 -4
- package/dist/esm/dialogSelect/index.js +35 -18
- package/dist/esm/dialogSelect/interface.d.ts +11 -11
- package/dist/esm/dialogSelect/selectModal.d.ts +6 -6
- package/dist/esm/dialogSelect/selectModal.js +67 -39
- package/dist/esm/editable/index.d.ts +8 -8
- package/dist/esm/editable/index.js +125 -71
- 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 +9 -3
- package/dist/esm/extensible-grid/interface.d.ts +14 -14
- package/dist/esm/formDesigner/FormDesigner.d.ts +3 -4
- package/dist/esm/formDesigner/FormDesigner.js +16 -10
- package/dist/esm/formDesigner/ProCard/index.d.ts +2 -3
- package/dist/esm/formDesigner/ProCard/index.js +9 -6
- 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 +25 -9
- 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 +1 -0
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +8 -6
- 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 +0 -1
- package/dist/esm/formDesigner/widgets/PreviewWidget.d.ts +7 -7
- package/dist/esm/formDesigner/widgets/PreviewWidget.js +11 -8
- package/dist/esm/formDesigner/widgets/SchemaEditorWidget.d.ts +7 -7
- package/dist/esm/formDesigner/widgets/SchemaEditorWidget.js +4 -3
- 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 +9 -3
- package/dist/esm/formPro/index.d.ts +2 -2
- package/dist/esm/index.d.ts +12 -12
- 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/ag-grid-theme-builder.css +0 -401
- package/dist/cjs/type.d.ts +0 -1
- package/dist/esm/ag-grid-plus/ag-grid-theme-builder.css +0 -401
- package/dist/esm/type.d.ts +0 -1
|
@@ -1,24 +1,30 @@
|
|
|
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
|
+
|
|
1
3
|
import _uniqueId from "lodash/uniqueId";
|
|
2
|
-
|
|
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; }
|
|
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
|
+
|
|
4
7
|
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
|
+
|
|
5
9
|
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); }); }; }
|
|
6
|
-
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
function
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12
|
+
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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
|
+
|
|
11
17
|
import { ArrayTable, FormDialog, FormGrid, FormItem, FormLayout, FormTab, Input, Select, Space, NumberPicker, Switch } from '@formily/antd-v5';
|
|
12
18
|
import { createSchemaField } from '@formily/react';
|
|
13
19
|
import { onFormInit } from '@formily/core';
|
|
14
20
|
import React, { useMemo } from "react";
|
|
15
21
|
import { SettingOutlined } from '@ant-design/icons';
|
|
16
|
-
|
|
17
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
|
+
|
|
18
23
|
var Setting = function Setting(props) {
|
|
19
24
|
var gridKey = props.gridKey,
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
gridApi = props.gridApi,
|
|
26
|
+
columnApi = props.columnApi,
|
|
27
|
+
onSaveColumnState = props.onSaveColumnState;
|
|
22
28
|
var SchemaField = useMemo(function () {
|
|
23
29
|
return createSchemaField({
|
|
24
30
|
components: {
|
|
@@ -41,8 +47,9 @@ var Setting = function Setting(props) {
|
|
|
41
47
|
});
|
|
42
48
|
}
|
|
43
49
|
};
|
|
50
|
+
|
|
44
51
|
var getColumnData = function getColumnData() {
|
|
45
|
-
var columnStates =
|
|
52
|
+
var columnStates = columnApi.getColumnState();
|
|
46
53
|
var columnRowData = [];
|
|
47
54
|
var columns = columnStates.map(function (columnState) {
|
|
48
55
|
var colDef = gridApi === null || gridApi === void 0 ? void 0 : gridApi.getColumnDef(columnState.colId);
|
|
@@ -55,144 +62,136 @@ var Setting = function Setting(props) {
|
|
|
55
62
|
});
|
|
56
63
|
return columnRowData;
|
|
57
64
|
};
|
|
65
|
+
|
|
58
66
|
var portalId = "workProcedure".concat(_uniqueId());
|
|
67
|
+
|
|
59
68
|
if (!gridKey) {
|
|
60
69
|
return null;
|
|
61
70
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
|
|
72
|
+
return /*#__PURE__*/React.createElement(FormDialog.Portal, {
|
|
73
|
+
id: portalId
|
|
74
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
75
|
+
style: {
|
|
76
|
+
margin: "0 4px",
|
|
77
|
+
color: "#000",
|
|
78
|
+
fontSize: 16,
|
|
79
|
+
cursor: "pointer"
|
|
80
|
+
},
|
|
81
|
+
onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
82
|
+
var formDialog;
|
|
83
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
84
|
+
while (1) {
|
|
85
|
+
switch (_context.prev = _context.next) {
|
|
75
86
|
case 0:
|
|
76
87
|
formDialog = FormDialog({
|
|
77
88
|
title: "个性化设置",
|
|
78
89
|
width: 960
|
|
79
90
|
}, portalId, function () {
|
|
80
|
-
return /*#__PURE__*/
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
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
|
-
});
|
|
91
|
+
return /*#__PURE__*/React.createElement(FormLayout, null, /*#__PURE__*/React.createElement(SchemaField, null, /*#__PURE__*/React.createElement(SchemaField.Void, {
|
|
92
|
+
"x-component": "FormGrid",
|
|
93
|
+
"x-component-props": {
|
|
94
|
+
maxColumns: [1, 3],
|
|
95
|
+
strictAutoFit: true
|
|
96
|
+
}
|
|
97
|
+
}, /*#__PURE__*/React.createElement(SchemaField.Array, {
|
|
98
|
+
name: "items",
|
|
99
|
+
title: "",
|
|
100
|
+
"x-component": "ArrayTable",
|
|
101
|
+
"x-validator": [{
|
|
102
|
+
message: ""
|
|
103
|
+
}],
|
|
104
|
+
"x-decorator": "FormItem",
|
|
105
|
+
"x-decorator-props": {
|
|
106
|
+
gridSpan: 3
|
|
107
|
+
}
|
|
108
|
+
}, /*#__PURE__*/React.createElement(SchemaField.Object, null, /*#__PURE__*/React.createElement(SchemaField.Void, {
|
|
109
|
+
"x-component": "ArrayTable.Column",
|
|
110
|
+
"x-component-props": {
|
|
111
|
+
width: 100,
|
|
112
|
+
title: "列名"
|
|
113
|
+
}
|
|
114
|
+
}, /*#__PURE__*/React.createElement(SchemaField.String, {
|
|
115
|
+
name: "headerName",
|
|
116
|
+
"x-decorator": "FormItem",
|
|
117
|
+
"x-component": "Input",
|
|
118
|
+
"x-read-pretty": true
|
|
119
|
+
})), /*#__PURE__*/React.createElement(SchemaField.Void, {
|
|
120
|
+
"x-component": "ArrayTable.Column",
|
|
121
|
+
"x-component-props": {
|
|
122
|
+
width: 100,
|
|
123
|
+
title: "宽度"
|
|
124
|
+
}
|
|
125
|
+
}, /*#__PURE__*/React.createElement(SchemaField.String, {
|
|
126
|
+
name: "width",
|
|
127
|
+
"x-decorator": "FormItem",
|
|
128
|
+
"x-component": "NumberPicker"
|
|
129
|
+
})), /*#__PURE__*/React.createElement(SchemaField.Void, {
|
|
130
|
+
"x-component": "ArrayTable.Column",
|
|
131
|
+
"x-component-props": {
|
|
132
|
+
width: 100,
|
|
133
|
+
title: "占满"
|
|
134
|
+
}
|
|
135
|
+
}, /*#__PURE__*/React.createElement(SchemaField.String, {
|
|
136
|
+
name: "flex",
|
|
137
|
+
"x-decorator": "FormItem",
|
|
138
|
+
"x-component": "Select",
|
|
139
|
+
enum: [{
|
|
140
|
+
value: 1,
|
|
141
|
+
label: "占满"
|
|
142
|
+
}, {
|
|
143
|
+
value: 0,
|
|
144
|
+
label: "不占满"
|
|
145
|
+
}]
|
|
146
|
+
})), /*#__PURE__*/React.createElement(SchemaField.Void, {
|
|
147
|
+
"x-component": "ArrayTable.Column",
|
|
148
|
+
"x-component-props": {
|
|
149
|
+
width: 100,
|
|
150
|
+
title: '固定位置'
|
|
151
|
+
}
|
|
152
|
+
}, /*#__PURE__*/React.createElement(SchemaField.String, {
|
|
153
|
+
name: "pinned",
|
|
154
|
+
"x-decorator": "FormItem",
|
|
155
|
+
"x-component": "Select",
|
|
156
|
+
enum: [{
|
|
157
|
+
value: "left",
|
|
158
|
+
label: "左固定"
|
|
159
|
+
}, {
|
|
160
|
+
value: "right",
|
|
161
|
+
label: "右固定"
|
|
162
|
+
}, {
|
|
163
|
+
value: undefined,
|
|
164
|
+
label: "不固定"
|
|
165
|
+
}]
|
|
166
|
+
})), /*#__PURE__*/React.createElement(SchemaField.Void, {
|
|
167
|
+
"x-component": "ArrayTable.Column",
|
|
168
|
+
"x-component-props": {
|
|
169
|
+
title: '隐藏'
|
|
170
|
+
}
|
|
171
|
+
}, /*#__PURE__*/React.createElement(SchemaField.String, {
|
|
172
|
+
name: "hide",
|
|
173
|
+
"x-decorator": "FormItem",
|
|
174
|
+
"x-component": "Switch"
|
|
175
|
+
})))))));
|
|
178
176
|
});
|
|
179
177
|
formDialog.forConfirm(function (payload, next) {
|
|
180
178
|
var values = payload.values;
|
|
181
|
-
var falg =
|
|
179
|
+
var falg = columnApi.applyColumnState({
|
|
182
180
|
state: values.items,
|
|
183
181
|
applyOrder: true
|
|
184
182
|
});
|
|
185
183
|
onSaveColumnState && onSaveColumnState(values.items);
|
|
186
184
|
next(payload);
|
|
187
185
|
}).open(formProps);
|
|
186
|
+
|
|
188
187
|
case 2:
|
|
189
188
|
case "end":
|
|
190
189
|
return _context.stop();
|
|
191
190
|
}
|
|
192
|
-
}
|
|
193
|
-
})
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
});
|
|
191
|
+
}
|
|
192
|
+
}, _callee);
|
|
193
|
+
}))
|
|
194
|
+
}, /*#__PURE__*/React.createElement(SettingOutlined, null)));
|
|
197
195
|
};
|
|
196
|
+
|
|
198
197
|
export default Setting;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SettingItem: (props: any) =>
|
|
3
|
-
export default SettingItem;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const SettingItem: (props: any) => JSX.Element;
|
|
3
|
+
export default SettingItem;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
2
3
|
var SettingItem = function SettingItem(props) {
|
|
3
4
|
var onClick = props.onClick,
|
|
4
|
-
|
|
5
|
+
icon = props.icon;
|
|
5
6
|
return /*#__PURE__*/React.createElement("div", {
|
|
6
7
|
style: {
|
|
7
8
|
margin: "0 4px",
|
|
@@ -12,4 +13,5 @@ var SettingItem = function SettingItem(props) {
|
|
|
12
13
|
onClick: onClick
|
|
13
14
|
}, icon);
|
|
14
15
|
};
|
|
16
|
+
|
|
15
17
|
export default SettingItem;
|
|
@@ -1,20 +1,20 @@
|
|
|
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:
|
|
20
|
-
export default ListToolBar;
|
|
1
|
+
import type { LabelTooltipType } from 'antd/es/form/FormItemLabel';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare type SettingPropType = React.ReactNode;
|
|
4
|
+
export declare 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: React.FC<ListToolBarProps>;
|
|
20
|
+
export default ListToolBar;
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
|
+
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
7
|
import { LabelIconTip } from '@ant-design/pro-utils';
|
|
8
|
-
import { proTheme } from '@ant-design/pro-provider';
|
|
9
8
|
import { ConfigProvider, Tooltip } from 'antd';
|
|
10
9
|
import classNames from 'classnames';
|
|
11
10
|
import React, { useContext, useMemo } from 'react';
|
|
12
11
|
import { useStyle } from "./style";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
|
|
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
|
+
|
|
22
23
|
if (setting) {
|
|
23
24
|
var settingConfig = setting;
|
|
24
25
|
var icon = settingConfig.icon,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
tooltip = settingConfig.tooltip,
|
|
27
|
+
_onClick = settingConfig.onClick,
|
|
28
|
+
key = settingConfig.key;
|
|
29
|
+
|
|
28
30
|
if (icon && tooltip) {
|
|
29
31
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
30
32
|
title: tooltip
|
|
@@ -37,43 +39,49 @@ function getSettingItem(setting) {
|
|
|
37
39
|
}
|
|
38
40
|
}, icon));
|
|
39
41
|
}
|
|
42
|
+
|
|
40
43
|
return icon;
|
|
41
44
|
}
|
|
45
|
+
|
|
42
46
|
return null;
|
|
43
47
|
}
|
|
48
|
+
|
|
44
49
|
var ListToolBar = function ListToolBar(_ref) {
|
|
45
50
|
var customizePrefixCls = _ref.prefixCls,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
title = _ref.title,
|
|
52
|
+
subTitle = _ref.subTitle,
|
|
53
|
+
tooltip = _ref.tooltip,
|
|
54
|
+
className = _ref.className,
|
|
55
|
+
style = _ref.style,
|
|
56
|
+
_ref$actions = _ref.actions,
|
|
57
|
+
actions = _ref$actions === void 0 ? [] : _ref$actions,
|
|
58
|
+
_ref$settings = _ref.settings,
|
|
59
|
+
settings = _ref$settings === void 0 ? [] : _ref$settings;
|
|
60
|
+
|
|
55
61
|
var _useContext = useContext(ConfigProvider.ConfigContext),
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
token = _proTheme$useToken.token;
|
|
62
|
+
getPrefixCls = _useContext.getPrefixCls;
|
|
63
|
+
|
|
59
64
|
var prefixCls = getPrefixCls('pro-table-list-toolbar', customizePrefixCls);
|
|
60
|
-
var _useStyle = useStyle(prefixCls),
|
|
61
|
-
wrapSSR = _useStyle.wrapSSR,
|
|
62
|
-
hashId = _useStyle.hashId;
|
|
63
65
|
|
|
66
|
+
var _useStyle = useStyle(prefixCls),
|
|
67
|
+
hashId = _useStyle.hashId;
|
|
64
68
|
/** 有没有 title,需要结合多个场景判断 */
|
|
69
|
+
|
|
70
|
+
|
|
65
71
|
var hasTitle = useMemo(function () {
|
|
66
72
|
return title || subTitle || tooltip;
|
|
67
73
|
}, [subTitle, title, tooltip]);
|
|
68
|
-
|
|
69
74
|
/** 没有 key 的时候帮忙加一下 key 不加的话很烦人 */
|
|
75
|
+
|
|
70
76
|
var actionDom = useMemo(function () {
|
|
71
77
|
if (!Array.isArray(actions)) {
|
|
72
78
|
return actions;
|
|
73
79
|
}
|
|
80
|
+
|
|
74
81
|
if (actions.length < 1) {
|
|
75
82
|
return null;
|
|
76
83
|
}
|
|
84
|
+
|
|
77
85
|
return /*#__PURE__*/React.createElement("div", {
|
|
78
86
|
style: {
|
|
79
87
|
display: 'flex',
|
|
@@ -87,6 +95,7 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
87
95
|
key: index
|
|
88
96
|
}, action);
|
|
89
97
|
}
|
|
98
|
+
|
|
90
99
|
return /*#__PURE__*/React.cloneElement(action, _objectSpread({
|
|
91
100
|
// eslint-disable-next-line react/no-array-index-key
|
|
92
101
|
key: index
|
|
@@ -105,9 +114,9 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
105
114
|
return /*#__PURE__*/React.createElement("div", {
|
|
106
115
|
className: "".concat(prefixCls, "-left ").concat(hashId)
|
|
107
116
|
});
|
|
108
|
-
}
|
|
117
|
+
} // 减少 space 的dom,渲染的时候能节省点性能
|
|
118
|
+
|
|
109
119
|
|
|
110
|
-
// 减少 space 的dom,渲染的时候能节省点性能
|
|
111
120
|
if (hasTitle) {
|
|
112
121
|
return /*#__PURE__*/React.createElement("div", {
|
|
113
122
|
className: "".concat(prefixCls, "-left ").concat(hashId)
|
|
@@ -119,6 +128,7 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
119
128
|
subTitle: subTitle
|
|
120
129
|
})));
|
|
121
130
|
}
|
|
131
|
+
|
|
122
132
|
return /*#__PURE__*/React.createElement("div", {
|
|
123
133
|
className: "".concat(prefixCls, "-left ").concat(hashId)
|
|
124
134
|
}, hasTitle && /*#__PURE__*/React.createElement("div", {
|
|
@@ -162,4 +172,5 @@ var ListToolBar = function ListToolBar(_ref) {
|
|
|
162
172
|
className: classNames(prefixCls, hashId, className)
|
|
163
173
|
}, titleNode);
|
|
164
174
|
};
|
|
175
|
+
|
|
165
176
|
export default ListToolBar;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
};
|
|
1
|
+
import type { ProAliasToken } from '@ant-design/pro-utils';
|
|
2
|
+
export interface ProListToken extends ProAliasToken {
|
|
3
|
+
componentCls: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function useStyle(prefixCls: string): import("@ant-design/pro-provider").UseStyleResult;
|