ids-enterprise-ng 21.0.6 → 21.0.7

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.
@@ -18064,6 +18064,41 @@ class SohoListBuilderComponent {
18064
18064
  this.updateRequired = true;
18065
18065
  }
18066
18066
  }
18067
+ /** When true, hides the entire toolbar and removes the space it occupies. */
18068
+ set hideToolbar(value) {
18069
+ this.options.hideToolbar = value;
18070
+ if (this.jQueryElement && this.listbuilder) {
18071
+ this.listbuilder.settings.hideToolbar = value;
18072
+ this.updateRequired = true;
18073
+ }
18074
+ }
18075
+ get hideToolbar() {
18076
+ return this.options.hideToolbar ?? false;
18077
+ }
18078
+ /** When set, clears all existing buttons from the toolbar's buttonset and rebuilds them in the specified order.
18079
+ * Valid values: 'add', 'up', 'down', 'edit', 'delete', 'separator'. */
18080
+ set buttons(value) {
18081
+ this.options.buttons = value;
18082
+ if (this.jQueryElement && this.listbuilder) {
18083
+ this.listbuilder.settings.buttons = value;
18084
+ this.updateRequired = true;
18085
+ }
18086
+ }
18087
+ get buttons() {
18088
+ return this.options.buttons;
18089
+ }
18090
+ /** When set, excludes the specified buttons from the toolbar.
18091
+ * Valid values: 'add', 'up', 'down', 'edit', 'delete'. */
18092
+ set excludeButtons(value) {
18093
+ this.options.excludeButtons = value;
18094
+ if (this.jQueryElement && this.listbuilder) {
18095
+ this.listbuilder.settings.excludeButtons = value;
18096
+ this.updateRequired = true;
18097
+ }
18098
+ }
18099
+ get excludeButtons() {
18100
+ return this.options.excludeButtons;
18101
+ }
18067
18102
  ngAfterViewInit() {
18068
18103
  if (!this.listBuilderRef) {
18069
18104
  throw Error('Unable to find listbuilder reference...');
@@ -18104,11 +18139,11 @@ class SohoListBuilderComponent {
18104
18139
  });
18105
18140
  }
