@cedx/base 0.33.0 → 0.35.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 (52) hide show
  1. package/lib/Date.d.ts.map +1 -1
  2. package/lib/DateRange.d.ts +4 -0
  3. package/lib/DateRange.d.ts.map +1 -1
  4. package/lib/DateRange.js +6 -0
  5. package/lib/File.d.ts.map +1 -1
  6. package/lib/Number.d.ts.map +1 -1
  7. package/lib/String.d.ts.map +1 -1
  8. package/lib/TimeSpan.d.ts.map +1 -1
  9. package/lib/UI/AppTheme.d.ts +2 -2
  10. package/lib/UI/AppTheme.d.ts.map +1 -1
  11. package/lib/UI/AppTheme.js +2 -2
  12. package/lib/UI/Components/DialogBox.d.ts +1 -1
  13. package/lib/UI/Components/DialogBox.d.ts.map +1 -1
  14. package/lib/UI/Components/DialogBox.js +4 -4
  15. package/lib/UI/Components/ThemeDropdown.d.ts.map +1 -1
  16. package/lib/UI/Components/ThemeDropdown.js +2 -2
  17. package/lib/UI/Components/Toast.js +6 -6
  18. package/lib/UI/Components/Toaster.d.ts.map +1 -1
  19. package/lib/UI/Components/Toaster.js +3 -3
  20. package/lib/UI/Context.d.ts +6 -6
  21. package/lib/UI/Context.d.ts.map +1 -1
  22. package/lib/UI/Context.js +9 -9
  23. package/lib/UI/Position.d.ts +1 -1
  24. package/lib/UI/Position.d.ts.map +1 -1
  25. package/lib/UI/Position.js +1 -1
  26. package/lib/UI/Size.d.ts +1 -1
  27. package/lib/UI/Size.d.ts.map +1 -1
  28. package/lib/UI/Size.js +1 -1
  29. package/lib/UI/Variant.d.ts +1 -1
  30. package/lib/UI/Variant.d.ts.map +1 -1
  31. package/lib/UI/Variant.js +1 -1
  32. package/package.json +9 -9
  33. package/src/Client/Client.esproj +7 -0
  34. package/src/Client/{Base/DateRange.ts → DateRange.ts} +7 -0
  35. package/src/Client/UI/AppTheme.ts +2 -2
  36. package/src/Client/UI/Components/DialogBox.ts +5 -5
  37. package/src/Client/UI/Components/ThemeDropdown.ts +2 -2
  38. package/src/Client/UI/Components/Toast.ts +6 -6
  39. package/src/Client/UI/Components/Toaster.ts +3 -3
  40. package/src/Client/UI/Context.ts +10 -10
  41. package/src/Client/UI/Position.ts +1 -1
  42. package/src/Client/UI/Size.ts +1 -1
  43. package/src/Client/UI/Variant.ts +1 -1
  44. package/src/Client/tsconfig.json +18 -6
  45. package/src/Client/Base/tsconfig.json +0 -13
  46. package/src/Client/Data/tsconfig.json +0 -13
  47. package/src/Client/UI/tsconfig.json +0 -13
  48. /package/src/Client/{Base/Date.ts → Date.ts} +0 -0
  49. /package/src/Client/{Base/File.ts → File.ts} +0 -0
  50. /package/src/Client/{Base/Number.ts → Number.ts} +0 -0
  51. /package/src/Client/{Base/String.ts → String.ts} +0 -0
  52. /package/src/Client/{Base/TimeSpan.ts → TimeSpan.ts} +0 -0
