@logosphere-ui/angular 0.0.1-alpha.1

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 (71) hide show
  1. package/README.md +63 -0
  2. package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs +53 -0
  3. package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs.map +1 -0
  4. package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs +37 -0
  5. package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs.map +1 -0
  6. package/fesm2022/logosphere-ui-angular-src-lib-button.mjs +34 -0
  7. package/fesm2022/logosphere-ui-angular-src-lib-button.mjs.map +1 -0
  8. package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs +85 -0
  9. package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs.map +1 -0
  10. package/fesm2022/logosphere-ui-angular-src-lib-card.mjs +68 -0
  11. package/fesm2022/logosphere-ui-angular-src-lib-card.mjs.map +1 -0
  12. package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs +62 -0
  13. package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs.map +1 -0
  14. package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs +55 -0
  15. package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs.map +1 -0
  16. package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs +100 -0
  17. package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs.map +1 -0
  18. package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs +102 -0
  19. package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs.map +1 -0
  20. package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs +39 -0
  21. package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs.map +1 -0
  22. package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs +64 -0
  23. package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs.map +1 -0
  24. package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs +76 -0
  25. package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs.map +1 -0
  26. package/fesm2022/logosphere-ui-angular-src-lib-input.mjs +130 -0
  27. package/fesm2022/logosphere-ui-angular-src-lib-input.mjs.map +1 -0
  28. package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs +99 -0
  29. package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs.map +1 -0
  30. package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs +66 -0
  31. package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs.map +1 -0
  32. package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs +66 -0
  33. package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs.map +1 -0
  34. package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs +46 -0
  35. package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs.map +1 -0
  36. package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs +61 -0
  37. package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs.map +1 -0
  38. package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs +110 -0
  39. package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs.map +1 -0
  40. package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs +73 -0
  41. package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs.map +1 -0
  42. package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs +74 -0
  43. package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs.map +1 -0
  44. package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs +76 -0
  45. package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs.map +1 -0
  46. package/fesm2022/logosphere-ui-angular.mjs +1390 -0
  47. package/fesm2022/logosphere-ui-angular.mjs.map +1 -0
  48. package/package.json +112 -0
  49. package/types/logosphere-ui-angular-src-lib-badge.d.ts +15 -0
  50. package/types/logosphere-ui-angular-src-lib-breadcrumb.d.ts +17 -0
  51. package/types/logosphere-ui-angular-src-lib-button.d.ts +12 -0
  52. package/types/logosphere-ui-angular-src-lib-calendar.d.ts +30 -0
  53. package/types/logosphere-ui-angular-src-lib-card.d.ts +18 -0
  54. package/types/logosphere-ui-angular-src-lib-chatbot.d.ts +24 -0
  55. package/types/logosphere-ui-angular-src-lib-checkbox.d.ts +22 -0
  56. package/types/logosphere-ui-angular-src-lib-combobox.d.ts +35 -0
  57. package/types/logosphere-ui-angular-src-lib-datepicker.d.ts +36 -0
  58. package/types/logosphere-ui-angular-src-lib-download-manager.d.ts +11 -0
  59. package/types/logosphere-ui-angular-src-lib-drawer.d.ts +18 -0
  60. package/types/logosphere-ui-angular-src-lib-formfield.d.ts +20 -0
  61. package/types/logosphere-ui-angular-src-lib-input.d.ts +47 -0
  62. package/types/logosphere-ui-angular-src-lib-left-menu.d.ts +30 -0
  63. package/types/logosphere-ui-angular-src-lib-modal.d.ts +18 -0
  64. package/types/logosphere-ui-angular-src-lib-popover.d.ts +18 -0
  65. package/types/logosphere-ui-angular-src-lib-switch.d.ts +17 -0
  66. package/types/logosphere-ui-angular-src-lib-tab.d.ts +27 -0
  67. package/types/logosphere-ui-angular-src-lib-textarea.d.ts +38 -0
  68. package/types/logosphere-ui-angular-src-lib-timepicker.d.ts +24 -0
  69. package/types/logosphere-ui-angular-src-lib-toast.d.ts +27 -0
  70. package/types/logosphere-ui-angular-src-lib-tree-menu.d.ts +38 -0
  71. package/types/logosphere-ui-angular.d.ts +468 -0
