deep-chat-dev 1.1.32 → 1.1.34
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/deepChat.js
CHANGED
@@ -2798,26 +2798,27 @@ const _InternalHTML = class extends HTMLElement {
|
|
2798
2798
|
// If this is not working, try using propertyName directly
|
2799
2799
|
constructor() {
|
2800
2800
|
super(), this._waitingToRender_ = !1, this._propUpdated_ = !1, Object.keys(_InternalHTML._attributeToProperty_).forEach((n) => {
|
2801
|
-
|
2801
|
+
const e = _InternalHTML._attributeToProperty_[n];
|
2802
|
+
this.constructPropertyAccessors(e), this.hasOwnProperty(n) || this.constructPropertyAccessors(e, n);
|
2802
2803
|
});
|
2803
2804
|
}
|
2804
2805
|
static get observedAttributes() {
|
2805
2806
|
return Object.keys(_InternalHTML._attributes_) || [];
|
2806
2807
|
}
|
2807
2808
|
// need to be called here as accessors need to be set for the class instance
|
2808
|
-
constructPropertyAccessors(n) {
|
2809
|
-
let
|
2810
|
-
Object.defineProperty(this, n, {
|
2809
|
+
constructPropertyAccessors(n, e) {
|
2810
|
+
let t;
|
2811
|
+
Object.defineProperty(this, e || n, {
|
2811
2812
|
get: function() {
|
2812
|
-
return
|
2813
|
+
return t;
|
2813
2814
|
},
|
2814
|
-
set: function(
|
2815
|
-
|
2815
|
+
set: function(o) {
|
2816
|
+
t = o, e ? this[n] = o : RenderControl.attemptRender(this);
|
2816
2817
|
}
|
2817
2818
|
});
|
2818
2819
|
}
|
2819
2820
|
attributeChangedCallback(n, e, t) {
|
2820
|
-
if (
|
2821
|
+
if (e === t)
|
2821
2822
|
return;
|
2822
2823
|
const r = _InternalHTML._attributes_[n](t), s = _InternalHTML._attributeToProperty_[n];
|
2823
2824
|
this[s] = r;
|
@@ -4141,7 +4142,7 @@ function Property(n) {
|
|
4141
4142
|
return function(e, t) {
|
4142
4143
|
Object.defineProperty(e, t, {});
|
4143
4144
|
const r = e.constructor, s = t.toLocaleLowerCase();
|
4144
|
-
|
4145
|
+
r._attributes_[s] = TypeConverters.attibutes[n], r._attributeToProperty_[s] = t;
|
4145
4146
|
};
|
4146
4147
|
}
|
4147
4148
|
class FireEvents {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"property.d.ts","sourceRoot":"","sources":["../../../../src/utils/decorators/property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAYlF,wBAAgB,QAAQ,CAAC,IAAI,EAAE,cAAc,YAClB,MAAM,eAAe,MAAM,
|
1
|
+
{"version":3,"file":"property.d.ts","sourceRoot":"","sources":["../../../../src/utils/decorators/property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAYlF,wBAAgB,QAAQ,CAAC,IAAI,EAAE,cAAc,YAClB,MAAM,eAAe,MAAM,UAUrD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"internalHTML.d.ts","sourceRoot":"","sources":["../../../../src/utils/webComponent/internalHTML.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAEjD,qBAAa,YAAa,SAAQ,WAAW;IAC3C,iBAAiB,UAAS;IAC1B,aAAa,UAAS;IACtB,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAM;IAChE,MAAM,CAAC,qBAAqB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAM;IAEzD,MAAM,KAAK,kBAAkB,aAE5B;;
|
1
|
+
{"version":3,"file":"internalHTML.d.ts","sourceRoot":"","sources":["../../../../src/utils/webComponent/internalHTML.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAEjD,qBAAa,YAAa,SAAQ,WAAW;IAC3C,iBAAiB,UAAS;IAC1B,aAAa,UAAS;IACtB,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAM;IAChE,MAAM,CAAC,qBAAqB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAM;IAEzD,MAAM,KAAK,kBAAkB,aAE5B;;IAgBD,OAAO,CAAC,0BAA0B;IAoBlC,wBAAwB,CAAC,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAOlF,QAAQ;CACT"}
|