package/lib/Date.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Date.d.ts","sourceRoot":"","sources":["../src/Client/Base/Date.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAE3C;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE9C;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAc1C;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,CAqB9C;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAIhD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAG9C;AAED;;;;GAIG;AACH,wBAAgB,SA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CAGhD;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAI5B;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE5C;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,GAAE;IAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAM,GAAG,MAAM,CAM7H"}
@@ -54,6 +54,10 @@ export declare class DateRange {
54
54
  * @param type The range type.
55
55
  */
56
56
  constructor(start: Date, end: Date, type?: DateRangeType);
57
+ /**
58
+ * The label corresponding to this date range.
59
+ */
60
+ get label(): string;
57
61
  /**
58
62
  * Creates a new date range from the specified JSON object.
59
63
  * @param json A JSON object representing a date range.
@@ -1 +1 @@
1
- {"version":3,"file":"DateRange.d.ts","sourceRoot":"","sources":["../src/Client/Base/DateRange.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,aAAa;IAEzB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE7E;;GAEG;AACH,qBAAa,SAAS;IAErB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAE7B;;;;;OAKG;gBACS,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,GAAE,aAAoC;IAM9E;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CA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;OAIG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS;IAQrD;;;;OAIG;IACH,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS;IAIjC;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS;IAQnC;;;;OAIG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS;IAUrC;;;;OAIG;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS;IAOlC;;;;OAIG;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS;IAIlC;;;;OAIG;IACH,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO;IAIjC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,GAAE,IAAI,CAAC,MAAM,GAAC,MAA2B,GAAG,MAAM;CAWlE"}
package/lib/DateRange.js CHANGED
@@ -56,6 +56,12 @@ export class DateRange {
56
56
  this.end = end;
57
57
  this.type = type;
58
58
  }
59
+ /**
60
+ * The label corresponding to this date range.
61
+ */
62
+ get label() {
63
+ return this.getLabel();
64
+ }
59
65
  /**
60
66
  * Creates a new date range from the specified JSON object.
61
67
  * @param json A JSON object representing a date range.
package/lib/File.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../src/Client/Base/File.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAUzC;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,GAAE;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAM,GAAG,IAAI,CAkBvE;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAatC;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAOlD"}
1
+ {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../src/Client/File.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAUzC;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,GAAE;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAM,GAAG,IAAI,CAkBvE;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAatC;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAOlD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../src/Client/Base/Number.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,SAAI,GAAG,MAAM,CAG1D"}
1
+ {"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../src/Client/Number.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,SAAI,GAAG,MAAM,CAG1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"String.d.ts","sourceRoot":"","sources":["../src/Client/Base/String.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,IAAI,CAAC,MAAM,GAAC,MAA2B,GAAG,MAAM,CAElG;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAM,GAAG,MAAM,CAElF;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,SAAI,GAAG,MAAM,EAAE,CAE9D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,SAAQ,GAAG,MAAM,CAEhF"}
1
+ {"version":3,"file":"String.d.ts","sourceRoot":"","sources":["../src/Client/String.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,IAAI,CAAC,MAAM,GAAC,MAA2B,GAAG,MAAM,CAElG;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAM,GAAG,MAAM,CAElF;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,SAAI,GAAG,MAAM,EAAE,CAE9D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,SAAQ,GAAG,MAAM,CAEhF"}
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSpan.d.ts","sourceRoot":"","sources":["../src/Client/Base/TimeSpan.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ;IAEpB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC"}
1
+ {"version":3,"file":"TimeSpan.d.ts","sourceRoot":"","sources":["../src/Client/TimeSpan.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ;IAEpB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC"}
@@ -24,11 +24,11 @@ export type AppTheme = typeof AppTheme[keyof typeof AppTheme];
24
24
  * @param theme The application theme.
25
25
  * @returns The icon corresponding to the specified theme.
26
26
  */
27
- export declare function getIcon(theme: AppTheme): string;
27
+ export declare function icon(theme: AppTheme): string;
28
28
  /**
29
29
  * Gets the label corresponding to the specified theme.
30
30
  * @param theme The application theme.
31
31
  * @returns The label corresponding to the specified theme.
32
32
  */
33
- export declare function getLabel(theme: AppTheme): string;
33
+ export declare function label(theme: AppTheme): string;
34
34
  //# sourceMappingURL=AppTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppTheme.d.ts","sourceRoot":"","sources":["../../src/Client/UI/AppTheme.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ;IAEpB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAE9D;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAM/C;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAMhD"}
1
+ {"version":3,"file":"AppTheme.d.ts","sourceRoot":"","sources":["../../src/Client/UI/AppTheme.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ;IAEpB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAE9D;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAM5C;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAM7C"}
@@ -20,7 +20,7 @@ export const AppTheme = Object.freeze({
20
20
  * @param theme The application theme.
21
21
  * @returns The icon corresponding to the specified theme.
22
22
  */
23
- export function getIcon(theme) {
23
+ export function icon(theme) {
24
24
  switch (theme) {
25
25
  case AppTheme.Dark: return "dark_mode";
26
26
  case AppTheme.Light: return "light_mode";
@@ -32,7 +32,7 @@ export function getIcon(theme) {
32
32
  * @param theme The application theme.
33
33
  * @returns The label corresponding to the specified theme.
34
34
  */
35
- export function getLabel(theme) {
35
+ export function label(theme) {
36
36
  switch (theme) {
37
37
  case AppTheme.Dark: return "Sombre";
38
38
  case AppTheme.Light: return "Clair";
@@ -19,7 +19,7 @@ export interface IDialogButton {
19
19
  /**
20
20
  * A tone variant.
21
21
  */
22
- variant?: Context | Variant;
22
+ variant?: Variant;
23
23
  }
24
24
  /**
25
25
  * Represents a message to display in a dialog box.
@@ -1 +1 @@
1
- {"version":3,"file":"DialogBox.d.ts","sourceRoot":"","sources":["../../../src/Client/UI/Components/DialogBox.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,OAAO,EAA+B,MAAM,eAAe,CAAC;AAGzE,OAAO,EAAC,OAAO,EAAsB,MAAM,e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AE,QAAQ,EAAE,MAAM,GAAC,IAAI,GAAG,IAAI;IAW/F;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,OAAO,GAAE,aAAa,EAAO,GAAG,OAAO,CAAC,MAAM,CAAC;IAoBnH;;;OAGG;IACH,KAAK,CAAC,MAAM,GAAE,MAA0B,GAAG,IAAI;IAK/C;;;;;;OAMG;IACH,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAOtF;;OAEG;IACH,iBAAiB,IAAI,IAAI;IAKzB;;OAEG;IACH,oBAAoB,IAAI,IAAI;IAI5B;;;;OAIG;IACH,IAAI,CAAC,OAAO,GAAE,cAAc,GAAC,IAAW,GAAG,OAAO,CAAC,MAAM,CAAC;CAgE1D;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,qBAAqB;QAC9B,YAAY,EAAE,SAAS,CAAC;KACxB;CACD"}
@@ -1,8 +1,8 @@
1
1
  import { Modal } from "bootstrap";
2
- import { toCss as contextCss, getIcon } from "../Context.js";
2
+ import { cssClass as contextCssClass, icon as contextIcon } from "../Context.js";
3
3
  import { DialogResult } from "../DialogResult.js";
4
4
  import { html } from "../Tag.js";
5
- import { Variant, toCss as variantCss } from "../Variant.js";
5
+ import { Variant, cssClass as variantCssClass } from "../Variant.js";
6
6
  /**
7
7
  * Displays a dialog box, which presents a message to the user.
8
8
  */
@@ -153,13 +153,13 @@ export class DialogBox extends HTMLElement {
153
153
  caption,
154
154
  body: html `
155
155
  <div class="d-flex gap-2">
156
- <i class="icon icon-fill fs-1 text-${contextCss(context)}"> ${getIcon(context)}</i>
156
+ <i class="icon icon-fill fs-1 text-${contextCssClass(context)}"> ${contextIcon(context)}</i>
157
157
  <div class="flex-grow-1">${message}</div>
158
158
  </div>
159
159
  `,
160
160
  footer: html `
161
161
  ${(buttons.length ? buttons : [{ label: "OK", value: DialogResult.OK, variant: Variant.Primary }]).map(button => html `
162
- <button class="btn btn-${variantCss(button.variant ?? Variant.Primary)}" type="button" value="${button.value ?? DialogResult.None}">
162
+ <button class="btn btn-${variantCssClass(button.variant ?? Variant.Primary)}" type="button" value="${button.value ?? DialogResult.None}">
163
163
  ${button.icon ? html `<i class="icon ${button.label ? "me-1" : ""}">${button.icon}</i>` : ""}
164
164
  ${button.label}
165
165
  </button>
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeDropdown.d.ts","sourceRoot":"","sources":["../../../src/Client/UI/Components/ThemeDropdown.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAU,MAAM,gBAAgB,CAAC;AAEjD;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;;IAE7C;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,kBAAkB,WAAsC;IAiBxE;;OAEG;;IAaH;;OAEG;IACH,IAAI,SAAS,IAAI,SAAS,CAGzB;IACD,IAAI,SAAS,CAAC,KAAK,EAAE,SAAS,EAE7B;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,QAAQ,CAGvB;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAE3B;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,OAAO,EAExB;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IACD,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAE7B;IAED;;OAEG;IACH,IAAI,KAAK,IAAI,MAAM,CAGlB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAEtB;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,CAGvB;IACD,IAAI,UAAU,CAAC,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AAI,KAAK,IAAI,MAAM,CAGlB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAEtB;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,CAGvB;IACD,IAAI,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3B;IAED;;;;;OAKG;IACH,wBAAwB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAC,IAAI,GAAG,IAAI;IAS/F;;OAEG;IACH,KAAK,IAAI,IAAI;IAIb;;;OAGG;IACG,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAYxC;;OAEG;IACH,oBAAoB,IAAI,IAAI;IAK5B;;OAEG;IACH,IAAI,IAAI,IAAI;IAIZ;;OAEG;IACH,IAAI,IAAI,IAAI;CAwDZ;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,aAAa,CAAC;KAChC;CACD"}
@@ -1,6 +1,6 @@
1
1
  import { Dropdown } from "bootstrap";
2
2
  import { Alignment } from "../Alignment.js";
3
- import { AppTheme, getIcon } from "../AppTheme.js";
3
+ import { AppTheme, icon } from "../AppTheme.js";
4
4
  /**
5
5
  * A dropdown menu for switching the application theme.
6
6
  */
@@ -192,7 +192,7 @@ export class ThemeDropdown extends HTMLElement {
192
192
  * @param value The new value.
193
193
  */
194
194
  #updateAppTheme(value) {
195
- this.querySelector(".dropdown-toggle > .icon").textContent = getIcon(value);
195
+ this.querySelector(".dropdown-toggle > .icon").textContent = icon(value);
196
196
  this.querySelector(`.dropdown-menu button[value="${value}"]`).appendChild(this.querySelector(".dropdown-item > .icon"));
197
197
  this.#applyToDocument();
198
198
  }
@@ -1,5 +1,5 @@
1
1
  import { Toast as BootstrapToast } from "bootstrap";
2
- import { Context, getIcon, toCss } from "../Context.js";
2
+ import { Context, cssClass, icon } from "../Context.js";
3
3
  /**
4
4
  * Represents a notification.
5
5
  */
@@ -239,11 +239,11 @@ export class Toast extends HTMLElement {
239
239
  #updateContext(value) {
240
240
  const contexts = Object.values(Context);
241
241
  let { classList } = this.querySelector(".toast-header");
242
- classList.remove(...contexts.map(context => `toast-header-${toCss(context)}`));
243
- classList.add(`toast-header-${toCss(value)}`);
242
+ classList.remove(...contexts.map(context => `toast-header-${cssClass(context)}`));
243
+ classList.add(`toast-header-${cssClass(value)}`);
244
244
  ({ classList } = this.querySelector(".toast-header .icon"));
245
- classList.remove(...contexts.map(context => `text-${toCss(context)}`));
246
- classList.add(`text-${toCss(value)}`);
245
+ classList.remove(...contexts.map(context => `text-${cssClass(context)}`));
246
+ classList.add(`text-${cssClass(value)}`);
247
247
  }
248
248
  /**
249
249
  * Updates the delay to hide the toast.
@@ -272,6 +272,6 @@ export class Toast extends HTMLElement {
272
272
  * @param value The new value.
273
273
  */
274
274
  #updateIcon(value) {
275
- this.querySelector(".toast-header .icon").textContent = (value ?? "").trim() || getIcon(this.context);
275
+ this.querySelector(".toast-header .icon").textContent = (value ?? "").trim() || icon(this.context);
276
276
  }
277
277
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Toaster.d.ts","sourceRoot":"","sources":["../../../src/Client/UI/Components/Toaster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,QAAQ,EAAQ,MAAM,gBAAgB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,MAAM;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,C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AED;;OAEG;IACH,IAAI,KAAK,IAAI,MAAM,CAGlB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAEtB;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,OAAO,CAElB;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,OAAO,EAEtB;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,GAAC,IAAI,CAGtB;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,GAAC,IAAI,EAG1B;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,QAAQ,CAGvB;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAE3B;IAED;;;;;OAKG;IACH,wBAAwB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAC,IAAI,GAAG,IAAI;IAO/F;;;;;OAKG;IACH,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI1E;;;OAGG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CA4BzB;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IAEd;;OAEG;IACH,UAAU,qBAAqB;QAC9B,mBAAmB,EAAE,OAAO,CAAC;KAC7B;CACD"}
@@ -1,5 +1,5 @@
1
1
  import { Context } from "../Context.js";
2
- import { Position, toCss } from "../Position.js";
2
+ import { Position, cssClass } from "../Position.js";
3
3
  /**
4
4
  * Manages the notifications.
5
5
  */
@@ -147,7 +147,7 @@ export class Toaster extends HTMLElement {
147
147
  */
148
148
  #updatePosition(value) {
149
149
  const { classList } = this.firstElementChild;
150
- classList.remove(...Object.values(Position).flatMap(position => toCss(position).split(" ")));
151
- classList.add(...toCss(value).split(" "));
150
+ classList.remove(...Object.values(Position).flatMap(position => cssClass(position).split(" ")));
151
+ classList.add(...cssClass(value).split(" "));
152
152
  }
153
153
  }
@@ -24,15 +24,15 @@ export declare const Context: Readonly<{
24
24
  */
25
25
  export type Context = typeof Context[keyof typeof Context];
26
26
  /**
27
- * Gets the icon corresponding to the specified context.
27
+ * Returns the CSS representation of the specified context.
28
28
  * @param context The context.
29
- * @returns The icon corresponding to the specified context.
29
+ * @returns The CSS representation of the specified context.
30
30
  */
31
- export declare function getIcon(context: Context): string;
31
+ export declare function cssClass(context: Context): string;
32
32
  /**
33
- * Returns the CSS representation of the specified context.
33
+ * Gets the icon corresponding to the specified context.
34
34
  * @param context The context.
35
- * @returns The CSS representation of the specified context.
35
+ * @returns The icon corresponding to the specified context.
36
36
  */
37
- export declare function toCss(context: Context): string;
37
+ export declare function icon(context: Context): string;
38
38
  //# sourceMappingURL=Context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Context.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,OAAO;IAEnB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE3D;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAOhD;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAE9C"}
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Context.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,OAAO;IAEnB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE3D;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEjD;AAED;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAO7C"}
package/lib/UI/Context.js CHANGED
@@ -19,12 +19,20 @@ export const Context = Object.freeze({
19
19
  */
20
20
  Success: "Success"
21
21
  });
22
+ /**
23
+ * Returns the CSS representation of the specified context.
24
+ * @param context The context.
25
+ * @returns The CSS representation of the specified context.
26
+ */
27
+ export function cssClass(context) {
28
+ return context.toLowerCase();
29
+ }
22
30
  /**
23
31
  * Gets the icon corresponding to the specified context.
24
32
  * @param context The context.
25
33
  * @returns The icon corresponding to the specified context.
26
34
  */
27
- export function getIcon(context) {
35
+ export function icon(context) {
28
36
  switch (context) {
29
37
  case Context.Danger: return "error";
30
38
  case Context.Success: return "check_circle";
@@ -32,11 +40,3 @@ export function getIcon(context) {
32
40
  default: return "info";
33
41
  }
34
42
  }
35
- /**
36
- * Returns the CSS representation of the specified context.
37
- * @param context The context.
38
- * @returns The CSS representation of the specified context.
39
- */
40
- export function toCss(context) {
41
- return context.toLowerCase();
42
- }
@@ -48,5 +48,5 @@ export type Position = typeof Position[keyof typeof Position];
48
48
  * @param position The position.
49
49
  * @returns The CSS representation of the specified position.
50
50
  */
51
- export declare function toCss(position: Position): string;
51
+ export declare function cssClass(position: Position): string;
52
52
  //# sourceMappingURL=Position.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Position.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ;IAEpB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAE9D;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAYhD"}
1
+ {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Position.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ;IAEpB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAE9D;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAYnD"}
@@ -44,7 +44,7 @@ export const Position = Object.freeze({
44
44
  * @param position The position.
45
45
  * @returns The CSS representation of the specified position.
46
46
  */
47
- export function toCss(position) {
47
+ export function cssClass(position) {
48
48
  switch (position) {
49
49
  case Position.TopCenter: return "top-0 start-50 translate-middle-x";
50
50
  case Position.TopEnd: return "top-0 end-0";
package/lib/UI/Size.d.ts CHANGED
@@ -36,5 +36,5 @@ export type Size = typeof Size[keyof typeof Size];
36
36
  * @param size The size.
37
37
  * @returns The CSS representation of the specified size.
38
38
  */
39
- export declare function toCss(size: Size): string;
39
+ export declare function cssClass(size: Size): string;
40
40
  //# sourceMappingURL=Size.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Size.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,IAAI;IAEhB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CASxC"}
1
+ {"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Size.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,IAAI;IAEhB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAS3C"}
package/lib/UI/Size.js CHANGED
@@ -32,7 +32,7 @@ export const Size = Object.freeze({
32
32
  * @param size The size.
33
33
  * @returns The CSS representation of the specified size.
34
34
  */
35
- export function toCss(size) {
35
+ export function cssClass(size) {
36
36
  switch (size) {
37
37
  case Size.ExtraSmall: return "xs";
38
38
  case Size.Small: return "sm";
@@ -32,5 +32,5 @@ export type Variant = typeof Variant[keyof typeof Variant];
32
32
  * @param variant The variant.
33
33
  * @returns The CSS representation of the specified variant.
34
34
  */
35
- export declare function toCss(variant: Variant): string;
35
+ export declare function cssClass(variant: Variant): string;
36
36
  //# sourceMappingURL=Variant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Variant.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Variant.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,OAAO;IAGnB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE3D;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAE9C"}
1
+ {"version":3,"file":"Variant.d.ts","sourceRoot":"","sources":["../../src/Client/UI/Variant.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,OAAO;IAGnB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;EAEF,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE3D;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEjD"}
package/lib/UI/Variant.js CHANGED
@@ -26,6 +26,6 @@ export const Variant = Object.freeze({
26
26
  * @param variant The variant.
27
27
  * @returns The CSS representation of the specified variant.
28
28
  */
29
- export function toCss(variant) {
29
+ export function cssClass(variant) {
30
30
  return variant.toLowerCase();
31
31
  }
package/package.json CHANGED
@@ -7,23 +7,23 @@
7
7
  "name": "@cedx/base",
8
8
  "repository": "cedx/base",
9
9
  "type": "module",
10
- "version": "0.33.0",
10
+ "version": "0.35.0",
11
11
  "devDependencies": {
12
- "@playwright/browser-firefox": "^1.56.1",
13
12
  "@types/bootstrap": "^5.2.10",
14
13
  "@types/chai": "^5.2.3",
15
14
  "@types/mocha": "^10.0.10",
16
- "@types/node": "^24.10.1",
15
+ "@types/node": "^25.0.6",
17
16
  "@types/serve-handler": "^6.1.4",
18
- "chai": "^6.2.1",
19
- "esbuild": "^0.27.0",
20
- "globals": "^16.5.0",
17
+ "chai": "^6.2.2",
18
+ "esbuild": "^0.27.2",
19
+ "globals": "^17.0.0",
21
20
  "mocha": "^11.7.5",
22
- "playwright": "^1.56.1",
21
+ "playwright": "^1.57.0",
22
+ "playwright-chromium": "^1.57.0",
23
23
  "serve-handler": "^6.1.6",
24
- "typedoc": "^0.28.14",
24
+ "typedoc": "^0.28.15",
25
25
  "typescript": "^5.9.3",
26
- "typescript-eslint": "^8.46.4"
26
+ "typescript-eslint": "^8.52.0"
27
27
  },
28
28
  "engines": {
29
29
  "node": ">=24.0.0"
@@ -0,0 +1,7 @@
1
+ <Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.4110890">
2
+ <PropertyGroup>
3
+ <PackageJsonDirectory>../../</PackageJsonDirectory>
4
+ <ShouldRunBuildScript>false</ShouldRunBuildScript>
5
+ <ShouldRunNpmInstall>false</ShouldRunNpmInstall>
6
+ </PropertyGroup>
7
+ </Project>
@@ -74,6 +74,13 @@ export class DateRange {
74
74
  this.type = type;
75
75
  }
76
76
 
77
+ /**
78
+ * The label corresponding to this date range.
79
+ */
80
+ get label(): string {
81
+ return this.getLabel();
82
+ }
83
+
77
84
  /**
78
85
  * Creates a new date range from the specified JSON object.
79
86
  * @param json A JSON object representing a date range.
@@ -29,7 +29,7 @@ export type AppTheme = typeof AppTheme[keyof typeof AppTheme];
29
29
  * @param theme The application theme.
30
30
  * @returns The icon corresponding to the specified theme.
31
31
  */
32
- export function getIcon(theme: AppTheme): string {
32
+ export function icon(theme: AppTheme): string {
33
33
  switch (theme) {
34
34
  case AppTheme.Dark: return "dark_mode";
35
35
  case AppTheme.Light: return "light_mode";
@@ -42,7 +42,7 @@ export function getIcon(theme: AppTheme): string {
42
42
  * @param theme The application theme.
43
43
  * @returns The label corresponding to the specified theme.
44
44
  */
45
- export function getLabel(theme: AppTheme): string {
45
+ export function label(theme: AppTheme): string {
46
46
  switch (theme) {
47
47
  case AppTheme.Dark: return "Sombre";
48
48
  case AppTheme.Light: return "Clair";
@@ -1,8 +1,8 @@
1
1
  import {Modal} from "bootstrap";
2
- import {type Context, toCss as contextCss, getIcon} from "../Context.js";
2
+ import {type Context, cssClass as contextCssClass, icon as contextIcon} from "../Context.js";
3
3
  import {DialogResult} from "../DialogResult.js";
4
4
  import {html} from "../Tag.js";
5
- import {Variant, toCss as variantCss} from "../Variant.js";
5
+ import {Variant, cssClass as variantCssClass} from "../Variant.js";
6
6
 
7
7
  /**
8
8
  * Represents a dialog box button.
@@ -27,7 +27,7 @@ export interface IDialogButton {
27
27
  /**
28
28
  * A tone variant.
29
29
  */
30
- variant?: Context|Variant;
30
+ variant?: Variant;
31
31
  }
32
32
 
33
33
  /**
@@ -206,13 +206,13 @@ export class DialogBox extends HTMLElement {
206
206
  caption,
207
207
  body: html`
208
208
  <div class="d-flex gap-2">
209
- <i class="icon icon-fill fs-1 text-${contextCss(context)}"> ${getIcon(context)}</i>
209
+ <i class="icon icon-fill fs-1 text-${contextCssClass(context)}"> ${contextIcon(context)}</i>
210
210
  <div class="flex-grow-1">${message}</div>
211
211
  </div>
212
212
  `,
213
213
  footer: html`
214
214
  ${(buttons.length ? buttons : [{label: "OK", value: DialogResult.OK, variant: Variant.Primary}]).map(button => html`
215
- <button class="btn btn-${variantCss(button.variant ?? Variant.Primary)}" type="button" value="${button.value ?? DialogResult.None}">
215
+ <button class="btn btn-${variantCssClass(button.variant ?? Variant.Primary)}" type="button" value="${button.value ?? DialogResult.None}">
216
216
  ${button.icon ? html`<i class="icon ${button.label ? "me-1" : ""}">${button.icon}</i>` : ""}
217
217
  ${button.label}
218
218
  </button>
@@ -1,6 +1,6 @@
1
1
  import {Dropdown} from "bootstrap";
2
2
  import {Alignment} from "../Alignment.js";
3
- import {AppTheme, getIcon} from "../AppTheme.js";
3
+ import {AppTheme, icon} from "../AppTheme.js";
4
4
 
5
5
  /**
6
6
  * A dropdown menu for switching the application theme.
@@ -206,7 +206,7 @@ export class ThemeDropdown extends HTMLElement {
206
206
  * @param value The new value.
207
207
  */
208
208
  #updateAppTheme(value: AppTheme): void {
209
- this.querySelector(".dropdown-toggle > .icon")!.textContent = getIcon(value);
209
+ this.querySelector(".dropdown-toggle > .icon")!.textContent = icon(value);
210
210
  this.querySelector(`.dropdown-menu button[value="${value}"]`)!.appendChild(this.querySelector(".dropdown-item > .icon")!);
211
211
  this.#applyToDocument();
212
212
  }
@@ -1,5 +1,5 @@
1
1
  import {Toast as BootstrapToast} from "bootstrap";
2
- import {Context, getIcon, toCss} from "../Context.js";
2
+ import {Context, cssClass, icon} from "../Context.js";
3
3
 
4
4
  /**
5
5
  * Represents a notification.
@@ -257,12 +257,12 @@ export class Toast extends HTMLElement {
257
257
  const contexts = Object.values(Context);
258
258
 
259
259
  let {classList} = this.querySelector(".toast-header")!;
260
- classList.remove(...contexts.map(context => `toast-header-${toCss(context)}`));
261
- classList.add(`toast-header-${toCss(value)}`);
260
+ classList.remove(...contexts.map(context => `toast-header-${cssClass(context)}`));
261
+ classList.add(`toast-header-${cssClass(value)}`);
262
262
 
263
263
  ({classList} = this.querySelector(".toast-header .icon")!);
264
- classList.remove(...contexts.map(context => `text-${toCss(context)}`));
265
- classList.add(`text-${toCss(value)}`);
264
+ classList.remove(...contexts.map(context => `text-${cssClass(context)}`));
265
+ classList.add(`text-${cssClass(value)}`);
266
266
  }
267
267
 
268
268
  /**
@@ -295,7 +295,7 @@ export class Toast extends HTMLElement {
295
295
  * @param value The new value.
296
296
  */
297
297
  #updateIcon(value: string|null): void {
298
- this.querySelector(".toast-header .icon")!.textContent = (value ?? "").trim() || getIcon(this.context);
298
+ this.querySelector(".toast-header .icon")!.textContent = (value ?? "").trim() || icon(this.context);
299
299
  }
300
300
  }
301
301
 
@@ -1,5 +1,5 @@
1
1
  import {Context} from "../Context.js";
2
- import {Position, toCss} from "../Position.js";
2
+ import {Position, cssClass} from "../Position.js";
3
3
 
4
4
  /**
5
5
  * Represents a notification.
@@ -205,8 +205,8 @@ export class Toaster extends HTMLElement {
205
205
  */
206
206
  #updatePosition(value: Position): void {
207
207
  const {classList} = this.firstElementChild!;
208
- classList.remove(...Object.values(Position).flatMap(position => toCss(position).split(" ")));
209
- classList.add(...toCss(value).split(" "));
208
+ classList.remove(...Object.values(Position).flatMap(position => cssClass(position).split(" ")));
209
+ classList.add(...cssClass(value).split(" "));
210
210
  }
211
211
  }
212
212
 
@@ -29,12 +29,21 @@ export const Context = Object.freeze({
29
29
  */
30
30
  export type Context = typeof Context[keyof typeof Context];
31
31
 
32
+ /**
33
+ * Returns the CSS representation of the specified context.
34
+ * @param context The context.
35
+ * @returns The CSS representation of the specified context.
36
+ */
37
+ export function cssClass(context: Context): string {
38
+ return context.toLowerCase();
39
+ }
40
+
32
41
  /**
33
42
  * Gets the icon corresponding to the specified context.
34
43
  * @param context The context.
35
44
  * @returns The icon corresponding to the specified context.
36
45
  */
37
- export function getIcon(context: Context): string {
46
+ export function icon(context: Context): string {
38
47
  switch (context) {
39
48
  case Context.Danger: return "error";
40
49
  case Context.Success: return "check_circle";
@@ -42,12 +51,3 @@ export function getIcon(context: Context): string {
42
51
  default: return "info";
43
52
  }
44
53
  }
45
-
46
- /**
47
- * Returns the CSS representation of the specified context.
48
- * @param context The context.
49
- * @returns The CSS representation of the specified context.
50
- */
51
- export function toCss(context: Context): string {
52
- return context.toLowerCase();
53
- }
@@ -59,7 +59,7 @@ export type Position = typeof Position[keyof typeof Position];
59
59
  * @param position The position.
60
60
  * @returns The CSS representation of the specified position.
61
61
  */
62
- export function toCss(position: Position): string {
62
+ export function cssClass(position: Position): string {
63
63
  switch (position) {
64
64
  case Position.TopCenter: return "top-0 start-50 translate-middle-x";
65
65
  case Position.TopEnd: return "top-0 end-0";
@@ -44,7 +44,7 @@ export type Size = typeof Size[keyof typeof Size];
44
44
  * @param size The size.
45
45
  * @returns The CSS representation of the specified size.
46
46
  */
47
- export function toCss(size: Size): string {
47
+ export function cssClass(size: Size): string {
48
48
  switch (size) {
49
49
  case Size.ExtraSmall: return "xs";
50
50
  case Size.Small: return "sm";
@@ -37,6 +37,6 @@ export type Variant = typeof Variant[keyof typeof Variant];
37
37
  * @param variant The variant.
38
38
  * @returns The CSS representation of the specified variant.
39
39
  */
40
- export function toCss(variant: Variant): string {
40
+ export function cssClass(variant: Variant): string {
41
41
  return variant.toLowerCase();
42
42
  }
@@ -1,8 +1,20 @@
1
1
  {
2
- "files": [],
3
- "references": [
4
- {"path": "Base/tsconfig.json"},
5
- {"path": "Data/tsconfig.json"},
6
- {"path": "UI/tsconfig.json"}
7
- ]
2
+ "include": ["**/*.ts"],
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "declarationMap": true,
6
+ "erasableSyntaxOnly": true,
7
+ "incremental": true,
8
+ "module": "NodeNext",
9
+ "noEmit": false,
10
+ "noImplicitOverride": true,
11
+ "outDir": "../../lib",
12
+ "resolveJsonModule": true,
13
+ "rootDir": ".",
14
+ "skipLibCheck": true,
15
+ "strict": true,
16
+ "target": "ESNext",
17
+ "tsBuildInfoFile": "../../var/tsbuildinfo.json",
18
+ "verbatimModuleSyntax": true
19
+ }
8
20
  }
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.json",
3
- "include": ["**/*.ts"],
4
- "compilerOptions": {
5
- "composite": true,
6
- "declaration": true,
7
- "declarationMap": true,
8
- "noEmit": false,
9
- "outDir": "../../../lib",
10
- "rootDir": ".",
11
- "tsBuildInfoFile": "../../../var/Base.tsbuildinfo"
12
- }
13
- }
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.json",
3
- "include": ["**/*.ts"],
4
- "compilerOptions": {
5
- "composite": true,
6
- "declaration": true,
7
- "declarationMap": true,
8
- "noEmit": false,
9
- "outDir": "../../../lib/Data",
10
- "rootDir": ".",
11
- "tsBuildInfoFile": "../../../var/Data.tsbuildinfo"
12
- }
13
- }
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.json",
3
- "include": ["**/*.ts"],
4
- "compilerOptions": {
5
- "composite": true,
6
- "declaration": true,
7
- "declarationMap": true,
8
- "noEmit": false,
9
- "outDir": "../../../lib/UI",
10
- "rootDir": ".",
11
- "tsBuildInfoFile": "../../../var/UI.tsbuildinfo"
12
- }
13
- }
File without changes
File without changes
File without changes
File without changes
File without changes