@nokecy/qc-ui-components 0.0.0-stage → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/ConfirmPro/index.d.ts +13 -0
- package/dist/cjs/ConfirmPro/index.js +48 -0
- package/dist/cjs/RuleBuilder/LogicSelector.d.ts +23 -0
- package/dist/cjs/RuleBuilder/LogicSelector.js +61 -0
- package/dist/cjs/RuleBuilder/RuleBuilderContainer.d.ts +20 -0
- package/dist/cjs/RuleBuilder/RuleBuilderContainer.js +212 -0
- package/dist/cjs/RuleBuilder/RuleCard.d.ts +22 -0
- package/dist/cjs/RuleBuilder/RuleCard.js +232 -0
- package/dist/cjs/RuleBuilder/RuleGroupEditor.d.ts +27 -0
- package/dist/cjs/RuleBuilder/RuleGroupEditor.js +209 -0
- package/dist/cjs/RuleBuilder/constants/operators.d.ts +52 -0
- package/dist/cjs/RuleBuilder/constants/operators.js +180 -0
- package/dist/cjs/RuleBuilder/context/RuleBuilderContext.d.ts +72 -0
- package/dist/cjs/RuleBuilder/context/RuleBuilderContext.js +287 -0
- package/dist/cjs/RuleBuilder/index.d.ts +25 -0
- package/dist/cjs/RuleBuilder/index.js +314 -0
- package/dist/cjs/RuleBuilder/inputs/BetweenValueInput.d.ts +23 -0
- package/dist/cjs/RuleBuilder/inputs/BetweenValueInput.js +89 -0
- package/dist/cjs/RuleBuilder/inputs/MultiValueInput.d.ts +21 -0
- package/dist/cjs/RuleBuilder/inputs/MultiValueInput.js +136 -0
- package/dist/cjs/RuleBuilder/inputs/SingleValueInput.d.ts +25 -0
- package/dist/cjs/RuleBuilder/inputs/SingleValueInput.js +82 -0
- package/dist/cjs/RuleBuilder/inputs/ValueInput.d.ts +37 -0
- package/dist/cjs/RuleBuilder/inputs/ValueInput.js +133 -0
- package/dist/cjs/RuleBuilder/selectors/FieldSelector.d.ts +22 -0
- package/dist/cjs/RuleBuilder/selectors/FieldSelector.js +46 -0
- package/dist/cjs/RuleBuilder/selectors/OperatorSelector.d.ts +22 -0
- package/dist/cjs/RuleBuilder/selectors/OperatorSelector.js +55 -0
- package/dist/cjs/RuleBuilder/styles/index.module.less +443 -0
- package/dist/cjs/RuleBuilder/styles/index.module.less.d.ts +43 -0
- package/dist/cjs/RuleBuilder/types/index.d.ts +244 -0
- package/dist/cjs/RuleBuilder/types/index.js +83 -0
- package/dist/cjs/RuleBuilder/utils/pathHelpers.d.ts +65 -0
- package/dist/cjs/RuleBuilder/utils/pathHelpers.js +241 -0
- package/dist/cjs/RuleBuilder/utils/ruleHelpers.d.ts +47 -0
- package/dist/cjs/RuleBuilder/utils/ruleHelpers.js +154 -0
- package/dist/cjs/RuleBuilder/utils/validation.d.ts +25 -0
- package/dist/cjs/RuleBuilder/utils/validation.js +279 -0
- package/dist/cjs/adapters/index.d.ts +2 -0
- package/dist/cjs/adapters/index.js +5 -0
- package/dist/cjs/adapters/pagedApiAdapter.d.ts +27 -0
- package/dist/cjs/adapters/pagedApiAdapter.js +5 -0
- package/dist/cjs/ag-grid-plus/_utils/boolSelect.d.ts +4 -0
- package/dist/cjs/ag-grid-plus/_utils/boolSelect.js +53 -0
- package/dist/cjs/ag-grid-plus/_utils/customGroupCellRenderer.d.ts +4 -0
- package/dist/cjs/ag-grid-plus/_utils/customGroupCellRenderer.js +87 -0
- package/dist/cjs/ag-grid-plus/_utils/processColumnGroups.d.ts +12 -0
- package/dist/cjs/ag-grid-plus/_utils/processColumnGroups.js +113 -0
- package/dist/cjs/ag-grid-plus/_utils/processFormColumnState.d.ts +2 -0
- package/dist/cjs/ag-grid-plus/_utils/processFormColumnState.js +28 -0
- package/dist/cjs/ag-grid-plus/ag-grid-theme-builder.css +352 -0
- package/dist/cjs/ag-grid-plus/ag-gridPlus.d.ts +5 -0
- package/dist/cjs/ag-grid-plus/ag-gridPlus.js +1425 -0
- package/dist/cjs/ag-grid-plus/context/gridContext.d.ts +188 -0
- package/dist/cjs/ag-grid-plus/context/gridContext.js +40 -0
- package/dist/cjs/ag-grid-plus/context/queryFormContext.d.ts +20 -0
- package/dist/cjs/ag-grid-plus/context/queryFormContext.js +25 -0
- package/dist/cjs/ag-grid-plus/context/useSchemeDataFlow.d.ts +97 -0
- package/dist/cjs/ag-grid-plus/context/useSchemeDataFlow.js +259 -0
- package/dist/cjs/ag-grid-plus/context/useSchemeManager.d.ts +117 -0
- package/dist/cjs/ag-grid-plus/context/useSchemeManager.js +742 -0
- package/dist/cjs/ag-grid-plus/errors/ErrorBoundary.d.ts +36 -0
- package/dist/cjs/ag-grid-plus/errors/ErrorBoundary.js +151 -0
- package/dist/cjs/ag-grid-plus/errors/index.d.ts +3 -0
- package/dist/cjs/ag-grid-plus/errors/index.js +31 -0
- package/dist/cjs/ag-grid-plus/errors/types.d.ts +80 -0
- package/dist/cjs/ag-grid-plus/errors/types.js +157 -0
- package/dist/cjs/ag-grid-plus/hooks/index.d.ts +5 -0
- package/dist/cjs/ag-grid-plus/hooks/index.js +19 -0
- package/dist/cjs/ag-grid-plus/hooks/useGridPlusColumnState.d.ts +5 -0
- package/dist/cjs/ag-grid-plus/hooks/useGridPlusColumnState.js +15 -0
- package/dist/cjs/ag-grid-plus/hooks/useRowId.d.ts +13 -0
- package/dist/cjs/ag-grid-plus/hooks/useRowId.js +61 -0
- package/dist/cjs/ag-grid-plus/hooks/useTypeInferenceRow.d.ts +18 -0
- package/dist/cjs/ag-grid-plus/hooks/useTypeInferenceRow.js +43 -0
- package/dist/cjs/ag-grid-plus/index.d.ts +18 -0
- package/dist/cjs/ag-grid-plus/index.js +117 -0
- package/dist/cjs/ag-grid-plus/index.less +56 -0
- package/dist/cjs/ag-grid-plus/interface.d.ts +208 -0
- package/dist/cjs/ag-grid-plus/interface.js +21 -0
- package/dist/cjs/ag-grid-plus/locale.d.ts +574 -0
- package/dist/cjs/ag-grid-plus/locale.js +189 -0
- package/dist/cjs/ag-grid-plus/queryForm/AdvancedQueryBuilder.d.ts +10 -0
- package/dist/cjs/ag-grid-plus/queryForm/AdvancedQueryBuilder.js +573 -0
- package/dist/cjs/ag-grid-plus/queryForm/datePrecision.d.ts +23 -0
- package/dist/cjs/ag-grid-plus/queryForm/datePrecision.js +110 -0
- package/dist/cjs/ag-grid-plus/queryForm/index.d.ts +20 -0
- package/dist/cjs/ag-grid-plus/queryForm/index.js +275 -0
- package/dist/cjs/ag-grid-plus/queryForm/index.less +67 -0
- package/dist/cjs/ag-grid-plus/queryForm/queryColumns.d.ts +8 -0
- package/dist/cjs/ag-grid-plus/queryForm/queryColumns.js +53 -0
- package/dist/cjs/ag-grid-plus/queryForm/queryForm.d.ts +3 -0
- package/dist/cjs/ag-grid-plus/queryForm/queryForm.js +125 -0
- package/dist/cjs/ag-grid-plus/queryForm/schemaKey.d.ts +27 -0
- package/dist/cjs/ag-grid-plus/queryForm/schemaKey.js +77 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnConfigForm.d.ts +16 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnConfigForm.js +389 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnConfigTable.d.ts +14 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnConfigTable.js +765 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnNameCellRenderer.d.ts +22 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnNameCellRenderer.js +223 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnSetting.d.ts +19 -0
- package/dist/cjs/ag-grid-plus/setting/ColumnSetting.js +1346 -0
- package/dist/cjs/ag-grid-plus/setting/DebounceInputs.d.ts +40 -0
- package/dist/cjs/ag-grid-plus/setting/DebounceInputs.js +146 -0
- package/dist/cjs/ag-grid-plus/setting/MoveNodeModal.d.ts +15 -0
- package/dist/cjs/ag-grid-plus/setting/MoveNodeModal.js +165 -0
- package/dist/cjs/ag-grid-plus/setting/NameColumnRenderer.d.ts +18 -0
- package/dist/cjs/ag-grid-plus/setting/NameColumnRenderer.js +101 -0
- package/dist/cjs/ag-grid-plus/setting/QuerySchemeManager.d.ts +11 -0
- package/dist/cjs/ag-grid-plus/setting/QuerySchemeManager.js +861 -0
- package/dist/cjs/ag-grid-plus/setting/columnGroupTypes.d.ts +67 -0
- package/dist/cjs/ag-grid-plus/setting/columnGroupTypes.js +5 -0
- package/dist/cjs/ag-grid-plus/setting/columnGroupUtils.d.ts +117 -0
- package/dist/cjs/ag-grid-plus/setting/columnGroupUtils.js +646 -0
- package/dist/cjs/ag-grid-plus/setting/index.d.ts +11 -0
- package/dist/cjs/ag-grid-plus/setting/index.js +100 -0
- package/dist/cjs/ag-grid-plus/setting/performanceMonitor.d.ts +9 -0
- package/dist/cjs/ag-grid-plus/setting/performanceMonitor.js +48 -0
- package/dist/cjs/ag-grid-plus/settingItem/index.d.ts +3 -0
- package/dist/cjs/ag-grid-plus/settingItem/index.js +27 -0
- package/dist/cjs/ag-grid-plus/shared/NoRowsOverlay.d.ts +22 -0
- package/dist/cjs/ag-grid-plus/shared/NoRowsOverlay.js +44 -0
- package/dist/cjs/ag-grid-plus/shared/permissions/globalConfigPermissions.d.ts +22 -0
- package/dist/cjs/ag-grid-plus/shared/permissions/globalConfigPermissions.js +5 -0
- package/dist/cjs/ag-grid-plus/shared/storage/backendApiAdapter.d.ts +75 -0
- package/dist/cjs/ag-grid-plus/shared/storage/backendApiAdapter.js +543 -0
- package/dist/cjs/ag-grid-plus/shared/storage/localStorageAdapter.d.ts +75 -0
- package/dist/cjs/ag-grid-plus/shared/storage/localStorageAdapter.js +496 -0
- package/dist/cjs/ag-grid-plus/shared/storage/schemeStorageAdapter.d.ts +209 -0
- package/dist/cjs/ag-grid-plus/shared/storage/schemeStorageAdapter.js +5 -0
- package/dist/cjs/ag-grid-plus/shared/utils/schemeDataMigration.d.ts +27 -0
- package/dist/cjs/ag-grid-plus/shared/utils/schemeDataMigration.js +63 -0
- package/dist/cjs/ag-grid-plus/theme.d.ts +10 -0
- package/dist/cjs/ag-grid-plus/theme.js +136 -0
- package/dist/cjs/ag-grid-plus/toolBar/index.d.ts +20 -0
- package/dist/cjs/ag-grid-plus/toolBar/index.js +177 -0
- package/dist/cjs/ag-grid-plus/toolBar/leftContent.d.ts +5 -0
- package/dist/cjs/ag-grid-plus/toolBar/leftContent.js +24 -0
- package/dist/cjs/ag-grid-plus/toolBar/style.d.ts +9 -0
- package/dist/cjs/ag-grid-plus/toolBar/style.js +163 -0
- package/dist/cjs/ag-grid-plus/types.d.ts +368 -0
- package/dist/cjs/ag-grid-plus/types.js +5 -0
- package/dist/cjs/ag-grid-plus/utils/agGridCompat.d.ts +66 -0
- package/dist/cjs/ag-grid-plus/utils/agGridCompat.js +335 -0
- package/dist/cjs/ag-grid-plus/utils/aggregation.d.ts +27 -0
- package/dist/cjs/ag-grid-plus/utils/aggregation.js +125 -0
- package/dist/cjs/ag-grid-plus/utils/columnProcessors.d.ts +137 -0
- package/dist/cjs/ag-grid-plus/utils/columnProcessors.js +340 -0
- package/dist/cjs/ag-grid-plus/utils/constants.d.ts +47 -0
- package/dist/cjs/ag-grid-plus/utils/constants.js +62 -0
- package/dist/cjs/ag-grid-plus/utils/emptyState.d.ts +54 -0
- package/dist/cjs/ag-grid-plus/utils/emptyState.js +98 -0
- package/dist/cjs/ag-grid-plus/utils/entityExtensionColumns.d.ts +32 -0
- package/dist/cjs/ag-grid-plus/utils/entityExtensionColumns.js +155 -0
- package/dist/cjs/ag-grid-plus/utils/logger.d.ts +34 -0
- package/dist/cjs/ag-grid-plus/utils/logger.js +118 -0
- package/dist/cjs/ag-grid-plus/utils/queryFormDerivation.d.ts +20 -0
- package/dist/cjs/ag-grid-plus/utils/queryFormDerivation.js +55 -0
- package/dist/cjs/ag-grid-plus/utils/requestParams.d.ts +15 -0
- package/dist/cjs/ag-grid-plus/utils/requestParams.js +31 -0
- package/dist/cjs/ag-grid-plus/utils/rowSelection.d.ts +9 -0
- package/dist/cjs/ag-grid-plus/utils/rowSelection.js +24 -0
- package/dist/cjs/ag-grid-plus/utils/sanitize.d.ts +15 -0
- package/dist/cjs/ag-grid-plus/utils/sanitize.js +39 -0
- package/dist/cjs/ag-grid-plus/utils/valueEnumColor.d.ts +17 -0
- package/dist/cjs/ag-grid-plus/utils/valueEnumColor.js +99 -0
- package/dist/cjs/ag-grid-plus/utils.d.ts +15 -0
- package/dist/cjs/ag-grid-plus/utils.js +267 -0
- package/dist/cjs/array-table/arrayAddBtn.d.ts +3 -0
- package/dist/cjs/array-table/arrayAddBtn.js +81 -0
- package/dist/cjs/array-table/arrayBase.d.ts +62 -0
- package/dist/cjs/array-table/arrayBase.js +266 -0
- package/dist/cjs/array-table/batchRemove.d.ts +36 -0
- package/dist/cjs/array-table/batchRemove.js +308 -0
- package/dist/cjs/array-table/cellFocusScope.d.ts +22 -0
- package/dist/cjs/array-table/cellFocusScope.js +152 -0
- package/dist/cjs/array-table/cellInteractionLock.d.ts +13 -0
- package/dist/cjs/array-table/cellInteractionLock.js +26 -0
- package/dist/cjs/array-table/columnAlign.d.ts +8 -0
- package/dist/cjs/array-table/columnAlign.js +41 -0
- package/dist/cjs/array-table/columnGroup.d.ts +39 -0
- package/dist/cjs/array-table/columnGroup.js +106 -0
- package/dist/cjs/array-table/columnHelper.d.ts +126 -0
- package/dist/cjs/array-table/columnHelper.js +241 -0
- package/dist/cjs/array-table/fixedGuard.d.ts +77 -0
- package/dist/cjs/array-table/fixedGuard.js +208 -0
- package/dist/cjs/array-table/hooks.d.ts +46 -0
- package/dist/cjs/array-table/hooks.js +326 -0
- package/dist/cjs/array-table/index.d.ts +14 -0
- package/dist/cjs/array-table/index.js +653 -0
- package/dist/cjs/array-table/indexColumn.d.ts +19 -0
- package/dist/cjs/array-table/indexColumn.js +52 -0
- package/dist/cjs/array-table/interface.d.ts +64 -0
- package/dist/cjs/array-table/interface.js +5 -0
- package/dist/cjs/array-table/preview.d.ts +3 -0
- package/dist/cjs/array-table/preview.js +75 -0
- package/dist/cjs/array-table/readOnlyFormatters.d.ts +60 -0
- package/dist/cjs/array-table/readOnlyFormatters.js +282 -0
- package/dist/cjs/array-table/requiredHeader.d.ts +5 -0
- package/dist/cjs/array-table/requiredHeader.js +40 -0
- package/dist/cjs/array-table/rowFeedback.d.ts +26 -0
- package/dist/cjs/array-table/rowFeedback.js +115 -0
- package/dist/cjs/array-table/rowIdentity.d.ts +17 -0
- package/dist/cjs/array-table/rowIdentity.js +43 -0
- package/dist/cjs/array-table/sorting.d.ts +3 -0
- package/dist/cjs/array-table/sorting.js +46 -0
- package/dist/cjs/array-table/theme.d.ts +10 -0
- package/dist/cjs/array-table/theme.js +57 -0
- package/dist/cjs/array-table/utils.d.ts +71 -0
- package/dist/cjs/array-table/utils.js +1059 -0
- package/dist/cjs/array-table-index/index.d.ts +3 -0
- package/dist/cjs/array-table-index/index.js +29 -0
- package/dist/cjs/card/index.d.ts +9 -0
- package/dist/cjs/card/index.js +36 -0
- package/dist/cjs/card/pro-card/Actions/index.d.ts +13 -0
- package/dist/cjs/card/pro-card/Actions/index.js +51 -0
- package/dist/cjs/card/pro-card/Actions/style.d.ts +5 -0
- package/dist/cjs/card/pro-card/Actions/style.js +96 -0
- package/dist/cjs/card/pro-card/Card/index.d.ts +4 -0
- package/dist/cjs/card/pro-card/Card/index.js +276 -0
- package/dist/cjs/card/pro-card/Card/style.d.ts +5 -0
- package/dist/cjs/card/pro-card/Card/style.js +224 -0
- package/dist/cjs/card/pro-card/Card/useLegacyItems.d.ts +33 -0
- package/dist/cjs/card/pro-card/Card/useLegacyItems.js +57 -0
- package/dist/cjs/card/pro-card/Divider/index.d.ts +23 -0
- package/dist/cjs/card/pro-card/Divider/index.js +43 -0
- package/dist/cjs/card/pro-card/Divider/style.d.ts +5 -0
- package/dist/cjs/card/pro-card/Divider/style.js +53 -0
- package/dist/cjs/card/pro-card/Loading/index.d.ts +11 -0
- package/dist/cjs/card/pro-card/Loading/index.js +53 -0
- package/dist/cjs/card/pro-card/Loading/style.d.ts +18 -0
- package/dist/cjs/card/pro-card/Loading/style.js +66 -0
- package/dist/cjs/card/pro-card/TabPane/index.d.ts +10 -0
- package/dist/cjs/card/pro-card/TabPane/index.js +74 -0
- package/dist/cjs/card/pro-card/index.d.ts +22 -0
- package/dist/cjs/card/pro-card/index.js +38 -0
- package/dist/cjs/card/pro-card/typing.d.ts +106 -0
- package/dist/cjs/card/pro-card/typing.js +5 -0
- package/dist/cjs/components/RegexEditor/README.md +593 -0
- package/dist/cjs/components/RegexEditor/core/RegexEditor.d.ts +34 -0
- package/dist/cjs/components/RegexEditor/core/RegexEditor.js +241 -0
- package/dist/cjs/components/RegexEditor/core/RegexEditor.less +119 -0
- package/dist/cjs/components/RegexEditor/core/extensions/errorMarker.d.ts +49 -0
- package/dist/cjs/components/RegexEditor/core/extensions/errorMarker.js +158 -0
- package/dist/cjs/components/RegexEditor/core/types.d.ts +79 -0
- package/dist/cjs/components/RegexEditor/core/types.js +5 -0
- package/dist/cjs/components/RegexEditor/hooks/index.d.ts +9 -0
- package/dist/cjs/components/RegexEditor/hooks/index.js +19 -0
- package/dist/cjs/components/RegexEditor/hooks/useRegexTester.d.ts +95 -0
- package/dist/cjs/components/RegexEditor/hooks/useRegexTester.js +234 -0
- package/dist/cjs/components/RegexEditor/hooks/useRegexValidation.d.ts +71 -0
- package/dist/cjs/components/RegexEditor/hooks/useRegexValidation.js +214 -0
- package/dist/cjs/components/RegexEditor/hooks/useTemplateManager.d.ts +64 -0
- package/dist/cjs/components/RegexEditor/hooks/useTemplateManager.js +439 -0
- package/dist/cjs/components/RegexEditor/index.d.ts +16 -0
- package/dist/cjs/components/RegexEditor/index.js +232 -0
- package/dist/cjs/components/RegexEditor/templates/TemplateSelector.d.ts +36 -0
- package/dist/cjs/components/RegexEditor/templates/TemplateSelector.js +351 -0
- package/dist/cjs/components/RegexEditor/templates/builtinTemplates.d.ts +36 -0
- package/dist/cjs/components/RegexEditor/templates/builtinTemplates.js +340 -0
- package/dist/cjs/components/RegexEditor/templates/index.d.ts +10 -0
- package/dist/cjs/components/RegexEditor/templates/index.js +184 -0
- package/dist/cjs/components/RegexEditor/templates/storage.d.ts +74 -0
- package/dist/cjs/components/RegexEditor/templates/storage.js +337 -0
- package/dist/cjs/components/RegexEditor/templates/templateManager.d.ts +67 -0
- package/dist/cjs/components/RegexEditor/templates/templateManager.js +277 -0
- package/dist/cjs/components/RegexEditor/templates/types.d.ts +111 -0
- package/dist/cjs/components/RegexEditor/templates/types.js +94 -0
- package/dist/cjs/components/RegexEditor/testing/types.d.ts +55 -0
- package/dist/cjs/components/RegexEditor/testing/types.js +5 -0
- package/dist/cjs/components/RegexEditor/validation/complexity.d.ts +22 -0
- package/dist/cjs/components/RegexEditor/validation/complexity.js +196 -0
- package/dist/cjs/components/RegexEditor/validation/parser.d.ts +53 -0
- package/dist/cjs/components/RegexEditor/validation/parser.js +129 -0
- package/dist/cjs/components/RegexEditor/validation/types.d.ts +142 -0
- package/dist/cjs/components/RegexEditor/validation/types.js +5 -0
- package/dist/cjs/components/RegexEditor/validation/validator.d.ts +60 -0
- package/dist/cjs/components/RegexEditor/validation/validator.js +218 -0
- package/dist/cjs/components/RegexEditor/visualizer/FlagsSelector.d.ts +20 -0
- package/dist/cjs/components/RegexEditor/visualizer/FlagsSelector.js +103 -0
- package/dist/cjs/components/RegexEditor/visualizer/MatchItem.d.ts +25 -0
- package/dist/cjs/components/RegexEditor/visualizer/MatchItem.js +225 -0
- package/dist/cjs/components/RegexEditor/visualizer/RegexRailroadDiagram.d.ts +32 -0
- package/dist/cjs/components/RegexEditor/visualizer/RegexRailroadDiagram.js +195 -0
- package/dist/cjs/components/RegexEditor/visualizer/RegexTester.d.ts +22 -0
- package/dist/cjs/components/RegexEditor/visualizer/RegexTester.js +284 -0
- package/dist/cjs/components/RegexEditor/visualizer/astToRailroad.d.ts +16 -0
- package/dist/cjs/components/RegexEditor/visualizer/astToRailroad.js +149 -0
- package/dist/cjs/components/RegexEditor/visualizer/index.d.ts +12 -0
- package/dist/cjs/components/RegexEditor/visualizer/index.js +76 -0
- package/dist/cjs/components/RegexEditor/visualizer/types.d.ts +131 -0
- package/dist/cjs/components/RegexEditor/visualizer/types.js +5 -0
- package/dist/cjs/components/RegexEditor/visualizer/utils.d.ts +106 -0
- package/dist/cjs/components/RegexEditor/visualizer/utils.js +268 -0
- package/dist/cjs/dashboard/dashboard/components/index.d.ts +2 -0
- package/dist/cjs/dashboard/dashboard/components/index.js +13 -0
- package/dist/cjs/dashboard/dashboard/components/modal/index.d.ts +3 -0
- package/dist/cjs/dashboard/dashboard/components/modal/index.js +26 -0
- package/dist/cjs/dashboard/dashboard/components/toolbar/index.d.ts +11 -0
- package/dist/cjs/dashboard/dashboard/components/toolbar/index.js +33 -0
- package/dist/cjs/dashboard/dashboard/components/toolbar/style/index.d.ts +1 -0
- package/dist/cjs/dashboard/dashboard/components/toolbar/style/index.js +3 -0
- package/dist/cjs/dashboard/dashboard/components/toolbar/style/index.less +49 -0
- package/dist/cjs/dashboard/dashboard/index.d.ts +64 -0
- package/dist/cjs/dashboard/dashboard/index.js +567 -0
- package/dist/cjs/dashboard/dashboard/index.less +173 -0
- package/dist/cjs/dashboard/dashboard/service.d.ts +8 -0
- package/dist/cjs/dashboard/dashboard/service.js +90 -0
- package/dist/cjs/dashboard/dashboard/utils.d.ts +9 -0
- package/dist/cjs/dashboard/dashboard/utils.js +95 -0
- package/dist/cjs/dashboard/index.d.ts +4 -0
- package/dist/cjs/dashboard/index.js +34 -0
- package/dist/cjs/dashboard/utils.d.ts +24 -0
- package/dist/cjs/dashboard/utils.js +135 -0
- package/dist/cjs/dashboard/widget/index.d.ts +13 -0
- package/dist/cjs/dashboard/widget/index.js +58 -0
- package/dist/cjs/dashboard/widget/index.less +7 -0
- package/dist/cjs/dashboard/widget/selector/filterWidgets.d.ts +27 -0
- package/dist/cjs/dashboard/widget/selector/filterWidgets.js +53 -0
- package/dist/cjs/dashboard/widget/selector/index.d.ts +4 -0
- package/dist/cjs/dashboard/widget/selector/index.js +246 -0
- package/dist/cjs/dashboard/widget/selector/index.less +172 -0
- package/dist/cjs/dashboard/widget/utils.d.ts +4 -0
- package/dist/cjs/dashboard/widget/utils.js +108 -0
- package/dist/cjs/dateCellEditor/DateCellEditor.d.ts +48 -0
- package/dist/cjs/dateCellEditor/DateCellEditor.js +119 -0
- package/dist/cjs/deleteConfirm/index.d.ts +48 -0
- package/dist/cjs/deleteConfirm/index.js +106 -0
- package/dist/cjs/dialogSelect/index.d.ts +55 -0
- package/dist/cjs/dialogSelect/index.js +346 -0
- package/dist/cjs/dialogSelect/index.less +49 -0
- package/dist/cjs/dialogSelect/selectedLabels.d.ts +34 -0
- package/dist/cjs/dialogSelect/selectedLabels.js +254 -0
- package/dist/cjs/documentPage/DisabledActionHint.d.ts +13 -0
- package/dist/cjs/documentPage/DisabledActionHint.js +47 -0
- package/dist/cjs/documentPage/DocumentHeader.d.ts +45 -0
- package/dist/cjs/documentPage/DocumentHeader.js +233 -0
- package/dist/cjs/documentPage/DocumentListToolbar.d.ts +37 -0
- package/dist/cjs/documentPage/DocumentListToolbar.js +244 -0
- package/dist/cjs/documentPage/DocumentRowActions.d.ts +52 -0
- package/dist/cjs/documentPage/DocumentRowActions.js +207 -0
- package/dist/cjs/documentPage/documentAudit.d.ts +12 -0
- package/dist/cjs/documentPage/documentAudit.js +42 -0
- package/dist/cjs/documentPage/documentPage.d.ts +76 -0
- package/dist/cjs/documentPage/documentPage.js +260 -0
- package/dist/cjs/documentPage/headerItemRowId.d.ts +11 -0
- package/dist/cjs/documentPage/headerItemRowId.js +34 -0
- package/dist/cjs/documentPage/index.d.ts +22 -0
- package/dist/cjs/documentPage/index.js +152 -0
- package/dist/cjs/documentPage/index.less +114 -0
- package/dist/cjs/documentPage/useHeaderItemToggleGrid.d.ts +103 -0
- package/dist/cjs/documentPage/useHeaderItemToggleGrid.js +219 -0
- package/dist/cjs/documentPage/useSelectNumberInputOnFocus.d.ts +7 -0
- package/dist/cjs/documentPage/useSelectNumberInputOnFocus.js +50 -0
- package/dist/cjs/draggableModal/index.d.ts +7 -0
- package/dist/cjs/draggableModal/index.js +260 -0
- package/dist/cjs/draggableModal/style.less +130 -0
- package/dist/cjs/editable/index.d.ts +8 -0
- package/dist/cjs/editable/index.js +328 -0
- package/dist/cjs/editable/style.d.ts +2 -0
- package/dist/cjs/editable/style.js +52 -0
- package/dist/cjs/extensible-grid/index.d.ts +4 -0
- package/dist/cjs/extensible-grid/index.js +38 -0
- package/dist/cjs/extensible-grid/interface.d.ts +14 -0
- package/dist/cjs/extensible-grid/interface.js +5 -0
- package/dist/cjs/formPro/context/formProContext.d.ts +13 -0
- package/dist/cjs/formPro/context/formProContext.js +12 -0
- package/dist/cjs/formPro/formLayoutPro.d.ts +9 -0
- package/dist/cjs/formPro/formLayoutPro.js +57 -0
- package/dist/cjs/formPro/index.d.ts +2 -0
- package/dist/cjs/formPro/index.js +13 -0
- package/dist/cjs/formily/index.d.ts +6 -0
- package/dist/cjs/formily/index.js +19 -0
- package/dist/cjs/fullScreenAlert/index.d.ts +41 -0
- package/dist/cjs/fullScreenAlert/index.js +101 -0
- package/dist/cjs/fullScreenAlert/index.less +164 -0
- package/dist/cjs/index.d.ts +48 -0
- package/dist/cjs/index.js +556 -0
- package/dist/cjs/queryBuilder/index.d.ts +3 -0
- package/dist/cjs/queryBuilder/index.js +64 -0
- package/dist/cjs/readPretty/arrayTable.d.ts +6 -0
- package/dist/cjs/readPretty/arrayTable.js +176 -0
- package/dist/cjs/readPretty/controls.d.ts +16 -0
- package/dist/cjs/readPretty/controls.js +115 -0
- package/dist/cjs/readPretty/decimal.d.ts +7 -0
- package/dist/cjs/readPretty/decimal.js +45 -0
- package/dist/cjs/readPretty/formily.d.ts +3 -0
- package/dist/cjs/readPretty/formily.js +91 -0
- package/dist/cjs/readPretty/hoistStatics.d.ts +1 -0
- package/dist/cjs/readPretty/hoistStatics.js +37 -0
- package/dist/cjs/readPretty/index.d.ts +13 -0
- package/dist/cjs/readPretty/index.js +90 -0
- package/dist/cjs/readPretty/readableSwitch.d.ts +12 -0
- package/dist/cjs/readPretty/readableSwitch.js +26 -0
- package/dist/cjs/readPretty/schemaScope.d.ts +2 -0
- package/dist/cjs/readPretty/schemaScope.js +48 -0
- package/dist/cjs/readPretty/selectNumberInputTextOnClick.d.ts +3 -0
- package/dist/cjs/readPretty/selectNumberInputTextOnClick.js +14 -0
- package/dist/cjs/readPretty/selectValue.d.ts +18 -0
- package/dist/cjs/readPretty/selectValue.js +84 -0
- package/dist/cjs/readPretty/values.d.ts +4 -0
- package/dist/cjs/readPretty/values.js +50 -0
- package/dist/cjs/scanCollect/ScanInput.d.ts +21 -0
- package/dist/cjs/scanCollect/ScanInput.js +89 -0
- package/dist/cjs/scanCollect/focus.d.ts +23 -0
- package/dist/cjs/scanCollect/focus.js +55 -0
- package/dist/cjs/scanCollect/index.d.ts +13 -0
- package/dist/cjs/scanCollect/index.js +46 -0
- package/dist/cjs/scanCollect/requestGate.d.ts +18 -0
- package/dist/cjs/scanCollect/requestGate.js +30 -0
- package/dist/cjs/scanCollect/usePromiseQueue.d.ts +34 -0
- package/dist/cjs/scanCollect/usePromiseQueue.js +156 -0
- package/dist/cjs/shared/businessDecimal.d.ts +11 -0
- package/dist/cjs/shared/businessDecimal.js +53 -0
- package/dist/cjs/shared/contrast.d.ts +40 -0
- package/dist/cjs/shared/contrast.js +153 -0
- package/dist/cjs/shared/download.d.ts +6 -0
- package/dist/cjs/shared/download.js +23 -0
- package/dist/cjs/shared/gridSequence.d.ts +9 -0
- package/dist/cjs/shared/gridSequence.js +110 -0
- package/dist/cjs/shared/labelIconTip/index.d.ts +11 -0
- package/dist/cjs/shared/labelIconTip/index.js +73 -0
- package/dist/cjs/shared/labelIconTip/style.d.ts +5 -0
- package/dist/cjs/shared/labelIconTip/style.js +56 -0
- package/dist/cjs/shared/optionValue.d.ts +9 -0
- package/dist/cjs/shared/optionValue.js +28 -0
- package/dist/cjs/shared/proStyle.d.ts +32 -0
- package/dist/cjs/shared/proStyle.js +67 -0
- package/dist/cjs/shared/selectValueType.d.ts +10 -0
- package/dist/cjs/shared/selectValueType.js +5 -0
- package/dist/cjs/toolBar/index.d.ts +5 -0
- package/dist/cjs/toolBar/index.js +119 -0
- package/dist/cjs/toolBar/index.less +43 -0
- package/dist/cjs/type.d.ts +1 -0
- package/dist/cjs/types/railroad-diagram-types.d.ts +38 -0
- package/dist/cjs/types/railroad-diagram-types.js +5 -0
- package/dist/cjs/types/railroad-diagrams.d.ts +26 -0
- package/dist/cjs/types/regexp-tree-ast.d.ts +112 -0
- package/dist/cjs/types/regexp-tree-ast.js +5 -0
- package/dist/cjs/types/regexp-tree.d.ts +13 -0
- package/dist/esm/ConfirmPro/index.d.ts +13 -0
- package/dist/esm/ConfirmPro/index.js +41 -0
- package/dist/esm/RuleBuilder/LogicSelector.d.ts +23 -0
- package/dist/esm/RuleBuilder/LogicSelector.js +55 -0
- package/dist/esm/RuleBuilder/RuleBuilderContainer.d.ts +20 -0
- package/dist/esm/RuleBuilder/RuleBuilderContainer.js +207 -0
- package/dist/esm/RuleBuilder/RuleCard.d.ts +22 -0
- package/dist/esm/RuleBuilder/RuleCard.js +228 -0
- package/dist/esm/RuleBuilder/RuleGroupEditor.d.ts +27 -0
- package/dist/esm/RuleBuilder/RuleGroupEditor.js +203 -0
- package/dist/esm/RuleBuilder/constants/operators.d.ts +52 -0
- package/dist/esm/RuleBuilder/constants/operators.js +177 -0
- package/dist/esm/RuleBuilder/context/RuleBuilderContext.d.ts +72 -0
- package/dist/esm/RuleBuilder/context/RuleBuilderContext.js +273 -0
- package/dist/esm/RuleBuilder/index.d.ts +25 -0
- package/dist/esm/RuleBuilder/index.js +42 -0
- package/dist/esm/RuleBuilder/inputs/BetweenValueInput.d.ts +23 -0
- package/dist/esm/RuleBuilder/inputs/BetweenValueInput.js +83 -0
- package/dist/esm/RuleBuilder/inputs/MultiValueInput.d.ts +21 -0
- package/dist/esm/RuleBuilder/inputs/MultiValueInput.js +130 -0
- package/dist/esm/RuleBuilder/inputs/SingleValueInput.d.ts +25 -0
- package/dist/esm/RuleBuilder/inputs/SingleValueInput.js +75 -0
- package/dist/esm/RuleBuilder/inputs/ValueInput.d.ts +37 -0
- package/dist/esm/RuleBuilder/inputs/ValueInput.js +127 -0
- package/dist/esm/RuleBuilder/selectors/FieldSelector.d.ts +22 -0
- package/dist/esm/RuleBuilder/selectors/FieldSelector.js +39 -0
- package/dist/esm/RuleBuilder/selectors/OperatorSelector.d.ts +22 -0
- package/dist/esm/RuleBuilder/selectors/OperatorSelector.js +49 -0
- package/dist/esm/RuleBuilder/styles/index.module.less +443 -0
- package/dist/esm/RuleBuilder/styles/index.module.less.d.ts +43 -0
- package/dist/esm/RuleBuilder/types/index.d.ts +244 -0
- package/dist/esm/RuleBuilder/types/index.js +91 -0
- package/dist/esm/RuleBuilder/utils/pathHelpers.d.ts +65 -0
- package/dist/esm/RuleBuilder/utils/pathHelpers.js +228 -0
- package/dist/esm/RuleBuilder/utils/ruleHelpers.d.ts +47 -0
- package/dist/esm/RuleBuilder/utils/ruleHelpers.js +145 -0
- package/dist/esm/RuleBuilder/utils/validation.d.ts +25 -0
- package/dist/esm/RuleBuilder/utils/validation.js +274 -0
- package/dist/esm/adapters/index.d.ts +2 -0
- package/dist/esm/adapters/index.js +1 -0
- package/dist/esm/adapters/pagedApiAdapter.d.ts +27 -0
- package/dist/esm/adapters/pagedApiAdapter.js +1 -0
- package/dist/esm/ag-grid-plus/_utils/boolSelect.d.ts +4 -0
- package/dist/esm/ag-grid-plus/_utils/boolSelect.js +49 -0
- package/dist/esm/ag-grid-plus/_utils/customGroupCellRenderer.d.ts +4 -0
- package/dist/esm/ag-grid-plus/_utils/customGroupCellRenderer.js +79 -0
- package/dist/esm/ag-grid-plus/_utils/processColumnGroups.d.ts +12 -0
- package/dist/esm/ag-grid-plus/_utils/processColumnGroups.js +108 -0
- package/dist/esm/ag-grid-plus/_utils/processFormColumnState.d.ts +2 -0
- package/dist/esm/ag-grid-plus/_utils/processFormColumnState.js +22 -0
- package/dist/esm/ag-grid-plus/ag-grid-theme-builder.css +352 -0
- package/dist/esm/ag-grid-plus/ag-gridPlus.d.ts +5 -0
- package/dist/esm/ag-grid-plus/ag-gridPlus.js +1418 -0
- package/dist/esm/ag-grid-plus/context/gridContext.d.ts +188 -0
- package/dist/esm/ag-grid-plus/context/gridContext.js +34 -0
- package/dist/esm/ag-grid-plus/context/queryFormContext.d.ts +20 -0
- package/dist/esm/ag-grid-plus/context/queryFormContext.js +19 -0
- package/dist/esm/ag-grid-plus/context/useSchemeDataFlow.d.ts +97 -0
- package/dist/esm/ag-grid-plus/context/useSchemeDataFlow.js +251 -0
- package/dist/esm/ag-grid-plus/context/useSchemeManager.d.ts +117 -0
- package/dist/esm/ag-grid-plus/context/useSchemeManager.js +736 -0
- package/dist/esm/ag-grid-plus/errors/ErrorBoundary.d.ts +36 -0
- package/dist/esm/ag-grid-plus/errors/ErrorBoundary.js +147 -0
- package/dist/esm/ag-grid-plus/errors/index.d.ts +3 -0
- package/dist/esm/ag-grid-plus/errors/index.js +2 -0
- package/dist/esm/ag-grid-plus/errors/types.d.ts +80 -0
- package/dist/esm/ag-grid-plus/errors/types.js +155 -0
- package/dist/esm/ag-grid-plus/hooks/index.d.ts +5 -0
- package/dist/esm/ag-grid-plus/hooks/index.js +6 -0
- package/dist/esm/ag-grid-plus/hooks/useGridPlusColumnState.d.ts +5 -0
- package/dist/esm/ag-grid-plus/hooks/useGridPlusColumnState.js +10 -0
- package/dist/esm/ag-grid-plus/hooks/useRowId.d.ts +13 -0
- package/dist/esm/ag-grid-plus/hooks/useRowId.js +56 -0
- package/dist/esm/ag-grid-plus/hooks/useTypeInferenceRow.d.ts +18 -0
- package/dist/esm/ag-grid-plus/hooks/useTypeInferenceRow.js +37 -0
- package/dist/esm/ag-grid-plus/index.d.ts +18 -0
- package/dist/esm/ag-grid-plus/index.js +24 -0
- package/dist/esm/ag-grid-plus/index.less +56 -0
- package/dist/esm/ag-grid-plus/interface.d.ts +208 -0
- package/dist/esm/ag-grid-plus/interface.js +17 -0
- package/dist/esm/ag-grid-plus/locale.d.ts +574 -0
- package/dist/esm/ag-grid-plus/locale.js +184 -0
- package/dist/esm/ag-grid-plus/queryForm/AdvancedQueryBuilder.d.ts +10 -0
- package/dist/esm/ag-grid-plus/queryForm/AdvancedQueryBuilder.js +569 -0
- package/dist/esm/ag-grid-plus/queryForm/datePrecision.d.ts +23 -0
- package/dist/esm/ag-grid-plus/queryForm/datePrecision.js +103 -0
- package/dist/esm/ag-grid-plus/queryForm/index.d.ts +20 -0
- package/dist/esm/ag-grid-plus/queryForm/index.js +267 -0
- package/dist/esm/ag-grid-plus/queryForm/index.less +67 -0
- package/dist/esm/ag-grid-plus/queryForm/queryColumns.d.ts +8 -0
- package/dist/esm/ag-grid-plus/queryForm/queryColumns.js +47 -0
- package/dist/esm/ag-grid-plus/queryForm/queryForm.d.ts +3 -0
- package/dist/esm/ag-grid-plus/queryForm/queryForm.js +118 -0
- package/dist/esm/ag-grid-plus/queryForm/schemaKey.d.ts +27 -0
- package/dist/esm/ag-grid-plus/queryForm/schemaKey.js +71 -0
- package/dist/esm/ag-grid-plus/setting/ColumnConfigForm.d.ts +16 -0
- package/dist/esm/ag-grid-plus/setting/ColumnConfigForm.js +380 -0
- package/dist/esm/ag-grid-plus/setting/ColumnConfigTable.d.ts +14 -0
- package/dist/esm/ag-grid-plus/setting/ColumnConfigTable.js +760 -0
- package/dist/esm/ag-grid-plus/setting/ColumnNameCellRenderer.d.ts +22 -0
- package/dist/esm/ag-grid-plus/setting/ColumnNameCellRenderer.js +217 -0
- package/dist/esm/ag-grid-plus/setting/ColumnSetting.d.ts +19 -0
- package/dist/esm/ag-grid-plus/setting/ColumnSetting.js +1339 -0
- package/dist/esm/ag-grid-plus/setting/DebounceInputs.d.ts +40 -0
- package/dist/esm/ag-grid-plus/setting/DebounceInputs.js +139 -0
- package/dist/esm/ag-grid-plus/setting/MoveNodeModal.d.ts +15 -0
- package/dist/esm/ag-grid-plus/setting/MoveNodeModal.js +156 -0
- package/dist/esm/ag-grid-plus/setting/NameColumnRenderer.d.ts +18 -0
- package/dist/esm/ag-grid-plus/setting/NameColumnRenderer.js +95 -0
- package/dist/esm/ag-grid-plus/setting/QuerySchemeManager.d.ts +11 -0
- package/dist/esm/ag-grid-plus/setting/QuerySchemeManager.js +857 -0
- package/dist/esm/ag-grid-plus/setting/columnGroupTypes.d.ts +67 -0
- package/dist/esm/ag-grid-plus/setting/columnGroupTypes.js +1 -0
- package/dist/esm/ag-grid-plus/setting/columnGroupUtils.d.ts +117 -0
- package/dist/esm/ag-grid-plus/setting/columnGroupUtils.js +628 -0
- package/dist/esm/ag-grid-plus/setting/index.d.ts +11 -0
- package/dist/esm/ag-grid-plus/setting/index.js +92 -0
- package/dist/esm/ag-grid-plus/setting/performanceMonitor.d.ts +9 -0
- package/dist/esm/ag-grid-plus/setting/performanceMonitor.js +42 -0
- package/dist/esm/ag-grid-plus/settingItem/index.d.ts +3 -0
- package/dist/esm/ag-grid-plus/settingItem/index.js +20 -0
- package/dist/esm/ag-grid-plus/shared/NoRowsOverlay.d.ts +22 -0
- package/dist/esm/ag-grid-plus/shared/NoRowsOverlay.js +38 -0
- package/dist/esm/ag-grid-plus/shared/permissions/globalConfigPermissions.d.ts +22 -0
- package/dist/esm/ag-grid-plus/shared/permissions/globalConfigPermissions.js +1 -0
- package/dist/esm/ag-grid-plus/shared/storage/backendApiAdapter.d.ts +75 -0
- package/dist/esm/ag-grid-plus/shared/storage/backendApiAdapter.js +544 -0
- package/dist/esm/ag-grid-plus/shared/storage/localStorageAdapter.d.ts +75 -0
- package/dist/esm/ag-grid-plus/shared/storage/localStorageAdapter.js +492 -0
- package/dist/esm/ag-grid-plus/shared/storage/schemeStorageAdapter.d.ts +209 -0
- package/dist/esm/ag-grid-plus/shared/storage/schemeStorageAdapter.js +1 -0
- package/dist/esm/ag-grid-plus/shared/utils/schemeDataMigration.d.ts +27 -0
- package/dist/esm/ag-grid-plus/shared/utils/schemeDataMigration.js +54 -0
- package/dist/esm/ag-grid-plus/theme.d.ts +10 -0
- package/dist/esm/ag-grid-plus/theme.js +130 -0
- package/dist/esm/ag-grid-plus/toolBar/index.d.ts +20 -0
- package/dist/esm/ag-grid-plus/toolBar/index.js +169 -0
- package/dist/esm/ag-grid-plus/toolBar/leftContent.d.ts +5 -0
- package/dist/esm/ag-grid-plus/toolBar/leftContent.js +17 -0
- package/dist/esm/ag-grid-plus/toolBar/style.d.ts +9 -0
- package/dist/esm/ag-grid-plus/toolBar/style.js +157 -0
- package/dist/esm/ag-grid-plus/types.d.ts +368 -0
- package/dist/esm/ag-grid-plus/types.js +1 -0
- package/dist/esm/ag-grid-plus/utils/agGridCompat.d.ts +66 -0
- package/dist/esm/ag-grid-plus/utils/agGridCompat.js +322 -0
- package/dist/esm/ag-grid-plus/utils/aggregation.d.ts +27 -0
- package/dist/esm/ag-grid-plus/utils/aggregation.js +120 -0
- package/dist/esm/ag-grid-plus/utils/columnProcessors.d.ts +137 -0
- package/dist/esm/ag-grid-plus/utils/columnProcessors.js +323 -0
- package/dist/esm/ag-grid-plus/utils/constants.d.ts +47 -0
- package/dist/esm/ag-grid-plus/utils/constants.js +56 -0
- package/dist/esm/ag-grid-plus/utils/emptyState.d.ts +54 -0
- package/dist/esm/ag-grid-plus/utils/emptyState.js +88 -0
- package/dist/esm/ag-grid-plus/utils/entityExtensionColumns.d.ts +32 -0
- package/dist/esm/ag-grid-plus/utils/entityExtensionColumns.js +148 -0
- package/dist/esm/ag-grid-plus/utils/logger.d.ts +34 -0
- package/dist/esm/ag-grid-plus/utils/logger.js +113 -0
- package/dist/esm/ag-grid-plus/utils/queryFormDerivation.d.ts +20 -0
- package/dist/esm/ag-grid-plus/utils/queryFormDerivation.js +48 -0
- package/dist/esm/ag-grid-plus/utils/requestParams.d.ts +15 -0
- package/dist/esm/ag-grid-plus/utils/requestParams.js +24 -0
- package/dist/esm/ag-grid-plus/utils/rowSelection.d.ts +9 -0
- package/dist/esm/ag-grid-plus/utils/rowSelection.js +18 -0
- package/dist/esm/ag-grid-plus/utils/sanitize.d.ts +15 -0
- package/dist/esm/ag-grid-plus/utils/sanitize.js +32 -0
- package/dist/esm/ag-grid-plus/utils/valueEnumColor.d.ts +17 -0
- package/dist/esm/ag-grid-plus/utils/valueEnumColor.js +95 -0
- package/dist/esm/ag-grid-plus/utils.d.ts +15 -0
- package/dist/esm/ag-grid-plus/utils.js +262 -0
- package/dist/esm/array-table/arrayAddBtn.d.ts +3 -0
- package/dist/esm/array-table/arrayAddBtn.js +74 -0
- package/dist/esm/array-table/arrayBase.d.ts +62 -0
- package/dist/esm/array-table/arrayBase.js +258 -0
- package/dist/esm/array-table/batchRemove.d.ts +36 -0
- package/dist/esm/array-table/batchRemove.js +301 -0
- package/dist/esm/array-table/cellFocusScope.d.ts +22 -0
- package/dist/esm/array-table/cellFocusScope.js +143 -0
- package/dist/esm/array-table/cellInteractionLock.d.ts +13 -0
- package/dist/esm/array-table/cellInteractionLock.js +21 -0
- package/dist/esm/array-table/columnAlign.d.ts +8 -0
- package/dist/esm/array-table/columnAlign.js +35 -0
- package/dist/esm/array-table/columnGroup.d.ts +39 -0
- package/dist/esm/array-table/columnGroup.js +100 -0
- package/dist/esm/array-table/columnHelper.d.ts +126 -0
- package/dist/esm/array-table/columnHelper.js +235 -0
- package/dist/esm/array-table/fixedGuard.d.ts +77 -0
- package/dist/esm/array-table/fixedGuard.js +202 -0
- package/dist/esm/array-table/hooks.d.ts +46 -0
- package/dist/esm/array-table/hooks.js +320 -0
- package/dist/esm/array-table/index.d.ts +14 -0
- package/dist/esm/array-table/index.js +651 -0
- package/dist/esm/array-table/indexColumn.d.ts +19 -0
- package/dist/esm/array-table/indexColumn.js +47 -0
- package/dist/esm/array-table/interface.d.ts +64 -0
- package/dist/esm/array-table/interface.js +1 -0
- package/dist/esm/array-table/preview.d.ts +3 -0
- package/dist/esm/array-table/preview.js +68 -0
- package/dist/esm/array-table/readOnlyFormatters.d.ts +60 -0
- package/dist/esm/array-table/readOnlyFormatters.js +277 -0
- package/dist/esm/array-table/requiredHeader.d.ts +5 -0
- package/dist/esm/array-table/requiredHeader.js +33 -0
- package/dist/esm/array-table/rowFeedback.d.ts +26 -0
- package/dist/esm/array-table/rowFeedback.js +109 -0
- package/dist/esm/array-table/rowIdentity.d.ts +17 -0
- package/dist/esm/array-table/rowIdentity.js +37 -0
- package/dist/esm/array-table/sorting.d.ts +3 -0
- package/dist/esm/array-table/sorting.js +40 -0
- package/dist/esm/array-table/theme.d.ts +10 -0
- package/dist/esm/array-table/theme.js +50 -0
- package/dist/esm/array-table/utils.d.ts +71 -0
- package/dist/esm/array-table/utils.js +1052 -0
- package/dist/esm/array-table-index/index.d.ts +3 -0
- package/dist/esm/array-table-index/index.js +21 -0
- package/dist/esm/card/index.d.ts +9 -0
- package/dist/esm/card/index.js +29 -0
- package/dist/esm/card/pro-card/Actions/index.d.ts +13 -0
- package/dist/esm/card/pro-card/Actions/index.js +43 -0
- package/dist/esm/card/pro-card/Actions/style.d.ts +5 -0
- package/dist/esm/card/pro-card/Actions/style.js +92 -0
- package/dist/esm/card/pro-card/Card/index.d.ts +4 -0
- package/dist/esm/card/pro-card/Card/index.js +269 -0
- package/dist/esm/card/pro-card/Card/style.d.ts +5 -0
- package/dist/esm/card/pro-card/Card/style.js +220 -0
- package/dist/esm/card/pro-card/Card/useLegacyItems.d.ts +33 -0
- package/dist/esm/card/pro-card/Card/useLegacyItems.js +54 -0
- package/dist/esm/card/pro-card/Divider/index.d.ts +23 -0
- package/dist/esm/card/pro-card/Divider/index.js +35 -0
- package/dist/esm/card/pro-card/Divider/style.d.ts +5 -0
- package/dist/esm/card/pro-card/Divider/style.js +49 -0
- package/dist/esm/card/pro-card/Loading/index.d.ts +11 -0
- package/dist/esm/card/pro-card/Loading/index.js +45 -0
- package/dist/esm/card/pro-card/Loading/style.d.ts +18 -0
- package/dist/esm/card/pro-card/Loading/style.js +60 -0
- package/dist/esm/card/pro-card/TabPane/index.d.ts +10 -0
- package/dist/esm/card/pro-card/TabPane/index.js +65 -0
- package/dist/esm/card/pro-card/index.d.ts +22 -0
- package/dist/esm/card/pro-card/index.js +33 -0
- package/dist/esm/card/pro-card/typing.d.ts +106 -0
- package/dist/esm/card/pro-card/typing.js +1 -0
- package/dist/esm/components/RegexEditor/README.md +593 -0
- package/dist/esm/components/RegexEditor/core/RegexEditor.d.ts +34 -0
- package/dist/esm/components/RegexEditor/core/RegexEditor.js +233 -0
- package/dist/esm/components/RegexEditor/core/RegexEditor.less +119 -0
- package/dist/esm/components/RegexEditor/core/extensions/errorMarker.d.ts +49 -0
- package/dist/esm/components/RegexEditor/core/extensions/errorMarker.js +154 -0
- package/dist/esm/components/RegexEditor/core/types.d.ts +79 -0
- package/dist/esm/components/RegexEditor/core/types.js +1 -0
- package/dist/esm/components/RegexEditor/hooks/index.d.ts +9 -0
- package/dist/esm/components/RegexEditor/hooks/index.js +8 -0
- package/dist/esm/components/RegexEditor/hooks/useRegexTester.d.ts +95 -0
- package/dist/esm/components/RegexEditor/hooks/useRegexTester.js +230 -0
- package/dist/esm/components/RegexEditor/hooks/useRegexValidation.d.ts +71 -0
- package/dist/esm/components/RegexEditor/hooks/useRegexValidation.js +211 -0
- package/dist/esm/components/RegexEditor/hooks/useTemplateManager.d.ts +64 -0
- package/dist/esm/components/RegexEditor/hooks/useTemplateManager.js +431 -0
- package/dist/esm/components/RegexEditor/index.d.ts +16 -0
- package/dist/esm/components/RegexEditor/index.js +27 -0
- package/dist/esm/components/RegexEditor/templates/TemplateSelector.d.ts +36 -0
- package/dist/esm/components/RegexEditor/templates/TemplateSelector.js +346 -0
- package/dist/esm/components/RegexEditor/templates/builtinTemplates.d.ts +36 -0
- package/dist/esm/components/RegexEditor/templates/builtinTemplates.js +335 -0
- package/dist/esm/components/RegexEditor/templates/index.d.ts +10 -0
- package/dist/esm/components/RegexEditor/templates/index.js +19 -0
- package/dist/esm/components/RegexEditor/templates/storage.d.ts +74 -0
- package/dist/esm/components/RegexEditor/templates/storage.js +335 -0
- package/dist/esm/components/RegexEditor/templates/templateManager.d.ts +67 -0
- package/dist/esm/components/RegexEditor/templates/templateManager.js +274 -0
- package/dist/esm/components/RegexEditor/templates/types.d.ts +111 -0
- package/dist/esm/components/RegexEditor/templates/types.js +90 -0
- package/dist/esm/components/RegexEditor/testing/types.d.ts +55 -0
- package/dist/esm/components/RegexEditor/testing/types.js +1 -0
- package/dist/esm/components/RegexEditor/validation/complexity.d.ts +22 -0
- package/dist/esm/components/RegexEditor/validation/complexity.js +190 -0
- package/dist/esm/components/RegexEditor/validation/parser.d.ts +53 -0
- package/dist/esm/components/RegexEditor/validation/parser.js +123 -0
- package/dist/esm/components/RegexEditor/validation/types.d.ts +142 -0
- package/dist/esm/components/RegexEditor/validation/types.js +1 -0
- package/dist/esm/components/RegexEditor/validation/validator.d.ts +60 -0
- package/dist/esm/components/RegexEditor/validation/validator.js +213 -0
- package/dist/esm/components/RegexEditor/visualizer/FlagsSelector.d.ts +20 -0
- package/dist/esm/components/RegexEditor/visualizer/FlagsSelector.js +99 -0
- package/dist/esm/components/RegexEditor/visualizer/MatchItem.d.ts +25 -0
- package/dist/esm/components/RegexEditor/visualizer/MatchItem.js +219 -0
- package/dist/esm/components/RegexEditor/visualizer/RegexRailroadDiagram.d.ts +32 -0
- package/dist/esm/components/RegexEditor/visualizer/RegexRailroadDiagram.js +189 -0
- package/dist/esm/components/RegexEditor/visualizer/RegexTester.d.ts +22 -0
- package/dist/esm/components/RegexEditor/visualizer/RegexTester.js +278 -0
- package/dist/esm/components/RegexEditor/visualizer/astToRailroad.d.ts +16 -0
- package/dist/esm/components/RegexEditor/visualizer/astToRailroad.js +144 -0
- package/dist/esm/components/RegexEditor/visualizer/index.d.ts +12 -0
- package/dist/esm/components/RegexEditor/visualizer/index.js +17 -0
- package/dist/esm/components/RegexEditor/visualizer/types.d.ts +131 -0
- package/dist/esm/components/RegexEditor/visualizer/types.js +1 -0
- package/dist/esm/components/RegexEditor/visualizer/utils.d.ts +106 -0
- package/dist/esm/components/RegexEditor/visualizer/utils.js +256 -0
- package/dist/esm/dashboard/dashboard/components/index.d.ts +2 -0
- package/dist/esm/dashboard/dashboard/components/index.js +2 -0
- package/dist/esm/dashboard/dashboard/components/modal/index.d.ts +3 -0
- package/dist/esm/dashboard/dashboard/components/modal/index.js +22 -0
- package/dist/esm/dashboard/dashboard/components/toolbar/index.d.ts +11 -0
- package/dist/esm/dashboard/dashboard/components/toolbar/index.js +27 -0
- package/dist/esm/dashboard/dashboard/components/toolbar/style/index.d.ts +1 -0
- package/dist/esm/dashboard/dashboard/components/toolbar/style/index.js +1 -0
- package/dist/esm/dashboard/dashboard/components/toolbar/style/index.less +49 -0
- package/dist/esm/dashboard/dashboard/index.d.ts +64 -0
- package/dist/esm/dashboard/dashboard/index.js +560 -0
- package/dist/esm/dashboard/dashboard/index.less +173 -0
- package/dist/esm/dashboard/dashboard/service.d.ts +8 -0
- package/dist/esm/dashboard/dashboard/service.js +86 -0
- package/dist/esm/dashboard/dashboard/utils.d.ts +9 -0
- package/dist/esm/dashboard/dashboard/utils.js +90 -0
- package/dist/esm/dashboard/index.d.ts +4 -0
- package/dist/esm/dashboard/index.js +5 -0
- package/dist/esm/dashboard/utils.d.ts +24 -0
- package/dist/esm/dashboard/utils.js +125 -0
- package/dist/esm/dashboard/widget/index.d.ts +13 -0
- package/dist/esm/dashboard/widget/index.js +50 -0
- package/dist/esm/dashboard/widget/index.less +7 -0
- package/dist/esm/dashboard/widget/selector/filterWidgets.d.ts +27 -0
- package/dist/esm/dashboard/widget/selector/filterWidgets.js +47 -0
- package/dist/esm/dashboard/widget/selector/index.d.ts +4 -0
- package/dist/esm/dashboard/widget/selector/index.js +238 -0
- package/dist/esm/dashboard/widget/selector/index.less +172 -0
- package/dist/esm/dashboard/widget/utils.d.ts +4 -0
- package/dist/esm/dashboard/widget/utils.js +102 -0
- package/dist/esm/dateCellEditor/DateCellEditor.d.ts +48 -0
- package/dist/esm/dateCellEditor/DateCellEditor.js +111 -0
- package/dist/esm/deleteConfirm/index.d.ts +48 -0
- package/dist/esm/deleteConfirm/index.js +101 -0
- package/dist/esm/dialogSelect/index.d.ts +55 -0
- package/dist/esm/dialogSelect/index.js +340 -0
- package/dist/esm/dialogSelect/index.less +49 -0
- package/dist/esm/dialogSelect/selectedLabels.d.ts +34 -0
- package/dist/esm/dialogSelect/selectedLabels.js +246 -0
- package/dist/esm/documentPage/DisabledActionHint.d.ts +13 -0
- package/dist/esm/documentPage/DisabledActionHint.js +42 -0
- package/dist/esm/documentPage/DocumentHeader.d.ts +45 -0
- package/dist/esm/documentPage/DocumentHeader.js +227 -0
- package/dist/esm/documentPage/DocumentListToolbar.d.ts +37 -0
- package/dist/esm/documentPage/DocumentListToolbar.js +240 -0
- package/dist/esm/documentPage/DocumentRowActions.d.ts +52 -0
- package/dist/esm/documentPage/DocumentRowActions.js +203 -0
- package/dist/esm/documentPage/documentAudit.d.ts +12 -0
- package/dist/esm/documentPage/documentAudit.js +36 -0
- package/dist/esm/documentPage/documentPage.d.ts +76 -0
- package/dist/esm/documentPage/documentPage.js +255 -0
- package/dist/esm/documentPage/headerItemRowId.d.ts +11 -0
- package/dist/esm/documentPage/headerItemRowId.js +28 -0
- package/dist/esm/documentPage/index.d.ts +22 -0
- package/dist/esm/documentPage/index.js +15 -0
- package/dist/esm/documentPage/index.less +114 -0
- package/dist/esm/documentPage/useHeaderItemToggleGrid.d.ts +103 -0
- package/dist/esm/documentPage/useHeaderItemToggleGrid.js +216 -0
- package/dist/esm/documentPage/useSelectNumberInputOnFocus.d.ts +7 -0
- package/dist/esm/documentPage/useSelectNumberInputOnFocus.js +45 -0
- package/dist/esm/draggableModal/index.d.ts +7 -0
- package/dist/esm/draggableModal/index.js +254 -0
- package/dist/esm/draggableModal/style.less +130 -0
- package/dist/esm/editable/index.d.ts +8 -0
- package/dist/esm/editable/index.js +320 -0
- package/dist/esm/editable/style.d.ts +2 -0
- package/dist/esm/editable/style.js +46 -0
- package/dist/esm/extensible-grid/index.d.ts +4 -0
- package/dist/esm/extensible-grid/index.js +32 -0
- package/dist/esm/extensible-grid/interface.d.ts +14 -0
- package/dist/esm/extensible-grid/interface.js +1 -0
- package/dist/esm/formPro/context/formProContext.d.ts +13 -0
- package/dist/esm/formPro/context/formProContext.js +5 -0
- package/dist/esm/formPro/formLayoutPro.d.ts +9 -0
- package/dist/esm/formPro/formLayoutPro.js +51 -0
- package/dist/esm/formPro/index.d.ts +2 -0
- package/dist/esm/formPro/index.js +2 -0
- package/dist/esm/formily/index.d.ts +6 -0
- package/dist/esm/formily/index.js +11 -0
- package/dist/esm/fullScreenAlert/index.d.ts +41 -0
- package/dist/esm/fullScreenAlert/index.js +95 -0
- package/dist/esm/fullScreenAlert/index.less +164 -0
- package/dist/esm/index.d.ts +48 -0
- package/dist/esm/index.js +41 -0
- package/dist/esm/queryBuilder/index.d.ts +3 -0
- package/dist/esm/queryBuilder/index.js +55 -0
- package/dist/esm/readPretty/arrayTable.d.ts +6 -0
- package/dist/esm/readPretty/arrayTable.js +172 -0
- package/dist/esm/readPretty/controls.d.ts +16 -0
- package/dist/esm/readPretty/controls.js +111 -0
- package/dist/esm/readPretty/decimal.d.ts +7 -0
- package/dist/esm/readPretty/decimal.js +40 -0
- package/dist/esm/readPretty/formily.d.ts +3 -0
- package/dist/esm/readPretty/formily.js +77 -0
- package/dist/esm/readPretty/hoistStatics.d.ts +1 -0
- package/dist/esm/readPretty/hoistStatics.js +31 -0
- package/dist/esm/readPretty/index.d.ts +13 -0
- package/dist/esm/readPretty/index.js +14 -0
- package/dist/esm/readPretty/readableSwitch.d.ts +12 -0
- package/dist/esm/readPretty/readableSwitch.js +20 -0
- package/dist/esm/readPretty/schemaScope.d.ts +2 -0
- package/dist/esm/readPretty/schemaScope.js +42 -0
- package/dist/esm/readPretty/selectNumberInputTextOnClick.d.ts +3 -0
- package/dist/esm/readPretty/selectNumberInputTextOnClick.js +8 -0
- package/dist/esm/readPretty/selectValue.d.ts +18 -0
- package/dist/esm/readPretty/selectValue.js +76 -0
- package/dist/esm/readPretty/values.d.ts +4 -0
- package/dist/esm/readPretty/values.js +44 -0
- package/dist/esm/scanCollect/ScanInput.d.ts +21 -0
- package/dist/esm/scanCollect/ScanInput.js +81 -0
- package/dist/esm/scanCollect/focus.d.ts +23 -0
- package/dist/esm/scanCollect/focus.js +47 -0
- package/dist/esm/scanCollect/index.d.ts +13 -0
- package/dist/esm/scanCollect/index.js +10 -0
- package/dist/esm/scanCollect/requestGate.d.ts +18 -0
- package/dist/esm/scanCollect/requestGate.js +24 -0
- package/dist/esm/scanCollect/usePromiseQueue.d.ts +34 -0
- package/dist/esm/scanCollect/usePromiseQueue.js +151 -0
- package/dist/esm/shared/businessDecimal.d.ts +11 -0
- package/dist/esm/shared/businessDecimal.js +47 -0
- package/dist/esm/shared/contrast.d.ts +40 -0
- package/dist/esm/shared/contrast.js +141 -0
- package/dist/esm/shared/download.d.ts +6 -0
- package/dist/esm/shared/download.js +17 -0
- package/dist/esm/shared/gridSequence.d.ts +9 -0
- package/dist/esm/shared/gridSequence.js +104 -0
- package/dist/esm/shared/labelIconTip/index.d.ts +11 -0
- package/dist/esm/shared/labelIconTip/index.js +67 -0
- package/dist/esm/shared/labelIconTip/style.d.ts +5 -0
- package/dist/esm/shared/labelIconTip/style.js +52 -0
- package/dist/esm/shared/optionValue.d.ts +9 -0
- package/dist/esm/shared/optionValue.js +22 -0
- package/dist/esm/shared/proStyle.d.ts +32 -0
- package/dist/esm/shared/proStyle.js +62 -0
- package/dist/esm/shared/selectValueType.d.ts +10 -0
- package/dist/esm/shared/selectValueType.js +1 -0
- package/dist/esm/toolBar/index.d.ts +5 -0
- package/dist/esm/toolBar/index.js +113 -0
- package/dist/esm/toolBar/index.less +43 -0
- package/dist/esm/type.d.ts +1 -0
- package/dist/esm/types/railroad-diagram-types.d.ts +38 -0
- package/dist/esm/types/railroad-diagram-types.js +1 -0
- package/dist/esm/types/railroad-diagrams.d.ts +26 -0
- package/dist/esm/types/regexp-tree-ast.d.ts +112 -0
- package/dist/esm/types/regexp-tree-ast.js +1 -0
- package/dist/esm/types/regexp-tree.d.ts +13 -0
- package/package.json +95 -4
- package/README.md +0 -3
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = useStyle;
|
|
7
|
+
var _proStyle = require("../../../shared/proStyle");
|
|
8
|
+
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); }
|
|
9
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
14
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
15
|
+
* packages/card/src/components/Card/style.ts
|
|
16
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
17
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
18
|
+
* See docs/maintenance/pro-card-port.md.
|
|
19
|
+
*/
|
|
20
|
+
var genActiveStyle = function genActiveStyle(token) {
|
|
21
|
+
return {
|
|
22
|
+
backgroundColor: token.controlItemBgActive,
|
|
23
|
+
borderColor: token.controlOutline
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
var genProCardStyle = function genProCardStyle(token) {
|
|
27
|
+
var componentCls = token.componentCls;
|
|
28
|
+
return _defineProperty(_defineProperty(_defineProperty({}, componentCls, _objectSpread(_objectSpread({
|
|
29
|
+
position: 'relative',
|
|
30
|
+
display: 'flex',
|
|
31
|
+
flexDirection: 'column',
|
|
32
|
+
width: '100%',
|
|
33
|
+
marginBlock: 0,
|
|
34
|
+
marginInline: 0,
|
|
35
|
+
paddingBlock: 0,
|
|
36
|
+
paddingInline: 0,
|
|
37
|
+
backgroundColor: token.colorBgContainer,
|
|
38
|
+
borderRadius: token.borderRadius,
|
|
39
|
+
transition: 'all 0.3s'
|
|
40
|
+
}, (0, _proStyle.resetComponent)(token)), {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
41
|
+
'&-box-shadow': {
|
|
42
|
+
boxShadow: '0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017',
|
|
43
|
+
borderColor: 'transparent'
|
|
44
|
+
},
|
|
45
|
+
'&-col': {
|
|
46
|
+
width: '100%'
|
|
47
|
+
},
|
|
48
|
+
'&-border': {
|
|
49
|
+
border: "".concat(token.lineWidth, "px ").concat(token.lineType, " ").concat(token.colorSplit)
|
|
50
|
+
},
|
|
51
|
+
'&-hoverable': _defineProperty({
|
|
52
|
+
cursor: 'pointer',
|
|
53
|
+
transition: 'box-shadow 0.3s, border-color 0.3s',
|
|
54
|
+
'&:hover': {
|
|
55
|
+
borderColor: 'transparent',
|
|
56
|
+
boxShadow: '0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017'
|
|
57
|
+
}
|
|
58
|
+
}, "&".concat(componentCls, "-checked:hover"), {
|
|
59
|
+
borderColor: token.controlOutline
|
|
60
|
+
}),
|
|
61
|
+
'&-checked': _objectSpread(_objectSpread({}, genActiveStyle(token)), {}, {
|
|
62
|
+
'&::after': {
|
|
63
|
+
visibility: 'visible',
|
|
64
|
+
position: 'absolute',
|
|
65
|
+
insetBlockStart: 2,
|
|
66
|
+
insetInlineEnd: 2,
|
|
67
|
+
opacity: 1,
|
|
68
|
+
width: 0,
|
|
69
|
+
height: 0,
|
|
70
|
+
border: "6px solid ".concat(token.colorPrimary),
|
|
71
|
+
borderBlockEnd: '6px solid transparent',
|
|
72
|
+
borderInlineStart: '6px solid transparent',
|
|
73
|
+
borderStartEndRadius: 2,
|
|
74
|
+
content: '""'
|
|
75
|
+
}
|
|
76
|
+
}),
|
|
77
|
+
'&:focus': _objectSpread({}, genActiveStyle(token)),
|
|
78
|
+
'&&-ghost': _defineProperty({
|
|
79
|
+
backgroundColor: 'transparent'
|
|
80
|
+
}, "> ".concat(componentCls), {
|
|
81
|
+
'&-header': {
|
|
82
|
+
paddingInlineEnd: 0,
|
|
83
|
+
paddingBlockEnd: token.padding,
|
|
84
|
+
paddingInlineStart: 0
|
|
85
|
+
},
|
|
86
|
+
'&-body': {
|
|
87
|
+
paddingBlock: 0,
|
|
88
|
+
paddingInline: 0,
|
|
89
|
+
backgroundColor: 'transparent'
|
|
90
|
+
}
|
|
91
|
+
}),
|
|
92
|
+
'&&-split > &-body': {
|
|
93
|
+
paddingBlock: 0,
|
|
94
|
+
paddingInline: 0
|
|
95
|
+
},
|
|
96
|
+
'&&-contain-card > &-body': {
|
|
97
|
+
display: 'flex'
|
|
98
|
+
}
|
|
99
|
+
}, "".concat(componentCls, "-body-direction-column"), {
|
|
100
|
+
flexDirection: 'column'
|
|
101
|
+
}), "".concat(componentCls, "-body-wrap"), {
|
|
102
|
+
flexWrap: 'wrap'
|
|
103
|
+
}), '&&-collapse', _defineProperty({}, "> ".concat(componentCls), {
|
|
104
|
+
'&-header': {
|
|
105
|
+
paddingBlockEnd: token.padding,
|
|
106
|
+
borderBlockEnd: 0
|
|
107
|
+
},
|
|
108
|
+
'&-body': {
|
|
109
|
+
display: 'none'
|
|
110
|
+
}
|
|
111
|
+
})), "".concat(componentCls, "-header"), {
|
|
112
|
+
display: 'flex',
|
|
113
|
+
alignItems: 'center',
|
|
114
|
+
justifyContent: 'space-between',
|
|
115
|
+
paddingInline: token.paddingLG,
|
|
116
|
+
paddingBlock: token.padding,
|
|
117
|
+
paddingBlockEnd: 0,
|
|
118
|
+
'&-border': {
|
|
119
|
+
'&': {
|
|
120
|
+
paddingBlockEnd: token.padding
|
|
121
|
+
},
|
|
122
|
+
borderBlockEnd: "".concat(token.lineWidth, "px ").concat(token.lineType, " ").concat(token.colorSplit)
|
|
123
|
+
},
|
|
124
|
+
'&-collapsible': {
|
|
125
|
+
cursor: 'pointer'
|
|
126
|
+
}
|
|
127
|
+
}), "".concat(componentCls, "-title"), {
|
|
128
|
+
color: token.colorText,
|
|
129
|
+
fontWeight: 500,
|
|
130
|
+
fontSize: token.fontSizeLG,
|
|
131
|
+
lineHeight: token.lineHeight
|
|
132
|
+
}), "".concat(componentCls, "-extra"), {
|
|
133
|
+
color: token.colorText
|
|
134
|
+
}), "".concat(componentCls, "-type-inner"), _defineProperty({}, "".concat(componentCls, "-header"), {
|
|
135
|
+
backgroundColor: token.colorFillAlter
|
|
136
|
+
})), "".concat(componentCls, "-collapsible-icon"), {
|
|
137
|
+
marginInlineEnd: token.marginXS,
|
|
138
|
+
color: token.colorIconHover,
|
|
139
|
+
':hover': {
|
|
140
|
+
color: token.colorPrimaryHover
|
|
141
|
+
},
|
|
142
|
+
'& svg': {
|
|
143
|
+
transition: "transform ".concat(token.motionDurationMid)
|
|
144
|
+
}
|
|
145
|
+
}), "".concat(componentCls, "-body"), {
|
|
146
|
+
display: 'block',
|
|
147
|
+
boxSizing: 'border-box',
|
|
148
|
+
height: '100%',
|
|
149
|
+
paddingInline: token.paddingLG,
|
|
150
|
+
paddingBlock: token.padding,
|
|
151
|
+
'&-center': {
|
|
152
|
+
display: 'flex',
|
|
153
|
+
alignItems: 'center',
|
|
154
|
+
justifyContent: 'center'
|
|
155
|
+
}
|
|
156
|
+
}), '&&-size-small', _defineProperty(_defineProperty({}, componentCls, {
|
|
157
|
+
'&-header': {
|
|
158
|
+
paddingInline: token.paddingSM,
|
|
159
|
+
paddingBlock: token.paddingXS,
|
|
160
|
+
paddingBlockEnd: 0,
|
|
161
|
+
'&-border': {
|
|
162
|
+
paddingBlockEnd: token.paddingXS
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
'&-title': {
|
|
166
|
+
fontSize: token.fontSize
|
|
167
|
+
},
|
|
168
|
+
'&-body': {
|
|
169
|
+
paddingInline: token.paddingSM,
|
|
170
|
+
paddingBlock: token.paddingSM
|
|
171
|
+
}
|
|
172
|
+
}), "".concat(componentCls, "-header").concat(componentCls, "-header-collapsible"), {
|
|
173
|
+
paddingBlock: token.paddingXS
|
|
174
|
+
})))), "".concat(componentCls, "-col"), _defineProperty(_defineProperty({}, "&".concat(componentCls, "-split-vertical"), {
|
|
175
|
+
borderInlineEnd: "".concat(token.lineWidth, "px ").concat(token.lineType, " ").concat(token.colorSplit)
|
|
176
|
+
}), "&".concat(componentCls, "-split-horizontal"), {
|
|
177
|
+
borderBlockEnd: "".concat(token.lineWidth, "px ").concat(token.lineType, " ").concat(token.colorSplit)
|
|
178
|
+
})), "".concat(componentCls, "-tabs"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(token.antCls, "-tabs-top > ").concat(token.antCls, "-tabs-nav"), _defineProperty({
|
|
179
|
+
marginBlockEnd: 0
|
|
180
|
+
}, "".concat(token.antCls, "-tabs-nav-list"), {
|
|
181
|
+
marginBlockStart: token.marginXS,
|
|
182
|
+
paddingInlineStart: token.padding
|
|
183
|
+
})), "".concat(token.antCls, "-tabs-bottom > ").concat(token.antCls, "-tabs-nav"), _defineProperty({
|
|
184
|
+
marginBlockEnd: 0
|
|
185
|
+
}, "".concat(token.antCls, "-tabs-nav-list"), {
|
|
186
|
+
paddingInlineStart: token.padding
|
|
187
|
+
})), "".concat(token.antCls, "-tabs-left"), _defineProperty({}, "".concat(token.antCls, "-tabs-content-holder"), _defineProperty({}, "".concat(token.antCls, "-tabs-content"), _defineProperty({}, "".concat(token.antCls, "-tabs-tabpane"), {
|
|
188
|
+
paddingInlineStart: 0
|
|
189
|
+
})))), "".concat(token.antCls, "-tabs-left > ").concat(token.antCls, "-tabs-nav"), _defineProperty({
|
|
190
|
+
marginInlineEnd: 0
|
|
191
|
+
}, "".concat(token.antCls, "-tabs-nav-list"), {
|
|
192
|
+
paddingBlockStart: token.padding
|
|
193
|
+
})), "".concat(token.antCls, "-tabs-right"), _defineProperty({}, "".concat(token.antCls, "-tabs-content-holder"), _defineProperty({}, "".concat(token.antCls, "-tabs-content"), _defineProperty({}, "".concat(token.antCls, "-tabs-tabpane"), {
|
|
194
|
+
paddingInlineStart: 0
|
|
195
|
+
})))), "".concat(token.antCls, "-tabs-right > ").concat(token.antCls, "-tabs-nav"), _defineProperty({}, "".concat(token.antCls, "-tabs-nav-list"), {
|
|
196
|
+
paddingBlockStart: token.padding
|
|
197
|
+
})));
|
|
198
|
+
};
|
|
199
|
+
var GRID_COLUMNS = 24;
|
|
200
|
+
var genColStyle = function genColStyle(index, token) {
|
|
201
|
+
var componentCls = token.componentCls;
|
|
202
|
+
if (index === 0) {
|
|
203
|
+
return _defineProperty({}, "".concat(componentCls, "-col-0"), {
|
|
204
|
+
display: 'none'
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
return _defineProperty({}, "".concat(componentCls, "-col-").concat(index), {
|
|
208
|
+
flexShrink: 0,
|
|
209
|
+
width: "".concat(index / GRID_COLUMNS * 100, "%")
|
|
210
|
+
});
|
|
211
|
+
};
|
|
212
|
+
var genGridStyle = function genGridStyle(token) {
|
|
213
|
+
return Array(GRID_COLUMNS + 1).fill(1).map(function (_, index) {
|
|
214
|
+
return genColStyle(index, token);
|
|
215
|
+
});
|
|
216
|
+
};
|
|
217
|
+
function useStyle(prefixCls) {
|
|
218
|
+
return (0, _proStyle.useStyle)('ProCard', function (token) {
|
|
219
|
+
var proCardToken = _objectSpread(_objectSpread({}, token), {}, {
|
|
220
|
+
componentCls: ".".concat(prefixCls)
|
|
221
|
+
});
|
|
222
|
+
return [genProCardStyle(proCardToken), genGridStyle(proCardToken)];
|
|
223
|
+
});
|
|
224
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
3
|
+
* packages/card/src/components/TabPane/index.tsx (useLegacyItems)
|
|
4
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
5
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
6
|
+
* See docs/maintenance/pro-card-port.md.
|
|
7
|
+
*/
|
|
8
|
+
import type { TabsProps } from 'antd';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import type { ProCardTabsProps } from '../typing';
|
|
11
|
+
/** 把 tabs.items 或旧式 TabPane 子节点统一转成 antd Tabs 的 items,并把每页内容包进 Card。 */
|
|
12
|
+
export declare function useLegacyItems(items?: TabsProps['items'], children?: React.ReactNode, tabs?: ProCardTabsProps): (Omit<import("@rc-component/tabs").TabPaneProps, "tab"> & {
|
|
13
|
+
key: string;
|
|
14
|
+
label: React.ReactNode;
|
|
15
|
+
} & import("antd/es/tabs").CompatibilityProps)[] | {
|
|
16
|
+
children: React.JSX.Element;
|
|
17
|
+
style?: React.CSSProperties | undefined;
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
disabled?: boolean | undefined;
|
|
21
|
+
prefixCls?: string | undefined;
|
|
22
|
+
icon?: React.ReactNode;
|
|
23
|
+
active?: boolean | undefined;
|
|
24
|
+
closable?: boolean | undefined;
|
|
25
|
+
closeIcon?: React.ReactNode;
|
|
26
|
+
destroyOnHidden?: boolean | undefined;
|
|
27
|
+
forceRender?: boolean | undefined;
|
|
28
|
+
tabKey?: string | undefined;
|
|
29
|
+
animated?: boolean | undefined;
|
|
30
|
+
key: string;
|
|
31
|
+
label: React.ReactNode;
|
|
32
|
+
destroyInactiveTabPane?: boolean | undefined;
|
|
33
|
+
}[];
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useLegacyItems = useLegacyItems;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
var _excluded = ["tab", "children"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
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); }
|
|
13
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
14
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
15
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
20
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
21
|
+
* packages/card/src/components/TabPane/index.tsx (useLegacyItems)
|
|
22
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
23
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
24
|
+
* See docs/maintenance/pro-card-port.md.
|
|
25
|
+
*/ /** 把 tabs.items 或旧式 TabPane 子节点统一转成 antd Tabs 的 items,并把每页内容包进 Card。 */
|
|
26
|
+
function useLegacyItems(items, children, tabs) {
|
|
27
|
+
if (items) {
|
|
28
|
+
return items.map(function (item) {
|
|
29
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
30
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, _objectSpread(_objectSpread({}, tabs === null || tabs === void 0 ? void 0 : tabs.cardProps), {}, {
|
|
31
|
+
children: item.children
|
|
32
|
+
}))
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
var result = [];
|
|
37
|
+
_react.default.Children.toArray(children).forEach(function (node) {
|
|
38
|
+
if ( /*#__PURE__*/_react.default.isValidElement(node)) {
|
|
39
|
+
var _ref = node,
|
|
40
|
+
key = _ref.key,
|
|
41
|
+
props = _ref.props;
|
|
42
|
+
var _ref2 = props || {},
|
|
43
|
+
tab = _ref2.tab,
|
|
44
|
+
tempChild = _ref2.children,
|
|
45
|
+
restProps = _objectWithoutProperties(_ref2, _excluded);
|
|
46
|
+
result.push(_objectSpread(_objectSpread({
|
|
47
|
+
key: String(key)
|
|
48
|
+
}, restProps), {}, {
|
|
49
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, _objectSpread(_objectSpread({}, tabs === null || tabs === void 0 ? void 0 : tabs.cardProps), {}, {
|
|
50
|
+
children: tempChild
|
|
51
|
+
})),
|
|
52
|
+
label: tab
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
return result;
|
|
57
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ProCardDividerProps = {
|
|
3
|
+
/**
|
|
4
|
+
* 样式
|
|
5
|
+
*
|
|
6
|
+
* @ignore
|
|
7
|
+
*/
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
/**
|
|
10
|
+
* ClassName
|
|
11
|
+
*
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 布局类型
|
|
17
|
+
*
|
|
18
|
+
* @default vertical
|
|
19
|
+
*/
|
|
20
|
+
type?: 'horizontal' | 'vertical';
|
|
21
|
+
};
|
|
22
|
+
declare const ProCardDivider: React.FC<ProCardDividerProps>;
|
|
23
|
+
export default ProCardDivider;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _antd = require("antd");
|
|
8
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _style = _interopRequireDefault(require("./style"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
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); }
|
|
16
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
20
|
+
* packages/card/src/components/Divider/index.tsx
|
|
21
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
22
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
23
|
+
* See docs/maintenance/pro-card-port.md.
|
|
24
|
+
*/
|
|
25
|
+
var ProCardDivider = function ProCardDivider(props) {
|
|
26
|
+
var _useContext = (0, _react.useContext)(_antd.ConfigProvider.ConfigContext),
|
|
27
|
+
getPrefixCls = _useContext.getPrefixCls;
|
|
28
|
+
var proCardPrefixCls = getPrefixCls('pro-card');
|
|
29
|
+
var prefixCls = "".concat(proCardPrefixCls, "-divider");
|
|
30
|
+
var _useStyle = (0, _style.default)(proCardPrefixCls),
|
|
31
|
+
wrapSSR = _useStyle.wrapSSR,
|
|
32
|
+
hashId = _useStyle.hashId;
|
|
33
|
+
var className = props.className,
|
|
34
|
+
_props$style = props.style,
|
|
35
|
+
style = _props$style === void 0 ? {} : _props$style,
|
|
36
|
+
type = props.type;
|
|
37
|
+
var classString = (0, _classnames.default)(prefixCls, className, hashId, _defineProperty({}, "".concat(prefixCls, "-").concat(type), type));
|
|
38
|
+
return wrapSSR( /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
39
|
+
className: classString,
|
|
40
|
+
style: style
|
|
41
|
+
}));
|
|
42
|
+
};
|
|
43
|
+
var _default = exports.default = ProCardDivider;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = useStyle;
|
|
7
|
+
var _proStyle = require("../../../shared/proStyle");
|
|
8
|
+
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); }
|
|
9
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
14
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
15
|
+
* packages/card/src/components/Divider/style.ts
|
|
16
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
17
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
18
|
+
* See docs/maintenance/pro-card-port.md.
|
|
19
|
+
*/
|
|
20
|
+
var genDividerStyle = function genDividerStyle(token) {
|
|
21
|
+
var componentCls = token.componentCls;
|
|
22
|
+
return _defineProperty({}, componentCls, {
|
|
23
|
+
'&-divider': {
|
|
24
|
+
flex: 'none',
|
|
25
|
+
width: token.lineWidth,
|
|
26
|
+
marginInline: token.marginXS,
|
|
27
|
+
marginBlock: token.marginLG,
|
|
28
|
+
backgroundColor: token.colorSplit,
|
|
29
|
+
'&-horizontal': {
|
|
30
|
+
width: 'initial',
|
|
31
|
+
height: token.lineWidth,
|
|
32
|
+
marginInline: token.marginLG,
|
|
33
|
+
marginBlock: token.marginXS
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
'&&-size-small &-divider': {
|
|
37
|
+
marginBlock: token.marginLG,
|
|
38
|
+
marginInline: token.marginXS,
|
|
39
|
+
'&-horizontal': {
|
|
40
|
+
marginBlock: token.marginXS,
|
|
41
|
+
marginInline: token.marginLG
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
function useStyle(prefixCls) {
|
|
47
|
+
return (0, _proStyle.useStyle)('ProCardDivider', function (token) {
|
|
48
|
+
var proCardDividerToken = _objectSpread(_objectSpread({}, token), {}, {
|
|
49
|
+
componentCls: ".".concat(prefixCls)
|
|
50
|
+
});
|
|
51
|
+
return [genDividerStyle(proCardDividerToken)];
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _antd = require("antd");
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _style = require("./style");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
/**
|
|
13
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
14
|
+
* packages/card/src/components/Loading/index.tsx
|
|
15
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
16
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
17
|
+
* See docs/maintenance/pro-card-port.md.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
// 占位块行的栅格宽度,与上游 ProCard 一致。
|
|
21
|
+
var LOADING_ROWS = [[22], [8, 15], [6, 18], [13, 9], [4, 3, 16]];
|
|
22
|
+
var Loading = function Loading(props) {
|
|
23
|
+
var style = props.style,
|
|
24
|
+
prefix = props.prefix;
|
|
25
|
+
var _useStyle = (0, _style.useStyle)(prefix || 'ant-pro-card'),
|
|
26
|
+
wrapSSR = _useStyle.wrapSSR;
|
|
27
|
+
return wrapSSR( /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
28
|
+
className: "".concat(prefix, "-loading-content"),
|
|
29
|
+
style: style,
|
|
30
|
+
children: LOADING_ROWS.map(function (spans, rowIndex) {
|
|
31
|
+
return (
|
|
32
|
+
/*#__PURE__*/
|
|
33
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
34
|
+
(0, _jsxRuntime.jsx)(_antd.Row, {
|
|
35
|
+
gutter: 8,
|
|
36
|
+
children: spans.map(function (span, colIndex) {
|
|
37
|
+
return (
|
|
38
|
+
/*#__PURE__*/
|
|
39
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
40
|
+
(0, _jsxRuntime.jsx)(_antd.Col, {
|
|
41
|
+
span: span,
|
|
42
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
43
|
+
className: "".concat(prefix, "-loading-block")
|
|
44
|
+
})
|
|
45
|
+
}, colIndex)
|
|
46
|
+
);
|
|
47
|
+
})
|
|
48
|
+
}, rowIndex)
|
|
49
|
+
);
|
|
50
|
+
})
|
|
51
|
+
}));
|
|
52
|
+
};
|
|
53
|
+
var _default = exports.default = Loading;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
4
|
+
* packages/card/src/components/Loading/style.ts
|
|
5
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
6
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
7
|
+
* See docs/maintenance/pro-card-port.md.
|
|
8
|
+
*/
|
|
9
|
+
import { Keyframes } from '@ant-design/cssinjs';
|
|
10
|
+
import type { ProAliasToken } from '../../../shared/proStyle';
|
|
11
|
+
export interface ProToken extends ProAliasToken {
|
|
12
|
+
componentCls: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const cardLoading: Keyframes;
|
|
15
|
+
export declare function useStyle(prefixCls: string): {
|
|
16
|
+
wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
hashId: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.cardLoading = void 0;
|
|
7
|
+
exports.useStyle = useStyle;
|
|
8
|
+
var _cssinjs = require("@ant-design/cssinjs");
|
|
9
|
+
var _proStyle = require("../../../shared/proStyle");
|
|
10
|
+
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); }
|
|
11
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
16
|
+
* Derived from ant-design/pro-components (MIT; license text retained at licenses/texts/eec1c3c6d1b61104-LICENSE.txt)
|
|
17
|
+
* packages/card/src/components/Loading/style.ts
|
|
18
|
+
* commit 9766bc93e15b5bcdd2917cf0d9eccb779328d4e1 (the `@ant-design/pro-card@2.10.0` release).
|
|
19
|
+
* Local adaptations: antd 6 / cssinjs 2.x, no pro-utils/pro-provider dependencies.
|
|
20
|
+
* See docs/maintenance/pro-card-port.md.
|
|
21
|
+
*/
|
|
22
|
+
var cardLoading = exports.cardLoading = new _cssinjs.Keyframes('card-loading', {
|
|
23
|
+
'0%': {
|
|
24
|
+
backgroundPosition: '0 50%'
|
|
25
|
+
},
|
|
26
|
+
'50%': {
|
|
27
|
+
backgroundPosition: '100% 50%'
|
|
28
|
+
},
|
|
29
|
+
'100%': {
|
|
30
|
+
backgroundPosition: '0 50%'
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
var genProStyle = function genProStyle(token) {
|
|
34
|
+
return _defineProperty({}, token.componentCls, _defineProperty(_defineProperty({
|
|
35
|
+
'&-loading': {
|
|
36
|
+
overflow: 'hidden'
|
|
37
|
+
},
|
|
38
|
+
'&-loading &-body': {
|
|
39
|
+
userSelect: 'none'
|
|
40
|
+
}
|
|
41
|
+
}, "".concat(token.componentCls, "-loading-content"), {
|
|
42
|
+
width: '100%',
|
|
43
|
+
p: {
|
|
44
|
+
marginBlock: 0,
|
|
45
|
+
marginInline: 0
|
|
46
|
+
}
|
|
47
|
+
}), "".concat(token.componentCls, "-loading-block"), {
|
|
48
|
+
height: '14px',
|
|
49
|
+
marginBlock: '4px',
|
|
50
|
+
background: "linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",
|
|
51
|
+
backgroundSize: '600% 600%',
|
|
52
|
+
borderRadius: token.borderRadius,
|
|
53
|
+
animationName: cardLoading,
|
|
54
|
+
animationDuration: '1.4s',
|
|
55
|
+
animationTimingFunction: 'ease',
|
|
56
|
+
animationIterationCount: 'infinite'
|
|
57
|
+
}));
|
|
58
|
+
};
|
|
59
|
+
function useStyle(prefixCls) {
|
|
60
|
+
return (0, _proStyle.useStyle)('ProCardLoading', function (token) {
|
|
61
|
+
var proToken = _objectSpread(_objectSpread({}, token), {}, {
|
|
62
|
+
componentCls: ".".concat(prefixCls)
|
|
63
|
+
});
|
|
64
|
+
return [genProStyle(proToken)];
|
|
65
|
+
});
|
|
66
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ProCardTabPaneProps } from '../typing';
|
|
3
|
+
/**
|
|
4
|
+
* 旧式 `Card.TabPane` 标记组件。`tabs` 模式下 Card 读取其子元素的 props 转换为 items(见 Card/useLegacyItems),
|
|
5
|
+
* 并不渲染本组件;单独渲染时回退为 antd `Tabs.TabPane`。
|
|
6
|
+
*
|
|
7
|
+
* @deprecated 请使用 `tabs.items`。
|
|
8
|
+
*/
|
|
9
|
+
declare const TabPane: React.FC<ProCardTabPaneProps>;
|
|
10
|
+
export default TabPane;
|