@logosphere-ui/angular 0.0.1 → 1.0.0-beta.2

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 (112) hide show
  1. package/fesm2022/logosphere-ui-angular-src-lib-accordion.mjs +59 -0
  2. package/fesm2022/logosphere-ui-angular-src-lib-accordion.mjs.map +1 -0
  3. package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs +53 -0
  4. package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs.map +1 -0
  5. package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs +37 -0
  6. package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs.map +1 -0
  7. package/fesm2022/logosphere-ui-angular-src-lib-button.mjs +20 -4
  8. package/fesm2022/logosphere-ui-angular-src-lib-button.mjs.map +1 -1
  9. package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs +85 -0
  10. package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs.map +1 -0
  11. package/fesm2022/logosphere-ui-angular-src-lib-card.mjs +68 -0
  12. package/fesm2022/logosphere-ui-angular-src-lib-card.mjs.map +1 -0
  13. package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs +8 -13
  14. package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs.map +1 -1
  15. package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs.map +1 -1
  16. package/fesm2022/logosphere-ui-angular-src-lib-chip-group.mjs +49 -0
  17. package/fesm2022/logosphere-ui-angular-src-lib-chip-group.mjs.map +1 -0
  18. package/fesm2022/logosphere-ui-angular-src-lib-collapse.mjs +59 -0
  19. package/fesm2022/logosphere-ui-angular-src-lib-collapse.mjs.map +1 -0
  20. package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs +131 -0
  21. package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs.map +1 -0
  22. package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs +102 -0
  23. package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs.map +1 -0
  24. package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs +39 -0
  25. package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs.map +1 -0
  26. package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs +64 -0
  27. package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs.map +1 -0
  28. package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs +76 -0
  29. package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs.map +1 -0
  30. package/fesm2022/logosphere-ui-angular-src-lib-icon.mjs +26 -0
  31. package/fesm2022/logosphere-ui-angular-src-lib-icon.mjs.map +1 -0
  32. package/fesm2022/logosphere-ui-angular-src-lib-input-group.mjs +33 -0
  33. package/fesm2022/logosphere-ui-angular-src-lib-input-group.mjs.map +1 -0
  34. package/fesm2022/logosphere-ui-angular-src-lib-input.mjs +133 -0
  35. package/fesm2022/logosphere-ui-angular-src-lib-input.mjs.map +1 -0
  36. package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs +86 -0
  37. package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs.map +1 -0
  38. package/fesm2022/logosphere-ui-angular-src-lib-loading.mjs +26 -0
  39. package/fesm2022/logosphere-ui-angular-src-lib-loading.mjs.map +1 -0
  40. package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs +66 -0
  41. package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs.map +1 -0
  42. package/fesm2022/logosphere-ui-angular-src-lib-note.mjs +55 -0
  43. package/fesm2022/logosphere-ui-angular-src-lib-note.mjs.map +1 -0
  44. package/fesm2022/logosphere-ui-angular-src-lib-pagination.mjs +84 -0
  45. package/fesm2022/logosphere-ui-angular-src-lib-pagination.mjs.map +1 -0
  46. package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs +66 -0
  47. package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs.map +1 -0
  48. package/fesm2022/logosphere-ui-angular-src-lib-slider.mjs +76 -0
  49. package/fesm2022/logosphere-ui-angular-src-lib-slider.mjs.map +1 -0
  50. package/fesm2022/logosphere-ui-angular-src-lib-split-button.mjs +77 -0
  51. package/fesm2022/logosphere-ui-angular-src-lib-split-button.mjs.map +1 -0
  52. package/fesm2022/logosphere-ui-angular-src-lib-stepper.mjs +49 -0
  53. package/fesm2022/logosphere-ui-angular-src-lib-stepper.mjs.map +1 -0
  54. package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs +46 -0
  55. package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs.map +1 -0
  56. package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs +61 -0
  57. package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs.map +1 -0
  58. package/fesm2022/logosphere-ui-angular-src-lib-table.mjs +83 -0
  59. package/fesm2022/logosphere-ui-angular-src-lib-table.mjs.map +1 -0
  60. package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs +110 -0
  61. package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs.map +1 -0
  62. package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs +73 -0
  63. package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs.map +1 -0
  64. package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs +74 -0
  65. package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs.map +1 -0
  66. package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs +76 -0
  67. package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs.map +1 -0
  68. package/fesm2022/logosphere-ui-angular-src-lib-uploader.mjs +96 -0
  69. package/fesm2022/logosphere-ui-angular-src-lib-uploader.mjs.map +1 -0
  70. package/fesm2022/logosphere-ui-angular-ssr.mjs +59 -0
  71. package/fesm2022/logosphere-ui-angular-ssr.mjs.map +1 -0
  72. package/fesm2022/logosphere-ui-angular.mjs +1991 -50
  73. package/fesm2022/logosphere-ui-angular.mjs.map +1 -1
  74. package/package.json +137 -3
  75. package/ssr/README.md +111 -0
  76. package/types/logosphere-ui-angular-src-lib-accordion.d.ts +26 -0
  77. package/types/logosphere-ui-angular-src-lib-badge.d.ts +15 -0
  78. package/types/logosphere-ui-angular-src-lib-breadcrumb.d.ts +17 -0
  79. package/types/logosphere-ui-angular-src-lib-button.d.ts +3 -1
  80. package/types/logosphere-ui-angular-src-lib-calendar.d.ts +30 -0
  81. package/types/logosphere-ui-angular-src-lib-card.d.ts +18 -0
  82. package/types/logosphere-ui-angular-src-lib-chatbot.d.ts +2 -2
  83. package/types/logosphere-ui-angular-src-lib-checkbox.d.ts +1 -1
  84. package/types/logosphere-ui-angular-src-lib-chip-group.d.ts +24 -0
  85. package/types/logosphere-ui-angular-src-lib-collapse.d.ts +18 -0
  86. package/types/logosphere-ui-angular-src-lib-combobox.d.ts +67 -0
  87. package/types/logosphere-ui-angular-src-lib-datepicker.d.ts +36 -0
  88. package/types/logosphere-ui-angular-src-lib-download-manager.d.ts +11 -0
  89. package/types/logosphere-ui-angular-src-lib-drawer.d.ts +18 -0
  90. package/types/logosphere-ui-angular-src-lib-formfield.d.ts +20 -0
  91. package/types/logosphere-ui-angular-src-lib-icon.d.ts +10 -0
  92. package/types/logosphere-ui-angular-src-lib-input-group.d.ts +9 -0
  93. package/types/logosphere-ui-angular-src-lib-input.d.ts +48 -0
  94. package/types/logosphere-ui-angular-src-lib-left-menu.d.ts +24 -0
  95. package/types/logosphere-ui-angular-src-lib-loading.d.ts +10 -0
  96. package/types/logosphere-ui-angular-src-lib-modal.d.ts +18 -0
  97. package/types/logosphere-ui-angular-src-lib-note.d.ts +15 -0
  98. package/types/logosphere-ui-angular-src-lib-pagination.d.ts +32 -0
  99. package/types/logosphere-ui-angular-src-lib-popover.d.ts +18 -0
  100. package/types/logosphere-ui-angular-src-lib-slider.d.ts +27 -0
  101. package/types/logosphere-ui-angular-src-lib-split-button.d.ts +33 -0
  102. package/types/logosphere-ui-angular-src-lib-stepper.d.ts +26 -0
  103. package/types/logosphere-ui-angular-src-lib-switch.d.ts +17 -0
  104. package/types/logosphere-ui-angular-src-lib-tab.d.ts +27 -0
  105. package/types/logosphere-ui-angular-src-lib-table.d.ts +83 -0
  106. package/types/logosphere-ui-angular-src-lib-textarea.d.ts +38 -0
  107. package/types/logosphere-ui-angular-src-lib-timepicker.d.ts +24 -0
  108. package/types/logosphere-ui-angular-src-lib-toast.d.ts +27 -0
  109. package/types/logosphere-ui-angular-src-lib-tree-menu.d.ts +38 -0
  110. package/types/logosphere-ui-angular-src-lib-uploader.d.ts +54 -0
  111. package/types/logosphere-ui-angular-ssr.d.ts +27 -0
  112. package/types/logosphere-ui-angular.d.ts +771 -6
