@duyanhdev/mvp-ifs-ui-kit 21.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.
Files changed (170) hide show
  1. package/.editorconfig +16 -0
  2. package/.gitmodules +3 -0
  3. package/.postcssrc.json +5 -0
  4. package/.prettierignore +14 -0
  5. package/.prettierrc.json +29 -0
  6. package/LICENSE.md +21 -0
  7. package/README.md +59 -0
  8. package/angular.json +98 -0
  9. package/eslint.config.js +89 -0
  10. package/package.json +59 -0
  11. package/public/demo/images/flag/flag_placeholder.png +0 -0
  12. package/public/demo/images/footer-image.gif +0 -0
  13. package/public/demo/images/galleria/galleria1.jpg +0 -0
  14. package/public/demo/images/galleria/galleria10.jpg +0 -0
  15. package/public/demo/images/galleria/galleria10s.jpg +0 -0
  16. package/public/demo/images/galleria/galleria11.jpg +0 -0
  17. package/public/demo/images/galleria/galleria11s.jpg +0 -0
  18. package/public/demo/images/galleria/galleria12.jpg +0 -0
  19. package/public/demo/images/galleria/galleria12s.jpg +0 -0
  20. package/public/demo/images/galleria/galleria13.jpg +0 -0
  21. package/public/demo/images/galleria/galleria13s.jpg +0 -0
  22. package/public/demo/images/galleria/galleria14.jpg +0 -0
  23. package/public/demo/images/galleria/galleria14s.jpg +0 -0
  24. package/public/demo/images/galleria/galleria15.jpg +0 -0
  25. package/public/demo/images/galleria/galleria15s.jpg +0 -0
  26. package/public/demo/images/galleria/galleria1s.jpg +0 -0
  27. package/public/demo/images/galleria/galleria2.jpg +0 -0
  28. package/public/demo/images/galleria/galleria2s.jpg +0 -0
  29. package/public/demo/images/galleria/galleria3.jpg +0 -0
  30. package/public/demo/images/galleria/galleria3s.jpg +0 -0
  31. package/public/demo/images/galleria/galleria4.jpg +0 -0
  32. package/public/demo/images/galleria/galleria4s.jpg +0 -0
  33. package/public/demo/images/galleria/galleria5.jpg +0 -0
  34. package/public/demo/images/galleria/galleria5s.jpg +0 -0
  35. package/public/demo/images/galleria/galleria6.jpg +0 -0
  36. package/public/demo/images/galleria/galleria6s.jpg +0 -0
  37. package/public/demo/images/galleria/galleria7.jpg +0 -0
  38. package/public/demo/images/galleria/galleria7s.jpg +0 -0
  39. package/public/demo/images/galleria/galleria8.jpg +0 -0
  40. package/public/demo/images/galleria/galleria8s.jpg +0 -0
  41. package/public/demo/images/galleria/galleria9.jpg +0 -0
  42. package/public/demo/images/galleria/galleria9s.jpg +0 -0
  43. package/public/demo/images/product/bamboo-watch.jpg +0 -0
  44. package/public/demo/images/product/black-watch.jpg +0 -0
  45. package/public/demo/images/product/blue-band.jpg +0 -0
  46. package/public/demo/images/product/blue-t-shirt.jpg +0 -0
  47. package/public/demo/images/product/bracelet.jpg +0 -0
  48. package/public/demo/images/product/brown-purse.jpg +0 -0
  49. package/public/demo/images/product/chakra-bracelet.jpg +0 -0
  50. package/public/demo/images/product/galaxy-earrings.jpg +0 -0
  51. package/public/demo/images/product/game-controller.jpg +0 -0
  52. package/public/demo/images/product/gaming-set.jpg +0 -0
  53. package/public/demo/images/product/gold-phone-case.jpg +0 -0
  54. package/public/demo/images/product/green-earbuds.jpg +0 -0
  55. package/public/demo/images/product/green-t-shirt.jpg +0 -0
  56. package/public/demo/images/product/grey-t-shirt.jpg +0 -0
  57. package/public/demo/images/product/headphones.jpg +0 -0
  58. package/public/demo/images/product/light-green-t-shirt.jpg +0 -0
  59. package/public/demo/images/product/lime-band.jpg +0 -0
  60. package/public/demo/images/product/mini-speakers.jpg +0 -0
  61. package/public/demo/images/product/painted-phone-case.jpg +0 -0
  62. package/public/demo/images/product/pink-band.jpg +0 -0
  63. package/public/demo/images/product/pink-purse.jpg +0 -0
  64. package/public/demo/images/product/product-placeholder.svg +10 -0
  65. package/public/demo/images/product/purple-band.jpg +0 -0
  66. package/public/demo/images/product/purple-gemstone-necklace.jpg +0 -0
  67. package/public/demo/images/product/purple-t-shirt.jpg +0 -0
  68. package/public/demo/images/product/shoes.jpg +0 -0
  69. package/public/demo/images/product/sneakers.jpg +0 -0
  70. package/public/demo/images/product/teal-t-shirt.jpg +0 -0
  71. package/public/demo/images/product/yellow-earbuds.jpg +0 -0
  72. package/public/demo/images/product/yoga-mat.jpg +0 -0
  73. package/public/demo/images/product/yoga-set.jpg +0 -0
  74. package/src/app/layout/component/configurator/app.configurator.html +48 -0
  75. package/src/app/layout/component/configurator/app.configurator.ts +396 -0
  76. package/src/app/layout/component/floatingconfigurator/app.floatingconfigurator.ts +31 -0
  77. package/src/app/layout/component/footer/app.footer.scss +52 -0
  78. package/src/app/layout/component/footer/app.footer.ts +26 -0
  79. package/src/app/layout/component/layout/app.layout.ts +50 -0
  80. package/src/app/layout/component/menu/app.menu.html +7 -0
  81. package/src/app/layout/component/menu/app.menu.scss +13 -0
  82. package/src/app/layout/component/menu/app.menu.ts +90 -0
  83. package/src/app/layout/component/menuitem/app.menuitem.html +56 -0
  84. package/src/app/layout/component/menuitem/app.menuitem.scss +218 -0
  85. package/src/app/layout/component/menuitem/app.menuitem.ts +126 -0
  86. package/src/app/layout/component/sidebar/app.sidebar.html +3 -0
  87. package/src/app/layout/component/sidebar/app.sidebar.scss +0 -0
  88. package/src/app/layout/component/sidebar/app.sidebar.ts +106 -0
  89. package/src/app/layout/component/topbar/app.topbar.html +190 -0
  90. package/src/app/layout/component/topbar/app.topbar.scss +8 -0
  91. package/src/app/layout/component/topbar/app.topbar.ts +68 -0
  92. package/src/app/layout/service/layout.service.ts +117 -0
  93. package/src/app/pages/auth/access.ts +32 -0
  94. package/src/app/pages/auth/auth.routes.ts +10 -0
  95. package/src/app/pages/auth/error.ts +32 -0
  96. package/src/app/pages/auth/login.ts +71 -0
  97. package/src/app/pages/crud/crud.ts +387 -0
  98. package/src/app/pages/dashboard/dashboard.css +778 -0
  99. package/src/app/pages/dashboard/dashboard.html +191 -0
  100. package/src/app/pages/dashboard/dashboard.ts +348 -0
  101. package/src/app/pages/documentation/documentation.ts +73 -0
  102. package/src/app/pages/empty/empty.ts +11 -0
  103. package/src/app/pages/landing/components/featureswidget.ts +139 -0
  104. package/src/app/pages/landing/components/footerwidget.ts +73 -0
  105. package/src/app/pages/landing/components/herowidget.ts +25 -0
  106. package/src/app/pages/landing/components/highlightswidget.ts +46 -0
  107. package/src/app/pages/landing/components/pricingwidget.ts +119 -0
  108. package/src/app/pages/landing/components/topbarwidget.component.ts +68 -0
  109. package/src/app/pages/landing/landing.ts +31 -0
  110. package/src/app/pages/notfound/notfound.ts +68 -0
  111. package/src/app/pages/pages.routes.ts +17 -0
  112. package/src/app/pages/profile/profile.html +57 -0
  113. package/src/app/pages/profile/profile.scss +145 -0
  114. package/src/app/pages/profile/profile.ts +19 -0
  115. package/src/app/pages/service/country.service.ts +255 -0
  116. package/src/app/pages/service/customer.service.ts +9057 -0
  117. package/src/app/pages/service/icon.service.ts +23 -0
  118. package/src/app/pages/service/node.service.ts +816 -0
  119. package/src/app/pages/service/photo.service.ts +103 -0
  120. package/src/app/pages/service/product.service.ts +1322 -0
  121. package/src/app/pages/tickets/tickets-create/tickets-create.html +140 -0
  122. package/src/app/pages/tickets/tickets-create/tickets-create.scss +617 -0
  123. package/src/app/pages/tickets/tickets-create/tickets-create.ts +104 -0
  124. package/src/app/pages/tickets/tickets-list/ticket-list.html +150 -0
  125. package/src/app/pages/tickets/tickets-list/ticket-list.scss +392 -0
  126. package/src/app/pages/tickets/tickets-list/ticket-list.ts +178 -0
  127. package/src/app/pages/uikit/buttondemo.ts +254 -0
  128. package/src/app/pages/uikit/chartdemo.ts +290 -0
  129. package/src/app/pages/uikit/filedemo.ts +52 -0
  130. package/src/app/pages/uikit/formlayoutdemo.ts +129 -0
  131. package/src/app/pages/uikit/inputdemo.ts +339 -0
  132. package/src/app/pages/uikit/listdemo.ts +217 -0
  133. package/src/app/pages/uikit/mediademo.ts +1021 -0
  134. package/src/app/pages/uikit/menudemo.ts +540 -0
  135. package/src/app/pages/uikit/messagesdemo.ts +101 -0
  136. package/src/app/pages/uikit/miscdemo.ts +192 -0
  137. package/src/app/pages/uikit/overlaydemo.ts +235 -0
  138. package/src/app/pages/uikit/panelsdemo.ts +235 -0
  139. package/src/app/pages/uikit/tabledemo.ts +568 -0
  140. package/src/app/pages/uikit/timelinedemo.ts +141 -0
  141. package/src/app/pages/uikit/treedemo.ts +75 -0
  142. package/src/app/pages/uikit/uikit.routes.ts +35 -0
  143. package/src/app.component.ts +22 -0
  144. package/src/app.config.ts +23 -0
  145. package/src/app.routes.ts +23 -0
  146. package/src/assets/demo/code.scss +17 -0
  147. package/src/assets/demo/demo.scss +2 -0
  148. package/src/assets/demo/flags/flags.css +984 -0
  149. package/src/assets/layout/_core.scss +24 -0
  150. package/src/assets/layout/_footer.scss +8 -0
  151. package/src/assets/layout/_main.scss +21 -0
  152. package/src/assets/layout/_menu.scss +159 -0
  153. package/src/assets/layout/_mixins.scss +15 -0
  154. package/src/assets/layout/_preloading.scss +47 -0
  155. package/src/assets/layout/_responsive.scss +111 -0
  156. package/src/assets/layout/_topbar.scss +201 -0
  157. package/src/assets/layout/_typography.scss +68 -0
  158. package/src/assets/layout/_utils.scss +25 -0
  159. package/src/assets/layout/layout.scss +13 -0
  160. package/src/assets/layout/variables/_common.scss +21 -0
  161. package/src/assets/layout/variables/_dark.scss +5 -0
  162. package/src/assets/layout/variables/_light.scss +5 -0
  163. package/src/assets/styles.scss +4 -0
  164. package/src/assets/tailwind.css +32 -0
  165. package/src/index.html +15 -0
  166. package/src/main.ts +5 -0
  167. package/tsconfig.app.json +15 -0
  168. package/tsconfig.json +33 -0
  169. package/tsconfig.spec.json +15 -0
  170. package/vercel.json +9 -0
