@skill-map/cli 0.49.0 → 0.50.1
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/cli.js +9 -7
- package/dist/index.js +3 -3
- package/dist/kernel/index.js +3 -3
- package/dist/ui/{chunk-RDYHTZW7.js → chunk-4N5LGWJ4.js} +2 -2
- package/dist/ui/{chunk-LBYK5DLL.js → chunk-76APRPAZ.js} +4 -4
- package/dist/ui/chunk-AEA5GIA7.js +1 -0
- package/dist/ui/{chunk-YA64YJXF.js → chunk-BV323KTK.js} +1 -1
- package/dist/ui/{chunk-7EVKMO5A.js → chunk-DOWLJNMD.js} +1 -1
- package/dist/ui/chunk-DQEAPUE5.js +2349 -0
- package/dist/ui/chunk-FQQYWQV6.js +1 -0
- package/dist/ui/{chunk-QKL5B4RS.js → chunk-OYCCFH2S.js} +1 -1
- package/dist/ui/chunk-VJ57LHDR.js +4 -0
- package/dist/ui/{chunk-FDJ5FDGM.js → chunk-WMGW2UAL.js} +2 -2
- package/dist/ui/{chunk-YV7KWLC4.js → chunk-WQMZOINB.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/dist/ui/{main-EVGVBPDA.js → main-I3HSF6GU.js} +3 -3
- package/dist/ui/{styles-HWRPHKTJ.css → styles-O3EXBCXH.css} +1 -1
- package/package.json +2 -2
- package/dist/ui/chunk-MO37AU3M.js +0 -1
- package/dist/ui/chunk-NV5DRQPL.js +0 -4
- package/dist/ui/chunk-OUNBYGMY.js +0 -1
- package/dist/ui/chunk-YRBZKMG6.js +0 -2610
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// cli/entry.ts
|
|
2
2
|
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d01bcaaf-2cc8-5f97-915b-f8aac50c50c0")}catch(e){}}();
|
|
4
4
|
import { existsSync as existsSync33 } from "fs";
|
|
5
5
|
import { Builtins, Cli as Cli2 } from "clipanion";
|
|
6
6
|
|
|
@@ -246,7 +246,7 @@ function bucketByKind(kind, instance, bag) {
|
|
|
246
246
|
// package.json
|
|
247
247
|
var package_default = {
|
|
248
248
|
name: "@skill-map/cli",
|
|
249
|
-
version: "0.
|
|
249
|
+
version: "0.50.1",
|
|
250
250
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
251
251
|
license: "MIT",
|
|
252
252
|
type: "module",
|
|
@@ -2865,11 +2865,13 @@ function isPathStyleLink(link) {
|
|
|
2865
2865
|
// plugins/core/analyzers/reference-redundant/text.ts
|
|
2866
2866
|
var REFERENCE_REDUNDANT_TEXTS = {
|
|
2867
2867
|
/**
|
|
2868
|
-
* Multi-form / multi-occurrence reference message.
|
|
2869
|
-
*
|
|
2870
|
-
*
|
|
2868
|
+
* Multi-form / multi-occurrence reference message. Short and direct:
|
|
2869
|
+
* names the duplicated target + count and lists each occurrence
|
|
2870
|
+
* (trigger + line) so the operator sees the offending spots at a
|
|
2871
|
+
* glance. The source node is the finding's own node, so it is not
|
|
2872
|
+
* repeated here.
|
|
2871
2873
|
*/
|
|
2872
|
-
message: "
|
|
2874
|
+
message: "Duplicate reference to {{resolvedTarget}} ({{count}} occurrences): {{occurrences}}.",
|
|
2873
2875
|
/** Inline separator between occurrences in the message. */
|
|
2874
2876
|
occurrenceSeparator: ", ",
|
|
2875
2877
|
/** Per-occurrence formatting (trigger + line). */
|
|
@@ -29488,4 +29490,4 @@ function resolveBareDefault() {
|
|
|
29488
29490
|
process.exit(ExitCode.Error);
|
|
29489
29491
|
}
|
|
29490
29492
|
//# sourceMappingURL=cli.js.map
|
|
29491
|
-
//# debugId=
|
|
29493
|
+
//# debugId=d01bcaaf-2cc8-5f97-915b-f8aac50c50c0
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// kernel/i18n/registry.texts.ts
|
|
2
2
|
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="66c91062-e32c-5685-861d-a744103465f8")}catch(e){}}();
|
|
4
4
|
var REGISTRY_TEXTS = {
|
|
5
5
|
duplicateExtension: "Extension already registered: {{kind}}:{{qualifiedId}}",
|
|
6
6
|
unknownKind: "Unknown extension kind: {{kind}}",
|
|
@@ -102,7 +102,7 @@ import { Tiktoken as Tiktoken2 } from "js-tiktoken/lite";
|
|
|
102
102
|
// package.json
|
|
103
103
|
var package_default = {
|
|
104
104
|
name: "@skill-map/cli",
|
|
105
|
-
version: "0.
|
|
105
|
+
version: "0.50.1",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -3822,4 +3822,4 @@ export {
|
|
|
3822
3822
|
runScanWithRenames
|
|
3823
3823
|
};
|
|
3824
3824
|
//# sourceMappingURL=index.js.map
|
|
3825
|
-
//# debugId=
|
|
3825
|
+
//# debugId=66c91062-e32c-5685-861d-a744103465f8
|
package/dist/kernel/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// kernel/i18n/registry.texts.ts
|
|
2
2
|
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5eafad04-57ec-5e2c-8393-b41c660681d9")}catch(e){}}();
|
|
4
4
|
var REGISTRY_TEXTS = {
|
|
5
5
|
duplicateExtension: "Extension already registered: {{kind}}:{{qualifiedId}}",
|
|
6
6
|
unknownKind: "Unknown extension kind: {{kind}}",
|
|
@@ -102,7 +102,7 @@ import { Tiktoken as Tiktoken2 } from "js-tiktoken/lite";
|
|
|
102
102
|
// package.json
|
|
103
103
|
var package_default = {
|
|
104
104
|
name: "@skill-map/cli",
|
|
105
|
-
version: "0.
|
|
105
|
+
version: "0.50.1",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -3822,4 +3822,4 @@ export {
|
|
|
3822
3822
|
runScanWithRenames
|
|
3823
3823
|
};
|
|
3824
3824
|
//# sourceMappingURL=index.js.map
|
|
3825
|
-
//# debugId=
|
|
3825
|
+
//# debugId=5eafad04-57ec-5e2c-8393-b41c660681d9
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as Ln,B as zn,D as Vn,E as qt,F as ft,G as Fn,H as gt,J as Ne,K as Bn,N as An,O as Te,P as Nn,Q as rt,R as Ot,a as xe,b as lt,c as wn,f as En,g as St,i as Sn,j as _e,k as F,l as Ae,m as le,p as at,s as On,t as Mn,u as kn,v as ee,w as ae,x,y as Se,z as Dn}from"./chunk-
|
|
1
|
+
import{A as Ln,B as zn,D as Vn,E as qt,F as ft,G as Fn,H as gt,J as Ne,K as Bn,N as An,O as Te,P as Nn,Q as rt,R as Ot,a as xe,b as lt,c as wn,f as En,g as St,i as Sn,j as _e,k as F,l as Ae,m as le,p as at,s as On,t as Mn,u as kn,v as ee,w as ae,x,y as Se,z as Dn}from"./chunk-DOWLJNMD.js";import{A as Tt,C as It,E as Ke,G as Rt,I as Cn,J as Ze,K as wt,N as xn,O as st,P as Ht,Q as jt,R as Tn,T as Et,U as Be,V as We,X as $t,a as hn,b as ot,ca as In,d as Qe,fa as Qt,g as fn,h as Nt,k as gn,l as Pt,m as ut,n as _n,o as bn,p as ht,r as yn,u as Ee,v as Ce,w as vn,x as xt,y as Ge}from"./chunk-4SG4352Z.js";import{c as it,e as Ct,f as we,g as qe,h as he,i as te,j as Fe,s as un}from"./chunk-WMGW2UAL.js";import{$a as d,$b as cn,Ab as k,Db as Q,Dc as g,Ea as vt,Eb as et,Ec as ve,Fb as V,Fc as At,Ha as c,Hb as r,Ib as fe,J as Xe,Jb as de,K as Y,Kb as ge,L as ne,Lb as $e,Mb as u,N as X,Nb as h,P as y,Qa as ke,Rb as be,Sb as tt,Tb as rn,Ub as Oe,V as I,Vb as f,W as w,Wa as z,Wb as Ie,X as $,Xa as ie,Xb as De,Ya as je,Yb as Ft,Za as oe,_ as tn,_a as O,ac as dn,ba as E,bc as pn,ca as ze,fc as J,ga as ce,gc as nt,hc as H,ia as Je,ib as M,ic as Ve,jb as on,jc as mn,ka as S,kb as sn,lb as A,mb as N,oc as q,pa as nn,pb as ln,qb as an,qc as Bt,rb as a,rc as se,sb as _,sc as ue,tb as b,tc as m,ub as j,vb as Re,wb as He,xb as me,yb as G,zb as K}from"./chunk-VJ57LHDR.js";import{a as Z,b as mt}from"./chunk-WCABR6TI.js";var Pn=`
|
|
2
2
|
.p-iconfield {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: block;
|
|
@@ -1063,4 +1063,4 @@ import{A as Ln,B as zn,D as Vn,E as qt,F as ft,G as Fn,H as gt,J as Ne,K as Bn,N
|
|
|
1063
1063
|
grid-template-rows: 0fr;
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
|
-
`;var Rr=["container"],Hr=["icon"],jr=["closeicon"],$r=["*"],Qr=t=>({closeCallback:t});function qr(t,l){t&1&&k(0)}function Gr(t,l){if(t&1&&d(0,qr,1,0,"ng-container",4),t&2){let e=r();a("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)}}function Kr(t,l){if(t&1&&j(0,"i",1),t&2){let e=r();f(e.cn(e.cx("icon"),e.icon)),a("pBind",e.ptm("icon")),M("data-p",e.dataP)}}function Zr(t,l){t&1&&k(0)}function Wr(t,l){if(t&1&&d(0,Zr,1,0,"ng-container",5),t&2){let e=r();a("ngTemplateOutlet",e.containerTemplate||e._containerTemplate)("ngTemplateOutletContext",H(2,Qr,e.closeCallback))}}function Ur(t,l){if(t&1&&j(0,"span",9),t&2){let e=r(3);a("pBind",e.ptm("text"))("ngClass",e.cx("text"))("innerHTML",e.text,vt),M("data-p",e.dataP)}}function Yr(t,l){if(t&1&&(_(0,"div"),d(1,Ur,1,4,"span",8),b()),t&2){let e=r(2);c(),a("ngIf",!e.escape)}}function Xr(t,l){if(t&1&&(_(0,"span",7),Ie(1),b()),t&2){let e=r(3);a("pBind",e.ptm("text"))("ngClass",e.cx("text")),M("data-p",e.dataP),c(),De(e.text)}}function Jr(t,l){if(t&1&&d(0,Xr,2,4,"span",10),t&2){let e=r(2);a("ngIf",e.escape&&e.text)}}function ec(t,l){if(t&1&&(d(0,Yr,2,1,"div",6)(1,Jr,1,1,"ng-template",null,0,q),_(3,"span",7),de(4),b()),t&2){let e=be(2),n=r();a("ngIf",!n.escape)("ngIfElse",e),c(3),a("pBind",n.ptm("text"))("ngClass",n.cx("text")),M("data-p",n.dataP)}}function tc(t,l){if(t&1&&j(0,"i",7),t&2){let e=r(2);f(e.cn(e.cx("closeIcon"),e.closeIcon)),a("pBind",e.ptm("closeIcon"))("ngClass",e.closeIcon),M("data-p",e.dataP)}}function nc(t,l){t&1&&k(0)}function ic(t,l){if(t&1&&d(0,nc,1,0,"ng-container",4),t&2){let e=r(2);a("ngTemplateOutlet",e.closeIconTemplate||e._closeIconTemplate)}}function oc(t,l){if(t&1&&($(),j(0,"svg",14)),t&2){let e=r(2);f(e.cx("closeIcon")),a("pBind",e.ptm("closeIcon")),M("data-p",e.dataP)}}function sc(t,l){if(t&1){let e=Q();_(0,"button",11),V("click",function(i){I(e);let o=r();return w(o.close(i))}),A(1,tc,1,5,"i",12),A(2,ic,1,1,"ng-container"),A(3,oc,1,4,":svg:svg",13),b()}if(t&2){let e=r();f(e.cx("closeButton")),a("pBind",e.ptm("closeButton")),M("aria-label",e.closeAriaLabel)("data-p",e.dataP),c(),N(e.closeIcon?1:-1),c(),N(e.closeIconTemplate||e._closeIconTemplate?2:-1),c(),N(!e.closeIconTemplate&&!e._closeIconTemplate&&!e.closeIcon?3:-1)}}var lc={root:({instance:t})=>["p-message p-component p-message-"+t.severity,t.variant&&"p-message-"+t.variant,{"p-message-sm":t.size==="small","p-message-lg":t.size==="large"}],contentWrapper:"p-message-content-wrapper",content:"p-message-content",icon:"p-message-icon",text:"p-message-text",closeButton:"p-message-close-button",closeIcon:"p-message-close-icon"},Ri=(()=>{class t extends le{name="message";style=Pi;classes=lc;static \u0275fac=(()=>{let e;return function(i){return(e||(e=S(t)))(i||t)}})();static \u0275prov=Y({token:t,factory:t.\u0275fac})}return t})();var Hi=new X("MESSAGE_INSTANCE"),ac=(()=>{class t extends ae{componentName="Message";_componentStyle=y(Ri);bindDirectiveInstance=y(x,{self:!0});$pcMessage=y(Hi,{optional:!0,skipSelf:!0})??void 0;onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}severity="info";text;escape=!0;style;styleClass;closable=!1;icon;closeIcon;life;showTransitionOptions="300ms ease-out";hideTransitionOptions="200ms cubic-bezier(0.86, 0, 0.07, 1)";size;variant;motionOptions=m(void 0);computedMotionOptions=se(()=>Z(Z({},this.ptm("motion")),this.motionOptions()));onClose=new E;get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}visible=ce(!0);containerTemplate;iconTemplate;closeIconTemplate;templates;_containerTemplate;_iconTemplate;_closeIconTemplate;closeCallback=e=>{this.close(e)};onInit(){this.life&&setTimeout(()=>{this.visible.set(!1)},this.life)}onAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"container":this._containerTemplate=e.template;break;case"icon":this._iconTemplate=e.template;break;case"closeicon":this._closeIconTemplate=e.template;break}})}close(e){this.visible.set(!1),this.onClose.emit({originalEvent:e})}get dataP(){return this.cn({outlined:this.variant==="outlined",simple:this.variant==="simple",[this.severity]:this.severity,[this.size]:this.size})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=S(t)))(i||t)}})();static \u0275cmp=z({type:t,selectors:[["p-message"]],contentQueries:function(n,i,o){if(n&1&&ge(o,Rr,4)(o,Hr,4)(o,jr,4)(o,_e,4),n&2){let s;u(s=h())&&(i.containerTemplate=s.first),u(s=h())&&(i.iconTemplate=s.first),u(s=h())&&(i.closeIconTemplate=s.first),u(s=h())&&(i.templates=s)}},hostAttrs:["role","alert","aria-live","polite"],hostVars:5,hostBindings:function(n,i){n&1&&(on(function(){return"p-message-enter-active"}),sn(function(){return"p-message-leave-active"})),n&2&&(M("data-p",i.dataP),f(i.cn(i.cx("root"),i.styleClass)),rn("p-message-leave-active",!i.visible()))},inputs:{severity:"severity",text:"text",escape:[2,"escape","escape",g],style:"style",styleClass:"styleClass",closable:[2,"closable","closable",g],icon:"icon",closeIcon:"closeIcon",life:"life",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",size:"size",variant:"variant",motionOptions:[1,"motionOptions"]},outputs:{onClose:"onClose"},features:[J([Ri,{provide:Hi,useExisting:t},{provide:ee,useExisting:t}]),oe([x]),O],ngContentSelectors:$r,decls:7,vars:12,consts:[["escapeOut",""],[3,"pBind"],[3,"pBind","class"],["pRipple","","type","button",3,"pBind","class"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],[3,"pBind","ngClass"],[3,"pBind","ngClass","innerHTML",4,"ngIf"],[3,"pBind","ngClass","innerHTML"],[3,"pBind","ngClass",4,"ngIf"],["pRipple","","type","button",3,"click","pBind"],[3,"pBind","class","ngClass"],["data-p-icon","times",3,"pBind","class"],["data-p-icon","times",3,"pBind"]],template:function(n,i){n&1&&(fe(),_(0,"div",1)(1,"div",1),A(2,Gr,1,1,"ng-container"),A(3,Kr,1,4,"i",2),A(4,Wr,1,4,"ng-container")(5,ec,5,5),A(6,sc,4,8,"button",3),b()()),n&2&&(f(i.cx("contentWrapper")),a("pBind",i.ptm("contentWrapper")),M("data-p",i.dataP),c(),f(i.cx("content")),a("pBind",i.ptm("content")),M("data-p",i.dataP),c(),N(i.iconTemplate||i._iconTemplate?2:-1),c(),N(i.icon?3:-1),c(),N(i.containerTemplate||i._containerTemplate?4:5),c(2),N(i.closable?6:-1))},dependencies:[te,it,we,he,ct,rt,F,x,dt],encapsulation:2,changeDetection:0})}return t})(),bh=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ie({type:t});static \u0275inj=ne({imports:[ac,F,F]})}return t})();var Ih=(()=>{class t{sanitizer=y(un);libsPromise=null;async render(e){let n=await this.loadLibs(),i=n.md.render(e),o=n.purify.sanitize(i);return this.sanitizer.bypassSecurityTrustHtml(o)}async renderInline(e){let n=await this.loadLibs(),i=n.md.renderInline(e),o=n.purify.sanitize(i);return this.sanitizer.bypassSecurityTrustHtml(o)}async renderToHtml(e){let n=await this.loadLibs(),i=n.md.render(e);return n.purify.sanitize(i)}loadLibs(){return this.libsPromise||(this.libsPromise=cc()),this.libsPromise}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rc=/^(?:(?:https?|mailto|tel):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i;async function cc(){let[t,l]=await Promise.all([import("./chunk-LGFABCIA.js"),import("./chunk-S4S5ZMXJ.js")]),e=t.default,n=new e({html:!1,linkify:!0}),i=l.default;return i.setConfig({ALLOWED_URI_REGEXP:rc,FORBID_TAGS:["style"],FORBID_ATTR:["style","srcset"]}),{md:n,purify:i}}export{Gt as a,Tc as b,Kt as c,Ac as d,qn as e,Gn as f,
|
|
1066
|
+
`;var Rr=["container"],Hr=["icon"],jr=["closeicon"],$r=["*"],Qr=t=>({closeCallback:t});function qr(t,l){t&1&&k(0)}function Gr(t,l){if(t&1&&d(0,qr,1,0,"ng-container",4),t&2){let e=r();a("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)}}function Kr(t,l){if(t&1&&j(0,"i",1),t&2){let e=r();f(e.cn(e.cx("icon"),e.icon)),a("pBind",e.ptm("icon")),M("data-p",e.dataP)}}function Zr(t,l){t&1&&k(0)}function Wr(t,l){if(t&1&&d(0,Zr,1,0,"ng-container",5),t&2){let e=r();a("ngTemplateOutlet",e.containerTemplate||e._containerTemplate)("ngTemplateOutletContext",H(2,Qr,e.closeCallback))}}function Ur(t,l){if(t&1&&j(0,"span",9),t&2){let e=r(3);a("pBind",e.ptm("text"))("ngClass",e.cx("text"))("innerHTML",e.text,vt),M("data-p",e.dataP)}}function Yr(t,l){if(t&1&&(_(0,"div"),d(1,Ur,1,4,"span",8),b()),t&2){let e=r(2);c(),a("ngIf",!e.escape)}}function Xr(t,l){if(t&1&&(_(0,"span",7),Ie(1),b()),t&2){let e=r(3);a("pBind",e.ptm("text"))("ngClass",e.cx("text")),M("data-p",e.dataP),c(),De(e.text)}}function Jr(t,l){if(t&1&&d(0,Xr,2,4,"span",10),t&2){let e=r(2);a("ngIf",e.escape&&e.text)}}function ec(t,l){if(t&1&&(d(0,Yr,2,1,"div",6)(1,Jr,1,1,"ng-template",null,0,q),_(3,"span",7),de(4),b()),t&2){let e=be(2),n=r();a("ngIf",!n.escape)("ngIfElse",e),c(3),a("pBind",n.ptm("text"))("ngClass",n.cx("text")),M("data-p",n.dataP)}}function tc(t,l){if(t&1&&j(0,"i",7),t&2){let e=r(2);f(e.cn(e.cx("closeIcon"),e.closeIcon)),a("pBind",e.ptm("closeIcon"))("ngClass",e.closeIcon),M("data-p",e.dataP)}}function nc(t,l){t&1&&k(0)}function ic(t,l){if(t&1&&d(0,nc,1,0,"ng-container",4),t&2){let e=r(2);a("ngTemplateOutlet",e.closeIconTemplate||e._closeIconTemplate)}}function oc(t,l){if(t&1&&($(),j(0,"svg",14)),t&2){let e=r(2);f(e.cx("closeIcon")),a("pBind",e.ptm("closeIcon")),M("data-p",e.dataP)}}function sc(t,l){if(t&1){let e=Q();_(0,"button",11),V("click",function(i){I(e);let o=r();return w(o.close(i))}),A(1,tc,1,5,"i",12),A(2,ic,1,1,"ng-container"),A(3,oc,1,4,":svg:svg",13),b()}if(t&2){let e=r();f(e.cx("closeButton")),a("pBind",e.ptm("closeButton")),M("aria-label",e.closeAriaLabel)("data-p",e.dataP),c(),N(e.closeIcon?1:-1),c(),N(e.closeIconTemplate||e._closeIconTemplate?2:-1),c(),N(!e.closeIconTemplate&&!e._closeIconTemplate&&!e.closeIcon?3:-1)}}var lc={root:({instance:t})=>["p-message p-component p-message-"+t.severity,t.variant&&"p-message-"+t.variant,{"p-message-sm":t.size==="small","p-message-lg":t.size==="large"}],contentWrapper:"p-message-content-wrapper",content:"p-message-content",icon:"p-message-icon",text:"p-message-text",closeButton:"p-message-close-button",closeIcon:"p-message-close-icon"},Ri=(()=>{class t extends le{name="message";style=Pi;classes=lc;static \u0275fac=(()=>{let e;return function(i){return(e||(e=S(t)))(i||t)}})();static \u0275prov=Y({token:t,factory:t.\u0275fac})}return t})();var Hi=new X("MESSAGE_INSTANCE"),ac=(()=>{class t extends ae{componentName="Message";_componentStyle=y(Ri);bindDirectiveInstance=y(x,{self:!0});$pcMessage=y(Hi,{optional:!0,skipSelf:!0})??void 0;onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}severity="info";text;escape=!0;style;styleClass;closable=!1;icon;closeIcon;life;showTransitionOptions="300ms ease-out";hideTransitionOptions="200ms cubic-bezier(0.86, 0, 0.07, 1)";size;variant;motionOptions=m(void 0);computedMotionOptions=se(()=>Z(Z({},this.ptm("motion")),this.motionOptions()));onClose=new E;get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}visible=ce(!0);containerTemplate;iconTemplate;closeIconTemplate;templates;_containerTemplate;_iconTemplate;_closeIconTemplate;closeCallback=e=>{this.close(e)};onInit(){this.life&&setTimeout(()=>{this.visible.set(!1)},this.life)}onAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"container":this._containerTemplate=e.template;break;case"icon":this._iconTemplate=e.template;break;case"closeicon":this._closeIconTemplate=e.template;break}})}close(e){this.visible.set(!1),this.onClose.emit({originalEvent:e})}get dataP(){return this.cn({outlined:this.variant==="outlined",simple:this.variant==="simple",[this.severity]:this.severity,[this.size]:this.size})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=S(t)))(i||t)}})();static \u0275cmp=z({type:t,selectors:[["p-message"]],contentQueries:function(n,i,o){if(n&1&&ge(o,Rr,4)(o,Hr,4)(o,jr,4)(o,_e,4),n&2){let s;u(s=h())&&(i.containerTemplate=s.first),u(s=h())&&(i.iconTemplate=s.first),u(s=h())&&(i.closeIconTemplate=s.first),u(s=h())&&(i.templates=s)}},hostAttrs:["role","alert","aria-live","polite"],hostVars:5,hostBindings:function(n,i){n&1&&(on(function(){return"p-message-enter-active"}),sn(function(){return"p-message-leave-active"})),n&2&&(M("data-p",i.dataP),f(i.cn(i.cx("root"),i.styleClass)),rn("p-message-leave-active",!i.visible()))},inputs:{severity:"severity",text:"text",escape:[2,"escape","escape",g],style:"style",styleClass:"styleClass",closable:[2,"closable","closable",g],icon:"icon",closeIcon:"closeIcon",life:"life",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",size:"size",variant:"variant",motionOptions:[1,"motionOptions"]},outputs:{onClose:"onClose"},features:[J([Ri,{provide:Hi,useExisting:t},{provide:ee,useExisting:t}]),oe([x]),O],ngContentSelectors:$r,decls:7,vars:12,consts:[["escapeOut",""],[3,"pBind"],[3,"pBind","class"],["pRipple","","type","button",3,"pBind","class"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],[3,"pBind","ngClass"],[3,"pBind","ngClass","innerHTML",4,"ngIf"],[3,"pBind","ngClass","innerHTML"],[3,"pBind","ngClass",4,"ngIf"],["pRipple","","type","button",3,"click","pBind"],[3,"pBind","class","ngClass"],["data-p-icon","times",3,"pBind","class"],["data-p-icon","times",3,"pBind"]],template:function(n,i){n&1&&(fe(),_(0,"div",1)(1,"div",1),A(2,Gr,1,1,"ng-container"),A(3,Kr,1,4,"i",2),A(4,Wr,1,4,"ng-container")(5,ec,5,5),A(6,sc,4,8,"button",3),b()()),n&2&&(f(i.cx("contentWrapper")),a("pBind",i.ptm("contentWrapper")),M("data-p",i.dataP),c(),f(i.cx("content")),a("pBind",i.ptm("content")),M("data-p",i.dataP),c(),N(i.iconTemplate||i._iconTemplate?2:-1),c(),N(i.icon?3:-1),c(),N(i.containerTemplate||i._containerTemplate?4:5),c(2),N(i.closable?6:-1))},dependencies:[te,it,we,he,ct,rt,F,x,dt],encapsulation:2,changeDetection:0})}return t})(),bh=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ie({type:t});static \u0275inj=ne({imports:[ac,F,F]})}return t})();var Ih=(()=>{class t{sanitizer=y(un);libsPromise=null;async render(e){let n=await this.loadLibs(),i=n.md.render(e),o=n.purify.sanitize(i);return this.sanitizer.bypassSecurityTrustHtml(o)}async renderInline(e){let n=await this.loadLibs(),i=n.md.renderInline(e),o=n.purify.sanitize(i);return this.sanitizer.bypassSecurityTrustHtml(o)}async renderToHtml(e){let n=await this.loadLibs(),i=n.md.render(e);return n.purify.sanitize(i)}loadLibs(){return this.libsPromise||(this.libsPromise=cc()),this.libsPromise}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rc=/^(?:(?:https?|mailto|tel):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i;async function cc(){let[t,l]=await Promise.all([import("./chunk-LGFABCIA.js"),import("./chunk-S4S5ZMXJ.js")]),e=t.default,n=new e({html:!1,linkify:!0}),i=l.default;return i.setConfig({ALLOWED_URI_REGEXP:rc,FORBID_TAGS:["style"],FORBID_ATTR:["style","srcset"]}),{md:n,purify:i}}export{Gt as a,Tc as b,Kt as c,Ac as d,qn as e,Gn as f,ct as g,pt as h,ui as i,Ut as j,ni as k,dt as l,Jt as m,ym as n,ki as o,eu as p,Vt as q,Iu as r,Ni as s,Wu as t,ac as u,bh as v,Yt as w,Ud as x,Ys as y,vp as z,Ih as A};
|