@yoobic/yobi 8.1.0-112 → 8.1.0-115
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/{grid-renderers-6d0c226e.js → grid-renderers-5f5370f9.js} +1 -1
- package/dist/cjs/yoo-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/yoo-ag-grid.cjs.entry.js +1 -1
- package/dist/cjs/yoo-announcement-heading.cjs.entry.js +1 -1
- package/dist/cjs/yoo-entity.cjs.entry.js +6 -3
- package/dist/cjs/yoo-form-audience.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-input.cjs.entry.js +1 -1
- package/dist/cjs/yoo-grid.cjs.entry.js +2 -2
- package/dist/cjs/yoo-link.cjs.entry.js +1 -1
- package/dist/cjs/yoo-pivot-table.cjs.entry.js +1 -1
- package/dist/cjs/yoo-profile-list.cjs.entry.js +2 -2
- package/dist/collection/components/1.atoms/link/link.css +8 -0
- package/dist/collection/components/2.molecules/action-sheet/action-sheet.js +1 -1
- package/dist/collection/components/2.molecules/profile-list/profile-list.js +4 -4
- package/dist/collection/components/entities/entity/entity.js +6 -3
- package/dist/collection/components/form/form-audience/form-audience.js +1 -2
- package/dist/collection/components/grid/ag-grid/grid-renderers.js +1 -1
- package/dist/collection/components/grid/grid/grid.css +2 -2
- package/dist/collection/feature-operate/mission/announcement-heading/announcement-heading.js +1 -1
- package/dist/design-system/{grid-renderers-1eb32102.js → grid-renderers-9373cf19.js} +1 -1
- package/dist/design-system/yoo-action-sheet.entry.js +1 -1
- package/dist/design-system/yoo-ag-grid.entry.js +1 -1
- package/dist/design-system/yoo-announcement-heading.entry.js +1 -1
- package/dist/design-system/yoo-entity.entry.js +6 -3
- package/dist/design-system/yoo-form-audience.entry.js +1 -1
- package/dist/design-system/yoo-form-input.entry.js +1 -1
- package/dist/design-system/yoo-grid.entry.js +2 -2
- package/dist/design-system/yoo-link.entry.js +1 -1
- package/dist/design-system/yoo-pivot-table.entry.js +1 -1
- package/dist/design-system/yoo-profile-list.entry.js +3 -3
- package/dist/esm/{grid-renderers-1eb32102.js → grid-renderers-9373cf19.js} +1 -1
- package/dist/esm/yoo-action-sheet.entry.js +1 -1
- package/dist/esm/yoo-ag-grid.entry.js +1 -1
- package/dist/esm/yoo-announcement-heading.entry.js +1 -1
- package/dist/esm/yoo-entity.entry.js +6 -3
- package/dist/esm/yoo-form-audience.entry.js +1 -1
- package/dist/esm/yoo-form-input.entry.js +1 -1
- package/dist/esm/yoo-grid.entry.js +2 -2
- package/dist/esm/yoo-link.entry.js +1 -1
- package/dist/esm/yoo-pivot-table.entry.js +1 -1
- package/dist/esm/yoo-profile-list.entry.js +3 -3
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/mission-description/mission-description.interface.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/tenant/tenant.interface.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1029,7 +1029,7 @@ function missionStatusRenderer(params) {
|
|
|
1029
1029
|
else if (value === 'pausedmission') {
|
|
1030
1030
|
retVal = `<div class="not-center-container"><yoo-tag custom-color="${index.getCssColor('dark')}">${index.translate('PAUSEDMISSION')}</yoo-tag></div>`;
|
|
1031
1031
|
}
|
|
1032
|
-
else if (value === 'available' || (
|
|
1032
|
+
else if (value === 'available' || (!value)) { // (params as any).hasWorkflow &&
|
|
1033
1033
|
retVal = `<div class="not-center-container"><yoo-tag color="${getColorFromKey('available')}">${index.translate('AVAILABLE')}</yoo-tag></div>`;
|
|
1034
1034
|
}
|
|
1035
1035
|
retVal = retVal ? retVal : value ? value.toString() : retVal || '';
|
|
@@ -148,7 +148,7 @@ const YooActionSheetComponent = class {
|
|
|
148
148
|
last: lastIndex && !(button.icon || description),
|
|
149
149
|
[button.textClass || '']: true,
|
|
150
150
|
[button.color || '']: true
|
|
151
|
-
}, onClick: (ev) => this.onButtonClick(button, ev), ref: (el) => (this.actionClickDivs[index$2] = el), onTouchStart: () => this.onItemTouchStart(this.actionClickDivs[index$2]), onTouchEnd: () => this.onItemTouchEnd(this.actionClickDivs[index$2]) }, button.icon && this.renderButtonIcon(button), index.h("div", { class: { 'text-container': true, 'icon-no-description': button.icon && !hasDescription, 'icon-description': button.icon && hasDescription } }, button.isBeta ? (index.h("span", null, index.h("span", { innerHTML: text }), " ", index.h("yoo-tag", { color: "
|
|
151
|
+
}, onClick: (ev) => this.onButtonClick(button, ev), ref: (el) => (this.actionClickDivs[index$2] = el), onTouchStart: () => this.onItemTouchStart(this.actionClickDivs[index$2]), onTouchEnd: () => this.onItemTouchEnd(this.actionClickDivs[index$2]) }, button.icon && this.renderButtonIcon(button), index.h("div", { class: { 'text-container': true, 'icon-no-description': button.icon && !hasDescription, 'icon-description': button.icon && hasDescription } }, button.isBeta ? (index.h("span", null, index.h("span", { innerHTML: text }), " ", index.h("yoo-tag", { color: "app-color" }, index$1.translate('BETA')))) : (index.h("span", { innerHTML: text })), description && index.h("div", { class: "description-container" }, description)), (lodash.isNumber(button.notif) || lodash.isString(button.notif) || lodash.isBoolean(button.notif)) && (index.h("div", { class: "badge-container" }, index.h("div", { class: "flex" }), lodash.isNumber(button.notif) && button.notif > 0 && index.h("yoo-badge", { text: button.notif.toLocaleString() }), lodash.isString(button.notif) && button.notif.length > 0 && index.h("yoo-badge", { text: button.notif }), lodash.isBoolean(button.notif) && button.notif == true && index.h("yoo-badge", { shape: "dot", size: "small" }))), button.actionableIcon && (index.h("yoo-icon", { name: button.actionableIcon.icon, class: { 'right-aligned': true, 'icon-description': hasDescription }, onClick: (ev) => this.onActionableIconClick(ev, button.actionableIcon) }))));
|
|
152
152
|
}
|
|
153
153
|
renderBottomContainer() {
|
|
154
154
|
return (index.h("div", { class: "bottom-container" }, index.h("div", { class: "cancel-container", onClick: () => this.closeActionSheet(false, true), ref: (el) => (this.cancelDiv = el), onTouchStart: () => this.onItemTouchStart(this.cancelDiv), onTouchEnd: () => this.onItemTouchEnd(this.cancelDiv) }, index$1.translate('CANCEL'))));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index$1 = require('./index-5997cc7d.js');
|
|
6
6
|
const lodash = require('./lodash-597bda6d.js');
|
|
7
7
|
const commonHelpers = require('./common-helpers-9d364818.js');
|
|
8
|
-
const gridRenderers = require('./grid-renderers-
|
|
8
|
+
const gridRenderers = require('./grid-renderers-5f5370f9.js');
|
|
9
9
|
const index = require('./index-cdad3373.js');
|
|
10
10
|
require('./index-f373d9cd.js');
|
|
11
11
|
require('./missions-helpers-eb747174.js');
|
|
@@ -86,7 +86,7 @@ const YooAnnouncementHeadingComponent = class {
|
|
|
86
86
|
const dueDate = missionsHelpers.getMissionDueDate(this.announcement);
|
|
87
87
|
return [
|
|
88
88
|
index.h("div", { class: "title" }, index.h("yoo-truncate", null, index$1.translateMulti(this.announcement.title))),
|
|
89
|
-
index.h("div", { class: "tags" }, this.isLayoutFeed && this.renderDueDate(dueDate), !this.isLayoutFeed && this.renderPublicationDate(), this.renderPriority(), this.renderCategory())
|
|
89
|
+
index.h("div", { class: "tags" }, this.isLayoutFeed && dueDate && this.renderDueDate(dueDate), !this.isLayoutFeed && this.renderPublicationDate(), this.renderPriority(), this.renderCategory())
|
|
90
90
|
];
|
|
91
91
|
}
|
|
92
92
|
renderContent() {
|
|
@@ -714,9 +714,10 @@ const YooEntityComponent = class {
|
|
|
714
714
|
iconTopLeft: campaignType.topLeftIcon,
|
|
715
715
|
iconTopLeftColor: campaignType.color,
|
|
716
716
|
imgSrc: campaignType.imgSrc,
|
|
717
|
-
tagElements:
|
|
718
|
-
{ innerHTML: index$1.translate('
|
|
719
|
-
|
|
717
|
+
tagElements: lodash.compact([
|
|
718
|
+
campaignType.isBeta ? { innerHTML: index$1.translate('BETA'), customColor: index$1.getCssColor('app-color') } : null,
|
|
719
|
+
campaignType.needsUpgrade ? { innerHTML: index$1.translate('NEEDSUPGRADE'), customColor: index$1.getCssColor('accent') } : null
|
|
720
|
+
]),
|
|
720
721
|
tooltip: campaignType.needsUpgrade ? campaignType.tooltip : null
|
|
721
722
|
};
|
|
722
723
|
}
|
|
@@ -2527,6 +2528,8 @@ const YooEntityComponent = class {
|
|
|
2527
2528
|
return index.h(ContactAvatarCard, { item: this.item });
|
|
2528
2529
|
case 'locations':
|
|
2529
2530
|
return index.h(LocationAvatarCard, { item: this.item });
|
|
2531
|
+
default:
|
|
2532
|
+
return;
|
|
2530
2533
|
}
|
|
2531
2534
|
}
|
|
2532
2535
|
renderCardMenu() {
|
|
@@ -298,7 +298,7 @@ const YooFormAudienceComponent = class {
|
|
|
298
298
|
return this.allowLibrary && index.h("yoo-tabs", { class: "web", ref: (el) => this.tabsEl = el, tabs: this.tabs, onTabSelected: (event) => this.onTabSelected(event), initialIndex: 0 });
|
|
299
299
|
}
|
|
300
300
|
renderSave() {
|
|
301
|
-
return !this.readonly && this.allowLibrary && this.isDirty && index.h("div", { class: "save-container" }, index.h("yoo-tooltip", { hoverable: index$1.isWeb(this.host), placement: "bottom", content: index$1.translate('AUDIENCESAVE') }, index.h("yoo-button", { onClick: () => this.onSaveAudience(), color: "
|
|
301
|
+
return !this.readonly && this.allowLibrary && this.isDirty && index.h("div", { class: "save-container" }, index.h("yoo-tooltip", { hoverable: index$1.isWeb(this.host), placement: "bottom", content: index$1.translate('AUDIENCESAVE') }, index.h("yoo-button", { onClick: () => this.onSaveAudience(), color: "light", class: "margin-right", shape: "rectangular", size: "medium" }, index$1.translate('AUDIENCESAVEAS'))));
|
|
302
302
|
}
|
|
303
303
|
renderHelp(text) {
|
|
304
304
|
return index$1.isWeb(this.host) ? [
|
|
@@ -7,7 +7,7 @@ const index$1 = require('./index-cdad3373.js');
|
|
|
7
7
|
const lodash = require('./lodash-597bda6d.js');
|
|
8
8
|
const commonHelpers = require('./common-helpers-9d364818.js');
|
|
9
9
|
const formInputHelpers = require('./form-input-helpers-71fec7b4.js');
|
|
10
|
-
const gridRenderers = require('./grid-renderers-
|
|
10
|
+
const gridRenderers = require('./grid-renderers-5f5370f9.js');
|
|
11
11
|
require('./_commonjsHelpers-94df2ea7.js');
|
|
12
12
|
require('./index-f373d9cd.js');
|
|
13
13
|
require('./missions-helpers-eb747174.js');
|