wuic-framework-lib 0.0.1 → 0.2.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 (168) hide show
  1. package/fesm2022/wuic-framework-lib-code-editor.lazy.component-Bz--9_hc.mjs +70 -0
  2. package/fesm2022/wuic-framework-lib-core.mjs +6 -0
  3. package/fesm2022/wuic-framework-lib-designer.component-CJj2TAfG.mjs +10848 -0
  4. package/fesm2022/wuic-framework-lib-notifications.mjs +6 -0
  5. package/fesm2022/wuic-framework-lib-prompt-dialog-fallback-host.component-Dvgs4lWp.mjs +99 -0
  6. package/fesm2022/wuic-framework-lib-routes.mjs +6 -0
  7. package/fesm2022/wuic-framework-lib-ui.mjs +6 -0
  8. package/fesm2022/wuic-framework-lib-widget-loaders.mjs +6 -0
  9. package/fesm2022/wuic-framework-lib-wuic-framework-lib-CXZ0usmZ.mjs +102042 -0
  10. package/fesm2022/wuic-framework-lib.mjs +1 -45008
  11. package/package.json +86 -63
  12. package/styles/styles.scss +40 -10
  13. package/types/wuic-framework-lib-core.d.ts +1 -0
  14. package/types/wuic-framework-lib-notifications.d.ts +1 -0
  15. package/types/wuic-framework-lib-routes.d.ts +1 -0
  16. package/types/wuic-framework-lib-ui.d.ts +1 -0
  17. package/types/wuic-framework-lib-widget-loaders.d.ts +1 -0
  18. package/types/wuic-framework-lib.d.ts +18189 -0
  19. package/fesm2022/wuic-framework-lib.mjs.map +0 -1
  20. package/index.d.ts +0 -5
  21. package/lib/app.routes.d.ts +0 -2
  22. package/lib/class/IBindable.d.ts +0 -17
  23. package/lib/class/IDesigner.d.ts +0 -4
  24. package/lib/class/IDesignerProperties.d.ts +0 -7
  25. package/lib/class/IFieldEditor.d.ts +0 -21
  26. package/lib/class/aggregationInfo.d.ts +0 -5
  27. package/lib/class/carouselOptions.d.ts +0 -27
  28. package/lib/class/chartOptions.d.ts +0 -31
  29. package/lib/class/comboParams.d.ts +0 -12
  30. package/lib/class/customException.d.ts +0 -6
  31. package/lib/class/designerTool.d.ts +0 -57
  32. package/lib/class/filterInfo.d.ts +0 -6
  33. package/lib/class/filterItem.d.ts +0 -14
  34. package/lib/class/formOptions.d.ts +0 -5
  35. package/lib/class/groupInfo.d.ts +0 -7
  36. package/lib/class/lingua.d.ts +0 -5
  37. package/lib/class/mapOptions.d.ts +0 -31
  38. package/lib/class/metaInfo.d.ts +0 -26
  39. package/lib/class/metadati_colonna.d.ts +0 -234
  40. package/lib/class/metadati_condition_group.d.ts +0 -30
  41. package/lib/class/metadati_custom_actions_tabelle.d.ts +0 -19
  42. package/lib/class/metadati_tabella.d.ts +0 -214
  43. package/lib/class/metadati_ui_stili_colonna.d.ts +0 -8
  44. package/lib/class/metadati_ui_stili_tabella.d.ts +0 -7
  45. package/lib/class/metadati_utenti_autorizzazioni_colonna.d.ts +0 -10
  46. package/lib/class/rawPagedResult.d.ts +0 -7
  47. package/lib/class/resultInfo.d.ts +0 -14
  48. package/lib/class/schedulerOptions.d.ts +0 -14
  49. package/lib/class/sortInfo.d.ts +0 -5
  50. package/lib/class/trackedChanges.d.ts +0 -13
  51. package/lib/class/translation.d.ts +0 -7
  52. package/lib/class/treeOptions.d.ts +0 -15
  53. package/lib/class/updateInfo.d.ts +0 -9
  54. package/lib/class/userInfo.d.ts +0 -19
  55. package/lib/class/validationRule.d.ts +0 -10
  56. package/lib/class/widgetDefinition.d.ts +0 -28
  57. package/lib/component/archetype-configurator/archetype-configurator.component.d.ts +0 -28
  58. package/lib/component/bounded-repeater/bounded-repeater.component.d.ts +0 -32
  59. package/lib/component/carousel-list/carousel-list.component.d.ts +0 -66
  60. package/lib/component/chart-list/chart-list.component.d.ts +0 -135
  61. package/lib/component/code-editor/code-editor.component.d.ts +0 -86
  62. package/lib/component/code-editor/editor-options.d.ts +0 -12
  63. package/lib/component/code-editor/html-parser.d.ts +0 -27
  64. package/lib/component/code-editor/sql-model.d.ts +0 -87
  65. package/lib/component/code-editor/sql-parser.d.ts +0 -157
  66. package/lib/component/code-editor/ts-parser.d.ts +0 -93
  67. package/lib/component/code-editor/wuic-component-bindings.d.ts +0 -7
  68. package/lib/component/code-editor/wuic-component-selectors.d.ts +0 -1
  69. package/lib/component/css-sheet-editor/css-sheet-editor.component.d.ts +0 -71
  70. package/lib/component/dashboard/dashboard.component.d.ts +0 -12
  71. package/lib/component/data-action-button/data-action-button.component.d.ts +0 -45
  72. package/lib/component/data-repeater/data-repeater.component.d.ts +0 -32
  73. package/lib/component/data-source/data-source.component.d.ts +0 -147
  74. package/lib/component/designer/designer.component.d.ts +0 -269
  75. package/lib/component/dynamic-dashboard-template/dynamic-dashboard-template.component.d.ts +0 -39
  76. package/lib/component/dynamic-form-template/dynamic-form-template.component.d.ts +0 -11
  77. package/lib/component/dynamic-generic-template/dynamic-generic-template.component.d.ts +0 -20
  78. package/lib/component/dynamic-repeater-template/dynamic-repeater-template.component.d.ts +0 -15
  79. package/lib/component/dynamic-template/dynamic-template.component.d.ts +0 -31
  80. package/lib/component/edit-form/edit-form.component.d.ts +0 -62
  81. package/lib/component/field/boolean-editor/boolean-editor.component.d.ts +0 -23
  82. package/lib/component/field/button-editor/button-editor.component.d.ts +0 -25
  83. package/lib/component/field/code-area-editor/code-area-editor.component.d.ts +0 -20
  84. package/lib/component/field/color-editor/color-editor.component.d.ts +0 -23
  85. package/lib/component/field/date-editor/date-editor.component.d.ts +0 -25
  86. package/lib/component/field/dictionary-editor/dictionary-editor.component.d.ts +0 -35
  87. package/lib/component/field/field-editor/field-editor.component.d.ts +0 -65
  88. package/lib/component/field/field-filter/field-filter.component.d.ts +0 -43
  89. package/lib/component/field/html-editor/html-editor.component.d.ts +0 -24
  90. package/lib/component/field/lookup-editor/lookup-editor.component.d.ts +0 -35
  91. package/lib/component/field/number-editor/number-editor.component.d.ts +0 -26
  92. package/lib/component/field/point-filter/point-filter.component.d.ts +0 -34
  93. package/lib/component/field/property-array-editor/property-array-editor.component.d.ts +0 -27
  94. package/lib/component/field/property-object-editor/property-object-editor.component.d.ts +0 -26
  95. package/lib/component/field/text-area-editor/text-area-editor.component.d.ts +0 -24
  96. package/lib/component/field/text-editor/text-editor.component.d.ts +0 -25
  97. package/lib/component/field/tree-view-selector/tree-view-selector.component.d.ts +0 -22
  98. package/lib/component/field/upload-editor/upload-editor.component.d.ts +0 -38
  99. package/lib/component/filter-bar/filter-bar.component.d.ts +0 -67
  100. package/lib/component/image-wrapper/image-wrapper.component.d.ts +0 -15
  101. package/lib/component/list-grid/list-grid.component.d.ts +0 -238
  102. package/lib/component/map-list/map-list.component.d.ts +0 -137
  103. package/lib/component/meta-menu/meta-menu.component.d.ts +0 -97
  104. package/lib/component/metadata-editor/metadata-editor.component.d.ts +0 -125
  105. package/lib/component/pager/pager.component.d.ts +0 -41
  106. package/lib/component/parametric-dialog/parametric-dialog.component.d.ts +0 -44
  107. package/lib/component/report-designer/report-designer.component.d.ts +0 -19
  108. package/lib/component/report-viewer/report-viewer.component.d.ts +0 -20
  109. package/lib/component/scheduler-list/scheduler-list.component.d.ts +0 -54
  110. package/lib/component/split/gutter/gutter-num-token.d.ts +0 -7
  111. package/lib/component/split/gutter/split-gutter-dynamic-injector.directive.d.ts +0 -19
  112. package/lib/component/split/gutter/split-gutter.directive.d.ts +0 -54
  113. package/lib/component/split/helpers/angular-split-config.token.d.ts +0 -20
  114. package/lib/component/split/helpers/models.d.ts +0 -11
  115. package/lib/component/split/helpers/split-custom-events-behavior.directive.d.ts +0 -22
  116. package/lib/component/split/helpers/utils.d.ts +0 -30
  117. package/lib/component/split/helpers/validations.d.ts +0 -3
  118. package/lib/component/split/split.component.d.ts +0 -65
  119. package/lib/component/split-area/split-area.component.d.ts +0 -36
  120. package/lib/component/spreadsheet-list/spreadsheet-list.component.d.ts +0 -132
  121. package/lib/component/tab-panel-wrapper/tab-panel-wrapper.component.d.ts +0 -6
  122. package/lib/component/tab-view-wrapper/tab-view-wrapper.component.d.ts +0 -8
  123. package/lib/component/tree-list/tree-list.component.d.ts +0 -43
  124. package/lib/component/workflow-designer/workflow-designer-node.component.d.ts +0 -50
  125. package/lib/component/workflow-designer/workflow-designer.component.d.ts +0 -262
  126. package/lib/component/workflow-runner/workflow-runner.component.d.ts +0 -91
  127. package/lib/directive/angular-resizable.directive.d.ts +0 -153
  128. package/lib/directive/classes/ngx-draggable-point.d.ts +0 -5
  129. package/lib/directive/classes/ngx-draggable-rect.d.ts +0 -27
  130. package/lib/directive/data-bound.directive.d.ts +0 -16
  131. package/lib/directive/events/ngx-draggable-dom-bounds-check-event.d.ts +0 -32
  132. package/lib/directive/events/ngx-draggable-dom-move-event.d.ts +0 -28
  133. package/lib/directive/helpers/helper-block.d.ts +0 -12
  134. package/lib/directive/helpers/ngx-draggable-dom-math.d.ts +0 -65
  135. package/lib/directive/helpers/ngx-draggable-dom-utilities.d.ts +0 -26
  136. package/lib/directive/helpers/resize-handle.d.ts +0 -14
  137. package/lib/directive/models/position.d.ts +0 -21
  138. package/lib/directive/models/resize-event.d.ts +0 -16
  139. package/lib/directive/models/resize-handle-type.d.ts +0 -11
  140. package/lib/directive/models/size.d.ts +0 -12
  141. package/lib/directive/ngx-draggable-dom.directive.d.ts +0 -175
  142. package/lib/handler/GlobalHandler.d.ts +0 -11
  143. package/lib/handler/mime.d.ts +0 -11
  144. package/lib/pipe/async-callback.pipe.d.ts +0 -11
  145. package/lib/pipe/available-operators.pipe.d.ts +0 -8
  146. package/lib/pipe/callback.pipe.d.ts +0 -7
  147. package/lib/pipe/callback2.pipe.d.ts +0 -7
  148. package/lib/pipe/format-grid-view-value.pipe.d.ts +0 -8
  149. package/lib/pipe/get-src-upload-preview.pipe.d.ts +0 -9
  150. package/lib/pipe/is-selected-row.pipe.d.ts +0 -8
  151. package/lib/pipe/prop-converter.pipe.d.ts +0 -7
  152. package/lib/pipe/show-filter-bar.pipe.d.ts +0 -9
  153. package/lib/pipe/to-date.pipe.d.ts +0 -7
  154. package/lib/pipe/visible-field-list.pipe.d.ts +0 -7
  155. package/lib/service/auth-session.service.d.ts +0 -52
  156. package/lib/service/client-side-crud.service.d.ts +0 -35
  157. package/lib/service/data-provider-meta.service.d.ts +0 -32
  158. package/lib/service/data-provider-odata.service.d.ts +0 -18
  159. package/lib/service/data-provider-webservice.service.d.ts +0 -15
  160. package/lib/service/data-provider.service.d.ts +0 -64
  161. package/lib/service/metadata-editor.service.d.ts +0 -16
  162. package/lib/service/metadata-provider.service.d.ts +0 -160
  163. package/lib/service/translation-manager.service.d.ts +0 -38
  164. package/lib/service/user-info.service.d.ts +0 -24
  165. package/lib/service/workflow-runtime-menu.service.d.ts +0 -15
  166. package/lib/service/workflow-runtime-metadata.service.d.ts +0 -28
  167. package/lib/service/wtoolbox.service.d.ts +0 -145
  168. package/public-api.d.ts +0 -48
