@limetech/lime-crm-building-blocks 1.14.0 → 1.15.1
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/cjs/{index-ea12fa4e.js → index-4d2d0bc6.js} +29 -0
- package/dist/cjs/index-eded45a5.js +72 -0
- package/dist/cjs/lime-crm-building-blocks.cjs.js +2 -2
- package/dist/cjs/limebb-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-picker_2.cjs.entry.js +1 -1
- package/dist/cjs/limebb-date-range.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-currency-picker-european.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-currency-picker-nordic.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-currency-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-dashboard-widget-slots.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-dashboard-widget-styles.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-dashboard-widget.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-date-picker-date.cjs.entry.js +3 -2
- package/dist/cjs/limebb-example-date-picker-datetime.cjs.entry.js +3 -2
- package/dist/cjs/limebb-example-date-picker-time.cjs.entry.js +3 -2
- package/dist/cjs/limebb-example-date-picker-week.cjs.entry.js +3 -2
- package/dist/cjs/limebb-example-date-range.cjs.entry.js +3 -2
- package/dist/cjs/limebb-example-feed-unpromoted-actions.cjs.entry.js +4 -3
- package/dist/cjs/limebb-example-feed.cjs.entry.js +33 -8
- package/dist/cjs/limebb-example-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-locale-picker-multiple.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-locale-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-back.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-close.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-expand.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-float.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-maximize.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-minimize.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-new-tab.cjs.entry.js +1 -1
- package/dist/cjs/limebb-example-navigation-button-shrink.cjs.entry.js +1 -1
- package/dist/cjs/limebb-feed_2.cjs.entry.js +163 -26
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-locale-picker.cjs.entry.js +1 -1
- package/dist/cjs/limebb-navigation-button.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{platform-3d3b774b.js → platform-03bfc9aa.js} +28 -94
- package/dist/collection/components/feed/examples/example-feed-items.js +30 -6
- package/dist/collection/components/feed/examples/feed-unpromoted-actions.js +1 -1
- package/dist/collection/components/feed/feed-item/feed-timeline-item.css +102 -14
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +43 -9
- package/dist/collection/components/feed/feed.css +7 -0
- package/dist/collection/components/feed/feed.js +52 -7
- package/dist/collection/components/navigation-button/navigation-button.css +6 -0
- package/dist/components/feed-timeline-item.js +28 -11
- package/dist/components/feed.js +127 -5
- package/dist/components/index3.js +68 -0
- package/dist/components/limebb-example-feed-unpromoted-actions.js +1 -1
- package/dist/components/limebb-example-feed.js +30 -6
- package/dist/components/navigation-button.js +1 -1
- package/dist/components/platform.js +1 -67
- package/dist/esm/{index-1ce21171.js → index-a3f0c726.js} +29 -0
- package/dist/esm/index-eed5a261.js +68 -0
- package/dist/esm/lime-crm-building-blocks.js +2 -2
- package/dist/esm/limebb-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-date-picker_2.entry.js +1 -1
- package/dist/esm/limebb-date-range.entry.js +1 -1
- package/dist/esm/limebb-example-currency-picker-european.entry.js +1 -1
- package/dist/esm/limebb-example-currency-picker-nordic.entry.js +1 -1
- package/dist/esm/limebb-example-currency-picker.entry.js +1 -1
- package/dist/esm/limebb-example-dashboard-widget-slots.entry.js +1 -1
- package/dist/esm/limebb-example-dashboard-widget-styles.entry.js +1 -1
- package/dist/esm/limebb-example-dashboard-widget.entry.js +1 -1
- package/dist/esm/limebb-example-date-picker-date.entry.js +3 -2
- package/dist/esm/limebb-example-date-picker-datetime.entry.js +3 -2
- package/dist/esm/limebb-example-date-picker-time.entry.js +3 -2
- package/dist/esm/limebb-example-date-picker-week.entry.js +3 -2
- package/dist/esm/limebb-example-date-range.entry.js +3 -2
- package/dist/esm/limebb-example-feed-unpromoted-actions.entry.js +4 -3
- package/dist/esm/limebb-example-feed.entry.js +33 -8
- package/dist/esm/limebb-example-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-example-locale-picker-multiple.entry.js +1 -1
- package/dist/esm/limebb-example-locale-picker.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-back.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-close.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-expand.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-float.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-maximize.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-minimize.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-new-tab.entry.js +1 -1
- package/dist/esm/limebb-example-navigation-button-shrink.entry.js +1 -1
- package/dist/esm/limebb-feed_2.entry.js +152 -15
- package/dist/esm/limebb-icon-picker.entry.js +1 -1
- package/dist/esm/limebb-locale-picker.entry.js +1 -1
- package/dist/esm/limebb-navigation-button.entry.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{platform-343faa28.js → platform-a7f72da9.js} +1 -67
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-58a94be6.entry.js → p-0466cfe7.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-1095efdb.js +1 -0
- package/dist/lime-crm-building-blocks/{p-90d47222.entry.js → p-161d3ab4.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-52b7574d.entry.js → p-175daa84.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-1efbac06.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-20e47df1.entry.js → p-2a21f554.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-2e4860b6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-ad9c1db9.entry.js → p-31461bb1.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-39838775.entry.js → p-31d13c9e.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-328a8527.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-33022901.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-33c9f8d2.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-216818ab.entry.js → p-38c7f848.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-44b8ed1a.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-450fcd74.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-48d27a12.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-50a258ea.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-666e3a44.js +1 -0
- package/dist/lime-crm-building-blocks/{p-635c83a2.entry.js → p-6bed42e3.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3db3ba56.entry.js → p-76a7dc35.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3cb26ab6.entry.js → p-87446b69.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-8806c0c6.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-e2942a1d.entry.js → p-9f1cc4db.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-958a2edb.entry.js → p-9f298aae.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-f5bc9f65.entry.js → p-9f2c8392.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b7e099f9.entry.js → p-c0ceb829.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-3ef886aa.entry.js → p-c60424fe.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-b8c92300.entry.js → p-cb37ec1f.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-d59131e7.entry.js +1 -0
- package/dist/lime-crm-building-blocks/{p-4714431c.entry.js → p-dc4cd07c.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-c7044770.entry.js → p-e9a19780.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-235a7361.entry.js → p-efcb287a.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/{p-24673ebe.entry.js → p-f09bb2bd.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-f2df26cc.js +2 -0
- package/dist/lime-crm-building-blocks/p-f43374b6.entry.js +1 -0
- package/dist/types/components/feed/feed-item/feed-item.types.d.ts +7 -2
- package/dist/types/components/feed/feed-item/feed-timeline-item.d.ts +5 -1
- package/dist/types/components/feed/feed.d.ts +13 -4
- package/dist/types/components.d.ts +10 -0
- package/package.json +2 -2
- package/dist/lime-crm-building-blocks/p-10118b22.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-159370f2.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-17ea7d45.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-1992efc5.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-25d4c11a.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-32774741.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-37bebae0.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-563fa6b8.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-cf4c6f38.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-db3e854b.js +0 -2
- package/dist/lime-crm-building-blocks/p-de6a36bf.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f23b5ca6.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-f4fd0cf1.js +0 -1
- package/dist/lime-crm-building-blocks/p-fbc56018.entry.js +0 -1
|
@@ -168,6 +168,10 @@ const parsePropertyValue = (propValue, propType) => {
|
|
|
168
168
|
// but we'll cheat here and say that the string "false" is the boolean false
|
|
169
169
|
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
170
170
|
}
|
|
171
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
172
|
+
// force it to be a number
|
|
173
|
+
return parseFloat(propValue);
|
|
174
|
+
}
|
|
171
175
|
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
172
176
|
// could have been passed as a number or boolean
|
|
173
177
|
// but we still want it as a string
|
|
@@ -295,6 +299,31 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
295
299
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
296
300
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
297
301
|
}
|
|
302
|
+
else if (memberName === 'style') {
|
|
303
|
+
// update style attribute, css properties and values
|
|
304
|
+
{
|
|
305
|
+
for (const prop in oldValue) {
|
|
306
|
+
if (!newValue || newValue[prop] == null) {
|
|
307
|
+
if (prop.includes('-')) {
|
|
308
|
+
elm.style.removeProperty(prop);
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
elm.style[prop] = '';
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
for (const prop in newValue) {
|
|
317
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
318
|
+
if (prop.includes('-')) {
|
|
319
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
elm.style[prop] = newValue[prop];
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
298
327
|
else if ((!isProp ) &&
|
|
299
328
|
memberName[0] === 'o' &&
|
|
300
329
|
memberName[1] === 'n') {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
|
|
6
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
7
|
+
return typeof obj;
|
|
8
|
+
} : function (obj) {
|
|
9
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
10
|
+
}, _typeof(obj);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function requiredArgs(required, args) {
|
|
14
|
+
if (args.length < required) {
|
|
15
|
+
throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @name toDate
|
|
21
|
+
* @category Common Helpers
|
|
22
|
+
* @summary Convert the given argument to an instance of Date.
|
|
23
|
+
*
|
|
24
|
+
* @description
|
|
25
|
+
* Convert the given argument to an instance of Date.
|
|
26
|
+
*
|
|
27
|
+
* If the argument is an instance of Date, the function returns its clone.
|
|
28
|
+
*
|
|
29
|
+
* If the argument is a number, it is treated as a timestamp.
|
|
30
|
+
*
|
|
31
|
+
* If the argument is none of the above, the function returns Invalid Date.
|
|
32
|
+
*
|
|
33
|
+
* **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
|
|
34
|
+
*
|
|
35
|
+
* @param {Date|Number} argument - the value to convert
|
|
36
|
+
* @returns {Date} the parsed date in the local time zone
|
|
37
|
+
* @throws {TypeError} 1 argument required
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* // Clone the date:
|
|
41
|
+
* const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
|
|
42
|
+
* //=> Tue Feb 11 2014 11:30:30
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* // Convert the timestamp to date:
|
|
46
|
+
* const result = toDate(1392098430000)
|
|
47
|
+
* //=> Tue Feb 11 2014 11:30:30
|
|
48
|
+
*/
|
|
49
|
+
function toDate(argument) {
|
|
50
|
+
requiredArgs(1, arguments);
|
|
51
|
+
var argStr = Object.prototype.toString.call(argument);
|
|
52
|
+
|
|
53
|
+
// Clone the date
|
|
54
|
+
if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {
|
|
55
|
+
// Prevent the date to lose the milliseconds when passed to new Date() in IE10
|
|
56
|
+
return new Date(argument.getTime());
|
|
57
|
+
} else if (typeof argument === 'number' || argStr === '[object Number]') {
|
|
58
|
+
return new Date(argument);
|
|
59
|
+
} else {
|
|
60
|
+
if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
|
|
61
|
+
// eslint-disable-next-line no-console
|
|
62
|
+
console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");
|
|
63
|
+
// eslint-disable-next-line no-console
|
|
64
|
+
console.warn(new Error().stack);
|
|
65
|
+
}
|
|
66
|
+
return new Date(NaN);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
exports._typeof = _typeof;
|
|
71
|
+
exports.requiredArgs = requiredArgs;
|
|
72
|
+
exports.toDate = toDate;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-4d2d0bc6.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["limebb-example-date-picker-date.cjs",[[1,"limebb-example-date-picker-date",{"value":[32]}]]],["limebb-example-date-picker-datetime.cjs",[[1,"limebb-example-date-picker-datetime",{"value":[32]}]]],["limebb-example-date-picker-time.cjs",[[1,"limebb-example-date-picker-time",{"value":[32]}]]],["limebb-example-date-picker-week.cjs",[[1,"limebb-example-date-picker-week",{"value":[32]}]]],["limebb-example-date-range.cjs",[[1,"limebb-example-date-range"]]],["limebb-example-feed.cjs",[[1,"limebb-example-feed"]]],["limebb-example-feed-unpromoted-actions.cjs",[[1,"limebb-example-feed-unpromoted-actions"]]],["limebb-example-currency-picker.cjs",[[1,"limebb-example-currency-picker",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-european.cjs",[[1,"limebb-example-currency-picker-european",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-nordic.cjs",[[1,"limebb-example-currency-picker-nordic",{"selectedCurrency":[32]}]]],["limebb-example-dashboard-widget.cjs",[[1,"limebb-example-dashboard-widget"]]],["limebb-example-dashboard-widget-slots.cjs",[[1,"limebb-example-dashboard-widget-slots",{"filterMyDeals":[32]}]]],["limebb-example-dashboard-widget-styles.cjs",[[1,"limebb-example-dashboard-widget-styles"]]],["limebb-example-icon-picker.cjs",[[1,"limebb-example-icon-picker",{"value":[32]}]]],["limebb-example-locale-picker.cjs",[[1,"limebb-example-locale-picker",{"value":[1]}]]],["limebb-example-locale-picker-multiple.cjs",[[1,"limebb-example-locale-picker-multiple",{"value":[1]}]]],["limebb-navigation-button.cjs",[[1,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-example-navigation-button-back.cjs",[[1,"limebb-example-navigation-button-back"]]],["limebb-example-navigation-button-close.cjs",[[1,"limebb-example-navigation-button-close"]]],["limebb-example-navigation-button-expand.cjs",[[1,"limebb-example-navigation-button-expand"]]],["limebb-example-navigation-button-float.cjs",[[1,"limebb-example-navigation-button-float"]]],["limebb-example-navigation-button-maximize.cjs",[[1,"limebb-example-navigation-button-maximize"]]],["limebb-example-navigation-button-minimize.cjs",[[1,"limebb-example-navigation-button-minimize"]]],["limebb-example-navigation-button-new-tab.cjs",[[1,"limebb-example-navigation-button-new-tab"]]],["limebb-example-navigation-button-shrink.cjs",[[1,"limebb-example-navigation-button-shrink"]]],["limebb-date-range.cjs",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-locale-picker.cjs",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["limebb-currency-picker.cjs",[[1,"limebb-currency-picker",{"label":[513],"platform":[16],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[8]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-feed_2.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4]}],[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16]}]]],["limebb-date-picker_2.cjs",[[0,"limebb-example-value",{"label":[513],"value":[8]}],[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]]], options);
|
|
18
|
+
return index.bootstrapLazy([["limebb-example-date-picker-date.cjs",[[1,"limebb-example-date-picker-date",{"value":[32]}]]],["limebb-example-date-picker-datetime.cjs",[[1,"limebb-example-date-picker-datetime",{"value":[32]}]]],["limebb-example-date-picker-time.cjs",[[1,"limebb-example-date-picker-time",{"value":[32]}]]],["limebb-example-date-picker-week.cjs",[[1,"limebb-example-date-picker-week",{"value":[32]}]]],["limebb-example-date-range.cjs",[[1,"limebb-example-date-range"]]],["limebb-example-feed.cjs",[[1,"limebb-example-feed"]]],["limebb-example-feed-unpromoted-actions.cjs",[[1,"limebb-example-feed-unpromoted-actions"]]],["limebb-example-currency-picker.cjs",[[1,"limebb-example-currency-picker",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-european.cjs",[[1,"limebb-example-currency-picker-european",{"selectedCurrency":[32]}]]],["limebb-example-currency-picker-nordic.cjs",[[1,"limebb-example-currency-picker-nordic",{"selectedCurrency":[32]}]]],["limebb-example-dashboard-widget.cjs",[[1,"limebb-example-dashboard-widget"]]],["limebb-example-dashboard-widget-slots.cjs",[[1,"limebb-example-dashboard-widget-slots",{"filterMyDeals":[32]}]]],["limebb-example-dashboard-widget-styles.cjs",[[1,"limebb-example-dashboard-widget-styles"]]],["limebb-example-icon-picker.cjs",[[1,"limebb-example-icon-picker",{"value":[32]}]]],["limebb-example-locale-picker.cjs",[[1,"limebb-example-locale-picker",{"value":[1]}]]],["limebb-example-locale-picker-multiple.cjs",[[1,"limebb-example-locale-picker-multiple",{"value":[1]}]]],["limebb-navigation-button.cjs",[[1,"limebb-navigation-button",{"href":[513],"tooltipLabel":[513,"tooltip-label"],"tooltipHelperLabel":[513,"tooltip-helper-label"],"type":[513]}]]],["limebb-example-navigation-button-back.cjs",[[1,"limebb-example-navigation-button-back"]]],["limebb-example-navigation-button-close.cjs",[[1,"limebb-example-navigation-button-close"]]],["limebb-example-navigation-button-expand.cjs",[[1,"limebb-example-navigation-button-expand"]]],["limebb-example-navigation-button-float.cjs",[[1,"limebb-example-navigation-button-float"]]],["limebb-example-navigation-button-maximize.cjs",[[1,"limebb-example-navigation-button-maximize"]]],["limebb-example-navigation-button-minimize.cjs",[[1,"limebb-example-navigation-button-minimize"]]],["limebb-example-navigation-button-new-tab.cjs",[[1,"limebb-example-navigation-button-new-tab"]]],["limebb-example-navigation-button-shrink.cjs",[[1,"limebb-example-navigation-button-shrink"]]],["limebb-date-range.cjs",[[1,"limebb-date-range",{"platform":[16],"context":[16],"startTime":[16],"endTime":[16],"startTimeLabel":[1,"start-time-label"],"endTimeLabel":[1,"end-time-label"],"language":[1],"timeFormat":[1,"time-format"],"type":[1]}]]],["limebb-icon-picker.cjs",[[1,"limebb-icon-picker",{"value":[1],"required":[4],"readonly":[4],"invalid":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"]}]]],["limebb-locale-picker.cjs",[[1,"limebb-locale-picker",{"platform":[16],"context":[16],"value":[1],"required":[4],"disabled":[4],"label":[1],"helperText":[1,"helper-text"],"readonly":[4],"multipleChoice":[4,"multiple-choice"],"allLanguages":[32]}]]],["limebb-currency-picker.cjs",[[1,"limebb-currency-picker",{"label":[513],"platform":[16],"currencies":[16],"helperText":[513,"helper-text"],"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"value":[8]}]]],["limebb-dashboard-widget.cjs",[[1,"limebb-dashboard-widget",{"heading":[513],"subheading":[513],"supportingText":[513,"supporting-text"],"icon":[513]}]]],["limebb-feed_2.cjs",[[1,"limebb-feed",{"platform":[16],"context":[16],"items":[16],"emptyStateMessage":[1,"empty-state-message"],"loading":[4],"minutesOfProximity":[2,"minutes-of-proximity"]}],[1,"limebb-feed-timeline-item",{"platform":[16],"context":[16],"item":[16],"isBundled":[516,"is-bundled"]}]]],["limebb-date-picker_2.cjs",[[0,"limebb-example-value",{"label":[513],"value":[8]}],[1,"limebb-date-picker",{"platform":[16],"context":[16],"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[1],"type":[513]}]]]], options);
|
|
19
19
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
6
|
const types = require('./types-5e2d281d.js');
|
|
7
7
|
const currencies = require('./currencies-98ac425a.js');
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
6
|
|
|
7
7
|
const dashboardWidgetCss = ":host(limebb-dashboard-widget){--dashboard-widget-background-color:var(\n --start-page-grid-widget-background-color,\n rgb(var(--contrast-100))\n );--header-icon-color:var(--dashboard-widget-icon-color);--header-background-color:var(\n --dashboard-widget-header-background-color,\n var(--start-page-grid-widget-header-color)\n );--dashboard-widget-border-radius:var(\n --start-page-grid-widget-border-radius,\n 1rem\n );--header-top-right-left-border-radius:0;display:flex;flex-direction:column;border-radius:var(--dashboard-widget-border-radius);background-color:var(--dashboard-widget-background-color);height:100%;width:100%;overflow:hidden}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
6
|
const types = require('./types-5e2d281d.js');
|
|
7
7
|
const _nodeUtil = require('./_nodeUtil-d0211145.js');
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
6
|
|
|
7
7
|
const dateRangeCss = ":host(limebb-date-range){isolation:isolate;display:block;position:relative}*{box-sizing:border-box}.date-pickers{display:grid;grid-template-columns:repeat(auto-fit, minmax(13.5rem, 1fr));gap:0.5rem;padding:0.75rem 1rem 1.25rem 1rem}.label-group{display:flex;align-items:center;margin-bottom:0.25rem}.end-time .label-group{flex-direction:row-reverse}.label-group .label{font-size:0.75rem;padding:0 0.25rem}.label-group .circle{flex-shrink:0;width:0.5rem;height:0.5rem;border-radius:50%}.start-time .label-group .circle{background-color:rgb(var(--color-green-default))}.end-time .label-group .circle{background-color:rgb(var(--color-coral-default))}.label-group .line{flex-grow:1;height:0.25rem;border-radius:1rem}.start-time .label-group .line{background-image:linear-gradient(to right, rgb(var(--color-green-light)), rgb(var(--contrast-400)) 30%)}.end-time .label-group .line{background-image:linear-gradient(to left, rgb(var(--color-coral-light)), rgb(var(--contrast-400)) 30%)}.date-pickers:has(>:last-child:nth-child(2)) .start-time .line{margin-right:-0.5rem}.date-pickers:has(>:last-child:nth-child(2)) .end-time .line{margin-left:-0.5rem}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
6
|
|
|
7
7
|
const dashboardWidgetStylesCss = "limebb-dashboard-widget{--dashboard-widget-header-background-color:rgb(\n var(--color-yellow-default)\n );--dashboard-widget-background-color:rgb(var(--contrast-300));--dashboard-widget-icon-color:rgb(var(--color-orange-default))}[slot=content]{padding:0 1rem}";
|
|
8
8
|
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
|
+
const platform = require('./platform-03bfc9aa.js');
|
|
7
7
|
require('./types-5e2d281d.js');
|
|
8
8
|
require('./index-9497280d.js');
|
|
9
|
+
require('./index-eded45a5.js');
|
|
9
10
|
|
|
10
11
|
const DatePickerExampleDate = class {
|
|
11
12
|
constructor(hostRef) {
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
|
+
const platform = require('./platform-03bfc9aa.js');
|
|
7
7
|
require('./types-5e2d281d.js');
|
|
8
8
|
require('./index-9497280d.js');
|
|
9
|
+
require('./index-eded45a5.js');
|
|
9
10
|
|
|
10
11
|
const DatePickerExampleDateTime = class {
|
|
11
12
|
constructor(hostRef) {
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
|
+
const platform = require('./platform-03bfc9aa.js');
|
|
7
7
|
require('./types-5e2d281d.js');
|
|
8
8
|
require('./index-9497280d.js');
|
|
9
|
+
require('./index-eded45a5.js');
|
|
9
10
|
|
|
10
11
|
const DatePickerExampleTime = class {
|
|
11
12
|
constructor(hostRef) {
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
|
+
const platform = require('./platform-03bfc9aa.js');
|
|
7
7
|
require('./types-5e2d281d.js');
|
|
8
8
|
require('./index-9497280d.js');
|
|
9
|
+
require('./index-eded45a5.js');
|
|
9
10
|
|
|
10
11
|
const DatePickerExampleWeek = class {
|
|
11
12
|
constructor(hostRef) {
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
|
+
const platform = require('./platform-03bfc9aa.js');
|
|
7
7
|
require('./types-5e2d281d.js');
|
|
8
8
|
require('./index-9497280d.js');
|
|
9
|
+
require('./index-eded45a5.js');
|
|
9
10
|
|
|
10
11
|
const dateRangeCss = ":host(limebb-example-date-range){display:flex;flex-direction:column;background-color:rgb(var(--contrast-500));border-radius:0.5rem;padding:0.5rem}span{padding-left:0.5rem;font-size:1.25rem}limebb-date-range{margin-top:0.75rem;border-radius:0.75rem;background-color:rgb(var(--contrast-100))}limebb-date-range:before{content:\"\";position:absolute;top:-0.5rem;left:2rem;background-color:inherit;width:1rem;height:1rem;rotate:45deg;border-radius:0.25rem 0 0 0}";
|
|
11
12
|
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
|
+
const platform = require('./platform-03bfc9aa.js');
|
|
7
7
|
require('./types-5e2d281d.js');
|
|
8
8
|
require('./index-9497280d.js');
|
|
9
|
+
require('./index-eded45a5.js');
|
|
9
10
|
|
|
10
11
|
const FeedUnpromotedActionsExample = class {
|
|
11
12
|
constructor(hostRef) {
|
|
@@ -14,7 +15,7 @@ const FeedUnpromotedActionsExample = class {
|
|
|
14
15
|
{
|
|
15
16
|
id: 0,
|
|
16
17
|
timestamp: new Date(),
|
|
17
|
-
|
|
18
|
+
author: { id: '1', name: 'Robot' },
|
|
18
19
|
value: 'Ticket was created',
|
|
19
20
|
unpromotedActions: [
|
|
20
21
|
{
|
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const platform = require('./platform-
|
|
5
|
+
const index = require('./index-4d2d0bc6.js');
|
|
6
|
+
const platform = require('./platform-03bfc9aa.js');
|
|
7
7
|
require('./types-5e2d281d.js');
|
|
8
8
|
require('./index-9497280d.js');
|
|
9
|
+
require('./index-eded45a5.js');
|
|
9
10
|
|
|
10
11
|
const ExampleFeedItems = [
|
|
11
12
|
{
|
|
12
13
|
id: 0,
|
|
13
14
|
timestamp: '2023-10-04T15:33:50.190Z',
|
|
14
|
-
|
|
15
|
+
author: {
|
|
16
|
+
name: 'Lucy',
|
|
17
|
+
id: '0',
|
|
18
|
+
},
|
|
15
19
|
value: 'The [customer](https://ikea.se) is really angry guys!',
|
|
16
20
|
primaryIcon: {
|
|
17
21
|
name: 'user_female',
|
|
@@ -20,7 +24,10 @@ const ExampleFeedItems = [
|
|
|
20
24
|
{
|
|
21
25
|
id: 1,
|
|
22
26
|
timestamp: '2023-11-21T15:33:50.190Z',
|
|
23
|
-
|
|
27
|
+
author: {
|
|
28
|
+
name: 'Befkadu',
|
|
29
|
+
id: '1',
|
|
30
|
+
},
|
|
24
31
|
value: 'I called the customer. They are _really happy_ now! 🥳',
|
|
25
32
|
primaryIcon: {
|
|
26
33
|
name: 'user_male',
|
|
@@ -30,7 +37,22 @@ const ExampleFeedItems = [
|
|
|
30
37
|
id: 2,
|
|
31
38
|
timestamp: '2023-11-21T15:33:50.190Z',
|
|
32
39
|
value: 'Oh great job Bef! 👏👏👏',
|
|
33
|
-
|
|
40
|
+
author: {
|
|
41
|
+
name: 'John',
|
|
42
|
+
id: '2',
|
|
43
|
+
},
|
|
44
|
+
primaryIcon: {
|
|
45
|
+
name: 'businessman',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 2,
|
|
50
|
+
timestamp: '2023-11-21T15:35:50.190Z',
|
|
51
|
+
value: 'Oh I forgot to mention that I also called them. They were so thankful and happy! 🥰',
|
|
52
|
+
author: {
|
|
53
|
+
name: 'John',
|
|
54
|
+
id: '2',
|
|
55
|
+
},
|
|
34
56
|
primaryIcon: {
|
|
35
57
|
name: 'businessman',
|
|
36
58
|
},
|
|
@@ -39,9 +61,12 @@ const ExampleFeedItems = [
|
|
|
39
61
|
id: 3,
|
|
40
62
|
timestamp: new Date(),
|
|
41
63
|
value: "Oh finally! 😅 I'm so proud of you guys",
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
64
|
+
author: {
|
|
65
|
+
name: {
|
|
66
|
+
text: 'Kiarokh',
|
|
67
|
+
href: 'https://se.linkedin.com/in/kiarokh',
|
|
68
|
+
},
|
|
69
|
+
id: '3',
|
|
45
70
|
},
|
|
46
71
|
},
|
|
47
72
|
];
|