@yoobic/yobi 8.2.0-12 → 8.2.0-15
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/design-system.cjs.js +1 -1
- package/dist/cjs/{grid-renderers-0c9a0d03.js → grid-renderers-faeb4762.js} +1 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/yoo-ag-grid.cjs.entry.js +1 -1
- package/dist/cjs/yoo-campaign-editor-recap.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-course-row.cjs.entry.js +7 -3
- package/dist/cjs/yoo-card-inbox.cjs.entry.js +2 -2
- package/dist/cjs/yoo-chat.cjs.entry.js +1 -1
- package/dist/cjs/yoo-course-summary.cjs.entry.js +3 -3
- package/dist/cjs/yoo-entity.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-autocomplete.cjs.entry.js +2 -0
- package/dist/cjs/yoo-form-capture.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-catalog.cjs.entry.js +4 -2
- package/dist/cjs/yoo-form-dynamic.cjs.entry.js +6 -2
- package/dist/cjs/yoo-form-footer.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-input.cjs.entry.js +1 -1
- package/dist/cjs/yoo-grid.cjs.entry.js +3 -3
- package/dist/cjs/yoo-lesson-detail-card.cjs.entry.js +2 -2
- package/dist/cjs/yoo-mission-heading.cjs.entry.js +2 -2
- package/dist/cjs/yoo-pivot-table.cjs.entry.js +1 -1
- package/dist/cjs/yoo-profile-summary.cjs.entry.js +1 -1
- package/dist/cjs/yoo-progress-bar.cjs.entry.js +23 -36
- package/dist/cjs/yoo-progress-recap.cjs.entry.js +2 -2
- package/dist/cjs/yoo-tooltip.cjs.entry.js +4 -0
- package/dist/cjs/yoo-truncated-line.cjs.entry.js +9 -5
- package/dist/collection/components/1.atoms/progress-bar/progress-bar.css +5 -5
- package/dist/collection/components/1.atoms/progress-bar/progress-bar.js +23 -73
- package/dist/collection/components/1.atoms/tooltip/tooltip.js +23 -0
- package/dist/collection/components/1.atoms/truncated-line/truncated-line.js +10 -9
- package/dist/collection/components/2.molecules/profile-summary/profile-summary.css +3 -0
- package/dist/collection/components/2.molecules/progress-recap/progress-recap.js +2 -2
- package/dist/collection/components/entities/entity/entity.js +1 -1
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +2 -0
- package/dist/collection/components/form/form-capture/form-capture.css +3 -0
- package/dist/collection/components/form/form-capture/form-capture.js +1 -1
- package/dist/collection/components/form/form-catalog/form-catalog.js +4 -2
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +6 -2
- package/dist/collection/components/form/form-footer/form-footer.css +1 -0
- package/dist/collection/components/form/form-footer/form-footer.js +1 -1
- package/dist/collection/components/grid/ag-grid/grid-renderers.js +2 -3
- package/dist/collection/components/grid/grid/grid.css +3 -0
- package/dist/collection/components/grid/grid/grid.js +1 -1
- package/dist/collection/feature-communicate/chat/chat/chat.js +1 -1
- package/dist/collection/feature-learn/learning/card-course/row/card-course-row.js +7 -3
- package/dist/collection/feature-learn/learning/course-summary/course-summary.css +1 -0
- package/dist/collection/feature-learn/learning/course-summary/course-summary.js +2 -2
- package/dist/collection/feature-learn/learning/lesson-detail-card/lesson-detail-card.css +1 -0
- package/dist/collection/feature-learn/learning/lesson-detail-card/lesson-detail-card.js +1 -1
- package/dist/collection/feature-operate/campaign/campaign-editor-recap/campaign-editor-recap.js +1 -1
- package/dist/collection/feature-operate/mission/card-inbox/card-inbox.css +1 -0
- package/dist/collection/feature-operate/mission/card-inbox/card-inbox.js +1 -1
- package/dist/collection/feature-operate/mission/mission-heading/mission-heading.css +3 -0
- package/dist/collection/feature-operate/mission/mission-heading/mission-heading.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{grid-renderers-f4f5634b.js → grid-renderers-bc677205.js} +2 -3
- package/dist/design-system/yoo-ag-grid.entry.js +1 -1
- package/dist/design-system/yoo-campaign-editor-recap.entry.js +1 -1
- package/dist/design-system/yoo-card-course-row.entry.js +7 -3
- package/dist/design-system/yoo-card-inbox.entry.js +2 -2
- package/dist/design-system/yoo-chat.entry.js +1 -1
- package/dist/design-system/yoo-course-summary.entry.js +3 -3
- package/dist/design-system/yoo-entity.entry.js +1 -1
- package/dist/design-system/yoo-form-autocomplete.entry.js +2 -0
- package/dist/design-system/yoo-form-capture.entry.js +2 -2
- package/dist/design-system/yoo-form-catalog.entry.js +4 -2
- package/dist/design-system/yoo-form-dynamic.entry.js +6 -2
- package/dist/design-system/yoo-form-footer.entry.js +2 -2
- package/dist/design-system/yoo-form-input.entry.js +1 -1
- package/dist/design-system/yoo-grid.entry.js +3 -3
- package/dist/design-system/yoo-lesson-detail-card.entry.js +2 -2
- package/dist/design-system/yoo-mission-heading.entry.js +2 -2
- package/dist/design-system/yoo-pivot-table.entry.js +1 -1
- package/dist/design-system/yoo-profile-summary.entry.js +1 -1
- package/dist/design-system/yoo-progress-bar.entry.js +24 -37
- package/dist/design-system/yoo-progress-recap.entry.js +2 -2
- package/dist/design-system/yoo-tooltip.entry.js +4 -0
- package/dist/design-system/yoo-truncated-line.entry.js +10 -6
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/{grid-renderers-f4f5634b.js → grid-renderers-bc677205.js} +2 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/yoo-ag-grid.entry.js +1 -1
- package/dist/esm/yoo-campaign-editor-recap.entry.js +1 -1
- package/dist/esm/yoo-card-course-row.entry.js +7 -3
- package/dist/esm/yoo-card-inbox.entry.js +2 -2
- package/dist/esm/yoo-chat.entry.js +1 -1
- package/dist/esm/yoo-course-summary.entry.js +3 -3
- package/dist/esm/yoo-entity.entry.js +1 -1
- package/dist/esm/yoo-form-autocomplete.entry.js +2 -0
- package/dist/esm/yoo-form-capture.entry.js +2 -2
- package/dist/esm/yoo-form-catalog.entry.js +4 -2
- package/dist/esm/yoo-form-dynamic.entry.js +6 -2
- package/dist/esm/yoo-form-footer.entry.js +2 -2
- package/dist/esm/yoo-form-input.entry.js +1 -1
- package/dist/esm/yoo-grid.entry.js +3 -3
- package/dist/esm/yoo-lesson-detail-card.entry.js +2 -2
- package/dist/esm/yoo-mission-heading.entry.js +2 -2
- package/dist/esm/yoo-pivot-table.entry.js +1 -1
- package/dist/esm/yoo-profile-summary.entry.js +1 -1
- package/dist/esm/yoo-progress-bar.entry.js +24 -37
- package/dist/esm/yoo-progress-recap.entry.js +2 -2
- package/dist/esm/yoo-tooltip.entry.js +4 -0
- package/dist/esm/yoo-truncated-line.entry.js +10 -6
- package/dist/types/components/1.atoms/progress-bar/progress-bar.d.ts +13 -27
- package/dist/types/components/1.atoms/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +1 -16
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/form-field/form-field.interface.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/components/1.atoms/flip-card/flip-card.d.ts +0 -16
- package/dist/types/components/1.atoms/truncated-line/truncated-line.d.ts +0 -14
- package/dist/types/components/form/image-cropper-dialog/pintura/pintura.d.ts +0 -1070
|
@@ -4,7 +4,7 @@ import './lodash-9d33f885.js';
|
|
|
4
4
|
import './_commonjsHelpers-f4d11124.js';
|
|
5
5
|
import './index-daddf2c7.js';
|
|
6
6
|
|
|
7
|
-
const lessonDetailCardCss = ":host .card-container .top-bar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:var(--spacing-56, 3.5rem);padding:0 var(--spacing-16, 1rem)}:host .card-container .top-bar .header .heading{margin:0}:host .card-container .top-bar .header .subheader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--stable);font-size:var(--font-size-12)}:host .card-container .top-bar .header .subheader yoo-icon{margin-right:var(--spacing-04, 0.25rem)}:host .card-container .top-bar .right-column{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}:host .card-container .top-bar .right-column .header-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info yoo-icon{margin-right:var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info p{font-size:var(--font-size-16)}:host .card-container .top-bar .right-column .tag-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .toggle-icon:hover{cursor:pointer}:host .card-container .content-container{max-height:18.75rem;overflow:hidden;-webkit-transition:max-height 200ms;transition:max-height 200ms}:host .card-container .content-container yoo-banner{--main-color:var(--warning-10, rgba(237, 110, 51, 0.1));width:95%;margin:var(--spacing-08, 0.5rem) auto;padding:var(--spacing-08, 0.5rem)}:host .card-container .content-container yoo-banner p{color:var(--dark, #000000)}:host .card-container .content-container .text{margin:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem);font-size:var(--font-size-14, 0.875rem)}:host .card-container .content-container .footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:var(--spacing-56, 3.5rem);padding:0 var(--spacing-16, 1rem);border-top:var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1)}:host .card-container .content-container .footer yoo-button{min-width:6rem}:host .card-container .content-container .footer .time-indicator{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}:host .card-container .content-container .footer .time-indicator yoo-progress-bar{--svg-width:1.8rem;--svg-height:1.8rem;padding:0 var(--spacing-08, 0.5rem)}:host .card-container .content-container .footer .time-indicator .time-text{font-size:var(--font-size-14, 0.875rem)}:host .card-container .content-container.hidden{max-height:0}:host([expanded]) .card-container{padding:var(--spacing-08, 0.5rem) 0}";
|
|
7
|
+
const lessonDetailCardCss = ":host .card-container .top-bar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:var(--spacing-56, 3.5rem);padding:0 var(--spacing-16, 1rem)}:host .card-container .top-bar .header .heading{margin:0}:host .card-container .top-bar .header .subheader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:var(--stable);font-size:var(--font-size-12)}:host .card-container .top-bar .header .subheader yoo-icon{margin-right:var(--spacing-04, 0.25rem)}:host .card-container .top-bar .right-column{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}:host .card-container .top-bar .right-column .header-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info yoo-icon{margin-right:var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .header-info p{font-size:var(--font-size-16)}:host .card-container .top-bar .right-column .tag-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0 var(--spacing-08, 0.5rem)}:host .card-container .top-bar .right-column .toggle-icon:hover{cursor:pointer}:host .card-container .content-container{max-height:18.75rem;overflow:hidden;-webkit-transition:max-height 200ms;transition:max-height 200ms}:host .card-container .content-container yoo-banner{--main-color:var(--warning-10, rgba(237, 110, 51, 0.1));width:95%;margin:var(--spacing-08, 0.5rem) auto;padding:var(--spacing-08, 0.5rem)}:host .card-container .content-container yoo-banner p{color:var(--dark, #000000)}:host .card-container .content-container .text{margin:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem);font-size:var(--font-size-14, 0.875rem)}:host .card-container .content-container .footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:var(--spacing-56, 3.5rem);padding:0 var(--spacing-16, 1rem);border-top:var(--border-width-01, 0.0625rem) solid var(--stable-light, #f1f1f1)}:host .card-container .content-container .footer yoo-button{min-width:6rem}:host .card-container .content-container .footer .time-indicator{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}:host .card-container .content-container .footer .time-indicator yoo-progress-bar{--svg-width:1.8rem;--svg-height:1.8rem;--progress-bar-color:var(--app-color, #5a30f4);padding:0 var(--spacing-08, 0.5rem)}:host .card-container .content-container .footer .time-indicator .time-text{font-size:var(--font-size-14, 0.875rem)}:host .card-container .content-container.hidden{max-height:0}:host([expanded]) .card-container{padding:var(--spacing-08, 0.5rem) 0}";
|
|
8
8
|
|
|
9
9
|
const YooLessonDetailCard = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -68,7 +68,7 @@ const YooLessonDetailCard = class {
|
|
|
68
68
|
this.footerButtonClick.emit();
|
|
69
69
|
}
|
|
70
70
|
renderTimeIndicator() {
|
|
71
|
-
return (h("div", { class: "time-indicator" }, h("yoo-progress-bar", { shape: "circle",
|
|
71
|
+
return (h("div", { class: "time-indicator" }, h("yoo-progress-bar", { shape: "circle", animated: this.animated, hideProgressValue: true, value: 75 }), h("div", { class: "time-text" }, this.footer.timeIndicator)));
|
|
72
72
|
}
|
|
73
73
|
renderFooter() {
|
|
74
74
|
return (h("div", { class: "footer-container" }, h("div", { class: "footer" }, this.footer.timeIndicator ? this.renderTimeIndicator() : h("div", null), h("yoo-button", { onClick: () => this.onFooterButtonClick(), color: "app-color", size: "medium", fill: "solid", disabled: !this.footer.buttonClickable }, translate(this.footer.buttonLabel)))));
|
|
@@ -7,7 +7,7 @@ import './lodash-9d33f885.js';
|
|
|
7
7
|
import './_commonjsHelpers-f4d11124.js';
|
|
8
8
|
import './index-daddf2c7.js';
|
|
9
9
|
|
|
10
|
-
const missionHeadingCss = ":host .background-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:0 -1rem 0;border-bottom:solid 1px var(--stable-light, #f1f1f1)}:host yoo-banner{--main-color:var(--warning-10, rgba(237, 110, 51, 0.1));margin-top:var(--spacing-08, 0.5rem)}:host .content-container{-ms-flex:1;flex:1;padding:var(--spacing-16, 1rem) var(--spacing-08, 0.5rem)}:host .mission-title{margin-top:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-700, 700);font-size:var(--font-size-24, 1.5rem);line-height:var(--spacing-32, 2rem)}:host .sub-heading{display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap;grid-gap:var(--spacing-08, 0.5rem);-ms-flex-align:center;align-items:center;margin-top:var(--spacing-08, 0.5rem)}:host .sub-heading .mission-progress{max-width:10rem;margin-right:var(--spacing-08, 0.5rem)}:host div:last-child{margin-bottom:0}:host(.mission-results) .background-container{margin:-1rem -1rem 0}";
|
|
10
|
+
const missionHeadingCss = ":host .background-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin:0 -1rem 0;border-bottom:solid 1px var(--stable-light, #f1f1f1)}:host yoo-progress-bar{--progress-bar-color:var(--app-color, #5a30f4)}:host yoo-banner{--main-color:var(--warning-10, rgba(237, 110, 51, 0.1));margin-top:var(--spacing-08, 0.5rem)}:host .content-container{-ms-flex:1;flex:1;padding:var(--spacing-16, 1rem) var(--spacing-08, 0.5rem)}:host .mission-title{margin-top:var(--spacing-08, 0.5rem);font-weight:var(--font-weight-700, 700);font-size:var(--font-size-24, 1.5rem);line-height:var(--spacing-32, 2rem)}:host .sub-heading{display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap;grid-gap:var(--spacing-08, 0.5rem);-ms-flex-align:center;align-items:center;margin-top:var(--spacing-08, 0.5rem)}:host .sub-heading .mission-progress{max-width:10rem;margin-right:var(--spacing-08, 0.5rem)}:host div:last-child{margin-bottom:0}:host(.mission-results) .background-container{margin:-1rem -1rem 0}";
|
|
11
11
|
|
|
12
12
|
const YooMissionHeadingComponent = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -23,7 +23,7 @@ const YooMissionHeadingComponent = class {
|
|
|
23
23
|
return (h(Host, { class: getAppContext(this.host) }, h("div", { class: { 'background-container': true, pdf: this.isPdf } }, h("div", { class: "content-container" }, h(MissionLockedBanner, { mission: this.mission }), [
|
|
24
24
|
!this.isPdf && this.mission.title && h("div", { class: "mission-title" }, translateMulti(this.mission.title)),
|
|
25
25
|
!this.mission.title && this.mission.type === 'visit' && h("div", { class: "mission-title" }, translate('VISIT')),
|
|
26
|
-
h("div", { class: "sub-heading" }, this.progress >= 0 && (h("div", { class: { 'mission-progress': true, 'mission-progress-web': !this.isMobile } }, h("yoo-progress-bar", {
|
|
26
|
+
h("div", { class: "sub-heading" }, this.progress >= 0 && (h("div", { class: { 'mission-progress': true, 'mission-progress-web': !this.isMobile } }, h("yoo-progress-bar", { animated: this.animated, value: this.progress }))), tags === null || tags === void 0 ? void 0 :
|
|
27
27
|
tags.map((tag) => {
|
|
28
28
|
const tagDefaultColor = tag.customColor ? null : 'stable';
|
|
29
29
|
return (h("yoo-tag", { color: tag.color || tagDefaultColor, customColor: tag.customColor }, !!tag.icon && h("yoo-icon", { class: { custom: !!tag.customColor }, size: "small", name: tag.icon, slot: "start" }), tag.title));
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, i as createEvent, h, g as getElement } from './i
|
|
|
2
2
|
import { t as translate } from './index-916ec137.js';
|
|
3
3
|
import { a as createCommonjsModule, c as commonjsGlobal } from './_commonjsHelpers-f4d11124.js';
|
|
4
4
|
import { W as debounce, z as cloneDeep, N as assign, y as sortBy, x as isEqual } from './lodash-9d33f885.js';
|
|
5
|
-
import { g as getRenderer } from './grid-renderers-
|
|
5
|
+
import { g as getRenderer } from './grid-renderers-bc677205.js';
|
|
6
6
|
import './index-daddf2c7.js';
|
|
7
7
|
import './missions-helpers-0149d7ea.js';
|
|
8
8
|
import './common-helpers-40913a60.js';
|
|
@@ -5,7 +5,7 @@ import { h as showPhotoEditor } from './common-helpers-40913a60.js';
|
|
|
5
5
|
import './_commonjsHelpers-f4d11124.js';
|
|
6
6
|
import './index-daddf2c7.js';
|
|
7
7
|
|
|
8
|
-
const profileSummaryCss = ":host .profile-user{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding-bottom:var(--spacing-24, 1.5rem)}:host .profile-user yoo-tag{margin-top:var(--spacing-08, 0.5rem)}:host .profile-user .profile-details{text-align:center}:host .profile-user .profile-details .profile-user-name,:host .profile-user .profile-details yoo-avatar{margin:0 auto}:host .profile-user .profile-details.impersonating{opacity:0.5}:host .profile-user .profile-details .profile-user-name{padding:var(--spacing-08, 0.5rem) 0;text-align:center}:host .profile-user .profile-details .profile-user-role{color:var(--stable, #adadad);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-14, 0.875rem);line-height:1rem}:host .actions-container{width:100%}:host .actions-container .user-actions{display:grid;grid-template-columns:repeat(auto-fit, minmax(0, 1fr));margin:var(--spacing-24, 1.5rem) var(--spacing-16, 1rem);-webkit-column-gap:var(--spacing-08, 0.5rem);-moz-column-gap:var(--spacing-08, 0.5rem);column-gap:var(--spacing-08, 0.5rem)}:host(.web) .profile-user{padding:0}:host(.web) .actions-container{width:21.875rem}:host(.web.personal-view) .profile-user{-ms-flex-direction:row;flex-direction:row}:host(.web.personal-view) .profile-user .profile-details{text-align:left}:host(.web.personal-view) .profile-user .profile-details .profile-user-name{font-weight:var(--font-weight-700, 700)}:host(.web.personal-view) .profile-user .profile-details .profile-user-role{font-size:var(--font-size-16, 1rem)}:host(.web.personal-view) .profile-user yoo-avatar{margin:var(--spacing-24, 1.5rem)}";
|
|
8
|
+
const profileSummaryCss = ":host .profile-user{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding-bottom:var(--spacing-24, 1.5rem)}:host .profile-user yoo-tag{margin-top:var(--spacing-08, 0.5rem)}:host .profile-user>yoo-avatar{z-index:11}:host .profile-user .profile-details{text-align:center}:host .profile-user .profile-details .profile-user-name,:host .profile-user .profile-details yoo-avatar{margin:0 auto}:host .profile-user .profile-details.impersonating{opacity:0.5}:host .profile-user .profile-details .profile-user-name{padding:var(--spacing-08, 0.5rem) 0;text-align:center}:host .profile-user .profile-details .profile-user-role{color:var(--stable, #adadad);font-weight:var(--font-weight-400, 400);font-size:var(--font-size-14, 0.875rem);line-height:1rem}:host .actions-container{width:100%}:host .actions-container .user-actions{display:grid;grid-template-columns:repeat(auto-fit, minmax(0, 1fr));margin:var(--spacing-24, 1.5rem) var(--spacing-16, 1rem);-webkit-column-gap:var(--spacing-08, 0.5rem);-moz-column-gap:var(--spacing-08, 0.5rem);column-gap:var(--spacing-08, 0.5rem)}:host(.web) .profile-user{padding:0}:host(.web) .actions-container{width:21.875rem}:host(.web.personal-view) .profile-user{-ms-flex-direction:row;flex-direction:row}:host(.web.personal-view) .profile-user .profile-details{text-align:left}:host(.web.personal-view) .profile-user .profile-details .profile-user-name{font-weight:var(--font-weight-700, 700)}:host(.web.personal-view) .profile-user .profile-details .profile-user-role{font-size:var(--font-size-16, 1rem)}:host(.web.personal-view) .profile-user yoo-avatar{margin:var(--spacing-24, 1.5rem)}";
|
|
9
9
|
|
|
10
10
|
const YooProfileSummaryComponent = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-019c1b1a.js';
|
|
2
2
|
import { c_ as isAnimationsDisabled, fq as Linear, aM as gsapFromTo } from './index-916ec137.js';
|
|
3
|
-
import { W as debounce, V as clamp, M as isFinite
|
|
3
|
+
import { W as debounce, V as clamp, M as isFinite } from './lodash-9d33f885.js';
|
|
4
4
|
import './_commonjsHelpers-f4d11124.js';
|
|
5
5
|
import './index-daddf2c7.js';
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ const DEFAULT_SHAPES = {
|
|
|
14
14
|
'semi-circle': 'M 0, y a r,r 0 1,1 d,0'
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
const progressBarCss = ":host{position:relative;display:block;--svg-width:100%;--svg-fill:var(--transparent, transparent);--stroke-width-line:3;--stroke-width-circle:3;--progress-value-font-size:var(--font-size-16, 1rem);--progress-value-font-weight:var(--font-weight-400, 400);--progress-value-color:var(--dark, #000000);--progress-bar-color:unset;--progress-bar-display:block;--trail-bar-color:var(--stable-light, #f1f1f1);--trail-bar-display:block}:host svg{width:var(--svg-width)}:host svg #trail{stroke-linecap:round;display:var(--trail-bar-display);stroke:var(--trail-bar-color)}:host svg #progress{display:var(--progress-bar-display);stroke:var(--progress-bar-color)}:host svg #progress:not([x2=\"0%\"]){stroke-linecap:round}:host #value{color:var(--progress-value-color);font-weight:var(--progress-value-font-weight);font-size:var(--progress-value-font-size);fill:var(--progress-value-color)}:host([shape=line]){display:inline-grid;grid-gap:var(--spacing-08, 0.5rem);grid-template-columns:1fr auto;place-items:center;width:100%}:host([shape=line]) svg{overflow:unset}:host([shape=line]) svg:not(.has-markers){height:0.25rem}:host([shape=line]) svg:not(.has-markers) line{stroke-width:var(--stroke-width-line)}:host([shape=line]) svg.has-markers{max-height:10vh}:host([shape=line]) svg.has-markers .marker{font-size:0.25rem;-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}:host([shape=line]) span{width:100%;text-align:center}:host([shape=line][x=right]) span{text-align:right}:host([shape=line][x=left]) span{text-align:left}:host([shape=line][y=bottom]),:host([shape=line][y=top]),:host([shape=line].no-value){grid-template-columns:initial;line-height:1}:host([shape=line][y=top]) svg{-ms-flex-order:1;order:1}:host([shape=line][y=top]) span{-ms-flex-order:0;order:0}:host([shape=circle]),:host([shape=semi-circle]){--progress-value-tsx:-50%;--progress-value-tsy:-50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0 auto}:host([shape=circle]) svg,:host([shape=semi-circle]) svg{overflow:initial;fill:var(--svg-fill)}:host([shape=circle]) svg path,:host([shape=semi-circle]) svg path{stroke-width:var(--stroke-width-circle)}:host([shape=circle]) #value,:host([shape=semi-circle]) #value{position:absolute;top:50%;left:50%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translate(var(--progress-value-tsx), var(--progress-value-tsy));transform:translate(var(--progress-value-tsx), var(--progress-value-tsy))}:host([shape=semi-circle]){--progress-value-tsy:calc(-50% + .5rem)}:host([metric=points]){--progress-bar-display:none;--trail-bar-display:none}:host(
|
|
17
|
+
const progressBarCss = ":host{position:relative;display:block;--svg-width:100%;--svg-fill:var(--transparent, transparent);--stroke-width-line:3;--stroke-width-circle:3;--progress-value-font-size:var(--font-size-16, 1rem);--progress-value-font-weight:var(--font-weight-400, 400);--progress-value-color:var(--dark, #000000);--progress-bar-color:unset;--progress-bar-display:block;--trail-bar-color:var(--stable-light, #f1f1f1);--trail-bar-display:block}:host svg{width:var(--svg-width)}:host svg #trail{stroke-linecap:round;display:var(--trail-bar-display);stroke:var(--trail-bar-color)}:host svg #progress{display:var(--progress-bar-display);stroke:var(--progress-bar-color)}:host svg #progress:not([x2=\"0%\"]){stroke-linecap:round}:host #value{color:var(--progress-value-color);font-weight:var(--progress-value-font-weight);font-size:var(--progress-value-font-size);fill:var(--progress-value-color)}:host([shape=line]){display:inline-grid;grid-gap:var(--spacing-08, 0.5rem);grid-template-columns:1fr auto;place-items:center;width:100%}:host([shape=line]) svg{overflow:unset}:host([shape=line]) svg:not(.has-markers){height:var(--spacing-04, 0.25rem)}:host([shape=line]) svg:not(.has-markers) line{stroke-width:var(--stroke-width-line)}:host([shape=line]) svg.has-markers{max-height:10vh}:host([shape=line]) svg.has-markers .marker{font-size:var(--spacing-04, 0.25rem);-webkit-transform:translateX(calc(var(--spacing-08, 0.5rem) * -1));transform:translateX(calc(var(--spacing-08, 0.5rem) * -1))}:host([shape=line]) span{width:100%;text-align:center}:host([shape=line][x=right]) span{text-align:right}:host([shape=line][x=left]) span{text-align:left}:host([shape=line][y=bottom]),:host([shape=line][y=top]),:host([shape=line].no-value){grid-template-columns:initial;line-height:1}:host([shape=line][y=top]) svg{-ms-flex-order:1;order:1}:host([shape=line][y=top]) span{-ms-flex-order:0;order:0}:host([shape=circle]),:host([shape=semi-circle]){--progress-value-tsx:-50%;--progress-value-tsy:-50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0 auto}:host([shape=circle]) svg,:host([shape=semi-circle]) svg{overflow:initial;fill:var(--svg-fill)}:host([shape=circle]) svg path,:host([shape=semi-circle]) svg path{stroke-width:var(--stroke-width-circle)}:host([shape=circle]) #value,:host([shape=semi-circle]) #value{position:absolute;top:50%;left:50%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translate(var(--progress-value-tsx), var(--progress-value-tsy));transform:translate(var(--progress-value-tsx), var(--progress-value-tsy))}:host([shape=semi-circle]){--progress-value-tsy:calc(-50% + var(--spacing-08, 0.5rem))}:host([metric=points]){--progress-bar-display:none;--trail-bar-display:none}:host([metric=step]){--progress-bar-color:var(--app-color, #5a30f4)}";
|
|
18
18
|
|
|
19
19
|
const YooProgressBarComponent = class {
|
|
20
20
|
constructor(hostRef) {
|
|
@@ -90,10 +90,6 @@ const YooProgressBarComponent = class {
|
|
|
90
90
|
* This property allow to display a number of decimal after the coma in the progress value display
|
|
91
91
|
*/
|
|
92
92
|
this.numberDecimalAfterComaProgressValue = 0;
|
|
93
|
-
/**
|
|
94
|
-
* Used to modify the speed of the progress animation (in ms)
|
|
95
|
-
*/
|
|
96
|
-
this.progressAnimationDuration = !this.isAnimated ? 0 : 1.25;
|
|
97
93
|
}
|
|
98
94
|
onProgressAnimationDurationChanged() {
|
|
99
95
|
this.setProgress();
|
|
@@ -101,16 +97,6 @@ const YooProgressBarComponent = class {
|
|
|
101
97
|
onProgressValueChanged(_, currentValue) {
|
|
102
98
|
this.setProgress(currentValue);
|
|
103
99
|
}
|
|
104
|
-
onCurrentStepChanged(_, currentStep) {
|
|
105
|
-
this.setProgress(currentStep);
|
|
106
|
-
}
|
|
107
|
-
componentDidLoad() {
|
|
108
|
-
if (this.progressSVGElement) {
|
|
109
|
-
this.resizeListener = debounce(this.initProgressBar, 750).bind(this);
|
|
110
|
-
window.addEventListener('resize', this.resizeListener);
|
|
111
|
-
this.initProgressBar();
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
100
|
get isAnimated() {
|
|
115
101
|
return this.animated && !isAnimationsDisabled();
|
|
116
102
|
}
|
|
@@ -133,6 +119,16 @@ const YooProgressBarComponent = class {
|
|
|
133
119
|
var _a;
|
|
134
120
|
return this.isShape.line && !!((_a = this.markers) === null || _a === void 0 ? void 0 : _a.length);
|
|
135
121
|
}
|
|
122
|
+
componentWillLoad() {
|
|
123
|
+
this.progressAnimationDuration = !this.isAnimated ? 0 : 1.25;
|
|
124
|
+
}
|
|
125
|
+
componentDidLoad() {
|
|
126
|
+
if (this.progressSVGElement) {
|
|
127
|
+
this.resizeListener = debounce(this.initProgressBar, 750).bind(this);
|
|
128
|
+
window.addEventListener('resize', this.resizeListener);
|
|
129
|
+
this.initProgressBar();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
136
132
|
initProgressBar() {
|
|
137
133
|
if (this.progressSVGElement) {
|
|
138
134
|
this.initSVGPaths();
|
|
@@ -160,13 +156,18 @@ const YooProgressBarComponent = class {
|
|
|
160
156
|
}
|
|
161
157
|
setProgress(currentProgress = 0) {
|
|
162
158
|
if (this.progressSVGElement) {
|
|
163
|
-
const
|
|
159
|
+
const getProgress = (progress = this.value) => {
|
|
160
|
+
const currentProgress = progress || 0;
|
|
161
|
+
const newProgress = this.maxValue ? (currentProgress / this.maxValue) * 100 : currentProgress;
|
|
162
|
+
return clamp(newProgress, 0, 100);
|
|
163
|
+
};
|
|
164
|
+
const getProgressPathLength = (progress = 0) => Math.round(progressBarElement.getTotalLength() * (1 - progress / 100)).toString();
|
|
165
|
+
const toProgress = getProgress();
|
|
164
166
|
const progressBarElement = this.host.shadowRoot.querySelector('#progress');
|
|
165
167
|
const valueElement = this.host.shadowRoot.querySelector('#value');
|
|
166
|
-
const fromProgress =
|
|
168
|
+
const fromProgress = this.disableBackProgressAnimation ? toProgress : getProgress(currentProgress);
|
|
167
169
|
const decimalCoeff = Math.pow(10, this.numberDecimalAfterComaProgressValue);
|
|
168
|
-
|
|
169
|
-
!this.isShape.line && (progressBarElement.style.strokeDasharray = getProgressPathLength(0));
|
|
170
|
+
!this.isShape.line && (progressBarElement.style.strokeDasharray = getProgressPathLength());
|
|
170
171
|
const animateProgressValue = (progress) => {
|
|
171
172
|
progress = Math.round(progress * 100) / 100;
|
|
172
173
|
let timelineProgressValue = Math.round((((this.isMetric.percentage ? toProgress : this.value) - fromProgress) * progress + fromProgress) * decimalCoeff) / decimalCoeff || 0;
|
|
@@ -191,7 +192,7 @@ const YooProgressBarComponent = class {
|
|
|
191
192
|
const fromAnimation = {
|
|
192
193
|
attr: { x2: `${fromProgress}%` },
|
|
193
194
|
...(!this.isShape.line && {
|
|
194
|
-
strokeDashoffset: this.disableBackProgressAnimation ? getProgressPathLength(
|
|
195
|
+
strokeDashoffset: this.disableBackProgressAnimation ? getProgressPathLength() : getProgressPathLength(fromProgress)
|
|
195
196
|
}),
|
|
196
197
|
...(this.disableBackProgressAnimation && {
|
|
197
198
|
stroke: this.getProgressColor(0)
|
|
@@ -218,24 +219,11 @@ const YooProgressBarComponent = class {
|
|
|
218
219
|
progressBarElement && isFinite(toProgress) && isFinite(fromProgress) && gsapFromTo(progressBarElement, this.isAnimated ? this.progressAnimationDuration : 0, fromAnimation, toAnimation);
|
|
219
220
|
}
|
|
220
221
|
}
|
|
221
|
-
getValue(progress) {
|
|
222
|
-
let currentProgress = progress >= 0 && !isNull(progress) ? progress : this.value || 0;
|
|
223
|
-
if (this.isMetric.step && !!this.maxStep) {
|
|
224
|
-
currentProgress = progress >= 0 ? progress : this.currentStep;
|
|
225
|
-
return (currentProgress / this.maxStep) * 100;
|
|
226
|
-
}
|
|
227
|
-
else if (isFinite(this.maxValue) && !!this.maxValue) {
|
|
228
|
-
return (currentProgress / this.maxValue) * 100;
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
return currentProgress;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
222
|
getLabelledValue(progress) {
|
|
235
223
|
progress = progress !== null && progress !== void 0 ? progress : ((isFinite(this.maxValue) && this.maxValue) ? (this.value / this.maxValue) * 100 : this.value || 0);
|
|
236
224
|
if (!this.hideProgressValue) {
|
|
237
225
|
if (this.isMetric.step) {
|
|
238
|
-
return `${this.
|
|
226
|
+
return `${this.value}/${this.maxValue}`;
|
|
239
227
|
}
|
|
240
228
|
else {
|
|
241
229
|
return this.allowNonAvailableValue && !isFinite(progress) ? '-' : [progress, this.getUnit(progress)].join('');
|
|
@@ -299,8 +287,7 @@ const YooProgressBarComponent = class {
|
|
|
299
287
|
get host() { return getElement(this); }
|
|
300
288
|
static get watchers() { return {
|
|
301
289
|
"progressAnimationDuration": ["onProgressAnimationDurationChanged"],
|
|
302
|
-
"value": ["onProgressValueChanged"]
|
|
303
|
-
"currentStep": ["onCurrentStepChanged"]
|
|
290
|
+
"value": ["onProgressValueChanged"]
|
|
304
291
|
}; }
|
|
305
292
|
};
|
|
306
293
|
YooProgressBarComponent.style = progressBarCss;
|
|
@@ -14,7 +14,7 @@ const YooProgressRecap = class {
|
|
|
14
14
|
return (h("yoo-tooltip", { placement: "top", content: translateMulti(this.tooltip) }, h("yoo-icon", { name: "help", size: "small", color: "stable" })));
|
|
15
15
|
}
|
|
16
16
|
renderProgressbar() {
|
|
17
|
-
return (h("yoo-progress-bar", { metric: "step", class: {
|
|
17
|
+
return (h("yoo-progress-bar", { metric: "step", maxValue: this.max, value: this.progress, class: {
|
|
18
18
|
success: !isNil(this.min) || (!isNil(this.min) && this.progress >= this.min),
|
|
19
19
|
danger: !isNil(this.min) && this.progress < this.min
|
|
20
20
|
}, ...this.min && {
|
|
@@ -22,7 +22,7 @@ const YooProgressRecap = class {
|
|
|
22
22
|
text: `${translateMulti('YOOBICMIN')}: ${this.min}`,
|
|
23
23
|
xPercent: (this.min / this.max) * 100
|
|
24
24
|
}]
|
|
25
|
-
}
|
|
25
|
+
} }));
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
return (h(Host, null, h("div", { class: "card" }, h("div", { class: "top-container" }, h("div", { class: "heading" }, translateMulti(this.heading)), this.tooltip && this.renderTooltip()), this.renderProgressbar())));
|
|
@@ -86,6 +86,10 @@ const YooTooltipComponent = class {
|
|
|
86
86
|
this.saveTooltip.emit({ value: (_a = this.contentEditableElement) === null || _a === void 0 ? void 0 : _a.innerHTML, refTooltip: reference });
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
+
async toggleHoverable(isEnable = !this.hoverable) {
|
|
90
|
+
this.hoverable = isEnable;
|
|
91
|
+
this.reconfigureTooltip();
|
|
92
|
+
}
|
|
89
93
|
onEditableChanged(newState, oldState) {
|
|
90
94
|
this.hasModeChanged = newState !== oldState;
|
|
91
95
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host } from './index-019c1b1a.js';
|
|
1
|
+
import { r as registerInstance, h, e as Host, g as getElement } from './index-019c1b1a.js';
|
|
2
2
|
import { eT as isTruncated } from './index-916ec137.js';
|
|
3
3
|
import './lodash-9d33f885.js';
|
|
4
4
|
import './_commonjsHelpers-f4d11124.js';
|
|
@@ -16,20 +16,24 @@ const YooTruncatedLineComponent = class {
|
|
|
16
16
|
// Full text content to be truncated / tooltip
|
|
17
17
|
this.content = '';
|
|
18
18
|
this.renderContentWithTooltip = () => {
|
|
19
|
-
return (h("yoo-tooltip", { content: this.content, placement: this.tooltipPlacement }, this.renderContent()));
|
|
19
|
+
return (h("yoo-tooltip", { ref: (el) => this.tooltipElement = el, content: this.content, placement: this.tooltipPlacement }, this.renderContent()));
|
|
20
20
|
};
|
|
21
21
|
this.renderContent = () => {
|
|
22
22
|
return (h("div", { class: "content", ref: (el) => this.contentElement = el }, this.content, h("slot", null)));
|
|
23
23
|
};
|
|
24
|
+
this.toggleTooltip = (isEnabled) => {
|
|
25
|
+
if (this.tooltipElement) {
|
|
26
|
+
this.tooltipElement.toggleHoverable(isEnabled);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
24
29
|
}
|
|
25
30
|
componentDidLoad() {
|
|
26
|
-
|
|
27
|
-
this.truncated = isTruncated(this.contentElement);
|
|
28
|
-
}
|
|
31
|
+
this.contentElement && this.toggleTooltip(isTruncated(this.contentElement));
|
|
29
32
|
}
|
|
30
33
|
render() {
|
|
31
|
-
return (h(Host, null, this.
|
|
34
|
+
return (h(Host, null, !this.withTooltip ? this.renderContent() : this.renderContentWithTooltip()));
|
|
32
35
|
}
|
|
36
|
+
get host() { return getElement(this); }
|
|
33
37
|
};
|
|
34
38
|
YooTruncatedLineComponent.style = truncatedLineCss;
|
|
35
39
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
/**
|
|
2
3
|
* @name: Progressbar
|
|
3
4
|
* @author: Ugo Balensi
|
|
@@ -64,11 +65,6 @@ export declare class YooProgressBarComponent {
|
|
|
64
65
|
* if not, the progress display will be by default the one from the value
|
|
65
66
|
*/
|
|
66
67
|
maxValue?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Before setting this property, ensure that the metric is set to 'step'
|
|
69
|
-
* Define the total number of step to display X/Y (Y)
|
|
70
|
-
*/
|
|
71
|
-
maxStep?: number;
|
|
72
68
|
/**
|
|
73
69
|
* This property allow to hide or not the value
|
|
74
70
|
*/
|
|
@@ -94,17 +90,14 @@ export declare class YooProgressBarComponent {
|
|
|
94
90
|
* Used to modify the speed of the progress animation (in ms)
|
|
95
91
|
*/
|
|
96
92
|
progressAnimationDuration?: number;
|
|
93
|
+
onProgressAnimationDurationChanged(): void;
|
|
97
94
|
/**
|
|
98
95
|
* This property is fundamentale to make the component display
|
|
99
96
|
* The progress is a number from 0 to 100. It's possible to set a value greater than 100
|
|
100
97
|
* in this case the progress value will display the value set and the progressbar will be 100%
|
|
101
98
|
*/
|
|
102
99
|
value?: number;
|
|
103
|
-
|
|
104
|
-
* Before setting this property, ensure that the metric is set to 'step'
|
|
105
|
-
* Define the current step to display X/Y (X)
|
|
106
|
-
*/
|
|
107
|
-
currentStep?: number;
|
|
100
|
+
onProgressValueChanged(_: number, currentValue: number): void;
|
|
108
101
|
/**
|
|
109
102
|
* This event allow to listen to the live progress value [0 - 100],
|
|
110
103
|
* for listening it, the property listenToProgress n
|
|
@@ -120,29 +113,22 @@ export declare class YooProgressBarComponent {
|
|
|
120
113
|
private progressSVGElement;
|
|
121
114
|
private resizeListener;
|
|
122
115
|
private currentColor;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
116
|
+
private get isAnimated();
|
|
117
|
+
private get isMetric();
|
|
118
|
+
private get isShape();
|
|
119
|
+
private get hasMarkers();
|
|
120
|
+
componentWillLoad(): void;
|
|
126
121
|
componentDidLoad(): void;
|
|
127
|
-
get isAnimated(): boolean;
|
|
128
|
-
get isMetric(): {
|
|
129
|
-
[key in TProgressBarMetric]: boolean;
|
|
130
|
-
};
|
|
131
|
-
get isShape(): {
|
|
132
|
-
[key in TProgressBarShape]: boolean;
|
|
133
|
-
};
|
|
134
|
-
get hasMarkers(): boolean;
|
|
135
122
|
private initProgressBar;
|
|
136
123
|
private initSVGPaths;
|
|
137
124
|
private setProgress;
|
|
138
|
-
private getValue;
|
|
139
125
|
private getLabelledValue;
|
|
140
126
|
private getFontSizeUnit;
|
|
141
127
|
private getUnit;
|
|
142
128
|
private getProgressColor;
|
|
143
|
-
renderMarkersDefinition():
|
|
144
|
-
renderMarkersPlacement():
|
|
145
|
-
renderProgressBar():
|
|
146
|
-
renderProgressValue():
|
|
147
|
-
render():
|
|
129
|
+
renderMarkersDefinition(): JSX.Element;
|
|
130
|
+
renderMarkersPlacement(): JSX.Element[][];
|
|
131
|
+
renderProgressBar(): JSX.Element;
|
|
132
|
+
renderProgressValue(): JSX.Element;
|
|
133
|
+
render(): JSX.Element;
|
|
148
134
|
}
|
|
@@ -110,6 +110,7 @@ export declare class YooTooltipComponent implements ComponentInterface {
|
|
|
110
110
|
hideTooltip(): Promise<void>;
|
|
111
111
|
reconfigureTooltip(): Promise<void>;
|
|
112
112
|
saveContent(): Promise<void>;
|
|
113
|
+
toggleHoverable(isEnable?: boolean): Promise<void>;
|
|
113
114
|
onEditableChanged(newState: any, oldState: any): void;
|
|
114
115
|
onTooltipChange(): void;
|
|
115
116
|
onTextChange(): void;
|
|
@@ -6047,10 +6047,6 @@ export namespace Components {
|
|
|
6047
6047
|
* Used to set custom colors based on custom range of percentage as following to 30% => var(--danger) || red || rgb(255, 0, 0) || #FF0000, to 70 => var(--warning) || etc ..
|
|
6048
6048
|
*/
|
|
6049
6049
|
"colorsRepartition": IProgressColorsRepartition;
|
|
6050
|
-
/**
|
|
6051
|
-
* Before setting this property, ensure that the metric is set to 'step' Define the current step to display X/Y (X)
|
|
6052
|
-
*/
|
|
6053
|
-
"currentStep"?: number;
|
|
6054
6050
|
/**
|
|
6055
6051
|
* This property will allow not to see the animation in case of a decreasing progress
|
|
6056
6052
|
*/
|
|
@@ -6075,10 +6071,6 @@ export namespace Components {
|
|
|
6075
6071
|
* Used to set custom markers with labels on the progressbar ( possible only on a line progressbar )
|
|
6076
6072
|
*/
|
|
6077
6073
|
"markers"?: IProgressMarker[];
|
|
6078
|
-
/**
|
|
6079
|
-
* Before setting this property, ensure that the metric is set to 'step' Define the total number of step to display X/Y (Y)
|
|
6080
|
-
*/
|
|
6081
|
-
"maxStep"?: number;
|
|
6082
6074
|
/**
|
|
6083
6075
|
* If set, the progress will be the result of the value / maxValue if not, the progress display will be by default the one from the value
|
|
6084
6076
|
*/
|
|
@@ -6699,6 +6691,7 @@ export namespace Components {
|
|
|
6699
6691
|
* Size.
|
|
6700
6692
|
*/
|
|
6701
6693
|
"size"?: 'small' | 'large';
|
|
6694
|
+
"toggleHoverable": (isEnable?: boolean) => Promise<void>;
|
|
6702
6695
|
}
|
|
6703
6696
|
interface YooTruncate {
|
|
6704
6697
|
/**
|
|
@@ -17007,10 +17000,6 @@ declare namespace LocalJSX {
|
|
|
17007
17000
|
* Used to set custom colors based on custom range of percentage as following to 30% => var(--danger) || red || rgb(255, 0, 0) || #FF0000, to 70 => var(--warning) || etc ..
|
|
17008
17001
|
*/
|
|
17009
17002
|
"colorsRepartition"?: IProgressColorsRepartition;
|
|
17010
|
-
/**
|
|
17011
|
-
* Before setting this property, ensure that the metric is set to 'step' Define the current step to display X/Y (X)
|
|
17012
|
-
*/
|
|
17013
|
-
"currentStep"?: number;
|
|
17014
17003
|
/**
|
|
17015
17004
|
* This property will allow not to see the animation in case of a decreasing progress
|
|
17016
17005
|
*/
|
|
@@ -17035,10 +17024,6 @@ declare namespace LocalJSX {
|
|
|
17035
17024
|
* Used to set custom markers with labels on the progressbar ( possible only on a line progressbar )
|
|
17036
17025
|
*/
|
|
17037
17026
|
"markers"?: IProgressMarker[];
|
|
17038
|
-
/**
|
|
17039
|
-
* Before setting this property, ensure that the metric is set to 'step' Define the total number of step to display X/Y (Y)
|
|
17040
|
-
*/
|
|
17041
|
-
"maxStep"?: number;
|
|
17042
17027
|
/**
|
|
17043
17028
|
* If set, the progress will be the result of the value / maxValue if not, the progress display will be by default the one from the value
|
|
17044
17029
|
*/
|
|
@@ -943,6 +943,7 @@ export interface IFormExtraOptions {
|
|
|
943
943
|
validateMore?: boolean;
|
|
944
944
|
extraEndActions?: IButton[];
|
|
945
945
|
extraData?: any;
|
|
946
|
+
forceHideSecondaryDataIfHidden?: boolean;
|
|
946
947
|
saveValidateFn?: (fn: any, data: any) => void;
|
|
947
948
|
}
|
|
948
949
|
export declare type TGridEditor = 'fieldEditor' | 'entityEditor';
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, EventEmitter } from '../../../stencil-public-runtime';
|
|
3
|
-
export declare class YooFlipCardComponent implements ComponentInterface {
|
|
4
|
-
flipDirection?: 'vertical' | 'horizontal';
|
|
5
|
-
layout?: 'card' | 'unset';
|
|
6
|
-
revealed?: boolean;
|
|
7
|
-
cardLoaded: boolean;
|
|
8
|
-
cardRevealed: EventEmitter<boolean>;
|
|
9
|
-
host: HTMLYooFlipCardElement;
|
|
10
|
-
initCardSize(): Promise<void>;
|
|
11
|
-
private cardElement;
|
|
12
|
-
componentDidLoad(): void;
|
|
13
|
-
private revealCard;
|
|
14
|
-
renderCard(): JSX.Element;
|
|
15
|
-
render(): JSX.Element;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface } from '../../../stencil-public-runtime';
|
|
3
|
-
import { Placement } from 'tippy.js';
|
|
4
|
-
export declare class YooTruncatedLineComponent implements ComponentInterface {
|
|
5
|
-
withTooltip?: boolean;
|
|
6
|
-
tooltipPlacement?: Placement;
|
|
7
|
-
content?: string;
|
|
8
|
-
truncated?: boolean;
|
|
9
|
-
private contentElement;
|
|
10
|
-
componentDidLoad(): void;
|
|
11
|
-
renderContentWithTooltip: () => JSX.Element;
|
|
12
|
-
renderContent: () => JSX.Element;
|
|
13
|
-
render(): any;
|
|
14
|
-
}
|