@@ -0,0 +1,70 @@
1
+ import { NgComponentOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { Input, Component } from '@angular/core';
4
+ import { M as MetadatiColonna, a as MetaInfo } from './wuic-framework-lib-wuic-framework-lib-CXZ0usmZ.mjs';
5
+
6
+ /**
7
+ * Module-scope cache della promise di import dinamico di `CodeEditorComponent`.
8
+ * Senza questa cache, ogni istanza di questo lazy wrapper chiamerebbe `import(...)`
9
+ * separatamente (microtask + change detection extra). Con la cache, il primo
10
+ * arrivato innesca l'import; i successivi attendono la stessa promise gia risolta.
11
+ *
12
+ * IMPORTANTE per il bundle: l'`import(...)` dinamico dentro `ngOnInit` e' l'unico
13
+ * riferimento a `./code-editor.component` da questo wrapper. Siccome
14
+ * `code-editor.component` importa a sua volta `monaco-editor` staticamente, il
15
+ * bundler Angular (esbuild) estrae tutta la catena (CodeEditorComponent + Monaco
16
+ * ~3.4 MB + parser SQL/TS) in un chunk separato caricato on-demand SOLO quando
17
+ * l'utente tocca un campo `code_editor` / `html_area`. ~85-90% degli utenti
18
+ * non usa mai il code editor → risparmio ~3 MB sul chunk principale.
19
+ */
20
+ let codeEditorComponentPromise = null;
21
+ class LazyCodeEditorComponent {
22
+ cdr;
23
+ field = new MetadatiColonna('');
24
+ record;
25
+ metaInfo = new MetaInfo();
26
+ loadedComponent = null;
27
+ constructor(cdr) {
28
+ this.cdr = cdr;
29
+ }
30
+ async ngOnInit() {
31
+ codeEditorComponentPromise ??= import('./wuic-framework-lib-wuic-framework-lib-CXZ0usmZ.mjs').then(function (n) { return n.b2; }).then((m) => m.CodeEditorComponent);
32
+ this.loadedComponent = await codeEditorComponentPromise;
33
+ this.cdr.markForCheck();
34
+ }
35
+ componentInputs() {
36
+ return {
37
+ field: this.field,
38
+ record: this.record,
39
+ metaInfo: this.metaInfo
40
+ };
41
+ }
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: LazyCodeEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
43
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: LazyCodeEditorComponent, isStandalone: true, selector: "wuic-code-editor-lazy", inputs: { field: "field", record: "record", metaInfo: "metaInfo" }, ngImport: i0, template: `
44
+ @if (loadedComponent) {
45
+ <ng-container *ngComponentOutlet="loadedComponent; inputs: componentInputs()" />
46
+ }
47
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: LazyCodeEditorComponent, decorators: [{
50
+ type: Component,
51
+ args: [{
52
+ selector: 'wuic-code-editor-lazy',
53
+ standalone: true,
54
+ imports: [NgComponentOutlet],
55
+ template: `
56
+ @if (loadedComponent) {
57
+ <ng-container *ngComponentOutlet="loadedComponent; inputs: componentInputs()" />
58
+ }
59
+ `
60
+ }]
61
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { field: [{
62
+ type: Input
63
+ }], record: [{
64
+ type: Input
65
+ }], metaInfo: [{
66
+ type: Input
67
+ }] } });
68
+
69
+ export { LazyCodeEditorComponent };
70
+ //# sourceMappingURL=wuic-framework-lib-code-editor.lazy.component-Bz--9_hc.mjs.map
@@ -0,0 +1,6 @@
1
+ export { AuthSessionService, CustomException, GlobalHandler, MetadataEditorService, MetadataProviderService, MetadatiColonna, MetadatiTabella, PRIMARY_PALETTES, TranslationManagerService, UserInfoService, WtoolboxService, authExpiredInterceptor, getThemeOptions } from 'wuic-framework-lib';
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+ //# sourceMappingURL=wuic-framework-lib-core.mjs.map