igniteui-cli 16.0.0-alpha.1 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -3
- package/bin/execute.js +36 -6
- package/lib/MultiTemplateComponent.d.ts +1 -1
- package/lib/PromptSession.d.ts +5 -14
- package/lib/PromptSession.js +18 -98
- package/lib/TemplateManager.d.ts +1 -1
- package/lib/TemplateManager.js +3 -7
- package/lib/cli.d.ts +1 -1
- package/lib/cli.js +47 -39
- package/lib/commands/add.js +35 -21
- package/lib/commands/ai-config.d.ts +19 -0
- package/lib/commands/ai-config.js +234 -0
- package/lib/commands/build.js +12 -22
- package/lib/commands/config.js +10 -14
- package/lib/commands/doc.js +175 -18
- package/lib/commands/doctor.d.ts +3 -0
- package/lib/commands/doctor.js +49 -0
- package/lib/commands/generate.js +9 -12
- package/lib/commands/index.d.ts +3 -0
- package/lib/commands/index.js +7 -1
- package/lib/commands/list.js +52 -12
- package/lib/commands/mcp.d.ts +32 -0
- package/lib/commands/mcp.js +152 -0
- package/lib/commands/new.js +103 -22
- package/lib/commands/start.js +9 -24
- package/lib/commands/test.js +3 -4
- package/lib/commands/types.d.ts +46 -18
- package/lib/commands/types.js +0 -23
- package/lib/commands/upgrade.js +34 -15
- package/lib/doc-format.d.ts +4 -0
- package/lib/doc-format.js +33 -0
- package/lib/doctor/ai.d.ts +6 -0
- package/lib/doctor/ai.js +95 -0
- package/lib/doctor/environment.d.ts +7 -0
- package/lib/doctor/environment.js +116 -0
- package/lib/doctor/feed.d.ts +2 -0
- package/lib/doctor/feed.js +59 -0
- package/lib/doctor/index.d.ts +5 -0
- package/lib/doctor/index.js +88 -0
- package/lib/doctor/project.d.ts +7 -0
- package/lib/doctor/project.js +138 -0
- package/lib/doctor/report.d.ts +4 -0
- package/lib/doctor/report.js +35 -0
- package/lib/doctor/types.d.ts +25 -0
- package/lib/doctor/types.js +2 -0
- package/lib/doctor/util.d.ts +18 -0
- package/lib/doctor/util.js +132 -0
- package/lib/project-utility/GridHelper.d.ts +6 -2
- package/lib/templates/IgniteUIForReactTemplate.d.ts +10 -8
- package/lib/templates/IgniteUIForReactTemplate.js +3 -26
- package/lib/templates/IgniteUIForWebComponentsTemplate.d.ts +9 -4
- package/lib/templates/IgniteUIForWebComponentsTemplate.js +12 -6
- package/lib/templates/jQueryTemplate.d.ts +9 -4
- package/lib/templates/jQueryTemplate.js +2 -3
- package/migrations/legacy-type/index.js +18 -0
- package/migrations/legacy-type/index.spec.js +94 -0
- package/migrations/migration-collection.json +8 -39
- package/package.json +18 -16
- package/scripts/install.js +1 -2
- package/scripts/uninstall.js +1 -2
- package/templates/angular/index.js +0 -1
- package/templates/blazor/igb/index.js +12 -0
- package/templates/blazor/igb/projects/_base/index.d.ts +25 -0
- package/templates/blazor/igb/projects/_base/index.js +67 -0
- package/templates/blazor/igb/projects/ai-config/files/AGENTS.md +65 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md +69 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/README.md +40 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/SKILL.md +74 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/charts.md +127 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/client-scripts.md +100 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md +187 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/feedback.md +84 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/form-controls.md +206 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout-manager.md +79 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout.md +200 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/setup.md +115 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/SKILL.md +99 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/component-mapping.md +103 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md +273 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/SKILL.md +123 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/data-operations.md +113 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/editing.md +144 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/features.md +194 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/grid-migration.md +141 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/paging-remote.md +150 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/sizing.md +77 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/state.md +81 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/structure.md +226 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/types.md +197 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/SKILL.md +131 -0
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/common-patterns.md +192 -0
- package/templates/blazor/igb/projects/ai-config/index.d.ts +22 -0
- package/templates/blazor/igb/projects/ai-config/index.js +63 -0
- package/templates/blazor/igb/projects/empty/index.d.ts +9 -0
- package/templates/blazor/igb/projects/empty/index.js +15 -0
- package/templates/blazor/igb/projects/web-app/index.d.ts +9 -0
- package/templates/blazor/igb/projects/web-app/index.js +15 -0
- package/templates/blazor/index.d.ts +3 -0
- package/templates/blazor/index.js +11 -0
- package/templates/jquery/index.js +0 -1
- package/templates/jquery/js/hierarchical-grid/hierarchical-grid/index.js +0 -2
- package/templates/jquery/js/index.js +0 -2
- package/templates/jquery/js/projects/empty/files/package.json +3 -3
- package/templates/jquery/js/projects/empty/index.js +2 -0
- package/templates/react/ReactTypeScriptFileUpdate.js +4 -4
- package/templates/react/igr-ts/accordion/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/accordion/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/accordion/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/accordion/default/index.js +18 -0
- package/templates/react/igr-ts/accordion/index.js +12 -0
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/style.module.css +18 -0
- package/templates/react/igr-ts/avatar/default/index.js +18 -0
- package/templates/react/igr-ts/avatar/index.js +12 -0
- package/templates/react/igr-ts/badge/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/badge/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/badge/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/badge/default/index.js +18 -0
- package/templates/react/igr-ts/badge/index.js +12 -0
- package/templates/react/igr-ts/banner/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/banner/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/banner/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/banner/default/index.js +18 -0
- package/templates/react/igr-ts/banner/index.js +12 -0
- package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/__filePrefix__.tsx +20 -0
- package/templates/react/igr-ts/breadcrumbs/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/breadcrumbs/default/index.js +18 -0
- package/templates/react/igr-ts/breadcrumbs/index.js +12 -0
- package/templates/react/igr-ts/bullet-graph/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/bullet-graph/default/index.js +2 -1
- package/templates/react/igr-ts/button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/button/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/button/default/files/src/app/__path__/style.module.css +12 -0
- package/templates/react/igr-ts/button/default/index.js +18 -0
- package/templates/react/igr-ts/button/index.js +12 -0
- package/templates/react/igr-ts/button-group/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/button-group/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
- package/templates/react/igr-ts/button-group/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/button-group/default/index.js +18 -0
- package/templates/react/igr-ts/button-group/index.js +12 -0
- package/templates/react/igr-ts/calendar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/calendar/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/calendar/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/calendar/default/index.js +18 -0
- package/templates/react/igr-ts/calendar/index.js +12 -0
- package/templates/react/igr-ts/card/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/card/default/files/src/app/__path__/__filePrefix__.tsx +26 -0
- package/templates/react/igr-ts/card/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/card/default/index.js +18 -0
- package/templates/react/igr-ts/card/index.js +12 -0
- package/templates/react/igr-ts/carousel/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/carousel/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/carousel/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/carousel/default/index.js +18 -0
- package/templates/react/igr-ts/carousel/index.js +12 -0
- package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.tsx +2 -6
- package/templates/react/igr-ts/category-chart/default/index.js +2 -1
- package/templates/react/igr-ts/chat/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/chat/default/files/src/app/__path__/__filePrefix__.tsx +20 -0
- package/templates/react/igr-ts/chat/default/files/src/app/__path__/style.module.css +21 -0
- package/templates/react/igr-ts/chat/default/index.js +18 -0
- package/templates/react/igr-ts/chat/index.js +12 -0
- package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/checkbox/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/checkbox/default/index.js +18 -0
- package/templates/react/igr-ts/checkbox/index.js +12 -0
- package/templates/react/igr-ts/chip/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/chip/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/chip/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/chip/default/index.js +18 -0
- package/templates/react/igr-ts/chip/index.js +12 -0
- package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/circular-progress/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/circular-progress/default/index.js +18 -0
- package/templates/react/igr-ts/circular-progress/index.js +12 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.tsx +23 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/color-picker/color-picker-alpha/index.js +18 -0
- package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/color-picker/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/color-picker/default/index.js +18 -0
- package/templates/react/igr-ts/color-picker/index.js +12 -0
- package/templates/react/igr-ts/combo/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/combo/default/files/src/app/__path__/__filePrefix__.tsx +30 -0
- package/templates/react/igr-ts/combo/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/combo/default/index.js +18 -0
- package/templates/react/igr-ts/combo/index.js +12 -0
- package/templates/react/igr-ts/constants.d.ts +4 -0
- package/templates/react/igr-ts/constants.js +7 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/__filePrefix__.tsx +33 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/custom-templates/subscription-form/index.js +17 -0
- package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/date-picker/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/date-picker/default/index.js +18 -0
- package/templates/react/igr-ts/date-picker/index.js +12 -0
- package/templates/react/igr-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/date-range-picker/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/date-range-picker/default/index.js +18 -0
- package/templates/react/igr-ts/date-range-picker/index.js +12 -0
- package/templates/react/igr-ts/date-time-input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/date-time-input/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/date-time-input/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/date-time-input/default/index.js +18 -0
- package/templates/react/igr-ts/date-time-input/index.js +12 -0
- package/templates/react/igr-ts/dialog/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/dialog/default/files/src/app/__path__/__filePrefix__.tsx +20 -0
- package/templates/react/igr-ts/dialog/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/dialog/default/index.js +18 -0
- package/templates/react/igr-ts/dialog/index.js +12 -0
- package/templates/react/igr-ts/divider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/divider/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
- package/templates/react/igr-ts/divider/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/divider/default/index.js +18 -0
- package/templates/react/igr-ts/divider/index.js +12 -0
- package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.tsx +6 -11
- package/templates/react/igr-ts/doughnut-chart/default/index.js +2 -1
- package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/__filePrefix__.tsx +19 -0
- package/templates/react/igr-ts/dropdown/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/dropdown/default/index.js +18 -0
- package/templates/react/igr-ts/dropdown/index.js +12 -0
- package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/__filePrefix__.tsx +17 -0
- package/templates/react/igr-ts/expansion-panel/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/expansion-panel/default/index.js +18 -0
- package/templates/react/igr-ts/expansion-panel/index.js +12 -0
- package/templates/react/igr-ts/file-input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/file-input/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/file-input/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/file-input/default/index.js +18 -0
- package/templates/react/igr-ts/file-input/index.js +12 -0
- package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.tsx +2 -6
- package/templates/react/igr-ts/financial-chart/default/index.js +2 -1
- package/templates/react/igr-ts/form/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/form/default/files/src/app/__path__/__filePrefix__.tsx +24 -0
- package/templates/react/igr-ts/form/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/form/default/index.js +18 -0
- package/templates/react/igr-ts/form/index.js +12 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/__filePrefix__.tsx +12 -0
- package/templates/react/igr-ts/generate/files/src/app/__path__/style.module.css +3 -0
- package/templates/react/igr-ts/generate/template.json +13 -0
- package/templates/react/igr-ts/grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/grid/basic/files/src/app/__path__/__filePrefix__.tsx +51 -45
- package/templates/react/igr-ts/grid/basic/files/src/app/__path__/style.module.css +17 -7
- package/templates/react/igr-ts/grid/basic/index.js +34 -3
- package/templates/react/igr-ts/grid/index.js +2 -2
- package/templates/react/igr-ts/groups.json +8 -2
- package/templates/react/igr-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.tsx +43 -0
- package/templates/react/igr-ts/hierarchical-grid/basic/files/src/app/__path__/style.module.css +27 -0
- package/templates/react/igr-ts/hierarchical-grid/basic/index.js +50 -0
- package/templates/react/igr-ts/hierarchical-grid/index.js +12 -0
- package/templates/react/igr-ts/highlight/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/highlight/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/highlight/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/highlight/default/index.js +18 -0
- package/templates/react/igr-ts/highlight/index.js +12 -0
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/__filePrefix__.tsx +21 -0
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/style.module.css +12 -0
- package/templates/react/igr-ts/icon/default/index.js +18 -0
- package/templates/react/igr-ts/icon/index.js +12 -0
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/style.module.css +12 -0
- package/templates/react/igr-ts/icon-button/default/index.js +18 -0
- package/templates/react/igr-ts/icon-button/index.js +12 -0
- package/templates/react/igr-ts/index.js +1 -2
- package/templates/react/igr-ts/input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/input/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/input/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/input/default/index.js +18 -0
- package/templates/react/igr-ts/input/index.js +12 -0
- package/templates/react/igr-ts/linear-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/linear-gauge/default/index.js +2 -1
- package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/linear-progress/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/linear-progress/default/index.js +18 -0
- package/templates/react/igr-ts/linear-progress/index.js +12 -0
- package/templates/react/igr-ts/list/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/list/default/files/src/app/__path__/__filePrefix__.tsx +31 -0
- package/templates/react/igr-ts/list/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/list/default/index.js +18 -0
- package/templates/react/igr-ts/list/index.js +12 -0
- package/templates/react/igr-ts/mask-input/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/mask-input/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/mask-input/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/mask-input/default/index.js +18 -0
- package/templates/react/igr-ts/mask-input/index.js +12 -0
- package/templates/react/igr-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/nav-drawer/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/nav-drawer/default/index.js +18 -0
- package/templates/react/igr-ts/nav-drawer/index.js +12 -0
- package/templates/react/igr-ts/navbar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/navbar/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/navbar/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/navbar/default/index.js +18 -0
- package/templates/react/igr-ts/navbar/index.js +12 -0
- package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.tsx +5 -11
- package/templates/react/igr-ts/pie-chart/default/index.js +2 -1
- package/templates/react/igr-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.tsx +53 -0
- package/templates/react/igr-ts/pivot-grid/basic/files/src/app/__path__/style.module.css +27 -0
- package/templates/react/igr-ts/pivot-grid/basic/index.js +50 -0
- package/templates/react/igr-ts/pivot-grid/index.js +12 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__azure/azure-pipelines.yml +8 -0
- package/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml +8 -6
- package/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/node.js.yml +8 -4
- package/templates/react/igr-ts/projects/_base/files/__dot__gitignore +22 -4
- package/templates/react/igr-ts/projects/_base/files/eslint.config.js +42 -0
- package/templates/react/igr-ts/projects/_base/files/index.html +3 -7
- package/templates/react/igr-ts/projects/_base/files/package.json +27 -23
- package/templates/react/igr-ts/projects/_base/files/public/favicon.svg +1 -0
- package/templates/react/igr-ts/projects/_base/files/public/icons.svg +24 -0
- package/templates/react/igr-ts/projects/_base/files/src/app/app.test.tsx +6 -1
- package/templates/react/igr-ts/projects/_base/files/src/app/app.tsx +4 -2
- package/templates/react/igr-ts/projects/_base/files/src/main.tsx +6 -5
- package/templates/react/igr-ts/projects/_base/files/src/setupTests.ts +21 -9
- package/templates/react/igr-ts/projects/_base/files/styles.css +6 -0
- package/templates/react/igr-ts/projects/_base/files/tsconfig.app.json +28 -0
- package/templates/react/igr-ts/projects/_base/files/tsconfig.json +5 -23
- package/templates/react/igr-ts/projects/_base/files/tsconfig.node.json +26 -0
- package/templates/react/igr-ts/projects/_base/files/vite.config.ts +6 -9
- package/templates/react/igr-ts/projects/_base/index.d.ts +2 -1
- package/templates/react/igr-ts/projects/_base/index.js +2 -0
- package/templates/react/igr-ts/projects/_base_with_home/files/index.html +5 -8
- package/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/home.tsx +60 -10
- package/templates/react/igr-ts/projects/_base_with_home/files/src/app/home/style.module.css +79 -20
- package/templates/react/igr-ts/projects/_base_with_home/index.d.ts +1 -0
- package/templates/react/igr-ts/projects/_base_with_home/index.js +1 -0
- package/templates/react/igr-ts/projects/ai-config/files/AGENTS.md +116 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/README.md +45 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/SKILL.md +73 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/COMPONENTS.md +66 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/DATAVIZ.md +90 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/MCP.md +43 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/TROUBLESHOOTING.md +19 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/references/USAGE.md +85 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/SKILL.md +133 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/references/CSS-THEMING.md +100 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/SKILL.md +101 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/references/gotchas.md +105 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-migrate-grid-lite-to-premium/SKILL.md +182 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-optimize-bundle-size/SKILL.md +87 -0
- package/templates/react/igr-ts/projects/ai-config/index.d.ts +22 -0
- package/templates/react/igr-ts/projects/ai-config/index.js +74 -0
- package/templates/react/igr-ts/projects/base/index.d.ts +1 -1
- package/templates/react/igr-ts/projects/base/index.js +1 -27
- package/templates/react/igr-ts/projects/empty/index.d.ts +1 -1
- package/templates/react/igr-ts/projects/empty/index.js +3 -29
- package/templates/react/igr-ts/projects/side-nav/files/src/app/app-routes.tsx +5 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/app.css +82 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/app.test.tsx +19 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/app.tsx +106 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/home/home.tsx +69 -0
- package/templates/react/igr-ts/projects/side-nav/files/src/app/home/style.module.css +105 -0
- package/templates/react/igr-ts/projects/side-nav/index.d.ts +15 -0
- package/templates/react/igr-ts/projects/side-nav/index.js +46 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/index.html +19 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app-routes.tsx +24 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app.css +84 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/app.tsx +126 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/AuthContext.tsx +73 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/AuthGuard.tsx +14 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.module.css +25 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Login.tsx +69 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginBar.module.css +21 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginBar.tsx +44 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginDialog.module.css +13 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/LoginDialog.tsx +49 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.module.css +19 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/components/Register.tsx +67 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/external-login.ts +10 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/login.ts +4 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/register-info.ts +6 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/models/user.ts +19 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/Profile.module.css +87 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/Profile.tsx +42 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectFacebook.tsx +44 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectGoogle.tsx +40 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/pages/RedirectMicrosoft.tsx +40 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/authentication.ts +37 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/external-auth-config.ts +44 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/externalAuth.ts +272 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/fakeBackend.ts +88 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/jwtUtil.ts +10 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/pkce.ts +29 -0
- package/templates/react/igr-ts/projects/side-nav-auth/files/src/app/authentication/services/userStore.ts +39 -0
- package/templates/react/igr-ts/projects/side-nav-auth/index.d.ts +15 -0
- package/templates/react/igr-ts/projects/side-nav-auth/index.js +46 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app-routes.tsx +5 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.css +109 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.test.tsx +20 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/app.tsx +82 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/home/home.tsx +69 -0
- package/templates/react/igr-ts/projects/side-nav-mini/files/src/app/home/style.module.css +105 -0
- package/templates/react/igr-ts/projects/side-nav-mini/index.d.ts +15 -0
- package/templates/react/igr-ts/projects/side-nav-mini/index.js +46 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/files/src/app/app.css +106 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/files/src/app/app.tsx +102 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/index.d.ts +15 -0
- package/templates/react/igr-ts/projects/side-nav-mini-auth/index.js +50 -0
- package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/qr-code/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/qr-code/default/index.js +18 -0
- package/templates/react/igr-ts/qr-code/index.js +12 -0
- package/templates/react/igr-ts/radial-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +6 -1
- package/templates/react/igr-ts/radial-gauge/default/index.js +2 -2
- package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
- package/templates/react/igr-ts/radio-group/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/radio-group/default/index.js +18 -0
- package/templates/react/igr-ts/radio-group/index.js +12 -0
- package/templates/react/igr-ts/range-slider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/range-slider/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/range-slider/default/files/src/app/__path__/style.module.css +14 -0
- package/templates/react/igr-ts/range-slider/default/index.js +18 -0
- package/templates/react/igr-ts/range-slider/index.js +12 -0
- package/templates/react/igr-ts/rating/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/rating/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/rating/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/rating/default/index.js +18 -0
- package/templates/react/igr-ts/rating/index.js +12 -0
- package/templates/react/igr-ts/ripple/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/ripple/default/files/src/app/__path__/__filePrefix__.tsx +17 -0
- package/templates/react/igr-ts/ripple/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/ripple/default/index.js +18 -0
- package/templates/react/igr-ts/ripple/index.js +12 -0
- package/templates/react/igr-ts/select/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/select/default/files/src/app/__path__/__filePrefix__.tsx +25 -0
- package/templates/react/igr-ts/select/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/select/default/index.js +18 -0
- package/templates/react/igr-ts/select/index.js +12 -0
- package/templates/react/igr-ts/slider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/slider/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/slider/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/slider/default/index.js +18 -0
- package/templates/react/igr-ts/slider/index.js +12 -0
- package/templates/react/igr-ts/snackbar/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/snackbar/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/snackbar/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/snackbar/default/index.js +18 -0
- package/templates/react/igr-ts/snackbar/index.js +12 -0
- package/templates/react/igr-ts/splitter/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/splitter/default/files/src/app/__path__/__filePrefix__.tsx +21 -0
- package/templates/react/igr-ts/splitter/default/files/src/app/__path__/style.module.css +31 -0
- package/templates/react/igr-ts/splitter/default/index.js +18 -0
- package/templates/react/igr-ts/splitter/index.js +12 -0
- package/templates/react/igr-ts/stepper/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/stepper/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/stepper/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/stepper/default/index.js +18 -0
- package/templates/react/igr-ts/stepper/index.js +12 -0
- package/templates/react/igr-ts/switch/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/switch/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/switch/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/switch/default/index.js +18 -0
- package/templates/react/igr-ts/switch/index.js +12 -0
- package/templates/react/igr-ts/tabs/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/tabs/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/tabs/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/tabs/default/index.js +18 -0
- package/templates/react/igr-ts/tabs/index.js +12 -0
- package/templates/react/igr-ts/text-area/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/text-area/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/text-area/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/text-area/default/index.js +18 -0
- package/templates/react/igr-ts/text-area/index.js +12 -0
- package/templates/react/igr-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.tsx +18 -0
- package/templates/react/igr-ts/theme-provider/default/files/src/app/__path__/style.module.css +25 -0
- package/templates/react/igr-ts/theme-provider/default/index.d.ts +1 -0
- package/templates/react/igr-ts/theme-provider/default/index.js +18 -0
- package/templates/react/igr-ts/theme-provider/index.d.ts +1 -0
- package/templates/react/igr-ts/theme-provider/index.js +12 -0
- package/templates/react/igr-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.tsx +27 -0
- package/templates/react/igr-ts/tile-manager/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/tile-manager/default/index.d.ts +1 -0
- package/templates/react/igr-ts/tile-manager/default/index.js +18 -0
- package/templates/react/igr-ts/tile-manager/index.d.ts +1 -0
- package/templates/react/igr-ts/tile-manager/index.js +12 -0
- package/templates/react/igr-ts/toast/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/toast/default/files/src/app/__path__/__filePrefix__.tsx +14 -0
- package/templates/react/igr-ts/toast/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/toast/default/index.d.ts +1 -0
- package/templates/react/igr-ts/toast/default/index.js +18 -0
- package/templates/react/igr-ts/toast/index.d.ts +1 -0
- package/templates/react/igr-ts/toast/index.js +12 -0
- package/templates/react/igr-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.tsx +16 -0
- package/templates/react/igr-ts/toggle-button/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/toggle-button/default/index.d.ts +1 -0
- package/templates/react/igr-ts/toggle-button/default/index.js +18 -0
- package/templates/react/igr-ts/toggle-button/index.d.ts +1 -0
- package/templates/react/igr-ts/toggle-button/index.js +12 -0
- package/templates/react/igr-ts/tooltip/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/tooltip/default/files/src/app/__path__/__filePrefix__.tsx +15 -0
- package/templates/react/igr-ts/tooltip/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/tooltip/default/index.d.ts +1 -0
- package/templates/react/igr-ts/tooltip/default/index.js +18 -0
- package/templates/react/igr-ts/tooltip/index.d.ts +1 -0
- package/templates/react/igr-ts/tooltip/index.js +12 -0
- package/templates/react/igr-ts/tree/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/tree/default/files/src/app/__path__/__filePrefix__.tsx +29 -0
- package/templates/react/igr-ts/tree/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/tree/default/index.d.ts +1 -0
- package/templates/react/igr-ts/tree/default/index.js +18 -0
- package/templates/react/igr-ts/tree/index.d.ts +1 -0
- package/templates/react/igr-ts/tree/index.js +12 -0
- package/templates/react/igr-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.tsx +30 -0
- package/templates/react/igr-ts/tree-grid/basic/files/src/app/__path__/style.module.css +27 -0
- package/templates/react/igr-ts/tree-grid/basic/index.d.ts +1 -0
- package/templates/react/igr-ts/tree-grid/basic/index.js +50 -0
- package/templates/react/igr-ts/tree-grid/index.d.ts +1 -0
- package/templates/react/igr-ts/tree-grid/index.js +12 -0
- package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.test.tsx +13 -0
- package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.tsx +34 -0
- package/templates/react/igr-ts/virtual-scroll/default/files/src/app/__path__/style.module.css +16 -0
- package/templates/react/igr-ts/virtual-scroll/default/index.d.ts +1 -0
- package/templates/react/igr-ts/virtual-scroll/default/index.js +18 -0
- package/templates/react/igr-ts/virtual-scroll/index.d.ts +1 -0
- package/templates/react/igr-ts/virtual-scroll/index.js +12 -0
- package/templates/react/index.js +0 -2
- package/templates/webcomponents/WebComponentsTypeScriptFileUpdate.js +2 -2
- package/templates/webcomponents/igc-ts/avatar/default/files/src/app/__path__/__filePrefix__.ts +7 -2
- package/templates/webcomponents/igc-ts/breadcrumb/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/breadcrumb/default/files/src/app/__path__/__filePrefix__.ts +36 -0
- package/templates/webcomponents/igc-ts/breadcrumb/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/breadcrumb/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/breadcrumb/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/breadcrumb/index.js +15 -0
- package/templates/webcomponents/igc-ts/button/default/files/src/app/__path__/__filePrefix__.ts +8 -3
- package/templates/webcomponents/igc-ts/card/default/files/src/app/__path__/__filePrefix__.ts +10 -6
- package/templates/webcomponents/igc-ts/carousel/carousel-vertical/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/carousel/carousel-vertical/files/src/app/__path__/__filePrefix__.ts +46 -0
- package/templates/webcomponents/igc-ts/carousel/carousel-vertical/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/carousel/carousel-vertical/index.js +16 -0
- package/templates/webcomponents/igc-ts/carousel/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/carousel/default/files/src/app/__path__/__filePrefix__.ts +45 -0
- package/templates/webcomponents/igc-ts/carousel/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/carousel/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/carousel/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/carousel/index.js +15 -0
- package/templates/webcomponents/igc-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/category-chart/default/files/src/app/__path__/__filePrefix__.ts +37 -0
- package/templates/webcomponents/igc-ts/category-chart/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/category-chart/default/index.js +21 -0
- package/templates/webcomponents/igc-ts/category-chart/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/category-chart/index.js +12 -0
- package/templates/webcomponents/igc-ts/chat/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/chat/default/files/src/app/__path__/__filePrefix__.ts +46 -0
- package/templates/webcomponents/igc-ts/chat/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/chat/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/chat/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/chat/index.js +15 -0
- package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/files/src/app/__path__/__filePrefix__.ts +31 -0
- package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/color-picker/color-picker-alpha/index.js +16 -0
- package/templates/webcomponents/igc-ts/color-picker/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/color-picker/default/files/src/app/__path__/__filePrefix__.ts +29 -0
- package/templates/webcomponents/igc-ts/color-picker/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/color-picker/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/color-picker/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/color-picker/index.js +15 -0
- package/templates/webcomponents/igc-ts/combo/combo-groups/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/combo/combo-groups/files/src/app/__path__/__filePrefix__.ts +39 -0
- package/templates/webcomponents/igc-ts/combo/combo-groups/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/combo/combo-groups/index.js +16 -0
- package/templates/webcomponents/igc-ts/combo/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/combo/default/files/src/app/__path__/__filePrefix__.ts +31 -0
- package/templates/webcomponents/igc-ts/combo/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/combo/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/combo/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/combo/index.js +15 -0
- package/templates/webcomponents/igc-ts/constants.d.ts +6 -0
- package/templates/webcomponents/igc-ts/constants.js +9 -0
- package/templates/webcomponents/igc-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/date-range-picker/default/files/src/app/__path__/__filePrefix__.ts +17 -0
- package/templates/webcomponents/igc-ts/date-range-picker/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/date-range-picker/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/date-range-picker/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/date-range-picker/index.js +15 -0
- package/templates/webcomponents/igc-ts/date-time-input/default/files/src/app/__path__/__filePrefix__.ts +8 -2
- package/templates/webcomponents/igc-ts/dialog/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/dialog/default/files/src/app/__path__/__filePrefix__.ts +28 -0
- package/templates/webcomponents/igc-ts/dialog/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/dialog/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/dialog/dialog-form/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/dialog/dialog-form/files/src/app/__path__/__filePrefix__.ts +32 -0
- package/templates/webcomponents/igc-ts/dialog/dialog-form/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/dialog/dialog-form/index.js +16 -0
- package/templates/webcomponents/igc-ts/dialog/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/dialog/index.js +15 -0
- package/templates/webcomponents/igc-ts/divider/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/divider/index.js +1 -1
- package/templates/webcomponents/igc-ts/dock-manager/default/files/src/app/__path__/__filePrefix__.ts +129 -164
- package/templates/webcomponents/igc-ts/dock-manager/default/index.js +1 -1
- package/templates/webcomponents/igc-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.ts +52 -0
- package/templates/webcomponents/igc-ts/doughnut-chart/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/doughnut-chart/default/index.js +21 -0
- package/templates/webcomponents/igc-ts/doughnut-chart/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/doughnut-chart/index.js +12 -0
- package/templates/webcomponents/igc-ts/file-input/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/file-input/default/files/src/app/__path__/__filePrefix__.ts +21 -0
- package/templates/webcomponents/igc-ts/file-input/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/file-input/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/file-input/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/file-input/index.js +15 -0
- package/templates/webcomponents/igc-ts/financial-chart/default/index.js +3 -2
- package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.test.ts +1 -1
- package/templates/webcomponents/igc-ts/grid/default/files/src/app/__path__/__filePrefix__.ts +74 -68
- package/templates/webcomponents/igc-ts/grid/default/index.js +32 -5
- package/templates/webcomponents/igc-ts/grid/grid-editing/files/src/app/__path__/__filePrefix__.ts +86 -185
- package/templates/webcomponents/igc-ts/grid/grid-editing/index.js +2 -0
- package/templates/webcomponents/igc-ts/grid/grid-summaries/files/src/app/__path__/__filePrefix__.ts +11 -25
- package/templates/webcomponents/igc-ts/grid/grid-summaries/index.js +2 -0
- package/templates/webcomponents/igc-ts/groups.json +9 -10
- package/templates/webcomponents/igc-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/hierarchical-grid/basic/files/src/app/__path__/__filePrefix__.ts +100 -0
- package/templates/webcomponents/igc-ts/hierarchical-grid/basic/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/hierarchical-grid/basic/index.js +49 -0
- package/templates/webcomponents/igc-ts/hierarchical-grid/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/hierarchical-grid/index.js +12 -0
- package/templates/webcomponents/igc-ts/highlight/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/highlight/default/files/src/app/__path__/__filePrefix__.ts +34 -0
- package/templates/webcomponents/igc-ts/highlight/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/highlight/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/highlight/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/highlight/index.js +15 -0
- package/templates/webcomponents/igc-ts/icon/default/files/src/app/__path__/__filePrefix__.ts +7 -3
- package/templates/webcomponents/igc-ts/icon-button/default/files/src/app/__path__/__filePrefix__.ts +8 -2
- package/templates/webcomponents/igc-ts/linear-gauge/default/index.js +3 -2
- package/templates/webcomponents/igc-ts/linear-progress/default/index.js +1 -4
- package/templates/webcomponents/igc-ts/mask-input/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/mask-input/default/files/src/app/__path__/__filePrefix__.ts +17 -0
- package/templates/webcomponents/igc-ts/mask-input/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/mask-input/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/mask-input/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/mask-input/index.js +15 -0
- package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/files/src/app/__path__/__filePrefix__.ts +20 -0
- package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/mask-input/mask-input-formats/index.js +16 -0
- package/templates/webcomponents/igc-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/nav-drawer/default/files/src/app/__path__/__filePrefix__.ts +40 -0
- package/templates/webcomponents/igc-ts/nav-drawer/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/nav-drawer/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/nav-drawer/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/nav-drawer/index.js +15 -0
- package/templates/webcomponents/igc-ts/pie-chart/default/index.js +3 -2
- package/templates/webcomponents/igc-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.ts +113 -0
- package/templates/webcomponents/igc-ts/pivot-grid/basic/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/pivot-grid/basic/index.js +49 -0
- package/templates/webcomponents/igc-ts/pivot-grid/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/pivot-grid/index.js +12 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__azure/azure-pipelines.yml +8 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml +7 -5
- package/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/node.js.yml +8 -3
- package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.js +37 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/index.html +2 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/package.json +20 -34
- package/templates/webcomponents/igc-ts/projects/_base/files/src/app/app-routing.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/src/app/app.ts +6 -1
- package/templates/webcomponents/igc-ts/projects/_base/files/styles.css +1 -0
- package/templates/webcomponents/igc-ts/projects/_base/files/tsconfig.json +22 -29
- package/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts +10 -6
- package/templates/webcomponents/igc-ts/projects/_base/index.d.ts +5 -2
- package/templates/webcomponents/igc-ts/projects/_base/index.js +1 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/index.html +4 -1
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +28 -42
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/app/app-routing.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/app/home/home.ts +103 -9
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/src/assets/wc.png +0 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/projects/_base_with_home/index.js +1 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/AGENTS.md +39 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/README.md +70 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/SKILL.md +391 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-choose-components/reference/mcp-setup.md +84 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/SKILL.md +391 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-customize-component-theme/references/mcp-setup.md +71 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/SKILL.md +341 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/asset-extraction.md +343 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-provenance.md +201 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/design-token-bridge.md +502 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-component-map.md +371 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/figma-exploration.md +228 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/mcp-setup.md +363 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/project-setup.md +107 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/theme-generation.md +190 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-figma-to-app/references/validation-patterns.md +379 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/SKILL.md +233 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/component-mapping.md +131 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-generate-from-image-design/references/gotchas.md +187 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-grids/SKILL.md +133 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/SKILL.md +135 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/angular.md +187 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/react.md +118 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/vanilla-js.md +134 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-integrate-with-framework/references/vue.md +183 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-migrate-grid-lite-to-premium/SKILL.md +474 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/igniteui-wc-optimize-bundle-size/SKILL.md +498 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/index.d.ts +22 -0
- package/templates/webcomponents/igc-ts/projects/ai-config/index.js +63 -0
- package/templates/webcomponents/igc-ts/projects/base/index.d.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/base/index.js +1 -27
- package/templates/webcomponents/igc-ts/projects/empty/index.d.ts +1 -1
- package/templates/webcomponents/igc-ts/projects/empty/index.js +2 -28
- package/templates/webcomponents/igc-ts/projects/side-nav/files/index.html +21 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app-routing.ts +9 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/app.ts +203 -23
- package/templates/webcomponents/igc-ts/projects/side-nav/files/src/app/home/home.ts +175 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/projects/side-nav/index.js +2 -1
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/index.html +26 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/app-routing.ts +37 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/app.ts +257 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/login-bar/login-bar.ts +124 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/login-dialog/login-dialog.ts +253 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/external-login.ts +10 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/login.ts +4 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/register-info.ts +6 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/models/user.ts +19 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/authentication.ts +37 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/external-auth-config.ts +44 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/externalAuth.ts +272 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/fakeBackend.ts +88 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/jwtUtil.ts +10 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/pkce.ts +29 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/services/userStore.ts +39 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/profile/profile.ts +142 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-facebook.ts +57 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-google.ts +53 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/redirect/redirect-microsoft.ts +53 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/index.d.ts +15 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/index.js +46 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/files/src/app/app-routing.ts +13 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/files/src/app/app.ts +245 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/index.d.ts +14 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini/index.js +45 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/files/src/app/app.ts +265 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/index.d.ts +15 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-mini-auth/index.js +50 -0
- package/templates/webcomponents/igc-ts/qr-code/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/qr-code/default/files/src/app/__path__/__filePrefix__.ts +20 -0
- package/templates/webcomponents/igc-ts/qr-code/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/qr-code/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/qr-code/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/qr-code/index.js +15 -0
- package/templates/webcomponents/igc-ts/radial-gauge/default/index.js +3 -2
- package/templates/webcomponents/igc-ts/range-slider/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/range-slider/default/files/src/app/__path__/__filePrefix__.ts +26 -0
- package/templates/webcomponents/igc-ts/range-slider/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/range-slider/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/range-slider/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/range-slider/index.js +15 -0
- package/templates/webcomponents/igc-ts/select/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/select/default/files/src/app/__path__/__filePrefix__.ts +26 -0
- package/templates/webcomponents/igc-ts/select/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/select/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/select/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/select/index.js +15 -0
- package/templates/webcomponents/igc-ts/select/select-groups/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/select/select-groups/files/src/app/__path__/__filePrefix__.ts +42 -0
- package/templates/webcomponents/igc-ts/select/select-groups/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/select/select-groups/index.js +16 -0
- package/templates/webcomponents/igc-ts/snackbar/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/snackbar/default/files/src/app/__path__/__filePrefix__.ts +24 -0
- package/templates/webcomponents/igc-ts/snackbar/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/snackbar/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/snackbar/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/snackbar/index.js +15 -0
- package/templates/webcomponents/igc-ts/snackbar/snackbar-action/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/snackbar/snackbar-action/files/src/app/__path__/__filePrefix__.ts +25 -0
- package/templates/webcomponents/igc-ts/snackbar/snackbar-action/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/snackbar/snackbar-action/index.js +16 -0
- package/templates/webcomponents/igc-ts/splitter/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/splitter/default/files/src/app/__path__/__filePrefix__.ts +31 -0
- package/templates/webcomponents/igc-ts/splitter/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/splitter/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/splitter/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/splitter/index.js +15 -0
- package/templates/webcomponents/igc-ts/splitter/splitter-vertical/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/splitter/splitter-vertical/files/src/app/__path__/__filePrefix__.ts +27 -0
- package/templates/webcomponents/igc-ts/splitter/splitter-vertical/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/splitter/splitter-vertical/index.js +16 -0
- package/templates/webcomponents/igc-ts/stepper/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/stepper/default/files/src/app/__path__/__filePrefix__.ts +38 -0
- package/templates/webcomponents/igc-ts/stepper/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/stepper/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/stepper/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/stepper/index.js +15 -0
- package/templates/webcomponents/igc-ts/stepper/stepper-vertical/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/stepper/stepper-vertical/files/src/app/__path__/__filePrefix__.ts +37 -0
- package/templates/webcomponents/igc-ts/stepper/stepper-vertical/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/stepper/stepper-vertical/index.js +16 -0
- package/templates/webcomponents/igc-ts/tabs/default/files/src/app/__path__/__filePrefix__.ts +21 -15
- package/templates/webcomponents/igc-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/theme-provider/default/files/src/app/__path__/__filePrefix__.ts +40 -0
- package/templates/webcomponents/igc-ts/theme-provider/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/theme-provider/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/theme-provider/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/theme-provider/index.js +15 -0
- package/templates/webcomponents/igc-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/tile-manager/default/files/src/app/__path__/__filePrefix__.ts +40 -0
- package/templates/webcomponents/igc-ts/tile-manager/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/tile-manager/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/tile-manager/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/tile-manager/index.js +15 -0
- package/templates/webcomponents/igc-ts/toast/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/toast/default/files/src/app/__path__/__filePrefix__.ts +22 -0
- package/templates/webcomponents/igc-ts/toast/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/toast/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/toast/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/toast/index.js +15 -0
- package/templates/webcomponents/igc-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.test.ts +25 -0
- package/templates/webcomponents/igc-ts/toggle-button/default/files/src/app/__path__/__filePrefix__.ts +61 -0
- package/templates/webcomponents/igc-ts/toggle-button/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/toggle-button/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/toggle-button/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/toggle-button/index.js +15 -0
- package/templates/webcomponents/igc-ts/tooltip/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/tooltip/default/files/src/app/__path__/__filePrefix__.ts +22 -0
- package/templates/webcomponents/igc-ts/tooltip/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/tooltip/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/tooltip/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/tooltip/index.js +15 -0
- package/templates/webcomponents/igc-ts/tree/default/index.js +5 -4
- package/templates/webcomponents/igc-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/tree-grid/basic/files/src/app/__path__/__filePrefix__.ts +87 -0
- package/templates/webcomponents/igc-ts/tree-grid/basic/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/tree-grid/basic/index.js +49 -0
- package/templates/webcomponents/igc-ts/tree-grid/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/tree-grid/index.js +12 -0
- package/templates/webcomponents/igc-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.test.ts +9 -0
- package/templates/webcomponents/igc-ts/virtual-scroll/default/files/src/app/__path__/__filePrefix__.ts +64 -0
- package/templates/webcomponents/igc-ts/virtual-scroll/default/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/virtual-scroll/default/index.js +16 -0
- package/templates/webcomponents/igc-ts/virtual-scroll/index.d.ts +1 -0
- package/templates/webcomponents/igc-ts/virtual-scroll/index.js +15 -0
- package/lib/templates/AngularTemplate.d.ts +0 -39
- package/lib/templates/AngularTemplate.js +0 -207
- package/lib/templates/ReactTemplate.d.ts +0 -36
- package/lib/templates/ReactTemplate.js +0 -145
- package/migrations/schema.json +0 -14
- package/migrations/update-13_1_0/index.js +0 -20
- package/migrations/update-13_1_0/index.spec.js +0 -96
- package/migrations/update-2/index.d.ts +0 -2
- package/migrations/update-2/index.js +0 -17
- package/migrations/update-2/index.spec.js +0 -106
- package/migrations/update-3/index.d.ts +0 -2
- package/migrations/update-3/index.js +0 -65
- package/migrations/update-3/index.spec.js +0 -131
- package/migrations/update-3_2/index.d.ts +0 -2
- package/migrations/update-3_2/index.js +0 -44
- package/migrations/update-3_2/index.spec.js +0 -100
- package/migrations/update-4_2_3/index.d.ts +0 -2
- package/migrations/update-4_2_3/index.js +0 -44
- package/migrations/update-4_2_3/index.spec.js +0 -99
- package/migrations/update-5_0_0/index.d.ts +0 -13
- package/migrations/update-5_0_0/index.js +0 -63
- package/migrations/update-5_0_0/index.spec.js +0 -89
- package/migrations/update-5_0_3/index.d.ts +0 -2
- package/migrations/update-5_0_3/index.js +0 -30
- package/migrations/update-5_0_3/index.spec.js +0 -85
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -83
- package/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/bar-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/bar-chart/index.js +0 -15
- package/templates/angular/ig-ts/column-chart/default/files/src/app/assets/world-energy-production.ts +0 -54
- package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -87
- package/templates/angular/ig-ts/column-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/column-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/column-chart/index.js +0 -15
- package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.component.ts +0 -45
- package/templates/angular/ig-ts/combo/combo/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/combo/combo/index.js +0 -16
- package/templates/angular/ig-ts/combo/index.js +0 -16
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/assets/logo.jpg +0 -0
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/files/src/app/components/__path__/__filePrefix__.component.ts +0 -368
- package/templates/angular/ig-ts/custom-templates/editors-calculation-form/index.js +0 -18
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/data-fe.ts +0 -88
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/folder.png +0 -0
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/assets/opened_folder.png +0 -0
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.component.ts +0 -50
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.js +0 -62
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/assets/doughnut-data.ts +0 -10
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/doughnut-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/doughnut-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/doughnut-chart/index.js +0 -16
- package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -19
- package/templates/angular/ig-ts/editors/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/editors/index.js +0 -58
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/assets/financial-data.ts +0 -115
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -152
- package/templates/angular/ig-ts/financial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/financial-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/financial-chart/index.js +0 -15
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/assets/funnel-data.ts +0 -12
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -69
- package/templates/angular/ig-ts/funnel-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/funnel-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/funnel-chart/index.js +0 -15
- package/templates/angular/ig-ts/generate/files/src/app/components/__path__/__filePrefix__.component.ts +0 -14
- package/templates/angular/ig-ts/generate/template.json +0 -13
- package/templates/angular/ig-ts/grid/basic/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
- package/templates/angular/ig-ts/grid/basic/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/basic/index.js +0 -41
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -32
- package/templates/angular/ig-ts/grid/grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-custom/index.js +0 -45
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/assets/northwindProducts.ts +0 -12
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-editing/index.js +0 -42
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/assets/employees.ts +0 -15
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -88
- package/templates/angular/ig-ts/grid/grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-export/index.js +0 -42
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/assets/northwindProductsFlat.ts +0 -13
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.component.ts +0 -34
- package/templates/angular/ig-ts/grid/grid-templating/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/grid/grid-templating/index.js +0 -42
- package/templates/angular/ig-ts/grid/index.js +0 -12
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -75
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.js +0 -42
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.js +0 -45
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -76
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.js +0 -43
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/assets/northwind.ts +0 -12626
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -99
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.js +0 -43
- package/templates/angular/ig-ts/hierarchical-grid/index.js +0 -12
- package/templates/angular/ig-ts/index.js +0 -17
- package/templates/angular/ig-ts/line-chart/default/files/src/app/assets/line-chart-data.ts +0 -9
- package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -109
- package/templates/angular/ig-ts/line-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/line-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/line-chart/index.js +0 -15
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/assets/data.ts +0 -9
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -28
- package/templates/angular/ig-ts/pie-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/pie-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/pie-chart/index.js +0 -15
- package/templates/angular/ig-ts/projects/empty/files/README.md +0 -39
- package/templates/angular/ig-ts/projects/empty/files/__dot__browserslistrc +0 -17
- package/templates/angular/ig-ts/projects/empty/files/__dot__editorconfig +0 -16
- package/templates/angular/ig-ts/projects/empty/files/__dot__gitignore +0 -51
- package/templates/angular/ig-ts/projects/empty/files/angular.json +0 -105
- package/templates/angular/ig-ts/projects/empty/files/ignite-ui-cli.json +0 -22
- package/templates/angular/ig-ts/projects/empty/files/karma.conf.js +0 -55
- package/templates/angular/ig-ts/projects/empty/files/package.json +0 -44
- package/templates/angular/ig-ts/projects/empty/files/src/app/app-routing.module.ts +0 -17
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.css +0 -6
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.html +0 -5
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.spec.ts +0 -22
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.component.ts +0 -10
- package/templates/angular/ig-ts/projects/empty/files/src/app/app.module.ts +0 -22
- package/templates/angular/ig-ts/projects/empty/files/src/app/home.component.ts +0 -12
- package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.css +0 -36
- package/templates/angular/ig-ts/projects/empty/files/src/app/shared/nav-menu.component.ts +0 -34
- package/templates/angular/ig-ts/projects/empty/files/src/assets/Ignite-header-apps-960.png +0 -0
- package/templates/angular/ig-ts/projects/empty/files/src/assets/css/variables.scss +0 -7
- package/templates/angular/ig-ts/projects/empty/files/src/assets/lines-bottom-right.svg +0 -56
- package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.prod.ts +0 -3
- package/templates/angular/ig-ts/projects/empty/files/src/environments/environment.ts +0 -16
- package/templates/angular/ig-ts/projects/empty/files/src/favicon.ico +0 -0
- package/templates/angular/ig-ts/projects/empty/files/src/index.html +0 -14
- package/templates/angular/ig-ts/projects/empty/files/src/main.ts +0 -11
- package/templates/angular/ig-ts/projects/empty/files/src/polyfills.ts +0 -53
- package/templates/angular/ig-ts/projects/empty/files/src/styles.css +0 -23
- package/templates/angular/ig-ts/projects/empty/files/src/test.ts +0 -23
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.app.json +0 -15
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.json +0 -30
- package/templates/angular/ig-ts/projects/empty/files/tsconfig.spec.json +0 -18
- package/templates/angular/ig-ts/projects/empty/index.js +0 -126
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/assets/temperature.ts +0 -16
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts +0 -64
- package/templates/angular/ig-ts/radial-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -29
- package/templates/angular/ig-ts/radial-chart/default/index.js +0 -17
- package/templates/angular/ig-ts/radial-chart/index.js +0 -15
- package/templates/angular/ig-ts/tree-grid/index.js +0 -12
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/assets/data-basic.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.component.ts +0 -37
- package/templates/angular/ig-ts/tree-grid/tree-grid/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid/index.js +0 -42
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/assets/data-custom.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.js +0 -42
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/assets/data-editing.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.component.ts +0 -38
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.js +0 -61
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-flat.ts +0 -33
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/assets/data-hierarchical.ts +0 -28
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.component.ts +0 -91
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/files/src/app/components/__path__/__filePrefix__.spec.ts +0 -30
- package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.js +0 -43
- package/templates/react/es6/bar-chart/default/files/src/components/__path__/index.js +0 -89
- package/templates/react/es6/bar-chart/default/files/src/data/world-energy-production.js +0 -55
- package/templates/react/es6/bar-chart/default/index.js +0 -21
- package/templates/react/es6/bar-chart/index.js +0 -15
- package/templates/react/es6/column-chart/default/files/src/components/__path__/index.js +0 -88
- package/templates/react/es6/column-chart/default/files/src/data/world-energy-production.js +0 -55
- package/templates/react/es6/column-chart/default/index.js +0 -21
- package/templates/react/es6/column-chart/index.js +0 -15
- package/templates/react/es6/combo/combo/files/src/components/__path__/index.js +0 -45
- package/templates/react/es6/combo/combo/index.js +0 -21
- package/templates/react/es6/combo/index.js +0 -15
- package/templates/react/es6/doughnut-chart/doughnut-chart/files/src/components/__path__/index.js +0 -44
- package/templates/react/es6/doughnut-chart/doughnut-chart/index.js +0 -21
- package/templates/react/es6/doughnut-chart/index.js +0 -16
- package/templates/react/es6/editors/editors/files/src/components/__path__/index.js +0 -17
- package/templates/react/es6/editors/index.js +0 -58
- package/templates/react/es6/financial-chart/financial-chart/files/src/components/__path__/index.js +0 -154
- package/templates/react/es6/financial-chart/financial-chart/files/src/data/financial-data.js +0 -118
- package/templates/react/es6/financial-chart/financial-chart/index.js +0 -21
- package/templates/react/es6/financial-chart/index.js +0 -15
- package/templates/react/es6/funnel-chart/funnel-chart/files/src/components/__path__/index.js +0 -41
- package/templates/react/es6/funnel-chart/funnel-chart/index.js +0 -21
- package/templates/react/es6/funnel-chart/index.js +0 -15
- package/templates/react/es6/generate/files/src/components/__path__/index.js +0 -10
- package/templates/react/es6/generate/template.json +0 -13
- package/templates/react/es6/grid/basic/files/src/components/__path__/index.js +0 -39
- package/templates/react/es6/grid/basic/index.js +0 -40
- package/templates/react/es6/grid/grid-custom/files/src/components/__path__/index.js +0 -40
- package/templates/react/es6/grid/grid-custom/index.js +0 -43
- package/templates/react/es6/grid/grid-editing/files/src/components/__path__/index.js +0 -47
- package/templates/react/es6/grid/grid-editing/index.js +0 -41
- package/templates/react/es6/grid/grid-export/files/src/components/__path__/index.js +0 -124
- package/templates/react/es6/grid/grid-export/files/src/components/__path__/styles.css +0 -13
- package/templates/react/es6/grid/grid-export/index.js +0 -41
- package/templates/react/es6/grid/grid-templating/files/src/components/__path__/index.js +0 -38
- package/templates/react/es6/grid/grid-templating/files/src/components/__path__/northwind.js +0 -605
- package/templates/react/es6/grid/grid-templating/index.js +0 -40
- package/templates/react/es6/grid/index.js +0 -15
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/index.js +0 -79
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.js +0 -41
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/index.js +0 -82
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.js +0 -44
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/index.js +0 -81
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.js +0 -42
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/index.js +0 -112
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/northwind.js +0 -12626
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/files/src/components/__path__/styles.css +0 -13
- package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +0 -42
- package/templates/react/es6/hierarchical-grid/index.js +0 -15
- package/templates/react/es6/index.js +0 -20
- package/templates/react/es6/line-chart/default/files/src/components/__path__/index.js +0 -76
- package/templates/react/es6/line-chart/default/index.js +0 -21
- package/templates/react/es6/line-chart/index.js +0 -15
- package/templates/react/es6/pie-chart/index.js +0 -15
- package/templates/react/es6/pie-chart/pie-chart/files/src/components/__path__/index.js +0 -38
- package/templates/react/es6/pie-chart/pie-chart/index.js +0 -21
- package/templates/react/es6/projects/empty/files/README.md +0 -36
- package/templates/react/es6/projects/empty/files/__dot__editorconfig +0 -3
- package/templates/react/es6/projects/empty/files/__dot__env +0 -1
- package/templates/react/es6/projects/empty/files/__dot__eslintrc.json +0 -6
- package/templates/react/es6/projects/empty/files/__dot__gitignore +0 -23
- package/templates/react/es6/projects/empty/files/ignite-ui-cli.json +0 -21
- package/templates/react/es6/projects/empty/files/package.json +0 -36
- package/templates/react/es6/projects/empty/files/public/favicon.ico +0 -0
- package/templates/react/es6/projects/empty/files/public/index.html +0 -42
- package/templates/react/es6/projects/empty/files/public/manifest.json +0 -15
- package/templates/react/es6/projects/empty/files/public/robots.txt +0 -3
- package/templates/react/es6/projects/empty/files/src/App.css +0 -52
- package/templates/react/es6/projects/empty/files/src/App.js +0 -39
- package/templates/react/es6/projects/empty/files/src/components/home/index.js +0 -25
- package/templates/react/es6/projects/empty/files/src/components/navigation-header/index.js +0 -47
- package/templates/react/es6/projects/empty/files/src/hoc/asyncComponent.js +0 -50
- package/templates/react/es6/projects/empty/files/src/igniteuiResources.js +0 -7
- package/templates/react/es6/projects/empty/files/src/index.css +0 -13
- package/templates/react/es6/projects/empty/files/src/index.js +0 -23
- package/templates/react/es6/projects/empty/files/src/reportWebVitals.js +0 -13
- package/templates/react/es6/projects/empty/files/src/routes.json +0 -7
- package/templates/react/es6/projects/empty/index.js +0 -78
- package/templates/react/es6/radial-chart/index.js +0 -15
- package/templates/react/es6/radial-chart/radial-chart/files/src/components/__path__/index.js +0 -68
- package/templates/react/es6/radial-chart/radial-chart/files/src/data/temperature.js +0 -16
- package/templates/react/es6/radial-chart/radial-chart/index.js +0 -21
- package/templates/react/es6/scatter-chart/index.js +0 -16
- package/templates/react/es6/scatter-chart/scatter-chart/files/src/components/__path__/index.js +0 -59
- package/templates/react/es6/scatter-chart/scatter-chart/files/src/data/temperature.js +0 -58
- package/templates/react/es6/scatter-chart/scatter-chart/index.js +0 -21
- package/templates/react/es6/tree-grid/index.js +0 -15
- package/templates/react/es6/tree-grid/tree-grid/files/src/components/__path__/index.js +0 -61
- package/templates/react/es6/tree-grid/tree-grid/index.js +0 -41
- package/templates/react/es6/tree-grid/tree-grid-custom/files/src/components/__path__/index.js +0 -62
- package/templates/react/es6/tree-grid/tree-grid-custom/index.js +0 -41
- package/templates/react/es6/tree-grid/tree-grid-editing/files/src/components/__path__/index.js +0 -62
- package/templates/react/es6/tree-grid/tree-grid-editing/index.js +0 -42
- package/templates/react/es6/tree-grid/tree-grid-export/files/src/components/__path__/index.js +0 -161
- package/templates/react/es6/tree-grid/tree-grid-export/index.js +0 -42
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/index.js +0 -62
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/bullet-graph/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/bullet-graph/default/index.js +0 -17
- package/templates/react/igr-es6/bullet-graph/index.js +0 -15
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/index.js +0 -45
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/category-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/category-chart/default/index.js +0 -18
- package/templates/react/igr-es6/category-chart/index.js +0 -16
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/index.js +0 -85
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/doughnut-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/doughnut-chart/default/index.js +0 -17
- package/templates/react/igr-es6/doughnut-chart/index.js +0 -15
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/index.js +0 -55
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/style.css +0 -10
- package/templates/react/igr-es6/financial-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/financial-chart/default/index.js +0 -19
- package/templates/react/igr-es6/financial-chart/index.js +0 -16
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/data.js +0 -46
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/index.js +0 -46
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/style.css +0 -17
- package/templates/react/igr-es6/grid/basic/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/grid/basic/index.js +0 -23
- package/templates/react/igr-es6/grid/index.js +0 -15
- package/templates/react/igr-es6/groups.json +0 -5
- package/templates/react/igr-es6/index.js +0 -17
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/index.js +0 -62
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/linear-gauge/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/linear-gauge/default/index.js +0 -17
- package/templates/react/igr-es6/linear-gauge/index.js +0 -15
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/index.js +0 -83
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/style.css +0 -9
- package/templates/react/igr-es6/pie-chart/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/pie-chart/default/index.js +0 -17
- package/templates/react/igr-es6/pie-chart/index.js +0 -15
- package/templates/react/igr-es6/projects/_base/__dot__eslintrc.json +0 -3
- package/templates/react/igr-es6/projects/_base/files/README.md +0 -48
- package/templates/react/igr-es6/projects/_base/files/__dot__editorconfig +0 -3
- package/templates/react/igr-es6/projects/_base/files/__dot__env +0 -1
- package/templates/react/igr-es6/projects/_base/files/__dot__gitignore +0 -23
- package/templates/react/igr-es6/projects/_base/files/ignite-ui-cli.json +0 -16
- package/templates/react/igr-es6/projects/_base/files/package.json +0 -30
- package/templates/react/igr-es6/projects/_base/files/public/favicon.ico +0 -0
- package/templates/react/igr-es6/projects/_base/files/public/index.html +0 -41
- package/templates/react/igr-es6/projects/_base/files/public/manifest.json +0 -15
- package/templates/react/igr-es6/projects/_base/files/src/App.test.js +0 -9
- package/templates/react/igr-es6/projects/_base/files/src/hoc/asyncComponent.js +0 -50
- package/templates/react/igr-es6/projects/_base/files/src/index.css +0 -14
- package/templates/react/igr-es6/projects/_base/files/src/index.js +0 -19
- package/templates/react/igr-es6/projects/_base/files/src/routes.json +0 -7
- package/templates/react/igr-es6/projects/_base/files/src/serviceWorker.js +0 -135
- package/templates/react/igr-es6/projects/_base/files/src/views/home/index.js +0 -27
- package/templates/react/igr-es6/projects/_base/files/src/views/home/logo.svg +0 -7
- package/templates/react/igr-es6/projects/_base/files/src/views/home/style.css +0 -28
- package/templates/react/igr-es6/projects/_base/index.d.ts +0 -29
- package/templates/react/igr-es6/projects/_base/index.js +0 -81
- package/templates/react/igr-es6/projects/top-nav/files/src/App.css +0 -59
- package/templates/react/igr-es6/projects/top-nav/files/src/App.js +0 -36
- package/templates/react/igr-es6/projects/top-nav/files/src/components/navigation-header/index.js +0 -37
- package/templates/react/igr-es6/projects/top-nav/files/src/setupTests.js +0 -4
- package/templates/react/igr-es6/projects/top-nav/index.d.ts +0 -14
- package/templates/react/igr-es6/projects/top-nav/index.js +0 -45
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/index.js +0 -66
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/style.css +0 -12
- package/templates/react/igr-es6/radial-gauge/default/files/src/views/__path__/test.js +0 -9
- package/templates/react/igr-es6/radial-gauge/default/index.js +0 -18
- package/templates/react/igr-es6/radial-gauge/index.js +0 -16
- package/templates/react/igr-ts/grid/basic/files/src/app/__path__/data.tsx +0 -46
- package/templates/react/igr-ts/projects/_base/files/eslint.config.mjs +0 -48
- package/templates/react/igr-ts/projects/_base/files/public/favicon.ico +0 -0
- package/templates/react/igr-ts/projects/top-nav/files/src/app/app.css +0 -62
- package/templates/react/igr-ts/projects/top-nav/files/src/app/app.test.tsx +0 -14
- package/templates/react/igr-ts/projects/top-nav/files/src/app/app.tsx +0 -18
- package/templates/react/igr-ts/projects/top-nav/files/src/components/navigation-header/index.tsx +0 -29
- package/templates/react/igr-ts/projects/top-nav/index.d.ts +0 -14
- package/templates/react/igr-ts/projects/top-nav/index.js +0 -45
- package/templates/webcomponents/igc-ts/projects/_base/files/eslint.config.mjs +0 -37
- package/templates/webcomponents/igc-ts/projects/_base/files/tsconfig.test.json +0 -14
- package/templates/webcomponents/igc-ts/projects/_base/files/web-dev-server.config.mjs +0 -27
- /package/migrations/{update-13_1_0 → legacy-type}/index.d.ts +0 -0
- /package/migrations/{update-13_1_0 → legacy-type}/index.spec.d.ts +0 -0
- /package/templates/{angular/ig-ts/bar-chart/default → blazor/igb}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/bar-chart → react/igr-ts/accordion/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/column-chart/default → react/igr-ts/accordion}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/column-chart → react/igr-ts/avatar/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/combo/combo → react/igr-ts/avatar}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/combo → react/igr-ts/badge/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/custom-templates/editors-calculation-form → react/igr-ts/badge}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/custom-templates/tree-grid-file-explorer → react/igr-ts/banner/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/doughnut-chart/default → react/igr-ts/banner}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/doughnut-chart → react/igr-ts/breadcrumbs/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/editors → react/igr-ts/breadcrumbs}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/funnel-chart → react/igr-ts/button}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/funnel-chart → react/igr-ts/button}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/financial-chart → react/igr-ts/button-group}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/financial-chart → react/igr-ts/button-group}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/basic → react/igr-ts/calendar/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-custom → react/igr-ts/calendar}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-editing → react/igr-ts/card/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-export → react/igr-ts/card}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid/grid-templating → react/igr-ts/carousel/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/grid → react/igr-ts/carousel}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-custom → react/igr-ts/chat/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-editing → react/igr-ts/chat}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid-export → react/igr-ts/checkbox/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid/hierarchical-grid → react/igr-ts/checkbox}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/hierarchical-grid → react/igr-ts/chip/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts → react/igr-ts/chip}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/line-chart → react/igr-ts/circular-progress}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/line-chart → react/igr-ts/circular-progress}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/pie-chart/default → react/igr-ts/color-picker/color-picker-alpha}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/pie-chart → react/igr-ts/color-picker/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/projects/empty → react/igr-ts/color-picker}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/radial-chart → react/igr-ts/combo}/default/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/radial-chart → react/igr-ts/combo}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid → react/igr-ts/custom-templates/subscription-form}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid-custom → react/igr-ts/date-picker/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid-editing → react/igr-ts/date-picker}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid-export → react/igr-ts/date-range-picker/default}/index.d.ts +0 -0
- /package/templates/{angular/ig-ts/tree-grid/tree-grid → react/igr-ts/date-range-picker}/index.d.ts +0 -0
- /package/templates/react/{es6/bar-chart → igr-ts/date-time-input}/default/index.d.ts +0 -0
- /package/templates/react/{es6/bar-chart → igr-ts/date-time-input}/index.d.ts +0 -0
- /package/templates/react/{es6/column-chart → igr-ts/dialog}/default/index.d.ts +0 -0
- /package/templates/react/{es6/column-chart → igr-ts/dialog}/index.d.ts +0 -0
- /package/templates/react/{es6/combo/combo → igr-ts/divider/default}/index.d.ts +0 -0
- /package/templates/react/{es6/combo → igr-ts/divider}/index.d.ts +0 -0
- /package/templates/react/{es6/doughnut-chart/doughnut-chart → igr-ts/dropdown/default}/index.d.ts +0 -0
- /package/templates/react/{es6/doughnut-chart → igr-ts/dropdown}/index.d.ts +0 -0
- /package/templates/react/{es6/editors → igr-ts/expansion-panel/default}/index.d.ts +0 -0
- /package/templates/react/{es6/financial-chart/financial-chart → igr-ts/expansion-panel}/index.d.ts +0 -0
- /package/templates/react/{es6/financial-chart → igr-ts/file-input/default}/index.d.ts +0 -0
- /package/templates/react/{es6/funnel-chart/funnel-chart → igr-ts/file-input}/index.d.ts +0 -0
- /package/templates/react/{es6/funnel-chart → igr-ts/form/default}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/basic → igr-ts/form}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-custom → igr-ts/hierarchical-grid/basic}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-editing → igr-ts/hierarchical-grid}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-export → igr-ts/highlight/default}/index.d.ts +0 -0
- /package/templates/react/{es6/grid/grid-templating → igr-ts/highlight}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-editing → igr-ts/icon/default}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-export → igr-ts/icon}/index.d.ts +0 -0
- /package/templates/react/{es6/grid → igr-ts/icon-button/default}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid/hierarchical-grid-custom → igr-ts/icon-button}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid/hierarchical-grid → igr-ts/input/default}/index.d.ts +0 -0
- /package/templates/react/{es6/hierarchical-grid → igr-ts/input}/index.d.ts +0 -0
- /package/templates/react/{es6 → igr-ts/linear-progress/default}/index.d.ts +0 -0
- /package/templates/react/{es6/line-chart/default → igr-ts/linear-progress}/index.d.ts +0 -0
- /package/templates/react/{es6/line-chart → igr-ts/list/default}/index.d.ts +0 -0
- /package/templates/react/{es6/pie-chart → igr-ts/list}/index.d.ts +0 -0
- /package/templates/react/{es6/pie-chart/pie-chart → igr-ts/mask-input/default}/index.d.ts +0 -0
- /package/templates/react/{es6/projects/empty → igr-ts/mask-input}/index.d.ts +0 -0
- /package/templates/react/{es6/radial-chart → igr-ts/nav-drawer/default}/index.d.ts +0 -0
- /package/templates/react/{es6/radial-chart/radial-chart → igr-ts/nav-drawer}/index.d.ts +0 -0
- /package/templates/react/{es6/scatter-chart → igr-ts/navbar/default}/index.d.ts +0 -0
- /package/templates/react/{es6/scatter-chart/scatter-chart → igr-ts/navbar}/index.d.ts +0 -0
- /package/templates/react/{es6/tree-grid → igr-ts/pivot-grid/basic}/index.d.ts +0 -0
- /package/templates/react/{es6/tree-grid/tree-grid-custom → igr-ts/pivot-grid}/index.d.ts +0 -0
- /package/templates/react/{es6/tree-grid/tree-grid-editing → igr-ts/qr-code/default}/index.d.ts +0 -0
- /package/templates/react/{es6/tree-grid/tree-grid-export → igr-ts/qr-code}/index.d.ts +0 -0
- /package/templates/react/{es6/tree-grid/tree-grid → igr-ts/radio-group/default}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/bullet-graph/default → igr-ts/radio-group}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/bullet-graph → igr-ts/range-slider/default}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/category-chart/default → igr-ts/range-slider}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/category-chart → igr-ts/rating/default}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/doughnut-chart/default → igr-ts/rating}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/doughnut-chart → igr-ts/ripple/default}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/financial-chart/default → igr-ts/ripple}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/financial-chart → igr-ts/select/default}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/grid/basic → igr-ts/select}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/grid → igr-ts/slider/default}/index.d.ts +0 -0
- /package/templates/react/{igr-es6 → igr-ts/slider}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/linear-gauge → igr-ts/snackbar}/default/index.d.ts +0 -0
- /package/templates/react/{igr-es6/linear-gauge → igr-ts/snackbar}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/pie-chart → igr-ts/splitter}/default/index.d.ts +0 -0
- /package/templates/react/{igr-es6/pie-chart → igr-ts/splitter}/index.d.ts +0 -0
- /package/templates/react/{igr-es6/radial-gauge → igr-ts/stepper}/default/index.d.ts +0 -0
- /package/templates/react/{igr-es6/radial-gauge → igr-ts/stepper}/index.d.ts +0 -0
- /package/{migrations/update-2/index.spec.d.ts → templates/react/igr-ts/switch/default/index.d.ts} +0 -0
- /package/{migrations/update-3/index.spec.d.ts → templates/react/igr-ts/switch/index.d.ts} +0 -0
- /package/{migrations/update-3_2/index.spec.d.ts → templates/react/igr-ts/tabs/default/index.d.ts} +0 -0
- /package/{migrations/update-4_2_3/index.spec.d.ts → templates/react/igr-ts/tabs/index.d.ts} +0 -0
- /package/{migrations/update-5_0_0/index.spec.d.ts → templates/react/igr-ts/text-area/default/index.d.ts} +0 -0
- /package/{migrations/update-5_0_3/index.spec.d.ts → templates/react/igr-ts/text-area/index.d.ts} +0 -0
- /package/templates/webcomponents/igc-ts/tabs/default/files/src/app/__path__/{__filePrefix__.test → __filePrefix__.test.ts} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { Login } from '../models/login.js';
|
|
2
|
+
import type { RegisterInfo } from '../models/register-info.js';
|
|
3
|
+
import type { ExternalLogin } from '../models/external-login.js';
|
|
4
|
+
import type { LoginResult } from '../models/user.js';
|
|
5
|
+
import { parseUser } from './jwtUtil.js';
|
|
6
|
+
import { fakeLogin, fakeRegister, fakeExtLogin } from './fakeBackend.js';
|
|
7
|
+
|
|
8
|
+
/** Authentication service — swap fakeLogin/fakeRegister for real API calls when ready. */
|
|
9
|
+
export const Authentication = {
|
|
10
|
+
async login(data: Login): Promise<LoginResult> {
|
|
11
|
+
try {
|
|
12
|
+
const token = await fakeLogin(data);
|
|
13
|
+
return { user: parseUser(token) };
|
|
14
|
+
} catch (e: any) {
|
|
15
|
+
return { error: e.message };
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
|
|
19
|
+
async register(data: RegisterInfo): Promise<LoginResult> {
|
|
20
|
+
try {
|
|
21
|
+
const token = await fakeRegister(data);
|
|
22
|
+
return { user: parseUser(token) };
|
|
23
|
+
} catch (e: any) {
|
|
24
|
+
return { error: e.message };
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
/** Send user info from a social provider to the external login endpoint. */
|
|
29
|
+
async loginWith(data: ExternalLogin): Promise<LoginResult> {
|
|
30
|
+
try {
|
|
31
|
+
const token = fakeExtLogin(data);
|
|
32
|
+
return { user: parseUser(token) };
|
|
33
|
+
} catch (e: any) {
|
|
34
|
+
return { error: e.message };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Social login configuration.
|
|
2
|
+
// To enable a provider, set its entry in oauthConfig below with your real credentials
|
|
3
|
+
// from the provider's developer console.
|
|
4
|
+
//
|
|
5
|
+
// Redirect URIs to register in each provider's app settings:
|
|
6
|
+
// {your-origin}/auth/redirect-google
|
|
7
|
+
// {your-origin}/auth/redirect-facebook
|
|
8
|
+
// {your-origin}/auth/redirect-microsoft
|
|
9
|
+
//
|
|
10
|
+
// Developer consoles:
|
|
11
|
+
// Google: https://console.cloud.google.com/apis/credentials
|
|
12
|
+
// Microsoft: https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps
|
|
13
|
+
// Facebook: https://developers.facebook.com/apps
|
|
14
|
+
|
|
15
|
+
export type OAuthProvider = 'google' | 'facebook' | 'microsoft';
|
|
16
|
+
|
|
17
|
+
export interface OAuthConfig {
|
|
18
|
+
google?: { clientId: string };
|
|
19
|
+
|
|
20
|
+
// tenantId defaults to 'common' (multi-tenant). Set it for single-tenant apps.
|
|
21
|
+
// IMPORTANT: The redirect URI must be registered as a SPA redirect URI in Azure
|
|
22
|
+
// (not "Web"), otherwise the token exchange will fail with a CORS error.
|
|
23
|
+
// See: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow
|
|
24
|
+
microsoft?: { clientId: string; tenantId?: string };
|
|
25
|
+
|
|
26
|
+
// Facebook login uses the JS SDK (popup flow). The SDK script must be loaded in
|
|
27
|
+
// index.html (see below). In the Facebook app dashboard you must also:
|
|
28
|
+
// - Enable "Login with the JavaScript SDK"
|
|
29
|
+
// - Add your domain to "Allowed Domains for the JavaScript SDK"
|
|
30
|
+
// - Add the redirect URI to "Valid OAuth Redirect URIs"
|
|
31
|
+
// - Serve the app over HTTPS
|
|
32
|
+
// See: https://developers.facebook.com/docs/facebook-login/web
|
|
33
|
+
facebook?: { clientId: string };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Active OAuth configuration — fill in the providers you want to enable, for example:
|
|
37
|
+
//
|
|
38
|
+
// export const oauthConfig: OAuthConfig = {
|
|
39
|
+
// google: { clientId: 'YOUR_GOOGLE_CLIENT_ID' },
|
|
40
|
+
// microsoft: { clientId: 'YOUR_AZURE_APP_CLIENT_ID', tenantId: 'common' },
|
|
41
|
+
// // Note: Facebook requires HTTPS even for local dev - use ngrok or a local SSL proxy.
|
|
42
|
+
// facebook: { clientId: 'YOUR_FACEBOOK_APP_ID' },
|
|
43
|
+
// };
|
|
44
|
+
export const oauthConfig: OAuthConfig = {};
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import type { ExternalLogin } from '../models/external-login.js';
|
|
2
|
+
import type { OAuthProvider } from './external-auth-config.js';
|
|
3
|
+
import { oauthConfig } from './external-auth-config.js';
|
|
4
|
+
import { generateCodeVerifier, generateCodeChallenge, buildAuthUrl } from './pkce.js';
|
|
5
|
+
|
|
6
|
+
// sessionStorage keys
|
|
7
|
+
const VERIFIER_KEY = '_pkce_verifier';
|
|
8
|
+
const STATE_KEY = '_oauth_state';
|
|
9
|
+
const FB_USER_KEY = '_fb_user';
|
|
10
|
+
const ACTIVE_PROVIDER_KEY = '_ext_active_provider';
|
|
11
|
+
|
|
12
|
+
// Declared by the Facebook JS SDK (loaded via script tag in index.html)
|
|
13
|
+
declare const FB: any;
|
|
14
|
+
|
|
15
|
+
// Set to true once FB.init() has been called in this session.
|
|
16
|
+
// Prevents FB.logout() from being called before initialization.
|
|
17
|
+
let fbInitialized = false;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Decode a JWT payload segment. Handles Base64URL encoding (no padding, - and _ chars)
|
|
21
|
+
* which `atob()` does not accept natively - missing padding causes `InvalidCharacterError`.
|
|
22
|
+
*/
|
|
23
|
+
function decodeJwtPayload(token: string): any {
|
|
24
|
+
const base64url = token.split('.')[1];
|
|
25
|
+
const base64 = base64url.replace(/-/g, '+').replace(/_/g, '/');
|
|
26
|
+
const padded = base64.padEnd(base64.length + (4 - base64.length % 4) % 4, '=');
|
|
27
|
+
return JSON.parse(atob(padded));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Waits until the Facebook JS SDK has loaded and is available on window.
|
|
32
|
+
* The SDK is loaded with `async defer` so it may not be ready when login() is called.
|
|
33
|
+
*/
|
|
34
|
+
function waitForFB(): Promise<void> {
|
|
35
|
+
return new Promise(resolve => {
|
|
36
|
+
if (typeof (window as any).FB !== 'undefined') { resolve(); return; }
|
|
37
|
+
const id = setInterval(() => {
|
|
38
|
+
if (typeof (window as any).FB !== 'undefined') { clearInterval(id); resolve(); }
|
|
39
|
+
}, 50);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* External (social) authentication service.
|
|
45
|
+
* Supports Google and Microsoft via OIDC/PKCE, and Facebook via the JS SDK.
|
|
46
|
+
*
|
|
47
|
+
* Usage: call login(provider) to start the flow; call handleRedirect(provider)
|
|
48
|
+
* on the matching redirect page to complete it and retrieve the user profile.
|
|
49
|
+
*/
|
|
50
|
+
export const ExternalAuth = {
|
|
51
|
+
/** Returns true if any provider (or the specific provider) is configured. */
|
|
52
|
+
hasProvider(provider?: OAuthProvider): boolean {
|
|
53
|
+
if (provider) {
|
|
54
|
+
return provider in oauthConfig && (oauthConfig as any)[provider] != null;
|
|
55
|
+
}
|
|
56
|
+
return Object.values(oauthConfig).some(v => v != null);
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
/** Initiate login for the given provider. Redirects the page to the provider's auth endpoint. */
|
|
60
|
+
async login(provider: OAuthProvider): Promise<void> {
|
|
61
|
+
localStorage.setItem(ACTIVE_PROVIDER_KEY, provider);
|
|
62
|
+
if (provider === 'google') {
|
|
63
|
+
const cfg = oauthConfig.google!;
|
|
64
|
+
const verifier = generateCodeVerifier();
|
|
65
|
+
const challenge = await generateCodeChallenge(verifier);
|
|
66
|
+
sessionStorage.setItem(VERIFIER_KEY, verifier);
|
|
67
|
+
const state = crypto.randomUUID();
|
|
68
|
+
sessionStorage.setItem(STATE_KEY, state);
|
|
69
|
+
const redirectUri = `${window.location.origin}/auth/redirect-google`;
|
|
70
|
+
window.location.href = buildAuthUrl('https://accounts.google.com/o/oauth2/v2/auth', {
|
|
71
|
+
response_type: 'code',
|
|
72
|
+
client_id: cfg.clientId,
|
|
73
|
+
redirect_uri: redirectUri,
|
|
74
|
+
scope: 'openid profile email',
|
|
75
|
+
code_challenge: challenge,
|
|
76
|
+
code_challenge_method: 'S256',
|
|
77
|
+
state,
|
|
78
|
+
});
|
|
79
|
+
} else if (provider === 'microsoft') {
|
|
80
|
+
const cfg = oauthConfig.microsoft!;
|
|
81
|
+
const tenantId = cfg.tenantId ?? 'common';
|
|
82
|
+
const verifier = generateCodeVerifier();
|
|
83
|
+
const challenge = await generateCodeChallenge(verifier);
|
|
84
|
+
sessionStorage.setItem(VERIFIER_KEY, verifier);
|
|
85
|
+
const state = crypto.randomUUID();
|
|
86
|
+
sessionStorage.setItem(STATE_KEY, state);
|
|
87
|
+
const redirectUri = `${window.location.origin}/auth/redirect-microsoft`;
|
|
88
|
+
window.location.href = buildAuthUrl(
|
|
89
|
+
`https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/authorize`,
|
|
90
|
+
{
|
|
91
|
+
response_type: 'code',
|
|
92
|
+
client_id: cfg.clientId,
|
|
93
|
+
redirect_uri: redirectUri,
|
|
94
|
+
scope: 'openid profile email',
|
|
95
|
+
code_challenge: challenge,
|
|
96
|
+
code_challenge_method: 'S256',
|
|
97
|
+
state,
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
} else if (provider === 'facebook') {
|
|
101
|
+
const cfg = oauthConfig.facebook!;
|
|
102
|
+
// Wait for the SDK to load (it is included with `async defer` in index.html
|
|
103
|
+
// and may not be available yet when the user clicks the login button).
|
|
104
|
+
await waitForFB();
|
|
105
|
+
FB.init({ appId: cfg.clientId, xfbml: false, version: 'v3.1' });
|
|
106
|
+
fbInitialized = true;
|
|
107
|
+
FB.login(
|
|
108
|
+
(response: any) => {
|
|
109
|
+
if (response.authResponse) {
|
|
110
|
+
FB.api(
|
|
111
|
+
'/me?fields=id,email,name,first_name,last_name,picture',
|
|
112
|
+
(res: any) => {
|
|
113
|
+
const user: ExternalLogin = {
|
|
114
|
+
id: res.id,
|
|
115
|
+
name: res.name,
|
|
116
|
+
given_name: res.first_name,
|
|
117
|
+
family_name: res.last_name,
|
|
118
|
+
email: res.email,
|
|
119
|
+
// Facebook returns picture as an object: { data: { url, width, height } }
|
|
120
|
+
picture: res.picture?.data?.url,
|
|
121
|
+
externalToken: FB.getAuthResponse()?.accessToken ?? '',
|
|
122
|
+
};
|
|
123
|
+
sessionStorage.setItem(FB_USER_KEY, JSON.stringify(user));
|
|
124
|
+
window.location.href = '/auth/redirect-facebook';
|
|
125
|
+
}
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{ scope: 'public_profile,email' }
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Complete the OAuth redirect flow and return the external user profile.
|
|
136
|
+
* Call this from the /auth/redirect-{provider} page.
|
|
137
|
+
*
|
|
138
|
+
* For Google/Microsoft: exchanges the authorization code (PKCE) for tokens.
|
|
139
|
+
* For Facebook: reads the profile stored during the FB.login() popup flow.
|
|
140
|
+
*/
|
|
141
|
+
async handleRedirect(provider: OAuthProvider): Promise<ExternalLogin> {
|
|
142
|
+
if (provider === 'facebook') {
|
|
143
|
+
const stored = sessionStorage.getItem(FB_USER_KEY);
|
|
144
|
+
if (!stored) throw new Error('No Facebook user data found. Please try again.');
|
|
145
|
+
sessionStorage.removeItem(FB_USER_KEY);
|
|
146
|
+
return JSON.parse(stored) as ExternalLogin;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
const params = new URLSearchParams(window.location.search);
|
|
150
|
+
const code = params.get('code');
|
|
151
|
+
if (!code) throw new Error('Missing authorization code in redirect URL.');
|
|
152
|
+
|
|
153
|
+
// Validate the state parameter to prevent CSRF attacks.
|
|
154
|
+
const returnedState = params.get('state');
|
|
155
|
+
const savedState = sessionStorage.getItem(STATE_KEY);
|
|
156
|
+
sessionStorage.removeItem(STATE_KEY);
|
|
157
|
+
if (!returnedState || returnedState !== savedState) {
|
|
158
|
+
throw new Error('OAuth state mismatch. The request may have been tampered with.');
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
const verifier = sessionStorage.getItem(VERIFIER_KEY);
|
|
162
|
+
if (!verifier) throw new Error('Missing PKCE code verifier. Please try again.');
|
|
163
|
+
sessionStorage.removeItem(VERIFIER_KEY);
|
|
164
|
+
|
|
165
|
+
if (provider === 'google') {
|
|
166
|
+
const cfg = oauthConfig.google!;
|
|
167
|
+
const redirectUri = `${window.location.origin}/auth/redirect-google`;
|
|
168
|
+
const res = await fetch('https://oauth2.googleapis.com/token', {
|
|
169
|
+
method: 'POST',
|
|
170
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
171
|
+
body: new URLSearchParams({
|
|
172
|
+
grant_type: 'authorization_code',
|
|
173
|
+
client_id: cfg.clientId,
|
|
174
|
+
redirect_uri: redirectUri,
|
|
175
|
+
code,
|
|
176
|
+
code_verifier: verifier,
|
|
177
|
+
}),
|
|
178
|
+
});
|
|
179
|
+
if (!res.ok) throw new Error('Google token exchange failed.');
|
|
180
|
+
const data = await res.json();
|
|
181
|
+
// Decode the id_token to extract user claims - no extra userinfo request needed
|
|
182
|
+
const payload = decodeJwtPayload(data.id_token);
|
|
183
|
+
return {
|
|
184
|
+
id: payload.sub,
|
|
185
|
+
name: payload.name,
|
|
186
|
+
given_name: payload.given_name,
|
|
187
|
+
family_name: payload.family_name,
|
|
188
|
+
email: payload.email,
|
|
189
|
+
picture: payload.picture,
|
|
190
|
+
externalToken: data.access_token,
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (provider === 'microsoft') {
|
|
195
|
+
const cfg = oauthConfig.microsoft!;
|
|
196
|
+
const tenantId = cfg.tenantId ?? 'common';
|
|
197
|
+
const redirectUri = `${window.location.origin}/auth/redirect-microsoft`;
|
|
198
|
+
const res = await fetch(
|
|
199
|
+
`https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/token`,
|
|
200
|
+
{
|
|
201
|
+
method: 'POST',
|
|
202
|
+
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
203
|
+
body: new URLSearchParams({
|
|
204
|
+
grant_type: 'authorization_code',
|
|
205
|
+
client_id: cfg.clientId,
|
|
206
|
+
redirect_uri: redirectUri,
|
|
207
|
+
code,
|
|
208
|
+
code_verifier: verifier,
|
|
209
|
+
}),
|
|
210
|
+
}
|
|
211
|
+
);
|
|
212
|
+
if (!res.ok) throw new Error('Microsoft token exchange failed.');
|
|
213
|
+
const data = await res.json();
|
|
214
|
+
const payload = decodeJwtPayload(data.id_token);
|
|
215
|
+
return {
|
|
216
|
+
id: payload.oid ?? payload.sub,
|
|
217
|
+
name: payload.name,
|
|
218
|
+
email: payload.email ?? payload.preferred_username,
|
|
219
|
+
externalToken: data.access_token,
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
throw new Error(`Unknown provider: ${provider}`);
|
|
224
|
+
},
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Sign out from the active external provider (if any) and clear its stored state.
|
|
228
|
+
* Call this alongside clearing local user state on logout.
|
|
229
|
+
*/
|
|
230
|
+
logout(): void {
|
|
231
|
+
const provider = localStorage.getItem(ACTIVE_PROVIDER_KEY) as OAuthProvider | null;
|
|
232
|
+
localStorage.removeItem(ACTIVE_PROVIDER_KEY);
|
|
233
|
+
sessionStorage.removeItem(VERIFIER_KEY);
|
|
234
|
+
sessionStorage.removeItem(FB_USER_KEY);
|
|
235
|
+
|
|
236
|
+
if (!provider) return;
|
|
237
|
+
|
|
238
|
+
if (provider === 'google') {
|
|
239
|
+
// Redirect to Google's end-session endpoint to clear the Google session.
|
|
240
|
+
// The user is returned to the app root after sign-out.
|
|
241
|
+
const cfg = oauthConfig.google;
|
|
242
|
+
if (cfg) {
|
|
243
|
+
window.location.href = `https://accounts.google.com/logout`;
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (provider === 'microsoft') {
|
|
249
|
+
const cfg = oauthConfig.microsoft;
|
|
250
|
+
if (cfg) {
|
|
251
|
+
const tenantId = cfg.tenantId ?? 'common';
|
|
252
|
+
const postLogoutRedirectUri = encodeURIComponent(window.location.origin);
|
|
253
|
+
window.location.href =
|
|
254
|
+
`https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/logout` +
|
|
255
|
+
`?post_logout_redirect_uri=${postLogoutRedirectUri}`;
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
if (provider === 'facebook') {
|
|
261
|
+
// Only call FB.logout() when the SDK was initialised in this session.
|
|
262
|
+
// Calling it on a fresh page load (before FB.init) throws an error.
|
|
263
|
+
try {
|
|
264
|
+
if (fbInitialized && typeof FB !== 'undefined') {
|
|
265
|
+
FB.logout();
|
|
266
|
+
}
|
|
267
|
+
} catch {
|
|
268
|
+
// SDK not loaded - nothing to do
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// ⚠ DEVELOPMENT ONLY — simulates POST /login, /register, /extlogin using localStorage.
|
|
2
|
+
// Before going to production: remove this interceptor and replace with calls to your real API.
|
|
3
|
+
import type { Login } from '../models/login.js';
|
|
4
|
+
import type { RegisterInfo } from '../models/register-info.js';
|
|
5
|
+
import type { ExternalLogin } from '../models/external-login.js';
|
|
6
|
+
|
|
7
|
+
const USERS_KEY = '_fake_users';
|
|
8
|
+
|
|
9
|
+
interface StoredUser {
|
|
10
|
+
given_name: string;
|
|
11
|
+
family_name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
passwordHash: string;
|
|
14
|
+
externalId?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function getUsers(): StoredUser[] {
|
|
18
|
+
try {
|
|
19
|
+
return JSON.parse(localStorage.getItem(USERS_KEY) ?? '[]');
|
|
20
|
+
} catch {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function saveUsers(users: StoredUser[]): void {
|
|
26
|
+
localStorage.setItem(USERS_KEY, JSON.stringify(users));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
async function hashPassword(password: string): Promise<string> {
|
|
30
|
+
const data = new TextEncoder().encode(password);
|
|
31
|
+
const digest = await crypto.subtle.digest('SHA-256', data);
|
|
32
|
+
return Array.from(new Uint8Array(digest), byte => byte.toString(16).padStart(2, '0')).join('');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function makeJwt(payload: object): string {
|
|
36
|
+
const header = btoa(JSON.stringify({ alg: 'none', typ: 'JWT' }));
|
|
37
|
+
const body = btoa(JSON.stringify({ exp: Date.now() / 1000 + 3600, ...payload }));
|
|
38
|
+
return `${header}.${body}.`;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export async function fakeLogin(data: Login): Promise<string> {
|
|
42
|
+
const users = getUsers();
|
|
43
|
+
const passwordHash = await hashPassword(data.password);
|
|
44
|
+
const user = users.find(u => u.email === data.email && u.passwordHash === passwordHash);
|
|
45
|
+
if (!user) {
|
|
46
|
+
throw new Error('Invalid email or password.');
|
|
47
|
+
}
|
|
48
|
+
return makeJwt({ name: `${user.given_name} ${user.family_name}`, given_name: user.given_name, family_name: user.family_name, email: user.email });
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export async function fakeRegister(data: RegisterInfo): Promise<string> {
|
|
52
|
+
const users = getUsers();
|
|
53
|
+
if (users.find(u => u.email === data.email)) {
|
|
54
|
+
throw new Error('An account with this email already exists.');
|
|
55
|
+
}
|
|
56
|
+
const newUser: StoredUser = {
|
|
57
|
+
given_name: data.given_name,
|
|
58
|
+
family_name: data.family_name,
|
|
59
|
+
email: data.email,
|
|
60
|
+
passwordHash: await hashPassword(data.password)
|
|
61
|
+
};
|
|
62
|
+
saveUsers([...users, newUser]);
|
|
63
|
+
return makeJwt({ name: `${data.given_name} ${data.family_name}`, given_name: data.given_name, family_name: data.family_name, email: data.email });
|
|
64
|
+
}
|
|
65
|
+
/** Upsert a user from a social (external) auth provider and return a JWT. */
|
|
66
|
+
export function fakeExtLogin(data: ExternalLogin): string {
|
|
67
|
+
const users = getUsers();
|
|
68
|
+
const existing = users.find(u => u.email === data.email && data.email != null)
|
|
69
|
+
?? users.find(u => u.externalId === data.id);
|
|
70
|
+
const given_name = data.given_name ?? data.name?.split(' ')[0] ?? '';
|
|
71
|
+
const family_name = data.family_name ?? data.name?.split(' ').slice(1).join(' ') ?? '';
|
|
72
|
+
// Resolve email: prefer what the provider returned, fall back to what we stored previously.
|
|
73
|
+
const email = data.email ?? existing?.email;
|
|
74
|
+
if (existing) {
|
|
75
|
+
// Update profile fields from provider (name/picture may change).
|
|
76
|
+
// Also store externalId if this user was originally created by email (first social login).
|
|
77
|
+
existing.given_name = given_name;
|
|
78
|
+
existing.family_name = family_name;
|
|
79
|
+
if (!existing.externalId) existing.externalId = data.id;
|
|
80
|
+
saveUsers(users);
|
|
81
|
+
} else {
|
|
82
|
+
if (!email) {
|
|
83
|
+
throw new Error('Cannot create an account without an email address.');
|
|
84
|
+
}
|
|
85
|
+
saveUsers([...users, { given_name, family_name, email, passwordHash: '', externalId: data.id }]);
|
|
86
|
+
}
|
|
87
|
+
return makeJwt({ name: data.name, given_name, family_name, email, picture: data.picture });
|
|
88
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { UserJWT } from '../models/user.js';
|
|
2
|
+
|
|
3
|
+
/** Parse the payload of a JWT string into a UserJWT object. */
|
|
4
|
+
export function parseUser(token: string): UserJWT & { token: string } {
|
|
5
|
+
const base64url = token.split('.')[1];
|
|
6
|
+
const base64 = base64url.replace(/-/g, '+').replace(/_/g, '/');
|
|
7
|
+
const padded = base64.padEnd(base64.length + (4 - base64.length % 4) % 4, '=');
|
|
8
|
+
const decoded = JSON.parse(atob(padded));
|
|
9
|
+
return { ...decoded, token };
|
|
10
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// PKCE (Proof Key for Code Exchange) utilities for OAuth 2.0 Authorization Code Flow.
|
|
2
|
+
// https://tools.ietf.org/html/rfc7636
|
|
3
|
+
|
|
4
|
+
function base64UrlEncode(bytes: Uint8Array): string {
|
|
5
|
+
return btoa(String.fromCharCode(...bytes))
|
|
6
|
+
.replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, '');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** Generate a cryptographically random PKCE code verifier (43–128 chars, URL-safe). */
|
|
10
|
+
export function generateCodeVerifier(): string {
|
|
11
|
+
const bytes = crypto.getRandomValues(new Uint8Array(32));
|
|
12
|
+
return base64UrlEncode(bytes);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Compute the S256 code challenge from a code verifier. */
|
|
16
|
+
export async function generateCodeChallenge(verifier: string): Promise<string> {
|
|
17
|
+
const data = new TextEncoder().encode(verifier);
|
|
18
|
+
const digest = await crypto.subtle.digest('SHA-256', data);
|
|
19
|
+
return base64UrlEncode(new Uint8Array(digest));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Build a URL with query parameters from a plain object. */
|
|
23
|
+
export function buildAuthUrl(endpoint: string, params: Record<string, string>): string {
|
|
24
|
+
const url = new URL(endpoint);
|
|
25
|
+
for (const [k, v] of Object.entries(params)) {
|
|
26
|
+
url.searchParams.set(k, v);
|
|
27
|
+
}
|
|
28
|
+
return url.toString();
|
|
29
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { User } from '../models/user.js';
|
|
2
|
+
|
|
3
|
+
const USER_KEY = 'currentUser';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Simple localStorage-backed user store.
|
|
7
|
+
*
|
|
8
|
+
* NOTE: Storing the full user object in localStorage can be susceptible to XSS attacks.
|
|
9
|
+
* Consider additional security measures before going to production.
|
|
10
|
+
*/
|
|
11
|
+
export const UserStore = {
|
|
12
|
+
getUser(): User | null {
|
|
13
|
+
try {
|
|
14
|
+
const raw = localStorage.getItem(USER_KEY);
|
|
15
|
+
if (!raw) return null;
|
|
16
|
+
const parsed: User = JSON.parse(raw);
|
|
17
|
+
// Discard expired tokens so a stale session is never silently restored.
|
|
18
|
+
if (parsed.exp && Date.now() / 1000 > parsed.exp) {
|
|
19
|
+
localStorage.removeItem(USER_KEY);
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return parsed;
|
|
23
|
+
} catch {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
setUser(user: User): void {
|
|
29
|
+
localStorage.setItem(USER_KEY, JSON.stringify(user));
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
clearUser(): void {
|
|
33
|
+
localStorage.removeItem(USER_KEY);
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
getInitials(user: User): string {
|
|
37
|
+
return (user.given_name.charAt(0) + (user.family_name?.charAt(0) ?? '')).toUpperCase();
|
|
38
|
+
}
|
|
39
|
+
};
|
package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/profile/profile.ts
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { LitElement, html, css } from 'lit';
|
|
2
|
+
import { customElement } from 'lit/decorators.js';
|
|
3
|
+
import { defineComponents, IgcAvatarComponent } from 'igniteui-webcomponents';
|
|
4
|
+
import { UserStore } from '../authentication/services/userStore.js';
|
|
5
|
+
|
|
6
|
+
defineComponents(IgcAvatarComponent);
|
|
7
|
+
|
|
8
|
+
@customElement('app-profile')
|
|
9
|
+
export default class ProfilePage extends LitElement {
|
|
10
|
+
static styles = css`
|
|
11
|
+
:host {
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
padding: 48px 16px;
|
|
15
|
+
width: 100%;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card {
|
|
20
|
+
align-self: flex-start;
|
|
21
|
+
width: 100%;
|
|
22
|
+
max-width: 640px;
|
|
23
|
+
background: #fff;
|
|
24
|
+
border-radius: 8px;
|
|
25
|
+
box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
|
|
26
|
+
padding: 32px;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.header {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: 20px;
|
|
34
|
+
padding-bottom: 24px;
|
|
35
|
+
border-bottom: 1px solid #d7eaf8;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.avatar {
|
|
39
|
+
flex: 0 0 auto;
|
|
40
|
+
--ig-avatar-background: #e0f2ff;
|
|
41
|
+
--ig-avatar-color: #0075d2;
|
|
42
|
+
--ig-avatar-size: 4rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.intro {
|
|
46
|
+
min-width: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.status {
|
|
50
|
+
margin: 0 0 4px;
|
|
51
|
+
color: #000;
|
|
52
|
+
font-size: .875rem;
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
text-transform: uppercase;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.name {
|
|
58
|
+
margin: 0;
|
|
59
|
+
overflow-wrap: anywhere;
|
|
60
|
+
color: #09f;
|
|
61
|
+
font-size: 2rem;
|
|
62
|
+
font-weight: 600;
|
|
63
|
+
line-height: 1.2;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.description {
|
|
67
|
+
margin: 8px 0 0;
|
|
68
|
+
color: #000;
|
|
69
|
+
font-size: 1rem;
|
|
70
|
+
line-height: 1.5;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.details {
|
|
74
|
+
margin: 28px 0 0;
|
|
75
|
+
padding: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.row {
|
|
79
|
+
display: grid;
|
|
80
|
+
grid-template-columns: 140px minmax(0, 1fr);
|
|
81
|
+
gap: 24px;
|
|
82
|
+
padding: 14px 0;
|
|
83
|
+
border-bottom: 1px solid #eef3f7;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
dt {
|
|
87
|
+
color: rgba(0, 0, 0, .62);
|
|
88
|
+
font-size: .875rem;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
margin: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
dd {
|
|
94
|
+
margin: 0;
|
|
95
|
+
font-size: 1rem;
|
|
96
|
+
color: #2d2d2d;
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
99
|
+
|
|
100
|
+
render() {
|
|
101
|
+
const user = UserStore.getUser();
|
|
102
|
+
const initials = user ? UserStore.getInitials(user) : 'U';
|
|
103
|
+
|
|
104
|
+
return html`
|
|
105
|
+
<div class="card">
|
|
106
|
+
<div class="header">
|
|
107
|
+
<igc-avatar
|
|
108
|
+
class="avatar"
|
|
109
|
+
shape="circle"
|
|
110
|
+
src=${user?.picture ?? ''}
|
|
111
|
+
initials=${user?.picture ? '' : initials}
|
|
112
|
+
></igc-avatar>
|
|
113
|
+
<div class="intro">
|
|
114
|
+
<p class="status">Signed in</p>
|
|
115
|
+
<h1 class="name">${user?.name || 'Your profile'}</h1>
|
|
116
|
+
<p class="description">Your account details are available on this protected route.</p>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
<dl class="details">
|
|
120
|
+
<div class="row">
|
|
121
|
+
<dt>First name</dt>
|
|
122
|
+
<dd>${user?.given_name || 'Not provided'}</dd>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="row">
|
|
125
|
+
<dt>Last name</dt>
|
|
126
|
+
<dd>${user?.family_name || 'Not provided'}</dd>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="row">
|
|
129
|
+
<dt>Email</dt>
|
|
130
|
+
<dd>${user?.email || 'No email available'}</dd>
|
|
131
|
+
</div>
|
|
132
|
+
</dl>
|
|
133
|
+
</div>
|
|
134
|
+
`;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare global {
|
|
139
|
+
interface HTMLElementTagNameMap {
|
|
140
|
+
'app-profile': ProfilePage;
|
|
141
|
+
}
|
|
142
|
+
}
|