@colijnit/corecomponents_v12 12.0.58 → 12.0.60
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/colijnit-corecomponents_v12.umd.js +134 -0
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +64 -0
- package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +23 -0
- package/esm2015/lib/components/input-search/input-search.component.js +3 -1
- package/esm2015/lib/core/enum/co-direction.js +9 -0
- package/esm2015/lib/core/enum/co-orientation.js +17 -0
- package/esm2015/lib/core/utils/direction-enum-utils.js +14 -0
- package/esm2015/public-api.js +5 -1
- package/fesm2015/colijnit-corecomponents_v12.js +116 -1
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +21 -0
- package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +2 -0
- package/lib/components/icon-collapse-handle/style/_layout.scss +95 -0
- package/lib/components/icon-collapse-handle/style/_material-definition.scss +0 -0
- package/lib/components/icon-collapse-handle/style/_theme.scss +6 -0
- package/lib/components/icon-collapse-handle/style/material.scss +5 -0
- package/lib/components/input-search/input-search.component.d.ts +1 -0
- package/lib/components/input-search/style/_layout.scss +20 -0
- package/lib/core/enum/co-direction.d.ts +6 -0
- package/lib/core/enum/co-orientation.d.ts +6 -0
- package/lib/core/utils/direction-enum-utils.d.ts +5 -0
- package/lib/style/_mixin.scss +7 -0
- package/lib/style/_variables.scss +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -6034,6 +6034,135 @@
|
|
|
6034
6034
|
},] }
|
|
6035
6035
|
];
|
|
6036
6036
|
|
|
6037
|
+
// Direction type for regular straight directions.
|
|
6038
|
+
exports.CoDirection = void 0;
|
|
6039
|
+
(function (CoDirection) {
|
|
6040
|
+
CoDirection["Right"] = "right";
|
|
6041
|
+
CoDirection["Left"] = "left";
|
|
6042
|
+
CoDirection["Up"] = "top";
|
|
6043
|
+
CoDirection["Down"] = "bottom";
|
|
6044
|
+
})(exports.CoDirection || (exports.CoDirection = {}));
|
|
6045
|
+
|
|
6046
|
+
// Represents a bi-directional orientation.
|
|
6047
|
+
exports.CoOrientation = void 0;
|
|
6048
|
+
(function (CoOrientation) {
|
|
6049
|
+
CoOrientation["Horizontal"] = "horizontal";
|
|
6050
|
+
CoOrientation["Vertical"] = "vertical";
|
|
6051
|
+
})(exports.CoOrientation || (exports.CoOrientation = {}));
|
|
6052
|
+
var _orientationsOfDirections = new Map([
|
|
6053
|
+
[exports.CoDirection.Right, exports.CoOrientation.Vertical],
|
|
6054
|
+
[exports.CoDirection.Left, exports.CoOrientation.Vertical],
|
|
6055
|
+
[exports.CoDirection.Up, exports.CoOrientation.Horizontal],
|
|
6056
|
+
[exports.CoDirection.Down, exports.CoOrientation.Horizontal]
|
|
6057
|
+
]);
|
|
6058
|
+
function OrientationOfDirection(direction) {
|
|
6059
|
+
return _orientationsOfDirections.get(direction);
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
// @dynamic
|
|
6063
|
+
var DirectionEnumUtils = /** @class */ (function () {
|
|
6064
|
+
function DirectionEnumUtils() {
|
|
6065
|
+
}
|
|
6066
|
+
DirectionEnumUtils.OppositeOf = function (direction) {
|
|
6067
|
+
return this._OppositeDirections.get(direction);
|
|
6068
|
+
};
|
|
6069
|
+
return DirectionEnumUtils;
|
|
6070
|
+
}());
|
|
6071
|
+
DirectionEnumUtils._OppositeDirections = new Map([
|
|
6072
|
+
[exports.CoDirection.Right, exports.CoDirection.Left],
|
|
6073
|
+
[exports.CoDirection.Left, exports.CoDirection.Right],
|
|
6074
|
+
[exports.CoDirection.Up, exports.CoDirection.Down],
|
|
6075
|
+
[exports.CoDirection.Down, exports.CoDirection.Up]
|
|
6076
|
+
]);
|
|
6077
|
+
|
|
6078
|
+
var IconCollapseHandleComponent = /** @class */ (function () {
|
|
6079
|
+
function IconCollapseHandleComponent() {
|
|
6080
|
+
this.orientation = exports.CoOrientation.Horizontal;
|
|
6081
|
+
this.twoArrows = false;
|
|
6082
|
+
this.iconColorClass = "action-color";
|
|
6083
|
+
this.Icons = exports.CoreComponentsIcon;
|
|
6084
|
+
this._arrowDirection = exports.CoDirection.Up;
|
|
6085
|
+
this._oppositeArrowDirection = exports.CoDirection.Down;
|
|
6086
|
+
}
|
|
6087
|
+
IconCollapseHandleComponent.prototype.showClass = function () {
|
|
6088
|
+
return true;
|
|
6089
|
+
};
|
|
6090
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "arrowDirection", {
|
|
6091
|
+
get: function () {
|
|
6092
|
+
return this._arrowDirection;
|
|
6093
|
+
},
|
|
6094
|
+
set: function (arrowDirection) {
|
|
6095
|
+
this._arrowDirection = arrowDirection;
|
|
6096
|
+
this._oppositeArrowDirection = DirectionEnumUtils.OppositeOf(this._arrowDirection);
|
|
6097
|
+
},
|
|
6098
|
+
enumerable: false,
|
|
6099
|
+
configurable: true
|
|
6100
|
+
});
|
|
6101
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "isVertical", {
|
|
6102
|
+
get: function () {
|
|
6103
|
+
return this.orientation === exports.CoOrientation.Vertical;
|
|
6104
|
+
},
|
|
6105
|
+
enumerable: false,
|
|
6106
|
+
configurable: true
|
|
6107
|
+
});
|
|
6108
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "arrowsOrientatedHorizontally", {
|
|
6109
|
+
get: function () {
|
|
6110
|
+
return OrientationOfDirection(this._arrowDirection) === exports.CoOrientation.Horizontal;
|
|
6111
|
+
},
|
|
6112
|
+
enumerable: false,
|
|
6113
|
+
configurable: true
|
|
6114
|
+
});
|
|
6115
|
+
Object.defineProperty(IconCollapseHandleComponent.prototype, "oppositeArrowDirection", {
|
|
6116
|
+
get: function () {
|
|
6117
|
+
return this._oppositeArrowDirection;
|
|
6118
|
+
},
|
|
6119
|
+
enumerable: false,
|
|
6120
|
+
configurable: true
|
|
6121
|
+
});
|
|
6122
|
+
return IconCollapseHandleComponent;
|
|
6123
|
+
}());
|
|
6124
|
+
IconCollapseHandleComponent.decorators = [
|
|
6125
|
+
{ type: core.Component, args: [{
|
|
6126
|
+
selector: "co-icon-collapse-handle",
|
|
6127
|
+
template: "\n <div class=\"wrap\">\n <co-icon [icon]=\"Icons.ArrowPointUp\" [class]=\"'first ' + arrowDirection + ' ' + iconColorClass\"></co-icon>\n <co-icon *ngIf=\"twoArrows\" [icon]=\"Icons.ArrowPointUp\"\n [class]=\"'second ' + oppositeArrowDirection + ' ' + iconColorClass\"></co-icon>\n </div>\n <div class=\"absolute-fill-parent\" md-ripple></div>\n ",
|
|
6128
|
+
encapsulation: core.ViewEncapsulation.None
|
|
6129
|
+
},] }
|
|
6130
|
+
];
|
|
6131
|
+
IconCollapseHandleComponent.ctorParameters = function () { return []; };
|
|
6132
|
+
IconCollapseHandleComponent.propDecorators = {
|
|
6133
|
+
showClass: [{ type: core.HostBinding, args: ["class.co-icon-collapse-handle",] }],
|
|
6134
|
+
orientation: [{ type: core.Input }],
|
|
6135
|
+
arrowDirection: [{ type: core.Input }],
|
|
6136
|
+
twoArrows: [{ type: core.Input }, { type: core.HostBinding, args: ["class.two-arrows",] }],
|
|
6137
|
+
isVertical: [{ type: core.HostBinding, args: ["class.vertical",] }],
|
|
6138
|
+
arrowsOrientatedHorizontally: [{ type: core.HostBinding, args: ["class.arrows-orientated-horizontally",] }],
|
|
6139
|
+
hidden: [{ type: core.HostBinding, args: ["class.hidden",] }]
|
|
6140
|
+
};
|
|
6141
|
+
__decorate([
|
|
6142
|
+
InputBoolean()
|
|
6143
|
+
], IconCollapseHandleComponent.prototype, "twoArrows", void 0);
|
|
6144
|
+
|
|
6145
|
+
var IconCollapseHandleModule = /** @class */ (function () {
|
|
6146
|
+
function IconCollapseHandleModule() {
|
|
6147
|
+
}
|
|
6148
|
+
return IconCollapseHandleModule;
|
|
6149
|
+
}());
|
|
6150
|
+
IconCollapseHandleModule.decorators = [
|
|
6151
|
+
{ type: core.NgModule, args: [{
|
|
6152
|
+
imports: [
|
|
6153
|
+
common.CommonModule,
|
|
6154
|
+
IconModule,
|
|
6155
|
+
RippleModule
|
|
6156
|
+
],
|
|
6157
|
+
declarations: [
|
|
6158
|
+
IconCollapseHandleComponent
|
|
6159
|
+
],
|
|
6160
|
+
exports: [
|
|
6161
|
+
IconCollapseHandleComponent
|
|
6162
|
+
]
|
|
6163
|
+
},] }
|
|
6164
|
+
];
|
|
6165
|
+
|
|
6037
6166
|
var InputCheckboxComponent = /** @class */ (function (_super) {
|
|
6038
6167
|
__extends(InputCheckboxComponent, _super);
|
|
6039
6168
|
function InputCheckboxComponent(formComponent, iconCacheService, changeDetector, componentFactoryResolver, formUserChangeListener, ngZoneWrapper, elementRef) {
|
|
@@ -7556,6 +7685,7 @@
|
|
|
7556
7685
|
_this.useLeftIcon = false;
|
|
7557
7686
|
_this.useRightIcon = false;
|
|
7558
7687
|
_this.noIcon = false;
|
|
7688
|
+
_this.isSmall = false;
|
|
7559
7689
|
return _this;
|
|
7560
7690
|
}
|
|
7561
7691
|
InputSearchComponent.prototype.showClass = function () {
|
|
@@ -7585,6 +7715,7 @@
|
|
|
7585
7715
|
useLeftIcon: [{ type: core.Input }],
|
|
7586
7716
|
useRightIcon: [{ type: core.Input }],
|
|
7587
7717
|
noIcon: [{ type: core.HostBinding, args: ['class.no-icon',] }, { type: core.Input }],
|
|
7718
|
+
isSmall: [{ type: core.HostBinding, args: ['class.is-small',] }, { type: core.Input }],
|
|
7588
7719
|
showClass: [{ type: core.HostBinding, args: ['class.co-input-search',] }]
|
|
7589
7720
|
};
|
|
7590
7721
|
__decorate([
|
|
@@ -11085,6 +11216,8 @@
|
|
|
11085
11216
|
exports.GridToolbarComponent = GridToolbarComponent;
|
|
11086
11217
|
exports.GridToolbarModule = GridToolbarModule;
|
|
11087
11218
|
exports.IconCacheService = IconCacheService;
|
|
11219
|
+
exports.IconCollapseHandleComponent = IconCollapseHandleComponent;
|
|
11220
|
+
exports.IconCollapseHandleModule = IconCollapseHandleModule;
|
|
11088
11221
|
exports.IconComponent = IconComponent;
|
|
11089
11222
|
exports.IconModule = IconModule;
|
|
11090
11223
|
exports.ImageComponent = ImageComponent;
|
|
@@ -11116,6 +11249,7 @@
|
|
|
11116
11249
|
exports.MultiSelectListComponent = MultiSelectListComponent;
|
|
11117
11250
|
exports.MultiSelectListModule = MultiSelectListModule;
|
|
11118
11251
|
exports.ObserveVisibilityModule = ObserveVisibilityModule;
|
|
11252
|
+
exports.OrientationOfDirection = OrientationOfDirection;
|
|
11119
11253
|
exports.PaginationBarComponent = PaginationBarComponent;
|
|
11120
11254
|
exports.PaginationBarModule = PaginationBarModule;
|
|
11121
11255
|
exports.PaginationComponent = PaginationComponent;
|