18106
18141
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoListBuilderComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
18107
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: SohoListBuilderComponent, isStandalone: false, selector: "[soho-listbuilder]", inputs: { sohoListBuilderElementId: "sohoListBuilderElementId", class: "class", dataset: "dataset", handle: "handle", btnAdd: "btnAdd", btnEdit: "btnEdit", btnDelete: "btnDelete", btnGoUp: "btnGoUp", btnGoDown: "btnGoDown", attributes: "attributes", template: "template", templateNewItem: "templateNewItem", templateItemContent: "templateItemContent" }, outputs: { afteradd: "afteradd", aftergoup: "aftergoup", aftergodown: "aftergodown", afterdelete: "afterdelete", beforeedit: "beforeedit", beforeadd: "beforeadd", beforegoup: "beforegoup", beforegodown: "beforegodown", beforedelete: "beforedelete", arrangeupdate: "arrangeupdate", entereditmode: "entereditmode", exiteditmode: "exiteditmode" }, host: { properties: { "class.listbuilder": "this.isListbuilder" } }, viewQueries: [{ propertyName: "listBuilderRef", first: true, predicate: ["listbuilder"], descendants: true, static: true }], ngImport: i0, template: "<div #listbuilder [class]=\"listClass\" [attr.id]=\"sohoListBuilderElementId\" >\n <soho-toolbar class=\"formatter-toolbar\">\n <soho-toolbar-button-set>\n <button soho-button=\"secondary\" icon=\"add\" data-action=\"add\" title=\"Add New\">Add</button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"up-arrow\" data-action=\"goup\" title=\"Go Up\">Go Up</button>\n <button soho-button=\"secondary\" icon=\"down-arrow\" data-action=\"godown\" title=\"Go Down\">Go Down</button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"edit\" data-action=\"edit\" title=\"Edit\">Edit</button>\n <button soho-button=\"secondary\" icon=\"delete\" data-action=\"delete\" title=\"Delete\">Delete</button>\n </soho-toolbar-button-set>\n </soho-toolbar>\n <div class=\"listbuilder-content\">\n <div class=\"listview\">\n <ul>\n <ng-content select=\"li[soho-listview-item]\"></ng-content>\n </ul>\n <ng-content select=\"[soho-emptymessage]\"></ng-content>\n </div>\n </div>\n</div>", dependencies: [{ kind: "component", type: SohoButtonComponent, selector: "button[soho-button]", inputs: ["soho-button", "buttonOptions", "toggleOnIcon", "toggleOffIcon", "replaceText", "hideMenuArrow", "hitbox", "notificationBadge", "notificationBadgeOptions", "extraIconClass", "isToggle", "isTogglePressed", "icon", "iconAlign", "isSubmit", "ripple", "state", "toggle", "expandableExpander", "moveToLeft", "moveToRight", "moveToSelected"] }, { kind: "component", type: SohoToolbarComponent, selector: "soho-toolbar, div[soho-toolbar]", inputs: ["noActionsButton", "hasMoreButton", "maxVisibleButtons", "rightAligned", "rightAlign", "resizeContainers", "favorButtonset", "moreMenuSettings", "attributes"], outputs: ["beforeActivated", "activated", "afterActivated", "selected", "menuItemMouseOver"] }, { kind: "component", type: SohoToolbarButtonSetComponent, selector: "soho-toolbar-button-set" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18142
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SohoListBuilderComponent, isStandalone: false, selector: "[soho-listbuilder]", inputs: { sohoListBuilderElementId: "sohoListBuilderElementId", class: "class", dataset: "dataset", handle: "handle", btnAdd: "btnAdd", btnEdit: "btnEdit", btnDelete: "btnDelete", btnGoUp: "btnGoUp", btnGoDown: "btnGoDown", attributes: "attributes", template: "template", templateNewItem: "templateNewItem", templateItemContent: "templateItemContent", hideToolbar: "hideToolbar", buttons: "buttons", excludeButtons: "excludeButtons" }, outputs: { afteradd: "afteradd", aftergoup: "aftergoup", aftergodown: "aftergodown", afterdelete: "afterdelete", beforeedit: "beforeedit", beforeadd: "beforeadd", beforegoup: "beforegoup", beforegodown: "beforegodown", beforedelete: "beforedelete", arrangeupdate: "arrangeupdate", entereditmode: "entereditmode", exiteditmode: "exiteditmode" }, host: { properties: { "class.listbuilder": "this.isListbuilder" } }, viewQueries: [{ propertyName: "listBuilderRef", first: true, predicate: ["listbuilder"], descendants: true, static: true }], ngImport: i0, template: "<div #listbuilder [class]=\"listClass\" [attr.id]=\"sohoListBuilderElementId\" >\n <soho-toolbar class=\"formatter-toolbar\">\n @if (buttons) {\n <soho-toolbar-button-set></soho-toolbar-button-set>\n } @else {\n <soho-toolbar-button-set>\n <button soho-button=\"secondary\" icon=\"add\" data-action=\"add\" title=\"Add New\"></button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"up-arrow\" data-action=\"goup\" title=\"Go Up\"></button>\n <button soho-button=\"secondary\" icon=\"down-arrow\" data-action=\"godown\" title=\"Go Down\"></button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"edit\" data-action=\"edit\" title=\"Edit\"></button>\n <button soho-button=\"secondary\" icon=\"delete\" data-action=\"delete\" title=\"Delete\"></button>\n </soho-toolbar-button-set>\n }\n </soho-toolbar>\n <div class=\"listbuilder-content\">\n <div class=\"listview\">\n <ul>\n <ng-content select=\"li[soho-listview-item]\"></ng-content>\n </ul>\n <ng-content select=\"[soho-emptymessage]\"></ng-content>\n </div>\n </div>\n</div>", dependencies: [{ kind: "component", type: SohoButtonComponent, selector: "button[soho-button]", inputs: ["soho-button", "buttonOptions", "toggleOnIcon", "toggleOffIcon", "replaceText", "hideMenuArrow", "hitbox", "notificationBadge", "notificationBadgeOptions", "extraIconClass", "isToggle", "isTogglePressed", "icon", "iconAlign", "isSubmit", "ripple", "state", "toggle", "expandableExpander", "moveToLeft", "moveToRight", "moveToSelected"] }, { kind: "component", type: SohoToolbarComponent, selector: "soho-toolbar, div[soho-toolbar]", inputs: ["noActionsButton", "hasMoreButton", "maxVisibleButtons", "rightAligned", "rightAlign", "resizeContainers", "favorButtonset", "moreMenuSettings", "attributes"], outputs: ["beforeActivated", "activated", "afterActivated", "selected", "menuItemMouseOver"] }, { kind: "component", type: SohoToolbarButtonSetComponent, selector: "soho-toolbar-button-set" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18108
18143
  }
18109
18144
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoListBuilderComponent, decorators: [{
18110
18145
  type: Component,
18111
- args: [{ selector: '[soho-listbuilder]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div #listbuilder [class]=\"listClass\" [attr.id]=\"sohoListBuilderElementId\" >\n <soho-toolbar class=\"formatter-toolbar\">\n <soho-toolbar-button-set>\n <button soho-button=\"secondary\" icon=\"add\" data-action=\"add\" title=\"Add New\">Add</button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"up-arrow\" data-action=\"goup\" title=\"Go Up\">Go Up</button>\n <button soho-button=\"secondary\" icon=\"down-arrow\" data-action=\"godown\" title=\"Go Down\">Go Down</button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"edit\" data-action=\"edit\" title=\"Edit\">Edit</button>\n <button soho-button=\"secondary\" icon=\"delete\" data-action=\"delete\" title=\"Delete\">Delete</button>\n </soho-toolbar-button-set>\n </soho-toolbar>\n <div class=\"listbuilder-content\">\n <div class=\"listview\">\n <ul>\n <ng-content select=\"li[soho-listview-item]\"></ng-content>\n </ul>\n <ng-content select=\"[soho-emptymessage]\"></ng-content>\n </div>\n </div>\n</div>" }]
18146
+ args: [{ selector: '[soho-listbuilder]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div #listbuilder [class]=\"listClass\" [attr.id]=\"sohoListBuilderElementId\" >\n <soho-toolbar class=\"formatter-toolbar\">\n @if (buttons) {\n <soho-toolbar-button-set></soho-toolbar-button-set>\n } @else {\n <soho-toolbar-button-set>\n <button soho-button=\"secondary\" icon=\"add\" data-action=\"add\" title=\"Add New\"></button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"up-arrow\" data-action=\"goup\" title=\"Go Up\"></button>\n <button soho-button=\"secondary\" icon=\"down-arrow\" data-action=\"godown\" title=\"Go Down\"></button>\n <div class=\"separator\"></div>\n <button soho-button=\"secondary\" icon=\"edit\" data-action=\"edit\" title=\"Edit\"></button>\n <button soho-button=\"secondary\" icon=\"delete\" data-action=\"delete\" title=\"Delete\"></button>\n </soho-toolbar-button-set>\n }\n </soho-toolbar>\n <div class=\"listbuilder-content\">\n <div class=\"listview\">\n <ul>\n <ng-content select=\"li[soho-listview-item]\"></ng-content>\n </ul>\n <ng-content select=\"[soho-emptymessage]\"></ng-content>\n </div>\n </div>\n</div>" }]
18112
18147
  }], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { isListbuilder: [{
18113
18148
  type: HostBinding,
18114
18149
  args: ['class.listbuilder']
@@ -18141,6 +18176,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
18141
18176
  type: Input
18142
18177
  }], templateItemContent: [{
18143
18178
  type: Input
18179
+ }], hideToolbar: [{
18180
+ type: Input
18181
+ }], buttons: [{
18182
+ type: Input
18183
+ }], excludeButtons: [{
18184
+ type: Input
18144
18185
  }], afteradd: [{
18145
18186
  type: Output
18146
18187
  }], aftergoup: [{
@@ -31932,7 +31973,7 @@ class SohoVersionInitializerService {
31932
31973
  * Initializes the version attribute.
31933
31974
  */
31934
31975
  initialize() {
31935
- $('html').attr(SohoVersionInitializerService.VERSION_ATTR_NAME, '21.0.6');
31976
+ $('html').attr(SohoVersionInitializerService.VERSION_ATTR_NAME, '21.0.7');
31936
31977
  }
31937
31978
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoVersionInitializerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31938
31979
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoVersionInitializerService, providedIn: 'root' }); }