deep-chat-dev 9.0.99 → 9.0.100

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
@@ -69,11 +69,11 @@ var Dt = /*#__PURE__*/function () {
69
69
  }]);
70
70
  return Dt;
71
71
  }();
72
- var M = /*#__PURE__*/function () {
73
- function M() {
74
- _classCallCheck(this, M);
72
+ var T = /*#__PURE__*/function () {
73
+ function T() {
74
+ _classCallCheck(this, T);
75
75
  }
76
- _createClass(M, null, [{
76
+ _createClass(T, null, [{
77
77
  key: "unsetStyle",
78
78
  value: function unsetStyle(e, t) {
79
79
  var i = Object.keys(t).reduce(function (n, r) {
@@ -84,12 +84,12 @@ var M = /*#__PURE__*/function () {
84
84
  }, {
85
85
  key: "unsetActivityCSSMouseStates",
86
86
  value: function unsetActivityCSSMouseStates(e, t) {
87
- t.click && M.unsetStyle(e, t.click), t.hover && M.unsetStyle(e, t.hover);
87
+ t.click && T.unsetStyle(e, t.click), t.hover && T.unsetStyle(e, t.hover);
88
88
  }
89
89
  }, {
90
90
  key: "unsetAllCSSMouseStates",
91
91
  value: function unsetAllCSSMouseStates(e, t) {
92
- M.unsetActivityCSSMouseStates(e, t), t["default"] && M.unsetStyle(e, t["default"]);
92
+ T.unsetActivityCSSMouseStates(e, t), t["default"] && T.unsetStyle(e, t["default"]);
93
93
  }
94
94
  }, {
95
95
  key: "processStateful",
@@ -133,7 +133,7 @@ var M = /*#__PURE__*/function () {
133
133
  }
134
134
  }
135
135
  }]);
136
- return M;
136
+ return T;
137
137
  }();
138
138
  var jn = /*#__PURE__*/function () {
139
139
  function Ot() {
@@ -163,7 +163,7 @@ var jn = /*#__PURE__*/function () {
163
163
  }, {
164
164
  key: "applyDefaultStyleToComponent",
165
165
  value: function applyDefaultStyleToComponent(e, t) {
166
- t && M.applyToStyleIfNotDefined(e, t), M.applyToStyleIfNotDefined(e, Ot.DEFAULT_COMPONENT_STYLE);
166
+ t && T.applyToStyleIfNotDefined(e, t), T.applyToStyleIfNotDefined(e, Ot.DEFAULT_COMPONENT_STYLE);
167
167
  }
168
168
  }]);
169
169
  return Ot;
@@ -262,7 +262,7 @@ var Fn = /*#__PURE__*/function () {
262
262
  key: "removeTextIfPlaceholder",
263
263
  value: function removeTextIfPlaceholder() {
264
264
  var e, t, i, n;
265
- this.inputElementRef.classList.contains("text-input-placeholder") && !this.inputElementRef.classList.contains("text-input-disabled") && ((e = this._config.placeholder) != null && e.style && (M.unsetStyle(this.inputElementRef, (t = this._config.placeholder) == null ? void 0 : t.style), Object.assign(this.inputElementRef.style, (n = (i = this._config) == null ? void 0 : i.styles) == null ? void 0 : n.text)), qe.clear(this.inputElementRef), this.inputElementRef.classList.remove("text-input-placeholder"));
265
+ this.inputElementRef.classList.contains("text-input-placeholder") && !this.inputElementRef.classList.contains("text-input-disabled") && ((e = this._config.placeholder) != null && e.style && (T.unsetStyle(this.inputElementRef, (t = this._config.placeholder) == null ? void 0 : t.style), Object.assign(this.inputElementRef.style, (n = (i = this._config) == null ? void 0 : i.styles) == null ? void 0 : n.text)), qe.clear(this.inputElementRef), this.inputElementRef.classList.remove("text-input-placeholder"));
266
266
  }
267
267
  }, {
268
268
  key: "addEventListeners",
@@ -281,7 +281,7 @@ var Fn = /*#__PURE__*/function () {
281
281
  }, {
282
282
  key: "onBlur",
283
283
  value: function onBlur(e, t) {
284
- M.unsetStyle(this.elementRef, e), t && Object.assign(this.elementRef.style, t);
284
+ T.unsetStyle(this.elementRef, e), t && Object.assign(this.elementRef.style, t);
285
285
  }
286
286
  }, {
287
287
  key: "onKeydown",
@@ -591,7 +591,7 @@ var Te = /*#__PURE__*/function () {
591
591
  _createClass(Te, null, [{
592
592
  key: "mouseUp",
593
593
  value: function mouseUp(e, t) {
594
- M.unsetAllCSSMouseStates(e, t), Object.assign(e.style, t["default"]), Object.assign(e.style, t.hover);
594
+ T.unsetAllCSSMouseStates(e, t), Object.assign(e.style, t["default"]), Object.assign(e.style, t.hover);
595
595
  }
596
596
  }, {
597
597
  key: "mouseDown",
@@ -601,7 +601,7 @@ var Te = /*#__PURE__*/function () {
601
601
  }, {
602
602
  key: "mouseLeave",
603
603
  value: function mouseLeave(e, t) {
604
- M.unsetAllCSSMouseStates(e, t), Object.assign(e.style, t["default"]);
604
+ T.unsetAllCSSMouseStates(e, t), Object.assign(e.style, t["default"]);
605
605
  }
606
606
  }, {
607
607
  key: "mouseEnter",
@@ -688,10 +688,10 @@ var be = /*#__PURE__*/function () {
688
688
  r = Ri[i].styles;
689
689
  if (r) {
690
690
  var a = JSON.parse(JSON.stringify(r));
691
- a["default"] && M.overwriteDefaultWithAlreadyApplied(a, t), n.unshift(a);
691
+ a["default"] && T.overwriteDefaultWithAlreadyApplied(a, t), n.unshift(a);
692
692
  }
693
- var o = M.mergeStatefulStyles(n);
694
- return M.processStateful(o, {}, {});
693
+ var o = T.mergeStatefulStyles(n);
694
+ return T.processStateful(o, {}, {});
695
695
  }
696
696
  }, {
697
697
  key: "applyDeepChatUtilities",
@@ -718,7 +718,7 @@ var se = /*#__PURE__*/function () {
718
718
  _createClass(se, null, [{
719
719
  key: "applyStylesToElement",
720
720
  value: function applyStylesToElement(e, t) {
721
- var i = M.processStateful(t, {}, {});
721
+ var i = T.processStateful(t, {}, {});
722
722
  Te.add(e, i), Object.assign(e.style, i["default"]);
723
723
  }
724
724
  }, {
@@ -8088,17 +8088,17 @@ var Et = /*#__PURE__*/function () {
8088
8088
  r = (t == null ? void 0 : t.uploadClass) || pe.UPLOAD_BUTTON_CLASS,
8089
8089
  o = (t == null ? void 0 : t.fileInputClass) || pe.FILE_INPUT_CLASS;
8090
8090
  return setTimeout(function () {
8091
- var a = i == null ? void 0 : i.getElementsByClassName(o)[0],
8092
- l = i == null ? void 0 : i.getElementsByClassName(n)[0],
8091
+ var a = i == null ? void 0 : i.getElementsByClassName(n)[0],
8092
+ l = i == null ? void 0 : i.getElementsByClassName(o)[0],
8093
8093
  c = i == null ? void 0 : i.getElementsByClassName(r)[0];
8094
- l && (l.onclick = function () {
8094
+ a && (a.onclick = function () {
8095
8095
  return e();
8096
- }), a && (a.onchange = function () {
8097
- a.files && a.files.length > 0 && e(a.files);
8096
+ }), l && (l.onchange = function () {
8097
+ l.files && l.files.length > 0 && e(l.files);
8098
8098
  }), c && (c.onclick = function () {
8099
- return a.click();
8100
- }), (l || c) && pe.enableButtons(l, c);
8101
- }), (t == null ? void 0 : t.initialHtml) || "<div>\n Initialize or upload a web model that will run entirely on your browser. <br/> \n <button disabled class=\"".concat(n, " deep-chat-button deep-chat-web-model-button\">Start</button>\n <input type=\"file\" class=\"").concat(o, "\" hidden multiple />\n <button disabled class=\"").concat(r, " deep-chat-button deep-chat-web-model-button\">Upload</button>\n </div>");
8099
+ return l.click();
8100
+ }), (a || c) && pe.enableButtons(a, c);
8101
+ }), (t == null ? void 0 : t.initialHtml) || "<div>\n Download or upload a web model that will run entirely on your browser: <br/> \n <button disabled class=\"".concat(n, " deep-chat-button deep-chat-web-model-button\">Download</button>\n <input type=\"file\" class=\"").concat(o, "\" hidden multiple />\n <button disabled class=\"").concat(r, " deep-chat-button deep-chat-web-model-button\">Upload</button>\n </div>");
8102
8102
  }
8103
8103
  }, {
8104
8104
  key: "exportFile",
@@ -8127,7 +8127,7 @@ var Et = /*#__PURE__*/function () {
8127
8127
  r && (r.onclick = function () {
8128
8128
  return pe.exportFile(e);
8129
8129
  });
8130
- }), (t == null ? void 0 : t.afterLoadHtml) || "<div>\n Model loaded successfully and has been cached for future requests. <br/>\n <button class=\"".concat(n, " deep-chat-button deep-chat-web-model-button\">Export Files</button>\n </div>");
8130
+ }), (t == null ? void 0 : t.afterLoadHtml) || "<div>\n Model loaded successfully and has been cached for future requests. <br/>\n <button style=\"margin-top: 5px\" class=\"".concat(n, " deep-chat-button\">Export</button>\n </div>");
8131
8131
  }
8132
8132
  }]);
8133
8133
  return pe;
@@ -8230,17 +8230,17 @@ var yn = {
8230
8230
  use_web_worker: !0
8231
8231
  },
8232
8232
  et = /*#__PURE__*/function (_Le2) {
8233
- _inherits(T, _Le2);
8234
- var _super35 = _createSuper(T);
8235
- function T(e) {
8233
+ _inherits(M, _Le2);
8234
+ var _super35 = _createSuper(M);
8235
+ function M(e) {
8236
8236
  var _this32;
8237
- _classCallCheck(this, T);
8237
+ _classCallCheck(this, M);
8238
8238
  var t, i;
8239
- _this32 = _super35.call(this, e), _this32._isModelLoaded = !1, _this32._isModelLoading = !1, _this32._loadOnFirstMessage = !1, _this32._webModel = {}, _this32.permittedErrorPrefixes = [T.MULTIPLE_MODELS_ERROR, T.WEB_LLM_NOT_FOUND_ERROR, T.GENERIC_ERROR], _this32._conversationHistory = [], _typeof(e.webModel) == "object" && (_this32._webModel = e.webModel), (t = _this32._webModel.load) != null && t.clearCache && T.clearCache(), _this32.findModelInWindow(e), _this32.canSendMessage = _this32.canSubmit.bind(_assertThisInitialized(_this32)), _this32._chatEl = (i = e.shadowRoot) == null ? void 0 : i.children[0], e.initialMessages && T.setUpHistory(_this32._conversationHistory, e.initialMessages);
8239
+ _this32 = _super35.call(this, e), _this32._isModelLoaded = !1, _this32._isModelLoading = !1, _this32._loadOnFirstMessage = !1, _this32._webModel = {}, _this32.permittedErrorPrefixes = [M.MULTIPLE_MODELS_ERROR, M.WEB_LLM_NOT_FOUND_ERROR, M.GENERIC_ERROR], _this32._conversationHistory = [], _typeof(e.webModel) == "object" && (_this32._webModel = e.webModel), (t = _this32._webModel.load) != null && t.clearCache && M.clearAllCache(), _this32.findModelInWindow(e), _this32.canSendMessage = _this32.canSubmit.bind(_assertThisInitialized(_this32)), _this32._chatEl = (i = e.shadowRoot) == null ? void 0 : i.children[0], e.initialMessages && M.setUpHistory(_this32._conversationHistory, e.initialMessages);
8240
8240
  return _this32;
8241
8241
  }
8242
8242
  // need ref of messages object as web model exhibits unique behaviour to manipulate chat
8243
- _createClass(T, [{
8243
+ _createClass(M, [{
8244
8244
  key: "setUpMessages",
8245
8245
  value: function setUpMessages(e) {
8246
8246
  var _this33 = this;
@@ -8254,7 +8254,7 @@ var yn = {
8254
8254
  var _this34 = this;
8255
8255
  var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
8256
8256
  var i;
8257
- window.webLLM ? this.configureInit(this.shouldAddInitialMessage(e.introMessage)) : t > T.MODULE_SEARCH_LIMIT_S ? ((i = this._messages) == null || i.addNewErrorMessage("service", T.WEB_LLM_NOT_FOUND_ERROR), console.error("The WebLLM module is either not in the project or not been attached to the window object. Please see the following guide:"), console.error("Hello World")) : setTimeout(function () {
8257
+ window.webLLM ? this.configureInit(this.shouldAddInitialMessage(e.introMessage)) : t > M.MODULE_SEARCH_LIMIT_S ? ((i = this._messages) == null || i.addNewErrorMessage("service", M.WEB_LLM_NOT_FOUND_ERROR), console.error("The WebLLM module is either not in the project or not been attached to the window object. Please see the following guide:"), console.error("Hello World")) : setTimeout(function () {
8258
8258
  return _this34.findModelInWindow(e, t + 1);
8259
8259
  }, 1e3);
8260
8260
  }
@@ -8355,8 +8355,8 @@ var yn = {
8355
8355
  key: "attemptToCreateChat",
8356
8356
  value: function attemptToCreateChat() {
8357
8357
  var t;
8358
- if (T.chat) {
8359
- (t = this._messages) == null || t.addNewErrorMessage("service", T.MULTIPLE_MODELS_ERROR), console.error(T.MULTIPLE_MODELS_ERROR);
8358
+ if (M.chat) {
8359
+ (t = this._messages) == null || t.addNewErrorMessage("service", M.MULTIPLE_MODELS_ERROR), console.error(M.MULTIPLE_MODELS_ERROR);
8360
8360
  return;
8361
8361
  }
8362
8362
  if (this._isModelLoaded || this._isModelLoading) return;
@@ -8367,7 +8367,7 @@ var yn = {
8367
8367
  key: "getConfig",
8368
8368
  value: function getConfig() {
8369
8369
  var i, n, r;
8370
- var e = T.DEFAULT_MODEL;
8370
+ var e = M.DEFAULT_MODEL;
8371
8371
  this._webModel.model && (e = this._webModel.model);
8372
8372
  var t = JSON.parse(JSON.stringify(yn));
8373
8373
  if ((i = this._webModel.urls) != null && i.model) {
@@ -8394,7 +8394,7 @@ var yn = {
8394
8394
  return _regeneratorRuntime().wrap(function _callee79$(_context79) {
8395
8395
  while (1) switch (_context79.prev = _context79.next) {
8396
8396
  case 0:
8397
- this.scrollToTop(), T.chat = e, this._isModelLoading = !0;
8397
+ this.scrollToTop(), M.chat = e, this._isModelLoading = !0;
8398
8398
  i = ((o = this._webModel.introMessage) == null ? void 0 : o.displayed) === !1;
8399
8399
  n = function n(u) {
8400
8400
  var h;
@@ -8407,7 +8407,7 @@ var yn = {
8407
8407
  return Y.scrollToBottom((p = _this36._messages) == null ? void 0 : p.elementRef);
8408
8408
  }), i = !1);
8409
8409
  };
8410
- T.chat.setInitProgressCallback(n);
8410
+ M.chat.setInitProgressCallback(n);
8411
8411
  _context79.prev = 4;
8412
8412
  _this$getConfig = this.getConfig(), u = _this$getConfig.model, h = _this$getConfig.appConfig, p = {
8413
8413
  conv_config: {
@@ -8416,7 +8416,7 @@ var yn = {
8416
8416
  };
8417
8417
  this._conversationHistory.length > 0 && (p.conversation_history = this._conversationHistory);
8418
8418
  _context79.next = 9;
8419
- return T.chat.reload(u, p, h, t);
8419
+ return M.chat.reload(u, p, h, t);
8420
8420
  case 9:
8421
8421
  r = _context79.sent;
8422
8422
  _context79.next = 15;
@@ -8559,7 +8559,7 @@ var yn = {
8559
8559
  case 6:
8560
8560
  return _context83.abrupt("return");
8561
8561
  case 7:
8562
- !T.chat || this._isModelLoading || ((i = this._webModel.introMessage) != null && i.removeAfterMessage && ((n = this._removeIntro) == null || n.call(this)), e.addLoadingMessage(), this.generateResp(e, t, T.chat));
8562
+ !M.chat || this._isModelLoading || ((i = this._webModel.introMessage) != null && i.removeAfterMessage && ((n = this._removeIntro) == null || n.call(this)), e.addLoadingMessage(), this.generateResp(e, t, M.chat));
8563
8563
  case 8:
8564
8564
  case "end":
8565
8565
  return _context83.stop();
@@ -8579,19 +8579,19 @@ var yn = {
8579
8579
  return _regeneratorRuntime().wrap(function _callee84$(_context84) {
8580
8580
  while (1) switch (_context84.prev = _context84.next) {
8581
8581
  case 0:
8582
- (t = this._messages) == null || t.addNewErrorMessage("service", T.GENERIC_ERROR);
8582
+ (t = this._messages) == null || t.addNewErrorMessage("service", M.GENERIC_ERROR);
8583
8583
  console.error(e);
8584
8584
  this._isModelLoaded = !1;
8585
8585
  this._isModelLoading = !1;
8586
- _context84.t0 = T.chat;
8586
+ _context84.t0 = M.chat;
8587
8587
  if (!_context84.t0) {
8588
8588
  _context84.next = 9;
8589
8589
  break;
8590
8590
  }
8591
8591
  _context84.next = 8;
8592
- return T.chat.unload();
8592
+ return M.chat.unload();
8593
8593
  case 8:
8594
- T.chat = void 0;
8594
+ M.chat = void 0;
8595
8595
  case 9:
8596
8596
  case "end":
8597
8597
  return _context84.stop();
@@ -8618,19 +8618,24 @@ var yn = {
8618
8618
  }
8619
8619
  });
8620
8620
  }
8621
+ }, {
8622
+ key: "clearAllCache",
8623
+ value: function clearAllCache() {
8624
+ M.clearCache("webllm/model"), M.clearCache("webllm/wasm");
8625
+ }
8621
8626
  }, {
8622
8627
  key: "clearCache",
8623
- value: function clearCache() {
8624
- caches.open("webllm/model").then(function (e) {
8625
- e.keys().then(function (t) {
8626
- t.forEach(function (i) {
8627
- e["delete"](i);
8628
+ value: function clearCache(e) {
8629
+ caches.open(e).then(function (t) {
8630
+ t.keys().then(function (i) {
8631
+ i.forEach(function (n) {
8632
+ t["delete"](n);
8628
8633
  });
8629
8634
  });
8630
8635
  });
8631
8636
  }
8632
8637
  }]);
8633
- return T;
8638
+ return M;
8634
8639
  }(Le);
8635
8640
  et.GENERIC_ERROR = "Error, please check the following list of [instructions](https://deepchat.dev/docs/webModel#error) to fix this.";
8636
8641
  et.MULTIPLE_MODELS_ERROR = "Cannot run multiple web models";
@@ -9236,13 +9241,13 @@ var te = /*#__PURE__*/function () {
9236
9241
  key: "unsetAllCSS",
9237
9242
  value: function unsetAllCSS(e, t) {
9238
9243
  var i, n;
9239
- t.container && M.unsetAllCSSMouseStates(e, t.container), (i = t.svg) != null && i.styles && M.unsetAllCSSMouseStates(e.children[0], t.svg.styles), (n = t.text) != null && n.styles && M.unsetAllCSSMouseStates(e.children[0], t.text.styles);
9244
+ t.container && T.unsetAllCSSMouseStates(e, t.container), (i = t.svg) != null && i.styles && T.unsetAllCSSMouseStates(e.children[0], t.svg.styles), (n = t.text) != null && n.styles && T.unsetAllCSSMouseStates(e.children[0], t.text.styles);
9240
9245
  }
9241
9246
  }, {
9242
9247
  key: "unsetActionCSS",
9243
9248
  value: function unsetActionCSS(e, t) {
9244
9249
  var i, n;
9245
- t.container && M.unsetActivityCSSMouseStates(e, t.container), (i = t.svg) != null && i.styles && M.unsetActivityCSSMouseStates(e.children[0], t.svg.styles), (n = t.text) != null && n.styles && M.unsetActivityCSSMouseStates(e.children[0], t.text.styles);
9250
+ t.container && T.unsetActivityCSSMouseStates(e, t.container), (i = t.svg) != null && i.styles && T.unsetActivityCSSMouseStates(e.children[0], t.svg.styles), (n = t.text) != null && n.styles && T.unsetActivityCSSMouseStates(e.children[0], t.text.styles);
9246
9251
  }
9247
9252
  }, {
9248
9253
  key: "setElementsCSS",
@@ -9375,7 +9380,7 @@ var we = /*#__PURE__*/function () {
9375
9380
  r = t.dropupText,
9376
9381
  o = document.createElement("div");
9377
9382
  Object.assign(o.style, (l = i == null ? void 0 : i.item) == null ? void 0 : l["default"]), we.populateItem(n, o, r, i), o.classList.add("dropup-menu-item");
9378
- var a = M.processStateful((i == null ? void 0 : i.item) || {}, {
9383
+ var a = T.processStateful((i == null ? void 0 : i.item) || {}, {
9379
9384
  backgroundColor: "#f3f3f3"
9380
9385
  }, {
9381
9386
  backgroundColor: "#ebebeb"
@@ -48,6 +48,7 @@ export declare class WebModel extends BaseServiceIO {
48
48
  callServiceAPI(messages: Messages, pMessages: MessageContentI[]): Promise<void>;
49
49
  private unloadChat;
50
50
  isWebModel(): boolean;
51
+ private static clearAllCache;
51
52
  private static clearCache;
52
53
  }
53
54
  //# sourceMappingURL=webModel.d.ts.map
@@ -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AAa,CAAgC;IACrE,gBAAuB,qBAAqB,KAAK;IACjD,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB;IAChD,sBAAsB,WAA8F;IACpH,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAA+B;IACpE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAc;IACvC,OAAO,CAAC,YAAY,CAAC,CAAa;IAClC,OAAO,CAAC,SAAS,CAAC,CAAW;gBAEjB,QAAQ,EAAE,QAAQ;IAYvB,aAAa,CAAC,QAAQ,EAAE,QAAQ;IAQvC,OAAO,CAAC,MAAM,CAAC,YAAY;IAW3B,OAAO,CAAC,iBAAiB;IAgBzB,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,WAAW;IAOZ,eAAe,CAAC,kBAAkB,CAAC,EAAE,YAAY;;;;;YAO1C,aAAa;YAeb,IAAI;IAKlB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,SAAS;YAiBH,SAAS;YAmCT,YAAY;YAaZ,aAAa;YAMb,UAAU;IAaxB,OAAO,CAAC,SAAS;IAMF,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE;YAchE,UAAU;IAUf,UAAU;IAInB,OAAO,CAAC,MAAM,CAAC,aAAa;IAS5B,OAAO,CAAC,MAAM,CAAC,UAAU;CAS1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deep-chat-dev",
3
- "version": "9.0.99",
3
+ "version": "9.0.100",
4
4
  "description": "Customizable chat component for AI APIs",
5
5
  "main": "./dist/deepChat.js",
6
6
  "module": "./dist/deepChat.js",