@done-coding/forge 0.0.0-stage → 0.100.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/package.json CHANGED
@@ -1,6 +1,81 @@
1
1
  {
2
2
  "name": "@done-coding/forge",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.100.0",
4
+ "description": "Forge 组件库统一入口:聚合表单、数据、导航、反馈与布局编排组件",
5
+ "private": false,
6
+ "main": "es/index.mjs",
7
+ "module": "es/index.mjs",
8
+ "types": "types/index.d.ts",
9
+ "type": "module",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./types/index.d.ts",
13
+ "import": "./es/index.mjs",
14
+ "require": "./es/index.mjs"
15
+ },
16
+ "./style.css": "./es/style.css"
17
+ },
18
+ "files": [
19
+ "es",
20
+ "types"
21
+ ],
22
+ "scripts": {
23
+ "serve": "vite",
24
+ "dev": "vite build -w -m hotBuild",
25
+ "hotBuild": "vite build -w",
26
+ "build": "vue-tsc && vite build",
27
+ "build:test": "pnpm run build",
28
+ "test": "vitest",
29
+ "coverage": "vitest run --coverage",
30
+ "prebuild:test": "rimraf types",
31
+ "lint": "node ../../scripts/core-boundary-lint.mjs",
32
+ "prebuild": "rimraf types",
33
+ "typecheck": "vue-tsc --noEmit",
34
+ "prepublishOnly": "node ../../scripts/forge-release.mjs --check-stamp"
35
+ },
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://github.com/done-coding/done-coding-forge.git",
39
+ "directory": "packages/forge"
40
+ },
41
+ "publishConfig": {
42
+ "access": "public",
43
+ "registry": "https://registry.npmjs.org/"
44
+ },
45
+ "author": "JustSoSu",
46
+ "license": "MIT",
47
+ "sideEffects": [
48
+ "**/*.css",
49
+ "**/*.less"
50
+ ],
51
+ "devDependencies": {
52
+ "@types/lodash": "^4.17.24",
53
+ "@types/node": "^18.0.0",
54
+ "@vitejs/plugin-vue": "^5.0.4",
55
+ "@vitejs/plugin-vue-jsx": "^4.1.2",
56
+ "@vitest/coverage-istanbul": "^1.6.1",
57
+ "@vue/test-utils": "^2.4.10",
58
+ "element-plus": "^2.7.0",
59
+ "jsdom": "^29.1.0",
60
+ "less": "^4.2.0",
61
+ "rimraf": "^5.0.1",
62
+ "typescript": "^5.2.2",
63
+ "vite": "^5.2.0",
64
+ "vite-plugin-dts": "^4.5.4",
65
+ "vitest": "^1.6.1",
66
+ "vue": "^3.4.0",
67
+ "vue-tsc": "^2.2.12"
68
+ },
69
+ "dependencies": {
70
+ "@done-coding/forge-compose": "0.100.0",
71
+ "@done-coding/forge-core": "0.100.0",
72
+ "@done-coding/forge-data": "0.100.0",
73
+ "@done-coding/forge-feedback": "0.100.0",
74
+ "@done-coding/forge-form": "0.100.0",
75
+ "@done-coding/forge-nav": "0.100.0"
76
+ },
77
+ "engines": {
78
+ "node": ">=18.0.0"
79
+ },
80
+ "gitHead": "2eb50e25a430fe59d79c19c32ecdcfd6cb11608d"
81
+ }
@@ -0,0 +1,8 @@
1
+ export { ActionBtn, type ActionBtnConfigItem, type ActionBtnConfirmConfig, ActionBtnGroup, type ActionBtnGroupProps, type ActionBtnProps, type ActionBtnSize, ActionConfirm, type ActionConfirmMode, type ActionConfirmProps, type ActionConfirmTextResolver, type ActivatedInfo, APP_API_LIST_MODEL_KEY_CONFIG, APP_GLOBAL_IMAGE_PREVIEW_KEY, APP_GLOBAL_VIDEO_PREVIEW_KEY, APP_LAYOUT_APP_STORE_KEY, APP_LAYOUT_BRIDGE_KEY, APP_LAYOUT_USER_STORE_KEY, APP_PAGE_CONTENT_INSET, APP_PAGE_LIST_DETAIL_CONTEXT, APP_PAGE_NAV_BAR_ACTIVE, APP_PAGE_SIDE_SLOTS, type AppApiListModel, type AppApiListNoPageParamsKey, type AppApiListPageParamsKey, type AppApiListParamsModel, type AppApiListParamsNoPageParams, type AppBaseInfo, type AppCacheConfig, type AppConfig, type AppEnvInfo, type AppFormConfig, type AppLayoutAppStoreSlice, type AppLayoutAsideConfig, type AppLayoutBodyConfig, type AppLayoutBreadcrumbConfig, type AppLayoutBridgeSlice, type AppLayoutConfig, type AppLayoutFooterConfig, type AppLayoutGapConfig, type AppLayoutHeaderConfig, type AppLayoutModuleStyle, type AppLayoutSidebarConfig, type AppLayoutUserStoreSlice, type AppLayoutViewportConfig, type AppPageSlotName, type AppRouteMeta, type AppRouterConfig, type AppRouterMetaDefaultConfig, type AppRouterPathsConfig, AppTheme, type AppThemeColor, type AppThemeConfig, AutoRefresh, AutoRefreshGroup, type AutoRefreshGroupProps, type AutoRefreshProps, BADGE_HOST_ATTR, BADGE_KEY_ATTR, BADGE_MASK_KINDS, type BadgeBuiltinKind, type BadgeEntry, BadgeMark, type BadgeMarkMap, BODY_CONTENT_VIEWPORT_HEIGHT, BODY_CONTENT_VIEWPORT_INSET, BODY_CONTENT_VIEWPORT_RECT, BooleanTag, type BooleanTagProps, type BooleanTagType, type Breakpoint, type BridgeBadgeHook, type BridgeBadgeInit, type BridgeEmitInput, type BridgeEvent, type BridgeEventData, type BridgeEventFilter, type BridgeEventGroupMeta, type BridgeEventHook, type BridgeEventInit, type BridgeEventListener, BridgeEventName, type BridgeEventReportArgs, type BridgeLayoutHook, type BridgeLayoutInit, type BridgePermissionCheck, type BridgeThemeHook, type BridgeThemeLayoutBaseline, type BridgeThemeLayoutState, type BuildListModel, type BuildListParams, buildRhythmCss, checkLogin, checkPermission, checkPermissionRule, type ClearTimer, CORE_BRIDGE_KEY, type CoreBadgeModule, type CoreBridge, type CoreBridgeEventRegistry, type CoreBridgeInitOptions, type CoreBridgePlugin, type CoreBridgePluginBridgeSlice, type CoreBridgePluginContext, type CoreBridgePluginInstall, type CoreBridgePluginLike, type CoreBridgeRegisterOptions, type CoreConfigDescription, type CoreLayoutModule, type CoreThemeComponentDefaults, type CoreThemeDensity, type CoreThemeEntry, type CoreThemeLifecycleContext, type CoreThemeLifecycleHooks, type CoreThemeMode, type CoreThemeModule, type CoreThemeMotion, type CoreThemePresetLayout, countAll, createAppStore, type CreateAppStoreDeps, createCoreBridge, createGenerateRouteMetaRawTree, createGuard, type CreateGuardOptions, createListApi, createRoutePermissionStore, type CreateRoutePermissionStoreDeps, createStorageWithNamespace, createUserStore, type CreateUserStoreDeps, createUseState, type CustomBreakpointTarget, DC_SLOT_ATTR, type DcPath, type DeepPartial, domClosestScrollableAncestor, domClosestStickyScrollport, domScrollIntoViewport, type DomScrollIntoViewportOptions, type DotToObject, DragFloat, type ElSize, type EvokeHandle, EXPORT_MAX_LIMIT, type ExportColumn, type ExportColumnConfig, exportCSV, type ExportOptions, fetchListAll, type FetchListAllOptions, flatRouteMetaResolveRaw, FORM_CONFIG_SELECT_ALL_VALUE, FORM_NEST_REGISTRY_KEY, FORM_VALIDATE_ERROR_KEYS, GAP_SCALE_RUNG, gapScaleBase, type GapScaleRung, gapScaleValue, getConfirmPasswordRule, getId, getModalShelfInjectionKey, getRoutePermissionKey, type GetRoutePermissionParams, getRoutePermissionRequirement, GLOBAL_MODAL_REMOTE_KEY, type GlobalModalControl, type GlobalModalRemote, type GuardBridgeSlice, type GuardRoutePermissionStore, HeightProvider, type HeightProviderProps, ImagePreviewTrigger, KNOWN_BRIDGE_EVENTS, type LayoutCollapsePersistShape, type ListApiSource, type ListModelKeyConfig, ModalConfirm, type ModalDirection, ModalImagePreview, type ModalInjectedProps, type ModalLayerType, type ModalLevel, type ModalSameKeyStrategy, type ModalShelfMap, ModalVideoPreview, NEST_LAYOUT_SCALE_KEY, type NestFormExpose, type NestFormExposeMap, type NoInferType, OPERATE_COLUMN_PROP, type PagingInput, parseSlotRegion, passwordRule, type PermissionCheck, permissionCheckAll, permissionCheckAny, type PermissionCheckTarget, type PermissionDirective, type PermissionDirectiveValue, type PermissionKey, type PermissionKeyResult, type PermissionRequirement, type PermissionRule, pickExportColumns, type RegisterEntry, resolveAppPageSlotName, resolveBreakpointByWidth, resolvePermissionRule, resolveRootEl, ROUTE_MODULE_LEVEL, type RouteMetaDefaultConfig, type RouteMetaResolveRaw, type RoutePermission, routerOpenInNewTab, SCOPE_VIEWPORT_MAX_HEIGHT, type ScopeViewportMaxHeight, type SetTimer, ShadowClone, type ShadowCloneProps, type ShelfConfigEntry, type ShelfController, type ShelfInstance, type ShelfItem, SlotLayoutFlowAside, type SlotLayoutFlowAsideProps, SlotLayoutTemplate, SlotRegion, type StorageLike, type TableApiParams, type TableApiResult, TABS_MAIN_VISUAL_LEVEL, type TabsHeaderVariant, type TabsMainItem, type TabsMainPadding, type TabsMainProps, TabsMainReplaceQueryKey, type TabsMainTileNavMode, type TabsMainTileNavPosition, type ThemeColorScale, themeScaleDerive, themeScaleIsNearBlack, themeScaleMix, type ThemeScaleMode, themeScalePageColor, themeScaleParseHex, themeScaleSurfaceColor, themeScaleToRgba, timeCountDown, TriggerAutoImport, type UnionToIntersection, useActivated, useActivatedEvent, useActivatedExec, useBreakpoint, useBridgeReport, useChannelViewportHeight, type UseChannelViewportHeightMaybeProps, type UseChannelViewportHeightOptions, type UseChannelViewportHeightReturn, useCoreThemeApply, type UseCoreThemeApplyOptions, useCoreViewportApply, type UseCoreViewportApplyOptions, useCustomBreakpoint, useFeelSize, useMenusDataDispatch, useObserveSize, type UseObserveSizeOptions, usePermission, type UsePermissionReturn, type UserInfoAccess, type UserInfoFieldAccessor, type UserInfoPermissionAccessor, type UseStateOptions, useTimeout, VideoPreviewTrigger, WatchSize, withGroupRedirect, type WithGroupRedirectOptions, } from '@done-coding/forge-core';
2
+ export * from '@done-coding/forge-form';
3
+ export { DataGridView, type DataGridViewInstance, type DataGridViewPageInfo, type DataGridViewProps, type ElTableColumnProps, type ExportType, type ExtractElTableColumnProps, InfiniteListView, type InfiniteListViewConfig, type InfiniteListViewInstance, type InfiniteListViewProps, TABLE_COLUMN_KEY_OPERATE, TABLE_COLUMN_KEY_SELECTION, type TableColumnComponentProps, type TableColumnDefaultScope, type TableColumnHeaderScope, TableEmpty, type TableExportContext, type TableInstance, TableMain, type TableMainInstance, type TableMainProps, type TablePageInfo, TableSkeleton, type TableSkeletonProps, TableToolbar, type TableToolbarConfig, type TableToolbarPrivateProps, type TableToolbarProps, type ToolbarButtonConfig, type ToolbarButtonContext, } from '@done-coding/forge-data';
4
+ export * from '@done-coding/forge-nav';
5
+ export * from '@done-coding/forge-feedback';
6
+ export * from '@done-coding/forge-compose';
7
+ /** @deprecated 改用 ModalConfirm;保持同一 binding。 */
8
+ export { ModalConfirm as ConfirmModal } from '@done-coding/forge-core';