@seniorsistemas/angular-components 17.3.19 → 17.4.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/bundles/seniorsistemas-angular-components.umd.js +411 -100
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/dynamic-form/configurations/fields/lookup-field.d.ts +2 -0
- package/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.d.ts +2 -0
- package/components/ia-insight/components/ia-insight-card/ia-insight-card.component.d.ts +22 -0
- package/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.d.ts +16 -0
- package/components/ia-insight/ia-insight.component.d.ts +24 -0
- package/components/ia-insight/ia-insight.module.d.ts +2 -0
- package/components/ia-insight/index.d.ts +3 -0
- package/components/ia-insight/models/ia-insight-item.d.ts +9 -0
- package/components/ia-insight/models/ia-insight-template-types.d.ts +5 -0
- package/components/ia-insight/models/index.d.ts +2 -0
- package/components/index.d.ts +2 -1
- package/components/kanban/index.d.ts +1 -2
- package/components/kanban/kanban.component.d.ts +3 -3
- package/components/template/template.module.d.ts +2 -0
- package/esm2015/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm2015/components/dynamic-form/configurations/fields/lookup-field.js +2 -1
- package/esm2015/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.js +13 -0
- package/esm2015/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +81 -0
- package/esm2015/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.js +50 -0
- package/esm2015/components/ia-insight/ia-insight.component.js +68 -0
- package/esm2015/components/ia-insight/ia-insight.module.js +40 -0
- package/esm2015/components/ia-insight/index.js +4 -0
- package/esm2015/components/ia-insight/models/ia-insight-item.js +1 -0
- package/esm2015/components/ia-insight/models/ia-insight-template-types.js +7 -0
- package/esm2015/components/ia-insight/models/index.js +2 -0
- package/esm2015/components/index.js +3 -2
- package/esm2015/components/kanban/index.js +2 -3
- package/esm2015/components/kanban/kanban.component.js +5 -5
- package/esm2015/components/kanban/kanban.module.js +10 -10
- package/esm2015/components/template/template.directive.js +20 -0
- package/esm2015/components/template/template.module.js +15 -0
- package/esm2015/locale/fallback.js +6 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/seniorsistemas-angular-components.js +35 -29
- package/esm2015/utils/index.js +2 -0
- package/esm2015/utils/svg-factory/components/iassist-icon/iassist-icon.component.js +11 -0
- package/esm2015/utils/svg-factory/index.js +3 -0
- package/esm2015/utils/svg-factory/svg-factory.directive.js +23 -0
- package/esm2015/utils/svg-factory/svg-factory.module.js +19 -0
- package/esm5/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/fields/lookup-field.js +2 -1
- package/esm5/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.js +16 -0
- package/esm5/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +83 -0
- package/esm5/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.js +51 -0
- package/esm5/components/ia-insight/ia-insight.component.js +69 -0
- package/esm5/components/ia-insight/ia-insight.module.js +43 -0
- package/esm5/components/ia-insight/index.js +4 -0
- package/esm5/components/ia-insight/models/ia-insight-item.js +1 -0
- package/esm5/components/ia-insight/models/ia-insight-template-types.js +7 -0
- package/esm5/components/ia-insight/models/index.js +2 -0
- package/esm5/components/index.js +3 -2
- package/esm5/components/kanban/index.js +2 -3
- package/esm5/components/kanban/kanban.component.js +5 -5
- package/esm5/components/kanban/kanban.module.js +10 -10
- package/esm5/components/template/template.directive.js +21 -0
- package/esm5/components/template/template.module.js +18 -0
- package/esm5/locale/fallback.js +6 -1
- package/esm5/public-api.js +2 -1
- package/esm5/seniorsistemas-angular-components.js +35 -29
- package/esm5/utils/index.js +2 -0
- package/esm5/utils/svg-factory/components/iassist-icon/iassist-icon.component.js +14 -0
- package/esm5/utils/svg-factory/index.js +3 -0
- package/esm5/utils/svg-factory/svg-factory.directive.js +24 -0
- package/esm5/utils/svg-factory/svg-factory.module.js +22 -0
- package/fesm2015/seniorsistemas-angular-components.js +352 -70
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +374 -72
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/seniorsistemas-angular-components.d.ts +34 -28
- package/seniorsistemas-angular-components.metadata.json +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/svg-factory/components/iassist-icon/iassist-icon.component.d.ts +2 -0
- package/utils/svg-factory/index.d.ts +2 -0
- package/utils/svg-factory/svg-factory.directive.d.ts +6 -0
- package/utils/svg-factory/svg-factory.module.d.ts +2 -0
- package/esm2015/components/kanban/template.directive.js +0 -20
- package/esm5/components/kanban/template.directive.js +0 -21
- /package/components/{kanban → template}/template.directive.d.ts +0 -0
|
@@ -5002,6 +5002,7 @@
|
|
|
5002
5002
|
function LookupField(config) {
|
|
5003
5003
|
var _this = _super.call(this, __assign(__assign({}, config), { type: exports.FieldType.Lookup })) || this;
|
|
5004
5004
|
_this.multiple = false;
|
|
5005
|
+
_this.showSearch = true;
|
|
5005
5006
|
_this.autocompleteForceSelection = true;
|
|
5006
5007
|
_this.onSelect = function (event) { };
|
|
5007
5008
|
_this.onUnselect = function (event) { };
|
|
@@ -9147,7 +9148,7 @@
|
|
|
9147
9148
|
], LookupFieldComponent.prototype, "formControl", void 0);
|
|
9148
9149
|
LookupFieldComponent = __decorate([
|
|
9149
9150
|
core.Component({
|
|
9150
|
-
template: "<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel \"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\">\n </s-lookup>\n</div>\n"
|
|
9151
|
+
template: "<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel \"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\">\n </s-lookup>\n</div>\n"
|
|
9151
9152
|
})
|
|
9152
9153
|
], LookupFieldComponent);
|
|
9153
9154
|
return LookupFieldComponent;
|
|
@@ -13096,6 +13097,320 @@
|
|
|
13096
13097
|
return GlobalSearchModule;
|
|
13097
13098
|
}());
|
|
13098
13099
|
|
|
13100
|
+
var IAssistIconComponent = /** @class */ (function () {
|
|
13101
|
+
function IAssistIconComponent() {
|
|
13102
|
+
}
|
|
13103
|
+
IAssistIconComponent = __decorate([
|
|
13104
|
+
core.Component({
|
|
13105
|
+
template: "<svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n</svg>"
|
|
13106
|
+
})
|
|
13107
|
+
], IAssistIconComponent);
|
|
13108
|
+
return IAssistIconComponent;
|
|
13109
|
+
}());
|
|
13110
|
+
|
|
13111
|
+
var SVGFactoryDirective = /** @class */ (function () {
|
|
13112
|
+
function SVGFactoryDirective(viewContainerRef, componentFactoryResolver) {
|
|
13113
|
+
this.viewContainerRef = viewContainerRef;
|
|
13114
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
13115
|
+
var factory = this.componentFactoryResolver.resolveComponentFactory(IAssistIconComponent);
|
|
13116
|
+
this.viewContainerRef.clear();
|
|
13117
|
+
this.viewContainerRef.createComponent(factory);
|
|
13118
|
+
}
|
|
13119
|
+
SVGFactoryDirective.ctorParameters = function () { return [
|
|
13120
|
+
{ type: core.ViewContainerRef },
|
|
13121
|
+
{ type: core.ComponentFactoryResolver }
|
|
13122
|
+
]; };
|
|
13123
|
+
SVGFactoryDirective = __decorate([
|
|
13124
|
+
core.Directive({
|
|
13125
|
+
selector: "[sSVGFactory]",
|
|
13126
|
+
})
|
|
13127
|
+
], SVGFactoryDirective);
|
|
13128
|
+
return SVGFactoryDirective;
|
|
13129
|
+
}());
|
|
13130
|
+
|
|
13131
|
+
var SVGFactoryModule = /** @class */ (function () {
|
|
13132
|
+
function SVGFactoryModule() {
|
|
13133
|
+
}
|
|
13134
|
+
SVGFactoryModule = __decorate([
|
|
13135
|
+
core.NgModule({
|
|
13136
|
+
imports: [common.CommonModule],
|
|
13137
|
+
declarations: [
|
|
13138
|
+
SVGFactoryDirective,
|
|
13139
|
+
IAssistIconComponent,
|
|
13140
|
+
],
|
|
13141
|
+
exports: [SVGFactoryDirective],
|
|
13142
|
+
})
|
|
13143
|
+
], SVGFactoryModule);
|
|
13144
|
+
return SVGFactoryModule;
|
|
13145
|
+
}());
|
|
13146
|
+
|
|
13147
|
+
var TemplateDirective = /** @class */ (function () {
|
|
13148
|
+
function TemplateDirective(template) {
|
|
13149
|
+
this.template = template;
|
|
13150
|
+
}
|
|
13151
|
+
TemplateDirective.ctorParameters = function () { return [
|
|
13152
|
+
{ type: core.TemplateRef }
|
|
13153
|
+
]; };
|
|
13154
|
+
__decorate([
|
|
13155
|
+
core.Input("sTemplate")
|
|
13156
|
+
], TemplateDirective.prototype, "type", void 0);
|
|
13157
|
+
TemplateDirective = __decorate([
|
|
13158
|
+
core.Directive({
|
|
13159
|
+
selector: "[sTemplate]",
|
|
13160
|
+
})
|
|
13161
|
+
], TemplateDirective);
|
|
13162
|
+
return TemplateDirective;
|
|
13163
|
+
}());
|
|
13164
|
+
|
|
13165
|
+
var TemplateModule = /** @class */ (function () {
|
|
13166
|
+
function TemplateModule() {
|
|
13167
|
+
}
|
|
13168
|
+
TemplateModule = __decorate([
|
|
13169
|
+
core.NgModule({
|
|
13170
|
+
imports: [common.CommonModule],
|
|
13171
|
+
declarations: [TemplateDirective],
|
|
13172
|
+
exports: [TemplateDirective],
|
|
13173
|
+
})
|
|
13174
|
+
], TemplateModule);
|
|
13175
|
+
return TemplateModule;
|
|
13176
|
+
}());
|
|
13177
|
+
|
|
13178
|
+
var IAInsightCardComponent = /** @class */ (function () {
|
|
13179
|
+
function IAInsightCardComponent(clipboard, messageService, translateService) {
|
|
13180
|
+
this.clipboard = clipboard;
|
|
13181
|
+
this.messageService = messageService;
|
|
13182
|
+
this.translateService = translateService;
|
|
13183
|
+
this.open = false;
|
|
13184
|
+
this.isLoading = false;
|
|
13185
|
+
this.likeSelected = false;
|
|
13186
|
+
this.dislikeSelected = false;
|
|
13187
|
+
}
|
|
13188
|
+
IAInsightCardComponent.prototype.toggle = function () {
|
|
13189
|
+
this.open = !this.open;
|
|
13190
|
+
this._requestInsight();
|
|
13191
|
+
};
|
|
13192
|
+
IAInsightCardComponent.prototype.onLikeSelected = function () {
|
|
13193
|
+
var _a, _b;
|
|
13194
|
+
if (this.likeSelected) {
|
|
13195
|
+
this.likeSelected = false;
|
|
13196
|
+
}
|
|
13197
|
+
else {
|
|
13198
|
+
this.likeSelected = true;
|
|
13199
|
+
this.dislikeSelected = false;
|
|
13200
|
+
(_b = (_a = this.insight).onLikeSelected) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
13201
|
+
}
|
|
13202
|
+
};
|
|
13203
|
+
IAInsightCardComponent.prototype.onDislikeSelected = function () {
|
|
13204
|
+
var _a, _b;
|
|
13205
|
+
if (this.dislikeSelected) {
|
|
13206
|
+
this.dislikeSelected = false;
|
|
13207
|
+
}
|
|
13208
|
+
else {
|
|
13209
|
+
this.dislikeSelected = true;
|
|
13210
|
+
this.likeSelected = false;
|
|
13211
|
+
(_b = (_a = this.insight).onDislikeSelected) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
13212
|
+
}
|
|
13213
|
+
};
|
|
13214
|
+
IAInsightCardComponent.prototype.copyContent = function () {
|
|
13215
|
+
var _a, _b;
|
|
13216
|
+
(_b = (_a = this.insight).onCopy) === null || _b === void 0 ? void 0 : _b.call(_a, this.content);
|
|
13217
|
+
if (this.clipboard.copy(this.content)) {
|
|
13218
|
+
this.messageService.add({
|
|
13219
|
+
severity: "info",
|
|
13220
|
+
summary: this.translateService.instant("platform.angular_components.copied_to_clipboard"),
|
|
13221
|
+
});
|
|
13222
|
+
}
|
|
13223
|
+
};
|
|
13224
|
+
IAInsightCardComponent.prototype.reloadContent = function () {
|
|
13225
|
+
this._requestInsight();
|
|
13226
|
+
};
|
|
13227
|
+
IAInsightCardComponent.prototype._requestInsight = function () {
|
|
13228
|
+
var _this = this;
|
|
13229
|
+
this.isLoading = true;
|
|
13230
|
+
this.insight.request$
|
|
13231
|
+
.pipe(operators.first(), operators.finalize(function () { return (_this.isLoading = false); }))
|
|
13232
|
+
.subscribe(function (content) {
|
|
13233
|
+
_this.content = content;
|
|
13234
|
+
});
|
|
13235
|
+
};
|
|
13236
|
+
IAInsightCardComponent.ctorParameters = function () { return [
|
|
13237
|
+
{ type: clipboard.Clipboard },
|
|
13238
|
+
{ type: api.MessageService },
|
|
13239
|
+
{ type: core$1.TranslateService }
|
|
13240
|
+
]; };
|
|
13241
|
+
__decorate([
|
|
13242
|
+
core.Input()
|
|
13243
|
+
], IAInsightCardComponent.prototype, "insight", void 0);
|
|
13244
|
+
IAInsightCardComponent = __decorate([
|
|
13245
|
+
core.Component({
|
|
13246
|
+
selector: "s-ia-insight-card",
|
|
13247
|
+
template: "<div class=\"ia-insight-card\" [ngClass]=\"{ 'ia-insight-card--close': !open }\">\n <div class=\"header\" (click)=\"toggle()\">\n <s-badge text=\"Insight\" iconClass=\"fal fa-lightbulb\"></s-badge>\n <span class=\"insight-title\">{{ insight.title }}</span>\n <span\n class=\"toggle-icon fas\"\n [ngClass]=\"{\n 'fa-angle-down': !open,\n 'fa-angle-up': open\n }\"\n >\n </span>\n </div>\n <div class=\"content\">\n <ng-container *ngIf=\"isLoading; then loadingBlock; else contentBlock\"></ng-container>\n <ng-template #loadingBlock>\n <s-ia-insight-card-loader></s-ia-insight-card-loader>\n </ng-template>\n <ng-template #contentBlock>\n <ng-container *ngIf=\"content; then successBlock; else errorBlock\"></ng-container>\n\n <ng-template #successBlock>\n <span class=\"text\" [innerHTML]=\"content\"></span>\n </ng-template>\n <ng-template #errorBlock>\n <span class=\"text text--error\">{{ \"platform.angular_components.error_loading_insight_alt\" | translate }}</span>\n </ng-template>\n\n <div class=\"options\">\n <button [disabled]=\"!content\" (click)=\"copyContent()\" class=\"option fal fa-copy\"></button>\n <button (click)=\"reloadContent()\" class=\"option fal fa-redo\"></button>\n <button\n *ngIf=\"insight.onLikeSelected\"\n [disabled]=\"!content\"\n (click)=\"onLikeSelected()\"\n class=\"option\"\n [ngClass]=\"{\n 'fal': !likeSelected,\n 'fas': likeSelected,\n 'fa-thumbs-up': true\n }\">\n </button>\n <button\n *ngIf=\"insight.onDislikeSelected\"\n [disabled]=\"!content\"\n (click)=\"onDislikeSelected()\"\n class=\"option\"\n [ngClass]=\"{\n 'fal': !dislikeSelected,\n 'fas': dislikeSelected,\n 'fa-thumbs-down': true\n }\">\n </button>\n </div>\n </ng-template>\n </div>\n</div>\n",
|
|
13248
|
+
styles: [".ia-insight-card{background-color:#fff;border:1px solid #9ecad4;border-radius:4px;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.ia-insight-card .header{-ms-flex-align:center;align-items:center;background-color:#f1f7f8;border-bottom:1px solid #9ecad4;display:-ms-flexbox;display:flex;gap:8px;min-height:60px;padding:8px 16px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ia-insight-card .header .insight-title{color:#428bca;-ms-flex-positive:1;flex-grow:1;font-family:\"Open Sans\",sans-serif;font-size:14px;line-height:150%}.ia-insight-card .header .toggle-icon{color:#888b99;font-size:20px}.ia-insight-card .content{-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;cursor:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px;min-height:160px;padding:24px}.ia-insight-card .content .text{color:#212533;font-family:\"Open Sans\",sans-serif;font-size:14px;width:100%}.ia-insight-card .content .text--error{text-align:center}.ia-insight-card .content .options{display:-ms-flexbox;display:flex;gap:8px}.ia-insight-card .content .options .option{background-color:transparent;border:none;color:#428bca;cursor:pointer;font-size:12px}.ia-insight-card .content .options .option:disabled{color:#c1c1cc;cursor:auto}.ia-insight-card--close{border-color:#dedce5}.ia-insight-card--close .header{background-color:#fbfafc;border:#dedce5}.ia-insight-card--close .header .insight-title{color:#888b99}.ia-insight-card--close .content{display:none}"]
|
|
13249
|
+
})
|
|
13250
|
+
], IAInsightCardComponent);
|
|
13251
|
+
return IAInsightCardComponent;
|
|
13252
|
+
}());
|
|
13253
|
+
|
|
13254
|
+
var IAInsightSidebarComponent = /** @class */ (function () {
|
|
13255
|
+
function IAInsightSidebarComponent() {
|
|
13256
|
+
this.insights = [];
|
|
13257
|
+
this.opened = false;
|
|
13258
|
+
}
|
|
13259
|
+
IAInsightSidebarComponent.prototype.toggle = function () {
|
|
13260
|
+
this.opened = !this.opened;
|
|
13261
|
+
};
|
|
13262
|
+
IAInsightSidebarComponent.prototype.open = function () {
|
|
13263
|
+
this.opened = true;
|
|
13264
|
+
};
|
|
13265
|
+
IAInsightSidebarComponent.prototype.close = function () {
|
|
13266
|
+
this.opened = false;
|
|
13267
|
+
};
|
|
13268
|
+
__decorate([
|
|
13269
|
+
core.Input()
|
|
13270
|
+
], IAInsightSidebarComponent.prototype, "insights", void 0);
|
|
13271
|
+
__decorate([
|
|
13272
|
+
core.Input()
|
|
13273
|
+
], IAInsightSidebarComponent.prototype, "hasPermission", void 0);
|
|
13274
|
+
__decorate([
|
|
13275
|
+
core.Input()
|
|
13276
|
+
], IAInsightSidebarComponent.prototype, "introText", void 0);
|
|
13277
|
+
__decorate([
|
|
13278
|
+
core.Input()
|
|
13279
|
+
], IAInsightSidebarComponent.prototype, "introTemplate", void 0);
|
|
13280
|
+
__decorate([
|
|
13281
|
+
core.Input()
|
|
13282
|
+
], IAInsightSidebarComponent.prototype, "emptyText", void 0);
|
|
13283
|
+
__decorate([
|
|
13284
|
+
core.Input()
|
|
13285
|
+
], IAInsightSidebarComponent.prototype, "emptyTemplate", void 0);
|
|
13286
|
+
__decorate([
|
|
13287
|
+
core.Input()
|
|
13288
|
+
], IAInsightSidebarComponent.prototype, "noPermissionText", void 0);
|
|
13289
|
+
__decorate([
|
|
13290
|
+
core.Input()
|
|
13291
|
+
], IAInsightSidebarComponent.prototype, "noPermissionTemplate", void 0);
|
|
13292
|
+
IAInsightSidebarComponent = __decorate([
|
|
13293
|
+
core.Component({
|
|
13294
|
+
selector: "s-ia-insight-sidebar",
|
|
13295
|
+
template: "<div\n class=\"sidebar\"\n [class.opened]=\"opened\">\n <div class=\"header\">\n <button (click)=\"close()\" class=\"option\">\n <span class=\"far fa-chevron-double-right\"></span>\n </button>\n <div class=\"title\">\n <span><ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container></span>\n <span>Insight</span>\n </div>\n </div>\n <div class=\"intro\">\n <ng-container *ngIf=\"hasPermission; then permissionBlock; else noPermissionBlock\"></ng-container>\n\n <ng-template #permissionBlock>\n <ng-container *ngIf=\"insights?.length; then introBlock; else emptyBlock\"></ng-container>\n \n <ng-template #introBlock>\n <ng-container *ngIf=\"introTemplate; then introCustomBlock; else introTextBlock\"></ng-container>\n\n <ng-template #introCustomBlock>\n <ng-container *ngTemplateOutlet=\"introTemplate\"></ng-container>\n </ng-template>\n\n <ng-template #introTextBlock>\n <span class=\"text\">{{ introText || \"platform.angular_components.insight_intro\" | translate }}</span>\n </ng-template>\n </ng-template>\n \n <ng-template #emptyBlock>\n <ng-container *ngIf=\"emptyTemplate; then emptyCustomBlock; else emptyTextBlock\"></ng-container>\n\n <ng-template #emptyCustomBlock>\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </ng-template>\n\n <ng-template #emptyTextBlock>\n <span class=\"text\">{{ emptyText || \"platform.angular_components.insight_empty\" | translate }}</span>\n </ng-template>\n </ng-template>\n </ng-template>\n \n <ng-template #noPermissionBlock>\n <ng-container *ngIf=\"noPermissionTemplate; then noPermissionCustomBlock; else noPermissionTextBlock\"></ng-container>\n\n <ng-template #noPermissionCustomBlock>\n <ng-container *ngTemplateOutlet=\"noPermissionTemplate\"></ng-container>\n </ng-template>\n\n <ng-template #noPermissionTextBlock>\n <span>{{ noPermissionText || \"platform.angular_components.insight_no_permission\" | translate }}</span>\n </ng-template>\n </ng-template>\n </div>\n <div class=\"insights\">\n <ng-container *ngIf=\"insights?.length\">\n <s-ia-insight-card\n *ngFor=\"let insight of insights\"\n [insight]=\"insight\">\n </s-ia-insight-card>\n </ng-container>\n </div>\n</div>\n\n<ng-template #iassistIcon>\n <div style=\"width: 28px; height: 28px;\">\n <span sSVGFactory></span>\n </div>\n</ng-template>\n",
|
|
13296
|
+
styles: [".sidebar{background-color:#fff;border-left:1px solid #dedce5;height:100%;overflow-x:hidden;position:fixed;right:-25%;transition:.5s;top:0;width:25%;z-index:1002}.sidebar .header{border-bottom:1px solid #dedce5;display:-ms-flexbox;display:flex;gap:16px;padding:12px 20px}.sidebar .header .option{background-color:transparent;border:none;color:#428bca;cursor:pointer;font-size:16px;padding:12px}.sidebar .header .title{-ms-flex-align:center;align-items:center;color:#212533;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:16px;gap:16px;line-height:1;-webkit-user-select:none;-ms-user-select:none;user-select:none}.sidebar .intro{margin:8px 40px}.sidebar .intro .text{color:#212533;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;-ms-flex-pack:center;justify-content:center;line-height:1.5;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none}.sidebar.opened{right:0}.sidebar.opened .insights{padding:12px}.insights{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:12px}@media (max-width:1366px){.sidebar{right:-50%;width:50%}}@media (max-width:768px){.sidebar{right:-75%;width:75%}}@media (max-width:600px){.sidebar{right:-100%;width:100%}}"]
|
|
13297
|
+
})
|
|
13298
|
+
], IAInsightSidebarComponent);
|
|
13299
|
+
return IAInsightSidebarComponent;
|
|
13300
|
+
}());
|
|
13301
|
+
|
|
13302
|
+
var IAInsightCardLoaderComponent = /** @class */ (function () {
|
|
13303
|
+
function IAInsightCardLoaderComponent() {
|
|
13304
|
+
}
|
|
13305
|
+
IAInsightCardLoaderComponent = __decorate([
|
|
13306
|
+
core.Component({
|
|
13307
|
+
selector: "s-ia-insight-card-loader",
|
|
13308
|
+
template: "<div class=\"ia-insight-card-loader\">\n <div class=\"loader\">\n <div class=\"loader-icon\">\n <div sSVGFactory></div>\n </div>\n </div>\n \n <span class=\"loader-label\">{{ \"platform.angular_components.loading_insight\" | translate }}</span>\n</div>\n",
|
|
13309
|
+
styles: [".ia-insight-card-loader{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}.ia-insight-card-loader .loader{-ms-flex-align:center;align-items:center;animation:2s linear infinite spin;border:2px solid #f1f7f8;border-top:2px solid #0fa389;border-radius:50%;display:-ms-flexbox;display:flex;height:48px;-ms-flex-pack:center;justify-content:center;width:48px}.ia-insight-card-loader .loader .loader-icon{animation:2s linear infinite reverse spin;height:64px;transform:translate(-50%,-50%);width:64px}.ia-insight-card-loader .loader-label{color:#888b99;font-family:\"Open Sans\",sans-serif;font-size:16px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]
|
|
13310
|
+
})
|
|
13311
|
+
], IAInsightCardLoaderComponent);
|
|
13312
|
+
return IAInsightCardLoaderComponent;
|
|
13313
|
+
}());
|
|
13314
|
+
|
|
13315
|
+
|
|
13316
|
+
(function (IAInsightTemplateTypes) {
|
|
13317
|
+
IAInsightTemplateTypes["Empty"] = "empty";
|
|
13318
|
+
IAInsightTemplateTypes["Intro"] = "intro";
|
|
13319
|
+
IAInsightTemplateTypes["NoPermission"] = "noPermission";
|
|
13320
|
+
})(exports.IAInsightTemplateTypes || (exports.IAInsightTemplateTypes = {}));
|
|
13321
|
+
|
|
13322
|
+
var IAInsightComponent = /** @class */ (function () {
|
|
13323
|
+
function IAInsightComponent() {
|
|
13324
|
+
this.insights = [];
|
|
13325
|
+
this.hasPermission = true;
|
|
13326
|
+
}
|
|
13327
|
+
IAInsightComponent.prototype.ngAfterContentInit = function () {
|
|
13328
|
+
this._getTemplates();
|
|
13329
|
+
};
|
|
13330
|
+
IAInsightComponent.prototype.open = function () {
|
|
13331
|
+
this.sidebar.open();
|
|
13332
|
+
};
|
|
13333
|
+
IAInsightComponent.prototype.close = function () {
|
|
13334
|
+
this.sidebar.close();
|
|
13335
|
+
};
|
|
13336
|
+
IAInsightComponent.prototype.getIntroTemplate = function () {
|
|
13337
|
+
return this._getCustomTemplate(exports.IAInsightTemplateTypes.Intro);
|
|
13338
|
+
};
|
|
13339
|
+
IAInsightComponent.prototype.getNoPermissionTemplate = function () {
|
|
13340
|
+
return this._getCustomTemplate(exports.IAInsightTemplateTypes.NoPermission);
|
|
13341
|
+
};
|
|
13342
|
+
IAInsightComponent.prototype.getEmptyTemplate = function () {
|
|
13343
|
+
return this._getCustomTemplate(exports.IAInsightTemplateTypes.Empty);
|
|
13344
|
+
};
|
|
13345
|
+
IAInsightComponent.prototype._getCustomTemplate = function (type) {
|
|
13346
|
+
var _a;
|
|
13347
|
+
return (_a = this.templates.find(function (template) { return template.type === type; })) === null || _a === void 0 ? void 0 : _a.template;
|
|
13348
|
+
};
|
|
13349
|
+
IAInsightComponent.prototype._getTemplates = function () {
|
|
13350
|
+
this.introTemplate = this.getIntroTemplate();
|
|
13351
|
+
this.emptyTemplate = this.getEmptyTemplate();
|
|
13352
|
+
this.noPermissionTemplate = this.getNoPermissionTemplate();
|
|
13353
|
+
};
|
|
13354
|
+
__decorate([
|
|
13355
|
+
core.Input()
|
|
13356
|
+
], IAInsightComponent.prototype, "insights", void 0);
|
|
13357
|
+
__decorate([
|
|
13358
|
+
core.Input()
|
|
13359
|
+
], IAInsightComponent.prototype, "hasPermission", void 0);
|
|
13360
|
+
__decorate([
|
|
13361
|
+
core.Input()
|
|
13362
|
+
], IAInsightComponent.prototype, "introText", void 0);
|
|
13363
|
+
__decorate([
|
|
13364
|
+
core.Input()
|
|
13365
|
+
], IAInsightComponent.prototype, "emptyText", void 0);
|
|
13366
|
+
__decorate([
|
|
13367
|
+
core.Input()
|
|
13368
|
+
], IAInsightComponent.prototype, "noPermissionText", void 0);
|
|
13369
|
+
__decorate([
|
|
13370
|
+
core.ViewChild(IAInsightSidebarComponent)
|
|
13371
|
+
], IAInsightComponent.prototype, "sidebar", void 0);
|
|
13372
|
+
__decorate([
|
|
13373
|
+
core.ContentChildren(TemplateDirective)
|
|
13374
|
+
], IAInsightComponent.prototype, "templates", void 0);
|
|
13375
|
+
IAInsightComponent = __decorate([
|
|
13376
|
+
core.Component({
|
|
13377
|
+
selector: "s-ia-insight",
|
|
13378
|
+
template: "<s-ia-insight-sidebar\n #sidebar\n [insights]=\"insights\"\n [hasPermission]=\"hasPermission\"\n [introText]=\"introText\"\n [introTemplate]=\"introTemplate\"\n [emptyText]=\"emptyText\"\n [emptyTemplate]=\"emptyTemplate\"\n [noPermissionText]=\"noPermissionText\"\n [noPermissionTemplate]=\"noPermissionTemplate\">\n</s-ia-insight-sidebar>",
|
|
13379
|
+
styles: [""]
|
|
13380
|
+
})
|
|
13381
|
+
], IAInsightComponent);
|
|
13382
|
+
return IAInsightComponent;
|
|
13383
|
+
}());
|
|
13384
|
+
|
|
13385
|
+
var IAInsightModule = /** @class */ (function () {
|
|
13386
|
+
function IAInsightModule() {
|
|
13387
|
+
}
|
|
13388
|
+
IAInsightModule = __decorate([
|
|
13389
|
+
core.NgModule({
|
|
13390
|
+
imports: [
|
|
13391
|
+
common.CommonModule,
|
|
13392
|
+
core$1.TranslateModule,
|
|
13393
|
+
BadgeModule,
|
|
13394
|
+
ButtonModule,
|
|
13395
|
+
TooltipModule,
|
|
13396
|
+
TemplateModule,
|
|
13397
|
+
SVGFactoryModule,
|
|
13398
|
+
],
|
|
13399
|
+
declarations: [
|
|
13400
|
+
IAInsightComponent,
|
|
13401
|
+
IAInsightCardComponent,
|
|
13402
|
+
IAInsightSidebarComponent,
|
|
13403
|
+
IAInsightCardLoaderComponent,
|
|
13404
|
+
],
|
|
13405
|
+
exports: [
|
|
13406
|
+
IAInsightComponent,
|
|
13407
|
+
TemplateModule,
|
|
13408
|
+
],
|
|
13409
|
+
})
|
|
13410
|
+
], IAInsightModule);
|
|
13411
|
+
return IAInsightModule;
|
|
13412
|
+
}());
|
|
13413
|
+
|
|
13099
13414
|
var HeaderComponent = /** @class */ (function () {
|
|
13100
13415
|
function HeaderComponent() {
|
|
13101
13416
|
}
|
|
@@ -13390,33 +13705,6 @@
|
|
|
13390
13705
|
return ImageCropperService;
|
|
13391
13706
|
}());
|
|
13392
13707
|
|
|
13393
|
-
|
|
13394
|
-
(function (KanbanTemplateTypes) {
|
|
13395
|
-
KanbanTemplateTypes["ColumnHeader"] = "column-header";
|
|
13396
|
-
KanbanTemplateTypes["ColumnEmptyMessage"] = "column-empty-message";
|
|
13397
|
-
KanbanTemplateTypes["ItemHeader"] = "item-header";
|
|
13398
|
-
KanbanTemplateTypes["ItemBody"] = "item-body";
|
|
13399
|
-
KanbanTemplateTypes["ItemFooter"] = "item-footer";
|
|
13400
|
-
})(exports.KanbanTemplateTypes || (exports.KanbanTemplateTypes = {}));
|
|
13401
|
-
|
|
13402
|
-
var TemplateDirective = /** @class */ (function () {
|
|
13403
|
-
function TemplateDirective(template) {
|
|
13404
|
-
this.template = template;
|
|
13405
|
-
}
|
|
13406
|
-
TemplateDirective.ctorParameters = function () { return [
|
|
13407
|
-
{ type: core.TemplateRef }
|
|
13408
|
-
]; };
|
|
13409
|
-
__decorate([
|
|
13410
|
-
core.Input("sTemplate")
|
|
13411
|
-
], TemplateDirective.prototype, "type", void 0);
|
|
13412
|
-
TemplateDirective = __decorate([
|
|
13413
|
-
core.Directive({
|
|
13414
|
-
selector: "[sTemplate]",
|
|
13415
|
-
})
|
|
13416
|
-
], TemplateDirective);
|
|
13417
|
-
return TemplateDirective;
|
|
13418
|
-
}());
|
|
13419
|
-
|
|
13420
13708
|
var KanbanEventService = /** @class */ (function () {
|
|
13421
13709
|
function KanbanEventService() {
|
|
13422
13710
|
this.selectAllColumnItemsEvent = new core.EventEmitter();
|
|
@@ -13442,6 +13730,15 @@
|
|
|
13442
13730
|
return KanbanEventService;
|
|
13443
13731
|
}());
|
|
13444
13732
|
|
|
13733
|
+
|
|
13734
|
+
(function (KanbanTemplateTypes) {
|
|
13735
|
+
KanbanTemplateTypes["ColumnHeader"] = "column-header";
|
|
13736
|
+
KanbanTemplateTypes["ColumnEmptyMessage"] = "column-empty-message";
|
|
13737
|
+
KanbanTemplateTypes["ItemHeader"] = "item-header";
|
|
13738
|
+
KanbanTemplateTypes["ItemBody"] = "item-body";
|
|
13739
|
+
KanbanTemplateTypes["ItemFooter"] = "item-footer";
|
|
13740
|
+
})(exports.KanbanTemplateTypes || (exports.KanbanTemplateTypes = {}));
|
|
13741
|
+
|
|
13445
13742
|
var KanbanComponent = /** @class */ (function () {
|
|
13446
13743
|
function KanbanComponent(kanbanEventService) {
|
|
13447
13744
|
this.kanbanEventService = kanbanEventService;
|
|
@@ -13646,47 +13943,6 @@
|
|
|
13646
13943
|
return KanbanComponent;
|
|
13647
13944
|
}());
|
|
13648
13945
|
|
|
13649
|
-
var KanbanItemComponent = /** @class */ (function () {
|
|
13650
|
-
function KanbanItemComponent(_kanbanEventService) {
|
|
13651
|
-
this._kanbanEventService = _kanbanEventService;
|
|
13652
|
-
this.selected = false;
|
|
13653
|
-
}
|
|
13654
|
-
KanbanItemComponent.prototype.onSelectedChange = function (value) {
|
|
13655
|
-
if (value) {
|
|
13656
|
-
this._kanbanEventService.emitSelectItemEvent(this.item);
|
|
13657
|
-
}
|
|
13658
|
-
else {
|
|
13659
|
-
this._kanbanEventService.emitUnselectItemEvent(this.item);
|
|
13660
|
-
}
|
|
13661
|
-
};
|
|
13662
|
-
KanbanItemComponent.ctorParameters = function () { return [
|
|
13663
|
-
{ type: KanbanEventService }
|
|
13664
|
-
]; };
|
|
13665
|
-
__decorate([
|
|
13666
|
-
core.Input()
|
|
13667
|
-
], KanbanItemComponent.prototype, "item", void 0);
|
|
13668
|
-
__decorate([
|
|
13669
|
-
core.Input()
|
|
13670
|
-
], KanbanItemComponent.prototype, "selected", void 0);
|
|
13671
|
-
__decorate([
|
|
13672
|
-
core.Input()
|
|
13673
|
-
], KanbanItemComponent.prototype, "headerTemplate", void 0);
|
|
13674
|
-
__decorate([
|
|
13675
|
-
core.Input()
|
|
13676
|
-
], KanbanItemComponent.prototype, "bodyTemplate", void 0);
|
|
13677
|
-
__decorate([
|
|
13678
|
-
core.Input()
|
|
13679
|
-
], KanbanItemComponent.prototype, "footerTemplate", void 0);
|
|
13680
|
-
KanbanItemComponent = __decorate([
|
|
13681
|
-
core.Component({
|
|
13682
|
-
selector: 's-kanban-item',
|
|
13683
|
-
template: "<p-tieredMenu\n #optionsMenu\n [popup]=\"true\"\n appendTo=\"body\"\n [baseZIndex]=\"9999\"\n [model]=\"item.options\">\n</p-tieredMenu>\n\n<div\n class=\"kanban-item\"\n [ngClass]=\"{\n 'kanban-item--selected': selected && !item.disabled,\n 'kanban-item--disabled': item.disabled\n }\">\n <div class=\"kanban-item__header\">\n <div class=\"content\">\n <form>\n <input\n *ngIf=\"!item.disabled\"\n type=\"checkbox\"\n name=\"checkbox\"\n [(ngModel)]=\"selected\"\n (ngModelChange)=\"onSelectedChange($event)\"\n (click)=\"$event.stopPropagation()\">\n </form>\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <button\n *ngIf=\"item.options && !item.disabled\"\n class=\"options-button\"\n (click)=\"optionsMenu.toggle($event); $event.stopPropagation();\">\n <i class=\"fas fa-ellipsis-v\"></i>\n </button>\n </div>\n <div class=\"kanban-item__body\">\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"kanban-item__footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: item }\"></ng-container> \n </div>\n</div>",
|
|
13684
|
-
styles: [".kanban-item{background-color:#fff;border-radius:4px;box-shadow:0 1px 5px 0 rgba(0,0,0,.25);cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:16px;min-width:260px;padding:16px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.kanban-item .kanban-item__header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__header .content{display:-ms-flexbox;display:flex;gap:16px}.kanban-item .kanban-item__header .options-button{background-color:transparent;border:none;cursor:pointer;margin-right:-8px;padding:0 8px}.kanban-item .kanban-item__body{margin:16px 0}.kanban-item .kanban-item__footer{border-top:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__footer .date-info{-ms-flex-align:center;align-items:center;color:#6e7280;display:-ms-flexbox;display:flex;font-family:\"Open Sans\" sans-serif;font-size:12px;gap:4px;line-height:150%}.kanban-item--selected{border:1px solid #428bca}.kanban-item--disabled{opacity:50%}"]
|
|
13685
|
-
})
|
|
13686
|
-
], KanbanItemComponent);
|
|
13687
|
-
return KanbanItemComponent;
|
|
13688
|
-
}());
|
|
13689
|
-
|
|
13690
13946
|
var KanbanColumnComponent = /** @class */ (function () {
|
|
13691
13947
|
function KanbanColumnComponent(kanbanEventService) {
|
|
13692
13948
|
this.kanbanEventService = kanbanEventService;
|
|
@@ -13781,6 +14037,47 @@
|
|
|
13781
14037
|
return KanbanItemDraggingComponent;
|
|
13782
14038
|
}());
|
|
13783
14039
|
|
|
14040
|
+
var KanbanItemComponent = /** @class */ (function () {
|
|
14041
|
+
function KanbanItemComponent(_kanbanEventService) {
|
|
14042
|
+
this._kanbanEventService = _kanbanEventService;
|
|
14043
|
+
this.selected = false;
|
|
14044
|
+
}
|
|
14045
|
+
KanbanItemComponent.prototype.onSelectedChange = function (value) {
|
|
14046
|
+
if (value) {
|
|
14047
|
+
this._kanbanEventService.emitSelectItemEvent(this.item);
|
|
14048
|
+
}
|
|
14049
|
+
else {
|
|
14050
|
+
this._kanbanEventService.emitUnselectItemEvent(this.item);
|
|
14051
|
+
}
|
|
14052
|
+
};
|
|
14053
|
+
KanbanItemComponent.ctorParameters = function () { return [
|
|
14054
|
+
{ type: KanbanEventService }
|
|
14055
|
+
]; };
|
|
14056
|
+
__decorate([
|
|
14057
|
+
core.Input()
|
|
14058
|
+
], KanbanItemComponent.prototype, "item", void 0);
|
|
14059
|
+
__decorate([
|
|
14060
|
+
core.Input()
|
|
14061
|
+
], KanbanItemComponent.prototype, "selected", void 0);
|
|
14062
|
+
__decorate([
|
|
14063
|
+
core.Input()
|
|
14064
|
+
], KanbanItemComponent.prototype, "headerTemplate", void 0);
|
|
14065
|
+
__decorate([
|
|
14066
|
+
core.Input()
|
|
14067
|
+
], KanbanItemComponent.prototype, "bodyTemplate", void 0);
|
|
14068
|
+
__decorate([
|
|
14069
|
+
core.Input()
|
|
14070
|
+
], KanbanItemComponent.prototype, "footerTemplate", void 0);
|
|
14071
|
+
KanbanItemComponent = __decorate([
|
|
14072
|
+
core.Component({
|
|
14073
|
+
selector: 's-kanban-item',
|
|
14074
|
+
template: "<p-tieredMenu\n #optionsMenu\n [popup]=\"true\"\n appendTo=\"body\"\n [baseZIndex]=\"9999\"\n [model]=\"item.options\">\n</p-tieredMenu>\n\n<div\n class=\"kanban-item\"\n [ngClass]=\"{\n 'kanban-item--selected': selected && !item.disabled,\n 'kanban-item--disabled': item.disabled\n }\">\n <div class=\"kanban-item__header\">\n <div class=\"content\">\n <form>\n <input\n *ngIf=\"!item.disabled\"\n type=\"checkbox\"\n name=\"checkbox\"\n [(ngModel)]=\"selected\"\n (ngModelChange)=\"onSelectedChange($event)\"\n (click)=\"$event.stopPropagation()\">\n </form>\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <button\n *ngIf=\"item.options && !item.disabled\"\n class=\"options-button\"\n (click)=\"optionsMenu.toggle($event); $event.stopPropagation();\">\n <i class=\"fas fa-ellipsis-v\"></i>\n </button>\n </div>\n <div class=\"kanban-item__body\">\n <ng-container *ngTemplateOutlet=\"bodyTemplate; context: { $implicit: item }\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"kanban-item__footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate; context: { $implicit: item }\"></ng-container> \n </div>\n</div>",
|
|
14075
|
+
styles: [".kanban-item{background-color:#fff;border-radius:4px;box-shadow:0 1px 5px 0 rgba(0,0,0,.25);cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:16px;min-width:260px;padding:16px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.kanban-item .kanban-item__header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__header .content{display:-ms-flexbox;display:flex;gap:16px}.kanban-item .kanban-item__header .options-button{background-color:transparent;border:none;cursor:pointer;margin-right:-8px;padding:0 8px}.kanban-item .kanban-item__body{margin:16px 0}.kanban-item .kanban-item__footer{border-top:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.kanban-item .kanban-item__footer .date-info{-ms-flex-align:center;align-items:center;color:#6e7280;display:-ms-flexbox;display:flex;font-family:\"Open Sans\" sans-serif;font-size:12px;gap:4px;line-height:150%}.kanban-item--selected{border:1px solid #428bca}.kanban-item--disabled{opacity:50%}"]
|
|
14076
|
+
})
|
|
14077
|
+
], KanbanItemComponent);
|
|
14078
|
+
return KanbanItemComponent;
|
|
14079
|
+
}());
|
|
14080
|
+
|
|
13784
14081
|
var KanbanModule = /** @class */ (function () {
|
|
13785
14082
|
function KanbanModule() {
|
|
13786
14083
|
}
|
|
@@ -13795,17 +14092,17 @@
|
|
|
13795
14092
|
BadgeModule,
|
|
13796
14093
|
ButtonModule,
|
|
13797
14094
|
tieredmenu.TieredMenuModule,
|
|
14095
|
+
TemplateModule,
|
|
13798
14096
|
],
|
|
13799
14097
|
declarations: [
|
|
13800
14098
|
KanbanComponent,
|
|
13801
14099
|
KanbanItemComponent,
|
|
13802
14100
|
KanbanColumnComponent,
|
|
13803
14101
|
KanbanItemDraggingComponent,
|
|
13804
|
-
TemplateDirective,
|
|
13805
14102
|
],
|
|
13806
14103
|
exports: [
|
|
13807
14104
|
KanbanComponent,
|
|
13808
|
-
|
|
14105
|
+
TemplateModule,
|
|
13809
14106
|
],
|
|
13810
14107
|
providers: [KanbanEventService],
|
|
13811
14108
|
})
|
|
@@ -16660,6 +16957,11 @@
|
|
|
16660
16957
|
}());
|
|
16661
16958
|
|
|
16662
16959
|
var fallback = {
|
|
16960
|
+
"platform.angular_components.insight_intro": "Olá! Aqui você encontrará insights valiosos a partir dos seus dados",
|
|
16961
|
+
"platform.angular_components.insight_empty": "Ainda não há Insights na página",
|
|
16962
|
+
"platform.angular_components.error_loading_insight_alt": "Não foi possível carregar o insight no momento. Por favor, verifique sua conexão com a internet e tente novamente.",
|
|
16963
|
+
"platform.angular_components.loading_insight": "Carregando insight valioso...",
|
|
16964
|
+
"platform.angular_components.insight_no_permission": "Olá! Você não possui acesso à página de insights. Entre em contato com o administrador para saber mais",
|
|
16663
16965
|
"platform.angular_components.count_items_in_target": "{{ count }} itens em {{ target }}",
|
|
16664
16966
|
"platform.angular_components.count_items_selected": "{{ count }} itens selecionados",
|
|
16665
16967
|
"platform.angular_components.january": "Janeiro",
|
|
@@ -17016,6 +17318,8 @@
|
|
|
17016
17318
|
exports.GlobalSearchDropdownItemComponent = GlobalSearchDropdownItemComponent;
|
|
17017
17319
|
exports.GlobalSearchModule = GlobalSearchModule;
|
|
17018
17320
|
exports.HostProjectConfigsInjectionToken = HostProjectConfigsInjectionToken;
|
|
17321
|
+
exports.IAInsightComponent = IAInsightComponent;
|
|
17322
|
+
exports.IAInsightModule = IAInsightModule;
|
|
17019
17323
|
exports.ImageCropperComponent = ImageCropperComponent;
|
|
17020
17324
|
exports.ImageCropperModule = ImageCropperModule;
|
|
17021
17325
|
exports.ImageCropperService = ImageCropperService;
|
|
@@ -17071,6 +17375,8 @@
|
|
|
17071
17375
|
exports.RatingScaleModule = RatingScaleModule;
|
|
17072
17376
|
exports.RationButtonOption = RationButtonOption;
|
|
17073
17377
|
exports.RowTogllerDirective = RowTogllerDirective;
|
|
17378
|
+
exports.SVGFactoryDirective = SVGFactoryDirective;
|
|
17379
|
+
exports.SVGFactoryModule = SVGFactoryModule;
|
|
17074
17380
|
exports.Section = Section;
|
|
17075
17381
|
exports.SelectButtonComponent = SelectButtonComponent;
|
|
17076
17382
|
exports.SelectButtonModule = SelectButtonModule;
|
|
@@ -17094,7 +17400,6 @@
|
|
|
17094
17400
|
exports.TableHeaderCheckboxModule = TableHeaderCheckboxModule;
|
|
17095
17401
|
exports.TableModule = TableModule;
|
|
17096
17402
|
exports.TaxCalculationLanguageConfigs = TaxCalculationLanguageConfigs;
|
|
17097
|
-
exports.TemplateDirective = TemplateDirective;
|
|
17098
17403
|
exports.TextAreaField = TextAreaField;
|
|
17099
17404
|
exports.TextField = TextField;
|
|
17100
17405
|
exports.ThumbnailComponent = ThumbnailComponent;
|
|
@@ -17137,36 +17442,42 @@
|
|
|
17137
17442
|
exports.ɵbu = ThumbnailService;
|
|
17138
17443
|
exports.ɵbv = InfiniteScrollModule;
|
|
17139
17444
|
exports.ɵbw = InfiniteScrollDirective;
|
|
17140
|
-
exports.ɵbx =
|
|
17141
|
-
exports.ɵby =
|
|
17142
|
-
exports.ɵbz =
|
|
17445
|
+
exports.ɵbx = TemplateModule;
|
|
17446
|
+
exports.ɵby = TemplateDirective;
|
|
17447
|
+
exports.ɵbz = IAssistIconComponent;
|
|
17143
17448
|
exports.ɵc = CustomTranslationsModule;
|
|
17144
|
-
exports.ɵca =
|
|
17145
|
-
exports.ɵcb =
|
|
17146
|
-
exports.ɵcc =
|
|
17147
|
-
exports.ɵcd =
|
|
17148
|
-
exports.ɵce =
|
|
17149
|
-
exports.ɵcf =
|
|
17150
|
-
exports.ɵcg =
|
|
17151
|
-
exports.ɵch =
|
|
17152
|
-
exports.ɵci =
|
|
17153
|
-
exports.ɵcj =
|
|
17154
|
-
exports.ɵck =
|
|
17155
|
-
exports.ɵcl =
|
|
17156
|
-
exports.ɵcm =
|
|
17157
|
-
exports.ɵcn =
|
|
17158
|
-
exports.ɵco =
|
|
17159
|
-
exports.ɵcp =
|
|
17160
|
-
exports.ɵcq =
|
|
17161
|
-
exports.ɵcr =
|
|
17162
|
-
exports.ɵcs =
|
|
17163
|
-
exports.ɵct =
|
|
17164
|
-
exports.ɵcu =
|
|
17165
|
-
exports.ɵcv =
|
|
17166
|
-
exports.ɵcw =
|
|
17167
|
-
exports.ɵcx =
|
|
17168
|
-
exports.ɵcy =
|
|
17449
|
+
exports.ɵca = IAInsightSidebarComponent;
|
|
17450
|
+
exports.ɵcb = IAInsightCardComponent;
|
|
17451
|
+
exports.ɵcc = IAInsightCardLoaderComponent;
|
|
17452
|
+
exports.ɵcd = StructureModule;
|
|
17453
|
+
exports.ɵce = HeaderComponent;
|
|
17454
|
+
exports.ɵcf = FooterComponent;
|
|
17455
|
+
exports.ɵcg = KanbanEventService;
|
|
17456
|
+
exports.ɵch = KanbanItemComponent;
|
|
17457
|
+
exports.ɵci = KanbanColumnComponent;
|
|
17458
|
+
exports.ɵcj = KanbanItemDraggingComponent;
|
|
17459
|
+
exports.ɵck = NumberLocaleOptions;
|
|
17460
|
+
exports.ɵcl = BorderButtonModule;
|
|
17461
|
+
exports.ɵcm = BorderButtonComponent;
|
|
17462
|
+
exports.ɵcn = SelectButtonItemComponent;
|
|
17463
|
+
exports.ɵco = SlidePanelService;
|
|
17464
|
+
exports.ɵcp = TieredMenuEventService;
|
|
17465
|
+
exports.ɵcq = TieredMenuService;
|
|
17466
|
+
exports.ɵcr = TieredMenuComponent;
|
|
17467
|
+
exports.ɵcs = TieredMenuNestedComponent;
|
|
17468
|
+
exports.ɵct = TieredMenuItemComponent;
|
|
17469
|
+
exports.ɵcu = TieredMenuDividerComponent;
|
|
17470
|
+
exports.ɵcv = TimelineItemModule;
|
|
17471
|
+
exports.ɵcw = TimelineIconItemComponent;
|
|
17472
|
+
exports.ɵcx = HorizontalTimelineModule;
|
|
17473
|
+
exports.ɵcy = HorizontalTimelineComponent;
|
|
17474
|
+
exports.ɵcz = VerticalTimelineModule;
|
|
17169
17475
|
exports.ɵd = CodeEditorComponent;
|
|
17476
|
+
exports.ɵda = VerticalTimelineComponent;
|
|
17477
|
+
exports.ɵdb = RangeLineComponent;
|
|
17478
|
+
exports.ɵdc = CollapseOptionComponent;
|
|
17479
|
+
exports.ɵdd = CollapsedItemsComponent;
|
|
17480
|
+
exports.ɵde = VerticalItemsComponent;
|
|
17170
17481
|
exports.ɵe = CoreFacade;
|
|
17171
17482
|
exports.ɵf = CodeMirror6Core;
|
|
17172
17483
|
exports.ɵg = CountryPhonePickerService;
|