@limetech/lime-crm-building-blocks 1.44.3 → 1.45.0

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 (110) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/_Map-ea5de08f.js +342 -0
  3. package/dist/cjs/{_getTag-ef492822.js → _getTag-8d3a269b.js} +21 -356
  4. package/dist/cjs/{factory-77dbba8c.js → factory-99d50c47.js} +1 -1
  5. package/dist/cjs/get-80a3d1aa.js +769 -0
  6. package/dist/cjs/{index-38585010.js → index-3d798cc6.js} +39 -0
  7. package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
  8. package/dist/cjs/limebb-browser.cjs.entry.js +1 -1
  9. package/dist/cjs/limebb-component-config.cjs.entry.js +143 -0
  10. package/dist/cjs/limebb-component-picker.cjs.entry.js +148 -0
  11. package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
  12. package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
  13. package/dist/cjs/limebb-date-picker.cjs.entry.js +1 -1
  14. package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
  15. package/dist/cjs/limebb-empty-state_2.cjs.entry.js +1 -1
  16. package/dist/cjs/limebb-feed.cjs.entry.js +1 -1
  17. package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
  18. package/dist/cjs/limebb-info-tile.cjs.entry.js +5 -4
  19. package/dist/cjs/limebb-kanban-column.cjs.entry.js +1 -1
  20. package/dist/cjs/limebb-kanban-item.cjs.entry.js +1 -1
  21. package/dist/cjs/limebb-kanban.cjs.entry.js +1 -1
  22. package/dist/cjs/limebb-limeobject-file-viewer.cjs.entry.js +2 -2
  23. package/dist/cjs/limebb-locale-picker.cjs.entry.js +45 -797
  24. package/dist/cjs/limebb-mention.cjs.entry.js +1 -1
  25. package/dist/cjs/limebb-navigation-button.cjs.entry.js +1 -1
  26. package/dist/cjs/limebb-notification-item.cjs.entry.js +1 -1
  27. package/dist/cjs/limebb-notification-list.cjs.entry.js +1 -1
  28. package/dist/cjs/loader.cjs.js +2 -2
  29. package/dist/collection/collection-manifest.json +2 -0
  30. package/dist/collection/components/component-command-picker/component-config/component-config.css +26 -0
  31. package/dist/collection/components/component-command-picker/component-config/component-config.js +381 -0
  32. package/dist/collection/components/component-command-picker/component-picker/component-picker.css +11 -0
  33. package/dist/collection/components/component-command-picker/component-picker/component-picker.js +411 -0
  34. package/dist/collection/components/component-command-picker/types.js +1 -0
  35. package/dist/collection/util/web-component-template.js +13 -0
  36. package/dist/components/_Map.js +330 -0
  37. package/dist/components/_getTag.js +2 -329
  38. package/dist/components/get.js +757 -0
  39. package/dist/components/index.d.ts +2 -0
  40. package/dist/components/index.js +2 -0
  41. package/dist/components/limebb-component-config.d.ts +11 -0
  42. package/dist/components/limebb-component-config.js +170 -0
  43. package/dist/components/limebb-component-picker.d.ts +11 -0
  44. package/dist/components/limebb-component-picker.js +175 -0
  45. package/dist/components/limebb-info-tile.js +2 -1
  46. package/dist/components/limebb-locale-picker.js +6 -758
  47. package/dist/esm/_Map-e3bbb0c0.js +330 -0
  48. package/dist/esm/{_getTag-8b9b1539.js → _getTag-bd1516ef.js} +2 -329
  49. package/dist/esm/{factory-8a902a7c.js → factory-d86de406.js} +1 -1
  50. package/dist/esm/get-861a68a0.js +757 -0
  51. package/dist/esm/{index-17472c6c.js → index-3d509f04.js} +39 -0
  52. package/dist/esm/lime-crm-building-blocks.js +2 -2
  53. package/dist/esm/limebb-browser.entry.js +1 -1
  54. package/dist/esm/limebb-component-config.entry.js +139 -0
  55. package/dist/esm/limebb-component-picker.entry.js +144 -0
  56. package/dist/esm/limebb-currency-picker.entry.js +1 -1
  57. package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
  58. package/dist/esm/limebb-date-picker.entry.js +1 -1
  59. package/dist/esm/limebb-date-range.entry.js +1 -1
  60. package/dist/esm/limebb-empty-state_2.entry.js +1 -1
  61. package/dist/esm/limebb-feed.entry.js +1 -1
  62. package/dist/esm/limebb-icon-picker.entry.js +1 -1
  63. package/dist/esm/limebb-info-tile.entry.js +4 -3
  64. package/dist/esm/limebb-kanban-column.entry.js +1 -1
  65. package/dist/esm/limebb-kanban-item.entry.js +1 -1
  66. package/dist/esm/limebb-kanban.entry.js +1 -1
  67. package/dist/esm/limebb-limeobject-file-viewer.entry.js +2 -2
  68. package/dist/esm/limebb-locale-picker.entry.js +7 -759
  69. package/dist/esm/limebb-mention.entry.js +1 -1
  70. package/dist/esm/limebb-navigation-button.entry.js +1 -1
  71. package/dist/esm/limebb-notification-item.entry.js +1 -1
  72. package/dist/esm/limebb-notification-list.entry.js +1 -1
  73. package/dist/esm/loader.js +2 -2
  74. package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
  75. package/dist/lime-crm-building-blocks/p-060c1d81.entry.js +1 -0
  76. package/dist/lime-crm-building-blocks/p-14bfc240.entry.js +1 -0
  77. package/dist/lime-crm-building-blocks/{p-8dfbf2ec.entry.js → p-20232ff1.entry.js} +1 -1
  78. package/dist/lime-crm-building-blocks/{p-bbaa0cd6.entry.js → p-2e254ddc.entry.js} +1 -1
  79. package/dist/lime-crm-building-blocks/{p-f956bdb1.entry.js → p-37535b64.entry.js} +1 -1
  80. package/dist/lime-crm-building-blocks/{p-944bd625.entry.js → p-4a29af7f.entry.js} +1 -1
  81. package/dist/lime-crm-building-blocks/p-596e639b.entry.js +1 -0
  82. package/dist/lime-crm-building-blocks/{p-36a051c0.entry.js → p-5a03e3f7.entry.js} +1 -1
  83. package/dist/lime-crm-building-blocks/{p-543068f5.entry.js → p-5fe78c5c.entry.js} +1 -1
  84. package/dist/lime-crm-building-blocks/{p-710bb357.js → p-63498a8e.js} +1 -1
  85. package/dist/lime-crm-building-blocks/{p-413f0ff2.entry.js → p-8018b55c.entry.js} +1 -1
  86. package/dist/lime-crm-building-blocks/{p-6fde8bc1.entry.js → p-8afda34a.entry.js} +1 -1
  87. package/dist/lime-crm-building-blocks/{p-61351177.entry.js → p-8d8ba884.entry.js} +1 -1
  88. package/dist/lime-crm-building-blocks/{p-09f93c65.entry.js → p-8ef1398d.entry.js} +1 -1
  89. package/dist/lime-crm-building-blocks/p-a5105533.entry.js +1 -0
  90. package/dist/lime-crm-building-blocks/{p-8a7242c9.entry.js → p-a77405bc.entry.js} +1 -1
  91. package/dist/lime-crm-building-blocks/p-bc71a6da.js +1 -0
  92. package/dist/lime-crm-building-blocks/p-c2782ed2.entry.js +1 -0
  93. package/dist/lime-crm-building-blocks/p-cb19501f.js +1 -0
  94. package/dist/lime-crm-building-blocks/{p-8c87e918.entry.js → p-e0359f0b.entry.js} +1 -1
  95. package/dist/lime-crm-building-blocks/{p-74e87985.entry.js → p-e057e65c.entry.js} +1 -1
  96. package/dist/lime-crm-building-blocks/p-e8002172.js +1 -0
  97. package/dist/lime-crm-building-blocks/{p-4c047769.entry.js → p-f3add72b.entry.js} +1 -1
  98. package/dist/lime-crm-building-blocks/{p-a5ea0bbf.entry.js → p-f6d90ef8.entry.js} +1 -1
  99. package/dist/lime-crm-building-blocks/p-fe679fee.js +2 -0
  100. package/dist/types/components/component-command-picker/component-config/component-config.d.ts +55 -0
  101. package/dist/types/components/component-command-picker/component-picker/component-picker.d.ts +71 -0
  102. package/dist/types/components/component-command-picker/types.d.ts +1 -0
  103. package/dist/types/components.d.ts +232 -1
  104. package/dist/types/util/web-component-template.d.ts +11 -0
  105. package/package.json +4 -3
  106. package/dist/lime-crm-building-blocks/p-2480c4c9.entry.js +0 -1
  107. package/dist/lime-crm-building-blocks/p-60c7e312.js +0 -1
  108. package/dist/lime-crm-building-blocks/p-8b7af192.entry.js +0 -1
  109. package/dist/lime-crm-building-blocks/p-b7235641.entry.js +0 -1
  110. package/dist/lime-crm-building-blocks/p-c2446eb7.js +0 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [1.45.0](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.44.3...v1.45.0) (2024-09-23)
