@edsis/angular 21.3.4 → 21.3.8

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 (381) hide show
  1. package/README.md +88 -257
  2. package/fesm2022/edsis-angular-module-auth.mjs +1301 -0
  3. package/fesm2022/edsis-angular-module-auth.mjs.map +1 -0
  4. package/fesm2022/edsis-angular.mjs +8 -0
  5. package/fesm2022/edsis-angular.mjs.map +1 -0
  6. package/package.json +13 -368
  7. package/types/edsis-angular-module-auth.d.ts +132 -0
  8. package/types/edsis-angular.d.ts +2 -0
  9. package/.npmignore +0 -2
  10. package/collection.json +0 -30
  11. package/component/accordion/package.json +0 -4
  12. package/component/alert/package.json +0 -4
  13. package/component/alert-dialog/package.json +0 -4
  14. package/component/aspect-ratio/package.json +0 -4
  15. package/component/avatar/package.json +0 -4
  16. package/component/badge/package.json +0 -4
  17. package/component/breadcrumb/package.json +0 -4
  18. package/component/button/package.json +0 -4
  19. package/component/button-group/package.json +0 -4
  20. package/component/calendar/package.json +0 -4
  21. package/component/card/package.json +0 -4
  22. package/component/carousel/package.json +0 -4
  23. package/component/chart/README.md +0 -249
  24. package/component/chart/area/package.json +0 -4
  25. package/component/chart/bar/package.json +0 -4
  26. package/component/chart/line/package.json +0 -4
  27. package/component/chart/package.json +0 -4
  28. package/component/chart/pie/package.json +0 -4
  29. package/component/chart/radar/package.json +0 -4
  30. package/component/chart/radial/package.json +0 -4
  31. package/component/chart/scatter/package.json +0 -4
  32. package/component/checkbox/package.json +0 -4
  33. package/component/collapsible/package.json +0 -4
  34. package/component/combobox/package.json +0 -4
  35. package/component/command/package.json +0 -4
  36. package/component/context-menu/package.json +0 -4
  37. package/component/date-picker/package.json +0 -4
  38. package/component/dialog/package.json +0 -4
  39. package/component/drawer/package.json +0 -4
  40. package/component/dropdown-menu/package.json +0 -4
  41. package/component/form/package.json +0 -4
  42. package/component/input/package.json +0 -4
  43. package/component/input-group/package.json +0 -4
  44. package/component/item/package.json +0 -4
  45. package/component/label/package.json +0 -4
  46. package/component/pagination/package.json +0 -4
  47. package/component/popover/package.json +0 -4
  48. package/component/progress/package.json +0 -4
  49. package/component/radio/package.json +0 -4
  50. package/component/scroll-area/package.json +0 -4
  51. package/component/select/package.json +0 -4
  52. package/component/separator/package.json +0 -4
  53. package/component/sheet/package.json +0 -4
  54. package/component/skeleton/package.json +0 -4
  55. package/component/slider/package.json +0 -4
  56. package/component/switch/package.json +0 -4
  57. package/component/table/package.json +0 -4
  58. package/component/tabs/package.json +0 -4
  59. package/component/textarea/package.json +0 -4
  60. package/component/toast/package.json +0 -4
  61. package/component/tooltip/package.json +0 -4
  62. package/component/utils/package.json +0 -4
  63. package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -174
  64. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
  65. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -242
  66. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
  67. package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -90
  68. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
  69. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -33
  70. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
  71. package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -123
  72. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
  73. package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -47
  74. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
  75. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -186
  76. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
  77. package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -95
  78. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
  79. package/fesm2022/ojiepermana-angular-component-button.mjs +0 -64
  80. package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
  81. package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -78
  82. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
  83. package/fesm2022/ojiepermana-angular-component-card.mjs +0 -137
  84. package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
  85. package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -310
  86. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
  87. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
  88. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
  89. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
  90. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
  91. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
  92. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
  93. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
  94. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
  95. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
  96. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
  97. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
  98. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
  99. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
  100. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
  101. package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3714
  102. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
  103. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -104
  104. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
  105. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -116
  106. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
  107. package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -263
  108. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
  109. package/fesm2022/ojiepermana-angular-component-command.mjs +0 -268
  110. package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
  111. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -100
  112. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
  113. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -155
  114. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
  115. package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -262
  116. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
  117. package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
  118. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
  119. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -458
  120. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
  121. package/fesm2022/ojiepermana-angular-component-form.mjs +0 -208
  122. package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
  123. package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -164
  124. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
  125. package/fesm2022/ojiepermana-angular-component-input.mjs +0 -43
  126. package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
  127. package/fesm2022/ojiepermana-angular-component-item.mjs +0 -241
  128. package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
  129. package/fesm2022/ojiepermana-angular-component-label.mjs +0 -30
  130. package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
  131. package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -192
  132. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
  133. package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -163
  134. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
  135. package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -53
  136. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
  137. package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -92
  138. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
  139. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -48
  140. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
  141. package/fesm2022/ojiepermana-angular-component-select.mjs +0 -131
  142. package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
  143. package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -33
  144. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
  145. package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -235
  146. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
  147. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -29
  148. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
  149. package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -29
  150. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
  151. package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -84
  152. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
  153. package/fesm2022/ojiepermana-angular-component-table.mjs +0 -139
  154. package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
  155. package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -252
  156. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
  157. package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -37
  158. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
  159. package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -47
  160. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
  161. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -56
  162. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
  163. package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
  164. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
  165. package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
  166. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
  167. package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -581
  168. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
  169. package/fesm2022/ojiepermana-angular-layout-empty.mjs +0 -49
  170. package/fesm2022/ojiepermana-angular-layout-empty.mjs.map +0 -1
  171. package/fesm2022/ojiepermana-angular-layout-horizontal.mjs +0 -119
  172. package/fesm2022/ojiepermana-angular-layout-horizontal.mjs.map +0 -1
  173. package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
  174. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
  175. package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -114
  176. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
  177. package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
  178. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
  179. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -27
  180. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
  181. package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
  182. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
  183. package/fesm2022/ojiepermana-angular-layout-vertical.mjs +0 -113
  184. package/fesm2022/ojiepermana-angular-layout-vertical.mjs.map +0 -1
  185. package/fesm2022/ojiepermana-angular-layout.mjs +0 -461
  186. package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
  187. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
  188. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
  189. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -59
  190. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
  191. package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -548
  192. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
  193. package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -204
  194. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
  195. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -373
  196. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
  197. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -433
  198. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
  199. package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
  200. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
  201. package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
  202. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
  203. package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -286
  204. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
  205. package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
  206. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
  207. package/fesm2022/ojiepermana-angular-theme.mjs +0 -382
  208. package/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
  209. package/fesm2022/ojiepermana-angular.mjs +0 -22
  210. package/fesm2022/ojiepermana-angular.mjs.map +0 -1
  211. package/generator/api/README.md +0 -252
  212. package/generator/api/bin/package.json +0 -3
  213. package/generator/api/bin/schematics/init/index.js +0 -90
  214. package/generator/api/bin/schematics/ng-add/index.js +0 -131
  215. package/generator/api/bin/schematics/sdk/index.js +0 -76
  216. package/generator/api/bin/src/config/loader.js +0 -41
  217. package/generator/api/bin/src/config/schema.js +0 -57
  218. package/generator/api/bin/src/emit/client.js +0 -246
  219. package/generator/api/bin/src/emit/metadata.js +0 -295
  220. package/generator/api/bin/src/emit/models.js +0 -106
  221. package/generator/api/bin/src/emit/navigation.js +0 -56
  222. package/generator/api/bin/src/emit/operations.js +0 -122
  223. package/generator/api/bin/src/emit/public-api.js +0 -54
  224. package/generator/api/bin/src/emit/services.js +0 -87
  225. package/generator/api/bin/src/engine.js +0 -65
  226. package/generator/api/bin/src/layout/per-domain.js +0 -359
  227. package/generator/api/bin/src/parser/bundle.js +0 -25
  228. package/generator/api/bin/src/parser/ir.js +0 -320
  229. package/generator/api/bin/src/parser/types.js +0 -7
  230. package/generator/api/bin/src/render/template.js +0 -58
  231. package/generator/api/bin/src/writer/index.js +0 -278
  232. package/generator/api/package.json +0 -4
  233. package/generator/api/schematics/init/schema.json +0 -19
  234. package/generator/api/schematics/ng-add/schema.json +0 -14
  235. package/generator/api/schematics/sdk/schema.json +0 -19
  236. package/generator/api/sdk.config.example.json +0 -24
  237. package/generator/guide/README.md +0 -84
  238. package/generator/guide/bin/package.json +0 -3
  239. package/generator/guide/bin/schematics/build/index.js +0 -35
  240. package/generator/guide/bin/schematics/init/index.js +0 -70
  241. package/generator/guide/bin/src/config/loader.js +0 -50
  242. package/generator/guide/bin/src/config/schema.js +0 -12
  243. package/generator/guide/bin/src/engine/component.js +0 -74
  244. package/generator/guide/bin/src/engine/frontmatter.js +0 -42
  245. package/generator/guide/bin/src/engine/index.js +0 -42
  246. package/generator/guide/bin/src/engine/naming.js +0 -39
  247. package/generator/guide/bin/src/engine/render.js +0 -31
  248. package/generator/guide/bin/src/engine/routes.js +0 -106
  249. package/generator/guide/bin/src/engine/walk.js +0 -35
  250. package/generator/guide/guide.config.example.json +0 -9
  251. package/generator/guide/schematics/build/schema.json +0 -14
  252. package/generator/guide/schematics/init/schema.json +0 -19
  253. package/layout/component/package.json +0 -4
  254. package/layout/empty/package.json +0 -4
  255. package/layout/horizontal/package.json +0 -4
  256. package/layout/package.json +0 -4
  257. package/layout/provider/package.json +0 -4
  258. package/layout/services/package.json +0 -4
  259. package/layout/shell/package.json +0 -4
  260. package/layout/token/directive/package.json +0 -4
  261. package/layout/token/package.json +0 -4
  262. package/layout/vertical/package.json +0 -4
  263. package/navigation/demo-data/package.json +0 -4
  264. package/navigation/icon/package.json +0 -4
  265. package/navigation/item/package.json +0 -4
  266. package/navigation/service/package.json +0 -4
  267. package/navigation/sidebar/package.json +0 -4
  268. package/navigation/topbar/package.json +0 -4
  269. package/navigation/types/package.json +0 -4
  270. package/theme/README.md +0 -67
  271. package/theme/package.json +0 -4
  272. package/theme/provider/package.json +0 -4
  273. package/theme/services/package.json +0 -4
  274. package/theme/styles/foundation/components.css +0 -81
  275. package/theme/styles/foundation/layers.css +0 -15
  276. package/theme/styles/foundation/tokens.css +0 -55
  277. package/theme/styles/index.css +0 -37
  278. package/theme/styles/integrations/material.css +0 -254
  279. package/theme/styles/integrations/tailwind.css +0 -114
  280. package/theme/styles/variants/color/amber.css +0 -31
  281. package/theme/styles/variants/color/base.css +0 -36
  282. package/theme/styles/variants/color/blue.css +0 -31
  283. package/theme/styles/variants/color/cyan.css +0 -31
  284. package/theme/styles/variants/color/emerald.css +0 -31
  285. package/theme/styles/variants/color/fuchsia.css +0 -31
  286. package/theme/styles/variants/color/green.css +0 -31
  287. package/theme/styles/variants/color/index.css +0 -22
  288. package/theme/styles/variants/color/indigo.css +0 -31
  289. package/theme/styles/variants/color/lime.css +0 -31
  290. package/theme/styles/variants/color/orange.css +0 -31
  291. package/theme/styles/variants/color/pink.css +0 -31
  292. package/theme/styles/variants/color/purple.css +0 -31
  293. package/theme/styles/variants/color/red.css +0 -31
  294. package/theme/styles/variants/color/rose.css +0 -31
  295. package/theme/styles/variants/color/sky.css +0 -31
  296. package/theme/styles/variants/color/teal.css +0 -31
  297. package/theme/styles/variants/color/violet.css +0 -31
  298. package/theme/styles/variants/color/yellow.css +0 -31
  299. package/theme/styles/variants/mode/dark.css +0 -20
  300. package/theme/styles/variants/mode/index.css +0 -6
  301. package/theme/styles/variants/mode/light.css +0 -24
  302. package/theme/styles/variants/style/brutal.css +0 -50
  303. package/theme/styles/variants/style/default.css +0 -54
  304. package/theme/styles/variants/style/index.css +0 -8
  305. package/theme/styles/variants/style/sharp.css +0 -50
  306. package/theme/styles/variants/style/soft.css +0 -50
  307. package/theme/token/package.json +0 -4
  308. package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
  309. package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
  310. package/types/ojiepermana-angular-component-alert.d.ts +0 -37
  311. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
  312. package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
  313. package/types/ojiepermana-angular-component-badge.d.ts +0 -19
  314. package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
  315. package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
  316. package/types/ojiepermana-angular-component-button.d.ts +0 -22
  317. package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
  318. package/types/ojiepermana-angular-component-card.d.ts +0 -60
  319. package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
  320. package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
  321. package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
  322. package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
  323. package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
  324. package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
  325. package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
  326. package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
  327. package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
  328. package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
  329. package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
  330. package/types/ojiepermana-angular-component-combobox.d.ts +0 -51
  331. package/types/ojiepermana-angular-component-command.d.ts +0 -99
  332. package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
  333. package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
  334. package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
  335. package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
  336. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -135
  337. package/types/ojiepermana-angular-component-form.d.ts +0 -92
  338. package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
  339. package/types/ojiepermana-angular-component-input.d.ts +0 -16
  340. package/types/ojiepermana-angular-component-item.d.ts +0 -88
  341. package/types/ojiepermana-angular-component-label.d.ts +0 -11
  342. package/types/ojiepermana-angular-component-pagination.d.ts +0 -27
  343. package/types/ojiepermana-angular-component-popover.d.ts +0 -43
  344. package/types/ojiepermana-angular-component-progress.d.ts +0 -17
  345. package/types/ojiepermana-angular-component-radio.d.ts +0 -34
  346. package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
  347. package/types/ojiepermana-angular-component-select.d.ts +0 -45
  348. package/types/ojiepermana-angular-component-separator.d.ts +0 -14
  349. package/types/ojiepermana-angular-component-sheet.d.ts +0 -74
  350. package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
  351. package/types/ojiepermana-angular-component-slider.d.ts +0 -16
  352. package/types/ojiepermana-angular-component-switch.d.ts +0 -30
  353. package/types/ojiepermana-angular-component-table.d.ts +0 -52
  354. package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
  355. package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
  356. package/types/ojiepermana-angular-component-toast.d.ts +0 -29
  357. package/types/ojiepermana-angular-component-tooltip.d.ts +0 -22
  358. package/types/ojiepermana-angular-component-utils.d.ts +0 -5
  359. package/types/ojiepermana-angular-generator-api.d.ts +0 -86
  360. package/types/ojiepermana-angular-layout-component.d.ts +0 -205
  361. package/types/ojiepermana-angular-layout-empty.d.ts +0 -22
  362. package/types/ojiepermana-angular-layout-horizontal.d.ts +0 -36
  363. package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
  364. package/types/ojiepermana-angular-layout-services.d.ts +0 -25
  365. package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
  366. package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
  367. package/types/ojiepermana-angular-layout-token.d.ts +0 -36
  368. package/types/ojiepermana-angular-layout-vertical.d.ts +0 -38
  369. package/types/ojiepermana-angular-layout.d.ts +0 -164
  370. package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
  371. package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
  372. package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
  373. package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
  374. package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
  375. package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -54
  376. package/types/ojiepermana-angular-navigation-types.d.ts +0 -129
  377. package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
  378. package/types/ojiepermana-angular-theme-services.d.ts +0 -55
  379. package/types/ojiepermana-angular-theme-token.d.ts +0 -57
  380. package/types/ojiepermana-angular-theme.d.ts +0 -116
  381. package/types/ojiepermana-angular.d.ts +0 -3
