@smartsoft001/angular 2.191.0 → 2.192.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/angular",
3
- "version": "2.191.0",
3
+ "version": "2.192.0",
4
4
  "description": "The Angular UI library: standalone smart-* components, the services, pipes and providers behind them, and the form factory that turns model metadata into a reactive form.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,9 +24,9 @@
24
24
  "@ngrx/effects": "^22.0.1",
25
25
  "@ngrx/store": "^22.0.1",
26
26
  "@ngx-translate/core": "^17.0.0",
27
- "@smartsoft001/domain-core": "2.191.0",
28
- "@smartsoft001/models": "2.191.0",
29
- "@smartsoft001/utils": "2.191.0",
27
+ "@smartsoft001/domain-core": "2.192.0",
28
+ "@smartsoft001/models": "2.192.0",
29
+ "@smartsoft001/utils": "2.192.0",
30
30
  "ng-dynamic-component": "^11.0.0",
31
31
  "ng-lazyload-image": "^9.1.3",
32
32
  "ngx-color-picker": "^20.1.1",
@@ -3178,6 +3178,27 @@ declare class DrawerComponent {
3178
3178
  cssClass: string;
3179
3179
  }>;
3180
3180
  private readonly outlet;
3181
+ /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
3182
+ private readonly contentTemplate;
3183
+ private readonly destroyRef;
3184
+ private readonly renderer;
3185
+ private projectedNodes?;
3186
+ /**
3187
+ * The projected content as `NgComponentOutlet` content, so an implementation
3188
+ * registered through `DRAWER_STANDARD_COMPONENT_TOKEN` receives it in its
3189
+ * (default) `<ng-content>` slot.
3190
+ *
3191
+ * The outlet takes DOM nodes, not a template, so the content template is
3192
+ * rendered once into a detached view, destroyed with the wrapper. That view
3193
+ * only holds the `<ng-content>` instruction: the projected nodes belong to
3194
+ * the host's view, which keeps change-detecting them. Its root nodes are
3195
+ * moved into a single `display: contents` element, and that element is what
3196
+ * gets projected: the implementation moves just that node in and out when it
3197
+ * shows or hides its slot (e.g. on open / close), and control flow at the root
3198
+ * of the content keeps inserting its nodes next to its anchor inside it.
3199
+ * Memoised, because a new array makes the outlet re-create the component.
3200
+ */
3201
+ protected projectedContent(): Node[][];
3181
3202
  constructor();
3182
3203
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent, never>;
3183
3204
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "smart-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "cssClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["*"], true, never>;