@carbon/ai-chat 0.1.6 → 0.1.7-test-no-cjs

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.
Files changed (144) hide show
  1. package/dist/es/{cds-aichat-internal.js → AppContainer.js} +50756 -18310
  2. package/dist/es/Carousel.js +14 -8
  3. package/dist/es/GenesysMessengerServiceDesk.js +17 -11
  4. package/dist/es/HumanAgentServiceImpl.js +17 -12
  5. package/dist/es/NiceDFOServiceDesk.js +17 -12
  6. package/dist/es/PDFViewerContainer.js +15 -108
  7. package/dist/es/ReactPlayer.js +2 -2
  8. package/dist/es/SFServiceDesk.js +18 -11
  9. package/dist/es/ServiceDeskImpl.js +2 -2
  10. package/dist/es/Table.js +429 -315
  11. package/dist/es/ZendeskServiceDesk.js +17 -11
  12. package/dist/es/_node-resolve_empty.js +2 -2
  13. package/dist/es/aiChatEntry.js +137 -120
  14. package/dist/es/ar-dz.js +3 -4
  15. package/dist/es/ar-kw.js +3 -4
  16. package/dist/es/ar-ly.js +3 -4
  17. package/dist/es/ar-ma.js +3 -4
  18. package/dist/es/ar-sa.js +3 -4
  19. package/dist/es/ar-tn.js +3 -4
  20. package/dist/es/ar.js +3 -4
  21. package/dist/es/ar2.js +2 -2
  22. package/dist/es/cds-aichat-container.js +104 -18
  23. package/dist/es/cds-aichat-custom-element.js +31 -21
  24. package/dist/es/cs.js +3 -4
  25. package/dist/es/cs2.js +2 -2
  26. package/dist/es/de-at.js +3 -4
  27. package/dist/es/de-ch.js +3 -4
  28. package/dist/es/de.js +3 -4
  29. package/dist/es/de2.js +2 -2
  30. package/dist/es/en-au.js +3 -4
  31. package/dist/es/en-ca.js +3 -4
  32. package/dist/es/en-gb.js +3 -4
  33. package/dist/es/en-ie.js +3 -4
  34. package/dist/es/en-il.js +3 -4
  35. package/dist/es/en-nz.js +3 -4
  36. package/dist/es/es-do.js +3 -4
  37. package/dist/es/es-us.js +3 -4
  38. package/dist/es/es.js +3 -4
  39. package/dist/es/es2.js +2 -2
  40. package/dist/es/export.js +3 -3
  41. package/dist/es/export.legacy.js +3 -3
  42. package/dist/es/fontUtils.js +2 -2
  43. package/dist/es/fr-ca.js +3 -4
  44. package/dist/es/fr-ch.js +3 -4
  45. package/dist/es/fr.js +3 -4
  46. package/dist/es/fr2.js +2 -2
  47. package/dist/es/it-ch.js +3 -4
  48. package/dist/es/it.js +3 -4
  49. package/dist/es/it2.js +2 -2
  50. package/dist/es/ja.js +3 -4
  51. package/dist/es/ja2.js +2 -2
  52. package/dist/es/ko.js +3 -4
  53. package/dist/es/ko2.js +2 -2
  54. package/dist/es/mockServiceDesk.js +17 -11
  55. package/dist/es/nl.js +3 -4
  56. package/dist/es/nl2.js +2 -2
  57. package/dist/es/pt-br.js +3 -4
  58. package/dist/es/pt-br2.js +2 -2
  59. package/dist/es/pt.js +3 -4
  60. package/dist/es/render.js +25 -12
  61. package/dist/es/zh-cn.js +3 -4
  62. package/dist/es/zh-tw.js +3 -4
  63. package/dist/es/zh-tw2.js +2 -2
  64. package/dist/es/zh.js +2 -2
  65. package/dist/types/aiChatEntry.d.ts +599 -11
  66. package/package.json +29 -21
  67. package/dist/cjs/Carousel.js +0 -5711
  68. package/dist/cjs/Chat.js +0 -8838
  69. package/dist/cjs/GenesysMessengerServiceDesk.js +0 -598
  70. package/dist/cjs/HumanAgentServiceImpl.js +0 -1145
  71. package/dist/cjs/NiceDFOServiceDesk.js +0 -2116
  72. package/dist/cjs/PDFViewerContainer.js +0 -83227
  73. package/dist/cjs/ReactPlayer.js +0 -57
  74. package/dist/cjs/SFServiceDesk.js +0 -1031
  75. package/dist/cjs/ServiceDeskImpl.js +0 -74
  76. package/dist/cjs/Table.js +0 -3146
  77. package/dist/cjs/ZendeskServiceDesk.js +0 -670
  78. package/dist/cjs/_node-resolve_empty.js +0 -27
  79. package/dist/cjs/agentActions.js +0 -214
  80. package/dist/cjs/aiChatEntry.js +0 -354
  81. package/dist/cjs/anonymousUserIDStorage.js +0 -254
  82. package/dist/cjs/ar-dz.js +0 -57
  83. package/dist/cjs/ar-kw.js +0 -57
  84. package/dist/cjs/ar-ly.js +0 -57
  85. package/dist/cjs/ar-ma.js +0 -57
  86. package/dist/cjs/ar-sa.js +0 -57
  87. package/dist/cjs/ar-tn.js +0 -57
  88. package/dist/cjs/ar.js +0 -57
  89. package/dist/cjs/ar2.js +0 -763
  90. package/dist/cjs/cds-aichat-container.js +0 -143
  91. package/dist/cjs/cds-aichat-custom-element.js +0 -200
  92. package/dist/cjs/cds-aichat-internal.js +0 -39150
  93. package/dist/cjs/cs.js +0 -57
  94. package/dist/cjs/cs2.js +0 -763
  95. package/dist/cjs/de-at.js +0 -57
  96. package/dist/cjs/de-ch.js +0 -57
  97. package/dist/cjs/de.js +0 -57
  98. package/dist/cjs/de2.js +0 -763
  99. package/dist/cjs/en-au.js +0 -57
  100. package/dist/cjs/en-ca.js +0 -57
  101. package/dist/cjs/en-gb.js +0 -57
  102. package/dist/cjs/en-ie.js +0 -57
  103. package/dist/cjs/en-il.js +0 -57
  104. package/dist/cjs/en-nz.js +0 -57
  105. package/dist/cjs/es-do.js +0 -57
  106. package/dist/cjs/es-us.js +0 -57
  107. package/dist/cjs/es.js +0 -57
  108. package/dist/cjs/es2.js +0 -763
  109. package/dist/cjs/export.js +0 -27
  110. package/dist/cjs/export.legacy.js +0 -27
  111. package/dist/cjs/fontUtils.js +0 -1038
  112. package/dist/cjs/fr-ca.js +0 -57
  113. package/dist/cjs/fr-ch.js +0 -57
  114. package/dist/cjs/fr.js +0 -57
  115. package/dist/cjs/fr2.js +0 -763
  116. package/dist/cjs/highlight_js.js +0 -15325
  117. package/dist/cjs/it-ch.js +0 -57
  118. package/dist/cjs/it.js +0 -57
  119. package/dist/cjs/it2.js +0 -763
  120. package/dist/cjs/ja.js +0 -57
  121. package/dist/cjs/ja2.js +0 -763
  122. package/dist/cjs/jstz.min.js +0 -43
  123. package/dist/cjs/ko.js +0 -57
  124. package/dist/cjs/ko2.js +0 -763
  125. package/dist/cjs/markdown.js +0 -8505
  126. package/dist/cjs/markdown_attrs.js +0 -805
  127. package/dist/cjs/mockServiceDesk.js +0 -887
  128. package/dist/cjs/nl.js +0 -57
  129. package/dist/cjs/nl2.js +0 -763
  130. package/dist/cjs/pt-br.js +0 -57
  131. package/dist/cjs/pt-br2.js +0 -763
  132. package/dist/cjs/pt.js +0 -57
  133. package/dist/cjs/render.js +0 -94
  134. package/dist/cjs/zh-cn.js +0 -57
  135. package/dist/cjs/zh-tw.js +0 -57
  136. package/dist/cjs/zh-tw2.js +0 -763
  137. package/dist/cjs/zh.js +0 -763
  138. package/dist/es/Chat.js +0 -8836
  139. package/dist/es/agentActions.js +0 -186
  140. package/dist/es/anonymousUserIDStorage.js +0 -249
  141. package/dist/es/highlight_js.js +0 -15320
  142. package/dist/es/jstz.min.js +0 -41
  143. package/dist/es/markdown.js +0 -8501
  144. package/dist/es/markdown_attrs.js +0 -803
