@yoobic/yobi 8.6.11 → 8.6.12
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/yoo-form-capture.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-creator-scoring-card-list.cjs.entry.js +1 -8
- package/dist/cjs/yoo-image-cropper-dialog.cjs.entry.js +1 -1
- package/dist/collection/components/form/form-capture/form-capture.js +1 -1
- package/dist/collection/components/form/image-cropper-dialog/image-cropper-dialog.js +1 -1
- package/dist/collection/components/form-creator/form-creator-card-list/scoring/form-creator-scoring-card-list.js +1 -8
- package/dist/design-system/yoo-form-capture.entry.js +1 -1
- package/dist/design-system/yoo-form-creator-scoring-card-list.entry.js +1 -8
- package/dist/design-system/yoo-image-cropper-dialog.entry.js +1 -1
- package/dist/esm/yoo-form-capture.entry.js +1 -1
- package/dist/esm/yoo-form-creator-scoring-card-list.entry.js +1 -8
- package/dist/esm/yoo-image-cropper-dialog.entry.js +1 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/admin/tenant/tenant.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/app/user/user.interface.d.ts +1 -0
- package/package.json +1 -1
@@ -535,7 +535,7 @@ const YooFormCaptureComponent = class {
|
|
535
535
|
}
|
536
536
|
try {
|
537
537
|
const res = await promise;
|
538
|
-
if (
|
538
|
+
if (this.showImageLoader) {
|
539
539
|
this.showImageLoader = false;
|
540
540
|
}
|
541
541
|
const newIndex = index$1 < 0 ? ((_e = (_d = this.value) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0) : index$1;
|
@@ -85,16 +85,9 @@ const YooFormCreatorScoringCardListComponent = class {
|
|
85
85
|
handler: () => this.deleteScoringClicked.emit(index$2)
|
86
86
|
}
|
87
87
|
];
|
88
|
-
return (index.h("div", { class: "sortable-card", "data-id": scoring.title }, index.h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: index$1.translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: index$1.translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
88
|
+
return (index.h("div", { class: "sortable-card", "data-id": scoring.title, key: scoring._id }, index.h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: index$1.translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: index$1.translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
89
89
|
}
|
90
90
|
renderScoringContainer() {
|
91
|
-
setTimeout(() => {
|
92
|
-
var _a;
|
93
|
-
if (this.scoring) {
|
94
|
-
const order = this.scoring.map((s) => s.title);
|
95
|
-
(_a = this.scoringCardsSortables) === null || _a === void 0 ? void 0 : _a.sort(order);
|
96
|
-
}
|
97
|
-
}, 0);
|
98
91
|
return (index.h("div", { class: "scoring-container", slot: "SCORING", ref: (el) => (this.scoringContainerParentEl = el) }, this.scoring.map((scoring, index) => {
|
99
92
|
return this.renderScoringCard(scoring, index);
|
100
93
|
})));
|
@@ -60,7 +60,7 @@ const YooImageCropperDialogComponent = class {
|
|
60
60
|
}),
|
61
61
|
enableZoom: !index$1.isNativeMobile(),
|
62
62
|
enableZoomControls: !index$1.isNativeMobile(),
|
63
|
-
imageBackgroundColor: pintura.colorStringToColorArray(index$1.getCssColor('
|
63
|
+
imageBackgroundColor: pintura.colorStringToColorArray(index$1.getCssColor('light')),
|
64
64
|
stickers: [
|
65
65
|
['Emoji', ['⭐️', '😊', '👍', '👎', '☀️', '🌤', '🌥']],
|
66
66
|
[
|
@@ -492,7 +492,7 @@ export class YooFormCaptureComponent {
|
|
492
492
|
}
|
493
493
|
try {
|
494
494
|
const res = await promise;
|
495
|
-
if (
|
495
|
+
if (this.showImageLoader) {
|
496
496
|
this.showImageLoader = false;
|
497
497
|
}
|
498
498
|
const newIndex = index < 0 ? ((_e = (_d = this.value) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0) : index;
|
@@ -54,7 +54,7 @@ export class YooImageCropperDialogComponent {
|
|
54
54
|
}),
|
55
55
|
enableZoom: !isNativeMobile(),
|
56
56
|
enableZoomControls: !isNativeMobile(),
|
57
|
-
imageBackgroundColor: colorStringToColorArray(getCssColor('
|
57
|
+
imageBackgroundColor: colorStringToColorArray(getCssColor('light')),
|
58
58
|
stickers: [
|
59
59
|
['Emoji', ['⭐️', '😊', '👍', '👎', '☀️', '🌤', '🌥']],
|
60
60
|
[
|
@@ -70,16 +70,9 @@ export class YooFormCreatorScoringCardListComponent {
|
|
70
70
|
handler: () => this.deleteScoringClicked.emit(index)
|
71
71
|
}
|
72
72
|
];
|
73
|
-
return (h("div", { class: "sortable-card", "data-id": scoring.title }, h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
73
|
+
return (h("div", { class: "sortable-card", "data-id": scoring.title, key: scoring._id }, h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
74
74
|
}
|
75
75
|
renderScoringContainer() {
|
76
|
-
setTimeout(() => {
|
77
|
-
var _a;
|
78
|
-
if (this.scoring) {
|
79
|
-
const order = this.scoring.map((s) => s.title);
|
80
|
-
(_a = this.scoringCardsSortables) === null || _a === void 0 ? void 0 : _a.sort(order);
|
81
|
-
}
|
82
|
-
}, 0);
|
83
76
|
return (h("div", { class: "scoring-container", slot: "SCORING", ref: (el) => (this.scoringContainerParentEl = el) }, this.scoring.map((scoring, index) => {
|
84
77
|
return this.renderScoringCard(scoring, index);
|
85
78
|
})));
|
@@ -531,7 +531,7 @@ const YooFormCaptureComponent = class {
|
|
531
531
|
}
|
532
532
|
try {
|
533
533
|
const res = await promise;
|
534
|
-
if (
|
534
|
+
if (this.showImageLoader) {
|
535
535
|
this.showImageLoader = false;
|
536
536
|
}
|
537
537
|
const newIndex = index < 0 ? ((_e = (_d = this.value) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0) : index;
|
@@ -81,16 +81,9 @@ const YooFormCreatorScoringCardListComponent = class {
|
|
81
81
|
handler: () => this.deleteScoringClicked.emit(index)
|
82
82
|
}
|
83
83
|
];
|
84
|
-
return (h("div", { class: "sortable-card", "data-id": scoring.title }, h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
84
|
+
return (h("div", { class: "sortable-card", "data-id": scoring.title, key: scoring._id }, h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
85
85
|
}
|
86
86
|
renderScoringContainer() {
|
87
|
-
setTimeout(() => {
|
88
|
-
var _a;
|
89
|
-
if (this.scoring) {
|
90
|
-
const order = this.scoring.map((s) => s.title);
|
91
|
-
(_a = this.scoringCardsSortables) === null || _a === void 0 ? void 0 : _a.sort(order);
|
92
|
-
}
|
93
|
-
}, 0);
|
94
87
|
return (h("div", { class: "scoring-container", slot: "SCORING", ref: (el) => (this.scoringContainerParentEl = el) }, this.scoring.map((scoring, index) => {
|
95
88
|
return this.renderScoringCard(scoring, index);
|
96
89
|
})));
|
@@ -56,7 +56,7 @@ const YooImageCropperDialogComponent = class {
|
|
56
56
|
}),
|
57
57
|
enableZoom: !isNativeMobile(),
|
58
58
|
enableZoomControls: !isNativeMobile(),
|
59
|
-
imageBackgroundColor: colorStringToColorArray(getCssColor('
|
59
|
+
imageBackgroundColor: colorStringToColorArray(getCssColor('light')),
|
60
60
|
stickers: [
|
61
61
|
['Emoji', ['⭐️', '😊', '👍', '👎', '☀️', '🌤', '🌥']],
|
62
62
|
[
|
@@ -531,7 +531,7 @@ const YooFormCaptureComponent = class {
|
|
531
531
|
}
|
532
532
|
try {
|
533
533
|
const res = await promise;
|
534
|
-
if (
|
534
|
+
if (this.showImageLoader) {
|
535
535
|
this.showImageLoader = false;
|
536
536
|
}
|
537
537
|
const newIndex = index < 0 ? ((_e = (_d = this.value) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0) : index;
|
@@ -81,16 +81,9 @@ const YooFormCreatorScoringCardListComponent = class {
|
|
81
81
|
handler: () => this.deleteScoringClicked.emit(index)
|
82
82
|
}
|
83
83
|
];
|
84
|
-
return (h("div", { class: "sortable-card", "data-id": scoring.title }, h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
84
|
+
return (h("div", { class: "sortable-card", "data-id": scoring.title, key: scoring._id }, h("yoo-form-creator-scoring-card", { actions: secondaryActions, description: translateMulti(scoring.title), fields: scoring.selectedFields.length, heading: translate(scoring.isActive ? 'PRIMARY' : 'SECONDARY'), points: scoring.total, selected: scoring.isSelected, onClick: () => !scoring.isSelected && this.scoringSelected.emit(scoring) })));
|
85
85
|
}
|
86
86
|
renderScoringContainer() {
|
87
|
-
setTimeout(() => {
|
88
|
-
var _a;
|
89
|
-
if (this.scoring) {
|
90
|
-
const order = this.scoring.map((s) => s.title);
|
91
|
-
(_a = this.scoringCardsSortables) === null || _a === void 0 ? void 0 : _a.sort(order);
|
92
|
-
}
|
93
|
-
}, 0);
|
94
87
|
return (h("div", { class: "scoring-container", slot: "SCORING", ref: (el) => (this.scoringContainerParentEl = el) }, this.scoring.map((scoring, index) => {
|
95
88
|
return this.renderScoringCard(scoring, index);
|
96
89
|
})));
|
@@ -56,7 +56,7 @@ const YooImageCropperDialogComponent = class {
|
|
56
56
|
}),
|
57
57
|
enableZoom: !isNativeMobile(),
|
58
58
|
enableZoomControls: !isNativeMobile(),
|
59
|
-
imageBackgroundColor: colorStringToColorArray(getCssColor('
|
59
|
+
imageBackgroundColor: colorStringToColorArray(getCssColor('light')),
|
60
60
|
stickers: [
|
61
61
|
['Emoji', ['⭐️', '😊', '👍', '👎', '☀️', '🌤', '🌥']],
|
62
62
|
[
|
@@ -24,6 +24,7 @@ export declare class ITenant extends ICustomColors {
|
|
24
24
|
passwordConfigSpecialMinimum?: number;
|
25
25
|
passwordConfigNumberMinimum?: number;
|
26
26
|
passwordConfigNumberLastUniquePasswords?: number;
|
27
|
+
disableWalkthrough?: boolean;
|
27
28
|
shiftBasedAccess?: boolean;
|
28
29
|
shifts?: IFormOpeningHoursValue;
|
29
30
|
googleAnalyticsId?: string;
|
@@ -33,6 +33,7 @@ export declare class IUser extends IEntity {
|
|
33
33
|
disableHapticFeedback?: boolean;
|
34
34
|
disableTracking?: boolean;
|
35
35
|
disableRecording?: boolean;
|
36
|
+
disableOnboarding?: boolean;
|
36
37
|
disableDatabaseSync?: boolean;
|
37
38
|
deletePhotos?: boolean;
|
38
39
|
allowPhotoEdit?: boolean;
|