@@ -0,0 +1,73 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
3
+ import '@logosphere-ui/core/timepicker';
4
+
5
+ class LogosphereTimePicker {
6
+ value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
7
+ label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
8
+ helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
9
+ error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
10
+ placeholder = input('__:__', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
11
+ required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
12
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
13
+ readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
14
+ size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
15
+ variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
16
+ change = output();
17
+ clear = output();
18
+ onChange(event) {
19
+ const e = event;
20
+ this.change.emit(e.detail);
21
+ }
22
+ onClear() {
23
+ this.clear.emit();
24
+ }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTimePicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
26
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTimePicker, isStandalone: true, selector: "lgs-timepicker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", clear: "clear" }, ngImport: i0, template: `
27
+ <logosphere-timepicker
28
+ [value]="value()"
29
+ [label]="label()"
30
+ [helper]="helper()"
31
+ [error]="error()"
32
+ [placeholder]="placeholder()"
33
+ [required]="required()"
34
+ [disabled]="disabled()"
35
+ [readonly]="readonly()"
36
+ [size]="size()"
37
+ [variant]="variant()"
38
+ (change)="onChange($event)"
39
+ (clear)="onClear()"
40
+ ></logosphere-timepicker>
41
+ `, isInline: true });
42
+ }
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTimePicker, decorators: [{
44
+ type: Component,
45
+ args: [{
46
+ selector: 'lgs-timepicker',
47
+ imports: [],
48
+ template: `
49
+ <logosphere-timepicker
50
+ [value]="value()"
51
+ [label]="label()"
52
+ [helper]="helper()"
53
+ [error]="error()"
54
+ [placeholder]="placeholder()"
55
+ [required]="required()"
56
+ [disabled]="disabled()"
57
+ [readonly]="readonly()"
58
+ [size]="size()"
59
+ [variant]="variant()"
60
+ (change)="onChange($event)"
61
+ (clear)="onClear()"
62
+ ></logosphere-timepicker>
63
+ `,
64
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
65
+ }]
66
+ }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
67
+
68
+ /**
69
+ * Generated bundle index. Do not edit.
70
+ */
71
+
72
+ export { LogosphereTimePicker };
73
+ //# sourceMappingURL=logosphere-ui-angular-src-lib-timepicker.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logosphere-ui-angular-src-lib-timepicker.mjs","sources":["../../projects/wrapper/src/lib/timepicker/timepicker.ts","../../projects/wrapper/src/lib/timepicker/logosphere-ui-angular-src-lib-timepicker.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/timepicker';\n\n@Component({\n selector: 'lgs-timepicker',\n imports: [],\n template: `\n <logosphere-timepicker\n [value]=\"value()\"\n [label]=\"label()\"\n [helper]=\"helper()\"\n [error]=\"error()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n (change)=\"onChange($event)\"\n (clear)=\"onClear()\"\n ></logosphere-timepicker>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTimePicker {\n value = input<string>('');\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n placeholder = input<string>('__:__');\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readonly = input<boolean>(false);\n size = input<'default' | 'large'>('default');\n variant = input<'default' | 'subtle'>('default');\n\n change = output<{ value: string }>();\n clear = output<void>();\n\n onChange(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.change.emit(e.detail);\n }\n\n onClear() {\n this.clear.emit();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAwBa,oBAAoB,CAAA;AAC/B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,KAAK,GAAG,KAAK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AA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAlBrB;;;;;;;;;;;;;;;AAeT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBArBhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;AAeT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACvBD;;AAEG;;;;"}
@@ -0,0 +1,74 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
3
+ import '@logosphere-ui/core/toast';
4
+
5
+ class LogosphereToast {
6
+ type = input('info', ...(ngDevMode ? [{ debugName: "type" }] : []));
7
+ toastTitle = input('', { ...(ngDevMode ? { debugName: "toastTitle" } : {}), alias: 'title' });
8
+ text = input('', ...(ngDevMode ? [{ debugName: "text" }] : []));
9
+ icon = input('', ...(ngDevMode ? [{ debugName: "icon" }] : []));
10
+ closeable = input(true, ...(ngDevMode ? [{ debugName: "closeable" }] : []));
11
+ duration = input(5000, ...(ngDevMode ? [{ debugName: "duration" }] : []));
12
+ autoDismiss = input(true, ...(ngDevMode ? [{ debugName: "autoDismiss" }] : []));
13
+ dismiss = output();
14
+ onDismiss() {
15
+ this.dismiss.emit();
16
+ }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereToast, isStandalone: true, selector: "lgs-toast", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, toastTitle: { classPropertyName: "toastTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, closeable: { classPropertyName: "closeable", publicName: "closeable", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null }, autoDismiss: { classPropertyName: "autoDismiss", publicName: "autoDismiss", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismiss: "dismiss" }, ngImport: i0, template: `
19
+ <logosphere-toast
20
+ [type]="type()"
21
+ [title]="toastTitle()"
22
+ [text]="text()"
23
+ [icon]="icon()"
24
+ [closeable]="closeable()"
25
+ [duration]="duration()"
26
+ [autoDismiss]="autoDismiss()"
27
+ (dismiss)="onDismiss()"
28
+ ></logosphere-toast>
29
+ `, isInline: true });
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToast, decorators: [{
32
+ type: Component,
33
+ args: [{
34
+ selector: 'lgs-toast',
35
+ imports: [],
36
+ template: `
37
+ <logosphere-toast
38
+ [type]="type()"
39
+ [title]="toastTitle()"
40
+ [text]="text()"
41
+ [icon]="icon()"
42
+ [closeable]="closeable()"
43
+ [duration]="duration()"
44
+ [autoDismiss]="autoDismiss()"
45
+ (dismiss)="onDismiss()"
46
+ ></logosphere-toast>
47
+ `,
48
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
49
+ }]
50
+ }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], toastTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], closeable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeable", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "duration", required: false }] }], autoDismiss: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoDismiss", required: false }] }], dismiss: [{ type: i0.Output, args: ["dismiss"] }] } });
51
+ class LogosphereToastContainer {
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToastContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
53
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.7", type: LogosphereToastContainer, isStandalone: true, selector: "lgs-toast-container", ngImport: i0, template: `
54
+ <logosphere-toast-container #el></logosphere-toast-container>
55
+ `, isInline: true });
56
+ }
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToastContainer, decorators: [{
58
+ type: Component,
59
+ args: [{
60
+ selector: 'lgs-toast-container',
61
+ imports: [],
62
+ template: `
63
+ <logosphere-toast-container #el></logosphere-toast-container>
64
+ `,
65
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
66
+ }]
67
+ }] });
68
+
69
+ /**
70
+ * Generated bundle index. Do not edit.
71
+ */
72
+
73
+ export { LogosphereToast, LogosphereToastContainer };
74
+ //# sourceMappingURL=logosphere-ui-angular-src-lib-toast.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logosphere-ui-angular-src-lib-toast.mjs","sources":["../../projects/wrapper/src/lib/toast/toast.ts","../../projects/wrapper/src/lib/toast/logosphere-ui-angular-src-lib-toast.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/toast';\n\nexport type ToastType = 'success' | 'danger' | 'warning' | 'info';\n\nexport type ToastActionConfig = {\n label: string;\n onClick: () => void;\n};\n\n@Component({\n selector: 'lgs-toast',\n imports: [],\n template: `\n <logosphere-toast\n [type]=\"type()\"\n [title]=\"toastTitle()\"\n [text]=\"text()\"\n [icon]=\"icon()\"\n [closeable]=\"closeable()\"\n [duration]=\"duration()\"\n [autoDismiss]=\"autoDismiss()\"\n (dismiss)=\"onDismiss()\"\n ></logosphere-toast>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereToast {\n type = input<ToastType>('info');\n toastTitle = input<string>('', { alias: 'title' });\n text = input<string>('');\n icon = input<string>('');\n closeable = input<boolean>(true);\n duration = input<number>(5000);\n autoDismiss = input<boolean>(true);\n\n dismiss = output<void>();\n\n onDismiss() {\n this.dismiss.emit();\n }\n}\n\n@Component({\n selector: 'lgs-toast-container',\n imports: [],\n template: `\n <logosphere-toast-container #el></logosphere-toast-container>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereToastContainer {\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA2Ba,eAAe,CAAA;AAC1B,IAAA,IAAI,GAAG,KAAK,CAAY,MAAM,gDAAC;IAC/B,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,EAAA,CAAG;AAClD,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;AACxB,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;AACxB,IAAA,SAAS,GAAG,KAAK,CAAU,IAAI,qDAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAS,IAAI,oDAAC;AAC9B,IAAA,WAAW,GAAG,KAAK,CAAU,IAAI,uDAAC;IAElC,OAAO,GAAG,MAAM,EAAQ;IAExB,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;IACrB;uGAbW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,S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 class LogosphereTreeMenu {
6
+ items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
7
+ expandedIds = input([], ...(ngDevMode ? [{ debugName: "expandedIds" }] : []));
8
+ expandOnLabelClick = input(true, ...(ngDevMode ? [{ debugName: "expandOnLabelClick" }] : []));
9
+ chevronPosition = input('left', ...(ngDevMode ? [{ debugName: "chevronPosition" }] : []));
10
+ showLabels = input(true, ...(ngDevMode ? [{ debugName: "showLabels" }] : []));
11
+ iconSize = input(16, ...(ngDevMode ? [{ debugName: "iconSize" }] : []));
12
+ toggle = output();
13
+ itemClick = output();
14
+ nodeClick = output();
15
+ set elRef(element) {
16
+ if (element) {
17
+ element.nativeElement.items = this.items();
18
+ element.nativeElement.expandedIds = this.expandedIds();
19
+ }
20
+ }
21
+ onToggle(event) {
22
+ const e = event;
23
+ this.toggle.emit(e.detail);
24
+ }
25
+ onItemClick(event) {
26
+ const e = event;
27
+ this.itemClick.emit(e.detail);
28
+ }
29
+ onNodeClick(event) {
30
+ const e = event;
31
+ this.nodeClick.emit(e.detail);
32
+ }
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTreeMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTreeMenu, isStandalone: true, selector: "lgs-tree-menu", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, expandedIds: { classPropertyName: "expandedIds", publicName: "expandedIds", isSignal: true, isRequired: false, transformFunction: null }, expandOnLabelClick: { classPropertyName: "expandOnLabelClick", publicName: "expandOnLabelClick", isSignal: true, isRequired: false, transformFunction: null }, chevronPosition: { classPropertyName: "chevronPosition", publicName: "chevronPosition", isSignal: true, isRequired: false, transformFunction: null }, showLabels: { classPropertyName: "showLabels", publicName: "showLabels", isSignal: true, isRequired: false, transformFunction: null }, iconSize: { classPropertyName: "iconSize", publicName: "iconSize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { toggle: "toggle", itemClick: "itemClick", nodeClick: "nodeClick" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
35
+ <logosphere-tree-menu
36
+ #el
37
+ [expandOnLabelClick]="expandOnLabelClick()"
38
+ [chevronPosition]="chevronPosition()"
39
+ [showLabels]="showLabels()"
40
+ [iconSize]="iconSize()"
41
+ (toggle)="onToggle($event)"
42
+ (item-click)="onItemClick($event)"
43
+ (node-click)="onNodeClick($event)"
44
+ ></logosphere-tree-menu>
45
+ `, isInline: true });
46
+ }
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTreeMenu, decorators: [{
48
+ type: Component,
49
+ args: [{
50
+ selector: 'lgs-tree-menu',
51
+ imports: [],
52
+ template: `
53
+ <logosphere-tree-menu
54
+ #el
55
+ [expandOnLabelClick]="expandOnLabelClick()"
56
+ [chevronPosition]="chevronPosition()"
57
+ [showLabels]="showLabels()"
58
+ [iconSize]="iconSize()"
59
+ (toggle)="onToggle($event)"
60
+ (item-click)="onItemClick($event)"
61
+ (node-click)="onNodeClick($event)"
62
+ ></logosphere-tree-menu>
63
+ `,
64
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
65
+ }]
66
+ }], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], expandedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedIds", required: false }] }], expandOnLabelClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandOnLabelClick", required: false }] }], chevronPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "chevronPosition", required: false }] }], showLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabels", required: false }] }], iconSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconSize", required: false }] }], toggle: [{ type: i0.Output, args: ["toggle"] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], nodeClick: [{ type: i0.Output, args: ["nodeClick"] }], elRef: [{
67
+ type: ViewChild,
68
+ args: ['el', { static: false }]
69
+ }] } });
70
+
71
+ /**
72
+ * Generated bundle index. Do not edit.
73
+ */
74
+
75
+ export { LogosphereTreeMenu };
76
+ //# sourceMappingURL=logosphere-ui-angular-src-lib-tree-menu.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logosphere-ui-angular-src-lib-tree-menu.mjs","sources":["../../projects/wrapper/src/lib/tree-menu/tree-menu.ts","../../projects/wrapper/src/lib/tree-menu/logosphere-ui-angular-src-lib-tree-menu.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, ElementRef, input, output, ViewChild} from '@angular/core';\nimport '@logosphere-ui/core/tree-menu';\n\nexport type TreeMenuItem = {\n id: string;\n label: string;\n icon?: string;\n children?: TreeMenuItem[];\n data?: unknown;\n};\n\n@Component({\n selector: 'lgs-tree-menu',\n imports: [],\n template: `\n <logosphere-tree-menu\n #el\n [expandOnLabelClick]=\"expandOnLabelClick()\"\n [chevronPosition]=\"chevronPosition()\"\n [showLabels]=\"showLabels()\"\n [iconSize]=\"iconSize()\"\n (toggle)=\"onToggle($event)\"\n (item-click)=\"onItemClick($event)\"\n (node-click)=\"onNodeClick($event)\"\n ></logosphere-tree-menu>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTreeMenu {\n items = input<TreeMenuItem[]>([]);\n expandedIds = input<string[]>([]);\n expandOnLabelClick = input<boolean>(true);\n chevronPosition = input<'left' | 'right'>('left');\n showLabels = input<boolean>(true);\n iconSize = input<number>(16);\n\n toggle = output<{ item: TreeMenuItem; expanded: boolean }>();\n itemClick = output<{ item: TreeMenuItem }>();\n nodeClick = output<{ item: TreeMenuItem; hasChildren: boolean }>();\n\n @ViewChild('el', { static: false }) set elRef(element: ElementRef | undefined) {\n if (element) {\n (element.nativeElement as any).items = this.items();\n (element.nativeElement as any).expandedIds = this.expandedIds();\n }\n }\n\n onToggle(event: Event) {\n const e = event as CustomEvent<{ item: TreeMenuItem; expanded: boolean }>;\n this.toggle.emit(e.detail);\n }\n\n onItemClick(event: Event) {\n const e = event as CustomEvent<{ item: TreeMenuItem }>;\n this.itemClick.emit(e.detail);\n }\n\n onNodeClick(event: Event) {\n const e = event as CustomEvent<{ item: TreeMenuItem; hasChildren: boolean }>;\n this.nodeClick.emit(e.detail);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA4Ba,kBAAkB,CAAA;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAiB,EAAE,iDAAC;AACjC,IAAA,WAAW,GAAG,KAAK,CAAW,EAAE,uDAAC;AACjC,IAAA,kBAAkB,GAAG,KAAK,CAAU,IAAI,8DAAC;AACzC,IAAA,eAAe,GAAG,KAAK,CAAmB,MAAM,2DAAC;AACjD,IAAA,UAAU,GAAG,KAAK,CAAU,IAAI,sDAAC;AACjC,IAAA,QAAQ,GAAG,KAAK,CAAS,EAAE,oDAAC;IAE5B,MAAM,GAAG,MAAM,EAA6C;IAC5D,SAAS,GAAG,MAAM,EAA0B;IAC5C,SAAS,GAAG,MAAM,EAAgD;IAElE,IAAwC,KAAK,CAAC,OAA+B,EAAA;QAC3E,IAAI,OAAO,EAAE;YACV,OAAO,CAAC,aAAqB,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;YAClD,OAAO,CAAC,aAAqB,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE;QACjE;IACF;AAEA,IAAA,QAAQ,CAAC,KAAY,EAAA;QACnB,MAAM,CAAC,GAAG,KAA+D;QACzE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5B;AAEA,IAAA,WAAW,CAAC,KAAY,EAAA;QACtB,MAAM,CAAC,GAAG,KAA4C;QACtD,IAAI,CAAC,SAAS,CAAC,IAA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