package/.editorconfig ADDED
@@ -0,0 +1,16 @@
1
+ # Editor configuration, see https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 4
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.ts]
12
+ quote_type = single
13
+
14
+ [*.md]
15
+ max_line_length = off
16
+ trim_trailing_whitespace = false
package/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "src/assets"]
2
+ path = src/assets
3
+ url = https://github.com/cetincakiroglu/sakai-assets
@@ -0,0 +1,5 @@
1
+ {
2
+ "plugins": {
3
+ "@tailwindcss/postcss": {}
4
+ }
5
+ }
@@ -0,0 +1,14 @@
1
+ # Ignore artifacts:
2
+ build
3
+ coverage
4
+ dist
5
+ out
6
+ public
7
+ styles
8
+ node_modules
9
+ .vscode
10
+ .angular
11
+ *.md
12
+ *.yml
13
+ /tsconfig.json
14
+ *.json
@@ -0,0 +1,29 @@
1
+ {
2
+ "useTabs": false,
3
+ "tabWidth": 4,
4
+ "trailingComma": "none",
5
+ "semi": true,
6
+ "singleQuote": true,
7
+ "printWidth": 250,
8
+ "bracketSameLine": false,
9
+ "overrides": [
10
+ {
11
+ "files": ["*.ts", "*.mts", "*.d.ts"],
12
+ "options": {
13
+ "parser": "typescript"
14
+ }
15
+ },
16
+ {
17
+ "files": ["*.html"],
18
+ "options": {
19
+ "parser": "html"
20
+ }
21
+ },
22
+ {
23
+ "files": ["*.component.html"],
24
+ "options": {
25
+ "parser": "angular"
26
+ }
27
+ }
28
+ ]
29
+ }
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018-2026 PrimeTek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # Sakai19
2
+
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.
4
+
5
+ ## Development server
6
+
7
+ To start a local development server, run:
8
+
9
+ ```bash
10
+ ng serve
11
+ ```
12
+
13
+ Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
14
+
15
+ ## Code scaffolding
16
+
17
+ Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
18
+
19
+ ```bash
20
+ ng generate component component-name
21
+ ```
22
+
23
+ For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
24
+
25
+ ```bash
26
+ ng generate --help
27
+ ```
28
+
29
+ ## Building
30
+
31
+ To build the project run:
32
+
33
+ ```bash
34
+ ng build
35
+ ```
36
+
37
+ This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
38
+
39
+ ## Running unit tests
40
+
41
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
42
+
43
+ ```bash
44
+ ng test
45
+ ```
46
+
47
+ ## Running end-to-end tests
48
+
49
+ For end-to-end (e2e) testing, run:
50
+
51
+ ```bash
52
+ ng e2e
53
+ ```
54
+
55
+ Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
56
+
57
+ ## Additional Resources
58
+
59
+ For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
package/angular.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,
4
+ "newProjectRoot": "projects",
5
+ "projects": {
6
+ "sakai-ng": {
7
+ "projectType": "application",
8
+ "schematics": {
9
+ "@schematics/angular:component": {
10
+ "style": "scss"
11
+ }
12
+ },
13
+ "root": "",
14
+ "sourceRoot": "src",
15
+ "prefix": "app",
16
+ "architect": {
17
+ "build": {
18
+ "builder": "@angular-devkit/build-angular:application",
19
+ "options": {
20
+ "outputPath": "dist/sakai-ng",
21
+ "index": "src/index.html",
22
+ "browser": "src/main.ts",
23
+ "tsConfig": "tsconfig.app.json",
24
+ "inlineStyleLanguage": "scss",
25
+ "assets": [
26
+ {
27
+ "glob": "**/*",
28
+ "input": "public"
29
+
30
+ }
31
+ ],
32
+ "styles": [
33
+ "src/assets/styles.scss",
34
+ "src/assets/tailwind.css"
35
+ ],
36
+ "scripts": []
37
+ },
38
+ "configurations": {
39
+ "production": {
40
+ "budgets": [
41
+ {
42
+ "type": "initial",
43
+ "maximumWarning": "1mb",
44
+ "maximumError": "5mb"
45
+ },
46
+ {
47
+ "type": "anyComponentStyle",
48
+ "maximumWarning": "2kb",
49
+ "maximumError": "4kb"
50
+ }
51
+ ],
52
+ "outputHashing": "all"
53
+ },
54
+ "development": {
55
+ "optimization": false,
56
+ "extractLicenses": false,
57
+ "sourceMap": true
58
+ }
59
+ },
60
+ "defaultConfiguration": "production"
61
+ },
62
+ "serve": {
63
+ "builder": "@angular-devkit/build-angular:dev-server",
64
+ "configurations": {
65
+ "production": {
66
+ "buildTarget": "sakai-ng:build:production"
67
+ },
68
+ "development": {
69
+ "buildTarget": "sakai-ng:build:development"
70
+ }
71
+ },
72
+ "defaultConfiguration": "development"
73
+ },
74
+ "extract-i18n": {
75
+ "builder": "@angular-devkit/build-angular:extract-i18n"
76
+ },
77
+ "test": {
78
+ "builder": "@angular-devkit/build-angular:karma",
79
+ "options": {
80
+ "tsConfig": "tsconfig.spec.json",
81
+ "inlineStyleLanguage": "scss",
82
+ "assets": [
83
+ "src/favicon.ico",
84
+ "src/assets"
85
+ ],
86
+ "styles": [
87
+ "src/assets/styles.scss"
88
+ ],
89
+ "scripts": []
90
+ }
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "cli": {
96
+ "analytics": false
97
+ }
98
+ }
@@ -0,0 +1,89 @@
1
+ export default {
2
+ root: true,
3
+ ignorePatterns: ['**/dist/**'],
4
+ plugins: ['prettier'],
5
+ extends: ['prettier'],
6
+ rules: {
7
+ 'padding-line-between-statements': [
8
+ 'error',
9
+ { blankLine: 'always', prev: ['const', 'let', 'var'], next: '*' },
10
+ { blankLine: 'any', prev: ['const', 'let', 'var'], next: ['const', 'let', 'var'] },
11
+ { blankLine: 'any', prev: ['case', 'default'], next: 'break' },
12
+ { blankLine: 'any', prev: 'case', next: 'case' },
13
+ { blankLine: 'always', prev: '*', next: 'return' },
14
+ { blankLine: 'always', prev: 'block', next: '*' },
15
+ { blankLine: 'always', prev: '*', next: 'block' },
16
+ { blankLine: 'always', prev: 'block-like', next: '*' },
17
+ { blankLine: 'always', prev: '*', next: 'block-like' },
18
+ { blankLine: 'always', prev: ['import'], next: ['const', 'let', 'var'] }
19
+ ]
20
+ },
21
+ overrides: [
22
+ {
23
+ files: ['*.ts'],
24
+ parserOptions: {
25
+ project: ['tsconfig.json', 'e2e/tsconfig.json'],
26
+ createDefaultProgram: true
27
+ },
28
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@angular-eslint/recommended', 'plugin:@angular-eslint/template/process-inline-templates', 'prettier'],
29
+ rules: {
30
+ '@angular-eslint/component-selector': [
31
+ 'error',
32
+ {
33
+ type: 'element',
34
+ prefix: 'p',
35
+ style: 'kebab-case'
36
+ }
37
+ ],
38
+ '@angular-eslint/directive-selector': [
39
+ 'error',
40
+ {
41
+ type: 'attribute',
42
+ prefix: 'p',
43
+ style: 'camelCase'
44
+ }
45
+ ],
46
+ '@angular-eslint/component-class-suffix': [
47
+ 'error',
48
+ {
49
+ suffixes: ['']
50
+ }
51
+ ],
52
+ '@angular-eslint/template/eqeqeq': [
53
+ 'error',
54
+ {
55
+ allowNullOrUndefined: true
56
+ }
57
+ ],
58
+ '@angular-eslint/no-host-metadata-property': 'off',
59
+ '@angular-eslint/no-output-on-prefix': 'off',
60
+ '@typescript-eslint/ban-types': 'off',
61
+ '@typescript-eslint/no-explicit-any': 'off',
62
+ '@typescript-eslint/no-inferrable-types': 'off',
63
+ 'arrow-body-style': ['error', 'as-needed'],
64
+ curly: 0,
65
+ '@typescript-eslint/member-ordering': [
66
+ 'error',
67
+ {
68
+ default: ['public-static-field', 'static-field', 'instance-field', 'public-instance-method', 'public-static-field']
69
+ }
70
+ ],
71
+ 'no-console': 0,
72
+ 'prefer-const': 0
73
+ }
74
+ },
75
+ {
76
+ files: ['*.html'],
77
+ extends: ['plugin:@angular-eslint/template/recommended', 'prettier'],
78
+ rules: {}
79
+ },
80
+ {
81
+ files: ['*.js'],
82
+ rules: {
83
+ parserOptions: {
84
+ allowImportExportEverywhere: true
85
+ }
86
+ }
87
+ }
88
+ ]
89
+ };
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@duyanhdev/mvp-ifs-ui-kit",
3
+ "version": "21.0.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "scripts": {
8
+ "ng": "ng",
9
+ "start": "ng serve",
10
+ "build": "ng build",
11
+ "watch": "ng build --watch --configuration development",
12
+ "format": "prettier --write \"**/*.{js,mjs,ts,mts,d.ts,html}\" --cache",
13
+ "test": "ng test"
14
+ },
15
+ "private": false,
16
+ "dependencies": {
17
+ "@angular/common": "^21",
18
+ "@angular/compiler": "^21",
19
+ "@angular/core": "^21",
20
+ "@angular/forms": "^21",
21
+ "@angular/platform-browser": "^21",
22
+ "@angular/platform-browser-dynamic": "^21",
23
+ "@angular/router": "^21",
24
+ "@ngx-translate/core": "^17.0.0",
25
+ "@ngx-translate/http-loader": "^17.0.0",
26
+ "@primeuix/themes": "^2.0.0",
27
+ "@tailwindcss/postcss": "^4.1.11",
28
+ "chart.js": "4.4.2",
29
+ "primeclt": "^0.1.5",
30
+ "primeicons": "^7.0.0",
31
+ "primeng": "^21.0.2",
32
+ "quill": "^2.0.3",
33
+ "rxjs": "~7.8.0",
34
+ "tailwindcss-primeui": "^0.6.1",
35
+ "tslib": "^2.8.1"
36
+ },
37
+ "devDependencies": {
38
+ "@angular-devkit/build-angular": "^21",
39
+ "@angular/cli": "^21",
40
+ "@angular/compiler-cli": "^21",
41
+ "@types/jasmine": "~5.1.0",
42
+ "autoprefixer": "^10.4.20",
43
+ "eslint": "^9.14.0",
44
+ "eslint-config-prettier": "^9.1.0",
45
+ "eslint-plugin-import": "^2.31.0",
46
+ "eslint-plugin-prefer-arrow": "^1.2.3",
47
+ "eslint-plugin-prettier": "^4.2.1",
48
+ "jasmine-core": "~5.4.0",
49
+ "karma": "~6.4.0",
50
+ "karma-chrome-launcher": "~3.2.0",
51
+ "karma-coverage": "~2.2.0",
52
+ "karma-jasmine": "~5.1.0",
53
+ "karma-jasmine-html-reporter": "~2.1.0",
54
+ "postcss": "^8.5.6",
55
+ "prettier": "^3.0.0",
56
+ "tailwindcss": "^4.1.11",
57
+ "typescript": "~5.9.3"
58
+ }
59
+ }
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="300px" height="200px" viewBox="0 0 300 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>Artboard</title>
4
+ <g id="Artboard" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <rect id="Rectangle" fill="#F8F9FA" x="0" y="0" width="300" height="200"></rect>
6
+ <g id="image" transform="translate(110.000000, 70.000000)" fill="#BABABC" fill-rule="nonzero">
7
+ <path d="M75,0 L5,0 C2.23857625,0 0,2.23857625 0,5 L0,55 C0,57.7614237 2.23857625,60 5,60 L75,60 C77.7614237,60 80,57.7614237 80,55 L80,5 C80,2.23857625 77.7614237,0 75,0 Z M20,10 C25.5228475,10 30,14.4771525 30,20 C30,25.5228475 25.5228475,30 20,30 C14.4771525,30 10,25.5228475 10,20 C10,14.4771525 14.4771525,10 20,10 Z M70,40 L70,50 L10,50 L10,40 L18.55,35.7 C19.4648753,35.2524957 20.5351247,35.2524957 21.45,35.7 L30,40 L53.65,21.1 C54.4866298,20.4991452 55.6133702,20.4991452 56.45,21.1 L70,30 L70,40 Z" id="Shape"></path>
8
+ </g>
9
+ </g>
10
+ </svg>
@@ -0,0 +1,48 @@
1
+ <div class="flex flex-col gap-4">
2
+ <div>
3
+ <span class="text-sm text-muted-color font-semibold">Primary</span>
4
+ <div class="pt-2 flex gap-2 flex-wrap justify-start">
5
+ @for (primaryColor of primaryColors(); track primaryColor.name) {
6
+ <button
7
+ type="button"
8
+ [title]="primaryColor.name"
9
+ (click)="updateColors($event, 'primary', primaryColor)"
10
+ [ngClass]="{
11
+ 'outline outline-primary': primaryColor.name === selectedPrimaryColor()
12
+ }"
13
+ class="cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center outline-offset-1 shadow"
14
+ [style]="{
15
+ 'background-color': primaryColor?.name === 'noir' ? 'var(--text-color)' : primaryColor?.palette?.['500']
16
+ }"
17
+ ></button>
18
+ }
19
+ </div>
20
+ </div>
21
+ <div>
22
+ <span class="text-sm text-muted-color font-semibold">Surface</span>
23
+ <div class="pt-2 flex gap-2 flex-wrap justify-start">
24
+ @for (surface of surfaces; track surface.name) {
25
+ <button
26
+ type="button"
27
+ [title]="surface.name"
28
+ (click)="updateColors($event, 'surface', surface)"
29
+ class="cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center p-0 outline-offset-1"
30
+ [ngClass]="{
31
+ 'outline outline-primary': selectedSurfaceColor() ? selectedSurfaceColor() === surface.name : layoutService.layoutConfig().darkTheme ? surface.name === 'zinc' : surface.name === 'slate'
32
+ }"
33
+ [style]="{
34
+ 'background-color': surface?.palette?.['500']
35
+ }"
36
+ ></button>
37
+ }
38
+ </div>
39
+ </div>
40
+ <div class="flex flex-col gap-2">
41
+ <span class="text-sm text-muted-color font-semibold">Presets</span>
42
+ <p-selectbutton [options]="presets" [ngModel]="selectedPreset()" (ngModelChange)="onPresetChange($event)" [allowEmpty]="false" size="small" />
43
+ </div>
44
+ <div *ngIf="showMenuModeButton()" class="flex flex-col gap-2">
45
+ <span class="text-sm text-muted-color font-semibold">Menu Mode</span>
46
+ <p-selectbutton [ngModel]="menuMode()" (ngModelChange)="onMenuModeChange($event)" [options]="menuModeOptions" [allowEmpty]="false" size="small" />
47
+ </div>
48
+ </div>