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,257 @@
|
|
|
1
|
+
import { Router } from '@vaadin/router';
|
|
2
|
+
import { css, html, LitElement } from 'lit';
|
|
3
|
+
import { customElement, state } from 'lit/decorators.js';
|
|
4
|
+
import {
|
|
5
|
+
defineComponents,
|
|
6
|
+
IgcIconComponent,
|
|
7
|
+
IgcNavDrawerComponent,
|
|
8
|
+
IgcNavDrawerItemComponent,
|
|
9
|
+
registerIcon,
|
|
10
|
+
} from 'igniteui-webcomponents';
|
|
11
|
+
import { routes, type AppRoute } from './app-routing.js';
|
|
12
|
+
import { UserStore } from './authentication/services/userStore.js';
|
|
13
|
+
import './authentication/login-bar/login-bar.js';
|
|
14
|
+
|
|
15
|
+
defineComponents(
|
|
16
|
+
IgcIconComponent,
|
|
17
|
+
IgcNavDrawerComponent,
|
|
18
|
+
IgcNavDrawerItemComponent,
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
const materialIcons = [
|
|
22
|
+
['home', 'action/svg/production/ic_home_24px.svg'],
|
|
23
|
+
['menu', 'navigation/svg/production/ic_menu_24px.svg'],
|
|
24
|
+
['apps', 'navigation/svg/production/ic_apps_24px.svg'],
|
|
25
|
+
['code', 'action/svg/production/ic_code_24px.svg'],
|
|
26
|
+
['build', 'action/svg/production/ic_build_24px.svg'],
|
|
27
|
+
['palette', 'image/svg/production/ic_palette_24px.svg'],
|
|
28
|
+
['account_circle', 'action/svg/production/ic_account_circle_24px.svg'],
|
|
29
|
+
['lock', 'action/svg/production/ic_lock_24px.svg'],
|
|
30
|
+
['assignment_ind', 'action/svg/production/ic_assignment_ind_24px.svg'],
|
|
31
|
+
] as const;
|
|
32
|
+
|
|
33
|
+
materialIcons.forEach(([name, path]) =>
|
|
34
|
+
registerIcon(name, `https://unpkg.com/material-design-icons@3.0.1/${path}`, 'material')
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
@customElement('app-root')
|
|
38
|
+
export default class App extends LitElement {
|
|
39
|
+
@state()
|
|
40
|
+
private drawerOpen = true;
|
|
41
|
+
|
|
42
|
+
@state()
|
|
43
|
+
private drawerPosition: 'relative' | 'start' = 'relative';
|
|
44
|
+
|
|
45
|
+
@state()
|
|
46
|
+
private currentPath = window.location.pathname;
|
|
47
|
+
|
|
48
|
+
@state()
|
|
49
|
+
private isLoggedIn = Boolean(UserStore.getUser());
|
|
50
|
+
|
|
51
|
+
private mediaQuery?: MediaQueryList;
|
|
52
|
+
|
|
53
|
+
static styles = css`
|
|
54
|
+
:host {
|
|
55
|
+
display: flex;
|
|
56
|
+
height: 100%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.app {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-flow: column nowrap;
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.app__navbar {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
flex: 0 0 auto;
|
|
71
|
+
height: 56px;
|
|
72
|
+
padding: 0 16px;
|
|
73
|
+
background: #239ef0;
|
|
74
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, .24);
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
position: relative;
|
|
77
|
+
z-index: 10;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.app__menu-button {
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
width: 40px;
|
|
85
|
+
height: 40px;
|
|
86
|
+
padding: 0;
|
|
87
|
+
color: #000;
|
|
88
|
+
border: 0;
|
|
89
|
+
background: transparent;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.app__menu-button igc-icon {
|
|
94
|
+
font-size: 24px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.app__title {
|
|
98
|
+
margin: 0 0 0 16px;
|
|
99
|
+
color: #000;
|
|
100
|
+
font-size: 1.25rem;
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
line-height: 1;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.app__navbar-spacer {
|
|
106
|
+
flex: 1 1 auto;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.app__body {
|
|
110
|
+
display: flex;
|
|
111
|
+
flex: 1 1 auto;
|
|
112
|
+
min-height: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.app__drawer {
|
|
116
|
+
flex: 0 0 auto;
|
|
117
|
+
height: 100%;
|
|
118
|
+
--menu-full-width: 280px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
igc-nav-drawer-item::part(base) {
|
|
122
|
+
min-height: 48px;
|
|
123
|
+
color: #2d2d2d;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
igc-nav-drawer-item[active]::part(base) {
|
|
127
|
+
background: #e0f2ff;
|
|
128
|
+
color: #0075d2;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
igc-nav-drawer-item[active] igc-icon {
|
|
132
|
+
color: #0075d2;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
igc-nav-drawer-item:not([active]) igc-icon {
|
|
136
|
+
color: #2d2d2d;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
router-outlet {
|
|
140
|
+
flex: 1 1 auto;
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: stretch;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
min-width: 0;
|
|
145
|
+
overflow: auto;
|
|
146
|
+
}
|
|
147
|
+
`;
|
|
148
|
+
|
|
149
|
+
render() {
|
|
150
|
+
const visibleRoutes = (routes as AppRoute[]).filter((route) => {
|
|
151
|
+
if (!route.name) return false;
|
|
152
|
+
if (route.requiresAuth && !this.isLoggedIn) return false;
|
|
153
|
+
return true;
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
return html`
|
|
157
|
+
<div class="app">
|
|
158
|
+
<header class="app__navbar">
|
|
159
|
+
<button
|
|
160
|
+
class="app__menu-button"
|
|
161
|
+
type="button"
|
|
162
|
+
aria-label="Toggle navigation"
|
|
163
|
+
@click=${this.toggleDrawer}
|
|
164
|
+
>
|
|
165
|
+
<igc-icon name="menu" collection="material"></igc-icon>
|
|
166
|
+
</button>
|
|
167
|
+
<h1 class="app__title">$(name)</h1>
|
|
168
|
+
<div class="app__navbar-spacer"></div>
|
|
169
|
+
<auth-login-bar @auth-change=${this.handleAuthChange}></auth-login-bar>
|
|
170
|
+
</header>
|
|
171
|
+
<div class="app__body">
|
|
172
|
+
<igc-nav-drawer
|
|
173
|
+
class="app__drawer"
|
|
174
|
+
?open=${this.drawerOpen}
|
|
175
|
+
position=${this.drawerPosition}
|
|
176
|
+
>
|
|
177
|
+
${visibleRoutes.map((route) => html`
|
|
178
|
+
<igc-nav-drawer-item
|
|
179
|
+
?active=${this.currentPath === this.toAbsPath(route.path)}
|
|
180
|
+
@click=${() => this.navigate(route.path)}
|
|
181
|
+
>
|
|
182
|
+
<igc-icon
|
|
183
|
+
slot="icon"
|
|
184
|
+
name=${route.icon || 'home'}
|
|
185
|
+
collection="material"
|
|
186
|
+
></igc-icon>
|
|
187
|
+
<span slot="content">${route.name}</span>
|
|
188
|
+
</igc-nav-drawer-item>
|
|
189
|
+
`)}
|
|
190
|
+
</igc-nav-drawer>
|
|
191
|
+
<router-outlet></router-outlet>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
`;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
connectedCallback() {
|
|
198
|
+
super.connectedCallback();
|
|
199
|
+
|
|
200
|
+
this.mediaQuery = window.matchMedia('(min-width: 1025px)');
|
|
201
|
+
this.updateDrawerState();
|
|
202
|
+
this.mediaQuery.addEventListener('change', this.updateDrawerState);
|
|
203
|
+
window.addEventListener('popstate', this.updateCurrentPath);
|
|
204
|
+
// Listen globally so redirect components (Google/Facebook/Microsoft) in the router
|
|
205
|
+
// outlet can also trigger a shell state update after a successful OAuth redirect.
|
|
206
|
+
window.addEventListener('auth-change', this.handleAuthChange);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
disconnectedCallback() {
|
|
210
|
+
this.mediaQuery?.removeEventListener('change', this.updateDrawerState);
|
|
211
|
+
window.removeEventListener('popstate', this.updateCurrentPath);
|
|
212
|
+
window.removeEventListener('auth-change', this.handleAuthChange);
|
|
213
|
+
|
|
214
|
+
super.disconnectedCallback();
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
firstUpdated() {
|
|
218
|
+
const outlet = this.shadowRoot?.querySelector('router-outlet');
|
|
219
|
+
const router = new Router(outlet);
|
|
220
|
+
router.setRoutes(routes);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
private toAbsPath(p: string) {
|
|
224
|
+
return p.startsWith('/') ? p : '/' + p;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
private toggleDrawer = () => {
|
|
228
|
+
this.drawerOpen = !this.drawerOpen;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
private navigate(path: string) {
|
|
232
|
+
const targetPath = this.toAbsPath(path);
|
|
233
|
+
|
|
234
|
+
this.currentPath = targetPath;
|
|
235
|
+
Router.go(targetPath);
|
|
236
|
+
|
|
237
|
+
if (!this.mediaQuery?.matches) {
|
|
238
|
+
this.drawerOpen = false;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
private updateDrawerState = () => {
|
|
243
|
+
const pinned = Boolean(this.mediaQuery?.matches);
|
|
244
|
+
|
|
245
|
+
this.drawerOpen = pinned;
|
|
246
|
+
this.drawerPosition = pinned ? 'relative' : 'start';
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
private updateCurrentPath = () => {
|
|
250
|
+
this.currentPath = window.location.pathname;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
private handleAuthChange = () => {
|
|
254
|
+
this.isLoggedIn = Boolean(UserStore.getUser());
|
|
255
|
+
this.currentPath = window.location.pathname;
|
|
256
|
+
};
|
|
257
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { LitElement, html, css } from 'lit';
|
|
2
|
+
import { customElement, state } from 'lit/decorators.js';
|
|
3
|
+
import { Router } from '@vaadin/router';
|
|
4
|
+
import { defineComponents, IgcAvatarComponent, IgcButtonComponent, IgcDropdownComponent, IgcDropdownItemComponent } from 'igniteui-webcomponents';
|
|
5
|
+
import { UserStore } from '../services/userStore.js';
|
|
6
|
+
import { ExternalAuth } from '../services/externalAuth.js';
|
|
7
|
+
import type { User } from '../models/user.js';
|
|
8
|
+
import '../login-dialog/login-dialog.js';
|
|
9
|
+
|
|
10
|
+
defineComponents(IgcAvatarComponent, IgcButtonComponent, IgcDropdownComponent, IgcDropdownItemComponent);
|
|
11
|
+
|
|
12
|
+
@customElement('auth-login-bar')
|
|
13
|
+
export class LoginBarElement extends LitElement {
|
|
14
|
+
@state() private currentUser: User | null = UserStore.getUser();
|
|
15
|
+
|
|
16
|
+
static styles = css`
|
|
17
|
+
:host {
|
|
18
|
+
display: contents;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.login-btn::part(base) {
|
|
22
|
+
color: #0075d2;
|
|
23
|
+
background: #fff;
|
|
24
|
+
border-color: rgba(0, 117, 210, 0.35);
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.login-btn::part(base):hover {
|
|
30
|
+
background: #e8f3fc;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.profile-avatar {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
--ig-size: var(--ig-size-small);
|
|
36
|
+
color: #0075d2;
|
|
37
|
+
--ig-avatar-background: #fff;
|
|
38
|
+
--ig-avatar-color: #0075d2;
|
|
39
|
+
--ig-avatar-initials-font-size: 0.875rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
igc-dropdown-item:hover,
|
|
43
|
+
igc-dropdown-item[active]:hover {
|
|
44
|
+
background: #e8f3fc;
|
|
45
|
+
color: #0075d2;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
igc-dropdown-item[active] {
|
|
49
|
+
background: #e8f3fc;
|
|
50
|
+
color: #0075d2;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
igc-dropdown-item[selected],
|
|
54
|
+
igc-dropdown-item[selected]:hover,
|
|
55
|
+
igc-dropdown-item[selected][active] {
|
|
56
|
+
background: #e8f3fc;
|
|
57
|
+
color: #0075d2;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.profile-avatar:focus-visible {
|
|
61
|
+
outline: 2px solid #fff;
|
|
62
|
+
outline-offset: 2px;
|
|
63
|
+
}
|
|
64
|
+
`;
|
|
65
|
+
|
|
66
|
+
connectedCallback() {
|
|
67
|
+
super.connectedCallback();
|
|
68
|
+
this.addEventListener('auth-change', this.handleAuthChange as EventListener);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
disconnectedCallback() {
|
|
72
|
+
this.removeEventListener('auth-change', this.handleAuthChange as EventListener);
|
|
73
|
+
super.disconnectedCallback();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
private handleAuthChange = () => {
|
|
77
|
+
this.currentUser = UserStore.getUser();
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
private handleMenuSelect(e: CustomEvent) {
|
|
81
|
+
// igcChange detail is the selected IgcDropdownItemComponent element
|
|
82
|
+
const value = (e.detail as any)?.value;
|
|
83
|
+
if (value === 'profile') {
|
|
84
|
+
Router.go('/auth/profile');
|
|
85
|
+
} else if (value === 'logout') {
|
|
86
|
+
ExternalAuth.logout();
|
|
87
|
+
UserStore.clearUser();
|
|
88
|
+
this.currentUser = null;
|
|
89
|
+
Router.go('/');
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
render() {
|
|
94
|
+
if (!this.currentUser) {
|
|
95
|
+
return html`
|
|
96
|
+
<igc-button variant="outlined" class="login-btn" @click=${() => (this.shadowRoot?.querySelector('auth-login-dialog') as any)?.open()}>Log In</igc-button>
|
|
97
|
+
<auth-login-dialog @auth-change=${this.handleAuthChange}></auth-login-dialog>
|
|
98
|
+
`;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
const initials = UserStore.getInitials(this.currentUser);
|
|
102
|
+
|
|
103
|
+
return html`
|
|
104
|
+
<igc-dropdown placement="bottom-end" @igcChange=${this.handleMenuSelect}>
|
|
105
|
+
<igc-avatar
|
|
106
|
+
slot="target"
|
|
107
|
+
class="profile-avatar"
|
|
108
|
+
shape="circle"
|
|
109
|
+
src=${this.currentUser.picture ?? ''}
|
|
110
|
+
tabindex="0"
|
|
111
|
+
aria-label="Open profile menu"
|
|
112
|
+
>${initials}</igc-avatar>
|
|
113
|
+
<igc-dropdown-item value="profile">Profile</igc-dropdown-item>
|
|
114
|
+
<igc-dropdown-item value="logout">Log Out</igc-dropdown-item>
|
|
115
|
+
</igc-dropdown>
|
|
116
|
+
`;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare global {
|
|
121
|
+
interface HTMLElementTagNameMap {
|
|
122
|
+
'auth-login-bar': LoginBarElement;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { LitElement, html, css } from 'lit';
|
|
2
|
+
import { customElement, state } from 'lit/decorators.js';
|
|
3
|
+
import { Router } from '@vaadin/router';
|
|
4
|
+
import { defineComponents, IgcButtonComponent, IgcDialogComponent, IgcIconComponent, IgcInputComponent } from 'igniteui-webcomponents';
|
|
5
|
+
import { Authentication } from '../services/authentication.js';
|
|
6
|
+
import { ExternalAuth } from '../services/externalAuth.js';
|
|
7
|
+
import { UserStore } from '../services/userStore.js';
|
|
8
|
+
import type { User } from '../models/user.js';
|
|
9
|
+
|
|
10
|
+
defineComponents(IgcButtonComponent, IgcDialogComponent, IgcIconComponent, IgcInputComponent);
|
|
11
|
+
|
|
12
|
+
@customElement('auth-login-dialog')
|
|
13
|
+
export class LoginDialogElement extends LitElement {
|
|
14
|
+
@state() private showLogin = true;
|
|
15
|
+
@state() private error = '';
|
|
16
|
+
@state() private _loginValid = false;
|
|
17
|
+
@state() private _registerValid = false;
|
|
18
|
+
|
|
19
|
+
static styles = css`
|
|
20
|
+
igc-dialog::part(base) {
|
|
21
|
+
max-width: 24rem;
|
|
22
|
+
width: calc(100vw - 48px);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
igc-dialog::part(title) {
|
|
26
|
+
font-size: 1.125rem;
|
|
27
|
+
font-weight: 600;
|
|
28
|
+
color: #2d2d2d;
|
|
29
|
+
border-bottom: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.form {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-flow: column;
|
|
35
|
+
gap: 16px;
|
|
36
|
+
padding: 8px 0 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.form > * {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
igc-input {
|
|
44
|
+
--ig-input-group-focused-secondary-color: #239ef0;
|
|
45
|
+
--ig-input-group-focused-border-color: #239ef0;
|
|
46
|
+
--ig-input-group-filled-text-color: #2d2d2d;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
igc-input igc-icon {
|
|
50
|
+
color: #0075d2;
|
|
51
|
+
--ig-icon-size: 1.50rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.error {
|
|
55
|
+
margin: 0;
|
|
56
|
+
font-size: .875rem;
|
|
57
|
+
color: #d32f2f;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.submit-btn {
|
|
61
|
+
display: block;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.submit-btn::part(base) {
|
|
65
|
+
width: 100%;
|
|
66
|
+
min-height: 40px;
|
|
67
|
+
font-weight: 600;
|
|
68
|
+
text-transform: uppercase;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.submit-btn:not([disabled])::part(base) {
|
|
72
|
+
background: #239ef0;
|
|
73
|
+
color: #fff;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.submit-btn:not([disabled])::part(base):hover {
|
|
77
|
+
background: #1a8fd8;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.submit-btn[disabled]::part(base) {
|
|
81
|
+
background: #e0e0e0;
|
|
82
|
+
color: #767676;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.link-btn {
|
|
86
|
+
align-self: center;
|
|
87
|
+
text-align: center;
|
|
88
|
+
color: #0075d2;
|
|
89
|
+
font-size: .875rem;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
text-decoration: underline;
|
|
92
|
+
text-transform: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.link-btn:hover,
|
|
96
|
+
.link-btn:focus-visible {
|
|
97
|
+
color: #005da8;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.social-login {
|
|
101
|
+
display: grid;
|
|
102
|
+
gap: 8px;
|
|
103
|
+
padding-top: 16px;
|
|
104
|
+
border-top: 1px solid #d7d7d7;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.social-btn {
|
|
108
|
+
display: block;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.social-btn::part(base) {
|
|
112
|
+
width: 100%;
|
|
113
|
+
min-height: 40px;
|
|
114
|
+
color: #fff;
|
|
115
|
+
font-weight: 600;
|
|
116
|
+
text-transform: uppercase;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.google::part(base) { background: rgb(255, 19, 74); }
|
|
120
|
+
.facebook::part(base) { background: rgb(19, 119, 213); }
|
|
121
|
+
.microsoft::part(base) { background: rgb(27, 158, 245); }
|
|
122
|
+
`;
|
|
123
|
+
|
|
124
|
+
private dialogRef: IgcDialogComponent | null = null;
|
|
125
|
+
|
|
126
|
+
public open() {
|
|
127
|
+
this.showLogin = true;
|
|
128
|
+
this.error = '';
|
|
129
|
+
this.dialogRef?.show();
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
firstUpdated() {
|
|
133
|
+
this.dialogRef = this.shadowRoot?.querySelector('igc-dialog') ?? null;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
private checkLoginValidity = (e: Event) => {
|
|
137
|
+
this._loginValid = (e.currentTarget as HTMLFormElement).checkValidity();
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
private checkRegisterValidity = (e: Event) => {
|
|
141
|
+
this._registerValid = (e.currentTarget as HTMLFormElement).checkValidity();
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
private handleLoginSubmit = async (e: Event) => {
|
|
145
|
+
e.preventDefault();
|
|
146
|
+
this.error = '';
|
|
147
|
+
const form = e.target as HTMLFormElement;
|
|
148
|
+
const data = new FormData(form);
|
|
149
|
+
const result = await Authentication.login({
|
|
150
|
+
email: data.get('email') as string,
|
|
151
|
+
password: data.get('password') as string,
|
|
152
|
+
});
|
|
153
|
+
if (result.user) {
|
|
154
|
+
form.reset();
|
|
155
|
+
this._loginValid = false;
|
|
156
|
+
UserStore.setUser(result.user as User);
|
|
157
|
+
this.dialogRef?.hide();
|
|
158
|
+
this.dispatchEvent(new CustomEvent('auth-change', { bubbles: true, composed: true }));
|
|
159
|
+
Router.go('/auth/profile');
|
|
160
|
+
} else {
|
|
161
|
+
this.error = result.error ?? 'Login failed';
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
private handleRegisterSubmit = async (e: Event) => {
|
|
166
|
+
e.preventDefault();
|
|
167
|
+
this.error = '';
|
|
168
|
+
const form = e.target as HTMLFormElement;
|
|
169
|
+
const data = new FormData(form);
|
|
170
|
+
const result = await Authentication.register({
|
|
171
|
+
given_name: data.get('given_name') as string,
|
|
172
|
+
family_name: data.get('family_name') as string,
|
|
173
|
+
email: data.get('email') as string,
|
|
174
|
+
password: data.get('password') as string,
|
|
175
|
+
});
|
|
176
|
+
if (result.user) {
|
|
177
|
+
form.reset();
|
|
178
|
+
this._registerValid = false;
|
|
179
|
+
UserStore.setUser(result.user as User);
|
|
180
|
+
this.dialogRef?.hide();
|
|
181
|
+
this.dispatchEvent(new CustomEvent('auth-change', { bubbles: true, composed: true }));
|
|
182
|
+
Router.go('/auth/profile');
|
|
183
|
+
} else {
|
|
184
|
+
this.error = result.error ?? 'Registration failed';
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
render() {
|
|
189
|
+
const title = this.showLogin ? 'Login' : 'Register';
|
|
190
|
+
|
|
191
|
+
const loginForm = html`
|
|
192
|
+
<form class="form" @submit=${this.handleLoginSubmit} @input=${this.checkLoginValidity} novalidate>
|
|
193
|
+
<igc-input outlined type="email" name="email" label="Email" autocomplete="email" required>
|
|
194
|
+
<igc-icon slot="suffix" name="account_circle" collection="material"></igc-icon>
|
|
195
|
+
</igc-input>
|
|
196
|
+
<igc-input outlined type="password" name="password" label="Password" autocomplete="current-password" required>
|
|
197
|
+
<igc-icon slot="suffix" name="lock" collection="material"></igc-icon>
|
|
198
|
+
</igc-input>
|
|
199
|
+
${this.error ? html`<p class="error">${this.error}</p>` : ''}
|
|
200
|
+
<igc-button class="submit-btn" variant="contained" type="submit" ?disabled=${!this._loginValid}>Log In</igc-button>
|
|
201
|
+
<a class="link-btn" @click=${() => { this.showLogin = false; this.error = ''; }} role="button" tabindex="0">Create new account</a>
|
|
202
|
+
${ExternalAuth.hasProvider() ? html`
|
|
203
|
+
<div class="social-login">
|
|
204
|
+
${ExternalAuth.hasProvider('google') ? html`
|
|
205
|
+
<igc-button class="social-btn google" variant="contained" type="button"
|
|
206
|
+
@click=${() => ExternalAuth.login('google')}>Sign in with Google</igc-button>
|
|
207
|
+
` : ''}
|
|
208
|
+
${ExternalAuth.hasProvider('facebook') ? html`
|
|
209
|
+
<igc-button class="social-btn facebook" variant="contained" type="button"
|
|
210
|
+
@click=${() => ExternalAuth.login('facebook')}>Sign in with Facebook</igc-button>
|
|
211
|
+
` : ''}
|
|
212
|
+
${ExternalAuth.hasProvider('microsoft') ? html`
|
|
213
|
+
<igc-button class="social-btn microsoft" variant="contained" type="button"
|
|
214
|
+
@click=${() => ExternalAuth.login('microsoft')}>Sign in with Microsoft</igc-button>
|
|
215
|
+
` : ''}
|
|
216
|
+
</div>
|
|
217
|
+
` : ''}
|
|
218
|
+
</form>
|
|
219
|
+
`;
|
|
220
|
+
|
|
221
|
+
const registerForm = html`
|
|
222
|
+
<form class="form" @submit=${this.handleRegisterSubmit} @input=${this.checkRegisterValidity} novalidate>
|
|
223
|
+
<igc-input outlined type="text" name="given_name" label="First Name" autocomplete="given-name" required>
|
|
224
|
+
<igc-icon slot="suffix" name="assignment_ind" collection="material"></igc-icon>
|
|
225
|
+
</igc-input>
|
|
226
|
+
<igc-input outlined type="text" name="family_name" label="Last Name" autocomplete="family-name">
|
|
227
|
+
<igc-icon slot="suffix" name="assignment_ind" collection="material"></igc-icon>
|
|
228
|
+
</igc-input>
|
|
229
|
+
<igc-input outlined type="email" name="email" label="Email" autocomplete="email" required>
|
|
230
|
+
<igc-icon slot="suffix" name="account_circle" collection="material"></igc-icon>
|
|
231
|
+
</igc-input>
|
|
232
|
+
<igc-input outlined type="password" name="password" label="Password" autocomplete="new-password" required>
|
|
233
|
+
<igc-icon slot="suffix" name="lock" collection="material"></igc-icon>
|
|
234
|
+
</igc-input>
|
|
235
|
+
${this.error ? html`<p class="error">${this.error}</p>` : ''}
|
|
236
|
+
<igc-button class="submit-btn" variant="contained" type="submit" ?disabled=${!this._registerValid}>Sign Up</igc-button>
|
|
237
|
+
<a class="link-btn" @click=${() => { this.showLogin = true; this.error = ''; }} role="button" tabindex="0">Have an account?</a>
|
|
238
|
+
</form>
|
|
239
|
+
`;
|
|
240
|
+
return html`
|
|
241
|
+
<igc-dialog .title=${title} .closeOnOutsideClick=${true}>
|
|
242
|
+
<span slot="footer"></span>
|
|
243
|
+
${this.showLogin ? loginForm : registerForm}
|
|
244
|
+
</igc-dialog>
|
|
245
|
+
`;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare global {
|
|
250
|
+
interface HTMLElementTagNameMap {
|
|
251
|
+
'auth-login-dialog': LoginDialogElement;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** User profile returned by a social (external) auth provider. */
|
|
2
|
+
export interface ExternalLogin {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
email?: string; // not always present use id as fallback key
|
|
6
|
+
given_name?: string;
|
|
7
|
+
family_name?: string;
|
|
8
|
+
picture?: string;
|
|
9
|
+
externalToken: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Data transfer model expected from backend API JWT-s */
|
|
2
|
+
export interface UserJWT {
|
|
3
|
+
exp: number;
|
|
4
|
+
name: string;
|
|
5
|
+
given_name: string;
|
|
6
|
+
family_name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
picture?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** Client user model */
|
|
12
|
+
export interface User extends UserJWT {
|
|
13
|
+
token: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface LoginResult {
|
|
17
|
+
user?: User;
|
|
18
|
+
error?: string;
|
|
19
|
+
}
|