@tachui/core 0.7.0-alpha1 → 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 +195 -0
- package/dist/bundles/common.d.ts +1 -1
- package/dist/bundles/common.d.ts.map +1 -1
- package/dist/bundles/minimal.d.ts +17 -5
- 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 +402 -955
- package/dist/compiler/advanced-parser.d.ts.map +1 -1
- package/dist/compiler/index.js +1392 -10
- 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 -102
- 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 +52 -14
- package/dist/css-classes/index.js +176 -0
- package/dist/dom-bridge-CAa1N2zX.js +406 -0
- package/dist/effect-B9Knft0b.js +66 -0
- package/dist/essential.js +394 -953
- 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 +394 -953
- package/dist/minimal-prod.js +107 -190
- package/dist/minimal.js +115 -955
- 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 +275 -533
- package/dist/modifiers/builder.d.ts +103 -195
- package/dist/modifiers/builder.d.ts.map +1 -1
- package/dist/modifiers/builder.js +7 -928
- 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 +8 -161
- package/dist/modifiers/types.d.ts +39 -211
- package/dist/modifiers/types.d.ts.map +1 -1
- package/dist/modifiers/types.js +0 -1
- 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 +393 -32
- 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 +489 -91
- package/dist/reactive/types.js +0 -1
- package/dist/runtime/dom-bridge.js +12 -239
- 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 -388
- package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
- package/dist/runtime/types.js +1 -0
- package/dist/scheduler-BKeqwrYE.js +814 -0
- 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 +788 -233
- 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 +43 -8
- package/dist/assets/Asset.cjs +0 -2
- package/dist/assets/Asset.cjs.map +0 -1
- package/dist/assets/Asset.js +0 -9
- package/dist/assets/Asset.js.map +0 -1
- package/dist/assets/AssetCollection.cjs +0 -2
- package/dist/assets/AssetCollection.cjs.map +0 -1
- package/dist/assets/AssetCollection.js +0 -44
- package/dist/assets/AssetCollection.js.map +0 -1
- package/dist/assets/ColorAsset.cjs +0 -2
- package/dist/assets/ColorAsset.cjs.map +0 -1
- package/dist/assets/ColorAsset.js +0 -114
- package/dist/assets/ColorAsset.js.map +0 -1
- package/dist/assets/FontAsset.cjs +0 -9
- package/dist/assets/FontAsset.cjs.map +0 -1
- package/dist/assets/FontAsset.js +0 -173
- package/dist/assets/FontAsset.js.map +0 -1
- package/dist/assets/ImageAsset.cjs +0 -2
- package/dist/assets/ImageAsset.cjs.map +0 -1
- package/dist/assets/ImageAsset.js +0 -39
- package/dist/assets/ImageAsset.js.map +0 -1
- package/dist/assets/index.cjs +0 -2
- package/dist/assets/index.cjs.map +0 -1
- package/dist/assets/index.js +0 -119
- package/dist/assets/index.js.map +0 -1
- package/dist/common.cjs +0 -2
- package/dist/common.cjs.map +0 -1
- package/dist/common.js.map +0 -1
- package/dist/compiler/advanced-parser.cjs +0 -5
- package/dist/compiler/advanced-parser.cjs.map +0 -1
- package/dist/compiler/advanced-parser.js +0 -440
- package/dist/compiler/advanced-parser.js.map +0 -1
- package/dist/compiler/codegen.cjs +0 -6
- package/dist/compiler/codegen.cjs.map +0 -1
- package/dist/compiler/codegen.js +0 -241
- package/dist/compiler/codegen.js.map +0 -1
- package/dist/compiler/enhanced-codegen.cjs +0 -6
- package/dist/compiler/enhanced-codegen.cjs.map +0 -1
- package/dist/compiler/enhanced-codegen.js +0 -347
- package/dist/compiler/enhanced-codegen.js.map +0 -1
- package/dist/compiler/index.cjs +0 -2
- package/dist/compiler/index.cjs.map +0 -1
- package/dist/compiler/index.js.map +0 -1
- package/dist/compiler/parser.cjs +0 -5
- package/dist/compiler/parser.cjs.map +0 -1
- package/dist/compiler/parser.js +0 -275
- package/dist/compiler/parser.js.map +0 -1
- package/dist/compiler/plugin.cjs +0 -33
- package/dist/compiler/plugin.cjs.map +0 -1
- package/dist/compiler/plugin.js +0 -103
- package/dist/compiler/plugin.js.map +0 -1
- package/dist/components/BasicInput.cjs +0 -2
- package/dist/components/BasicInput.cjs.map +0 -1
- package/dist/components/BasicInput.d.ts +0 -116
- package/dist/components/BasicInput.d.ts.map +0 -1
- package/dist/components/BasicInput.js +0 -182
- package/dist/components/BasicInput.js.map +0 -1
- package/dist/components/Button.cjs +0 -7
- package/dist/components/Button.cjs.map +0 -1
- package/dist/components/Button.d.ts +0 -252
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Button.js +0 -408
- package/dist/components/Button.js.map +0 -1
- package/dist/components/Divider.cjs +0 -2
- package/dist/components/Divider.cjs.map +0 -1
- package/dist/components/Divider.d.ts +0 -141
- package/dist/components/Divider.d.ts.map +0 -1
- package/dist/components/Divider.js +0 -187
- package/dist/components/Divider.js.map +0 -1
- package/dist/components/EnhancedLink.cjs +0 -2
- package/dist/components/EnhancedLink.cjs.map +0 -1
- package/dist/components/EnhancedLink.d.ts +0 -365
- package/dist/components/EnhancedLink.d.ts.map +0 -1
- package/dist/components/EnhancedLink.js +0 -345
- package/dist/components/EnhancedLink.js.map +0 -1
- package/dist/components/Form.cjs +0 -2
- package/dist/components/Form.cjs.map +0 -1
- package/dist/components/Form.d.ts +0 -141
- package/dist/components/Form.d.ts.map +0 -1
- package/dist/components/Form.js +0 -244
- package/dist/components/Form.js.map +0 -1
- package/dist/components/Grid.cjs +0 -2
- package/dist/components/Grid.cjs.map +0 -1
- package/dist/components/Grid.d.ts +0 -698
- package/dist/components/Grid.d.ts.map +0 -1
- package/dist/components/Grid.js +0 -1045
- package/dist/components/Grid.js.map +0 -1
- package/dist/components/GridResponsive.cjs +0 -2
- package/dist/components/GridResponsive.cjs.map +0 -1
- package/dist/components/GridResponsive.d.ts +0 -214
- package/dist/components/GridResponsive.d.ts.map +0 -1
- package/dist/components/GridResponsive.js +0 -382
- package/dist/components/GridResponsive.js.map +0 -1
- package/dist/components/Image.cjs +0 -2
- package/dist/components/Image.cjs.map +0 -1
- package/dist/components/Image.d.ts +0 -162
- package/dist/components/Image.d.ts.map +0 -1
- package/dist/components/Image.js +0 -212
- package/dist/components/Image.js.map +0 -1
- package/dist/components/List.cjs +0 -2
- package/dist/components/List.cjs.map +0 -1
- package/dist/components/List.d.ts +0 -287
- package/dist/components/List.d.ts.map +0 -1
- package/dist/components/List.js +0 -561
- package/dist/components/List.js.map +0 -1
- package/dist/components/Menu.cjs +0 -2
- package/dist/components/Menu.cjs.map +0 -1
- package/dist/components/Menu.d.ts +0 -159
- package/dist/components/Menu.d.ts.map +0 -1
- package/dist/components/Menu.js +0 -443
- package/dist/components/Menu.js.map +0 -1
- package/dist/components/Picker.cjs +0 -2
- package/dist/components/Picker.cjs.map +0 -1
- package/dist/components/Picker.d.ts +0 -153
- package/dist/components/Picker.d.ts.map +0 -1
- package/dist/components/Picker.js +0 -478
- package/dist/components/Picker.js.map +0 -1
- package/dist/components/ScrollView.cjs +0 -6
- package/dist/components/ScrollView.cjs.map +0 -1
- package/dist/components/ScrollView.d.ts +0 -222
- package/dist/components/ScrollView.d.ts.map +0 -1
- package/dist/components/ScrollView.js +0 -363
- package/dist/components/ScrollView.js.map +0 -1
- package/dist/components/Section.cjs +0 -2
- package/dist/components/Section.cjs.map +0 -1
- package/dist/components/Section.d.ts +0 -153
- package/dist/components/Section.d.ts.map +0 -1
- package/dist/components/Section.js +0 -323
- package/dist/components/Section.js.map +0 -1
- package/dist/components/Show.cjs +0 -2
- package/dist/components/Show.cjs.map +0 -1
- package/dist/components/Show.d.ts +0 -64
- package/dist/components/Show.d.ts.map +0 -1
- package/dist/components/Show.js +0 -112
- package/dist/components/Show.js.map +0 -1
- package/dist/components/Spacer.cjs +0 -2
- package/dist/components/Spacer.cjs.map +0 -1
- package/dist/components/Spacer.d.ts +0 -35
- package/dist/components/Spacer.d.ts.map +0 -1
- package/dist/components/Spacer.js +0 -53
- package/dist/components/Spacer.js.map +0 -1
- package/dist/components/Text.cjs +0 -2
- package/dist/components/Text.cjs.map +0 -1
- package/dist/components/Text.d.ts +0 -242
- package/dist/components/Text.d.ts.map +0 -1
- package/dist/components/Text.js +0 -193
- package/dist/components/Text.js.map +0 -1
- package/dist/components/Toggle.cjs +0 -2
- package/dist/components/Toggle.cjs.map +0 -1
- package/dist/components/Toggle.d.ts +0 -207
- package/dist/components/Toggle.d.ts.map +0 -1
- package/dist/components/Toggle.js +0 -477
- package/dist/components/Toggle.js.map +0 -1
- package/dist/components/index.cjs +0 -2
- package/dist/components/index.cjs.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/wrapper.cjs +0 -2
- package/dist/components/wrapper.cjs.map +0 -1
- package/dist/components/wrapper.js +0 -484
- package/dist/components/wrapper.js.map +0 -1
- package/dist/concatenation/concatenatable.cjs +0 -2
- package/dist/concatenation/concatenatable.cjs.map +0 -1
- package/dist/concatenation/concatenatable.js +0 -118
- package/dist/concatenation/concatenatable.js.map +0 -1
- package/dist/concatenation/concatenated-component.cjs +0 -2
- package/dist/concatenation/concatenated-component.cjs.map +0 -1
- package/dist/concatenation/concatenated-component.js +0 -276
- package/dist/concatenation/concatenated-component.js.map +0 -1
- package/dist/concatenation/text-optimizer.cjs +0 -2
- package/dist/concatenation/text-optimizer.cjs.map +0 -1
- package/dist/concatenation/text-optimizer.js +0 -236
- package/dist/concatenation/text-optimizer.js.map +0 -1
- package/dist/concatenation/types.cjs +0 -2
- package/dist/concatenation/types.cjs.map +0 -1
- package/dist/concatenation/types.js +0 -13
- package/dist/concatenation/types.js.map +0 -1
- package/dist/constants/frame-utils.cjs +0 -2
- package/dist/constants/frame-utils.cjs.map +0 -1
- package/dist/constants/frame-utils.js +0 -116
- package/dist/constants/frame-utils.js.map +0 -1
- package/dist/constants/layout.cjs +0 -2
- package/dist/constants/layout.cjs.map +0 -1
- package/dist/constants/layout.js.map +0 -1
- package/dist/css-classes/component-base.cjs +0 -2
- package/dist/css-classes/component-base.cjs.map +0 -1
- package/dist/css-classes/component-base.js +0 -62
- package/dist/css-classes/component-base.js.map +0 -1
- package/dist/css-classes/css-class-manager.cjs +0 -2
- package/dist/css-classes/css-class-manager.cjs.map +0 -1
- package/dist/css-classes/css-class-manager.js +0 -209
- package/dist/css-classes/css-class-manager.js.map +0 -1
- package/dist/css-classes/dom-integration.cjs +0 -2
- package/dist/css-classes/dom-integration.cjs.map +0 -1
- package/dist/css-classes/dom-integration.js +0 -67
- package/dist/css-classes/dom-integration.js.map +0 -1
- package/dist/css-classes/enhanced-renderer.cjs +0 -2
- package/dist/css-classes/enhanced-renderer.cjs.map +0 -1
- package/dist/css-classes/enhanced-renderer.js +0 -73
- package/dist/css-classes/enhanced-renderer.js.map +0 -1
- package/dist/css-classes/utilities.cjs +0 -2
- package/dist/css-classes/utilities.cjs.map +0 -1
- package/dist/css-classes/utilities.js +0 -41
- package/dist/css-classes/utilities.js.map +0 -1
- package/dist/debug/index.d.ts +0 -61
- package/dist/debug/index.d.ts.map +0 -1
- package/dist/debug.cjs +0 -52
- package/dist/debug.cjs.map +0 -1
- package/dist/debug.js +0 -179
- package/dist/debug.js.map +0 -1
- 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/essential.cjs +0 -2
- package/dist/essential.cjs.map +0 -1
- package/dist/essential.js.map +0 -1
- package/dist/gradients/css-generator.cjs +0 -2
- package/dist/gradients/css-generator.cjs.map +0 -1
- package/dist/gradients/css-generator.js +0 -100
- package/dist/gradients/css-generator.js.map +0 -1
- package/dist/gradients/examples.cjs +0 -2
- package/dist/gradients/examples.cjs.map +0 -1
- package/dist/gradients/examples.js +0 -555
- package/dist/gradients/examples.js.map +0 -1
- package/dist/gradients/gradient-asset.cjs +0 -2
- package/dist/gradients/gradient-asset.cjs.map +0 -1
- package/dist/gradients/gradient-asset.js +0 -22
- package/dist/gradients/gradient-asset.js.map +0 -1
- package/dist/gradients/index.cjs +0 -2
- package/dist/gradients/index.cjs.map +0 -1
- package/dist/gradients/index.js +0 -78
- package/dist/gradients/index.js.map +0 -1
- package/dist/gradients/performance.cjs +0 -2
- package/dist/gradients/performance.cjs.map +0 -1
- package/dist/gradients/performance.js +0 -237
- package/dist/gradients/performance.js.map +0 -1
- package/dist/gradients/presets.cjs +0 -2
- package/dist/gradients/presets.cjs.map +0 -1
- package/dist/gradients/presets.js +0 -254
- package/dist/gradients/presets.js.map +0 -1
- package/dist/gradients/reactive.cjs +0 -2
- package/dist/gradients/reactive.cjs.map +0 -1
- package/dist/gradients/reactive.js +0 -239
- package/dist/gradients/reactive.js.map +0 -1
- package/dist/gradients/state-gradient-asset.cjs +0 -2
- package/dist/gradients/state-gradient-asset.cjs.map +0 -1
- package/dist/gradients/state-gradient-asset.js +0 -111
- package/dist/gradients/state-gradient-asset.js.map +0 -1
- package/dist/gradients/utils.cjs +0 -2
- package/dist/gradients/utils.cjs.map +0 -1
- package/dist/gradients/utils.js +0 -385
- package/dist/gradients/utils.js.map +0 -1
- package/dist/gradients/validation.cjs +0 -2
- package/dist/gradients/validation.cjs.map +0 -1
- package/dist/gradients/validation.js +0 -209
- package/dist/gradients/validation.js.map +0 -1
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index2.cjs +0 -2
- package/dist/index2.cjs.map +0 -1
- package/dist/index2.js +0 -293
- package/dist/index2.js.map +0 -1
- package/dist/lifecycle/hooks.cjs +0 -2
- package/dist/lifecycle/hooks.cjs.map +0 -1
- package/dist/lifecycle/hooks.js +0 -159
- package/dist/lifecycle/hooks.js.map +0 -1
- package/dist/minimal-prod.cjs +0 -2
- package/dist/minimal-prod.cjs.map +0 -1
- package/dist/minimal-prod.js.map +0 -1
- package/dist/minimal.cjs +0 -2
- package/dist/minimal.cjs.map +0 -1
- package/dist/minimal.js.map +0 -1
- package/dist/modifiers/as-html-validator.cjs +0 -2
- package/dist/modifiers/as-html-validator.cjs.map +0 -1
- package/dist/modifiers/as-html-validator.js +0 -47
- package/dist/modifiers/as-html-validator.js.map +0 -1
- package/dist/modifiers/as-html.cjs +0 -2
- package/dist/modifiers/as-html.cjs.map +0 -1
- package/dist/modifiers/as-html.js +0 -71
- package/dist/modifiers/as-html.js.map +0 -1
- package/dist/modifiers/attributes.cjs +0 -2
- package/dist/modifiers/attributes.cjs.map +0 -1
- package/dist/modifiers/attributes.d.ts +0 -203
- package/dist/modifiers/attributes.d.ts.map +0 -1
- package/dist/modifiers/attributes.js +0 -272
- package/dist/modifiers/attributes.js.map +0 -1
- package/dist/modifiers/backdrop.cjs +0 -2
- package/dist/modifiers/backdrop.cjs.map +0 -1
- package/dist/modifiers/backdrop.d.ts +0 -59
- package/dist/modifiers/backdrop.d.ts.map +0 -1
- package/dist/modifiers/backdrop.js +0 -109
- package/dist/modifiers/backdrop.js.map +0 -1
- package/dist/modifiers/background.cjs +0 -2
- package/dist/modifiers/background.cjs.map +0 -1
- package/dist/modifiers/background.js +0 -67
- package/dist/modifiers/background.js.map +0 -1
- package/dist/modifiers/base.cjs +0 -25
- package/dist/modifiers/base.cjs.map +0 -1
- package/dist/modifiers/base.js.map +0 -1
- package/dist/modifiers/basic-sanitizer.cjs +0 -2
- package/dist/modifiers/basic-sanitizer.cjs.map +0 -1
- package/dist/modifiers/basic-sanitizer.js +0 -162
- package/dist/modifiers/basic-sanitizer.js.map +0 -1
- package/dist/modifiers/border.cjs +0 -2
- package/dist/modifiers/border.cjs.map +0 -1
- package/dist/modifiers/border.d.ts +0 -217
- package/dist/modifiers/border.d.ts.map +0 -1
- package/dist/modifiers/border.js +0 -160
- package/dist/modifiers/border.js.map +0 -1
- package/dist/modifiers/builder.cjs +0 -2
- package/dist/modifiers/builder.cjs.map +0 -1
- package/dist/modifiers/builder.js.map +0 -1
- package/dist/modifiers/core.cjs +0 -2
- package/dist/modifiers/core.cjs.map +0 -1
- package/dist/modifiers/core.js +0 -398
- package/dist/modifiers/core.js.map +0 -1
- package/dist/modifiers/css.cjs +0 -2
- package/dist/modifiers/css.cjs.map +0 -1
- package/dist/modifiers/css.js +0 -50
- package/dist/modifiers/css.js.map +0 -1
- package/dist/modifiers/effects.cjs +0 -2
- package/dist/modifiers/effects.cjs.map +0 -1
- package/dist/modifiers/effects.d.ts +0 -159
- package/dist/modifiers/effects.d.ts.map +0 -1
- package/dist/modifiers/effects.js +0 -178
- package/dist/modifiers/effects.js.map +0 -1
- package/dist/modifiers/elements.cjs +0 -2
- package/dist/modifiers/elements.cjs.map +0 -1
- package/dist/modifiers/elements.d.ts +0 -240
- package/dist/modifiers/elements.d.ts.map +0 -1
- package/dist/modifiers/elements.js +0 -216
- package/dist/modifiers/elements.js.map +0 -1
- package/dist/modifiers/filters.cjs +0 -2
- package/dist/modifiers/filters.cjs.map +0 -1
- package/dist/modifiers/filters.d.ts +0 -275
- package/dist/modifiers/filters.d.ts.map +0 -1
- package/dist/modifiers/filters.js +0 -223
- package/dist/modifiers/filters.js.map +0 -1
- package/dist/modifiers/flexbox.cjs +0 -2
- package/dist/modifiers/flexbox.cjs.map +0 -1
- package/dist/modifiers/flexbox.d.ts +0 -82
- package/dist/modifiers/flexbox.d.ts.map +0 -1
- package/dist/modifiers/flexbox.js +0 -56
- package/dist/modifiers/flexbox.js.map +0 -1
- package/dist/modifiers/font.cjs +0 -2
- package/dist/modifiers/font.cjs.map +0 -1
- package/dist/modifiers/font.d.ts +0 -71
- package/dist/modifiers/font.d.ts.map +0 -1
- package/dist/modifiers/font.js +0 -60
- package/dist/modifiers/font.js.map +0 -1
- package/dist/modifiers/grid.cjs +0 -2
- package/dist/modifiers/grid.cjs.map +0 -1
- package/dist/modifiers/grid.d.ts +0 -92
- package/dist/modifiers/grid.d.ts.map +0 -1
- package/dist/modifiers/grid.js +0 -92
- package/dist/modifiers/grid.js.map +0 -1
- package/dist/modifiers/margin.cjs +0 -2
- package/dist/modifiers/margin.cjs.map +0 -1
- package/dist/modifiers/margin.d.ts +0 -128
- package/dist/modifiers/margin.d.ts.map +0 -1
- package/dist/modifiers/margin.js +0 -65
- package/dist/modifiers/margin.js.map +0 -1
- package/dist/modifiers/padding.cjs +0 -2
- package/dist/modifiers/padding.cjs.map +0 -1
- package/dist/modifiers/padding.d.ts +0 -204
- package/dist/modifiers/padding.d.ts.map +0 -1
- package/dist/modifiers/padding.js +0 -109
- package/dist/modifiers/padding.js.map +0 -1
- package/dist/modifiers/registry.cjs +0 -2
- package/dist/modifiers/registry.cjs.map +0 -1
- package/dist/modifiers/registry.js.map +0 -1
- package/dist/modifiers/responsive/advanced-utilities.cjs +0 -2
- package/dist/modifiers/responsive/advanced-utilities.cjs.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/advanced-utilities.js +0 -291
- package/dist/modifiers/responsive/advanced-utilities.js.map +0 -1
- package/dist/modifiers/responsive/breakpoints.cjs +0 -2
- package/dist/modifiers/responsive/breakpoints.cjs.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/breakpoints.js +0 -168
- package/dist/modifiers/responsive/breakpoints.js.map +0 -1
- package/dist/modifiers/responsive/css-generator.cjs +0 -5
- package/dist/modifiers/responsive/css-generator.cjs.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/css-generator.js +0 -261
- package/dist/modifiers/responsive/css-generator.js.map +0 -1
- package/dist/modifiers/responsive/dev-tools.cjs +0 -77
- package/dist/modifiers/responsive/dev-tools.cjs.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/dev-tools.js +0 -380
- package/dist/modifiers/responsive/dev-tools.js.map +0 -1
- package/dist/modifiers/responsive/index.d.ts +0 -28
- package/dist/modifiers/responsive/index.d.ts.map +0 -1
- package/dist/modifiers/responsive/layout-patterns.cjs +0 -2
- package/dist/modifiers/responsive/layout-patterns.cjs.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/layout-patterns.js +0 -254
- package/dist/modifiers/responsive/layout-patterns.js.map +0 -1
- package/dist/modifiers/responsive/performance.cjs +0 -3
- package/dist/modifiers/responsive/performance.cjs.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/performance.js +0 -212
- package/dist/modifiers/responsive/performance.js.map +0 -1
- package/dist/modifiers/responsive/responsive-builder.cjs +0 -2
- package/dist/modifiers/responsive/responsive-builder.cjs.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-builder.js +0 -272
- package/dist/modifiers/responsive/responsive-builder.js.map +0 -1
- package/dist/modifiers/responsive/responsive-modifier.cjs +0 -3
- package/dist/modifiers/responsive/responsive-modifier.cjs.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/responsive-modifier.js +0 -204
- package/dist/modifiers/responsive/responsive-modifier.js.map +0 -1
- package/dist/modifiers/responsive/types.cjs +0 -2
- package/dist/modifiers/responsive/types.cjs.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/types.js +0 -26
- package/dist/modifiers/responsive/types.js.map +0 -1
- package/dist/modifiers/responsive/utilities.cjs +0 -16
- package/dist/modifiers/responsive/utilities.cjs.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/responsive/utilities.js +0 -273
- package/dist/modifiers/responsive/utilities.js.map +0 -1
- package/dist/modifiers/scroll.cjs +0 -2
- package/dist/modifiers/scroll.cjs.map +0 -1
- package/dist/modifiers/scroll.d.ts +0 -143
- package/dist/modifiers/scroll.d.ts.map +0 -1
- package/dist/modifiers/scroll.js +0 -82
- package/dist/modifiers/scroll.js.map +0 -1
- package/dist/modifiers/shadows.cjs +0 -2
- package/dist/modifiers/shadows.cjs.map +0 -1
- package/dist/modifiers/shadows.d.ts +0 -114
- package/dist/modifiers/shadows.d.ts.map +0 -1
- package/dist/modifiers/shadows.js +0 -147
- package/dist/modifiers/shadows.js.map +0 -1
- package/dist/modifiers/size.cjs +0 -2
- package/dist/modifiers/size.cjs.map +0 -1
- package/dist/modifiers/size.d.ts +0 -113
- package/dist/modifiers/size.d.ts.map +0 -1
- package/dist/modifiers/size.js +0 -74
- package/dist/modifiers/size.js.map +0 -1
- package/dist/modifiers/text.cjs +0 -2
- package/dist/modifiers/text.cjs.map +0 -1
- package/dist/modifiers/text.d.ts +0 -147
- package/dist/modifiers/text.d.ts.map +0 -1
- package/dist/modifiers/text.js +0 -166
- package/dist/modifiers/text.js.map +0 -1
- package/dist/modifiers/transformations.cjs +0 -2
- package/dist/modifiers/transformations.cjs.map +0 -1
- package/dist/modifiers/transformations.d.ts +0 -329
- package/dist/modifiers/transformations.d.ts.map +0 -1
- package/dist/modifiers/transformations.js +0 -216
- package/dist/modifiers/transformations.js.map +0 -1
- package/dist/modifiers/transitions.cjs +0 -2
- package/dist/modifiers/transitions.cjs.map +0 -1
- package/dist/modifiers/transitions.d.ts +0 -98
- package/dist/modifiers/transitions.d.ts.map +0 -1
- package/dist/modifiers/transitions.js +0 -102
- package/dist/modifiers/transitions.js.map +0 -1
- package/dist/modifiers/types.cjs +0 -2
- package/dist/modifiers/types.cjs.map +0 -1
- package/dist/modifiers/types.js.map +0 -1
- package/dist/modifiers/typography.cjs +0 -2
- package/dist/modifiers/typography.cjs.map +0 -1
- package/dist/modifiers/typography.d.ts +0 -192
- package/dist/modifiers/typography.d.ts.map +0 -1
- package/dist/modifiers/typography.js +0 -76
- package/dist/modifiers/typography.js.map +0 -1
- package/dist/modifiers/utility.cjs +0 -2
- package/dist/modifiers/utility.cjs.map +0 -1
- package/dist/modifiers/utility.d.ts +0 -69
- package/dist/modifiers/utility.d.ts.map +0 -1
- package/dist/modifiers/utility.js +0 -71
- package/dist/modifiers/utility.js.map +0 -1
- package/dist/modifiers/utils.cjs +0 -2
- package/dist/modifiers/utils.cjs.map +0 -1
- package/dist/modifiers/utils.d.ts.map +0 -1
- package/dist/modifiers/utils.js +0 -250
- package/dist/modifiers/utils.js.map +0 -1
- package/dist/plugins/index.cjs +0 -2
- package/dist/plugins/index.cjs.map +0 -1
- package/dist/plugins/index.js.map +0 -1
- package/dist/plugins/legacy-adapter.cjs +0 -2
- package/dist/plugins/legacy-adapter.cjs.map +0 -1
- package/dist/plugins/legacy-adapter.js +0 -30
- package/dist/plugins/legacy-adapter.js.map +0 -1
- package/dist/plugins/simplified-component-registry.cjs +0 -2
- package/dist/plugins/simplified-component-registry.cjs.map +0 -1
- package/dist/plugins/simplified-component-registry.js +0 -71
- package/dist/plugins/simplified-component-registry.js.map +0 -1
- package/dist/plugins/simplified-error-handler.cjs +0 -2
- package/dist/plugins/simplified-error-handler.cjs.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/plugins/simplified-error-handler.js +0 -154
- package/dist/plugins/simplified-error-handler.js.map +0 -1
- package/dist/plugins/simplified-lazy-loader.cjs +0 -2
- package/dist/plugins/simplified-lazy-loader.cjs.map +0 -1
- package/dist/plugins/simplified-lazy-loader.js +0 -129
- package/dist/plugins/simplified-lazy-loader.js.map +0 -1
- package/dist/plugins/simplified-plugin-manager.cjs +0 -2
- package/dist/plugins/simplified-plugin-manager.cjs.map +0 -1
- package/dist/plugins/simplified-plugin-manager.js +0 -51
- package/dist/plugins/simplified-plugin-manager.js.map +0 -1
- package/dist/plugins/simplified-tachui-instance.cjs +0 -2
- package/dist/plugins/simplified-tachui-instance.cjs.map +0 -1
- package/dist/plugins/simplified-tachui-instance.js +0 -88
- package/dist/plugins/simplified-tachui-instance.js.map +0 -1
- package/dist/plugins/simplified-types.cjs +0 -2
- package/dist/plugins/simplified-types.cjs.map +0 -1
- package/dist/plugins/simplified-types.js +0 -9
- package/dist/plugins/simplified-types.js.map +0 -1
- package/dist/plugins/simplified-utils.cjs +0 -2
- package/dist/plugins/simplified-utils.cjs.map +0 -1
- package/dist/plugins/simplified-utils.js +0 -40
- package/dist/plugins/simplified-utils.js.map +0 -1
- package/dist/reactive/cleanup.cjs +0 -2
- package/dist/reactive/cleanup.cjs.map +0 -1
- package/dist/reactive/cleanup.js +0 -62
- package/dist/reactive/cleanup.js.map +0 -1
- package/dist/reactive/computed.cjs +0 -2
- package/dist/reactive/computed.cjs.map +0 -1
- package/dist/reactive/computed.js +0 -121
- package/dist/reactive/computed.js.map +0 -1
- package/dist/reactive/context.cjs +0 -2
- package/dist/reactive/context.cjs.map +0 -1
- package/dist/reactive/context.js +0 -143
- package/dist/reactive/context.js.map +0 -1
- package/dist/reactive/effect.cjs +0 -2
- package/dist/reactive/effect.cjs.map +0 -1
- package/dist/reactive/effect.js +0 -67
- package/dist/reactive/effect.js.map +0 -1
- package/dist/reactive/enhanced-effect.cjs +0 -2
- package/dist/reactive/enhanced-effect.cjs.map +0 -1
- package/dist/reactive/enhanced-effect.js +0 -153
- package/dist/reactive/enhanced-effect.js.map +0 -1
- package/dist/reactive/enhanced-signal.cjs +0 -2
- package/dist/reactive/enhanced-signal.cjs.map +0 -1
- package/dist/reactive/enhanced-signal.js +0 -117
- package/dist/reactive/enhanced-signal.js.map +0 -1
- package/dist/reactive/equality.cjs +0 -2
- package/dist/reactive/equality.cjs.map +0 -1
- package/dist/reactive/equality.js +0 -66
- package/dist/reactive/equality.js.map +0 -1
- package/dist/reactive/index.cjs +0 -2
- package/dist/reactive/index.cjs.map +0 -1
- package/dist/reactive/index.js.map +0 -1
- package/dist/reactive/migration.cjs +0 -18
- package/dist/reactive/migration.cjs.map +0 -1
- package/dist/reactive/migration.js +0 -164
- package/dist/reactive/migration.js.map +0 -1
- package/dist/reactive/ownership.cjs +0 -2
- package/dist/reactive/ownership.cjs.map +0 -1
- package/dist/reactive/ownership.js +0 -34
- package/dist/reactive/ownership.js.map +0 -1
- package/dist/reactive/scheduler.cjs +0 -2
- package/dist/reactive/scheduler.cjs.map +0 -1
- package/dist/reactive/scheduler.js +0 -111
- package/dist/reactive/scheduler.js.map +0 -1
- package/dist/reactive/signal.cjs +0 -2
- package/dist/reactive/signal.cjs.map +0 -1
- package/dist/reactive/signal.js +0 -96
- package/dist/reactive/signal.js.map +0 -1
- package/dist/reactive/theme.cjs +0 -2
- package/dist/reactive/theme.cjs.map +0 -1
- package/dist/reactive/theme.js +0 -27
- package/dist/reactive/theme.js.map +0 -1
- package/dist/reactive/types.cjs +0 -2
- package/dist/reactive/types.cjs.map +0 -1
- package/dist/reactive/types.js.map +0 -1
- package/dist/reactive/unified-scheduler.cjs +0 -2
- package/dist/reactive/unified-scheduler.cjs.map +0 -1
- package/dist/reactive/unified-scheduler.js +0 -219
- package/dist/reactive/unified-scheduler.js.map +0 -1
- package/dist/runtime/component-context.cjs +0 -2
- package/dist/runtime/component-context.cjs.map +0 -1
- package/dist/runtime/component-context.js +0 -177
- package/dist/runtime/component-context.js.map +0 -1
- package/dist/runtime/component.cjs +0 -2
- package/dist/runtime/component.cjs.map +0 -1
- package/dist/runtime/component.js +0 -238
- package/dist/runtime/component.js.map +0 -1
- package/dist/runtime/context.cjs +0 -2
- package/dist/runtime/context.cjs.map +0 -1
- package/dist/runtime/context.js +0 -289
- package/dist/runtime/context.js.map +0 -1
- package/dist/runtime/dev-tools.cjs +0 -2
- package/dist/runtime/dev-tools.cjs.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/dev-tools.js +0 -391
- package/dist/runtime/dev-tools.js.map +0 -1
- package/dist/runtime/development-warnings.cjs +0 -2
- package/dist/runtime/development-warnings.cjs.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/development-warnings.js +0 -69
- package/dist/runtime/development-warnings.js.map +0 -1
- package/dist/runtime/dom-bridge.cjs +0 -2
- package/dist/runtime/dom-bridge.cjs.map +0 -1
- package/dist/runtime/dom-bridge.js.map +0 -1
- package/dist/runtime/element-override.cjs +0 -2
- package/dist/runtime/element-override.cjs.map +0 -1
- package/dist/runtime/element-override.js +0 -214
- package/dist/runtime/element-override.js.map +0 -1
- package/dist/runtime/error-boundary.cjs +0 -2
- package/dist/runtime/error-boundary.cjs.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-boundary.js +0 -559
- package/dist/runtime/error-boundary.js.map +0 -1
- package/dist/runtime/error-recovery.cjs +0 -2
- package/dist/runtime/error-recovery.cjs.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-recovery.js +0 -385
- package/dist/runtime/error-recovery.js.map +0 -1
- package/dist/runtime/error-reporting.cjs +0 -3
- package/dist/runtime/error-reporting.cjs.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-reporting.js +0 -479
- package/dist/runtime/error-reporting.js.map +0 -1
- package/dist/runtime/error-utils.cjs +0 -3
- package/dist/runtime/error-utils.cjs.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/error-utils.js +0 -352
- package/dist/runtime/error-utils.js.map +0 -1
- package/dist/runtime/lazy-component.cjs +0 -2
- package/dist/runtime/lazy-component.cjs.map +0 -1
- package/dist/runtime/lazy-component.js +0 -129
- package/dist/runtime/lazy-component.js.map +0 -1
- package/dist/runtime/lifecycle.cjs +0 -2
- package/dist/runtime/lifecycle.cjs.map +0 -1
- package/dist/runtime/lifecycle.js +0 -7
- package/dist/runtime/lifecycle.js.map +0 -1
- package/dist/runtime/mounting.cjs +0 -2
- package/dist/runtime/mounting.cjs.map +0 -1
- package/dist/runtime/mounting.js +0 -12
- package/dist/runtime/mounting.js.map +0 -1
- package/dist/runtime/optimization.cjs +0 -2
- package/dist/runtime/optimization.cjs.map +0 -1
- package/dist/runtime/optimization.js +0 -6
- package/dist/runtime/optimization.js.map +0 -1
- package/dist/runtime/performance.cjs +0 -2
- package/dist/runtime/performance.cjs.map +0 -1
- package/dist/runtime/performance.d.ts +0 -217
- package/dist/runtime/performance.d.ts.map +0 -1
- package/dist/runtime/performance.js +0 -399
- package/dist/runtime/performance.js.map +0 -1
- package/dist/runtime/props.cjs +0 -2
- package/dist/runtime/props.cjs.map +0 -1
- package/dist/runtime/props.js +0 -265
- package/dist/runtime/props.js.map +0 -1
- package/dist/runtime/renderer.cjs +0 -2
- package/dist/runtime/renderer.cjs.map +0 -1
- package/dist/runtime/renderer.js.map +0 -1
- package/dist/runtime/semantic-role-manager.cjs +0 -2
- package/dist/runtime/semantic-role-manager.cjs.map +0 -1
- package/dist/runtime/semantic-role-manager.js +0 -82
- package/dist/runtime/semantic-role-manager.js.map +0 -1
- package/dist/state/binding.cjs +0 -2
- package/dist/state/binding.cjs.map +0 -1
- package/dist/state/binding.js +0 -155
- package/dist/state/binding.js.map +0 -1
- package/dist/state/environment.cjs +0 -2
- package/dist/state/environment.cjs.map +0 -1
- package/dist/state/environment.js +0 -115
- package/dist/state/environment.js.map +0 -1
- package/dist/state/index.cjs +0 -2
- package/dist/state/index.cjs.map +0 -1
- package/dist/state/index.js +0 -63
- package/dist/state/index.js.map +0 -1
- package/dist/state/observed-object.cjs +0 -2
- package/dist/state/observed-object.cjs.map +0 -1
- package/dist/state/observed-object.js +0 -163
- package/dist/state/observed-object.js.map +0 -1
- package/dist/state/state-manager.cjs +0 -2
- package/dist/state/state-manager.cjs.map +0 -1
- package/dist/state/state-manager.js +0 -233
- package/dist/state/state-manager.js.map +0 -1
- package/dist/state/state.cjs +0 -2
- package/dist/state/state.cjs.map +0 -1
- package/dist/state/state.js +0 -159
- package/dist/state/state.js.map +0 -1
- package/dist/sui-compat.cjs +0 -2
- package/dist/sui-compat.cjs.map +0 -1
- package/dist/sui-compat.d.ts +0 -110
- package/dist/sui-compat.d.ts.map +0 -1
- package/dist/sui-compat.js +0 -88
- package/dist/sui-compat.js.map +0 -1
- package/dist/validation/advanced-debugging.cjs +0 -44
- package/dist/validation/advanced-debugging.cjs.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/advanced-debugging.js +0 -455
- package/dist/validation/advanced-debugging.js.map +0 -1
- package/dist/validation/build-time/detection.cjs +0 -2
- package/dist/validation/build-time/detection.cjs.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/detection.js +0 -199
- package/dist/validation/build-time/detection.js.map +0 -1
- package/dist/validation/build-time/index.cjs +0 -2
- package/dist/validation/build-time/index.cjs.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/index.js +0 -122
- package/dist/validation/build-time/index.js.map +0 -1
- package/dist/validation/build-time/plugins.cjs +0 -3
- package/dist/validation/build-time/plugins.cjs.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/plugins.js +0 -282
- package/dist/validation/build-time/plugins.js.map +0 -1
- package/dist/validation/build-time/rules.cjs +0 -2
- package/dist/validation/build-time/rules.cjs.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/rules.js +0 -576
- package/dist/validation/build-time/rules.js.map +0 -1
- package/dist/validation/build-time/transformer.cjs +0 -3
- package/dist/validation/build-time/transformer.cjs.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/transformer.js +0 -177
- package/dist/validation/build-time/transformer.js.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.cjs +0 -9
- package/dist/validation/comprehensive.cjs.map +0 -1
- package/dist/validation/comprehensive.d.ts +0 -160
- package/dist/validation/comprehensive.d.ts.map +0 -1
- package/dist/validation/comprehensive.js +0 -916
- package/dist/validation/comprehensive.js.map +0 -1
- package/dist/validation/debug-tools.cjs +0 -16
- package/dist/validation/debug-tools.cjs.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/debug-tools.js +0 -405
- package/dist/validation/debug-tools.js.map +0 -1
- package/dist/validation/developer-experience.cjs +0 -17
- package/dist/validation/developer-experience.cjs.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/developer-experience.js +0 -433
- package/dist/validation/developer-experience.js.map +0 -1
- package/dist/validation/documentation-integration.cjs +0 -7
- package/dist/validation/documentation-integration.cjs.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/documentation-integration.js +0 -440
- package/dist/validation/documentation-integration.js.map +0 -1
- package/dist/validation/enhanced-runtime.cjs +0 -6
- package/dist/validation/enhanced-runtime.cjs.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/enhanced-runtime.js +0 -465
- package/dist/validation/enhanced-runtime.js.map +0 -1
- package/dist/validation/error-reporting.cjs +0 -32
- package/dist/validation/error-reporting.cjs.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/error-reporting.js +0 -370
- package/dist/validation/error-reporting.js.map +0 -1
- package/dist/validation/ide-integration.cjs +0 -85
- package/dist/validation/ide-integration.cjs.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/ide-integration.js +0 -557
- package/dist/validation/ide-integration.js.map +0 -1
- package/dist/validation/index.cjs +0 -6
- package/dist/validation/index.cjs.map +0 -1
- package/dist/validation/index.js.map +0 -1
- package/dist/validation/lifecycle-validation.cjs +0 -2
- package/dist/validation/lifecycle-validation.cjs.map +0 -1
- package/dist/validation/lifecycle-validation.js +0 -314
- package/dist/validation/lifecycle-validation.js.map +0 -1
- package/dist/validation/performance-optimizer.cjs +0 -2
- package/dist/validation/performance-optimizer.cjs.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/performance-optimizer.js +0 -338
- package/dist/validation/performance-optimizer.js.map +0 -1
- package/dist/validation/plugin-registration.cjs +0 -2
- package/dist/validation/plugin-registration.cjs.map +0 -1
- package/dist/validation/plugin-registration.js +0 -126
- package/dist/validation/plugin-registration.js.map +0 -1
- package/dist/validation/production-bypass.cjs +0 -2
- package/dist/validation/production-bypass.cjs.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/production-bypass.js +0 -218
- package/dist/validation/production-bypass.js.map +0 -1
- package/dist/validation/simple.cjs +0 -9
- package/dist/validation/simple.cjs.map +0 -1
- package/dist/validation/simple.d.ts +0 -111
- package/dist/validation/simple.d.ts.map +0 -1
- package/dist/validation/simple.js +0 -146
- package/dist/validation/simple.js.map +0 -1
- package/dist/viewport/adapters/web-adapter.cjs +0 -70
- package/dist/viewport/adapters/web-adapter.cjs.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/adapters/web-adapter.js +0 -823
- package/dist/viewport/adapters/web-adapter.js.map +0 -1
- package/dist/viewport/components.cjs +0 -2
- package/dist/viewport/components.cjs.map +0 -1
- package/dist/viewport/components.d.ts +0 -131
- package/dist/viewport/components.d.ts.map +0 -1
- package/dist/viewport/components.js +0 -298
- package/dist/viewport/components.js.map +0 -1
- package/dist/viewport/environment.cjs +0 -2
- package/dist/viewport/environment.cjs.map +0 -1
- package/dist/viewport/environment.d.ts +0 -75
- package/dist/viewport/environment.d.ts.map +0 -1
- package/dist/viewport/environment.js +0 -86
- package/dist/viewport/environment.js.map +0 -1
- package/dist/viewport/index.cjs +0 -2
- package/dist/viewport/index.cjs.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 -166
- package/dist/viewport/index.js.map +0 -1
- package/dist/viewport/platform-detection.cjs +0 -2
- package/dist/viewport/platform-detection.cjs.map +0 -1
- package/dist/viewport/platform-detection.d.ts +0 -59
- package/dist/viewport/platform-detection.d.ts.map +0 -1
- package/dist/viewport/platform-detection.js +0 -205
- package/dist/viewport/platform-detection.js.map +0 -1
- package/dist/viewport/types.cjs +0 -2
- package/dist/viewport/types.cjs.map +0 -1
- package/dist/viewport/types.d.ts +0 -301
- package/dist/viewport/types.d.ts.map +0 -1
- package/dist/viewport/types.js +0 -13
- package/dist/viewport/types.js.map +0 -1
- package/dist/viewport/viewport-manager.cjs +0 -2
- package/dist/viewport/viewport-manager.cjs.map +0 -1
- package/dist/viewport/viewport-manager.d.ts +0 -118
- package/dist/viewport/viewport-manager.d.ts.map +0 -1
- package/dist/viewport/viewport-manager.js +0 -524
- package/dist/viewport/viewport-manager.js.map +0 -1
- package/src/assets/Asset.ts +0 -11
- package/src/assets/AssetCollection.ts +0 -99
- package/src/assets/ColorAsset.ts +0 -210
- package/src/assets/FontAsset.ts +0 -380
- package/src/assets/ImageAsset.ts +0 -91
- package/src/assets/README.md +0 -190
- package/src/assets/index.ts +0 -175
- package/src/assets/test-assets.ts +0 -69
- package/src/assets/test-integration.ts +0 -46
- package/src/assets/test-simple.ts +0 -28
- package/src/assets/types.ts +0 -79
- package/src/bundles/common.ts +0 -30
- package/src/bundles/complete.ts +0 -29
- package/src/bundles/essential.ts +0 -26
- package/src/bundles/minimal.ts +0 -26
- package/src/bundles/production-minimal.ts +0 -67
- package/src/compiler/advanced-parser.ts +0 -871
- package/src/compiler/codegen.ts +0 -450
- package/src/compiler/enhanced-codegen.ts +0 -729
- package/src/compiler/index.ts +0 -25
- package/src/compiler/parser.ts +0 -461
- package/src/compiler/plugin.ts +0 -181
- package/src/compiler/types.ts +0 -177
- package/src/components/BasicInput.ts +0 -352
- package/src/components/Button.ts +0 -963
- package/src/components/Divider.ts +0 -341
- package/src/components/EnhancedLink.ts +0 -676
- package/src/components/Form.ts +0 -414
- package/src/components/Grid.ts +0 -2507
- package/src/components/GridResponsive.ts +0 -637
- package/src/components/Image.ts +0 -426
- package/src/components/List.ts +0 -1084
- package/src/components/Menu.ts +0 -807
- package/src/components/Picker.ts +0 -678
- package/src/components/ScrollView.ts +0 -725
- package/src/components/Section.ts +0 -472
- package/src/components/Show.ts +0 -205
- package/src/components/Spacer.ts +0 -93
- package/src/components/Text.ts +0 -447
- package/src/components/Toggle.ts +0 -700
- package/src/components/index.ts +0 -231
- package/src/components/wrapper.ts +0 -828
- package/src/concatenation/concatenatable.ts +0 -211
- package/src/concatenation/concatenated-component.ts +0 -471
- package/src/concatenation/index.ts +0 -41
- package/src/concatenation/styles.css +0 -120
- package/src/concatenation/text-optimizer.ts +0 -440
- package/src/concatenation/types.ts +0 -116
- package/src/constants/README.md +0 -339
- package/src/constants/__tests__/frame-utils.test.ts +0 -276
- package/src/constants/__tests__/layout.test.ts +0 -215
- package/src/constants/frame-utils.ts +0 -174
- package/src/constants/index.ts +0 -8
- package/src/constants/layout.ts +0 -120
- package/src/css-classes/component-base.ts +0 -117
- package/src/css-classes/css-class-manager.ts +0 -372
- package/src/css-classes/dom-integration.ts +0 -162
- package/src/css-classes/enhanced-renderer.ts +0 -166
- package/src/css-classes/index.ts +0 -45
- package/src/css-classes/types.ts +0 -73
- package/src/css-classes/utilities.ts +0 -175
- package/src/debug/index.ts +0 -267
- package/src/developer-experience/enhanced-errors.ts +0 -556
- package/src/developer-experience/enhanced-types.ts +0 -427
- package/src/developer-experience/index.ts +0 -220
- package/src/globals.d.ts +0 -43
- package/src/gradients/__tests__/angular-gradient.test.ts +0 -111
- package/src/gradients/__tests__/background-modifier.test.ts +0 -81
- package/src/gradients/__tests__/comprehensive-gradients.test.ts +0 -296
- package/src/gradients/__tests__/gradient-asset.test.ts +0 -144
- package/src/gradients/__tests__/linear-gradient.test.ts +0 -92
- package/src/gradients/__tests__/phase4-features.test.ts +0 -386
- package/src/gradients/__tests__/radial-gradient.test.ts +0 -110
- package/src/gradients/__tests__/repeating-gradients.test.ts +0 -125
- package/src/gradients/__tests__/state-background-modifier.test.ts +0 -340
- package/src/gradients/__tests__/state-gradient-asset.test.ts +0 -262
- package/src/gradients/__tests__/state-gradient-integration.test.ts +0 -277
- package/src/gradients/css-generator.ts +0 -158
- package/src/gradients/examples.ts +0 -632
- package/src/gradients/gradient-asset.ts +0 -30
- package/src/gradients/index.ts +0 -85
- package/src/gradients/performance.ts +0 -521
- package/src/gradients/presets.ts +0 -422
- package/src/gradients/reactive.ts +0 -470
- package/src/gradients/state-gradient-asset.ts +0 -179
- package/src/gradients/types.ts +0 -148
- package/src/gradients/utils.ts +0 -579
- package/src/gradients/validation.ts +0 -489
- package/src/index.ts +0 -168
- package/src/lifecycle/hooks.ts +0 -332
- package/src/modifiers/__tests__/as-html-integration.test.ts +0 -204
- package/src/modifiers/__tests__/as-html.test.ts +0 -437
- package/src/modifiers/__tests__/basic-sanitizer-security.test.ts +0 -294
- package/src/modifiers/__tests__/border.test.ts +0 -371
- package/src/modifiers/__tests__/margin-string-support.test.ts +0 -41
- package/src/modifiers/__tests__/padding-string-support.test.ts +0 -41
- package/src/modifiers/as-html-validator.ts +0 -68
- package/src/modifiers/as-html.ts +0 -216
- package/src/modifiers/attributes.ts +0 -574
- package/src/modifiers/backdrop.ts +0 -290
- package/src/modifiers/background.ts +0 -165
- package/src/modifiers/base.ts +0 -1815
- package/src/modifiers/basic-sanitizer.ts +0 -227
- package/src/modifiers/border.ts +0 -574
- package/src/modifiers/builder.ts +0 -1747
- package/src/modifiers/core.ts +0 -521
- package/src/modifiers/css.ts +0 -148
- package/src/modifiers/effects.ts +0 -412
- package/src/modifiers/elements.ts +0 -541
- package/src/modifiers/filters.ts +0 -501
- package/src/modifiers/flexbox.ts +0 -180
- package/src/modifiers/font.ts +0 -149
- package/src/modifiers/grid.ts +0 -238
- package/src/modifiers/index.ts +0 -481
- package/src/modifiers/margin.ts +0 -218
- package/src/modifiers/padding.ts +0 -318
- package/src/modifiers/registry.ts +0 -444
- package/src/modifiers/responsive/__tests__/advanced-media-queries.test.ts +0 -392
- package/src/modifiers/responsive/__tests__/advanced-utilities.test.ts +0 -368
- package/src/modifiers/responsive/__tests__/comprehensive-browser-tests.test.ts +0 -556
- package/src/modifiers/responsive/__tests__/layout-patterns.test.ts +0 -558
- package/src/modifiers/responsive/advanced-utilities.ts +0 -562
- package/src/modifiers/responsive/breakpoints.ts +0 -330
- package/src/modifiers/responsive/css-generator.ts +0 -432
- package/src/modifiers/responsive/dev-tools.ts +0 -650
- package/src/modifiers/responsive/index.ts +0 -119
- package/src/modifiers/responsive/layout-patterns.ts +0 -592
- package/src/modifiers/responsive/performance.ts +0 -385
- package/src/modifiers/responsive/responsive-builder.ts +0 -620
- package/src/modifiers/responsive/responsive-modifier.ts +0 -410
- package/src/modifiers/responsive/types.ts +0 -226
- package/src/modifiers/responsive/utilities.ts +0 -478
- package/src/modifiers/scroll.ts +0 -297
- package/src/modifiers/shadows.ts +0 -321
- package/src/modifiers/size.ts +0 -208
- package/src/modifiers/text.ts +0 -416
- package/src/modifiers/transformations.ts +0 -640
- package/src/modifiers/transitions.ts +0 -218
- package/src/modifiers/types.ts +0 -889
- package/src/modifiers/typography.ts +0 -341
- package/src/modifiers/utility.ts +0 -209
- package/src/modifiers/utils.ts +0 -413
- package/src/plugins/__tests__/simplified-plugin-system.test.ts +0 -190
- package/src/plugins/component-loader-registry.ts +0 -371
- package/src/plugins/index.ts +0 -61
- package/src/plugins/legacy-adapter.ts +0 -84
- package/src/plugins/simplified-component-registry.ts +0 -130
- package/src/plugins/simplified-error-handler.ts +0 -372
- package/src/plugins/simplified-index.ts +0 -61
- package/src/plugins/simplified-lazy-loader.ts +0 -242
- package/src/plugins/simplified-plugin-manager.ts +0 -93
- package/src/plugins/simplified-tachui-instance.ts +0 -142
- package/src/plugins/simplified-types.ts +0 -79
- package/src/plugins/simplified-utils.ts +0 -118
- package/src/reactive/cleanup.ts +0 -241
- package/src/reactive/computed.ts +0 -281
- package/src/reactive/context.ts +0 -287
- package/src/reactive/effect.ts +0 -194
- package/src/reactive/enhanced-effect.ts +0 -318
- package/src/reactive/enhanced-signal.ts +0 -227
- package/src/reactive/equality.ts +0 -188
- package/src/reactive/globals.d.ts +0 -5
- package/src/reactive/index.ts +0 -150
- package/src/reactive/migration.ts +0 -335
- package/src/reactive/ownership.ts +0 -182
- package/src/reactive/scheduler.ts +0 -300
- package/src/reactive/signal.ts +0 -201
- package/src/reactive/theme.ts +0 -49
- package/src/reactive/types.ts +0 -103
- package/src/reactive/unified-scheduler.ts +0 -357
- package/src/runtime/component-context.ts +0 -343
- package/src/runtime/component.ts +0 -499
- package/src/runtime/context.ts +0 -527
- package/src/runtime/dev-tools.ts +0 -752
- package/src/runtime/development-warnings.ts +0 -114
- package/src/runtime/dom-bridge.ts +0 -570
- package/src/runtime/element-override.ts +0 -282
- package/src/runtime/error-boundary.ts +0 -955
- package/src/runtime/error-recovery.ts +0 -638
- package/src/runtime/error-reporting.ts +0 -808
- package/src/runtime/error-utils.ts +0 -698
- package/src/runtime/index.ts +0 -202
- package/src/runtime/lazy-component.ts +0 -268
- package/src/runtime/lifecycle.ts +0 -10
- package/src/runtime/mounting.ts +0 -17
- package/src/runtime/optimization.ts +0 -13
- package/src/runtime/performance.ts +0 -693
- package/src/runtime/props.ts +0 -434
- package/src/runtime/refs.ts +0 -13
- package/src/runtime/renderer.ts +0 -674
- package/src/runtime/semantic-role-manager.ts +0 -140
- package/src/runtime/types.ts +0 -282
- package/src/state/binding.ts +0 -381
- package/src/state/environment-object.ts +0 -444
- package/src/state/environment.ts +0 -351
- package/src/state/index.ts +0 -179
- package/src/state/observed-object.ts +0 -405
- package/src/state/state-manager.ts +0 -366
- package/src/state/state.ts +0 -339
- package/src/state/types.ts +0 -192
- package/src/sui-compat.ts +0 -163
- package/src/validation/__tests__/phase-1d-integration.test.ts +0 -558
- package/src/validation/advanced-debugging.ts +0 -860
- package/src/validation/build-time/detection.ts +0 -373
- package/src/validation/build-time/index.ts +0 -222
- package/src/validation/build-time/plugins.ts +0 -515
- package/src/validation/build-time/rules.ts +0 -624
- package/src/validation/build-time/transformer.ts +0 -372
- package/src/validation/build-time/types.ts +0 -232
- package/src/validation/comprehensive.ts +0 -1272
- package/src/validation/debug-tools.ts +0 -724
- package/src/validation/developer-experience.ts +0 -712
- package/src/validation/documentation-integration.ts +0 -835
- package/src/validation/enhanced-runtime.ts +0 -765
- package/src/validation/error-reporting.ts +0 -587
- package/src/validation/ide-integration.ts +0 -845
- package/src/validation/index.ts +0 -353
- package/src/validation/lifecycle-validation.ts +0 -636
- package/src/validation/performance-optimizer.ts +0 -599
- package/src/validation/plugin-registration.ts +0 -249
- package/src/validation/production-bypass.ts +0 -466
- package/src/validation/simple.ts +0 -465
- package/src/viewport/adapters/web-adapter.ts +0 -1385
- package/src/viewport/components.ts +0 -505
- package/src/viewport/environment.ts +0 -173
- package/src/viewport/index.ts +0 -290
- package/src/viewport/platform-detection.ts +0 -431
- package/src/viewport/types.ts +0 -371
- package/src/viewport/viewport-manager.ts +0 -979
|
@@ -1,916 +0,0 @@
|
|
|
1
|
-
import "../reactive/cleanup.js";
|
|
2
|
-
import "../reactive/unified-scheduler.js";
|
|
3
|
-
import { isSignal as h } from "../reactive/signal.js";
|
|
4
|
-
import "../reactive/scheduler.js";
|
|
5
|
-
import "../reactive/theme.js";
|
|
6
|
-
class o extends Error {
|
|
7
|
-
constructor(t, n) {
|
|
8
|
-
super(t), this.context = n, this.name = "TachUIValidationError";
|
|
9
|
-
}
|
|
10
|
-
getFormattedMessage() {
|
|
11
|
-
const { component: t, suggestion: n, example: i, documentation: c, package: a } = this.context;
|
|
12
|
-
let u = `❌ ${a ? `[@tachui/${a}]` : "[Core]"} ${t} Component Error: ${this.message}
|
|
13
|
-
`;
|
|
14
|
-
return n && (u += `
|
|
15
|
-
💡 Suggestion: ${n}
|
|
16
|
-
`), i && (u += `
|
|
17
|
-
❌ Wrong: ${i.wrong}`, u += `
|
|
18
|
-
✅ Correct: ${i.correct}
|
|
19
|
-
`), c && (u += `
|
|
20
|
-
📚 Documentation: ${c}`), u;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
let r = {
|
|
24
|
-
enabled: process.env.NODE_ENV !== "production",
|
|
25
|
-
strictMode: !1,
|
|
26
|
-
errorLevel: "error",
|
|
27
|
-
excludeFiles: [],
|
|
28
|
-
packages: {
|
|
29
|
-
core: !0,
|
|
30
|
-
forms: !0,
|
|
31
|
-
navigation: !0,
|
|
32
|
-
symbols: !0,
|
|
33
|
-
plugins: !0
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
function g(e) {
|
|
37
|
-
r = { ...r, ...e };
|
|
38
|
-
}
|
|
39
|
-
function s() {
|
|
40
|
-
return r.enabled && process.env.NODE_ENV !== "production";
|
|
41
|
-
}
|
|
42
|
-
const f = {
|
|
43
|
-
// Text Component
|
|
44
|
-
validateText(e) {
|
|
45
|
-
if (!s() || !r.packages.core) return;
|
|
46
|
-
if (e.length === 0)
|
|
47
|
-
throw new o("Text component requires a content parameter", {
|
|
48
|
-
component: "Text",
|
|
49
|
-
suggestion: 'Add a content parameter: Text("Hello World")',
|
|
50
|
-
documentation: "https://docs.tachui.dev/components/text",
|
|
51
|
-
example: {
|
|
52
|
-
wrong: "Text()",
|
|
53
|
-
correct: 'Text("Hello World")'
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
const [t] = e;
|
|
57
|
-
if (t == null)
|
|
58
|
-
throw new o("Text content cannot be undefined or null", {
|
|
59
|
-
component: "Text",
|
|
60
|
-
suggestion: "Provide a valid string, function, or Signal",
|
|
61
|
-
example: {
|
|
62
|
-
wrong: "Text(null)",
|
|
63
|
-
correct: 'Text("Hello World")'
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
const n = typeof t;
|
|
67
|
-
if (!(n === "string" || n === "function" || h(t)))
|
|
68
|
-
throw new o(`Text content must be a string, function, or Signal. Received: ${n}`, {
|
|
69
|
-
component: "Text",
|
|
70
|
-
suggestion: "Use a string literal, function, or reactive signal",
|
|
71
|
-
example: {
|
|
72
|
-
wrong: "Text(123)",
|
|
73
|
-
correct: 'Text("Hello World")'
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
},
|
|
77
|
-
// Button Component
|
|
78
|
-
validateButton(e) {
|
|
79
|
-
if (!s() || !r.packages.core) return;
|
|
80
|
-
if (e.length === 0)
|
|
81
|
-
throw new o("Button component requires a title parameter", {
|
|
82
|
-
component: "Button",
|
|
83
|
-
suggestion: 'Add a title parameter: Button("Click me", () => {})',
|
|
84
|
-
documentation: "https://docs.tachui.dev/components/button",
|
|
85
|
-
example: {
|
|
86
|
-
wrong: "Button()",
|
|
87
|
-
correct: 'Button("Click me", () => {})'
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
const [t, n] = e;
|
|
91
|
-
if (t == null)
|
|
92
|
-
throw new o("Button title cannot be undefined or null", {
|
|
93
|
-
component: "Button",
|
|
94
|
-
suggestion: "Provide a valid string, function, or Signal",
|
|
95
|
-
example: {
|
|
96
|
-
wrong: "Button(null)",
|
|
97
|
-
correct: 'Button("Click me")'
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
const i = typeof t;
|
|
101
|
-
if (!(i === "string" || i === "function" || h(t)))
|
|
102
|
-
throw new o(`Button title must be a string, function, or Signal. Received: ${i}`, {
|
|
103
|
-
component: "Button",
|
|
104
|
-
suggestion: "Use a string literal, function, or reactive signal",
|
|
105
|
-
example: {
|
|
106
|
-
wrong: "Button(123)",
|
|
107
|
-
correct: 'Button("Click me")'
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
n === void 0 && e.length === 1 && r.errorLevel !== "error" && console.warn("⚠️ Button without action may not be interactive. Consider adding an action parameter.");
|
|
111
|
-
},
|
|
112
|
-
// Image Component
|
|
113
|
-
validateImage(e) {
|
|
114
|
-
if (!s() || !r.packages.core) return;
|
|
115
|
-
if (e.length === 0)
|
|
116
|
-
throw new o("Image component requires a source parameter", {
|
|
117
|
-
component: "Image",
|
|
118
|
-
suggestion: 'Add a source parameter: Image({ source: "image.jpg" })',
|
|
119
|
-
documentation: "https://docs.tachui.dev/components/image",
|
|
120
|
-
example: {
|
|
121
|
-
wrong: "Image()",
|
|
122
|
-
correct: 'Image({ source: "image.jpg" })'
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
const [t] = e;
|
|
126
|
-
if (!t || typeof t != "object")
|
|
127
|
-
throw new o("Image requires a props object", {
|
|
128
|
-
component: "Image",
|
|
129
|
-
suggestion: "Pass a props object with source property",
|
|
130
|
-
example: {
|
|
131
|
-
wrong: 'Image("image.jpg")',
|
|
132
|
-
correct: 'Image({ source: "image.jpg" })'
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
if (!t.source)
|
|
136
|
-
throw new o("Image source property is required", {
|
|
137
|
-
component: "Image",
|
|
138
|
-
suggestion: "Provide a valid image source URL or path",
|
|
139
|
-
example: {
|
|
140
|
-
wrong: 'Image({ alt: "description" })',
|
|
141
|
-
correct: 'Image({ source: "image.jpg", alt: "description" })'
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
},
|
|
145
|
-
// Toggle Component
|
|
146
|
-
validateToggle(e) {
|
|
147
|
-
if (!s() || !r.packages.core) return;
|
|
148
|
-
if (e.length === 0)
|
|
149
|
-
throw new o("Toggle component requires an isOn parameter", {
|
|
150
|
-
component: "Toggle",
|
|
151
|
-
suggestion: "Add an isOn parameter: Toggle({ isOn: signal })",
|
|
152
|
-
documentation: "https://docs.tachui.dev/components/toggle",
|
|
153
|
-
example: {
|
|
154
|
-
wrong: "Toggle()",
|
|
155
|
-
correct: "Toggle({ isOn: isEnabled })"
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
const [t] = e;
|
|
159
|
-
if (!t || typeof t != "object")
|
|
160
|
-
throw new o("Toggle requires a props object", {
|
|
161
|
-
component: "Toggle",
|
|
162
|
-
suggestion: "Pass a props object with isOn property",
|
|
163
|
-
example: {
|
|
164
|
-
wrong: "Toggle(true)",
|
|
165
|
-
correct: "Toggle({ isOn: true })"
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
if (t.isOn === void 0)
|
|
169
|
-
throw new o("Toggle isOn property is required", {
|
|
170
|
-
component: "Toggle",
|
|
171
|
-
suggestion: "Provide a boolean value or Signal for isOn",
|
|
172
|
-
example: {
|
|
173
|
-
wrong: "Toggle({ onToggle: handler })",
|
|
174
|
-
correct: "Toggle({ isOn: true, onToggle: handler })"
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
},
|
|
178
|
-
// Slider Component
|
|
179
|
-
validateSlider(e) {
|
|
180
|
-
if (!s() || !r.packages.core) return;
|
|
181
|
-
if (e.length === 0)
|
|
182
|
-
throw new o("Slider component requires a value parameter", {
|
|
183
|
-
component: "Slider",
|
|
184
|
-
suggestion: "Add a value parameter: Slider({ value: signal })",
|
|
185
|
-
documentation: "https://docs.tachui.dev/components/slider",
|
|
186
|
-
example: {
|
|
187
|
-
wrong: "Slider()",
|
|
188
|
-
correct: "Slider({ value: sliderValue })"
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
const [t] = e;
|
|
192
|
-
if (!t || typeof t != "object")
|
|
193
|
-
throw new o("Slider requires a props object", {
|
|
194
|
-
component: "Slider",
|
|
195
|
-
suggestion: "Pass a props object with value property",
|
|
196
|
-
example: {
|
|
197
|
-
wrong: "Slider(50)",
|
|
198
|
-
correct: "Slider({ value: 50 })"
|
|
199
|
-
}
|
|
200
|
-
});
|
|
201
|
-
if (t.value === void 0)
|
|
202
|
-
throw new o("Slider value property is required", {
|
|
203
|
-
component: "Slider",
|
|
204
|
-
suggestion: "Provide a numeric value or Signal for value",
|
|
205
|
-
example: {
|
|
206
|
-
wrong: "Slider({ min: 0, max: 100 })",
|
|
207
|
-
correct: "Slider({ value: 50, min: 0, max: 100 })"
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
},
|
|
211
|
-
// Picker Component
|
|
212
|
-
validatePicker(e) {
|
|
213
|
-
if (!s() || !r.packages.core) return;
|
|
214
|
-
if (e.length === 0)
|
|
215
|
-
throw new o("Picker component requires options parameter", {
|
|
216
|
-
component: "Picker",
|
|
217
|
-
suggestion: 'Add options parameter: Picker({ options: ["Option 1", "Option 2"] })',
|
|
218
|
-
documentation: "https://docs.tachui.dev/components/picker",
|
|
219
|
-
example: {
|
|
220
|
-
wrong: "Picker()",
|
|
221
|
-
correct: 'Picker({ options: ["Red", "Green", "Blue"] })'
|
|
222
|
-
}
|
|
223
|
-
});
|
|
224
|
-
const [t] = e;
|
|
225
|
-
if (!t || typeof t != "object")
|
|
226
|
-
throw new o("Picker requires a props object", {
|
|
227
|
-
component: "Picker",
|
|
228
|
-
suggestion: "Pass a props object with options array",
|
|
229
|
-
example: {
|
|
230
|
-
wrong: 'Picker(["Option 1", "Option 2"])',
|
|
231
|
-
correct: 'Picker({ options: ["Option 1", "Option 2"] })'
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
const n = t;
|
|
235
|
-
if (!Array.isArray(n.options))
|
|
236
|
-
throw new o("Picker options must be an array", {
|
|
237
|
-
component: "Picker",
|
|
238
|
-
suggestion: "Provide an array of options",
|
|
239
|
-
example: {
|
|
240
|
-
wrong: 'Picker({ options: "Option 1" })',
|
|
241
|
-
correct: 'Picker({ options: ["Option 1", "Option 2"] })'
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
},
|
|
245
|
-
// Layout Components (VStack, HStack, ZStack)
|
|
246
|
-
validateStack(e, t) {
|
|
247
|
-
if (!s() || !r.packages.core) return;
|
|
248
|
-
if (t.length === 0)
|
|
249
|
-
throw new o(`${e} component requires a props object with children array`, {
|
|
250
|
-
component: e,
|
|
251
|
-
suggestion: `Add children: ${e}({ children: [Text("Hello")] })`,
|
|
252
|
-
documentation: "https://docs.tachui.dev/components/layout",
|
|
253
|
-
example: {
|
|
254
|
-
wrong: `${e}()`,
|
|
255
|
-
correct: `${e}({ children: [Text("Hello")] })`
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
const [n] = t;
|
|
259
|
-
if (!n || typeof n != "object")
|
|
260
|
-
throw new o(`${e} requires a props object`, {
|
|
261
|
-
component: e,
|
|
262
|
-
suggestion: "Pass a props object with children array",
|
|
263
|
-
example: {
|
|
264
|
-
wrong: `${e}("invalid")`,
|
|
265
|
-
correct: `${e}({ children: [Text("Hello")] })`
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
const i = n;
|
|
269
|
-
if (!Array.isArray(i.children))
|
|
270
|
-
throw new o(`${e} children must be an array`, {
|
|
271
|
-
component: e,
|
|
272
|
-
suggestion: "Provide an array of components",
|
|
273
|
-
example: {
|
|
274
|
-
wrong: `${e}({ children: Text("Hello") })`,
|
|
275
|
-
correct: `${e}({ children: [Text("Hello")] })`
|
|
276
|
-
}
|
|
277
|
-
});
|
|
278
|
-
},
|
|
279
|
-
// List Component
|
|
280
|
-
validateList(e) {
|
|
281
|
-
if (!s() || !r.packages.core) return;
|
|
282
|
-
if (e.length === 0)
|
|
283
|
-
throw new o("List component requires a props object with data array", {
|
|
284
|
-
component: "List",
|
|
285
|
-
suggestion: "Add data: List({ data: items, renderItem: (item) => Text(item) })",
|
|
286
|
-
documentation: "https://docs.tachui.dev/components/list",
|
|
287
|
-
example: {
|
|
288
|
-
wrong: "List()",
|
|
289
|
-
correct: "List({ data: items, renderItem: (item) => Text(item) })"
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
const [t] = e;
|
|
293
|
-
if (!t || typeof t != "object")
|
|
294
|
-
throw new o("List requires a props object", {
|
|
295
|
-
component: "List",
|
|
296
|
-
suggestion: "Pass a props object with data and renderItem",
|
|
297
|
-
example: {
|
|
298
|
-
wrong: "List(items)",
|
|
299
|
-
correct: "List({ data: items, renderItem: (item) => Text(item) })"
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
const n = t;
|
|
303
|
-
if (!Array.isArray(n.data) && !h(n.data))
|
|
304
|
-
throw new o("List data must be an array or Signal", {
|
|
305
|
-
component: "List",
|
|
306
|
-
suggestion: "Provide an array of items or reactive Signal",
|
|
307
|
-
example: {
|
|
308
|
-
wrong: 'List({ data: "invalid", renderItem: fn })',
|
|
309
|
-
correct: "List({ data: [1, 2, 3], renderItem: fn })"
|
|
310
|
-
}
|
|
311
|
-
});
|
|
312
|
-
if (typeof n.renderItem != "function")
|
|
313
|
-
throw new o("List renderItem must be a function", {
|
|
314
|
-
component: "List",
|
|
315
|
-
suggestion: "Provide a function that renders each item",
|
|
316
|
-
example: {
|
|
317
|
-
wrong: 'List({ data: items, renderItem: "invalid" })',
|
|
318
|
-
correct: "List({ data: items, renderItem: (item) => Text(item) })"
|
|
319
|
-
}
|
|
320
|
-
});
|
|
321
|
-
},
|
|
322
|
-
// ScrollView Component
|
|
323
|
-
validateScrollView(e) {
|
|
324
|
-
if (!s() || !r.packages.core) return;
|
|
325
|
-
if (e.length === 0)
|
|
326
|
-
throw new o("ScrollView component requires a props object with children", {
|
|
327
|
-
component: "ScrollView",
|
|
328
|
-
suggestion: "Add children: ScrollView({ children: [content] })",
|
|
329
|
-
documentation: "https://docs.tachui.dev/components/scrollview",
|
|
330
|
-
example: {
|
|
331
|
-
wrong: "ScrollView()",
|
|
332
|
-
correct: "ScrollView({ children: [VStack({ children: items })] })"
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
const [t] = e;
|
|
336
|
-
if (!t || typeof t != "object")
|
|
337
|
-
throw new o("ScrollView requires a props object", {
|
|
338
|
-
component: "ScrollView",
|
|
339
|
-
suggestion: "Pass a props object with children",
|
|
340
|
-
example: {
|
|
341
|
-
wrong: "ScrollView(content)",
|
|
342
|
-
correct: "ScrollView({ children: [content] })"
|
|
343
|
-
}
|
|
344
|
-
});
|
|
345
|
-
},
|
|
346
|
-
// Alert Component
|
|
347
|
-
validateAlert(e) {
|
|
348
|
-
if (!s() || !r.packages.core) return;
|
|
349
|
-
if (e.length === 0)
|
|
350
|
-
throw new o("Alert component requires a props object with title", {
|
|
351
|
-
component: "Alert",
|
|
352
|
-
suggestion: 'Add title: Alert({ title: "Warning", message: "Are you sure?" })',
|
|
353
|
-
documentation: "https://docs.tachui.dev/components/alert",
|
|
354
|
-
example: {
|
|
355
|
-
wrong: "Alert()",
|
|
356
|
-
correct: 'Alert({ title: "Warning", message: "Continue?" })'
|
|
357
|
-
}
|
|
358
|
-
});
|
|
359
|
-
const [t] = e;
|
|
360
|
-
if (!t || typeof t != "object")
|
|
361
|
-
throw new o("Alert requires a props object", {
|
|
362
|
-
component: "Alert",
|
|
363
|
-
suggestion: "Pass a props object with title and message",
|
|
364
|
-
example: {
|
|
365
|
-
wrong: 'Alert("Warning")',
|
|
366
|
-
correct: 'Alert({ title: "Warning", message: "Continue?" })'
|
|
367
|
-
}
|
|
368
|
-
});
|
|
369
|
-
if (!t.title)
|
|
370
|
-
throw new o("Alert title property is required", {
|
|
371
|
-
component: "Alert",
|
|
372
|
-
suggestion: "Provide a title for the alert",
|
|
373
|
-
example: {
|
|
374
|
-
wrong: 'Alert({ message: "Continue?" })',
|
|
375
|
-
correct: 'Alert({ title: "Warning", message: "Continue?" })'
|
|
376
|
-
}
|
|
377
|
-
});
|
|
378
|
-
},
|
|
379
|
-
// Menu Component
|
|
380
|
-
validateMenu(e) {
|
|
381
|
-
if (!s() || !r.packages.core) return;
|
|
382
|
-
if (e.length === 0)
|
|
383
|
-
throw new o("Menu component requires a props object with items", {
|
|
384
|
-
component: "Menu",
|
|
385
|
-
suggestion: 'Add items: Menu({ items: [{ title: "Item 1", action: () => {} }] })',
|
|
386
|
-
documentation: "https://docs.tachui.dev/components/menu",
|
|
387
|
-
example: {
|
|
388
|
-
wrong: "Menu()",
|
|
389
|
-
correct: 'Menu({ items: [{ title: "Edit", action: editAction }] })'
|
|
390
|
-
}
|
|
391
|
-
});
|
|
392
|
-
const [t] = e;
|
|
393
|
-
if (!t || typeof t != "object")
|
|
394
|
-
throw new o("Menu requires a props object", {
|
|
395
|
-
component: "Menu",
|
|
396
|
-
suggestion: "Pass a props object with items array",
|
|
397
|
-
example: {
|
|
398
|
-
wrong: "Menu(items)",
|
|
399
|
-
correct: "Menu({ items: menuItems })"
|
|
400
|
-
}
|
|
401
|
-
});
|
|
402
|
-
const n = t;
|
|
403
|
-
if (!Array.isArray(n.items))
|
|
404
|
-
throw new o("Menu items must be an array", {
|
|
405
|
-
component: "Menu",
|
|
406
|
-
suggestion: "Provide an array of menu items",
|
|
407
|
-
example: {
|
|
408
|
-
wrong: 'Menu({ items: "invalid" })',
|
|
409
|
-
correct: 'Menu({ items: [{ title: "Edit", action: editAction }] })'
|
|
410
|
-
}
|
|
411
|
-
});
|
|
412
|
-
},
|
|
413
|
-
// DatePicker Component
|
|
414
|
-
validateDatePicker(e) {
|
|
415
|
-
if (!s() || !r.packages.core) return;
|
|
416
|
-
if (e.length === 0)
|
|
417
|
-
throw new o("DatePicker component requires a props object with value", {
|
|
418
|
-
component: "DatePicker",
|
|
419
|
-
suggestion: "Add value: DatePicker({ value: dateSignal })",
|
|
420
|
-
documentation: "https://docs.tachui.dev/components/datepicker",
|
|
421
|
-
example: {
|
|
422
|
-
wrong: "DatePicker()",
|
|
423
|
-
correct: 'DatePicker({ value: dateSignal, displayStyle: "compact" })'
|
|
424
|
-
}
|
|
425
|
-
});
|
|
426
|
-
const [t] = e;
|
|
427
|
-
if (!t || typeof t != "object")
|
|
428
|
-
throw new o("DatePicker requires a props object", {
|
|
429
|
-
component: "DatePicker",
|
|
430
|
-
suggestion: "Pass a props object with value property",
|
|
431
|
-
example: {
|
|
432
|
-
wrong: "DatePicker(new Date())",
|
|
433
|
-
correct: "DatePicker({ value: dateSignal })"
|
|
434
|
-
}
|
|
435
|
-
});
|
|
436
|
-
if (t.value === void 0)
|
|
437
|
-
throw new o("DatePicker value property is required", {
|
|
438
|
-
component: "DatePicker",
|
|
439
|
-
suggestion: "Provide a Date value or Signal for value",
|
|
440
|
-
example: {
|
|
441
|
-
wrong: 'DatePicker({ displayStyle: "compact" })',
|
|
442
|
-
correct: 'DatePicker({ value: dateSignal, displayStyle: "compact" })'
|
|
443
|
-
}
|
|
444
|
-
});
|
|
445
|
-
},
|
|
446
|
-
// ActionSheet Component
|
|
447
|
-
validateActionSheet(e) {
|
|
448
|
-
if (!s() || !r.packages.core) return;
|
|
449
|
-
if (e.length === 0)
|
|
450
|
-
throw new o("ActionSheet component requires a props object with buttons", {
|
|
451
|
-
component: "ActionSheet",
|
|
452
|
-
suggestion: 'Add buttons: ActionSheet({ buttons: [{ title: "Action", action: () => {} }] })',
|
|
453
|
-
documentation: "https://docs.tachui.dev/components/actionsheet",
|
|
454
|
-
example: {
|
|
455
|
-
wrong: "ActionSheet()",
|
|
456
|
-
correct: 'ActionSheet({ buttons: [{ title: "Delete", role: "destructive", action: deleteAction }] })'
|
|
457
|
-
}
|
|
458
|
-
});
|
|
459
|
-
const [t] = e;
|
|
460
|
-
if (!t || typeof t != "object")
|
|
461
|
-
throw new o("ActionSheet requires a props object", {
|
|
462
|
-
component: "ActionSheet",
|
|
463
|
-
suggestion: "Pass a props object with buttons array",
|
|
464
|
-
example: {
|
|
465
|
-
wrong: "ActionSheet(buttons)",
|
|
466
|
-
correct: "ActionSheet({ buttons: buttonsArray })"
|
|
467
|
-
}
|
|
468
|
-
});
|
|
469
|
-
const n = t;
|
|
470
|
-
if (!Array.isArray(n.buttons))
|
|
471
|
-
throw new o("ActionSheet buttons must be an array", {
|
|
472
|
-
component: "ActionSheet",
|
|
473
|
-
suggestion: "Provide an array of button objects",
|
|
474
|
-
example: {
|
|
475
|
-
wrong: 'ActionSheet({ buttons: { title: "Action" } })',
|
|
476
|
-
correct: 'ActionSheet({ buttons: [{ title: "Action", action: actionHandler }] })'
|
|
477
|
-
}
|
|
478
|
-
});
|
|
479
|
-
},
|
|
480
|
-
// Divider Component
|
|
481
|
-
validateDivider(e) {
|
|
482
|
-
if (!(!s() || !r.packages.core) && e.length > 0) {
|
|
483
|
-
const [t] = e;
|
|
484
|
-
if (t !== null && typeof t != "object")
|
|
485
|
-
throw new o("Divider props must be an object if provided", {
|
|
486
|
-
component: "Divider",
|
|
487
|
-
suggestion: "Pass an object or no arguments",
|
|
488
|
-
example: {
|
|
489
|
-
wrong: 'Divider("invalid")',
|
|
490
|
-
correct: "Divider() or Divider({ thickness: 2 })"
|
|
491
|
-
}
|
|
492
|
-
});
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
// Spacer Component
|
|
496
|
-
validateSpacer(e) {
|
|
497
|
-
if (!(!s() || !r.packages.core) && e.length > 0) {
|
|
498
|
-
const [t] = e;
|
|
499
|
-
if (t != null && typeof t != "object")
|
|
500
|
-
throw new o("Spacer props must be an object if provided", {
|
|
501
|
-
component: "Spacer",
|
|
502
|
-
suggestion: "Pass an object with minLength property or no arguments",
|
|
503
|
-
example: {
|
|
504
|
-
wrong: "Spacer(20)",
|
|
505
|
-
correct: "Spacer() or Spacer({ minLength: 20 })"
|
|
506
|
-
}
|
|
507
|
-
});
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
// Section Component
|
|
511
|
-
validateSection(e) {
|
|
512
|
-
if (!s() || !r.packages.core) return;
|
|
513
|
-
if (e.length === 0)
|
|
514
|
-
throw new o("Section component requires a props object with children", {
|
|
515
|
-
component: "Section",
|
|
516
|
-
suggestion: "Add children: Section({ children: [content] })",
|
|
517
|
-
documentation: "https://docs.tachui.dev/components/section",
|
|
518
|
-
example: {
|
|
519
|
-
wrong: "Section()",
|
|
520
|
-
correct: 'Section({ children: [Text("Section content")] })'
|
|
521
|
-
}
|
|
522
|
-
});
|
|
523
|
-
const [t] = e;
|
|
524
|
-
if (!t || typeof t != "object")
|
|
525
|
-
throw new o("Section requires a props object", {
|
|
526
|
-
component: "Section",
|
|
527
|
-
suggestion: "Pass a props object with children",
|
|
528
|
-
example: {
|
|
529
|
-
wrong: "Section(content)",
|
|
530
|
-
correct: "Section({ children: [content] })"
|
|
531
|
-
}
|
|
532
|
-
});
|
|
533
|
-
},
|
|
534
|
-
// Show Component (Conditional Rendering)
|
|
535
|
-
validateShow(e) {
|
|
536
|
-
if (!s() || !r.packages.core) return;
|
|
537
|
-
if (e.length === 0)
|
|
538
|
-
throw new o("Show component requires a props object with when condition", {
|
|
539
|
-
component: "Show",
|
|
540
|
-
suggestion: "Add when condition: Show({ when: condition, children: [content] })",
|
|
541
|
-
documentation: "https://docs.tachui.dev/components/show",
|
|
542
|
-
example: {
|
|
543
|
-
wrong: "Show()",
|
|
544
|
-
correct: 'Show({ when: isVisible, children: [Text("Visible")] })'
|
|
545
|
-
}
|
|
546
|
-
});
|
|
547
|
-
const [t] = e;
|
|
548
|
-
if (!t || typeof t != "object")
|
|
549
|
-
throw new o("Show requires a props object", {
|
|
550
|
-
component: "Show",
|
|
551
|
-
suggestion: "Pass a props object with when condition",
|
|
552
|
-
example: {
|
|
553
|
-
wrong: "Show(condition)",
|
|
554
|
-
correct: "Show({ when: condition, children: [content] })"
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
if (t.when === void 0)
|
|
558
|
-
throw new o("Show when property is required", {
|
|
559
|
-
component: "Show",
|
|
560
|
-
suggestion: "Provide a boolean condition for when",
|
|
561
|
-
example: {
|
|
562
|
-
wrong: "Show({ children: [content] })",
|
|
563
|
-
correct: "Show({ when: isVisible, children: [content] })"
|
|
564
|
-
}
|
|
565
|
-
});
|
|
566
|
-
},
|
|
567
|
-
// Link Component
|
|
568
|
-
validateLink(e) {
|
|
569
|
-
if (!s() || !r.packages.core) return;
|
|
570
|
-
if (e.length === 0)
|
|
571
|
-
throw new o("Link component requires a props object with href", {
|
|
572
|
-
component: "Link",
|
|
573
|
-
suggestion: 'Add href: Link({ href: "/path", children: [Text("Click here")] })',
|
|
574
|
-
documentation: "https://docs.tachui.dev/components/link",
|
|
575
|
-
example: {
|
|
576
|
-
wrong: "Link()",
|
|
577
|
-
correct: 'Link({ href: "/about", children: [Text("About")] })'
|
|
578
|
-
}
|
|
579
|
-
});
|
|
580
|
-
const [t] = e;
|
|
581
|
-
if (!t || typeof t != "object")
|
|
582
|
-
throw new o("Link requires a props object", {
|
|
583
|
-
component: "Link",
|
|
584
|
-
suggestion: "Pass a props object with href property",
|
|
585
|
-
example: {
|
|
586
|
-
wrong: 'Link("/path")',
|
|
587
|
-
correct: 'Link({ href: "/path", children: [Text("Link")] })'
|
|
588
|
-
}
|
|
589
|
-
});
|
|
590
|
-
if (!t.href)
|
|
591
|
-
throw new o("Link href property is required", {
|
|
592
|
-
component: "Link",
|
|
593
|
-
suggestion: "Provide a valid URL or path for href",
|
|
594
|
-
example: {
|
|
595
|
-
wrong: 'Link({ children: [Text("Link")] })',
|
|
596
|
-
correct: 'Link({ href: "/about", children: [Text("About")] })'
|
|
597
|
-
}
|
|
598
|
-
});
|
|
599
|
-
},
|
|
600
|
-
// Stepper Component
|
|
601
|
-
validateStepper(e) {
|
|
602
|
-
if (!s() || !r.packages.core) return;
|
|
603
|
-
if (e.length === 0)
|
|
604
|
-
throw new o("Stepper component requires a props object with value", {
|
|
605
|
-
component: "Stepper",
|
|
606
|
-
suggestion: "Add value: Stepper({ value: numberSignal })",
|
|
607
|
-
documentation: "https://docs.tachui.dev/components/stepper",
|
|
608
|
-
example: {
|
|
609
|
-
wrong: "Stepper()",
|
|
610
|
-
correct: "Stepper({ value: numberSignal, step: 1 })"
|
|
611
|
-
}
|
|
612
|
-
});
|
|
613
|
-
const [t] = e;
|
|
614
|
-
if (!t || typeof t != "object")
|
|
615
|
-
throw new o("Stepper requires a props object", {
|
|
616
|
-
component: "Stepper",
|
|
617
|
-
suggestion: "Pass a props object with value property",
|
|
618
|
-
example: {
|
|
619
|
-
wrong: "Stepper(5)",
|
|
620
|
-
correct: "Stepper({ value: 5, step: 1 })"
|
|
621
|
-
}
|
|
622
|
-
});
|
|
623
|
-
if (t.value === void 0)
|
|
624
|
-
throw new o("Stepper value property is required", {
|
|
625
|
-
component: "Stepper",
|
|
626
|
-
suggestion: "Provide a numeric value or Signal for value",
|
|
627
|
-
example: {
|
|
628
|
-
wrong: "Stepper({ step: 1 })",
|
|
629
|
-
correct: "Stepper({ value: numberSignal, step: 1 })"
|
|
630
|
-
}
|
|
631
|
-
});
|
|
632
|
-
},
|
|
633
|
-
// BasicInput Component
|
|
634
|
-
validateBasicInput(e) {
|
|
635
|
-
if (!s() || !r.packages.core) return;
|
|
636
|
-
if (e.length === 0)
|
|
637
|
-
throw new o("BasicInput component requires a props object with value", {
|
|
638
|
-
component: "BasicInput",
|
|
639
|
-
suggestion: "Add value: BasicInput({ value: textSignal })",
|
|
640
|
-
documentation: "https://docs.tachui.dev/components/basicinput",
|
|
641
|
-
example: {
|
|
642
|
-
wrong: "BasicInput()",
|
|
643
|
-
correct: 'BasicInput({ value: textSignal, placeholder: "Enter text" })'
|
|
644
|
-
}
|
|
645
|
-
});
|
|
646
|
-
const [t] = e;
|
|
647
|
-
if (!t || typeof t != "object")
|
|
648
|
-
throw new o("BasicInput requires a props object", {
|
|
649
|
-
component: "BasicInput",
|
|
650
|
-
suggestion: "Pass a props object with value property",
|
|
651
|
-
example: {
|
|
652
|
-
wrong: 'BasicInput("text")',
|
|
653
|
-
correct: "BasicInput({ value: textSignal })"
|
|
654
|
-
}
|
|
655
|
-
});
|
|
656
|
-
if (t.value === void 0)
|
|
657
|
-
throw new o("BasicInput value property is required", {
|
|
658
|
-
component: "BasicInput",
|
|
659
|
-
suggestion: "Provide a value for the input field",
|
|
660
|
-
example: {
|
|
661
|
-
wrong: 'BasicInput({ placeholder: "Enter text" })',
|
|
662
|
-
correct: 'BasicInput({ value: textSignal, placeholder: "Enter text" })'
|
|
663
|
-
}
|
|
664
|
-
});
|
|
665
|
-
},
|
|
666
|
-
// BasicForm Component (Core)
|
|
667
|
-
validateBasicForm(e) {
|
|
668
|
-
if (!s() || !r.packages.core) return;
|
|
669
|
-
if (e.length === 0)
|
|
670
|
-
throw new o("BasicForm component requires children array", {
|
|
671
|
-
component: "BasicForm",
|
|
672
|
-
suggestion: "Add children: BasicForm([formFields])",
|
|
673
|
-
documentation: "https://docs.tachui.dev/components/basicform",
|
|
674
|
-
example: {
|
|
675
|
-
wrong: "BasicForm()",
|
|
676
|
-
correct: 'BasicForm([BasicInput({}), Button("Submit")])'
|
|
677
|
-
}
|
|
678
|
-
});
|
|
679
|
-
const [t, n] = e;
|
|
680
|
-
if (!Array.isArray(t))
|
|
681
|
-
throw new o("BasicForm requires children array as first parameter", {
|
|
682
|
-
component: "BasicForm",
|
|
683
|
-
suggestion: "Pass an array of form components as first parameter",
|
|
684
|
-
example: {
|
|
685
|
-
wrong: "BasicForm(BasicInput({}))",
|
|
686
|
-
correct: "BasicForm([BasicInput({})])"
|
|
687
|
-
}
|
|
688
|
-
});
|
|
689
|
-
if (n && typeof n != "object")
|
|
690
|
-
throw new o("BasicForm props must be an object", {
|
|
691
|
-
component: "BasicForm",
|
|
692
|
-
suggestion: "Pass props as second parameter object",
|
|
693
|
-
example: {
|
|
694
|
-
wrong: 'BasicForm([], "invalid")',
|
|
695
|
-
correct: "BasicForm([], { onSubmit: handleSubmit })"
|
|
696
|
-
}
|
|
697
|
-
});
|
|
698
|
-
},
|
|
699
|
-
// Helper method for props object validation
|
|
700
|
-
validatePropsObject(e, t, n) {
|
|
701
|
-
if (t.length === 0)
|
|
702
|
-
throw new o(`${e} component requires a props object`, {
|
|
703
|
-
component: e,
|
|
704
|
-
suggestion: `Add props: ${e}({ /* props */ })`,
|
|
705
|
-
documentation: n,
|
|
706
|
-
example: {
|
|
707
|
-
wrong: `${e}()`,
|
|
708
|
-
correct: `${e}({ /* appropriate props */ })`
|
|
709
|
-
}
|
|
710
|
-
});
|
|
711
|
-
const [i] = t;
|
|
712
|
-
if (i != null && typeof i != "object")
|
|
713
|
-
throw new o(`${e} requires a props object`, {
|
|
714
|
-
component: e,
|
|
715
|
-
suggestion: "Pass a props object",
|
|
716
|
-
example: {
|
|
717
|
-
wrong: `${e}("invalid")`,
|
|
718
|
-
correct: `${e}({ /* props */ })`
|
|
719
|
-
}
|
|
720
|
-
});
|
|
721
|
-
}
|
|
722
|
-
}, A = {
|
|
723
|
-
/**
|
|
724
|
-
* Validate plugin component
|
|
725
|
-
*/
|
|
726
|
-
validatePluginComponent(e, t, n) {
|
|
727
|
-
if (!s() || !r.packages.plugins) return;
|
|
728
|
-
const { getComponentValidator: i } = require("./plugin-registration"), c = i(e, t);
|
|
729
|
-
if (c)
|
|
730
|
-
try {
|
|
731
|
-
c.validate(n);
|
|
732
|
-
} catch (a) {
|
|
733
|
-
throw a instanceof o && (a.context.package || (a.context.package = e)), a;
|
|
734
|
-
}
|
|
735
|
-
else if (r.strictMode)
|
|
736
|
-
throw new o(`No validator registered for ${t}`, {
|
|
737
|
-
component: t,
|
|
738
|
-
package: e,
|
|
739
|
-
suggestion: "Ensure the plugin has registered its validator",
|
|
740
|
-
documentation: "https://docs.tachui.dev/plugins/validation"
|
|
741
|
-
});
|
|
742
|
-
}
|
|
743
|
-
}, v = {
|
|
744
|
-
/**
|
|
745
|
-
* Validate modifier usage with package awareness
|
|
746
|
-
*/
|
|
747
|
-
validateModifier(e, t, n, i = []) {
|
|
748
|
-
if (!s() || e !== "core" && !r.packages[e])
|
|
749
|
-
return;
|
|
750
|
-
const a = {
|
|
751
|
-
textShadow: {
|
|
752
|
-
suggestion: "Use shadow() instead",
|
|
753
|
-
example: '.shadow({ x: 2, y: 2, radius: 4, color: "rgba(0,0,0,0.25)" })'
|
|
754
|
-
},
|
|
755
|
-
id: {
|
|
756
|
-
suggestion: 'Use setAttribute("id", value) instead',
|
|
757
|
-
example: '.setAttribute("id", "my-element")'
|
|
758
|
-
},
|
|
759
|
-
className: {
|
|
760
|
-
suggestion: 'Use css() or setAttribute("class", value) instead',
|
|
761
|
-
example: '.css({ className: "my-class" })'
|
|
762
|
-
},
|
|
763
|
-
style: {
|
|
764
|
-
suggestion: "Use css() for custom styles instead",
|
|
765
|
-
example: '.css({ backgroundColor: "red" })'
|
|
766
|
-
}
|
|
767
|
-
}[n];
|
|
768
|
-
if (a) {
|
|
769
|
-
const l = new o(`Modifier ${n} does not exist`, {
|
|
770
|
-
component: t,
|
|
771
|
-
package: e,
|
|
772
|
-
suggestion: a.suggestion,
|
|
773
|
-
example: a.example ? {
|
|
774
|
-
wrong: `.${n}()`,
|
|
775
|
-
correct: a.example
|
|
776
|
-
} : void 0
|
|
777
|
-
});
|
|
778
|
-
if (r.errorLevel === "error")
|
|
779
|
-
throw l;
|
|
780
|
-
console.warn(l.getFormattedMessage());
|
|
781
|
-
return;
|
|
782
|
-
}
|
|
783
|
-
if ((/* @__PURE__ */ new Set(["clipped", "resizable"])).has(n) && i.length > 0) {
|
|
784
|
-
const l = new o(`${n}() takes no parameters`, {
|
|
785
|
-
component: t,
|
|
786
|
-
package: e,
|
|
787
|
-
suggestion: `Use ${n}() without arguments`,
|
|
788
|
-
example: {
|
|
789
|
-
wrong: `.${n}(someValue)`,
|
|
790
|
-
correct: `.${n}()`
|
|
791
|
-
}
|
|
792
|
-
});
|
|
793
|
-
if (r.errorLevel === "error")
|
|
794
|
-
throw l;
|
|
795
|
-
console.warn(l.getFormattedMessage());
|
|
796
|
-
}
|
|
797
|
-
const u = /* @__PURE__ */ new Set(["font", "fontSize", "fontWeight", "textAlign", "lineHeight", "letterSpacing"]), d = /* @__PURE__ */ new Set(["disabled", "onTap", "cursor"]);
|
|
798
|
-
if (u.has(n) && !["Text", "Button"].includes(t)) {
|
|
799
|
-
const l = `${n} modifier is only valid for Text/Button components`;
|
|
800
|
-
if (r.errorLevel === "error")
|
|
801
|
-
throw new o(l, {
|
|
802
|
-
component: t,
|
|
803
|
-
package: e,
|
|
804
|
-
suggestion: `Use ${n} modifier on Text or Button components only`
|
|
805
|
-
});
|
|
806
|
-
r.errorLevel === "warn" && console.warn(`⚠️ [${e}] ${l}`);
|
|
807
|
-
}
|
|
808
|
-
if (d.has(n) && !["Button", "Toggle", "Slider"].includes(t)) {
|
|
809
|
-
const l = `${n} modifier is only valid for interactive components`;
|
|
810
|
-
r.errorLevel === "warn" && console.warn(`⚠️ [${e}] ${l}`);
|
|
811
|
-
}
|
|
812
|
-
const { getComponentValidator: w } = require("./plugin-registration"), m = w(e, t);
|
|
813
|
-
m && m.validateModifier && m.validateModifier(n, i);
|
|
814
|
-
}
|
|
815
|
-
}, B = {
|
|
816
|
-
/**
|
|
817
|
-
* Enable validation
|
|
818
|
-
*/
|
|
819
|
-
enable(e = !0) {
|
|
820
|
-
g({ enabled: e });
|
|
821
|
-
},
|
|
822
|
-
/**
|
|
823
|
-
* Enable strict mode
|
|
824
|
-
*/
|
|
825
|
-
enableStrictMode() {
|
|
826
|
-
g({ strictMode: !0 }), console.info("🚨 TachUI Strict validation mode enabled");
|
|
827
|
-
},
|
|
828
|
-
/**
|
|
829
|
-
* Set error level
|
|
830
|
-
*/
|
|
831
|
-
setErrorLevel(e) {
|
|
832
|
-
g({ errorLevel: e });
|
|
833
|
-
},
|
|
834
|
-
/**
|
|
835
|
-
* Configure package validation
|
|
836
|
-
*/
|
|
837
|
-
configurePackages(e) {
|
|
838
|
-
g({
|
|
839
|
-
packages: { ...r.packages, ...e }
|
|
840
|
-
});
|
|
841
|
-
},
|
|
842
|
-
/**
|
|
843
|
-
* Test validation system
|
|
844
|
-
*/
|
|
845
|
-
test() {
|
|
846
|
-
if (!s()) {
|
|
847
|
-
console.info("ℹ️ Validation is disabled in production mode");
|
|
848
|
-
return;
|
|
849
|
-
}
|
|
850
|
-
console.group("🔍 TachUI Comprehensive Validation System Test");
|
|
851
|
-
try {
|
|
852
|
-
console.info("✅ Core component validation: enabled"), console.info("✅ Plugin component validation: enabled"), console.info("✅ Modifier validation: enabled");
|
|
853
|
-
const { getValidationStats: e } = require("./plugin-registration"), t = e();
|
|
854
|
-
console.info(`✅ Registered plugin validators: ${t.totalValidators}`), console.info("✅ Comprehensive validation system is working correctly");
|
|
855
|
-
} catch (e) {
|
|
856
|
-
console.error("❌ Validation test failed:", e);
|
|
857
|
-
}
|
|
858
|
-
console.groupEnd();
|
|
859
|
-
},
|
|
860
|
-
/**
|
|
861
|
-
* Get validation stats
|
|
862
|
-
*/
|
|
863
|
-
getStats() {
|
|
864
|
-
const { getValidationStats: e } = require("./plugin-registration"), t = e();
|
|
865
|
-
return {
|
|
866
|
-
enabled: s(),
|
|
867
|
-
config: r,
|
|
868
|
-
coreComponents: Object.keys(f).filter((n) => n.startsWith("validate")).length,
|
|
869
|
-
pluginValidators: t.totalValidators,
|
|
870
|
-
packages: {
|
|
871
|
-
core: r.packages.core,
|
|
872
|
-
forms: r.packages.forms,
|
|
873
|
-
navigation: r.packages.navigation,
|
|
874
|
-
symbols: r.packages.symbols,
|
|
875
|
-
plugins: r.packages.plugins
|
|
876
|
-
},
|
|
877
|
-
pluginStats: t.packages
|
|
878
|
-
};
|
|
879
|
-
}
|
|
880
|
-
};
|
|
881
|
-
function q(e, t, n, i = "core") {
|
|
882
|
-
return function(...a) {
|
|
883
|
-
t(a);
|
|
884
|
-
const p = e.apply(this, a);
|
|
885
|
-
return "modifier" in p && typeof p.modifier == "object" ? b(p, n, i) : p;
|
|
886
|
-
};
|
|
887
|
-
}
|
|
888
|
-
function b(e, t, n) {
|
|
889
|
-
return s() ? new Proxy(e, {
|
|
890
|
-
get(i, c) {
|
|
891
|
-
const a = i[c];
|
|
892
|
-
return c === "modifier" ? x(a, t, n) : a;
|
|
893
|
-
}
|
|
894
|
-
}) : e;
|
|
895
|
-
}
|
|
896
|
-
function x(e, t, n) {
|
|
897
|
-
return e && new Proxy(e, {
|
|
898
|
-
get(i, c) {
|
|
899
|
-
const a = String(c), p = i[c];
|
|
900
|
-
return a === "build" || a === "addModifier" || a === "responsive" ? p : typeof p == "function" ? function(...d) {
|
|
901
|
-
return v.validateModifier(n, t, a, d), p.apply(i, d);
|
|
902
|
-
} : p;
|
|
903
|
-
}
|
|
904
|
-
});
|
|
905
|
-
}
|
|
906
|
-
export {
|
|
907
|
-
f as CoreComponentValidation,
|
|
908
|
-
v as ModifierValidation,
|
|
909
|
-
A as PluginComponentValidation,
|
|
910
|
-
o as TachUIValidationError,
|
|
911
|
-
B as ValidationUtils,
|
|
912
|
-
g as configureValidation,
|
|
913
|
-
q as createValidatedComponent,
|
|
914
|
-
s as isValidationEnabled
|
|
915
|
-
};
|
|
916
|
-
//# sourceMappingURL=comprehensive.js.map
|