@@ -1,382 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, DestroyRef, signal, computed, effect, Injectable, makeEnvironmentProviders, provideEnvironmentInitializer } from '@angular/core';
3
- import { DOCUMENT } from '@angular/common';
4
- import { isThemeColor as isThemeColor$1, MATERIAL_THEME_CONFIG as MATERIAL_THEME_CONFIG$1, isColorScheme as isColorScheme$1, DEFAULT_MATERIAL_THEME_CONFIG as DEFAULT_MATERIAL_THEME_CONFIG$1, isThemeBrand as isThemeBrand$1, isThemeStyle as isThemeStyle$1 } from '@edsis/angular/theme/token';
5
- import { THEME_PANEL_THEME_PORT } from '@edsis/angular/layout/component';
6
- import { ThemeService as ThemeService$1 } from '@edsis/angular/theme/services';
7
- import { MAT_RIPPLE_GLOBAL_OPTIONS } from '@angular/material/core';
8
- import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
9
-
10
- const MODES = ['light', 'dark'];
11
- const COLOR_SCHEMES = ['light', 'dark', 'system'];
12
- const COLORS = [
13
- 'base',
14
- 'red',
15
- 'orange',
16
- 'amber',
17
- 'yellow',
18
- 'lime',
19
- 'green',
20
- 'emerald',
21
- 'teal',
22
- 'cyan',
23
- 'sky',
24
- 'blue',
25
- 'indigo',
26
- 'violet',
27
- 'purple',
28
- 'fuchsia',
29
- 'pink',
30
- 'rose',
31
- ];
32
- const STYLES = ['default', 'sharp', 'brutal', 'soft'];
33
- const BRANDS = ['etos'];
34
- const MATERIAL_THEME_CONFIG = new InjectionToken('MATERIAL_THEME_CONFIG');
35
- const DEFAULT_MATERIAL_THEME_CONFIG = {
36
- defaultMode: 'light',
37
- defaultBrand: null,
38
- defaultColor: 'base',
39
- defaultStyle: 'default',
40
- modeStorageKey: 'theme-mode',
41
- brandStorageKey: 'theme-brand',
42
- colorStorageKey: 'theme-color',
43
- styleStorageKey: 'theme-style',
44
- };
45
- function isColorScheme(value) {
46
- return COLOR_SCHEMES.some((scheme) => scheme === value);
47
- }
48
- function isThemeColor(value) {
49
- return COLORS.some((color) => color === value);
50
- }
51
- function isThemeStyle(value) {
52
- return STYLES.some((style) => style === value);
53
- }
54
- function isThemeBrand(value) {
55
- return BRANDS.some((brand) => brand === value);
56
- }
57
-
58
- class ThemeService {
59
- document = inject(DOCUMENT);
60
- destroyRef = inject(DestroyRef);
61
- config = this.resolveConfig();
62
- initialBrand = this.readPersistedBrand() ?? this.config.defaultBrand;
63
- _modePreference = signal(this.readPersistedMode() ?? this.config.defaultMode, ...(ngDevMode ? [{ debugName: "_modePreference" }] : /* istanbul ignore next */ []));
64
- _brand = signal(this.initialBrand, ...(ngDevMode ? [{ debugName: "_brand" }] : /* istanbul ignore next */ []));
65
- _color = signal(this.initialBrand ? this.config.defaultColor : (this.readPersistedColor() ?? this.config.defaultColor), ...(ngDevMode ? [{ debugName: "_color" }] : /* istanbul ignore next */ []));
66
- _style = signal(this.initialBrand ? this.config.defaultStyle : (this.readPersistedStyle() ?? this.config.defaultStyle), ...(ngDevMode ? [{ debugName: "_style" }] : /* istanbul ignore next */ []));
67
- _systemPrefersDark = signal(this.prefersDark(), ...(ngDevMode ? [{ debugName: "_systemPrefersDark" }] : /* istanbul ignore next */ []));
68
- scheme = this._modePreference.asReadonly();
69
- brand = this._brand.asReadonly();
70
- color = this._color.asReadonly();
71
- theme = this._color.asReadonly();
72
- style = this._style.asReadonly();
73
- mode = computed(() => this.resolveMode(this._modePreference()), ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
74
- snapshot = computed(() => ({
75
- mode: this.mode(),
76
- brand: this._brand(),
77
- color: this._color(),
78
- style: this._style(),
79
- }), ...(ngDevMode ? [{ debugName: "snapshot" }] : /* istanbul ignore next */ []));
80
- isDark = computed(() => this.mode() === 'dark', ...(ngDevMode ? [{ debugName: "isDark" }] : /* istanbul ignore next */ []));
81
- constructor() {
82
- this.watchSystemScheme();
83
- effect(() => {
84
- const root = this.document.documentElement;
85
- const mode = this.mode();
86
- const brand = this._brand();
87
- const color = this._color();
88
- const style = this._style();
89
- root.dataset['mode'] = mode;
90
- root.dataset['theme'] = brand ?? color;
91
- root.classList.toggle('dark', mode === 'dark');
92
- this.persistMode(this._modePreference());
93
- if (brand) {
94
- root.setAttribute('theme-brand', brand);
95
- root.removeAttribute('theme-color');
96
- root.removeAttribute('theme-style');
97
- delete root.dataset['color'];
98
- delete root.dataset['style'];
99
- this.persistBrand(brand);
100
- this.clearPersistedColor();
101
- this.clearPersistedStyle();
102
- return;
103
- }
104
- root.removeAttribute('theme-brand');
105
- root.setAttribute('theme-color', color);
106
- root.setAttribute('theme-style', style);
107
- root.dataset['color'] = color;
108
- root.dataset['style'] = style;
109
- this.clearPersistedBrand();
110
- this.persistColor(color);
111
- this.persistStyle(style);
112
- });
113
- }
114
- setMode(mode) {
115
- this._modePreference.set(mode);
116
- }
117
- setScheme(scheme) {
118
- this._modePreference.set(scheme);
119
- }
120
- setBrand(brand) {
121
- this._brand.set(brand);
122
- this._color.set(this.config.defaultColor);
123
- this._style.set(this.config.defaultStyle);
124
- }
125
- setColor(color) {
126
- if (this._brand()) {
127
- this._brand.set(null);
128
- }
129
- this._color.set(color);
130
- }
131
- setTheme(theme) {
132
- if (isThemeColor$1(theme)) {
133
- this.setColor(theme);
134
- }
135
- }
136
- setStyle(style) {
137
- if (this._brand()) {
138
- this._brand.set(null);
139
- }
140
- this._style.set(style);
141
- }
142
- setAll(config) {
143
- if (config.scheme) {
144
- this.setScheme(config.scheme);
145
- }
146
- if (config.mode) {
147
- this.setMode(config.mode);
148
- }
149
- if (config.brand !== undefined) {
150
- this.setBrand(config.brand);
151
- }
152
- if (config.brand === undefined || config.brand === null) {
153
- if (config.color) {
154
- this.setColor(config.color);
155
- }
156
- if (config.style) {
157
- this.setStyle(config.style);
158
- }
159
- }
160
- }
161
- toggleScheme() {
162
- this.toggleMode();
163
- }
164
- toggleMode() {
165
- this.setMode(this.mode() === 'dark' ? 'light' : 'dark');
166
- }
167
- reset() {
168
- this._modePreference.set(this.config.defaultMode);
169
- this._brand.set(this.config.defaultBrand);
170
- this._color.set(this.config.defaultColor);
171
- this._style.set(this.config.defaultStyle);
172
- }
173
- resolveConfig() {
174
- const config = inject(MATERIAL_THEME_CONFIG$1, { optional: true }) ?? {};
175
- const configuredMode = config.mode ?? config.defaultMode ?? config.defaultScheme;
176
- const configuredBrand = config.brand ?? config['theme-brand'] ?? config.defaultBrand;
177
- const configuredColor = config.color ?? config.defaultColor ?? config.defaultTheme;
178
- const configuredStyle = config.style ?? config.defaultStyle;
179
- const defaultMode = isColorScheme$1(configuredMode) ? configuredMode : DEFAULT_MATERIAL_THEME_CONFIG$1.defaultMode;
180
- const defaultBrand = isThemeBrand$1(configuredBrand) ? configuredBrand : DEFAULT_MATERIAL_THEME_CONFIG$1.defaultBrand;
181
- const defaultColor = isThemeColor$1(configuredColor) ? configuredColor : DEFAULT_MATERIAL_THEME_CONFIG$1.defaultColor;
182
- const defaultStyle = isThemeStyle$1(configuredStyle) ? configuredStyle : DEFAULT_MATERIAL_THEME_CONFIG$1.defaultStyle;
183
- return {
184
- defaultMode,
185
- defaultBrand,
186
- defaultColor,
187
- defaultStyle,
188
- modeStorageKey: config.modeStorageKey ??
189
- config.schemeStorageKey ??
190
- config.storageKey ??
191
- DEFAULT_MATERIAL_THEME_CONFIG$1.modeStorageKey,
192
- brandStorageKey: config.brandStorageKey ?? DEFAULT_MATERIAL_THEME_CONFIG$1.brandStorageKey,
193
- colorStorageKey: config.colorStorageKey ?? config.themeStorageKey ?? DEFAULT_MATERIAL_THEME_CONFIG$1.colorStorageKey,
194
- styleStorageKey: config.styleStorageKey ?? DEFAULT_MATERIAL_THEME_CONFIG$1.styleStorageKey,
195
- };
196
- }
197
- resolveMode(mode) {
198
- return mode === 'system' ? (this._systemPrefersDark() ? 'dark' : 'light') : mode;
199
- }
200
- prefersDark() {
201
- const mql = this.document.defaultView?.matchMedia?.('(prefers-color-scheme: dark)');
202
- return !!mql?.matches;
203
- }
204
- watchSystemScheme() {
205
- const mql = this.document.defaultView?.matchMedia?.('(prefers-color-scheme: dark)');
206
- if (!mql)
207
- return;
208
- const listener = (event) => {
209
- this._systemPrefersDark.set(event.matches);
210
- };
211
- mql.addEventListener('change', listener);
212
- this.destroyRef.onDestroy(() => mql.removeEventListener('change', listener));
213
- }
214
- readPersistedMode() {
215
- const key = this.config.modeStorageKey;
216
- if (!key)
217
- return null;
218
- try {
219
- const value = this.document.defaultView?.localStorage?.getItem(key);
220
- return isColorScheme$1(value) ? value : null;
221
- }
222
- catch {
223
- return null;
224
- }
225
- }
226
- readPersistedBrand() {
227
- const key = this.config.brandStorageKey;
228
- if (!key)
229
- return null;
230
- try {
231
- const value = this.document.defaultView?.localStorage?.getItem(key);
232
- return isThemeBrand$1(value) ? value : null;
233
- }
234
- catch {
235
- return null;
236
- }
237
- }
238
- readPersistedColor() {
239
- const key = this.config.colorStorageKey;
240
- if (!key)
241
- return null;
242
- try {
243
- const value = this.document.defaultView?.localStorage?.getItem(key);
244
- return isThemeColor$1(value) ? value : null;
245
- }
246
- catch {
247
- return null;
248
- }
249
- }
250
- readPersistedStyle() {
251
- const key = this.config.styleStorageKey;
252
- if (!key)
253
- return null;
254
- try {
255
- const value = this.document.defaultView?.localStorage?.getItem(key);
256
- return isThemeStyle$1(value) ? value : null;
257
- }
258
- catch {
259
- return null;
260
- }
261
- }
262
- persistMode(mode) {
263
- const key = this.config.modeStorageKey;
264
- if (!key)
265
- return;
266
- try {
267
- this.document.defaultView?.localStorage?.setItem(key, mode);
268
- }
269
- catch {
270
- /* ignore */
271
- }
272
- }
273
- persistBrand(brand) {
274
- const key = this.config.brandStorageKey;
275
- if (!key)
276
- return;
277
- try {
278
- this.document.defaultView?.localStorage?.setItem(key, brand);
279
- }
280
- catch {
281
- /* ignore */
282
- }
283
- }
284
- persistColor(color) {
285
- const key = this.config.colorStorageKey;
286
- if (!key)
287
- return;
288
- try {
289
- this.document.defaultView?.localStorage?.setItem(key, color);
290
- }
291
- catch {
292
- /* ignore */
293
- }
294
- }
295
- persistStyle(style) {
296
- const key = this.config.styleStorageKey;
297
- if (!key)
298
- return;
299
- try {
300
- this.document.defaultView?.localStorage?.setItem(key, style);
301
- }
302
- catch {
303
- /* ignore */
304
- }
305
- }
306
- clearPersistedBrand() {
307
- this.clearPersistedItem(this.config.brandStorageKey);
308
- }
309
- clearPersistedColor() {
310
- this.clearPersistedItem(this.config.colorStorageKey);
311
- }
312
- clearPersistedStyle() {
313
- this.clearPersistedItem(this.config.styleStorageKey);
314
- }
315
- clearPersistedItem(key) {
316
- if (!key)
317
- return;
318
- try {
319
- this.document.defaultView?.localStorage?.removeItem(key);
320
- }
321
- catch {
322
- /* ignore */
323
- }
324
- }
325
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
326
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ThemeService, providedIn: 'root' });
327
- }
328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ThemeService, decorators: [{
329
- type: Injectable,
330
- args: [{ providedIn: 'root' }]
331
- }], ctorParameters: () => [] });
332
-
333
- function provideMaterialTheme(config = {}, ...features) {
334
- return makeEnvironmentProviders([
335
- { provide: MATERIAL_THEME_CONFIG$1, useValue: config },
336
- { provide: THEME_PANEL_THEME_PORT, useExisting: ThemeService$1 },
337
- provideEnvironmentInitializer(() => {
338
- inject(ThemeService$1);
339
- }),
340
- ...features.flatMap((feature) => feature.providers),
341
- ]);
342
- }
343
- function withMaterialDefaults() {
344
- return {
345
- providers: [
346
- { provide: MAT_RIPPLE_GLOBAL_OPTIONS, useValue: { disabled: true } },
347
- {
348
- provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
349
- useValue: { appearance: 'outline', subscriptSizing: 'dynamic' },
350
- },
351
- ],
352
- };
353
- }
354
-
355
- /*
356
- * Public API Surface of @edsis/angular/theme
357
- *
358
- * Aggregate barrel for the shared theme runtime plus the stable CSS asset
359
- * surface used by every `@edsis/angular/*` subpath.
360
- *
361
- * Runtime usage:
362
- * // app.config.ts
363
- * import { provideMaterialTheme } from '@edsis/angular/theme';
364
- *
365
- * Deep runtime imports:
366
- * import { ThemeService } from '@edsis/angular/theme/services';
367
- * import { provideMaterialTheme } from '@edsis/angular/theme/provider';
368
- * import { MATERIAL_THEME_CONFIG } from '@edsis/angular/theme/token';
369
- *
370
- * CSS usage:
371
- * // styles.css
372
- * @import '@edsis/angular/theme/styles';
373
- * @import 'tailwindcss';
374
- * @import '@edsis/angular/theme/tailwind/theme.css';
375
- */
376
-
377
- /**
378
- * Generated bundle index. Do not edit.
379
- */
380
-
381
- export { BRANDS, COLORS, COLOR_SCHEMES, DEFAULT_MATERIAL_THEME_CONFIG, MATERIAL_THEME_CONFIG, MODES, STYLES, ThemeService, isColorScheme, isThemeBrand, isThemeColor, isThemeStyle, provideMaterialTheme, withMaterialDefaults };
382
- //# sourceMappingURL=ojiepermana-angular-theme.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ojiepermana-angular-theme.mjs","sources":["../../../projects/angular/theme/token/src/lib/theme.tokens.ts","../../../projects/angular/theme/services/src/lib/theme.service.ts","../../../projects/angular/theme/provider/src/lib/theme.provider.ts","../../../projects/angular/theme/public-api.ts","../../../projects/angular/theme/ojiepermana-angular-theme.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const MODES = ['light', 'dark'] as const;\n\nexport type ThemeMode = (typeof MODES)[number];\n\nexport const COLOR_SCHEMES = ['light', 'dark', 'system'] as const;\n\nexport type ColorScheme = (typeof COLOR_SCHEMES)[number];\n\nexport const COLORS = [\n 'base',\n 'red',\n 'orange',\n 'amber',\n 'yellow',\n 'lime',\n 'green',\n 'emerald',\n 'teal',\n 'cyan',\n 'sky',\n 'blue',\n 'indigo',\n 'violet',\n 'purple',\n 'fuchsia',\n 'pink',\n 'rose',\n] as const;\n\nexport type ThemeColor = (typeof COLORS)[number];\n\nexport const STYLES = ['default', 'sharp', 'brutal', 'soft'] as const;\n\nexport type ThemeStyle = (typeof STYLES)[number];\n\nexport const BRANDS = ['etos'] as const;\n\nexport type ThemeBrand = (typeof BRANDS)[number];\n\nexport interface ThemeConfig {\n readonly mode: ThemeMode;\n readonly brand: ThemeBrand | null;\n readonly color: ThemeColor;\n readonly style: ThemeStyle;\n}\n\nexport interface MaterialThemeConfig {\n readonly mode?: ColorScheme;\n readonly brand?: ThemeBrand | null;\n readonly 'theme-brand'?: ThemeBrand | null;\n readonly color?: ThemeColor;\n readonly style?: ThemeStyle;\n readonly defaultMode?: ColorScheme;\n readonly defaultBrand?: ThemeBrand | null;\n readonly defaultColor?: ThemeColor;\n readonly defaultStyle?: ThemeStyle;\n readonly defaultScheme?: ColorScheme;\n readonly defaultTheme?: ThemeColor | string;\n readonly storageKey?: string | null;\n readonly schemeStorageKey?: string | null;\n readonly themeStorageKey?: string | null;\n readonly modeStorageKey?: string | null;\n readonly brandStorageKey?: string | null;\n readonly colorStorageKey?: string | null;\n readonly styleStorageKey?: string | null;\n}\n\nexport interface ResolvedMaterialThemeConfig {\n readonly defaultMode: ColorScheme;\n readonly defaultBrand: ThemeBrand | null;\n readonly defaultColor: ThemeColor;\n readonly defaultStyle: ThemeStyle;\n readonly modeStorageKey: string | null;\n readonly brandStorageKey: string | null;\n readonly colorStorageKey: string | null;\n readonly styleStorageKey: string | null;\n}\n\nexport const MATERIAL_THEME_CONFIG = new InjectionToken<MaterialThemeConfig>('MATERIAL_THEME_CONFIG');\n\nexport const DEFAULT_MATERIAL_THEME_CONFIG: ResolvedMaterialThemeConfig = {\n defaultMode: 'light',\n defaultBrand: null,\n defaultColor: 'base',\n defaultStyle: 'default',\n modeStorageKey: 'theme-mode',\n brandStorageKey: 'theme-brand',\n colorStorageKey: 'theme-color',\n styleStorageKey: 'theme-style',\n};\n\nexport function isColorScheme(value: string | null | undefined): value is ColorScheme {\n return COLOR_SCHEMES.some((scheme) => scheme === value);\n}\n\nexport function isThemeColor(value: string | null | undefined): value is ThemeColor {\n return COLORS.some((color) => color === value);\n}\n\nexport function isThemeStyle(value: string | null | undefined): value is ThemeStyle {\n return STYLES.some((style) => style === value);\n}\n\nexport function isThemeBrand(value: string | null | undefined): value is ThemeBrand {\n return BRANDS.some((brand) => brand === value);\n}\n","import { DOCUMENT } from '@angular/common';\nimport { DestroyRef, Injectable, computed, effect, inject, signal } from '@angular/core';\nimport {\n DEFAULT_MATERIAL_THEME_CONFIG,\n MATERIAL_THEME_CONFIG,\n type ColorScheme,\n type ResolvedMaterialThemeConfig,\n type ThemeBrand,\n type ThemeColor,\n type ThemeConfig,\n type ThemeMode,\n type ThemeStyle,\n isColorScheme,\n isThemeBrand,\n isThemeColor,\n isThemeStyle,\n} from '@edsis/angular/theme/token';\n\n@Injectable({ providedIn: 'root' })\nexport class ThemeService {\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly config = this.resolveConfig();\n private readonly initialBrand = this.readPersistedBrand() ?? this.config.defaultBrand;\n\n private readonly _modePreference = signal<ColorScheme>(this.readPersistedMode() ?? this.config.defaultMode);\n private readonly _brand = signal<ThemeBrand | null>(this.initialBrand);\n private readonly _color = signal<ThemeColor>(\n this.initialBrand ? this.config.defaultColor : (this.readPersistedColor() ?? this.config.defaultColor),\n );\n private readonly _style = signal<ThemeStyle>(\n this.initialBrand ? this.config.defaultStyle : (this.readPersistedStyle() ?? this.config.defaultStyle),\n );\n private readonly _systemPrefersDark = signal<boolean>(this.prefersDark());\n\n readonly scheme = this._modePreference.asReadonly();\n readonly brand = this._brand.asReadonly();\n readonly color = this._color.asReadonly();\n readonly theme = this._color.asReadonly();\n readonly style = this._style.asReadonly();\n readonly mode = computed<ThemeMode>(() => this.resolveMode(this._modePreference()));\n readonly snapshot = computed<ThemeConfig>(() => ({\n mode: this.mode(),\n brand: this._brand(),\n color: this._color(),\n style: this._style(),\n }));\n\n readonly isDark = computed(() => this.mode() === 'dark');\n\n constructor() {\n this.watchSystemScheme();\n\n effect(() => {\n const root = this.document.documentElement;\n const mode = this.mode();\n const brand = this._brand();\n const color = this._color();\n const style = this._style();\n\n root.dataset['mode'] = mode;\n root.dataset['theme'] = brand ?? color;\n root.classList.toggle('dark', mode === 'dark');\n\n this.persistMode(this._modePreference());\n\n if (brand) {\n root.setAttribute('theme-brand', brand);\n root.removeAttribute('theme-color');\n root.removeAttribute('theme-style');\n delete root.dataset['color'];\n delete root.dataset['style'];\n\n this.persistBrand(brand);\n this.clearPersistedColor();\n this.clearPersistedStyle();\n return;\n }\n\n root.removeAttribute('theme-brand');\n root.setAttribute('theme-color', color);\n root.setAttribute('theme-style', style);\n root.dataset['color'] = color;\n root.dataset['style'] = style;\n\n this.clearPersistedBrand();\n this.persistColor(color);\n this.persistStyle(style);\n });\n }\n\n setMode(mode: ThemeMode): void {\n this._modePreference.set(mode);\n }\n\n setScheme(scheme: ColorScheme): void {\n this._modePreference.set(scheme);\n }\n\n setBrand(brand: ThemeBrand | null): void {\n this._brand.set(brand);\n this._color.set(this.config.defaultColor);\n this._style.set(this.config.defaultStyle);\n }\n\n setColor(color: ThemeColor): void {\n if (this._brand()) {\n this._brand.set(null);\n }\n this._color.set(color);\n }\n\n setTheme(theme: ThemeColor | string): void {\n if (isThemeColor(theme)) {\n this.setColor(theme);\n }\n }\n\n setStyle(style: ThemeStyle): void {\n if (this._brand()) {\n this._brand.set(null);\n }\n this._style.set(style);\n }\n\n setAll(config: Partial<ThemeConfig> & { readonly scheme?: ColorScheme }): void {\n if (config.scheme) {\n this.setScheme(config.scheme);\n }\n if (config.mode) {\n this.setMode(config.mode);\n }\n if (config.brand !== undefined) {\n this.setBrand(config.brand);\n }\n if (config.brand === undefined || config.brand === null) {\n if (config.color) {\n this.setColor(config.color);\n }\n if (config.style) {\n this.setStyle(config.style);\n }\n }\n }\n\n toggleScheme(): void {\n this.toggleMode();\n }\n\n toggleMode(): void {\n this.setMode(this.mode() === 'dark' ? 'light' : 'dark');\n }\n\n reset(): void {\n this._modePreference.set(this.config.defaultMode);\n this._brand.set(this.config.defaultBrand);\n this._color.set(this.config.defaultColor);\n this._style.set(this.config.defaultStyle);\n }\n\n private resolveConfig(): ResolvedMaterialThemeConfig {\n const config = inject(MATERIAL_THEME_CONFIG, { optional: true }) ?? {};\n const configuredMode = config.mode ?? config.defaultMode ?? config.defaultScheme;\n const configuredBrand = config.brand ?? config['theme-brand'] ?? config.defaultBrand;\n const configuredColor = config.color ?? config.defaultColor ?? config.defaultTheme;\n const configuredStyle = config.style ?? config.defaultStyle;\n\n const defaultMode = isColorScheme(configuredMode) ? configuredMode : DEFAULT_MATERIAL_THEME_CONFIG.defaultMode;\n const defaultBrand = isThemeBrand(configuredBrand) ? configuredBrand : DEFAULT_MATERIAL_THEME_CONFIG.defaultBrand;\n const defaultColor = isThemeColor(configuredColor) ? configuredColor : DEFAULT_MATERIAL_THEME_CONFIG.defaultColor;\n const defaultStyle = isThemeStyle(configuredStyle) ? configuredStyle : DEFAULT_MATERIAL_THEME_CONFIG.defaultStyle;\n\n return {\n defaultMode,\n defaultBrand,\n defaultColor,\n defaultStyle,\n modeStorageKey:\n config.modeStorageKey ??\n config.schemeStorageKey ??\n config.storageKey ??\n DEFAULT_MATERIAL_THEME_CONFIG.modeStorageKey,\n brandStorageKey: config.brandStorageKey ?? DEFAULT_MATERIAL_THEME_CONFIG.brandStorageKey,\n colorStorageKey:\n config.colorStorageKey ?? config.themeStorageKey ?? DEFAULT_MATERIAL_THEME_CONFIG.colorStorageKey,\n styleStorageKey: config.styleStorageKey ?? DEFAULT_MATERIAL_THEME_CONFIG.styleStorageKey,\n };\n }\n\n private resolveMode(mode: ColorScheme): ThemeMode {\n return mode === 'system' ? (this._systemPrefersDark() ? 'dark' : 'light') : mode;\n }\n\n private prefersDark(): boolean {\n const mql = this.document.defaultView?.matchMedia?.('(prefers-color-scheme: dark)');\n return !!mql?.matches;\n }\n\n private watchSystemScheme(): void {\n const mql = this.document.defaultView?.matchMedia?.('(prefers-color-scheme: dark)');\n if (!mql) return;\n\n const listener = (event: MediaQueryListEvent): void => {\n this._systemPrefersDark.set(event.matches);\n };\n mql.addEventListener('change', listener);\n this.destroyRef.onDestroy(() => mql.removeEventListener('change', listener));\n }\n\n private readPersistedMode(): ColorScheme | null {\n const key = this.config.modeStorageKey;\n if (!key) return null;\n try {\n const value = this.document.defaultView?.localStorage?.getItem(key);\n return isColorScheme(value) ? value : null;\n } catch {\n return null;\n }\n }\n\n private readPersistedBrand(): ThemeBrand | null {\n const key = this.config.brandStorageKey;\n if (!key) return null;\n try {\n const value = this.document.defaultView?.localStorage?.getItem(key);\n return isThemeBrand(value) ? value : null;\n } catch {\n return null;\n }\n }\n\n private readPersistedColor(): ThemeColor | null {\n const key = this.config.colorStorageKey;\n if (!key) return null;\n try {\n const value = this.document.defaultView?.localStorage?.getItem(key);\n return isThemeColor(value) ? value : null;\n } catch {\n return null;\n }\n }\n\n private readPersistedStyle(): ThemeStyle | null {\n const key = this.config.styleStorageKey;\n if (!key) return null;\n try {\n const value = this.document.defaultView?.localStorage?.getItem(key);\n return isThemeStyle(value) ? value : null;\n } catch {\n return null;\n }\n }\n\n private persistMode(mode: ColorScheme): void {\n const key = this.config.modeStorageKey;\n if (!key) return;\n try {\n this.document.defaultView?.localStorage?.setItem(key, mode);\n } catch {\n /* ignore */\n }\n }\n\n private persistBrand(brand: ThemeBrand): void {\n const key = this.config.brandStorageKey;\n if (!key) return;\n try {\n this.document.defaultView?.localStorage?.setItem(key, brand);\n } catch {\n /* ignore */\n }\n }\n\n private persistColor(color: ThemeColor): void {\n const key = this.config.colorStorageKey;\n if (!key) return;\n try {\n this.document.defaultView?.localStorage?.setItem(key, color);\n } catch {\n /* ignore */\n }\n }\n\n private persistStyle(style: ThemeStyle): void {\n const key = this.config.styleStorageKey;\n if (!key) return;\n try {\n this.document.defaultView?.localStorage?.setItem(key, style);\n } catch {\n /* ignore */\n }\n }\n\n private clearPersistedBrand(): void {\n this.clearPersistedItem(this.config.brandStorageKey);\n }\n\n private clearPersistedColor(): void {\n this.clearPersistedItem(this.config.colorStorageKey);\n }\n\n private clearPersistedStyle(): void {\n this.clearPersistedItem(this.config.styleStorageKey);\n }\n\n private clearPersistedItem(key: string | null): void {\n if (!key) return;\n try {\n this.document.defaultView?.localStorage?.removeItem(key);\n } catch {\n /* ignore */\n }\n }\n}\n","import {\n inject,\n type EnvironmentProviders,\n type Provider,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { THEME_PANEL_THEME_PORT } from '@edsis/angular/layout/component';\nimport { ThemeService } from '@edsis/angular/theme/services';\nimport { MATERIAL_THEME_CONFIG, type MaterialThemeConfig } from '@edsis/angular/theme/token';\nimport { MAT_RIPPLE_GLOBAL_OPTIONS } from '@angular/material/core';\nimport { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';\n\nexport interface MaterialThemeFeature {\n readonly providers: Provider[];\n}\n\nexport function provideMaterialTheme(\n config: MaterialThemeConfig = {},\n ...features: MaterialThemeFeature[]\n): EnvironmentProviders {\n return makeEnvironmentProviders([\n { provide: MATERIAL_THEME_CONFIG, useValue: config },\n { provide: THEME_PANEL_THEME_PORT, useExisting: ThemeService },\n provideEnvironmentInitializer(() => {\n inject(ThemeService);\n }),\n ...features.flatMap((feature) => feature.providers),\n ]);\n}\n\nexport function withMaterialDefaults(): MaterialThemeFeature {\n return {\n providers: [\n { provide: MAT_RIPPLE_GLOBAL_OPTIONS, useValue: { disabled: true } },\n {\n provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,\n useValue: { appearance: 'outline', subscriptSizing: 'dynamic' },\n },\n ],\n };\n}\n","/*\n * Public API Surface of @edsis/angular/theme\n *\n * Aggregate barrel for the shared theme runtime plus the stable CSS asset\n * surface used by every `@edsis/angular/*` subpath.\n *\n * Runtime usage:\n * // app.config.ts\n * import { provideMaterialTheme } from '@edsis/angular/theme';\n *\n * Deep runtime imports:\n * import { ThemeService } from '@edsis/angular/theme/services';\n * import { provideMaterialTheme } from '@edsis/angular/theme/provider';\n * import { MATERIAL_THEME_CONFIG } from '@edsis/angular/theme/token';\n *\n * CSS usage:\n * // styles.css\n * @import '@edsis/angular/theme/styles';\n * @import 'tailwindcss';\n * @import '@edsis/angular/theme/tailwind/theme.css';\n */\n\nexport * from './token/public-api';\nexport * from './services/public-api';\nexport * from './provider/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["isThemeColor","MATERIAL_THEME_CONFIG","isColorScheme","DEFAULT_MATERIAL_THEME_CONFIG","isThemeBrand","isThemeStyle","ThemeService"],"mappings":";;;;;;;;;MAEa,KAAK,GAAG,CAAC,OAAO,EAAE,MAAM;AAI9B,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ;AAIhD,MAAM,MAAM,GAAG;IACpB,MAAM;IACN,KAAK;IACL,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAA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YACjC,MAAM,CAACA,cAAY,CAAC;AACtB,QAAA,CAAC,CAAC;AACF,QAAA,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,SAAS,CAAC;AACpD,KAAA,CAAC;AACJ;SAEgB,oBAAoB,GAAA;IAClC,OAAO;AACL,QAAA,SAAS,EAAE;YACT,EAAE,OAAO,EAAE,yBAAyB,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE;AACpE,YAAA;AACE,gBAAA,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE;AAChE,aAAA;AACF,SAAA;KACF;AACH;;ACzCA;;;;;;;;;;;;;;;;;;;;AAoBG;;ACpBH;;AAEG;;;;"}
@@ -1,22 +0,0 @@
1
- /*
2
- * Public API Surface of @edsis/angular (primary entry)
3
- *
4
- * Components and utilities are shipped via subpath entries:
5
- * - `@edsis/angular/theme` and `@edsis/angular/theme/{services,provider,token}` — theme runtime, design tokens, and provider helpers
6
- * - `@edsis/angular/component/<slug>` — shadcn/ui primitives and utilities shipped only as granular entrypoints
7
- * - `@edsis/angular/layout` and `@edsis/angular/layout/<part>` — layout primitives, state, and shells
8
- * - `@edsis/angular/navigation/<part>` — granular navigation primitives such as `types`, `service`, `sidebar`, `topbar`, `item`, `icon`, and `demo-data`
9
- * - `@edsis/angular/component/chart` — shared chart primitives
10
- * - `@edsis/angular/component/chart/<type>` — chart implementations
11
- * - `@edsis/angular/generator/api` — OpenAPI → Angular SDK generator (schematics + config types)
12
- *
13
- * Consumers should import from the smallest subpath that fits their use case.
14
- */
15
- const MATERIAL_VERSION = '0.0.1';
16
-
17
- /**
18
- * Generated bundle index. Do not edit.
19
- */
20
-
21
- export { MATERIAL_VERSION };
22
- //# sourceMappingURL=ojiepermana-angular.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ojiepermana-angular.mjs","sources":["../../../projects/angular/public-api.ts","../../../projects/angular/ojiepermana-angular.ts"],"sourcesContent":["/*\n * Public API Surface of @edsis/angular (primary entry)\n *\n * Components and utilities are shipped via subpath entries:\n * - `@edsis/angular/theme` and `@edsis/angular/theme/{services,provider,token}` — theme runtime, design tokens, and provider helpers\n * - `@edsis/angular/component/<slug>` — shadcn/ui primitives and utilities shipped only as granular entrypoints\n * - `@edsis/angular/layout` and `@edsis/angular/layout/<part>` — layout primitives, state, and shells\n * - `@edsis/angular/navigation/<part>` — granular navigation primitives such as `types`, `service`, `sidebar`, `topbar`, `item`, `icon`, and `demo-data`\n * - `@edsis/angular/component/chart` — shared chart primitives\n * - `@edsis/angular/component/chart/<type>` — chart implementations\n * - `@edsis/angular/generator/api` — OpenAPI → Angular SDK generator (schematics + config types)\n *\n * Consumers should import from the smallest subpath that fits their use case.\n */\n\nexport const MATERIAL_VERSION = '0.0.1';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;AAaG;AAEI,MAAM,gBAAgB,GAAG;;ACfhC;;AAEG;;;;"}