@kodaris/krubble-app-components 1.0.119 → 1.0.121
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/chatbot.d.ts.map +1 -1
- package/dist/chatbot.js +9 -7
- package/dist/chatbot.js.map +1 -1
- package/dist/krubble-app.bundled.js +98 -90
- package/dist/krubble-app.bundled.js.map +1 -1
- package/dist/krubble-app.bundled.min.js +61 -67
- package/dist/krubble-app.bundled.min.js.map +1 -1
- package/dist/krubble-app.umd.js +196 -182
- package/dist/krubble-app.umd.js.map +1 -1
- package/dist/krubble-app.umd.min.js +64 -70
- package/dist/krubble-app.umd.min.js.map +1 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +8 -13
- package/dist/router.js.map +1 -1
- package/dist/scaffold/nav-item-edit.d.ts.map +1 -1
- package/dist/scaffold/nav-item-edit.js +9 -7
- package/dist/scaffold/nav-item-edit.js.map +1 -1
- package/dist/scaffold.d.ts.map +1 -1
- package/dist/scaffold.js +9 -7
- package/dist/scaffold.js.map +1 -1
- package/dist/screen-detail.d.ts.map +1 -1
- package/dist/screen-detail.js +9 -7
- package/dist/screen-detail.js.map +1 -1
- package/dist/screen-nav.d.ts.map +1 -1
- package/dist/screen-nav.js +9 -7
- package/dist/screen-nav.js.map +1 -1
- package/dist/subbar.d.ts.map +1 -1
- package/dist/subbar.js +9 -7
- package/dist/subbar.js.map +1 -1
- package/package.json +1 -1
package/dist/krubble-app.umd.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Copyright 2019 Google LLC
|
|
10
10
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
11
|
*/
|
|
12
|
-
const t$
|
|
12
|
+
const t$3=globalThis,e$7=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$3=Symbol(),o$6=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$7&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$6.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$6.set(s,t));}return t}toString(){return this.cssText}};const r$4=t=>new n$4("string"==typeof t?t:t+"",void 0,s$3),i$6=(t,...e)=>{const o=1===t.length?t[0]:e.reduce((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1],t[0]);return new n$4(o,t,s$3)},S$1=(s,o)=>{if(e$7)s.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$3=e$7?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$4(e)})(t):t;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* Copyright 2017 Google LLC
|
|
23
23
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
24
24
|
*/
|
|
25
|
-
const t$
|
|
25
|
+
const t$2=globalThis,i$4=t=>t,s$2=t$2.trustedTypes,e$5=s$2?s$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,h$1="$lit$",o$4=`lit$${Math.random().toFixed(9).slice(2)}$`,n$2="?"+o$4,r$2=`<${n$2}>`,l=document,c$1=()=>l.createComment(""),a=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u$2=Array.isArray,d=t=>u$2(t)||"function"==typeof t?.[Symbol.iterator],f="[ \t\n\f\r]",v$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,m$1=/>/g,p$1=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g=/'/g,$=/"/g,y=/^(?:script|style|textarea|title)$/i,x=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),b=x(1),E=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),C=new WeakMap,P=l.createTreeWalker(l,129);function V(t,i){if(!u$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$5?e$5.createHTML(i):i}const N=(t,i)=>{const s=t.length-1,e=[];let n,l=2===i?"<svg>":3===i?"<math>":"",c=v$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,f=0;for(;f<s.length&&(c.lastIndex=f,u=c.exec(s),null!==u);)f=c.lastIndex,c===v$1?"!--"===u[1]?c=_:void 0!==u[1]?c=m$1:void 0!==u[2]?(y.test(u[2])&&(n=RegExp("</"+u[2],"g")),c=p$1):void 0!==u[3]&&(c=p$1):c===p$1?">"===u[0]?(c=n??v$1,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?p$1:'"'===u[3]?$:g):c===$||c===g?c=p$1:c===_||c===m$1?c=v$1:(c=p$1,n=void 0);const x=c===p$1&&t[i+1].startsWith("/>")?" ":"";l+=c===v$1?s+r$2:d>=0?(e.push(a),s.slice(0,d)+h$1+s.slice(d)+o$4+x):s+o$4+(-2===d?i:x);}return [V(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),e]};class S{constructor({strings:t,_$litType$:i},e){let r;this.parts=[];let l=0,a=0;const u=t.length-1,d=this.parts,[f,v]=N(t,i);if(this.el=S.createElement(f,e),P.currentNode=this.el.content,2===i||3===i){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=P.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(h$1)){const i=v[a++],s=r.getAttribute(t).split(o$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:l,name:e[2],strings:s,ctor:"."===e[1]?I:"?"===e[1]?L:"@"===e[1]?z:H}),r.removeAttribute(t);}else t.startsWith(o$4)&&(d.push({type:6,index:l}),r.removeAttribute(t));if(y.test(r.tagName)){const t=r.textContent.split(o$4),i=t.length-1;if(i>0){r.textContent=s$2?s$2.emptyScript:"";for(let s=0;s<i;s++)r.append(t[s],c$1()),P.nextNode(),d.push({type:2,index:++l});r.append(t[i],c$1());}}}else if(8===r.nodeType)if(r.data===n$2)d.push({type:2,index:l});else {let t=-1;for(;-1!==(t=r.data.indexOf(o$4,t+1));)d.push({type:7,index:l}),t+=o$4.length-1;}l++;}}static createElement(t,i){const s=l.createElement("template");return s.innerHTML=t,s}}function M$1(t,i,s=t,e){if(i===E)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=a(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=M$1(t,h._$AS(t,i.values),h,e)),i}class R{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??l).importNode(i,true);P.currentNode=e;let h=P.nextNode(),o=0,n=0,r=s[0];for(;void 0!==r;){if(o===r.index){let i;2===r.type?i=new k(h,h.nextSibling,this,t):1===r.type?i=new r.ctor(h,r.name,r.strings,this,t):6===r.type&&(i=new Z(h,this,t)),this._$AV.push(i),r=s[++n];}o!==r?.index&&(h=P.nextNode(),o++);}return P.currentNode=l,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class k{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=M$1(this,t,i),a(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):d(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==A&&a(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=S.createElement(V(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new R(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new S(t)),i}k(t){u$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new k(this.O(c$1()),this.O(c$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(false,true,s);t!==this._$AB;){const s=i$4(t).nextSibling;i$4(t).remove(),t=s;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=M$1(this,t,i,0),o=!a(t)||t!==this._$AH&&t!==E,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=M$1(this,e[s+n],i,n),r===E&&(r=this._$AH[n]),o||=!a(r)||r!==this._$AH[n],r===A?t=A:t!==A&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class I extends H{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A?void 0:t;}}class L extends H{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==A);}}class z extends H{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=M$1(this,t,i,0)??A)===E)return;const s=this._$AH,e=t===A&&s!==A||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==A&&(s===A||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){M$1(this,t);}}const j={I:k},B=t$2.litHtmlPolyfillSupport;B?.(S,k),(t$2.litHtmlVersions??=[]).push("3.3.2");const D=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new k(i.insertBefore(c$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* @license
|
|
@@ -30,13 +30,6 @@
|
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
31
|
*/const s$1=globalThis;let i$3 = class i extends y$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(r,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return E}};i$3._$litElement$=true,i$3["finalized"]=true,s$1.litElementHydrateSupport?.({LitElement:i$3});const o$3=s$1.litElementPolyfillSupport;o$3?.({LitElement:i$3});(s$1.litElementVersions??=[]).push("4.2.2");
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* @license
|
|
35
|
-
* Copyright 2017 Google LLC
|
|
36
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
|
-
*/
|
|
38
|
-
const t$2=t=>(e,o)=>{ void 0!==o?o.addInitializer(()=>{customElements.define(t,e);}):customElements.define(t,e);};
|
|
39
|
-
|
|
40
33
|
/**
|
|
41
34
|
* @license
|
|
42
35
|
* Copyright 2017 Google LLC
|
|
@@ -81,13 +74,13 @@
|
|
|
81
74
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
82
75
|
*/const e=e$2(class extends i$2{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter(s=>t[s]).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return E}});
|
|
83
76
|
|
|
84
|
-
var __decorate$
|
|
77
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
85
78
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
86
79
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
87
80
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
88
81
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
89
82
|
};
|
|
90
|
-
|
|
83
|
+
class KRNavItemEdit extends i$3 {
|
|
91
84
|
constructor() {
|
|
92
85
|
super(...arguments);
|
|
93
86
|
this.label = '';
|
|
@@ -190,7 +183,7 @@
|
|
|
190
183
|
</div>
|
|
191
184
|
`;
|
|
192
185
|
}
|
|
193
|
-
}
|
|
186
|
+
}
|
|
194
187
|
KRNavItemEdit.styles = i$6 `
|
|
195
188
|
:host {
|
|
196
189
|
display: block;
|
|
@@ -277,23 +270,26 @@
|
|
|
277
270
|
background: #d4f472;
|
|
278
271
|
}
|
|
279
272
|
`;
|
|
280
|
-
__decorate$
|
|
273
|
+
__decorate$5([
|
|
281
274
|
r()
|
|
282
275
|
], KRNavItemEdit.prototype, "label", void 0);
|
|
283
|
-
__decorate$
|
|
276
|
+
__decorate$5([
|
|
284
277
|
r()
|
|
285
278
|
], KRNavItemEdit.prototype, "icon", void 0);
|
|
286
|
-
__decorate$
|
|
279
|
+
__decorate$5([
|
|
287
280
|
r()
|
|
288
281
|
], KRNavItemEdit.prototype, "url", void 0);
|
|
289
|
-
__decorate$
|
|
282
|
+
__decorate$5([
|
|
290
283
|
r()
|
|
291
284
|
], KRNavItemEdit.prototype, "active", void 0);
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
285
|
+
// Guarded registration: no-op if the tag is already defined, so a second copy of krubble on
|
|
286
|
+
// the page (e.g. the Operations shell loads krubble globally while an embedded app bundled its
|
|
287
|
+
// own copy) doesn't throw. First definition wins.
|
|
288
|
+
if (!customElements.get('kr-nav-item-edit')) {
|
|
289
|
+
customElements.define('kr-nav-item-edit', KRNavItemEdit);
|
|
290
|
+
}
|
|
295
291
|
|
|
296
|
-
var __decorate$
|
|
292
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
297
293
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
298
294
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
299
295
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -352,7 +348,7 @@
|
|
|
352
348
|
* - Don't hardcode breadcrumbs
|
|
353
349
|
* - Look at renderNormalFooter and renderEditFooter and see if that is what we want to do
|
|
354
350
|
*/
|
|
355
|
-
|
|
351
|
+
class KRScaffold extends i$3 {
|
|
356
352
|
constructor() {
|
|
357
353
|
super();
|
|
358
354
|
/**
|
|
@@ -1504,8 +1500,8 @@
|
|
|
1504
1500
|
|
|
1505
1501
|
`;
|
|
1506
1502
|
}
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1503
|
+
}
|
|
1504
|
+
KRScaffold.styles = i$6 `
|
|
1509
1505
|
:host {
|
|
1510
1506
|
display: flex;
|
|
1511
1507
|
flex-direction: column;
|
|
@@ -2231,102 +2227,105 @@
|
|
|
2231
2227
|
}
|
|
2232
2228
|
}
|
|
2233
2229
|
`;
|
|
2234
|
-
__decorate$
|
|
2230
|
+
__decorate$4([
|
|
2235
2231
|
n$1({ type: String })
|
|
2236
|
-
],
|
|
2237
|
-
__decorate$
|
|
2232
|
+
], KRScaffold.prototype, "logo", void 0);
|
|
2233
|
+
__decorate$4([
|
|
2238
2234
|
n$1({ type: String })
|
|
2239
|
-
],
|
|
2240
|
-
__decorate$
|
|
2235
|
+
], KRScaffold.prototype, "label", void 0);
|
|
2236
|
+
__decorate$4([
|
|
2241
2237
|
n$1({
|
|
2242
2238
|
type: String,
|
|
2243
2239
|
attribute: 'home-url'
|
|
2244
2240
|
})
|
|
2245
|
-
],
|
|
2246
|
-
__decorate$
|
|
2241
|
+
], KRScaffold.prototype, "homeUrl", void 0);
|
|
2242
|
+
__decorate$4([
|
|
2247
2243
|
n$1({
|
|
2248
2244
|
type: String,
|
|
2249
2245
|
reflect: true
|
|
2250
2246
|
})
|
|
2251
|
-
],
|
|
2252
|
-
__decorate$
|
|
2247
|
+
], KRScaffold.prototype, "scheme", void 0);
|
|
2248
|
+
__decorate$4([
|
|
2253
2249
|
n$1({ type: Array })
|
|
2254
|
-
],
|
|
2255
|
-
__decorate$
|
|
2250
|
+
], KRScaffold.prototype, "nav", void 0);
|
|
2251
|
+
__decorate$4([
|
|
2256
2252
|
n$1({
|
|
2257
2253
|
type: Boolean,
|
|
2258
2254
|
attribute: 'nav-icons-displayed',
|
|
2259
2255
|
reflect: true
|
|
2260
2256
|
})
|
|
2261
|
-
],
|
|
2262
|
-
__decorate$
|
|
2257
|
+
], KRScaffold.prototype, "navIconsDisplayed", void 0);
|
|
2258
|
+
__decorate$4([
|
|
2263
2259
|
n$1({
|
|
2264
2260
|
type: Boolean,
|
|
2265
2261
|
attribute: 'nav-expanded'
|
|
2266
2262
|
})
|
|
2267
|
-
],
|
|
2268
|
-
__decorate$
|
|
2263
|
+
], KRScaffold.prototype, "navExpanded", void 0);
|
|
2264
|
+
__decorate$4([
|
|
2269
2265
|
n$1({ type: Object })
|
|
2270
|
-
],
|
|
2271
|
-
__decorate$
|
|
2266
|
+
], KRScaffold.prototype, "user", void 0);
|
|
2267
|
+
__decorate$4([
|
|
2272
2268
|
n$1({ type: Boolean })
|
|
2273
|
-
],
|
|
2274
|
-
__decorate$
|
|
2269
|
+
], KRScaffold.prototype, "subbar", void 0);
|
|
2270
|
+
__decorate$4([
|
|
2275
2271
|
n$1({
|
|
2276
2272
|
type: Boolean,
|
|
2277
2273
|
attribute: 'nav-enabled'
|
|
2278
2274
|
})
|
|
2279
|
-
],
|
|
2280
|
-
__decorate$
|
|
2275
|
+
], KRScaffold.prototype, "navEnabled", void 0);
|
|
2276
|
+
__decorate$4([
|
|
2281
2277
|
n$1({
|
|
2282
2278
|
type: String,
|
|
2283
2279
|
attribute: 'user-type'
|
|
2284
2280
|
})
|
|
2285
|
-
],
|
|
2286
|
-
__decorate$
|
|
2281
|
+
], KRScaffold.prototype, "userType", void 0);
|
|
2282
|
+
__decorate$4([
|
|
2287
2283
|
n$1({ type: Array })
|
|
2288
|
-
],
|
|
2289
|
-
__decorate$
|
|
2284
|
+
], KRScaffold.prototype, "breadcrumbs", void 0);
|
|
2285
|
+
__decorate$4([
|
|
2290
2286
|
r()
|
|
2291
|
-
],
|
|
2292
|
-
__decorate$
|
|
2287
|
+
], KRScaffold.prototype, "navItemsExpanded", void 0);
|
|
2288
|
+
__decorate$4([
|
|
2293
2289
|
r()
|
|
2294
|
-
],
|
|
2295
|
-
__decorate$
|
|
2290
|
+
], KRScaffold.prototype, "navQuery", void 0);
|
|
2291
|
+
__decorate$4([
|
|
2296
2292
|
r()
|
|
2297
|
-
],
|
|
2298
|
-
__decorate$
|
|
2293
|
+
], KRScaffold.prototype, "activeNavItemId", void 0);
|
|
2294
|
+
__decorate$4([
|
|
2299
2295
|
r()
|
|
2300
|
-
],
|
|
2301
|
-
__decorate$
|
|
2296
|
+
], KRScaffold.prototype, "isNavScrolled", void 0);
|
|
2297
|
+
__decorate$4([
|
|
2302
2298
|
r()
|
|
2303
|
-
],
|
|
2304
|
-
__decorate$
|
|
2299
|
+
], KRScaffold.prototype, "isNavOpened", void 0);
|
|
2300
|
+
__decorate$4([
|
|
2305
2301
|
r()
|
|
2306
|
-
],
|
|
2307
|
-
__decorate$
|
|
2302
|
+
], KRScaffold.prototype, "isEditing", void 0);
|
|
2303
|
+
__decorate$4([
|
|
2308
2304
|
r()
|
|
2309
|
-
],
|
|
2310
|
-
__decorate$
|
|
2305
|
+
], KRScaffold.prototype, "isUserMenuOpen", void 0);
|
|
2306
|
+
__decorate$4([
|
|
2311
2307
|
r()
|
|
2312
|
-
],
|
|
2313
|
-
__decorate$
|
|
2308
|
+
], KRScaffold.prototype, "pref", void 0);
|
|
2309
|
+
__decorate$4([
|
|
2314
2310
|
r()
|
|
2315
|
-
],
|
|
2316
|
-
__decorate$
|
|
2311
|
+
], KRScaffold.prototype, "draggedNavItemId", void 0);
|
|
2312
|
+
__decorate$4([
|
|
2317
2313
|
r()
|
|
2318
|
-
],
|
|
2319
|
-
__decorate$
|
|
2314
|
+
], KRScaffold.prototype, "navItemDropTargetId", void 0);
|
|
2315
|
+
__decorate$4([
|
|
2320
2316
|
r()
|
|
2321
|
-
],
|
|
2322
|
-
__decorate$
|
|
2317
|
+
], KRScaffold.prototype, "navItemDropPosition", void 0);
|
|
2318
|
+
__decorate$4([
|
|
2323
2319
|
r()
|
|
2324
|
-
],
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2320
|
+
], KRScaffold.prototype, "pendingRequests", void 0);
|
|
2321
|
+
// Guarded registration: no-op if the tag is already defined, so a second copy of krubble on
|
|
2322
|
+
// the page (e.g. the Operations shell loads krubble globally while an embedded app bundled its
|
|
2323
|
+
// own copy) doesn't throw. First definition wins.
|
|
2324
|
+
if (!customElements.get('kr-scaffold')) {
|
|
2325
|
+
customElements.define('kr-scaffold', KRScaffold);
|
|
2326
|
+
}
|
|
2328
2327
|
|
|
2329
|
-
var __decorate$
|
|
2328
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2330
2329
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2331
2330
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2332
2331
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2360,7 +2359,7 @@
|
|
|
2360
2359
|
* @property {KRScreenNavItem[]} items - Navigation items as JSON array
|
|
2361
2360
|
* @property {string} activeId - Currently active item ID
|
|
2362
2361
|
*/
|
|
2363
|
-
|
|
2362
|
+
class KRScreenNav extends i$3 {
|
|
2364
2363
|
constructor() {
|
|
2365
2364
|
super(...arguments);
|
|
2366
2365
|
/**
|
|
@@ -2475,8 +2474,8 @@
|
|
|
2475
2474
|
</main>
|
|
2476
2475
|
`;
|
|
2477
2476
|
}
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2477
|
+
}
|
|
2478
|
+
KRScreenNav.styles = i$6 `
|
|
2480
2479
|
:host {
|
|
2481
2480
|
display: flex;
|
|
2482
2481
|
height: 100%;
|
|
@@ -2567,23 +2566,26 @@
|
|
|
2567
2566
|
overflow-y: auto;
|
|
2568
2567
|
}
|
|
2569
2568
|
`;
|
|
2570
|
-
__decorate$
|
|
2569
|
+
__decorate$3([
|
|
2571
2570
|
n$1({ type: String })
|
|
2572
|
-
],
|
|
2573
|
-
__decorate$
|
|
2571
|
+
], KRScreenNav.prototype, "label", void 0);
|
|
2572
|
+
__decorate$3([
|
|
2574
2573
|
n$1({ type: String })
|
|
2575
|
-
],
|
|
2576
|
-
__decorate$
|
|
2574
|
+
], KRScreenNav.prototype, "subLabel", void 0);
|
|
2575
|
+
__decorate$3([
|
|
2577
2576
|
n$1({ type: Array })
|
|
2578
|
-
],
|
|
2579
|
-
__decorate$
|
|
2577
|
+
], KRScreenNav.prototype, "items", void 0);
|
|
2578
|
+
__decorate$3([
|
|
2580
2579
|
n$1({ type: String })
|
|
2581
|
-
],
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2580
|
+
], KRScreenNav.prototype, "activeId", void 0);
|
|
2581
|
+
// Guarded registration: no-op if the tag is already defined, so a second copy of krubble on
|
|
2582
|
+
// the page (e.g. the Operations shell loads krubble globally while an embedded app bundled its
|
|
2583
|
+
// own copy) doesn't throw. First definition wins.
|
|
2584
|
+
if (!customElements.get('kr-screen-nav')) {
|
|
2585
|
+
customElements.define('kr-screen-nav', KRScreenNav);
|
|
2586
|
+
}
|
|
2585
2587
|
|
|
2586
|
-
var __decorate$
|
|
2588
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2587
2589
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2588
2590
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2589
2591
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2608,7 +2610,7 @@
|
|
|
2608
2610
|
*
|
|
2609
2611
|
* @property {string} title - Section title (e.g., "Company Details")
|
|
2610
2612
|
*/
|
|
2611
|
-
|
|
2613
|
+
class KRScreenDetail extends i$3 {
|
|
2612
2614
|
constructor() {
|
|
2613
2615
|
super(...arguments);
|
|
2614
2616
|
/**
|
|
@@ -2631,8 +2633,8 @@
|
|
|
2631
2633
|
</div>
|
|
2632
2634
|
`;
|
|
2633
2635
|
}
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
|
+
}
|
|
2637
|
+
KRScreenDetail.styles = i$6 `
|
|
2636
2638
|
:host {
|
|
2637
2639
|
display: flex;
|
|
2638
2640
|
flex-direction: column;
|
|
@@ -2677,14 +2679,17 @@
|
|
|
2677
2679
|
max-width: 700px;
|
|
2678
2680
|
}
|
|
2679
2681
|
`;
|
|
2680
|
-
__decorate$
|
|
2682
|
+
__decorate$2([
|
|
2681
2683
|
n$1({ type: String })
|
|
2682
|
-
],
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2684
|
+
], KRScreenDetail.prototype, "title", void 0);
|
|
2685
|
+
// Guarded registration: no-op if the tag is already defined, so a second copy of krubble on
|
|
2686
|
+
// the page (e.g. the Operations shell loads krubble globally while an embedded app bundled its
|
|
2687
|
+
// own copy) doesn't throw. First definition wins.
|
|
2688
|
+
if (!customElements.get('kr-screen-detail')) {
|
|
2689
|
+
customElements.define('kr-screen-detail', KRScreenDetail);
|
|
2690
|
+
}
|
|
2686
2691
|
|
|
2687
|
-
var __decorate$
|
|
2692
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2688
2693
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2689
2694
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2690
2695
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2695,7 +2700,7 @@
|
|
|
2695
2700
|
*
|
|
2696
2701
|
* @slot - Content to display in the subbar (right side)
|
|
2697
2702
|
*/
|
|
2698
|
-
|
|
2703
|
+
class KRSubbar extends i$3 {
|
|
2699
2704
|
constructor() {
|
|
2700
2705
|
super(...arguments);
|
|
2701
2706
|
/**
|
|
@@ -2810,8 +2815,8 @@
|
|
|
2810
2815
|
|
|
2811
2816
|
`;
|
|
2812
2817
|
}
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2818
|
+
}
|
|
2819
|
+
KRSubbar.styles = i$6 `
|
|
2815
2820
|
:host {
|
|
2816
2821
|
display: flex;
|
|
2817
2822
|
flex-direction: row;
|
|
@@ -2878,22 +2883,19 @@
|
|
|
2878
2883
|
height: 18px;
|
|
2879
2884
|
}
|
|
2880
2885
|
`;
|
|
2881
|
-
__decorate$
|
|
2886
|
+
__decorate$1([
|
|
2882
2887
|
n$1({ type: Array })
|
|
2883
|
-
],
|
|
2884
|
-
__decorate$
|
|
2888
|
+
], KRSubbar.prototype, "breadcrumbs", void 0);
|
|
2889
|
+
__decorate$1([
|
|
2885
2890
|
n$1({ type: Boolean })
|
|
2886
|
-
],
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2891
|
+
], KRSubbar.prototype, "menu", void 0);
|
|
2892
|
+
// Guarded registration: no-op if the tag is already defined, so a second copy of krubble on
|
|
2893
|
+
// the page (e.g. the Operations shell loads krubble globally while an embedded app bundled its
|
|
2894
|
+
// own copy) doesn't throw. First definition wins.
|
|
2895
|
+
if (!customElements.get('kr-subbar')) {
|
|
2896
|
+
customElements.define('kr-subbar', KRSubbar);
|
|
2897
|
+
}
|
|
2890
2898
|
|
|
2891
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2892
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2893
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2894
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2895
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2896
|
-
};
|
|
2897
2899
|
class KRRouter {
|
|
2898
2900
|
static configure(config) {
|
|
2899
2901
|
KRRouter.base = config.base;
|
|
@@ -3024,7 +3026,7 @@
|
|
|
3024
3026
|
KRRouter.base = '';
|
|
3025
3027
|
KRRouter.routes = [];
|
|
3026
3028
|
KRRouter.elementCache = new Map();
|
|
3027
|
-
|
|
3029
|
+
class KRRouterOutlet extends i$3 {
|
|
3028
3030
|
constructor() {
|
|
3029
3031
|
super(...arguments);
|
|
3030
3032
|
this.level = -1;
|
|
@@ -3068,16 +3070,19 @@
|
|
|
3068
3070
|
}
|
|
3069
3071
|
return b `${el}`;
|
|
3070
3072
|
}
|
|
3071
|
-
}
|
|
3072
|
-
|
|
3073
|
+
}
|
|
3074
|
+
KRRouterOutlet.styles = i$6 `
|
|
3073
3075
|
:host {
|
|
3074
3076
|
display: block;
|
|
3075
3077
|
height: 100%;
|
|
3076
3078
|
}
|
|
3077
3079
|
`;
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3080
|
+
// Guarded registration: no-op if the tag is already defined, so a second copy of krubble on
|
|
3081
|
+
// the page (e.g. the Operations shell loads krubble globally while an embedded app bundled its
|
|
3082
|
+
// own copy) doesn't throw. First definition wins.
|
|
3083
|
+
if (!customElements.get('kr-router-outlet')) {
|
|
3084
|
+
customElements.define('kr-router-outlet', KRRouterOutlet);
|
|
3085
|
+
}
|
|
3081
3086
|
|
|
3082
3087
|
/**
|
|
3083
3088
|
* @license
|
|
@@ -5641,7 +5646,7 @@
|
|
|
5641
5646
|
* @fires conversation-created - When a turn with no target creates a new conversation and the chatbot pins it. Detail: `{ conversation }` (the full conversation object).
|
|
5642
5647
|
* @fires conversation-title - When the server sends the generated title for a new conversation (end of its first turn). The header label is already updated; this is for consumers with their own chrome to sync (breadcrumbs, tab titles). Detail: `{ title }`.
|
|
5643
5648
|
*/
|
|
5644
|
-
|
|
5649
|
+
class KRChatbot extends i$3 {
|
|
5645
5650
|
constructor() {
|
|
5646
5651
|
super(...arguments);
|
|
5647
5652
|
// --- Private properties ---
|
|
@@ -9490,8 +9495,8 @@
|
|
|
9490
9495
|
</div>
|
|
9491
9496
|
`;
|
|
9492
9497
|
}
|
|
9493
|
-
}
|
|
9494
|
-
|
|
9498
|
+
}
|
|
9499
|
+
KRChatbot.styles = i$6 `
|
|
9495
9500
|
*,
|
|
9496
9501
|
*::before,
|
|
9497
9502
|
*::after {
|
|
@@ -11379,188 +11384,197 @@
|
|
|
11379
11384
|
`;
|
|
11380
11385
|
__decorate([
|
|
11381
11386
|
n$1({ attribute: false })
|
|
11382
|
-
],
|
|
11387
|
+
], KRChatbot.prototype, "send", void 0);
|
|
11383
11388
|
__decorate([
|
|
11384
11389
|
n$1({ attribute: false })
|
|
11385
|
-
],
|
|
11390
|
+
], KRChatbot.prototype, "load", void 0);
|
|
11386
11391
|
__decorate([
|
|
11387
11392
|
n$1({ attribute: false })
|
|
11388
|
-
],
|
|
11393
|
+
], KRChatbot.prototype, "messages", void 0);
|
|
11389
11394
|
__decorate([
|
|
11390
11395
|
n$1({ type: String })
|
|
11391
|
-
],
|
|
11396
|
+
], KRChatbot.prototype, "label", void 0);
|
|
11392
11397
|
__decorate([
|
|
11393
11398
|
n$1({ type: String })
|
|
11394
|
-
],
|
|
11399
|
+
], KRChatbot.prototype, "placeholder", void 0);
|
|
11395
11400
|
__decorate([
|
|
11396
11401
|
n$1({
|
|
11397
11402
|
type: Boolean,
|
|
11398
11403
|
reflect: true
|
|
11399
11404
|
})
|
|
11400
|
-
],
|
|
11405
|
+
], KRChatbot.prototype, "opened", void 0);
|
|
11401
11406
|
__decorate([
|
|
11402
11407
|
n$1({
|
|
11403
11408
|
type: Boolean,
|
|
11404
11409
|
attribute: 'hide-toggle',
|
|
11405
11410
|
reflect: true
|
|
11406
11411
|
})
|
|
11407
|
-
],
|
|
11412
|
+
], KRChatbot.prototype, "hideToggle", void 0);
|
|
11408
11413
|
__decorate([
|
|
11409
11414
|
n$1({
|
|
11410
11415
|
type: String,
|
|
11411
11416
|
reflect: true
|
|
11412
11417
|
})
|
|
11413
|
-
],
|
|
11418
|
+
], KRChatbot.prototype, "variant", void 0);
|
|
11414
11419
|
__decorate([
|
|
11415
11420
|
n$1({
|
|
11416
11421
|
type: Number,
|
|
11417
11422
|
attribute: 'conversation-id',
|
|
11418
11423
|
reflect: true
|
|
11419
11424
|
})
|
|
11420
|
-
],
|
|
11425
|
+
], KRChatbot.prototype, "conversationId", void 0);
|
|
11421
11426
|
__decorate([
|
|
11422
11427
|
r()
|
|
11423
|
-
],
|
|
11428
|
+
], KRChatbot.prototype, "_inputValue", void 0);
|
|
11424
11429
|
__decorate([
|
|
11425
11430
|
r()
|
|
11426
|
-
],
|
|
11431
|
+
], KRChatbot.prototype, "_isStreaming", void 0);
|
|
11427
11432
|
__decorate([
|
|
11428
11433
|
r()
|
|
11429
|
-
],
|
|
11434
|
+
], KRChatbot.prototype, "_error", void 0);
|
|
11430
11435
|
__decorate([
|
|
11431
11436
|
r()
|
|
11432
|
-
],
|
|
11437
|
+
], KRChatbot.prototype, "_contextWarning", void 0);
|
|
11433
11438
|
__decorate([
|
|
11434
11439
|
r()
|
|
11435
|
-
],
|
|
11440
|
+
], KRChatbot.prototype, "_contextLimitReached", void 0);
|
|
11436
11441
|
__decorate([
|
|
11437
11442
|
r()
|
|
11438
|
-
],
|
|
11443
|
+
], KRChatbot.prototype, "_contextLimitMessage", void 0);
|
|
11439
11444
|
__decorate([
|
|
11440
11445
|
r()
|
|
11441
|
-
],
|
|
11446
|
+
], KRChatbot.prototype, "_pendingActions", void 0);
|
|
11442
11447
|
__decorate([
|
|
11443
11448
|
r()
|
|
11444
|
-
],
|
|
11449
|
+
], KRChatbot.prototype, "_confirmationHighlighted", void 0);
|
|
11445
11450
|
__decorate([
|
|
11446
11451
|
r()
|
|
11447
|
-
],
|
|
11452
|
+
], KRChatbot.prototype, "_confirmationInFlight", void 0);
|
|
11448
11453
|
__decorate([
|
|
11449
11454
|
r()
|
|
11450
|
-
],
|
|
11455
|
+
], KRChatbot.prototype, "_telemetry", void 0);
|
|
11451
11456
|
__decorate([
|
|
11452
11457
|
r()
|
|
11453
|
-
],
|
|
11458
|
+
], KRChatbot.prototype, "_iterationLog", void 0);
|
|
11454
11459
|
__decorate([
|
|
11455
11460
|
r()
|
|
11456
|
-
],
|
|
11461
|
+
], KRChatbot.prototype, "_cacheCheckpoints", void 0);
|
|
11457
11462
|
__decorate([
|
|
11458
11463
|
r()
|
|
11459
|
-
],
|
|
11464
|
+
], KRChatbot.prototype, "_drawerOpen", void 0);
|
|
11460
11465
|
__decorate([
|
|
11461
11466
|
r()
|
|
11462
|
-
],
|
|
11467
|
+
], KRChatbot.prototype, "_drawerView", void 0);
|
|
11463
11468
|
__decorate([
|
|
11464
11469
|
r()
|
|
11465
|
-
],
|
|
11470
|
+
], KRChatbot.prototype, "_toolDetail", void 0);
|
|
11466
11471
|
__decorate([
|
|
11467
11472
|
r()
|
|
11468
|
-
],
|
|
11473
|
+
], KRChatbot.prototype, "_toolDetailCopied", void 0);
|
|
11469
11474
|
__decorate([
|
|
11470
11475
|
r()
|
|
11471
|
-
],
|
|
11476
|
+
], KRChatbot.prototype, "_toolDetailInputOpen", void 0);
|
|
11472
11477
|
__decorate([
|
|
11473
11478
|
r()
|
|
11474
|
-
],
|
|
11479
|
+
], KRChatbot.prototype, "_toolDetailOutputOpen", void 0);
|
|
11475
11480
|
__decorate([
|
|
11476
11481
|
r()
|
|
11477
|
-
],
|
|
11482
|
+
], KRChatbot.prototype, "_drawerWidth", void 0);
|
|
11478
11483
|
__decorate([
|
|
11479
11484
|
r()
|
|
11480
|
-
],
|
|
11485
|
+
], KRChatbot.prototype, "_isDrawerResizing", void 0);
|
|
11481
11486
|
__decorate([
|
|
11482
11487
|
r()
|
|
11483
|
-
],
|
|
11488
|
+
], KRChatbot.prototype, "_pendingConversationFiles", void 0);
|
|
11484
11489
|
__decorate([
|
|
11485
11490
|
r()
|
|
11486
|
-
],
|
|
11491
|
+
], KRChatbot.prototype, "_isDraggingFile", void 0);
|
|
11487
11492
|
__decorate([
|
|
11488
11493
|
r()
|
|
11489
|
-
],
|
|
11494
|
+
], KRChatbot.prototype, "_skillMenuOpened", void 0);
|
|
11490
11495
|
__decorate([
|
|
11491
11496
|
r()
|
|
11492
|
-
],
|
|
11497
|
+
], KRChatbot.prototype, "_skillQuery", void 0);
|
|
11493
11498
|
__decorate([
|
|
11494
11499
|
r()
|
|
11495
|
-
],
|
|
11500
|
+
], KRChatbot.prototype, "_orgSkills", void 0);
|
|
11496
11501
|
__decorate([
|
|
11497
11502
|
r()
|
|
11498
|
-
],
|
|
11503
|
+
], KRChatbot.prototype, "_globalSkills", void 0);
|
|
11499
11504
|
__decorate([
|
|
11500
11505
|
r()
|
|
11501
|
-
],
|
|
11506
|
+
], KRChatbot.prototype, "_invocableSkills", void 0);
|
|
11502
11507
|
__decorate([
|
|
11503
11508
|
r()
|
|
11504
|
-
],
|
|
11509
|
+
], KRChatbot.prototype, "_aiFrameworkConfig", void 0);
|
|
11505
11510
|
__decorate([
|
|
11506
11511
|
r()
|
|
11507
|
-
],
|
|
11512
|
+
], KRChatbot.prototype, "_skillHighlighted", void 0);
|
|
11508
11513
|
__decorate([
|
|
11509
11514
|
r()
|
|
11510
|
-
],
|
|
11515
|
+
], KRChatbot.prototype, "_copiedIndex", void 0);
|
|
11511
11516
|
__decorate([
|
|
11512
11517
|
r()
|
|
11513
|
-
],
|
|
11518
|
+
], KRChatbot.prototype, "_skillBrowseOpened", void 0);
|
|
11514
11519
|
__decorate([
|
|
11515
11520
|
r()
|
|
11516
|
-
],
|
|
11521
|
+
], KRChatbot.prototype, "_skillBrowseSource", void 0);
|
|
11517
11522
|
__decorate([
|
|
11518
11523
|
r()
|
|
11519
|
-
],
|
|
11524
|
+
], KRChatbot.prototype, "_skillBrowseQuery", void 0);
|
|
11520
11525
|
__decorate([
|
|
11521
11526
|
r()
|
|
11522
|
-
],
|
|
11527
|
+
], KRChatbot.prototype, "_isDictating", void 0);
|
|
11523
11528
|
__decorate([
|
|
11524
11529
|
r()
|
|
11525
|
-
],
|
|
11530
|
+
], KRChatbot.prototype, "_mode", void 0);
|
|
11526
11531
|
__decorate([
|
|
11527
11532
|
r()
|
|
11528
|
-
],
|
|
11533
|
+
], KRChatbot.prototype, "_modeMenuOpened", void 0);
|
|
11529
11534
|
__decorate([
|
|
11530
11535
|
r()
|
|
11531
|
-
],
|
|
11536
|
+
], KRChatbot.prototype, "_showTools", void 0);
|
|
11532
11537
|
__decorate([
|
|
11533
11538
|
r()
|
|
11534
|
-
],
|
|
11539
|
+
], KRChatbot.prototype, "_showToolInputs", void 0);
|
|
11535
11540
|
__decorate([
|
|
11536
11541
|
r()
|
|
11537
|
-
],
|
|
11542
|
+
], KRChatbot.prototype, "_showConfirmationInput", void 0);
|
|
11538
11543
|
__decorate([
|
|
11539
11544
|
e$3('.panel')
|
|
11540
|
-
],
|
|
11545
|
+
], KRChatbot.prototype, "_panelEl", void 0);
|
|
11541
11546
|
__decorate([
|
|
11542
11547
|
e$3('.messages')
|
|
11543
|
-
],
|
|
11548
|
+
], KRChatbot.prototype, "_messagesEl", void 0);
|
|
11544
11549
|
__decorate([
|
|
11545
11550
|
e$3('.input')
|
|
11546
|
-
],
|
|
11551
|
+
], KRChatbot.prototype, "_inputEl", void 0);
|
|
11547
11552
|
__decorate([
|
|
11548
11553
|
e$3('.file-input')
|
|
11549
|
-
],
|
|
11554
|
+
], KRChatbot.prototype, "_fileInputEl", void 0);
|
|
11550
11555
|
__decorate([
|
|
11551
11556
|
e$3('.input-wrapper')
|
|
11552
|
-
],
|
|
11557
|
+
], KRChatbot.prototype, "_inputWrapperEl", void 0);
|
|
11553
11558
|
__decorate([
|
|
11554
11559
|
e$3('.skill-menu')
|
|
11555
|
-
],
|
|
11560
|
+
], KRChatbot.prototype, "_skillMenuEl", void 0);
|
|
11556
11561
|
__decorate([
|
|
11557
11562
|
e$3('.drawer__body')
|
|
11558
|
-
],
|
|
11559
|
-
|
|
11560
|
-
|
|
11561
|
-
|
|
11563
|
+
], KRChatbot.prototype, "_drawerBodyEl", void 0);
|
|
11564
|
+
// Guarded registration: no-op if the tag is already defined, so a second copy of krubble on
|
|
11565
|
+
// the page (e.g. the Operations shell loads krubble globally while an embedded app bundled its
|
|
11566
|
+
// own copy) doesn't throw. First definition wins.
|
|
11567
|
+
if (!customElements.get('kr-chatbot')) {
|
|
11568
|
+
customElements.define('kr-chatbot', KRChatbot);
|
|
11569
|
+
}
|
|
11562
11570
|
|
|
11571
|
+
exports.Chatbot = KRChatbot;
|
|
11563
11572
|
exports.Router = KRRouter;
|
|
11573
|
+
exports.RouterOutlet = KRRouterOutlet;
|
|
11574
|
+
exports.Scaffold = KRScaffold;
|
|
11575
|
+
exports.ScreenDetail = KRScreenDetail;
|
|
11576
|
+
exports.ScreenNav = KRScreenNav;
|
|
11577
|
+
exports.Subbar = KRSubbar;
|
|
11564
11578
|
|
|
11565
11579
|
}));
|
|
11566
11580
|
(function(e){Object.keys(e).forEach(function(k){if(k.startsWith('KR')&&typeof e[k]==='function'){e[k.slice(2)]=e[k];delete e[k];}});})(krApp);
|