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.
- package/fesm2022/wuic-framework-lib-code-editor.lazy.component-Bz--9_hc.mjs +70 -0
- package/fesm2022/wuic-framework-lib-core.mjs +6 -0
- package/fesm2022/wuic-framework-lib-designer.component-CJj2TAfG.mjs +10848 -0
- package/fesm2022/wuic-framework-lib-notifications.mjs +6 -0
- package/fesm2022/wuic-framework-lib-prompt-dialog-fallback-host.component-Dvgs4lWp.mjs +99 -0
- package/fesm2022/wuic-framework-lib-routes.mjs +6 -0
- package/fesm2022/wuic-framework-lib-ui.mjs +6 -0
- package/fesm2022/wuic-framework-lib-widget-loaders.mjs +6 -0
- package/fesm2022/wuic-framework-lib-wuic-framework-lib-CXZ0usmZ.mjs +102042 -0
- package/fesm2022/wuic-framework-lib.mjs +1 -45008
- package/package.json +86 -63
- package/styles/styles.scss +40 -10
- package/types/wuic-framework-lib-core.d.ts +1 -0
- package/types/wuic-framework-lib-notifications.d.ts +1 -0
- package/types/wuic-framework-lib-routes.d.ts +1 -0
- package/types/wuic-framework-lib-ui.d.ts +1 -0
- package/types/wuic-framework-lib-widget-loaders.d.ts +1 -0
- package/types/wuic-framework-lib.d.ts +18189 -0
- package/fesm2022/wuic-framework-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/app.routes.d.ts +0 -2
- package/lib/class/IBindable.d.ts +0 -17
- package/lib/class/IDesigner.d.ts +0 -4
- package/lib/class/IDesignerProperties.d.ts +0 -7
- package/lib/class/IFieldEditor.d.ts +0 -21
- package/lib/class/aggregationInfo.d.ts +0 -5
- package/lib/class/carouselOptions.d.ts +0 -27
- package/lib/class/chartOptions.d.ts +0 -31
- package/lib/class/comboParams.d.ts +0 -12
- package/lib/class/customException.d.ts +0 -6
- package/lib/class/designerTool.d.ts +0 -57
- package/lib/class/filterInfo.d.ts +0 -6
- package/lib/class/filterItem.d.ts +0 -14
- package/lib/class/formOptions.d.ts +0 -5
- package/lib/class/groupInfo.d.ts +0 -7
- package/lib/class/lingua.d.ts +0 -5
- package/lib/class/mapOptions.d.ts +0 -31
- package/lib/class/metaInfo.d.ts +0 -26
- package/lib/class/metadati_colonna.d.ts +0 -234
- package/lib/class/metadati_condition_group.d.ts +0 -30
- package/lib/class/metadati_custom_actions_tabelle.d.ts +0 -19
- package/lib/class/metadati_tabella.d.ts +0 -214
- package/lib/class/metadati_ui_stili_colonna.d.ts +0 -8
- package/lib/class/metadati_ui_stili_tabella.d.ts +0 -7
- package/lib/class/metadati_utenti_autorizzazioni_colonna.d.ts +0 -10
- package/lib/class/rawPagedResult.d.ts +0 -7
- package/lib/class/resultInfo.d.ts +0 -14
- package/lib/class/schedulerOptions.d.ts +0 -14
- package/lib/class/sortInfo.d.ts +0 -5
- package/lib/class/trackedChanges.d.ts +0 -13
- package/lib/class/translation.d.ts +0 -7
- package/lib/class/treeOptions.d.ts +0 -15
- package/lib/class/updateInfo.d.ts +0 -9
- package/lib/class/userInfo.d.ts +0 -19
- package/lib/class/validationRule.d.ts +0 -10
- package/lib/class/widgetDefinition.d.ts +0 -28
- package/lib/component/archetype-configurator/archetype-configurator.component.d.ts +0 -28
- package/lib/component/bounded-repeater/bounded-repeater.component.d.ts +0 -32
- package/lib/component/carousel-list/carousel-list.component.d.ts +0 -66
- package/lib/component/chart-list/chart-list.component.d.ts +0 -135
- package/lib/component/code-editor/code-editor.component.d.ts +0 -86
- package/lib/component/code-editor/editor-options.d.ts +0 -12
- package/lib/component/code-editor/html-parser.d.ts +0 -27
- package/lib/component/code-editor/sql-model.d.ts +0 -87
- package/lib/component/code-editor/sql-parser.d.ts +0 -157
- package/lib/component/code-editor/ts-parser.d.ts +0 -93
- package/lib/component/code-editor/wuic-component-bindings.d.ts +0 -7
- package/lib/component/code-editor/wuic-component-selectors.d.ts +0 -1
- package/lib/component/css-sheet-editor/css-sheet-editor.component.d.ts +0 -71
- package/lib/component/dashboard/dashboard.component.d.ts +0 -12
- package/lib/component/data-action-button/data-action-button.component.d.ts +0 -45
- package/lib/component/data-repeater/data-repeater.component.d.ts +0 -32
- package/lib/component/data-source/data-source.component.d.ts +0 -147
- package/lib/component/designer/designer.component.d.ts +0 -269
- package/lib/component/dynamic-dashboard-template/dynamic-dashboard-template.component.d.ts +0 -39
- package/lib/component/dynamic-form-template/dynamic-form-template.component.d.ts +0 -11
- package/lib/component/dynamic-generic-template/dynamic-generic-template.component.d.ts +0 -20
- package/lib/component/dynamic-repeater-template/dynamic-repeater-template.component.d.ts +0 -15
- package/lib/component/dynamic-template/dynamic-template.component.d.ts +0 -31
- package/lib/component/edit-form/edit-form.component.d.ts +0 -62
- package/lib/component/field/boolean-editor/boolean-editor.component.d.ts +0 -23
- package/lib/component/field/button-editor/button-editor.component.d.ts +0 -25
- package/lib/component/field/code-area-editor/code-area-editor.component.d.ts +0 -20
- package/lib/component/field/color-editor/color-editor.component.d.ts +0 -23
- package/lib/component/field/date-editor/date-editor.component.d.ts +0 -25
- package/lib/component/field/dictionary-editor/dictionary-editor.component.d.ts +0 -35
- package/lib/component/field/field-editor/field-editor.component.d.ts +0 -65
- package/lib/component/field/field-filter/field-filter.component.d.ts +0 -43
- package/lib/component/field/html-editor/html-editor.component.d.ts +0 -24
- package/lib/component/field/lookup-editor/lookup-editor.component.d.ts +0 -35
- package/lib/component/field/number-editor/number-editor.component.d.ts +0 -26
- package/lib/component/field/point-filter/point-filter.component.d.ts +0 -34
- package/lib/component/field/property-array-editor/property-array-editor.component.d.ts +0 -27
- package/lib/component/field/property-object-editor/property-object-editor.component.d.ts +0 -26
- package/lib/component/field/text-area-editor/text-area-editor.component.d.ts +0 -24
- package/lib/component/field/text-editor/text-editor.component.d.ts +0 -25
- package/lib/component/field/tree-view-selector/tree-view-selector.component.d.ts +0 -22
- package/lib/component/field/upload-editor/upload-editor.component.d.ts +0 -38
- package/lib/component/filter-bar/filter-bar.component.d.ts +0 -67
- package/lib/component/image-wrapper/image-wrapper.component.d.ts +0 -15
- package/lib/component/list-grid/list-grid.component.d.ts +0 -238
- package/lib/component/map-list/map-list.component.d.ts +0 -137
- package/lib/component/meta-menu/meta-menu.component.d.ts +0 -97
- package/lib/component/metadata-editor/metadata-editor.component.d.ts +0 -125
- package/lib/component/pager/pager.component.d.ts +0 -41
- package/lib/component/parametric-dialog/parametric-dialog.component.d.ts +0 -44
- package/lib/component/report-designer/report-designer.component.d.ts +0 -19
- package/lib/component/report-viewer/report-viewer.component.d.ts +0 -20
- package/lib/component/scheduler-list/scheduler-list.component.d.ts +0 -54
- package/lib/component/split/gutter/gutter-num-token.d.ts +0 -7
- package/lib/component/split/gutter/split-gutter-dynamic-injector.directive.d.ts +0 -19
- package/lib/component/split/gutter/split-gutter.directive.d.ts +0 -54
- package/lib/component/split/helpers/angular-split-config.token.d.ts +0 -20
- package/lib/component/split/helpers/models.d.ts +0 -11
- package/lib/component/split/helpers/split-custom-events-behavior.directive.d.ts +0 -22
- package/lib/component/split/helpers/utils.d.ts +0 -30
- package/lib/component/split/helpers/validations.d.ts +0 -3
- package/lib/component/split/split.component.d.ts +0 -65
- package/lib/component/split-area/split-area.component.d.ts +0 -36
- package/lib/component/spreadsheet-list/spreadsheet-list.component.d.ts +0 -132
- package/lib/component/tab-panel-wrapper/tab-panel-wrapper.component.d.ts +0 -6
- package/lib/component/tab-view-wrapper/tab-view-wrapper.component.d.ts +0 -8
- package/lib/component/tree-list/tree-list.component.d.ts +0 -43
- package/lib/component/workflow-designer/workflow-designer-node.component.d.ts +0 -50
- package/lib/component/workflow-designer/workflow-designer.component.d.ts +0 -262
- package/lib/component/workflow-runner/workflow-runner.component.d.ts +0 -91
- package/lib/directive/angular-resizable.directive.d.ts +0 -153
- package/lib/directive/classes/ngx-draggable-point.d.ts +0 -5
- package/lib/directive/classes/ngx-draggable-rect.d.ts +0 -27
- package/lib/directive/data-bound.directive.d.ts +0 -16
- package/lib/directive/events/ngx-draggable-dom-bounds-check-event.d.ts +0 -32
- package/lib/directive/events/ngx-draggable-dom-move-event.d.ts +0 -28
- package/lib/directive/helpers/helper-block.d.ts +0 -12
- package/lib/directive/helpers/ngx-draggable-dom-math.d.ts +0 -65
- package/lib/directive/helpers/ngx-draggable-dom-utilities.d.ts +0 -26
- package/lib/directive/helpers/resize-handle.d.ts +0 -14
- package/lib/directive/models/position.d.ts +0 -21
- package/lib/directive/models/resize-event.d.ts +0 -16
- package/lib/directive/models/resize-handle-type.d.ts +0 -11
- package/lib/directive/models/size.d.ts +0 -12
- package/lib/directive/ngx-draggable-dom.directive.d.ts +0 -175
- package/lib/handler/GlobalHandler.d.ts +0 -11
- package/lib/handler/mime.d.ts +0 -11
- package/lib/pipe/async-callback.pipe.d.ts +0 -11
- package/lib/pipe/available-operators.pipe.d.ts +0 -8
- package/lib/pipe/callback.pipe.d.ts +0 -7
- package/lib/pipe/callback2.pipe.d.ts +0 -7
- package/lib/pipe/format-grid-view-value.pipe.d.ts +0 -8
- package/lib/pipe/get-src-upload-preview.pipe.d.ts +0 -9
- package/lib/pipe/is-selected-row.pipe.d.ts +0 -8
- package/lib/pipe/prop-converter.pipe.d.ts +0 -7
- package/lib/pipe/show-filter-bar.pipe.d.ts +0 -9
- package/lib/pipe/to-date.pipe.d.ts +0 -7
- package/lib/pipe/visible-field-list.pipe.d.ts +0 -7
- package/lib/service/auth-session.service.d.ts +0 -52
- package/lib/service/client-side-crud.service.d.ts +0 -35
- package/lib/service/data-provider-meta.service.d.ts +0 -32
- package/lib/service/data-provider-odata.service.d.ts +0 -18
- package/lib/service/data-provider-webservice.service.d.ts +0 -15
- package/lib/service/data-provider.service.d.ts +0 -64
- package/lib/service/metadata-editor.service.d.ts +0 -16
- package/lib/service/metadata-provider.service.d.ts +0 -160
- package/lib/service/translation-manager.service.d.ts +0 -38
- package/lib/service/user-info.service.d.ts +0 -24
- package/lib/service/workflow-runtime-menu.service.d.ts +0 -15
- package/lib/service/workflow-runtime-metadata.service.d.ts +0 -28
- package/lib/service/wtoolbox.service.d.ts +0 -145
- 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
|