2
+
3
+
4
+ ### Features
5
+
6
+
7
+ * add component/command config ([5c6f77a](https://github.com/Lundalogik/lime-crm-building-blocks/commit/5c6f77a357e7b68b7ec2a6dbd0ae6d2ca6b313b8))
8
+ * add component/command picker ([49b48a7](https://github.com/Lundalogik/lime-crm-building-blocks/commit/49b48a7d6a87f0cc3f6dbc6a6bcdc86265a4b2fb))
9
+
10
+ ### Bug Fixes
11
+
12
+
13
+ * **component-picker:** better copy visualization ([ac32e3f](https://github.com/Lundalogik/lime-crm-building-blocks/commit/ac32e3f93167b8962f8b53d2d9805e7e223a410d))
14
+ * **util:** add web component template ([36d2df8](https://github.com/Lundalogik/lime-crm-building-blocks/commit/36d2df80302767e3f291e48734b69f9621b4ae61))
15
+
1
16
  ### [1.44.3](https://github.com/Lundalogik/lime-crm-building-blocks/compare/v1.44.2...v1.44.3) (2024-09-19)
2
17
 
3
18
 
@@ -0,0 +1,342 @@
1
+ 'use strict';
2
+
3
+ /** Detect free variable `global` from Node.js. */
4
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
5
+
6
+ /** Detect free variable `self`. */
7
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
8
+
9
+ /** Used as a reference to the global object. */
10
+ var root = freeGlobal || freeSelf || Function('return this')();
11
+
12
+ /** Built-in value references. */
13
+ var Symbol = root.Symbol;
14
+
15
+ /** Used for built-in method references. */
16
+ var objectProto$2 = Object.prototype;
17
+
18
+ /** Used to check objects for own properties. */
19
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
20
+
21
+ /**
22
+ * Used to resolve the
23
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
24
+ * of values.
25
+ */
26
+ var nativeObjectToString$1 = objectProto$2.toString;
27
+
28
+ /** Built-in value references. */
29
+ var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
30
+
31
+ /**
32
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
33
+ *
34
+ * @private
35
+ * @param {*} value The value to query.
36
+ * @returns {string} Returns the raw `toStringTag`.
37
+ */
38
+ function getRawTag(value) {
39
+ var isOwn = hasOwnProperty$1.call(value, symToStringTag$1),
40
+ tag = value[symToStringTag$1];
41
+
42
+ try {
43
+ value[symToStringTag$1] = undefined;
44
+ var unmasked = true;
45
+ } catch (e) {}
46
+
47
+ var result = nativeObjectToString$1.call(value);
48
+ if (unmasked) {
49
+ if (isOwn) {
50
+ value[symToStringTag$1] = tag;
51
+ } else {
52
+ delete value[symToStringTag$1];
53
+ }
54
+ }
55
+ return result;
56
+ }
57
+
58
+ /** Used for built-in method references. */
59
+ var objectProto$1 = Object.prototype;
60
+
61
+ /**
62
+ * Used to resolve the
63
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
64
+ * of values.
65
+ */
66
+ var nativeObjectToString = objectProto$1.toString;
67
+
68
+ /**
69
+ * Converts `value` to a string using `Object.prototype.toString`.
70
+ *
71
+ * @private
72
+ * @param {*} value The value to convert.
73
+ * @returns {string} Returns the converted string.
74
+ */
75
+ function objectToString(value) {
76
+ return nativeObjectToString.call(value);
77
+ }
78
+
79
+ /** `Object#toString` result references. */
80
+ var nullTag = '[object Null]',
81
+ undefinedTag = '[object Undefined]';
82
+
83
+ /** Built-in value references. */
84
+ var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
85
+
86
+ /**
87
+ * The base implementation of `getTag` without fallbacks for buggy environments.
88
+ *
89
+ * @private
90
+ * @param {*} value The value to query.
91
+ * @returns {string} Returns the `toStringTag`.
92
+ */
93
+ function baseGetTag(value) {
94
+ if (value == null) {
95
+ return value === undefined ? undefinedTag : nullTag;
96
+ }
97
+ return (symToStringTag && symToStringTag in Object(value))
98
+ ? getRawTag(value)
99
+ : objectToString(value);
100
+ }
101
+
102
+ /**
103
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
104
+ * and has a `typeof` result of "object".
105
+ *
106
+ * @static
107
+ * @memberOf _
108
+ * @since 4.0.0
109
+ * @category Lang
110
+ * @param {*} value The value to check.
111
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
112
+ * @example
113
+ *
114
+ * _.isObjectLike({});
115
+ * // => true
116
+ *
117
+ * _.isObjectLike([1, 2, 3]);
118
+ * // => true
119
+ *
120
+ * _.isObjectLike(_.noop);
121
+ * // => false
122
+ *
123
+ * _.isObjectLike(null);
124
+ * // => false
125
+ */
126
+ function isObjectLike(value) {
127
+ return value != null && typeof value == 'object';
128
+ }
129
+
130
+ /**
131
+ * Checks if `value` is classified as an `Array` object.
132
+ *
133
+ * @static
134
+ * @memberOf _
135
+ * @since 0.1.0
136
+ * @category Lang
137
+ * @param {*} value The value to check.
138
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
139
+ * @example
140
+ *
141
+ * _.isArray([1, 2, 3]);
142
+ * // => true
143
+ *
144
+ * _.isArray(document.body.children);
145
+ * // => false
146
+ *
147
+ * _.isArray('abc');
148
+ * // => false
149
+ *
150
+ * _.isArray(_.noop);
151
+ * // => false
152
+ */
153
+ var isArray = Array.isArray;
154
+
155
+ /**
156
+ * Checks if `value` is the
157
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
158
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
159
+ *
160
+ * @static
161
+ * @memberOf _
162
+ * @since 0.1.0
163
+ * @category Lang
164
+ * @param {*} value The value to check.
165
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
166
+ * @example
167
+ *
168
+ * _.isObject({});
169
+ * // => true
170
+ *
171
+ * _.isObject([1, 2, 3]);
172
+ * // => true
173
+ *
174
+ * _.isObject(_.noop);
175
+ * // => true
176
+ *
177
+ * _.isObject(null);
178
+ * // => false
179
+ */
180
+ function isObject(value) {
181
+ var type = typeof value;
182
+ return value != null && (type == 'object' || type == 'function');
183
+ }
184
+
185
+ /** `Object#toString` result references. */
186
+ var asyncTag = '[object AsyncFunction]',
187
+ funcTag = '[object Function]',
188
+ genTag = '[object GeneratorFunction]',
189
+ proxyTag = '[object Proxy]';
190
+
191
+ /**
192
+ * Checks if `value` is classified as a `Function` object.
193
+ *
194
+ * @static
195
+ * @memberOf _
196
+ * @since 0.1.0
197
+ * @category Lang
198
+ * @param {*} value The value to check.
199
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
200
+ * @example
201
+ *
202
+ * _.isFunction(_);
203
+ * // => true
204
+ *
205
+ * _.isFunction(/abc/);
206
+ * // => false
207
+ */
208
+ function isFunction(value) {
209
+ if (!isObject(value)) {
210
+ return false;
211
+ }
212
+ // The use of `Object#toString` avoids issues with the `typeof` operator
213
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
214
+ var tag = baseGetTag(value);
215
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
216
+ }
217
+
218
+ /** Used to detect overreaching core-js shims. */
219
+ var coreJsData = root['__core-js_shared__'];
220
+
221
+ /** Used to detect methods masquerading as native. */
222
+ var maskSrcKey = (function() {
223
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
224
+ return uid ? ('Symbol(src)_1.' + uid) : '';
225
+ }());
226
+
227
+ /**
228
+ * Checks if `func` has its source masked.
229
+ *
230
+ * @private
231
+ * @param {Function} func The function to check.
232
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
233
+ */
234
+ function isMasked(func) {
235
+ return !!maskSrcKey && (maskSrcKey in func);
236
+ }
237
+
238
+ /** Used for built-in method references. */
239
+ var funcProto$1 = Function.prototype;
240
+
241
+ /** Used to resolve the decompiled source of functions. */
242
+ var funcToString$1 = funcProto$1.toString;
243
+
244
+ /**
245
+ * Converts `func` to its source code.
246
+ *
247
+ * @private
248
+ * @param {Function} func The function to convert.
249
+ * @returns {string} Returns the source code.
250
+ */
251
+ function toSource(func) {
252
+ if (func != null) {
253
+ try {
254
+ return funcToString$1.call(func);
255
+ } catch (e) {}
256
+ try {
257
+ return (func + '');
258
+ } catch (e) {}
259
+ }
260
+ return '';
261
+ }
262
+
263
+ /**
264
+ * Used to match `RegExp`
265
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
266
+ */
267
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
268
+
269
+ /** Used to detect host constructors (Safari). */
270
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
271
+
272
+ /** Used for built-in method references. */
273
+ var funcProto = Function.prototype,
274
+ objectProto = Object.prototype;
275
+
276
+ /** Used to resolve the decompiled source of functions. */
277
+ var funcToString = funcProto.toString;
278
+
279
+ /** Used to check objects for own properties. */
280
+ var hasOwnProperty = objectProto.hasOwnProperty;
281
+
282
+ /** Used to detect if a method is native. */
283
+ var reIsNative = RegExp('^' +
284
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
285
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
286
+ );
287
+
288
+ /**
289
+ * The base implementation of `_.isNative` without bad shim checks.
290
+ *
291
+ * @private
292
+ * @param {*} value The value to check.
293
+ * @returns {boolean} Returns `true` if `value` is a native function,
294
+ * else `false`.
295
+ */
296
+ function baseIsNative(value) {
297
+ if (!isObject(value) || isMasked(value)) {
298
+ return false;
299
+ }
300
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
301
+ return pattern.test(toSource(value));
302
+ }
303
+
304
+ /**
305
+ * Gets the value at `key` of `object`.
306
+ *
307
+ * @private
308
+ * @param {Object} [object] The object to query.
309
+ * @param {string} key The key of the property to get.
310
+ * @returns {*} Returns the property value.
311
+ */
312
+ function getValue(object, key) {
313
+ return object == null ? undefined : object[key];
314
+ }
315
+
316
+ /**
317
+ * Gets the native function at `key` of `object`.
318
+ *
319
+ * @private
320
+ * @param {Object} object The object to query.
321
+ * @param {string} key The key of the method to get.
322
+ * @returns {*} Returns the function if it's native, else `undefined`.
323
+ */
324
+ function getNative(object, key) {
325
+ var value = getValue(object, key);
326
+ return baseIsNative(value) ? value : undefined;
327
+ }
328
+
329
+ /* Built-in method references that are verified to be native. */
330
+ var Map = getNative(root, 'Map');
331
+
332
+ exports.Map = Map;
333
+ exports.Symbol = Symbol;
334
+ exports.baseGetTag = baseGetTag;
335
+ exports.freeGlobal = freeGlobal;
336
+ exports.getNative = getNative;
337
+ exports.isArray = isArray;
338
+ exports.isFunction = isFunction;
339
+ exports.isObject = isObject;
340
+ exports.isObjectLike = isObjectLike;
341
+ exports.root = root;
342
+ exports.toSource = toSource;