@nokecy/qc-ui 0.6.7 → 0.6.9
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,173 +1,173 @@
|
|
|
1
|
-
@import '~react-grid-layout/css/styles.css';
|
|
2
|
-
|
|
3
|
-
.react-resizable {
|
|
4
|
-
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
.react-resizable-handle {
|
|
8
|
-
position: absolute;
|
|
9
|
-
width: 20px;
|
|
10
|
-
height: 20px;
|
|
11
|
-
background-repeat: no-repeat;
|
|
12
|
-
background-origin: content-box;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');
|
|
15
|
-
background-position: bottom right;
|
|
16
|
-
padding: 0 3px 3px 0;
|
|
17
|
-
display:none;
|
|
18
|
-
}
|
|
19
|
-
.react-resizable-handle-sw {
|
|
20
|
-
bottom: 0;
|
|
21
|
-
left: 0;
|
|
22
|
-
cursor: sw-resize;
|
|
23
|
-
transform: rotate(90deg);
|
|
24
|
-
}
|
|
25
|
-
.react-resizable-handle-se {
|
|
26
|
-
bottom: 0;
|
|
27
|
-
right: 0;
|
|
28
|
-
cursor: se-resize;
|
|
29
|
-
}
|
|
30
|
-
.react-resizable-handle-nw {
|
|
31
|
-
top: 0;
|
|
32
|
-
left: 0;
|
|
33
|
-
cursor: nw-resize;
|
|
34
|
-
transform: rotate(180deg);
|
|
35
|
-
}
|
|
36
|
-
.react-resizable-handle-ne {
|
|
37
|
-
top: 0;
|
|
38
|
-
right: 0;
|
|
39
|
-
cursor: ne-resize;
|
|
40
|
-
transform: rotate(270deg);
|
|
41
|
-
}
|
|
42
|
-
.react-resizable-handle-w,
|
|
43
|
-
.react-resizable-handle-e {
|
|
44
|
-
top: 50%;
|
|
45
|
-
margin-top: -10px;
|
|
46
|
-
cursor: ew-resize;
|
|
47
|
-
}
|
|
48
|
-
.react-resizable-handle-w {
|
|
49
|
-
left: 0;
|
|
50
|
-
transform: rotate(135deg);
|
|
51
|
-
}
|
|
52
|
-
.react-resizable-handle-e {
|
|
53
|
-
right: 0;
|
|
54
|
-
transform: rotate(315deg);
|
|
55
|
-
}
|
|
56
|
-
.react-resizable-handle-n,
|
|
57
|
-
.react-resizable-handle-s {
|
|
58
|
-
left: 50%;
|
|
59
|
-
margin-left: -10px;
|
|
60
|
-
cursor: ns-resize;
|
|
61
|
-
}
|
|
62
|
-
.react-resizable-handle-n {
|
|
63
|
-
top: 0;
|
|
64
|
-
transform: rotate(225deg);
|
|
65
|
-
}
|
|
66
|
-
.react-resizable-handle-s {
|
|
67
|
-
bottom: 0;
|
|
68
|
-
transform: rotate(45deg);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
:root{
|
|
72
|
-
--primary-color:blue;
|
|
73
|
-
--component-background:#fff;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
.react-grid-item > .react-resizable-handle {
|
|
78
|
-
z-index: 1;
|
|
79
|
-
}
|
|
80
|
-
.react-dashboard-item-edit{
|
|
81
|
-
.react-resizable-handle {
|
|
82
|
-
display:block;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.react-dashboard-full {
|
|
87
|
-
width: 100%;
|
|
88
|
-
height: 100%;
|
|
89
|
-
}
|
|
90
|
-
.react-dashboard-aligncenter {
|
|
91
|
-
display: flex;
|
|
92
|
-
justify-content: center;
|
|
93
|
-
align-items: center;
|
|
94
|
-
}
|
|
95
|
-
//空页面样式
|
|
96
|
-
.react-dashboard-emptyContent {
|
|
97
|
-
// min-height: calc(100vh - 50px - 41px - 50px - 10px - 22px);
|
|
98
|
-
display: flex;
|
|
99
|
-
justify-content: center;
|
|
100
|
-
align-items: center;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
.react-dashboard-item {
|
|
105
|
-
position: relative;
|
|
106
|
-
// overflow: hidden;
|
|
107
|
-
// border:1px solid rgba(128,128,128,0.3);
|
|
108
|
-
.react-dashboard-mask {
|
|
109
|
-
position: absolute;
|
|
110
|
-
top: 0;
|
|
111
|
-
left: 0;
|
|
112
|
-
z-index: 1;
|
|
113
|
-
width: 100%;
|
|
114
|
-
height: 100%;
|
|
115
|
-
background: rgba(0, 0, 0, 0);
|
|
116
|
-
cursor: move;
|
|
117
|
-
transition: all 0.3s;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.react-dashboard-configicon {
|
|
121
|
-
position: absolute;
|
|
122
|
-
top: 0;
|
|
123
|
-
right: 30px;
|
|
124
|
-
z-index: 1;
|
|
125
|
-
display: none;
|
|
126
|
-
width: 30px;
|
|
127
|
-
height: 30px;
|
|
128
|
-
color: #fff;
|
|
129
|
-
font-weight: bold;
|
|
130
|
-
font-size: 16px;
|
|
131
|
-
line-height: 30px;
|
|
132
|
-
text-align: center;
|
|
133
|
-
background: var(--primary-color);
|
|
134
|
-
border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
|
|
135
|
-
cursor: pointer;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.react-dashboard-deleteicon {
|
|
139
|
-
position: absolute;
|
|
140
|
-
top: 0;
|
|
141
|
-
right: 0;
|
|
142
|
-
z-index: 1;
|
|
143
|
-
display: none;
|
|
144
|
-
width: 30px;
|
|
145
|
-
height: 30px;
|
|
146
|
-
color: #fff;
|
|
147
|
-
font-size: 16px;
|
|
148
|
-
line-height: 30px;
|
|
149
|
-
text-align: center;
|
|
150
|
-
background: #f5222d;
|
|
151
|
-
border-radius: var(--card-border-radius);
|
|
152
|
-
cursor: pointer;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.react-dashboard-configicon + .react-dashboard-deleteicon {
|
|
156
|
-
border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&:hover {
|
|
160
|
-
.react-dashboard-mask {
|
|
161
|
-
background: rgba(0, 0, 0, 0.05);
|
|
162
|
-
transition: all 0.3s;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.react-dashboard-configicon {
|
|
166
|
-
display: block;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.react-dashboard-deleteicon {
|
|
170
|
-
display: block;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
1
|
+
@import '~react-grid-layout/css/styles.css';
|
|
2
|
+
|
|
3
|
+
.react-resizable {
|
|
4
|
+
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
.react-resizable-handle {
|
|
8
|
+
position: absolute;
|
|
9
|
+
width: 20px;
|
|
10
|
+
height: 20px;
|
|
11
|
+
background-repeat: no-repeat;
|
|
12
|
+
background-origin: content-box;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');
|
|
15
|
+
background-position: bottom right;
|
|
16
|
+
padding: 0 3px 3px 0;
|
|
17
|
+
display:none;
|
|
18
|
+
}
|
|
19
|
+
.react-resizable-handle-sw {
|
|
20
|
+
bottom: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
cursor: sw-resize;
|
|
23
|
+
transform: rotate(90deg);
|
|
24
|
+
}
|
|
25
|
+
.react-resizable-handle-se {
|
|
26
|
+
bottom: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
cursor: se-resize;
|
|
29
|
+
}
|
|
30
|
+
.react-resizable-handle-nw {
|
|
31
|
+
top: 0;
|
|
32
|
+
left: 0;
|
|
33
|
+
cursor: nw-resize;
|
|
34
|
+
transform: rotate(180deg);
|
|
35
|
+
}
|
|
36
|
+
.react-resizable-handle-ne {
|
|
37
|
+
top: 0;
|
|
38
|
+
right: 0;
|
|
39
|
+
cursor: ne-resize;
|
|
40
|
+
transform: rotate(270deg);
|
|
41
|
+
}
|
|
42
|
+
.react-resizable-handle-w,
|
|
43
|
+
.react-resizable-handle-e {
|
|
44
|
+
top: 50%;
|
|
45
|
+
margin-top: -10px;
|
|
46
|
+
cursor: ew-resize;
|
|
47
|
+
}
|
|
48
|
+
.react-resizable-handle-w {
|
|
49
|
+
left: 0;
|
|
50
|
+
transform: rotate(135deg);
|
|
51
|
+
}
|
|
52
|
+
.react-resizable-handle-e {
|
|
53
|
+
right: 0;
|
|
54
|
+
transform: rotate(315deg);
|
|
55
|
+
}
|
|
56
|
+
.react-resizable-handle-n,
|
|
57
|
+
.react-resizable-handle-s {
|
|
58
|
+
left: 50%;
|
|
59
|
+
margin-left: -10px;
|
|
60
|
+
cursor: ns-resize;
|
|
61
|
+
}
|
|
62
|
+
.react-resizable-handle-n {
|
|
63
|
+
top: 0;
|
|
64
|
+
transform: rotate(225deg);
|
|
65
|
+
}
|
|
66
|
+
.react-resizable-handle-s {
|
|
67
|
+
bottom: 0;
|
|
68
|
+
transform: rotate(45deg);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:root{
|
|
72
|
+
--primary-color:blue;
|
|
73
|
+
--component-background:#fff;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
.react-grid-item > .react-resizable-handle {
|
|
78
|
+
z-index: 1;
|
|
79
|
+
}
|
|
80
|
+
.react-dashboard-item-edit{
|
|
81
|
+
.react-resizable-handle {
|
|
82
|
+
display:block;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.react-dashboard-full {
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 100%;
|
|
89
|
+
}
|
|
90
|
+
.react-dashboard-aligncenter {
|
|
91
|
+
display: flex;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
align-items: center;
|
|
94
|
+
}
|
|
95
|
+
//空页面样式
|
|
96
|
+
.react-dashboard-emptyContent {
|
|
97
|
+
// min-height: calc(100vh - 50px - 41px - 50px - 10px - 22px);
|
|
98
|
+
display: flex;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
align-items: center;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
.react-dashboard-item {
|
|
105
|
+
position: relative;
|
|
106
|
+
// overflow: hidden;
|
|
107
|
+
// border:1px solid rgba(128,128,128,0.3);
|
|
108
|
+
.react-dashboard-mask {
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: 0;
|
|
111
|
+
left: 0;
|
|
112
|
+
z-index: 1;
|
|
113
|
+
width: 100%;
|
|
114
|
+
height: 100%;
|
|
115
|
+
background: rgba(0, 0, 0, 0);
|
|
116
|
+
cursor: move;
|
|
117
|
+
transition: all 0.3s;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.react-dashboard-configicon {
|
|
121
|
+
position: absolute;
|
|
122
|
+
top: 0;
|
|
123
|
+
right: 30px;
|
|
124
|
+
z-index: 1;
|
|
125
|
+
display: none;
|
|
126
|
+
width: 30px;
|
|
127
|
+
height: 30px;
|
|
128
|
+
color: #fff;
|
|
129
|
+
font-weight: bold;
|
|
130
|
+
font-size: 16px;
|
|
131
|
+
line-height: 30px;
|
|
132
|
+
text-align: center;
|
|
133
|
+
background: var(--primary-color);
|
|
134
|
+
border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.react-dashboard-deleteicon {
|
|
139
|
+
position: absolute;
|
|
140
|
+
top: 0;
|
|
141
|
+
right: 0;
|
|
142
|
+
z-index: 1;
|
|
143
|
+
display: none;
|
|
144
|
+
width: 30px;
|
|
145
|
+
height: 30px;
|
|
146
|
+
color: #fff;
|
|
147
|
+
font-size: 16px;
|
|
148
|
+
line-height: 30px;
|
|
149
|
+
text-align: center;
|
|
150
|
+
background: #f5222d;
|
|
151
|
+
border-radius: var(--card-border-radius);
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.react-dashboard-configicon + .react-dashboard-deleteicon {
|
|
156
|
+
border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&:hover {
|
|
160
|
+
.react-dashboard-mask {
|
|
161
|
+
background: rgba(0, 0, 0, 0.05);
|
|
162
|
+
transition: all 0.3s;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.react-dashboard-configicon {
|
|
166
|
+
display: block;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.react-dashboard-deleteicon {
|
|
170
|
+
display: block;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
interface payloadProps {
|
|
2
|
-
id: string;
|
|
3
|
-
data?: object;
|
|
4
|
-
}
|
|
5
|
-
export declare function fetch(payload: payloadProps): Promise<string | null | undefined>;
|
|
6
|
-
export declare function update(payload: payloadProps): Promise<string | null | undefined>;
|
|
7
|
-
export declare function removeWidgetApi(params: any): Promise<string | null>;
|
|
8
|
-
export {};
|
|
1
|
+
interface payloadProps {
|
|
2
|
+
id: string;
|
|
3
|
+
data?: object;
|
|
4
|
+
}
|
|
5
|
+
export declare function fetch(payload: payloadProps): Promise<string | null | undefined>;
|
|
6
|
+
export declare function update(payload: payloadProps): Promise<string | null | undefined>;
|
|
7
|
+
export declare function removeWidgetApi(params: any): Promise<string | null>;
|
|
8
|
+
export {};
|
|
@@ -1,94 +1,78 @@
|
|
|
1
|
-
function _typeof(
|
|
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 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; }
|
|
4
|
-
|
|
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 _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; }
|
|
5
3
|
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); } }
|
|
6
|
-
|
|
7
4
|
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); }); }; }
|
|
8
|
-
|
|
9
5
|
import { request } from "./utils";
|
|
10
6
|
// 获取仪表板信息
|
|
11
7
|
export function fetch(_x) {
|
|
12
8
|
return _fetch.apply(this, arguments);
|
|
13
|
-
}
|
|
9
|
+
}
|
|
14
10
|
|
|
11
|
+
// 修改仪表板信息
|
|
15
12
|
function _fetch() {
|
|
16
13
|
_fetch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(payload) {
|
|
17
14
|
var id, url;
|
|
18
15
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
19
|
-
while (1) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
while (1) switch (_context.prev = _context.next) {
|
|
17
|
+
case 0:
|
|
18
|
+
id = payload.id;
|
|
19
|
+
url = '/accountUserSelf/getUserData';
|
|
20
|
+
if (id) {
|
|
21
|
+
_context.next = 4;
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
24
|
+
return _context.abrupt("return");
|
|
25
|
+
case 4:
|
|
26
|
+
return _context.abrupt("return", request(url, {
|
|
27
|
+
method: 'GET',
|
|
28
|
+
data: {
|
|
29
|
+
dataId: id,
|
|
30
|
+
dataType: 'dashboard'
|
|
28
31
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return _context.abrupt("return", request(url, {
|
|
34
|
-
method: 'GET',
|
|
35
|
-
data: {
|
|
36
|
-
dataId: id,
|
|
37
|
-
dataType: 'dashboard'
|
|
38
|
-
}
|
|
39
|
-
}));
|
|
40
|
-
|
|
41
|
-
case 5:
|
|
42
|
-
case "end":
|
|
43
|
-
return _context.stop();
|
|
44
|
-
}
|
|
32
|
+
}));
|
|
33
|
+
case 5:
|
|
34
|
+
case "end":
|
|
35
|
+
return _context.stop();
|
|
45
36
|
}
|
|
46
37
|
}, _callee);
|
|
47
38
|
}));
|
|
48
39
|
return _fetch.apply(this, arguments);
|
|
49
40
|
}
|
|
50
|
-
|
|
51
41
|
export function update(_x2) {
|
|
52
42
|
return _update.apply(this, arguments);
|
|
53
|
-
}
|
|
43
|
+
}
|
|
54
44
|
|
|
45
|
+
//删除小程序信息
|
|
55
46
|
function _update() {
|
|
56
47
|
_update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(payload) {
|
|
57
48
|
var id, data, url;
|
|
58
49
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
59
|
-
while (1) {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
50
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
51
|
+
case 0:
|
|
52
|
+
id = payload.id, data = payload.data;
|
|
53
|
+
url = '/accountUserSelf/setUserData';
|
|
54
|
+
if (id) {
|
|
55
|
+
_context2.next = 4;
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
return _context2.abrupt("return");
|
|
59
|
+
case 4:
|
|
60
|
+
return _context2.abrupt("return", request(url, {
|
|
61
|
+
method: 'POST',
|
|
62
|
+
data: {
|
|
63
|
+
dataId: id,
|
|
64
|
+
dataType: 'dashboard',
|
|
65
|
+
bigData: JSON.stringify(data)
|
|
68
66
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
return _context2.abrupt("return", request(url, {
|
|
74
|
-
method: 'POST',
|
|
75
|
-
data: {
|
|
76
|
-
dataId: id,
|
|
77
|
-
dataType: 'dashboard',
|
|
78
|
-
bigData: JSON.stringify(data)
|
|
79
|
-
}
|
|
80
|
-
}));
|
|
81
|
-
|
|
82
|
-
case 5:
|
|
83
|
-
case "end":
|
|
84
|
-
return _context2.stop();
|
|
85
|
-
}
|
|
67
|
+
}));
|
|
68
|
+
case 5:
|
|
69
|
+
case "end":
|
|
70
|
+
return _context2.stop();
|
|
86
71
|
}
|
|
87
72
|
}, _callee2);
|
|
88
73
|
}));
|
|
89
74
|
return _update.apply(this, arguments);
|
|
90
75
|
}
|
|
91
|
-
|
|
92
76
|
export function removeWidgetApi(params) {
|
|
93
77
|
var widgetKey = params.widgetKey;
|
|
94
78
|
var url = '/accountUserSelf/delUserData';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const request: (url: string, options: any) => Promise<string | null>;
|
|
2
|
-
/**
|
|
3
|
-
*复制字符串到系统剪切板
|
|
4
|
-
*
|
|
5
|
-
* @param {*} str
|
|
6
|
-
*/
|
|
7
|
-
export declare const copy: (str: string) => void;
|
|
8
|
-
export declare const formatLayout: (layout: any) => any;
|
|
9
|
-
export declare const calcMinAndMax: (data: any, widgets: any) => any;
|
|
1
|
+
export declare const request: (url: string, options: any) => Promise<string | null>;
|
|
2
|
+
/**
|
|
3
|
+
*复制字符串到系统剪切板
|
|
4
|
+
*
|
|
5
|
+
* @param {*} str
|
|
6
|
+
*/
|
|
7
|
+
export declare const copy: (str: string) => void;
|
|
8
|
+
export declare const formatLayout: (layout: any) => any;
|
|
9
|
+
export declare const calcMinAndMax: (data: any, widgets: any) => any;
|