@tachui/core 0.7.1-alpha → 0.8.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/bundles/common.d.ts +1 -1
- package/dist/bundles/common.d.ts.map +1 -1
- package/dist/bundles/minimal.d.ts +2 -16
- package/dist/bundles/minimal.d.ts.map +1 -1
- package/dist/bundles/production-minimal.d.ts +2 -16
- package/dist/bundles/production-minimal.d.ts.map +1 -1
- package/dist/common.js +403 -827
- package/dist/compiler/advanced-parser.d.ts.map +1 -1
- package/dist/compiler/index.js +14 -8
- package/dist/component-XAzF1xqs.js +487 -0
- package/dist/component-base-x2XmHFjy.js +255 -0
- package/dist/components/index.d.ts +4 -38
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +7 -4167
- package/dist/components/wrapper.d.ts +5 -152
- package/dist/components/wrapper.d.ts.map +1 -1
- package/dist/concatenated-component-ByPl3_FF.js +2933 -0
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/layout.d.ts +47 -4
- package/dist/constants/layout.d.ts.map +1 -1
- package/dist/constants/layout.js +84 -0
- package/dist/css-classes/index.js +176 -0
- package/dist/{dom-bridge-Cx-s6Ihx.js → dom-bridge-CAa1N2zX.js} +28 -28
- package/dist/{effect-CytAc9em.js → effect-B9Knft0b.js} +3 -3
- package/dist/essential.js +395 -825
- package/dist/index-DCPJFUm9.js +1407 -0
- package/dist/index-DIvMCJQO.js +268 -0
- package/dist/index-vdsiw6gQ.js +777 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +395 -825
- package/dist/minimal-prod.js +101 -155
- package/dist/minimal.js +104 -170
- package/dist/modifiers/background.d.ts +41 -11
- package/dist/modifiers/background.d.ts.map +1 -1
- package/dist/modifiers/base.d.ts +6 -33
- package/dist/modifiers/base.d.ts.map +1 -1
- package/dist/modifiers/base.js +487 -0
- package/dist/modifiers/builder.d.ts +103 -195
- package/dist/modifiers/builder.d.ts.map +1 -1
- package/dist/modifiers/builder.js +9 -0
- package/dist/modifiers/core.d.ts +9 -401
- package/dist/modifiers/core.d.ts.map +1 -1
- package/dist/modifiers/{utils.d.ts → factories.d.ts} +18 -5
- package/dist/modifiers/factories.d.ts.map +1 -0
- package/dist/modifiers/index.d.ts +8 -52
- package/dist/modifiers/index.d.ts.map +1 -1
- package/dist/modifiers/index.js +38 -0
- package/dist/modifiers/presets.d.ts +368 -0
- package/dist/modifiers/presets.d.ts.map +1 -0
- package/dist/modifiers/registry.js +10 -0
- package/dist/modifiers/types.d.ts +39 -211
- package/dist/modifiers/types.d.ts.map +1 -1
- package/dist/modifiers/types.js +4 -0
- package/dist/performance-optimizer-stub-CtfXUwl4.js +38 -0
- package/dist/plugins/index.d.ts +5 -6
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +147 -297
- package/dist/plugins/simplified-index.d.ts +5 -6
- package/dist/plugins/simplified-index.d.ts.map +1 -1
- package/dist/production-minimal-BY_gMc-l.js +2532 -0
- package/dist/reactive/index.js +96 -95
- package/dist/reactive/types.js +4 -0
- package/dist/runtime/dom-bridge.js +5 -5
- package/dist/runtime/element-override.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +0 -7
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/renderer.d.ts.map +1 -1
- package/dist/runtime/renderer.js +7 -8
- package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
- package/dist/runtime/types.js +1 -0
- package/dist/{scheduler-7SvC3a21.js → scheduler-BKeqwrYE.js} +130 -130
- package/dist/validation/build-time-stub.d.ts +33 -0
- package/dist/validation/build-time-stub.d.ts.map +1 -0
- package/dist/validation/debug-tools-stub.d.ts +67 -0
- package/dist/validation/debug-tools-stub.d.ts.map +1 -0
- package/dist/validation/index.d.ts +23 -78
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/index.js +609 -6470
- package/dist/validation/lifecycle-validation.d.ts.map +1 -1
- package/dist/validation/performance-optimizer-stub.d.ts +50 -0
- package/dist/validation/performance-optimizer-stub.d.ts.map +1 -0
- package/dist/validation/plugin-registration.d.ts +5 -1
- package/dist/validation/plugin-registration.d.ts.map +1 -1
- package/dist/validation/production-bypass-core.d.ts +69 -0
- package/dist/validation/production-bypass-core.d.ts.map +1 -0
- package/package.json +41 -5
- package/dist/ScrollView-h-6wYMAm.js +0 -515
- package/dist/Spacer-BbteDQ9I.js +0 -5337
- package/dist/binding-CmdpowkI.js +0 -2276
- package/dist/components/BasicInput.d.ts +0 -116
- package/dist/components/BasicInput.d.ts.map +0 -1
- package/dist/components/Button.d.ts +0 -252
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Divider.d.ts +0 -141
- package/dist/components/Divider.d.ts.map +0 -1
- package/dist/components/EnhancedLink.d.ts +0 -365
- package/dist/components/EnhancedLink.d.ts.map +0 -1
- package/dist/components/Form.d.ts +0 -141
- package/dist/components/Form.d.ts.map +0 -1
- package/dist/components/Grid.d.ts +0 -698
- package/dist/components/Grid.d.ts.map +0 -1
- package/dist/components/GridResponsive.d.ts +0 -214
- package/dist/components/GridResponsive.d.ts.map +0 -1
- package/dist/components/Image.d.ts +0 -162
- package/dist/components/Image.d.ts.map +0 -1
- package/dist/components/List.d.ts +0 -287
- package/dist/components/List.d.ts.map +0 -1
- package/dist/components/Menu.d.ts +0 -159
- package/dist/components/Menu.d.ts.map +0 -1
- package/dist/components/Picker.d.ts +0 -153
- package/dist/components/Picker.d.ts.map +0 -1
- package/dist/components/ScrollView.d.ts +0 -222
- package/dist/components/ScrollView.d.ts.map +0 -1
- package/dist/components/Section.d.ts +0 -153
- package/dist/components/Section.d.ts.map +0 -1
- package/dist/components/Show.d.ts +0 -64
- package/dist/components/Show.d.ts.map +0 -1
- package/dist/components/Spacer.d.ts +0 -35
- package/dist/components/Spacer.d.ts.map +0 -1
- package/dist/components/Text.d.ts +0 -242
- package/dist/components/Text.d.ts.map +0 -1
- package/dist/components/Toggle.d.ts +0 -207
- package/dist/components/Toggle.d.ts.map +0 -1
- package/dist/concatenated-component-DPcl2TEO.js +0 -6779
- package/dist/context--zQFIImS.js +0 -283
- package/dist/debug/index.d.ts +0 -61
- package/dist/debug/index.d.ts.map +0 -1
- package/dist/debug.js +0 -178
- package/dist/developer-experience/enhanced-errors.d.ts +0 -128
- package/dist/developer-experience/enhanced-errors.d.ts.map +0 -1
- package/dist/developer-experience/enhanced-types.d.ts +0 -281
- package/dist/developer-experience/enhanced-types.d.ts.map +0 -1
- package/dist/developer-experience/index.d.ts +0 -44
- package/dist/developer-experience/index.d.ts.map +0 -1
- package/dist/index-Nfi2SBQh.js +0 -3268
- package/dist/modifiers/attributes.d.ts +0 -203
- package/dist/modifiers/attributes.d.ts.map +0 -1
- package/dist/modifiers/backdrop.d.ts +0 -59
- package/dist/modifiers/backdrop.d.ts.map +0 -1
- package/dist/modifiers/border.d.ts +0 -217
- package/dist/modifiers/border.d.ts.map +0 -1
- package/dist/modifiers/effects.d.ts +0 -159
- package/dist/modifiers/effects.d.ts.map +0 -1
- package/dist/modifiers/elements.d.ts +0 -240
- package/dist/modifiers/elements.d.ts.map +0 -1
- package/dist/modifiers/filters.d.ts +0 -275
- package/dist/modifiers/filters.d.ts.map +0 -1
- package/dist/modifiers/flexbox.d.ts +0 -82
- package/dist/modifiers/flexbox.d.ts.map +0 -1
- package/dist/modifiers/font.d.ts +0 -71
- package/dist/modifiers/font.d.ts.map +0 -1
- package/dist/modifiers/grid.d.ts +0 -92
- package/dist/modifiers/grid.d.ts.map +0 -1
- package/dist/modifiers/margin.d.ts +0 -128
- package/dist/modifiers/margin.d.ts.map +0 -1
- package/dist/modifiers/padding.d.ts +0 -204
- package/dist/modifiers/padding.d.ts.map +0 -1
- package/dist/modifiers/responsive/advanced-utilities.d.ts +0 -118
- package/dist/modifiers/responsive/advanced-utilities.d.ts.map +0 -1
- package/dist/modifiers/responsive/breakpoints.d.ts +0 -81
- package/dist/modifiers/responsive/breakpoints.d.ts.map +0 -1
- package/dist/modifiers/responsive/css-generator.d.ts +0 -100
- package/dist/modifiers/responsive/css-generator.d.ts.map +0 -1
- package/dist/modifiers/responsive/dev-tools.d.ts +0 -107
- package/dist/modifiers/responsive/dev-tools.d.ts.map +0 -1
- package/dist/modifiers/responsive/index.d.ts +0 -29
- package/dist/modifiers/responsive/index.d.ts.map +0 -1
- package/dist/modifiers/responsive/layout-patterns.d.ts +0 -230
- package/dist/modifiers/responsive/layout-patterns.d.ts.map +0 -1
- package/dist/modifiers/responsive/performance.d.ts +0 -130
- package/dist/modifiers/responsive/performance.d.ts.map +0 -1
- package/dist/modifiers/responsive/responsive-builder.d.ts +0 -133
- package/dist/modifiers/responsive/responsive-builder.d.ts.map +0 -1
- package/dist/modifiers/responsive/responsive-modifier.d.ts +0 -123
- package/dist/modifiers/responsive/responsive-modifier.d.ts.map +0 -1
- package/dist/modifiers/responsive/types.d.ts +0 -183
- package/dist/modifiers/responsive/types.d.ts.map +0 -1
- package/dist/modifiers/responsive/utilities.d.ts +0 -149
- package/dist/modifiers/responsive/utilities.d.ts.map +0 -1
- package/dist/modifiers/scroll.d.ts +0 -143
- package/dist/modifiers/scroll.d.ts.map +0 -1
- package/dist/modifiers/shadows.d.ts +0 -114
- package/dist/modifiers/shadows.d.ts.map +0 -1
- package/dist/modifiers/size.d.ts +0 -113
- package/dist/modifiers/size.d.ts.map +0 -1
- package/dist/modifiers/text.d.ts +0 -147
- package/dist/modifiers/text.d.ts.map +0 -1
- package/dist/modifiers/transformations.d.ts +0 -329
- package/dist/modifiers/transformations.d.ts.map +0 -1
- package/dist/modifiers/transitions.d.ts +0 -98
- package/dist/modifiers/transitions.d.ts.map +0 -1
- package/dist/modifiers/typography.d.ts +0 -192
- package/dist/modifiers/typography.d.ts.map +0 -1
- package/dist/modifiers/utility.d.ts +0 -69
- package/dist/modifiers/utility.d.ts.map +0 -1
- package/dist/modifiers/utils.d.ts.map +0 -1
- package/dist/plugins/simplified-error-handler.d.ts +0 -83
- package/dist/plugins/simplified-error-handler.d.ts.map +0 -1
- package/dist/runtime/dev-tools.d.ts +0 -240
- package/dist/runtime/dev-tools.d.ts.map +0 -1
- package/dist/runtime/development-warnings.d.ts +0 -42
- package/dist/runtime/development-warnings.d.ts.map +0 -1
- package/dist/runtime/error-boundary.d.ts +0 -302
- package/dist/runtime/error-boundary.d.ts.map +0 -1
- package/dist/runtime/error-recovery.d.ts +0 -267
- package/dist/runtime/error-recovery.d.ts.map +0 -1
- package/dist/runtime/error-reporting.d.ts +0 -287
- package/dist/runtime/error-reporting.d.ts.map +0 -1
- package/dist/runtime/error-utils.d.ts +0 -204
- package/dist/runtime/error-utils.d.ts.map +0 -1
- package/dist/runtime/performance.d.ts +0 -217
- package/dist/runtime/performance.d.ts.map +0 -1
- package/dist/sui-compat.d.ts +0 -110
- package/dist/sui-compat.d.ts.map +0 -1
- package/dist/validation/advanced-debugging.d.ts +0 -319
- package/dist/validation/advanced-debugging.d.ts.map +0 -1
- package/dist/validation/build-time/detection.d.ts +0 -32
- package/dist/validation/build-time/detection.d.ts.map +0 -1
- package/dist/validation/build-time/index.d.ts +0 -84
- package/dist/validation/build-time/index.d.ts.map +0 -1
- package/dist/validation/build-time/plugins.d.ts +0 -75
- package/dist/validation/build-time/plugins.d.ts.map +0 -1
- package/dist/validation/build-time/rules.d.ts +0 -73
- package/dist/validation/build-time/rules.d.ts.map +0 -1
- package/dist/validation/build-time/transformer.d.ts +0 -23
- package/dist/validation/build-time/transformer.d.ts.map +0 -1
- package/dist/validation/build-time/types.d.ts +0 -212
- package/dist/validation/build-time/types.d.ts.map +0 -1
- package/dist/validation/comprehensive.d.ts +0 -160
- package/dist/validation/comprehensive.d.ts.map +0 -1
- package/dist/validation/debug-tools.d.ts +0 -251
- package/dist/validation/debug-tools.d.ts.map +0 -1
- package/dist/validation/developer-experience.d.ts +0 -243
- package/dist/validation/developer-experience.d.ts.map +0 -1
- package/dist/validation/documentation-integration.d.ts +0 -269
- package/dist/validation/documentation-integration.d.ts.map +0 -1
- package/dist/validation/enhanced-runtime.d.ts +0 -279
- package/dist/validation/enhanced-runtime.d.ts.map +0 -1
- package/dist/validation/error-reporting.d.ts +0 -186
- package/dist/validation/error-reporting.d.ts.map +0 -1
- package/dist/validation/ide-integration.d.ts +0 -328
- package/dist/validation/ide-integration.d.ts.map +0 -1
- package/dist/validation/performance-optimizer.d.ts +0 -218
- package/dist/validation/performance-optimizer.d.ts.map +0 -1
- package/dist/validation/production-bypass.d.ts +0 -175
- package/dist/validation/production-bypass.d.ts.map +0 -1
- package/dist/validation/simple.d.ts +0 -111
- package/dist/validation/simple.d.ts.map +0 -1
- package/dist/viewport/adapters/web-adapter.d.ts +0 -227
- package/dist/viewport/adapters/web-adapter.d.ts.map +0 -1
- package/dist/viewport/components.d.ts +0 -131
- package/dist/viewport/components.d.ts.map +0 -1
- package/dist/viewport/environment.d.ts +0 -75
- package/dist/viewport/environment.d.ts.map +0 -1
- package/dist/viewport/index.d.ts +0 -138
- package/dist/viewport/index.d.ts.map +0 -1
- package/dist/viewport/index.js +0 -2085
- package/dist/viewport/platform-detection.d.ts +0 -59
- package/dist/viewport/platform-detection.d.ts.map +0 -1
- package/dist/viewport/types.d.ts +0 -301
- package/dist/viewport/types.d.ts.map +0 -1
- package/dist/viewport/viewport-manager.d.ts +0 -118
- package/dist/viewport/viewport-manager.d.ts.map +0 -1
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Build Tool Detection System
|
|
3
|
-
*
|
|
4
|
-
* Automatically detects the build environment and provides appropriate
|
|
5
|
-
* integration strategies for different build tools.
|
|
6
|
-
*/
|
|
7
|
-
import type { BuildToolInfo } from './types';
|
|
8
|
-
/**
|
|
9
|
-
* Detect the current build environment
|
|
10
|
-
*/
|
|
11
|
-
export declare function detectBuildEnvironment(projectRoot?: string): BuildToolInfo[];
|
|
12
|
-
/**
|
|
13
|
-
* Check if we're in a development environment
|
|
14
|
-
*/
|
|
15
|
-
export declare function isDevelopmentEnvironment(): boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Check if we're running in CI/CD environment
|
|
18
|
-
*/
|
|
19
|
-
export declare function isCIEnvironment(): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Get the primary build tool (highest priority detected tool)
|
|
22
|
-
*/
|
|
23
|
-
export declare function getPrimaryBuildTool(buildTools: BuildToolInfo[]): BuildToolInfo | null;
|
|
24
|
-
/**
|
|
25
|
-
* Check if TachUI validation should be enabled
|
|
26
|
-
*/
|
|
27
|
-
export declare function shouldEnableValidation(): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Get validation configuration from environment
|
|
30
|
-
*/
|
|
31
|
-
export declare function getEnvironmentConfig(): Partial<import('./types').ValidationOptions>;
|
|
32
|
-
//# sourceMappingURL=detection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"detection.d.ts","sourceRoot":"","sources":["../../../src/validation/build-time/detection.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAcH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,GAAE,MAA6D,GAAG,aAAa,EAAE,CAuClI;AAwND;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAElD;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,OAAO,CASzC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,aAAa,EAAE,GAAG,aAAa,GAAG,IAAI,CAiBrF;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAiBhD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAAC,OAAO,SAAS,EAAE,iBAAiB,CAAC,CAyBnF"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Build-Time Validation System
|
|
3
|
-
*
|
|
4
|
-
* Complete build-time validation system with auto-detection,
|
|
5
|
-
* TypeScript transformers, and zero-setup integration.
|
|
6
|
-
*/
|
|
7
|
-
export * from './types';
|
|
8
|
-
export * from './detection';
|
|
9
|
-
export * from './transformer';
|
|
10
|
-
export * from './rules';
|
|
11
|
-
export * from './plugins';
|
|
12
|
-
export { autoIntegrateValidation, initializeValidation, getValidationPlugin, PluginHelpers } from './plugins';
|
|
13
|
-
export { createTachUITransformer, createValidationRule, runValidationRules } from './transformer';
|
|
14
|
-
export { componentPatterns, modifierPatterns, builtInRules, globalRuleRegistry, ValidationRuleRegistry, RuleHelpers } from './rules';
|
|
15
|
-
export { detectBuildEnvironment, getPrimaryBuildTool, shouldEnableValidation, getEnvironmentConfig, isDevelopmentEnvironment, isCIEnvironment } from './detection';
|
|
16
|
-
/**
|
|
17
|
-
* Build-time validation configuration
|
|
18
|
-
*/
|
|
19
|
-
export interface BuildTimeValidationConfig {
|
|
20
|
-
enabled: boolean;
|
|
21
|
-
strictMode: boolean;
|
|
22
|
-
errorLevel: 'error' | 'warn' | 'info';
|
|
23
|
-
excludeFiles: string[];
|
|
24
|
-
includeFiles?: string[];
|
|
25
|
-
customRules: any[];
|
|
26
|
-
buildTool?: string;
|
|
27
|
-
autoDetect: boolean;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Default build-time validation configuration
|
|
31
|
-
*/
|
|
32
|
-
export declare const defaultBuildTimeConfig: BuildTimeValidationConfig;
|
|
33
|
-
/**
|
|
34
|
-
* Configure build-time validation
|
|
35
|
-
*/
|
|
36
|
-
export declare function configureBuildTimeValidation(config: Partial<BuildTimeValidationConfig>): void;
|
|
37
|
-
/**
|
|
38
|
-
* Development tools for build-time validation
|
|
39
|
-
*/
|
|
40
|
-
export declare const BuildTimeDevTools: {
|
|
41
|
-
/**
|
|
42
|
-
* Test build-time validation system
|
|
43
|
-
*/
|
|
44
|
-
test(): void;
|
|
45
|
-
/**
|
|
46
|
-
* List available build tool plugins
|
|
47
|
-
*/
|
|
48
|
-
listPlugins(): void;
|
|
49
|
-
/**
|
|
50
|
-
* Show validation statistics
|
|
51
|
-
*/
|
|
52
|
-
getStats(): {
|
|
53
|
-
buildTime: {
|
|
54
|
-
available: boolean;
|
|
55
|
-
error: string;
|
|
56
|
-
enabled?: undefined;
|
|
57
|
-
strictMode?: undefined;
|
|
58
|
-
errorLevel?: undefined;
|
|
59
|
-
buildTool?: undefined;
|
|
60
|
-
buildToolVersion?: undefined;
|
|
61
|
-
availableRules?: undefined;
|
|
62
|
-
customRules?: undefined;
|
|
63
|
-
};
|
|
64
|
-
environment?: undefined;
|
|
65
|
-
} | {
|
|
66
|
-
buildTime: {
|
|
67
|
-
enabled: boolean;
|
|
68
|
-
strictMode: boolean;
|
|
69
|
-
errorLevel: "error" | "info" | "warn";
|
|
70
|
-
buildTool: any;
|
|
71
|
-
buildToolVersion: any;
|
|
72
|
-
availableRules: any;
|
|
73
|
-
customRules: number;
|
|
74
|
-
available?: undefined;
|
|
75
|
-
error?: undefined;
|
|
76
|
-
};
|
|
77
|
-
environment: {
|
|
78
|
-
isDevelopment: any;
|
|
79
|
-
isCI: any;
|
|
80
|
-
shouldEnable: any;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/validation/build-time/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AAGzB,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACd,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,EACtB,WAAW,EACZ,MAAM,SAAS,CAAA;AAEhB,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACrC,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,WAAW,EAAE,GAAG,EAAE,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,yBAQpC,CAAA;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAW7F;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;IAC5B;;OAEG;YACK,IAAI;IA0CZ;;OAEG;mBACY,IAAI;IAqBnB;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BJ,CAAA"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Build Tool Plugin Integration
|
|
3
|
-
*
|
|
4
|
-
* Auto-detects build tools and provides zero-setup integration
|
|
5
|
-
* for TachUI validation across different build environments.
|
|
6
|
-
*/
|
|
7
|
-
import type { BuildIntegrationResult, ValidationOptions } from './types';
|
|
8
|
-
/**
|
|
9
|
-
* Auto-integrate validation with detected build tools
|
|
10
|
-
*/
|
|
11
|
-
export declare function autoIntegrateValidation(_projectRoot?: string, config?: Partial<ValidationOptions>): Promise<BuildIntegrationResult>;
|
|
12
|
-
/**
|
|
13
|
-
* Create Vite plugin
|
|
14
|
-
*/
|
|
15
|
-
export declare function createVitePlugin(config: ValidationOptions): {
|
|
16
|
-
name: string;
|
|
17
|
-
enforce: "pre";
|
|
18
|
-
configResolved(_resolvedConfig: any): void;
|
|
19
|
-
transform(code: string, id: string): {
|
|
20
|
-
code: string;
|
|
21
|
-
map?: any;
|
|
22
|
-
} | null;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Create Webpack plugin
|
|
26
|
-
*/
|
|
27
|
-
export declare function createWebpackPlugin(config: ValidationOptions): {
|
|
28
|
-
new (): {
|
|
29
|
-
apply(compiler: any): void;
|
|
30
|
-
validateModule(_module: any, _config: ValidationOptions): void;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Create Next.js plugin
|
|
35
|
-
*/
|
|
36
|
-
export declare function createNextJSPlugin(_config: ValidationOptions, webpackPlugin: any): (nextConfig?: any) => any;
|
|
37
|
-
/**
|
|
38
|
-
* Get validation plugin for current environment
|
|
39
|
-
*/
|
|
40
|
-
export declare function getValidationPlugin(): any;
|
|
41
|
-
/**
|
|
42
|
-
* Manual plugin registration helpers
|
|
43
|
-
*/
|
|
44
|
-
export declare const PluginHelpers: {
|
|
45
|
-
/**
|
|
46
|
-
* Get Vite plugin for manual registration
|
|
47
|
-
*/
|
|
48
|
-
vite(options?: Partial<ValidationOptions>): {
|
|
49
|
-
name: string;
|
|
50
|
-
enforce: "pre";
|
|
51
|
-
configResolved(_resolvedConfig: any): void;
|
|
52
|
-
transform(code: string, id: string): {
|
|
53
|
-
code: string;
|
|
54
|
-
map?: any;
|
|
55
|
-
} | null;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Get Webpack plugin for manual registration
|
|
59
|
-
*/
|
|
60
|
-
webpack(options?: Partial<ValidationOptions>): {
|
|
61
|
-
new (): {
|
|
62
|
-
apply(compiler: any): void;
|
|
63
|
-
validateModule(_module: any, _config: ValidationOptions): void;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Get Next.js plugin for manual registration
|
|
68
|
-
*/
|
|
69
|
-
nextjs(options?: Partial<ValidationOptions>): (nextConfig?: any) => any;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Initialize validation system
|
|
73
|
-
*/
|
|
74
|
-
export declare function initializeValidation(options?: Partial<ValidationOptions>): Promise<BuildIntegrationResult>;
|
|
75
|
-
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/validation/build-time/plugins.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,sBAAsB,EAEtB,iBAAiB,EAClB,MAAM,SAAS,CAAA;AAUhB;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,YAAY,GAAE,MAAsB,EACpC,MAAM,GAAE,OAAO,CAAC,iBAAiB,CAAM,GACtC,OAAO,CAAC,sBAAsB,CAAC,CAgEjC;AAwND;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,iBAAiB;;;oCAKtB,GAAG;oBAInB,MAAM,MAAM,MAAM;cAiF3B,MAAM;cAAQ,GAAG;;EA7D3B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB;;wBAEzC,GAAG;gCAgBK,GAAG,WAAW,iBAAiB;;EAK1D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,GAAG,IAEvE,aAAY,GAAQ,SAiB7B;AA4BD;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,GAAG,CAazC;AAED;;GAEG;AACH,eAAO,MAAM,aAAa;IACxB;;OAEG;mBACW,OAAO,CAAC,iBAAiB,CAAC;;;wCAjIN,GAAG;wBAInB,MAAM,MAAM,MAAM;kBAiF3B,MAAM;kBAAQ,GAAG;;;IA2D1B;;OAEG;sBACc,OAAO,CAAC,iBAAiB,CAAC;;4BApHzB,GAAG;oCAgBK,GAAG,WAAW,iBAAiB;;;IAmHzD;;OAEG;qBACa,OAAO,CAAC,iBAAiB,CAAC,iBA1GtB,GAAG;CAyHxB,CAAA;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,GAAE,OAAO,CAAC,iBAAiB,CAAM,GACvC,OAAO,CAAC,sBAAsB,CAAC,CAEjC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Validation Rules Engine
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive patterns and rules for validating TachUI components
|
|
5
|
-
* and modifiers at build time.
|
|
6
|
-
*/
|
|
7
|
-
import type { ComponentValidationPattern, ModifierValidationPattern, BuildTimeValidationRule, ValidationContext, ValidationResult } from './types';
|
|
8
|
-
import * as ts from 'typescript';
|
|
9
|
-
/**
|
|
10
|
-
* Component validation patterns
|
|
11
|
-
*/
|
|
12
|
-
export declare const componentPatterns: Record<string, ComponentValidationPattern>;
|
|
13
|
-
/**
|
|
14
|
-
* Modifier validation patterns
|
|
15
|
-
*/
|
|
16
|
-
export declare const modifierPatterns: Record<string, ModifierValidationPattern>;
|
|
17
|
-
/**
|
|
18
|
-
* Built-in validation rules
|
|
19
|
-
*/
|
|
20
|
-
export declare const builtInRules: BuildTimeValidationRule[];
|
|
21
|
-
/**
|
|
22
|
-
* Validation rule categories
|
|
23
|
-
*/
|
|
24
|
-
export declare const ruleCategories: {
|
|
25
|
-
components: string[];
|
|
26
|
-
modifiers: string[];
|
|
27
|
-
performance: string[];
|
|
28
|
-
accessibility: string[];
|
|
29
|
-
'best-practices': string[];
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Rule severity levels
|
|
33
|
-
*/
|
|
34
|
-
export declare const severityLevels: {
|
|
35
|
-
error: string[];
|
|
36
|
-
warning: string[];
|
|
37
|
-
info: string[];
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Create custom validation rule
|
|
41
|
-
*/
|
|
42
|
-
export declare function createCustomRule(name: string, category: string, severity: 'error' | 'warning' | 'info', description: string, validate: (node: ts.Node, checker: ts.TypeChecker, context: ValidationContext) => ValidationResult): BuildTimeValidationRule;
|
|
43
|
-
/**
|
|
44
|
-
* Rule registry for managing custom rules
|
|
45
|
-
*/
|
|
46
|
-
export declare class ValidationRuleRegistry {
|
|
47
|
-
private rules;
|
|
48
|
-
constructor();
|
|
49
|
-
register(rule: BuildTimeValidationRule): void;
|
|
50
|
-
unregister(name: string): void;
|
|
51
|
-
getRule(name: string): BuildTimeValidationRule | undefined;
|
|
52
|
-
getAllRules(): BuildTimeValidationRule[];
|
|
53
|
-
getRulesByCategory(category: string): BuildTimeValidationRule[];
|
|
54
|
-
getRulesBySeverity(severity: 'error' | 'warning' | 'info'): BuildTimeValidationRule[];
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Global rule registry instance
|
|
58
|
-
*/
|
|
59
|
-
export declare const globalRuleRegistry: ValidationRuleRegistry;
|
|
60
|
-
/**
|
|
61
|
-
* Helper functions for rule creation
|
|
62
|
-
*/
|
|
63
|
-
export declare const RuleHelpers: {
|
|
64
|
-
/**
|
|
65
|
-
* Create a rule that validates component arguments
|
|
66
|
-
*/
|
|
67
|
-
createComponentRule(componentName: string, validator: (args: ts.NodeArray<ts.Expression>) => ValidationResult): BuildTimeValidationRule;
|
|
68
|
-
/**
|
|
69
|
-
* Create a rule that validates modifier usage
|
|
70
|
-
*/
|
|
71
|
-
createModifierRule(modifierName: string, validator: (expression: ts.PropertyAccessExpression) => ValidationResult): BuildTimeValidationRule;
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/validation/build-time/rules.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KA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EG;AACH,eAAO,MAAM,kBAAkB,wBAA+B,CAAA;AAE9D;;GAEG;AACH,eAAO,MAAM,WAAW;IACtB;;OAEG;uCAEc,MAAM,aACV,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,UAAU,CAAC,KAAK,gBAAgB,GACjE,uBAAuB;IAkB1B;;OAEG;qCAEa,MAAM,aACT,CAAC,UAAU,EAAE,EAAE,CAAC,wBAAwB,KAAK,gBAAgB,GACvE,uBAAuB;CAc3B,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TypeScript Transformer for Build-Time Validation
|
|
3
|
-
*
|
|
4
|
-
* Analyzes TypeScript AST to validate TachUI component usage
|
|
5
|
-
* at compile time and provide detailed error messages.
|
|
6
|
-
*/
|
|
7
|
-
import type { BuildTimeValidationRule, ValidationContext, ValidationResult } from './types';
|
|
8
|
-
/**
|
|
9
|
-
* Main TypeScript transformer factory
|
|
10
|
-
*/
|
|
11
|
-
export declare function createTachUITransformer(program: any, // ts.Program when TypeScript is available
|
|
12
|
-
options?: {
|
|
13
|
-
strict?: boolean;
|
|
14
|
-
}): any;
|
|
15
|
-
/**
|
|
16
|
-
* Create custom validation rule
|
|
17
|
-
*/
|
|
18
|
-
export declare function createValidationRule(name: string, validate: (node: any, checker: any, context: ValidationContext) => ValidationResult): BuildTimeValidationRule;
|
|
19
|
-
/**
|
|
20
|
-
* Validation rule runner
|
|
21
|
-
*/
|
|
22
|
-
export declare function runValidationRules(rules: BuildTimeValidationRule[], node: any, context: ValidationContext): ValidationResult;
|
|
23
|
-
//# sourceMappingURL=transformer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformer.d.ts","sourceRoot":"","sources":["../../../src/validation/build-time/transformer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAyBH,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EAIjB,MAAM,SAAS,CAAA;AAGhB;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,GAAG,EAAE,0CAA0C;AACxD,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GACjC,GAAG,CAgDL;AAsOD;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,iBAAiB,KAAK,gBAAgB,GAClF,uBAAuB,CASzB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,uBAAuB,EAAE,EAChC,IAAI,EAAE,GAAG,EACT,OAAO,EAAE,iBAAiB,GACzB,gBAAgB,CAuBlB"}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Build-Time Validation Types
|
|
3
|
-
*
|
|
4
|
-
* Type definitions for the build-time validation system that integrates
|
|
5
|
-
* with various build tools and provides TypeScript transformer capabilities.
|
|
6
|
-
*/
|
|
7
|
-
import type * as ts from 'typescript';
|
|
8
|
-
/**
|
|
9
|
-
* Validation rule for build-time checking
|
|
10
|
-
*/
|
|
11
|
-
export interface BuildTimeValidationRule {
|
|
12
|
-
name: string;
|
|
13
|
-
severity: 'error' | 'warning' | 'info';
|
|
14
|
-
description: string;
|
|
15
|
-
validate(node: ts.Node, checker: ts.TypeChecker, context: ValidationContext): ValidationResult;
|
|
16
|
-
generateMessage?(error: BuildTimeValidationError): string;
|
|
17
|
-
suggestFix?(error: BuildTimeValidationError): CodeFix[];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Context for validation operations
|
|
21
|
-
*/
|
|
22
|
-
export interface ValidationContext {
|
|
23
|
-
sourceFile: ts.SourceFile;
|
|
24
|
-
program: ts.Program;
|
|
25
|
-
checker: ts.TypeChecker;
|
|
26
|
-
fileName: string;
|
|
27
|
-
options: ValidationOptions;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Validation result from a rule
|
|
31
|
-
*/
|
|
32
|
-
export interface ValidationResult {
|
|
33
|
-
valid: boolean;
|
|
34
|
-
errors?: BuildTimeValidationError[];
|
|
35
|
-
warnings?: BuildTimeValidationWarning[];
|
|
36
|
-
suggestions?: CodeFix[];
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Build-time validation error details
|
|
40
|
-
*/
|
|
41
|
-
export interface BuildTimeValidationError {
|
|
42
|
-
message: string;
|
|
43
|
-
code: string;
|
|
44
|
-
severity: 'error' | 'warning' | 'info';
|
|
45
|
-
line: number;
|
|
46
|
-
column: number;
|
|
47
|
-
length: number;
|
|
48
|
-
category: string;
|
|
49
|
-
component?: string;
|
|
50
|
-
suggestion?: string;
|
|
51
|
-
documentationLink?: string;
|
|
52
|
-
fix?: CodeFix;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Build-time validation warning details
|
|
56
|
-
*/
|
|
57
|
-
export interface BuildTimeValidationWarning extends Omit<BuildTimeValidationError, 'severity'> {
|
|
58
|
-
severity: 'warning';
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Code fix suggestion
|
|
62
|
-
*/
|
|
63
|
-
export interface CodeFix {
|
|
64
|
-
description: string;
|
|
65
|
-
changes: TextChange[];
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Text change for code fixes
|
|
69
|
-
*/
|
|
70
|
-
export interface TextChange {
|
|
71
|
-
span: {
|
|
72
|
-
start: number;
|
|
73
|
-
length: number;
|
|
74
|
-
};
|
|
75
|
-
newText: string;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Build tool detection and integration
|
|
79
|
-
*/
|
|
80
|
-
export interface BuildToolInfo {
|
|
81
|
-
name: string;
|
|
82
|
-
version?: string;
|
|
83
|
-
configFile?: string;
|
|
84
|
-
detected: boolean;
|
|
85
|
-
supported: boolean;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Validation options for build-time checking
|
|
89
|
-
*/
|
|
90
|
-
export interface ValidationOptions {
|
|
91
|
-
enabled: boolean;
|
|
92
|
-
strictMode: boolean;
|
|
93
|
-
errorLevel: 'error' | 'warn' | 'info';
|
|
94
|
-
excludeFiles: string[];
|
|
95
|
-
includeFiles?: string[];
|
|
96
|
-
customRules: BuildTimeValidationRule[];
|
|
97
|
-
buildTool?: string;
|
|
98
|
-
configFile?: string;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Plugin configuration for different build tools
|
|
102
|
-
*/
|
|
103
|
-
export interface PluginConfig {
|
|
104
|
-
vite?: VitePluginOptions;
|
|
105
|
-
webpack?: WebpackPluginOptions;
|
|
106
|
-
nextjs?: NextJSPluginOptions;
|
|
107
|
-
typescript?: TypeScriptPluginOptions;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Vite plugin options
|
|
111
|
-
*/
|
|
112
|
-
export interface VitePluginOptions {
|
|
113
|
-
include?: string[];
|
|
114
|
-
exclude?: string[];
|
|
115
|
-
enforce?: 'pre' | 'post';
|
|
116
|
-
apply?: 'build' | 'serve' | ((config: any, env: any) => boolean);
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Webpack plugin options
|
|
120
|
-
*/
|
|
121
|
-
export interface WebpackPluginOptions {
|
|
122
|
-
test?: RegExp;
|
|
123
|
-
include?: RegExp | string[];
|
|
124
|
-
exclude?: RegExp | string[];
|
|
125
|
-
options?: Record<string, any>;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Next.js plugin options
|
|
129
|
-
*/
|
|
130
|
-
export interface NextJSPluginOptions {
|
|
131
|
-
webpack?: WebpackPluginOptions;
|
|
132
|
-
babel?: BabelPluginOptions;
|
|
133
|
-
swc?: SWCPluginOptions;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* TypeScript plugin options
|
|
137
|
-
*/
|
|
138
|
-
export interface TypeScriptPluginOptions {
|
|
139
|
-
transformers?: {
|
|
140
|
-
before?: ts.TransformerFactory<ts.SourceFile>[];
|
|
141
|
-
after?: ts.TransformerFactory<ts.SourceFile>[];
|
|
142
|
-
afterDeclarations?: ts.TransformerFactory<ts.SourceFile>[];
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Babel plugin options
|
|
147
|
-
*/
|
|
148
|
-
export interface BabelPluginOptions {
|
|
149
|
-
include?: string[];
|
|
150
|
-
exclude?: string[];
|
|
151
|
-
presets?: any[];
|
|
152
|
-
plugins?: any[];
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* SWC plugin options
|
|
156
|
-
*/
|
|
157
|
-
export interface SWCPluginOptions {
|
|
158
|
-
test?: RegExp;
|
|
159
|
-
options?: Record<string, any>;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Build integration result
|
|
163
|
-
*/
|
|
164
|
-
export interface BuildIntegrationResult {
|
|
165
|
-
success: boolean;
|
|
166
|
-
buildTool: string;
|
|
167
|
-
message: string;
|
|
168
|
-
pluginRegistered: boolean;
|
|
169
|
-
configurationApplied: boolean;
|
|
170
|
-
errors?: string[];
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Validation statistics for reporting
|
|
174
|
-
*/
|
|
175
|
-
export interface ValidationStats {
|
|
176
|
-
filesProcessed: number;
|
|
177
|
-
errorsFound: number;
|
|
178
|
-
warningsFound: number;
|
|
179
|
-
rulesApplied: number;
|
|
180
|
-
fixesApplied: number;
|
|
181
|
-
processingTime: number;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* Component validation patterns
|
|
185
|
-
*/
|
|
186
|
-
export interface ComponentValidationPattern {
|
|
187
|
-
componentName: string;
|
|
188
|
-
requiredProps: string[];
|
|
189
|
-
optionalProps: string[];
|
|
190
|
-
validModifiers: string[];
|
|
191
|
-
invalidModifiers: string[];
|
|
192
|
-
examples: {
|
|
193
|
-
valid: string[];
|
|
194
|
-
invalid: string[];
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Modifier validation patterns
|
|
199
|
-
*/
|
|
200
|
-
export interface ModifierValidationPattern {
|
|
201
|
-
modifierName: string;
|
|
202
|
-
validComponents: string[];
|
|
203
|
-
parameterTypes: {
|
|
204
|
-
[index: number]: string[];
|
|
205
|
-
};
|
|
206
|
-
noParameters?: boolean;
|
|
207
|
-
examples: {
|
|
208
|
-
valid: string[];
|
|
209
|
-
invalid: string[];
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/validation/build-time/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAA;AAErC;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IACtC,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,iBAAiB,GAAG,gBAAgB,CAAA;IAC9F,eAAe,CAAC,CAAC,KAAK,EAAE,wBAAwB,GAAG,MAAM,CAAA;IACzD,UAAU,CAAC,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,EAAE,CAAA;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAA;IACzB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAA;IACnB,OAAO,EAAE,EAAE,CAAC,WAAW,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,iBAAiB,CAAA;CAC3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