@limetech/lime-crm-building-blocks 1.38.3 → 1.39.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.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/limebb-feed-timeline-item.cjs.entry.js +15 -3
- package/dist/cjs/limebb-feed.cjs.entry.js +5 -1
- package/dist/cjs/limebb-icon-picker.cjs.entry.js +35 -0
- package/dist/collection/components/feed/feed-item/feed-timeline-item.css +21 -0
- package/dist/collection/components/feed/feed-item/feed-timeline-item.js +37 -3
- package/dist/collection/components/feed/feed.js +25 -1
- package/dist/components/feed-timeline-item.js +16 -4
- package/dist/components/limebb-feed.js +5 -1
- package/dist/components/limebb-icon-picker.js +35 -0
- package/dist/esm/limebb-feed-timeline-item.entry.js +16 -4
- package/dist/esm/limebb-feed.entry.js +5 -1
- package/dist/esm/limebb-icon-picker.entry.js +35 -0
- package/dist/lime-crm-building-blocks/lime-crm-building-blocks.esm.js +1 -1
- package/dist/lime-crm-building-blocks/{p-de636ef5.entry.js → p-80c5ab71.entry.js} +1 -1
- package/dist/lime-crm-building-blocks/p-937e86f1.entry.js +1 -0
- package/dist/lime-crm-building-blocks/p-f00025ae.entry.js +1 -0
- package/dist/types/components/feed/feed-item/feed-item.types.d.ts +6 -0
- package/dist/types/components/feed/feed-item/feed-timeline-item.d.ts +6 -0
- package/dist/types/components/feed/feed.d.ts +6 -0
- package/dist/types/components.d.ts +12 -0
- package/package.json +5 -5
- package/dist/lime-crm-building-blocks/p-5dd09873.entry.js +0 -1
- package/dist/lime-crm-building-blocks/p-bd200010.entry.js +0 -1
|
@@ -167,6 +167,7 @@ const Feed = class {
|
|
|
167
167
|
constructor(hostRef) {
|
|
168
168
|
registerInstance(this, hostRef);
|
|
169
169
|
this.loadMore = createEvent(this, "loadMore", 7);
|
|
170
|
+
this.itemClick = createEvent(this, "itemClick", 7);
|
|
170
171
|
/**
|
|
171
172
|
* List of items to display in the feed.
|
|
172
173
|
*/
|
|
@@ -180,6 +181,9 @@ const Feed = class {
|
|
|
180
181
|
* The total number of items available
|
|
181
182
|
*/
|
|
182
183
|
this.totalCount = 0;
|
|
184
|
+
this.handleItemClick = (event) => {
|
|
185
|
+
this.itemClick.emit(event.detail);
|
|
186
|
+
};
|
|
183
187
|
this.isBundled = (item, index) => {
|
|
184
188
|
var _a, _b, _c, _d, _e, _f;
|
|
185
189
|
if (index === 0) {
|
|
@@ -233,7 +237,7 @@ const Feed = class {
|
|
|
233
237
|
return [
|
|
234
238
|
this.renderNewItemsIndicator(item.timestamp, index),
|
|
235
239
|
this.renderDateHeader(item.timestamp, index),
|
|
236
|
-
h("limebb-feed-timeline-item", { platform: this.platform, context: this.context, item: item, key: item.id, ui: item === null || item === void 0 ? void 0 : item.ui, isBundled: this.isBundled(item, index) }),
|
|
240
|
+
h("limebb-feed-timeline-item", { platform: this.platform, context: this.context, item: item, key: item.id, ui: item === null || item === void 0 ? void 0 : item.ui, isBundled: this.isBundled(item, index), onInteract: this.handleItemClick }),
|
|
237
241
|
];
|
|
238
242
|
});
|
|
239
243
|
}
|
|
@@ -14436,6 +14436,41 @@ const icons = [
|
|
|
14436
14436
|
tags: [
|
|
14437
14437
|
]
|
|
14438
14438
|
},
|
|
14439
|
+
{
|
|
14440
|
+
id: "notification.svg",
|
|
14441
|
+
tags: [
|
|
14442
|
+
]
|
|
14443
|
+
},
|
|
14444
|
+
{
|
|
14445
|
+
id: "notification_alert.svg",
|
|
14446
|
+
tags: [
|
|
14447
|
+
]
|
|
14448
|
+
},
|
|
14449
|
+
{
|
|
14450
|
+
id: "snooze.svg",
|
|
14451
|
+
tags: [
|
|
14452
|
+
]
|
|
14453
|
+
},
|
|
14454
|
+
{
|
|
14455
|
+
id: "add_reminder.svg",
|
|
14456
|
+
tags: [
|
|
14457
|
+
]
|
|
14458
|
+
},
|
|
14459
|
+
{
|
|
14460
|
+
id: "topic_push_notification.svg",
|
|
14461
|
+
tags: [
|
|
14462
|
+
]
|
|
14463
|
+
},
|
|
14464
|
+
{
|
|
14465
|
+
id: "unread_messages.svg",
|
|
14466
|
+
tags: [
|
|
14467
|
+
]
|
|
14468
|
+
},
|
|
14469
|
+
{
|
|
14470
|
+
id: "do_not_disturb_ios.svg",
|
|
14471
|
+
tags: [
|
|
14472
|
+
]
|
|
14473
|
+
},
|
|
14439
14474
|
{
|
|
14440
14475
|
id: "notification_center_92458.svg",
|
|
14441
14476
|
tags: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-8c0e3713.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-2ccd3c25",[[1,"limebb-kanban",{platform:[16],context:[16],items:[16],paginationSize:[2,"pagination-size"],groupBy:[513,"group-by"],groups:[16]}]]],["p-54dbbbba",[[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]}]]],["p-
|
|
1
|
+
import{p as e,b as t}from"./p-8c0e3713.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-2ccd3c25",[[1,"limebb-kanban",{platform:[16],context:[16],items:[16],paginationSize:[2,"pagination-size"],groupBy:[513,"group-by"],groups:[16]}]]],["p-54dbbbba",[[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]}]]],["p-f00025ae",[[1,"limebb-feed",{platform:[16],context:[16],items:[16],emptyStateMessage:[1,"empty-state-message"],loading:[4],minutesOfProximity:[2,"minutes-of-proximity"],totalCount:[2,"total-count"],lastVisitedTimestamp:[1,"last-visited-timestamp"]}]]],["p-80741548",[[17,"limebb-browser",{platform:[16],context:[16],items:[16],layout:[1],filter:[32]}]]],["p-e8e2c370",[[1,"limebb-currency-picker",{label:[513],platform:[16],currencies:[16],helperText:[513,"helper-text"],required:[516],readonly:[516],invalid:[516],disabled:[516],value:[16]}]]],["p-3f30c8de",[[1,"limebb-dashboard-widget",{heading:[513],subheading:[513],supportingText:[513,"supporting-text"],icon:[513]}]]],["p-80c5ab71",[[1,"limebb-icon-picker",{value:[1],required:[4],readonly:[4],invalid:[4],disabled:[4],label:[1],helperText:[1,"helper-text"]}]]],["p-d84f657a",[[1,"limebb-info-tile",{platform:[16],context:[16],filterId:[1,"filter-id"],disabled:[4],icon:[1],label:[1],prefix:[1],suffix:[1],propertyName:[1,"property-name"],aggregateOperator:[1,"aggregate-operator"],filters:[32],value:[32],loading:[32],error:[32]}]]],["p-37180f51",[[1,"limebb-limeobject-file-viewer",{platform:[16],context:[16],property:[1],fileTypes:[16],limeobject:[32],limetype:[32]}]]],["p-05c8174f",[[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]}]]],["p-1c9d80f2",[[17,"limebb-navigation-button",{href:[513],tooltipLabel:[513,"tooltip-label"],tooltipHelperLabel:[513,"tooltip-helper-label"],type:[513]}]]],["p-9a0ff0bb",[[1,"limebb-kanban-item",{platform:[16],context:[16],item:[16]}]]],["p-186bb066",[[1,"limebb-kanban-column",{platform:[16],context:[16],columnHeading:[1,"column-heading"],items:[16],loading:[4],paginationSize:[2,"pagination-size"],displayedItemCount:[32]}]]],["p-edc279ae",[[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]}]]],["p-937e86f1",[[1,"limebb-feed-timeline-item",{platform:[16],context:[16],item:[16],ui:[513],isBundled:[516,"is-bundled"],headingCanExpand:[32],isHeadingExpanded:[32],showMore:[32],isTall:[32]}]]]],e)));
|