@@ -1,254 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var cdsAichatInternal = require('./cds-aichat-internal.js');
26
-
27
- /*! js-cookie v3.0.5 | MIT */
28
- /* eslint-disable no-var */
29
- function assign (target) {
30
- for (var i = 1; i < arguments.length; i++) {
31
- var source = arguments[i];
32
- for (var key in source) {
33
- target[key] = source[key];
34
- }
35
- }
36
- return target
37
- }
38
- /* eslint-enable no-var */
39
-
40
- /* eslint-disable no-var */
41
- var defaultConverter = {
42
- read: function (value) {
43
- if (value[0] === '"') {
44
- value = value.slice(1, -1);
45
- }
46
- return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent)
47
- },
48
- write: function (value) {
49
- return encodeURIComponent(value).replace(
50
- /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
51
- decodeURIComponent
52
- )
53
- }
54
- };
55
- /* eslint-enable no-var */
56
-
57
- /* eslint-disable no-var */
58
-
59
- function init (converter, defaultAttributes) {
60
- function set (name, value, attributes) {
61
- if (typeof document === 'undefined') {
62
- return
63
- }
64
-
65
- attributes = assign({}, defaultAttributes, attributes);
66
-
67
- if (typeof attributes.expires === 'number') {
68
- attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
69
- }
70
- if (attributes.expires) {
71
- attributes.expires = attributes.expires.toUTCString();
72
- }
73
-
74
- name = encodeURIComponent(name)
75
- .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)
76
- .replace(/[()]/g, escape);
77
-
78
- var stringifiedAttributes = '';
79
- for (var attributeName in attributes) {
80
- if (!attributes[attributeName]) {
81
- continue
82
- }
83
-
84
- stringifiedAttributes += '; ' + attributeName;
85
-
86
- if (attributes[attributeName] === true) {
87
- continue
88
- }
89
-
90
- // Considers RFC 6265 section 5.2:
91
- // ...
92
- // 3. If the remaining unparsed-attributes contains a %x3B (";")
93
- // character:
94
- // Consume the characters of the unparsed-attributes up to,
95
- // not including, the first %x3B (";") character.
96
- // ...
97
- stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
98
- }
99
-
100
- return (document.cookie =
101
- name + '=' + converter.write(value, name) + stringifiedAttributes)
102
- }
103
-
104
- function get (name) {
105
- if (typeof document === 'undefined' || (arguments.length && !name)) {
106
- return
107
- }
108
-
109
- // To prevent the for loop in the first place assign an empty array
110
- // in case there are no cookies at all.
111
- var cookies = document.cookie ? document.cookie.split('; ') : [];
112
- var jar = {};
113
- for (var i = 0; i < cookies.length; i++) {
114
- var parts = cookies[i].split('=');
115
- var value = parts.slice(1).join('=');
116
-
117
- try {
118
- var found = decodeURIComponent(parts[0]);
119
- jar[found] = converter.read(value, found);
120
-
121
- if (name === found) {
122
- break
123
- }
124
- } catch (e) {}
125
- }
126
-
127
- return name ? jar[name] : jar
128
- }
129
-
130
- return Object.create(
131
- {
132
- set,
133
- get,
134
- remove: function (name, attributes) {
135
- set(
136
- name,
137
- '',
138
- assign({}, attributes, {
139
- expires: -1
140
- })
141
- );
142
- },
143
- withAttributes: function (attributes) {
144
- return init(this.converter, assign({}, this.attributes, attributes))
145
- },
146
- withConverter: function (converter) {
147
- return init(assign({}, this.converter, converter), this.attributes)
148
- }
149
- },
150
- {
151
- attributes: { value: Object.freeze(defaultAttributes) },
152
- converter: { value: Object.freeze(converter) }
153
- }
154
- )
155
- }
156
-
157
- var api = init(defaultConverter, { path: '/' });
158
-
159
- /**
160
- *
161
- * IBM Confidential
162
- *
163
- * (C) Copyright IBM Corp. 2019, 2023
164
- *
165
- * The source code for this program is not published or otherwise
166
- * divested of its trade secrets, irrespective of what has been
167
- * deposited with the U. S. Copyright Office
168
- *
169
- * US Government Users Restricted Rights - Use, duplication or
170
- * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
171
- *
172
- */
173
- /**
174
- * This module is responsible for managing the storage of anonymousUserId. We use an anonymousUserId if the userId is
175
- * not set in order to not repeat bill unique users that are anonymous. The id is stored (preferentially) as a 1st
176
- * party cookie that expires in 45 days. The expiration date is so we don't leave data sitting in the user's browser
177
- * for a long period of time per IBM policy. The period of 45 days is chosen so that the cookie does not expire
178
- * within a given month of so which would result in the user being detected as a new user and thus causing the
179
- * client to be billed for an additional user. The number should be between 32 days (the minimum to cover a whole month)
180
- * and 365 days (the maximum allowed by IBM policy).
181
- */
182
- // The length of cookie the anonymous userID cookie should live in days. This may be fractions of days if needed.
183
- const COOKIE_DURATION = 45; // Days
184
- // The prefix attached to all anonymous user ids.
185
- const ANONYMOUS_USER_ID_PREFIX = 'anonymous_IBMuid-';
186
- // The key in browser storage that contains the session id for a particular user.
187
- const ANONYMOUS_USER_ID_KEY = 'IBM_WAC_ANONYMOUS_USER_ID';
188
- /**
189
- * Returns the anonymousUserId as recorded in local storage. If there is no defined anonymousUserId, this
190
- * will return undefined.
191
- */
192
- function getAnonymousUserID(useCookie) {
193
- // Return the value of the cookie, looking in session storage first as that's our fallback if cookies aren't
194
- // available.
195
- let userID;
196
- if (cdsAichatInternal.IS_SESSION_STORAGE()) {
197
- if (useCookie) {
198
- userID = window.sessionStorage.getItem(ANONYMOUS_USER_ID_KEY) || api.get(ANONYMOUS_USER_ID_KEY);
199
- }
200
- else {
201
- userID = window.sessionStorage.getItem(ANONYMOUS_USER_ID_KEY);
202
- }
203
- }
204
- else if (useCookie) {
205
- userID = api.get(ANONYMOUS_USER_ID_KEY);
206
- }
207
- // If there is an ID, we need to do a "set" again which will update the expiration date on the cookie.
208
- if (userID) {
209
- setAnonymousUserId(userID, useCookie);
210
- }
211
- return userID || null;
212
- }
213
- /**
214
- * Sets the anonymousUserId in local storage.
215
- */
216
- function setAnonymousUserId(anonymousUserId, useCookie) {
217
- if (useCookie) {
218
- api.set(ANONYMOUS_USER_ID_KEY, anonymousUserId, {
219
- expires: COOKIE_DURATION,
220
- sameSite: 'lax',
221
- secure: cdsAichatInternal.isSecureHost(),
222
- });
223
- }
224
- if ((!useCookie || !api.get(ANONYMOUS_USER_ID_KEY)) && cdsAichatInternal.IS_SESSION_STORAGE()) {
225
- // If the cookie failed to get set, it means we're in a higher security level and we need to attempt to use
226
- // session storage instead. If tracking is disabled, browsers may disable localStorage and cookies, but still allow
227
- // session storage. Falling back to session storage at least allows us to not bill each page view as an
228
- // individual user! https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Storage_access_policy
229
- window.sessionStorage.setItem(ANONYMOUS_USER_ID_KEY, anonymousUserId);
230
- }
231
- }
232
- /**
233
- * Generated a new anonymousUserId (MUST start with anonymous_ to be handled correctly downstream).
234
- */
235
- function generateAndSetAnonymousUserId(useCookie) {
236
- const anonymousUserId = `${ANONYMOUS_USER_ID_PREFIX}${cdsAichatInternal.uuid(cdsAichatInternal.UUIDType.USER)}`;
237
- setAnonymousUserId(anonymousUserId, useCookie);
238
- return anonymousUserId;
239
- }
240
- /**
241
- * Clear the anonymousUserId from localStorage. Called when a real userId is set.
242
- *
243
- */
244
- function clearAnonymousUserId() {
245
- api.remove(ANONYMOUS_USER_ID_KEY);
246
- if (cdsAichatInternal.IS_SESSION_STORAGE()) {
247
- window.sessionStorage.removeItem(ANONYMOUS_USER_ID_KEY);
248
- }
249
- }
250
-
251
- exports.ANONYMOUS_USER_ID_PREFIX = ANONYMOUS_USER_ID_PREFIX;
252
- exports.clearAnonymousUserId = clearAnonymousUserId;
253
- exports.generateAndSetAnonymousUserId = generateAndSetAnonymousUserId;
254
- exports.getAnonymousUserID = getAnonymousUserID;
package/dist/cjs/ar-dz.js DELETED
@@ -1,57 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
- var cdsAichatInternal = require('./cds-aichat-internal.js');
27
-
28
- function _mergeNamespaces(n, m) {
29
- m.forEach(function (e) {
30
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
31
- if (k !== 'default' && !(k in n)) {
32
- var d = Object.getOwnPropertyDescriptor(e, k);
33
- Object.defineProperty(n, k, d.get ? d : {
34
- enumerable: true,
35
- get: function () { return e[k]; }
36
- });
37
- }
38
- });
39
- });
40
- return Object.freeze(n);
41
- }
42
-
43
- var arDz$2 = {exports: {}};
44
-
45
- (function (module, exports) {
46
- !function(_,e){module.exports=e(cdsAichatInternal.dayjs_minExports);}(highlight_js.commonjsGlobal,(function(_){function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d}));
47
- } (arDz$2));
48
-
49
- var arDzExports = arDz$2.exports;
50
- var arDz = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(arDzExports);
51
-
52
- var arDz$1 = /*#__PURE__*/_mergeNamespaces({
53
- __proto__: null,
54
- default: arDz
55
- }, [arDzExports]);
56
-
57
- exports.arDz = arDz$1;
package/dist/cjs/ar-kw.js DELETED
@@ -1,57 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
- var cdsAichatInternal = require('./cds-aichat-internal.js');
27
-
28
- function _mergeNamespaces(n, m) {
29
- m.forEach(function (e) {
30
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
31
- if (k !== 'default' && !(k in n)) {
32
- var d = Object.getOwnPropertyDescriptor(e, k);
33
- Object.defineProperty(n, k, d.get ? d : {
34
- enumerable: true,
35
- get: function () { return e[k]; }
36
- });
37
- }
38
- });
39
- });
40
- return Object.freeze(n);
41
- }
42
-
43
- var arKw$2 = {exports: {}};
44
-
45
- (function (module, exports) {
46
- !function(_,e){module.exports=e(cdsAichatInternal.dayjs_minExports);}(highlight_js.commonjsGlobal,(function(_){function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d}));
47
- } (arKw$2));
48
-
49
- var arKwExports = arKw$2.exports;
50
- var arKw = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(arKwExports);
51
-
52
- var arKw$1 = /*#__PURE__*/_mergeNamespaces({
53
- __proto__: null,
54
- default: arKw
55
- }, [arKwExports]);
56
-
57
- exports.arKw = arKw$1;
package/dist/cjs/ar-ly.js DELETED
@@ -1,57 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
- var cdsAichatInternal = require('./cds-aichat-internal.js');
27
-
28
- function _mergeNamespaces(n, m) {
29
- m.forEach(function (e) {
30
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
31
- if (k !== 'default' && !(k in n)) {
32
- var d = Object.getOwnPropertyDescriptor(e, k);
33
- Object.defineProperty(n, k, d.get ? d : {
34
- enumerable: true,
35
- get: function () { return e[k]; }
36
- });
37
- }
38
- });
39
- });
40
- return Object.freeze(n);
41
- }
42
-
43
- var arLy$2 = {exports: {}};
44
-
45
- (function (module, exports) {
46
- !function(_,e){module.exports=e(cdsAichatInternal.dayjs_minExports);}(highlight_js.commonjsGlobal,(function(_){function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},meridiem:function(_){return _>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return t.default.locale(n,null,!0),n}));
47
- } (arLy$2));
48
-
49
- var arLyExports = arLy$2.exports;
50
- var arLy = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(arLyExports);
51
-
52
- var arLy$1 = /*#__PURE__*/_mergeNamespaces({
53
- __proto__: null,
54
- default: arLy
55
- }, [arLyExports]);
56
-
57
- exports.arLy = arLy$1;
package/dist/cjs/ar-ma.js DELETED
@@ -1,57 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
- var cdsAichatInternal = require('./cds-aichat-internal.js');
27
-
28
- function _mergeNamespaces(n, m) {
29
- m.forEach(function (e) {
30
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
31
- if (k !== 'default' && !(k in n)) {
32
- var d = Object.getOwnPropertyDescriptor(e, k);
33
- Object.defineProperty(n, k, d.get ? d : {
34
- enumerable: true,
35
- get: function () { return e[k]; }
36
- });
37
- }
38
- });
39
- });
40
- return Object.freeze(n);
41
- }
42
-
43
- var arMa$2 = {exports: {}};
44
-
45
- (function (module, exports) {
46
- !function(e,_){module.exports=_(cdsAichatInternal.dayjs_minExports);}(highlight_js.commonjsGlobal,(function(e){function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d}));
47
- } (arMa$2));
48
-
49
- var arMaExports = arMa$2.exports;
50
- var arMa = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(arMaExports);
51
-
52
- var arMa$1 = /*#__PURE__*/_mergeNamespaces({
53
- __proto__: null,
54
- default: arMa
55
- }, [arMaExports]);
56
-
57
- exports.arMa = arMa$1;
package/dist/cjs/ar-sa.js DELETED
@@ -1,57 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
- var cdsAichatInternal = require('./cds-aichat-internal.js');
27
-
28
- function _mergeNamespaces(n, m) {
29
- m.forEach(function (e) {
30
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
31
- if (k !== 'default' && !(k in n)) {
32
- var d = Object.getOwnPropertyDescriptor(e, k);
33
- Object.defineProperty(n, k, d.get ? d : {
34
- enumerable: true,
35
- get: function () { return e[k]; }
36
- });
37
- }
38
- });
39
- });
40
- return Object.freeze(n);
41
- }
42
-
43
- var arSa$2 = {exports: {}};
44
-
45
- (function (module, exports) {
46
- !function(_,e){module.exports=e(cdsAichatInternal.dayjs_minExports);}(highlight_js.commonjsGlobal,(function(_){function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d}));
47
- } (arSa$2));
48
-
49
- var arSaExports = arSa$2.exports;
50
- var arSa = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(arSaExports);
51
-
52
- var arSa$1 = /*#__PURE__*/_mergeNamespaces({
53
- __proto__: null,
54
- default: arSa
55
- }, [arSaExports]);
56
-
57
- exports.arSa = arSa$1;
package/dist/cjs/ar-tn.js DELETED
@@ -1,57 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
- var cdsAichatInternal = require('./cds-aichat-internal.js');
27
-
28
- function _mergeNamespaces(n, m) {
29
- m.forEach(function (e) {
30
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
31
- if (k !== 'default' && !(k in n)) {
32
- var d = Object.getOwnPropertyDescriptor(e, k);
33
- Object.defineProperty(n, k, d.get ? d : {
34
- enumerable: true,
35
- get: function () { return e[k]; }
36
- });
37
- }
38
- });
39
- });
40
- return Object.freeze(n);
41
- }
42
-
43
- var arTn$2 = {exports: {}};
44
-
45
- (function (module, exports) {
46
- !function(e,_){module.exports=_(cdsAichatInternal.dayjs_minExports);}(highlight_js.commonjsGlobal,(function(e){function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d}));
47
- } (arTn$2));
48
-
49
- var arTnExports = arTn$2.exports;
50
- var arTn = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(arTnExports);
51
-
52
- var arTn$1 = /*#__PURE__*/_mergeNamespaces({
53
- __proto__: null,
54
- default: arTn
55
- }, [arTnExports]);
56
-
57
- exports.arTn = arTn$1;
package/dist/cjs/ar.js DELETED
@@ -1,57 +0,0 @@
1
- /*
2
-
3
-
4
- (C) Copyright IBM Corp. 2017, 2025. All Rights Reserved.
5
-
6
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7
- in compliance with the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software distributed under the License
12
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13
- or implied. See the License for the specific language governing permissions and limitations under
14
- the License.
15
-
16
- @carbon/ai-chat 0.1.6
17
-
18
- Built: Feb 3 2025 9:58 am -05:00
19
-
20
-
21
-
22
- */
23
- 'use strict';
24
-
25
- var highlight_js = require('./highlight_js.js');
26
- var cdsAichatInternal = require('./cds-aichat-internal.js');
27
-
28
- function _mergeNamespaces(n, m) {
29
- m.forEach(function (e) {
30
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
31
- if (k !== 'default' && !(k in n)) {
32
- var d = Object.getOwnPropertyDescriptor(e, k);
33
- Object.defineProperty(n, k, d.get ? d : {
34
- enumerable: true,
35
- get: function () { return e[k]; }
36
- });
37
- }
38
- });
39
- });
40
- return Object.freeze(n);
41
- }
42
-
43
- var ar$2 = {exports: {}};
44
-
45
- (function (module, exports) {
46
- !function(e,t){module.exports=t(cdsAichatInternal.dayjs_minExports);}(highlight_js.commonjsGlobal,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:r,monthsShort:r,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return _[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return d[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return n.default.locale(o,null,!0),o}));
47
- } (ar$2));
48
-
49
- var arExports = ar$2.exports;
50
- var ar = /*@__PURE__*/highlight_js.getDefaultExportFromCjs(arExports);
51
-
52
- var ar$1 = /*#__PURE__*/_mergeNamespaces({
53
- __proto__: null,
54
- default: ar
55
- }, [arExports]);
56
-
57
- exports.ar = ar$1;