@@ -0,0 +1,110 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
3
+ import '@logosphere-ui/core/textarea';
4
+
5
+ class LogosphereTextarea {
6
+ value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
7
+ placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
8
+ name = input('', ...(ngDevMode ? [{ debugName: "name" }] : []));
9
+ autocomplete = input('', ...(ngDevMode ? [{ debugName: "autocomplete" }] : []));
10
+ minlength = input(undefined, ...(ngDevMode ? [{ debugName: "minlength" }] : []));
11
+ maxlength = input(undefined, ...(ngDevMode ? [{ debugName: "maxlength" }] : []));
12
+ rows = input(3, ...(ngDevMode ? [{ debugName: "rows" }] : []));
13
+ maxRows = input(8, ...(ngDevMode ? [{ debugName: "maxRows" }] : []));
14
+ cols = input(undefined, ...(ngDevMode ? [{ debugName: "cols" }] : []));
15
+ wrap = input('soft', ...(ngDevMode ? [{ debugName: "wrap" }] : []));
16
+ resize = input('vertical', ...(ngDevMode ? [{ debugName: "resize" }] : []));
17
+ autoResize = input(true, ...(ngDevMode ? [{ debugName: "autoResize" }] : []));
18
+ size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
19
+ variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
20
+ label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
21
+ helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
22
+ error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
23
+ required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
24
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
25
+ readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
26
+ inputEvent = output({ alias: 'inputChange' });
27
+ change = output();
28
+ clear = output();
29
+ onInput(event) {
30
+ const e = event;
31
+ this.inputEvent.emit(e.detail);
32
+ }
33
+ onChange(event) {
34
+ const e = event;
35
+ this.change.emit(e.detail);
36
+ }
37
+ onClear() {
38
+ this.clear.emit();
39
+ }
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTextarea, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTextarea, isStandalone: true, selector: "lgs-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null }, cols: { classPropertyName: "cols", publicName: "cols", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, resize: { classPropertyName: "resize", publicName: "resize", isSignal: true, isRequired: false, transformFunction: null }, autoResize: { classPropertyName: "autoResize", publicName: "autoResize", 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 }, 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 }, 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 } }, outputs: { inputEvent: "inputChange", change: "change", clear: "clear" }, ngImport: i0, template: `
42
+ <logosphere-textarea
43
+ [value]="value()"
44
+ [placeholder]="placeholder()"
45
+ [name]="name()"
46
+ [autocomplete]="autocomplete()"
47
+ [attr.minlength]="minlength()"
48
+ [attr.maxlength]="maxlength()"
49
+ [rows]="rows()"
50
+ [maxRows]="maxRows()"
51
+ [attr.cols]="cols()"
52
+ [wrap]="wrap()"
53
+ [resize]="resize()"
54
+ [autoResize]="autoResize()"
55
+ [size]="size()"
56
+ [variant]="variant()"
57
+ [label]="label()"
58
+ [helper]="helper()"
59
+ [error]="error()"
60
+ [required]="required()"
61
+ [disabled]="disabled()"
62
+ [readonly]="readonly()"
63
+ (input)="onInput($event)"
64
+ (change)="onChange($event)"
65
+ (clear)="onClear()"
66
+ ></logosphere-textarea>
67
+ `, isInline: true });
68
+ }
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTextarea, decorators: [{
70
+ type: Component,
71
+ args: [{
72
+ selector: 'lgs-textarea',
73
+ imports: [],
74
+ template: `
75
+ <logosphere-textarea
76
+ [value]="value()"
77
+ [placeholder]="placeholder()"
78
+ [name]="name()"
79
+ [autocomplete]="autocomplete()"
80
+ [attr.minlength]="minlength()"
81
+ [attr.maxlength]="maxlength()"
82
+ [rows]="rows()"
83
+ [maxRows]="maxRows()"
84
+ [attr.cols]="cols()"
85
+ [wrap]="wrap()"
86
+ [resize]="resize()"
87
+ [autoResize]="autoResize()"
88
+ [size]="size()"
89
+ [variant]="variant()"
90
+ [label]="label()"
91
+ [helper]="helper()"
92
+ [error]="error()"
93
+ [required]="required()"
94
+ [disabled]="disabled()"
95
+ [readonly]="readonly()"
96
+ (input)="onInput($event)"
97
+ (change)="onChange($event)"
98
+ (clear)="onClear()"
99
+ ></logosphere-textarea>
100
+ `,
101
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
102
+ }]
103
+ }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }], cols: [{ type: i0.Input, args: [{ isSignal: true, alias: "cols", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], resize: [{ type: i0.Input, args: [{ isSignal: true, alias: "resize", required: false }] }], autoResize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoResize", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", 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 }] }], 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 }] }], inputEvent: [{ type: i0.Output, args: ["inputChange"] }], change: [{ type: i0.Output, args: ["change"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
104
+
105
+ /**
106
+ * Generated bundle index. Do not edit.
107
+ */
108
+
109
+ export { LogosphereTextarea };
110
+ //# sourceMappingURL=logosphere-ui-angular-src-lib-textarea.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logosphere-ui-angular-src-lib-textarea.mjs","sources":["../../projects/wrapper/src/lib/textarea/textarea.ts","../../projects/wrapper/src/lib/textarea/logosphere-ui-angular-src-lib-textarea.ts"],"sourcesContent":["import {Component, CUSTOM_ELEMENTS_SCHEMA, input, output} from '@angular/core';\nimport '@logosphere-ui/core/textarea';\n\n@Component({\n selector: 'lgs-textarea',\n imports: [],\n template: `\n <logosphere-textarea\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [name]=\"name()\"\n [autocomplete]=\"autocomplete()\"\n [attr.minlength]=\"minlength()\"\n [attr.maxlength]=\"maxlength()\"\n [rows]=\"rows()\"\n [maxRows]=\"maxRows()\"\n [attr.cols]=\"cols()\"\n [wrap]=\"wrap()\"\n [resize]=\"resize()\"\n [autoResize]=\"autoResize()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [label]=\"label()\"\n [helper]=\"helper()\"\n [error]=\"error()\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange($event)\"\n (clear)=\"onClear()\"\n ></logosphere-textarea>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereTextarea {\n value = input<string>('');\n placeholder = input<string>('');\n name = input<string>('');\n autocomplete = input<string>('');\n minlength = input<number | undefined>(undefined);\n maxlength = input<number | undefined>(undefined);\n rows = input<number>(3);\n maxRows = input<number>(8);\n cols = input<number | undefined>(undefined);\n wrap = input<'soft' | 'hard'>('soft');\n resize = input<'none' | 'vertical' | 'horizontal' | 'both'>('vertical');\n autoResize = input<boolean>(true);\n size = input<'default' | 'large'>('default');\n variant = input<'default' | 'subtle'>('default');\n label = input<string>('');\n helper = input<string>('');\n error = input<string>('');\n required = input<boolean>(false);\n disabled = input<boolean>(false);\n readonly = input<boolean>(false);\n\n inputEvent = output<{ value: string }>({ alias: 'inputChange' });\n change = output<{ value: string }>();\n clear = output<void>();\n\n onInput(event: Event) {\n const e = event as CustomEvent<{ value: string }>;\n this.inputEvent.emit(e.detail);\n }\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":";;;;MAmCa,kBAAkB,CAAA;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,WAAW,GAAG,KAAK,CAAS,EAAE,uDAAC;AAC/B,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;AACxB,IAAA,YAAY,GAAG,KAAK,CAAS,EAAE,wDAAC;AAChC,IAAA,SAAS,GAAG,KAAK,CAAqB,SAAS,qDAAC;AAChD,IAAA,SAAS,GAAG,KAAK,CAAqB,SAAS,qDAAC;AAChD,IAAA,IAAI,GAAG,KAAK,CAAS,CAAC,gDAAC;AACvB,IAAA,OAAO,GAAG,KAAK,CAAS,C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M_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,CAAS,EAAE,iDAAC;AACzB,IAAA,MAAM,GAAG,KAAK,CAAS,EAAE,kDAAC;AAC1B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,IAAA,WAAW,GAAG,KAAK,CAAS,OAAO,uDAAC;AACpC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,IAAI,GAAG,KAAK,CAAsB,SAAS,gDAAC;AAC5C,IAAA,OAAO,GAAG,KAAK,CAAuB,SAAS,mDAAC;IAEhD,MAAM,GAAG,MAAM,EAAqB;IACpC,KAAK,GAAG,MAAM,EAAQ;AAEtB,IAAA,QAAQ,CAAC,KAAY,EAAA;QACnB,MAAM,CAAC,GAAG,KAAuC;QACjD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5B;IAEA,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;IACnB;uGAtBW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,E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A,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,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,W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AAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;AClDD;;AAEG;;;;"}
@@ -0,0 +1,76 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, ViewChild, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
3
+ import '@logosphere-ui/core/tree-menu';
4
+
5
+ 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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AAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,IAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAdnB;;;;;;;;;;;AAWT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjB9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;AAWT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;sBAaE,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;;;ACxCpC;;AAEG;;;;"}
@@ -0,0 +1,96 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
3
+ import '@logosphere-ui/core/uploader';
4
+
5
+ class LogosphereUploader {
6
+ files = input([], ...(ngDevMode ? [{ debugName: "files" }] : []));
7
+ accept = input('', ...(ngDevMode ? [{ debugName: "accept" }] : []));
8
+ multiple = input(false, ...(ngDevMode ? [{ debugName: "multiple" }] : []));
9
+ maxSize = input(0, ...(ngDevMode ? [{ debugName: "maxSize" }] : []));
10
+ disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
11
+ size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
12
+ selectable = input(false, ...(ngDevMode ? [{ debugName: "selectable" }] : []));
13
+ hideDropArea = input(false, ...(ngDevMode ? [{ debugName: "hideDropArea" }] : []));
14
+ label = input('Yüklemek için tıklayın', ...(ngDevMode ? [{ debugName: "label" }] : []));
15
+ labelSuffix = input('veya bu alana sürükleyin', ...(ngDevMode ? [{ debugName: "labelSuffix" }] : []));
16
+ helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
17
+ error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
18
+ filesAdded = output();
19
+ fileRemove = output();
20
+ fileRetry = output();
21
+ fileCancel = output();
22
+ fileSelect = output();
23
+ onFilesAdded(event) {
24
+ this.filesAdded.emit(event.detail);
25
+ }
26
+ onFileRemove(event) {
27
+ this.fileRemove.emit(event.detail);
28
+ }
29
+ onFileRetry(event) {
30
+ this.fileRetry.emit(event.detail);
31
+ }
32
+ onFileCancel(event) {
33
+ this.fileCancel.emit(event.detail);
34
+ }
35
+ onFileSelect(event) {
36
+ this.fileSelect.emit(event.detail);
37
+ }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereUploader, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereUploader, isStandalone: true, selector: "lgs-uploader", inputs: { files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, selectable: { classPropertyName: "selectable", publicName: "selectable", isSignal: true, isRequired: false, transformFunction: null }, hideDropArea: { classPropertyName: "hideDropArea", publicName: "hideDropArea", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelSuffix: { classPropertyName: "labelSuffix", publicName: "labelSuffix", 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 } }, outputs: { filesAdded: "filesAdded", fileRemove: "fileRemove", fileRetry: "fileRetry", fileCancel: "fileCancel", fileSelect: "fileSelect" }, ngImport: i0, template: `
40
+ <logosphere-uploader
41
+ [files]="files()"
42
+ [accept]="accept()"
43
+ [multiple]="multiple()"
44
+ [maxSize]="maxSize()"
45
+ [disabled]="disabled()"
46
+ [size]="size()"
47
+ [selectable]="selectable()"
48
+ [hideDropArea]="hideDropArea()"
49
+ [label]="label()"
50
+ [labelSuffix]="labelSuffix()"
51
+ [helper]="helper()"
52
+ [error]="error()"
53
+ (files-added)="onFilesAdded($event)"
54
+ (file-remove)="onFileRemove($event)"
55
+ (file-retry)="onFileRetry($event)"
56
+ (file-cancel)="onFileCancel($event)"
57
+ (file-select)="onFileSelect($event)"
58
+ ></logosphere-uploader>
59
+ `, isInline: true });
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereUploader, decorators: [{
62
+ type: Component,
63
+ args: [{
64
+ selector: 'lgs-uploader',
65
+ imports: [],
66
+ template: `
67
+ <logosphere-uploader
68
+ [files]="files()"
69
+ [accept]="accept()"
70
+ [multiple]="multiple()"
71
+ [maxSize]="maxSize()"
72
+ [disabled]="disabled()"
73
+ [size]="size()"
74
+ [selectable]="selectable()"
75
+ [hideDropArea]="hideDropArea()"
76
+ [label]="label()"
77
+ [labelSuffix]="labelSuffix()"
78
+ [helper]="helper()"
79
+ [error]="error()"
80
+ (files-added)="onFilesAdded($event)"
81
+ (file-remove)="onFileRemove($event)"
82
+ (file-retry)="onFileRetry($event)"
83
+ (file-cancel)="onFileCancel($event)"
84
+ (file-select)="onFileSelect($event)"
85
+ ></logosphere-uploader>
86
+ `,
87
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
88
+ }]
89
+ }], propDecorators: { files: [{ type: i0.Input, args: [{ isSignal: true, alias: "files", required: false }] }], accept: [{ type: i0.Input, args: [{ isSignal: true, alias: "accept", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], maxSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSize", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], selectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectable", required: false }] }], hideDropArea: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideDropArea", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], labelSuffix: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelSuffix", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], filesAdded: [{ type: i0.Output, args: ["filesAdded"] }], fileRemove: [{ type: i0.Output, args: ["fileRemove"] }], fileRetry: [{ type: i0.Output, args: ["fileRetry"] }], fileCancel: [{ type: i0.Output, args: ["fileCancel"] }], fileSelect: [{ type: i0.Output, args: ["fileSelect"] }] } });
90
+
91
+ /**
92
+ * Generated bundle index. Do not edit.
93
+ */
94
+
95
+ export { LogosphereUploader };
96
+ //# sourceMappingURL=logosphere-ui-angular-src-lib-uploader.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logosphere-ui-angular-src-lib-uploader.mjs","sources":["../../projects/wrapper/src/lib/uploader/uploader.ts","../../projects/wrapper/src/lib/uploader/logosphere-ui-angular-src-lib-uploader.ts"],"sourcesContent":["import { Component, CUSTOM_ELEMENTS_SCHEMA, input, output } from '@angular/core';\nimport '@logosphere-ui/core/uploader';\n\nexport type UploaderFileStatus = 'pending' | 'uploading' | 'completed' | 'error';\nexport type UploaderSize = 'default' | 'small';\n\nexport interface UploaderFile {\n id: string;\n name: string;\n size?: number;\n status?: UploaderFileStatus;\n progress?: number;\n error?: string;\n previewUrl?: string;\n meta?: string;\n selected?: boolean;\n}\n\nexport interface UploaderFilesAddedDetail {\n files: File[];\n rejected: Array<{ file: File; reason: 'type' | 'size' }>;\n}\n\nexport interface UploaderFileDetail {\n id: string;\n}\n\n@Component({\n selector: 'lgs-uploader',\n imports: [],\n template: `\n <logosphere-uploader\n [files]=\"files()\"\n [accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [maxSize]=\"maxSize()\"\n [disabled]=\"disabled()\"\n [size]=\"size()\"\n [selectable]=\"selectable()\"\n [hideDropArea]=\"hideDropArea()\"\n [label]=\"label()\"\n [labelSuffix]=\"labelSuffix()\"\n [helper]=\"helper()\"\n [error]=\"error()\"\n (files-added)=\"onFilesAdded($event)\"\n (file-remove)=\"onFileRemove($event)\"\n (file-retry)=\"onFileRetry($event)\"\n (file-cancel)=\"onFileCancel($event)\"\n (file-select)=\"onFileSelect($event)\"\n ></logosphere-uploader>\n `,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class LogosphereUploader {\n files = input<UploaderFile[]>([]);\n accept = input<string>('');\n multiple = input<boolean>(false);\n maxSize = input<number>(0);\n disabled = input<boolean>(false);\n size = input<UploaderSize>('default');\n selectable = input<boolean>(false);\n hideDropArea = input<boolean>(false);\n label = input<string>('Yüklemek için tıklayın');\n labelSuffix = input<string>('veya bu alana sürükleyin');\n helper = input<string>('');\n error = input<string>('');\n\n filesAdded = output<UploaderFilesAddedDetail>();\n fileRemove = output<UploaderFileDetail>();\n fileRetry = output<UploaderFileDetail>();\n fileCancel = output<UploaderFileDetail>();\n fileSelect = output<UploaderFileDetail>();\n\n onFilesAdded(event: Event) {\n this.filesAdded.emit((event as CustomEvent<UploaderFilesAddedDetail>).detail);\n }\n\n onFileRemove(event: Event) {\n this.fileRemove.emit((event as CustomEvent<UploaderFileDetail>).detail);\n }\n\n onFileRetry(event: Event) {\n this.fileRetry.emit((event as CustomEvent<UploaderFileDetail>).detail);\n }\n\n onFileCancel(event: Event) {\n this.fileCancel.emit((event as CustomEvent<UploaderFileDetail>).detail);\n }\n\n onFileSelect(event: Event) {\n this.fileSelect.emit((event as CustomEvent<UploaderFileDetail>).detail);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAqDa,kBAAkB,CAAA;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAiB,EAAE,iDAAC;AACjC,IAAA,MAAM,GAAG,KAAK,CAAS,EAAE,kDAAC;AAC1B,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,OAAO,GAAG,KAAK,CAAS,CAAC,mDAAC;AAC1B,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,IAAA,IAAI,GAAG,KAAK,CAAe,SAAS,gDAAC;AACrC,IAAA,UAAU,GAAG,KAAK,CAAU,KAAK,sDAAC;AAClC,IAAA,YAAY,GAAG,KAAK,CAAU,KAAK,wDAAC;AACpC,IAAA,KAAK,GAAG,KAAK,CAAS,wBAAwB,iDAAC;AAC/C,IA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,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,SAAA,EAAA,WAAA,EAAA,UAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAvBnB;;;;;;;;;;;;;;;;;;;;AAoBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAGU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBA1B9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;AAoBT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACpDD;;AAEG;;;;"}
@@ -0,0 +1,59 @@
1
+ import { render } from '@lit-labs/ssr';
2
+ import { collectResult } from '@lit-labs/ssr/lib/render-result.js';
3
+ import { html } from 'lit';
4
+
5
+ /**
6
+ * Wrap a raw HTML string as a binding-less Lit template so @lit-labs/ssr can
7
+ * parse it and render the shadow DOM of any custom element it contains. Because
8
+ * the markup lives entirely in the template's static part, there are no dynamic
9
+ * bindings — every logosphere-* element found is rendered as Declarative Shadow
10
+ * DOM and all surrounding markup passes through verbatim.
11
+ */
12
+ function staticTemplate(rawHtml) {
13
+ const strings = [rawHtml];
14
+ strings.raw = [rawHtml];
15
+ return html(strings);
16
+ }
17
+ /**
18
+ * Inject Declarative Shadow DOM into an @angular/ssr-rendered HTML string.
19
+ *
20
+ * Angular's server renderer emits Logosphere custom elements as bare host tags
21
+ * (attributes + projected light DOM, but no shadow content, because Domino does
22
+ * not upgrade custom elements). This runs that HTML through @lit-labs/ssr so
23
+ * every **registered** logosphere-* element gets its full shadow tree emitted as
24
+ * `<template shadowrootmode="open">…</template>`, recursively, while the rest of
25
+ * the Angular markup is left untouched. The emitted Lit hydration markers
26
+ * (`<!--lit-part-->`) let the client hydrate instead of re-rendering.
27
+ *
28
+ * The components must already be **registered** (their modules imported) in the
29
+ * server process before this is called — which they are, since the Angular
30
+ * wrapper components import them. Registration relies on a single shared
31
+ * `@lit-labs/ssr-dom-shim` customElements registry (pinned via the workspace
32
+ * `overrides`), so don't let that version drift.
33
+ *
34
+ * Works on a full document string or a fragment.
35
+ *
36
+ * @example
37
+ * // server.ts (@angular/ssr)
38
+ * const html = await angularApp.render(request); // bare custom elements
39
+ * const withDsd = await renderLogosphereShadowRoots(html); // DSD injected
40
+ */
41
+ async function renderLogosphereShadowRoots(htmlString) {
42
+ return collectResult(render(staticTemplate(htmlString)));
43
+ }
44
+
45
+ /*
46
+ * Public API surface of @logosphere-ui/angular/ssr
47
+ *
48
+ * SERVER-ONLY. This entry point pulls in @lit-labs/ssr (Node) and must never be
49
+ * imported into the browser bundle — import it only from your @angular/ssr
50
+ * `server.ts`. It is intentionally NOT re-exported from the primary
51
+ * `@logosphere-ui/angular` entry point.
52
+ */
53
+
54
+ /**
55
+ * Generated bundle index. Do not edit.
56
+ */
57
+
58
+ export { renderLogosphereShadowRoots };
59
+ //# sourceMappingURL=logosphere-ui-angular-ssr.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logosphere-ui-angular-ssr.mjs","sources":["../../projects/wrapper/ssr/server-render.ts","../../projects/wrapper/ssr/public-api.ts","../../projects/wrapper/ssr/logosphere-ui-angular-ssr.ts"],"sourcesContent":["import { render } from '@lit-labs/ssr';\nimport { collectResult } from '@lit-labs/ssr/lib/render-result.js';\nimport { html, type TemplateResult } from 'lit';\n\n/**\n * Wrap a raw HTML string as a binding-less Lit template so @lit-labs/ssr can\n * parse it and render the shadow DOM of any custom element it contains. Because\n * the markup lives entirely in the template's static part, there are no dynamic\n * bindings — every logosphere-* element found is rendered as Declarative Shadow\n * DOM and all surrounding markup passes through verbatim.\n */\nfunction staticTemplate(rawHtml: string): TemplateResult {\n const strings = [rawHtml] as unknown as string[] & { raw: readonly string[] };\n strings.raw = [rawHtml];\n return html(strings as unknown as TemplateStringsArray);\n}\n\n/**\n * Inject Declarative Shadow DOM into an @angular/ssr-rendered HTML string.\n *\n * Angular's server renderer emits Logosphere custom elements as bare host tags\n * (attributes + projected light DOM, but no shadow content, because Domino does\n * not upgrade custom elements). This runs that HTML through @lit-labs/ssr so\n * every **registered** logosphere-* element gets its full shadow tree emitted as\n * `<template shadowrootmode=\"open\">…</template>`, recursively, while the rest of\n * the Angular markup is left untouched. The emitted Lit hydration markers\n * (`<!--lit-part-->`) let the client hydrate instead of re-rendering.\n *\n * The components must already be **registered** (their modules imported) in the\n * server process before this is called — which they are, since the Angular\n * wrapper components import them. Registration relies on a single shared\n * `@lit-labs/ssr-dom-shim` customElements registry (pinned via the workspace\n * `overrides`), so don't let that version drift.\n *\n * Works on a full document string or a fragment.\n *\n * @example\n * // server.ts (@angular/ssr)\n * const html = await angularApp.render(request); // bare custom elements\n * const withDsd = await renderLogosphereShadowRoots(html); // DSD injected\n */\nexport async function renderLogosphereShadowRoots(htmlString: string): Promise<string> {\n return collectResult(render(staticTemplate(htmlString)));\n}\n","/*\n * Public API surface of @logosphere-ui/angular/ssr\n *\n * SERVER-ONLY. This entry point pulls in @lit-labs/ssr (Node) and must never be\n * imported into the browser bundle — import it only from your @angular/ssr\n * `server.ts`. It is intentionally NOT re-exported from the primary\n * `@logosphere-ui/angular` entry point.\n */\nexport { renderLogosphereShadowRoots } from './server-render';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIA;;;;;;AAMG;AACH,SAAS,cAAc,CAAC,OAAe,EAAA;AACrC,IAAA,MAAM,OAAO,GAAG,CAAC,OAAO,CAAqD;AAC7E,IAAA,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC;AACvB,IAAA,OAAO,IAAI,CAAC,OAA0C,CAAC;AACzD;AAEA;;;;;;;;;;;;;;;;;;;;;;;AAuBG;AACI,eAAe,2BAA2B,CAAC,UAAkB,EAAA;IAClE,OAAO,aAAa,CAAC,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;AAC1D;;AC3CA;;;;;;;AAOG;;ACPH;;AAEG;;;;"}