@uxland/primary-shell 8.6.1 → 8.6.3
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/dist/{component-Co_FBT-G.js → component-Cmv1mmHb.js} +2 -2
- package/dist/{component-Co_FBT-G.js.map → component-Cmv1mmHb.js.map} +1 -1
- package/dist/{index-DM0vwBh-.js → index-xt4GWX2V.js} +21798 -21991
- package/dist/index-xt4GWX2V.js.map +1 -0
- package/dist/index.d.ts +21 -30
- package/dist/index.js +1 -1
- package/dist/{plugin-Cw8FruuX.js → plugin-ByTEvLVh.js} +2 -2
- package/dist/{plugin-Cw8FruuX.js.map → plugin-ByTEvLVh.js.map} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/dist/index-DM0vwBh-.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -761,7 +761,7 @@ export declare interface PrimariaPlugin extends Plugin_2 {
|
|
|
761
761
|
*
|
|
762
762
|
* This component internally handles:
|
|
763
763
|
* - Creating a container with the appropriate ID
|
|
764
|
-
* -
|
|
764
|
+
* - Declaring the region for this instance (`regionDefinitions`)
|
|
765
765
|
* - Managing the region lifecycle
|
|
766
766
|
*/
|
|
767
767
|
export declare class PrimariaRegion extends PrimariaRegion_base {
|
|
@@ -778,35 +778,33 @@ export declare class PrimariaRegion extends PrimariaRegion_base {
|
|
|
778
778
|
* Each plugin activates its own view; the adapter deactivates the rest automatically.
|
|
779
779
|
*/
|
|
780
780
|
mode: "multi" | "single";
|
|
781
|
-
/**
|
|
782
|
-
* Render in light DOM instead of shadow DOM.
|
|
783
|
-
* This allows the region content to be visible in the parent's DOM tree.
|
|
784
|
-
*/
|
|
785
|
-
createRenderRoot(): this;
|
|
786
|
-
/**
|
|
787
|
-
* Override shadowRoot getter to return this (light DOM) instead of null.
|
|
788
|
-
* The region mixin tries to find elements using shadowRoot.querySelector(),
|
|
789
|
-
* so we need to make it work with light DOM.
|
|
790
|
-
*/
|
|
791
|
-
get shadowRoot(): ShadowRoot | null;
|
|
792
781
|
/**
|
|
793
782
|
* The region instance created by the region host mixin.
|
|
794
783
|
* Plugins can inject content into this region using the region manager.
|
|
795
784
|
*/
|
|
796
785
|
region: IRegion | undefined;
|
|
797
786
|
/**
|
|
798
|
-
*
|
|
799
|
-
*
|
|
787
|
+
* Render in light DOM instead of shadow DOM, so the region content is visible in the parent's
|
|
788
|
+
* DOM tree. `@uxland/regions` looks up the region target in the render root, so it finds the
|
|
789
|
+
* container in light DOM.
|
|
800
790
|
*/
|
|
801
|
-
|
|
802
|
-
|
|
791
|
+
createRenderRoot(): this;
|
|
792
|
+
private get targetId();
|
|
803
793
|
/**
|
|
804
|
-
*
|
|
805
|
-
*
|
|
794
|
+
* This instance's region, declared from its `name` attribute. Every `primaria-region` declares
|
|
795
|
+
* its own region, so several instances with different names can coexist.
|
|
806
796
|
*/
|
|
797
|
+
get regionDefinitions(): {
|
|
798
|
+
region: {
|
|
799
|
+
name: string;
|
|
800
|
+
targetId: string;
|
|
801
|
+
};
|
|
802
|
+
} | {
|
|
803
|
+
region?: undefined;
|
|
804
|
+
};
|
|
807
805
|
connectedCallback(): void;
|
|
808
806
|
/**
|
|
809
|
-
* Mixin hook fired after
|
|
807
|
+
* Mixin hook fired after the region is created.
|
|
810
808
|
*
|
|
811
809
|
* Hydrates the freshly-created region with every view that has already been
|
|
812
810
|
* registered for this region name via `regionManager.registerViewWithRegion`.
|
|
@@ -817,27 +815,20 @@ export declare class PrimariaRegion extends PrimariaRegion_base {
|
|
|
817
815
|
* registry here makes injection transparent: any plugin can register once
|
|
818
816
|
* and any region with that name auto-populates.
|
|
819
817
|
*/
|
|
820
|
-
regionsCreated(_regions:
|
|
818
|
+
regionsCreated(_regions: IRegion[]): void;
|
|
821
819
|
/**
|
|
822
820
|
* Called when the component is removed from the DOM.
|
|
823
821
|
*
|
|
824
822
|
* The base mixin's `disconnectedCallback` removes the region from the manager
|
|
825
|
-
* but
|
|
826
|
-
*
|
|
827
|
-
* the region. That breaks the "drawer opens, closes, opens again" flow:
|
|
823
|
+
* but keeps `this.region`, so on a later reconnect the region would not be
|
|
824
|
+
* created again. That breaks the "drawer opens, closes, opens again" flow:
|
|
828
825
|
* the second open would render the host but never receive the plugin's
|
|
829
826
|
* view. Clear the reference (and drop the orphan container) so the next
|
|
830
827
|
* connect rebuilds everything from scratch.
|
|
831
828
|
*/
|
|
832
829
|
disconnectedCallback(): void;
|
|
833
830
|
/**
|
|
834
|
-
*
|
|
835
|
-
* Updates the region definition if the name changes.
|
|
836
|
-
*/
|
|
837
|
-
protected willUpdate(changedProperties: Map<PropertyKey, unknown>): void;
|
|
838
|
-
/**
|
|
839
|
-
* Renders nothing because we create the container div manually in connectedCallback.
|
|
840
|
-
* This is necessary because the mixin needs the div to exist before it tries to create the region.
|
|
831
|
+
* Renders nothing because the container is created in connectedCallback.
|
|
841
832
|
*/
|
|
842
833
|
render(): TemplateResult<1>;
|
|
843
834
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as E, w as e, x as s, E as r, y as S, H as t, L as I, z as n, A as T, B as _, F as R, I as P, P as o, J as C, R as D, K as c, M as A, N as l, O as m, u as N, S as O } from "./index-
|
|
1
|
+
import { f as E, w as e, x as s, E as r, y as S, H as t, L as I, z as n, A as T, B as _, F as R, I as P, P as o, J as C, R as D, K as c, M as A, N as l, O as m, u as N, S as O } from "./index-xt4GWX2V.js";
|
|
2
2
|
export {
|
|
3
3
|
E as CIPDS_DIAGNOSTIC_FILTER_HISTORIC_REQUESTED,
|
|
4
4
|
e as CIPDS_SELECTION_REQUEST,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as xe, i as yt, a as ut, G as Tn, n as ee, C as On, D as E, k as h, r as q, b as j, h as Y, t as Q, Q as le, c as os, e as te, f as In, g as En, j as Mn, l as Dn, m as Pn, o as $i, p as Is, q as Fn, s as $n, P as An } from "./index-
|
|
1
|
+
import { d as xe, i as yt, a as ut, G as Tn, n as ee, C as On, D as E, k as h, r as q, b as j, h as Y, t as Q, Q as le, c as os, e as te, f as In, g as En, j as Mn, l as Dn, m as Pn, o as $i, p as Is, q as Fn, s as $n, P as An } from "./index-xt4GWX2V.js";
|
|
2
2
|
const kn = ({ primaryApi: e, store: t }) => {
|
|
3
3
|
class s {
|
|
4
4
|
constructor(o) {
|
|
@@ -8421,4 +8421,4 @@ export {
|
|
|
8421
8421
|
$p as dispose,
|
|
8422
8422
|
Fp as initialize
|
|
8423
8423
|
};
|
|
8424
|
-
//# sourceMappingURL=plugin-
|
|
8424
|
+
//# sourceMappingURL=plugin-ByTEvLVh.js.map
|