@acorex/components 3.0.50 → 3.0.51
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/acorex-components.metadata.json +1 -1
- package/bundles/acorex-components.umd.js +12 -6
- package/bundles/acorex-components.umd.js.map +1 -1
- package/bundles/acorex-components.umd.min.js +1 -1
- package/bundles/acorex-components.umd.min.js.map +1 -1
- package/esm2015/lib/date-picker/date-picker.component.js +3 -2
- package/esm2015/lib/dropdown/dropdown.component.js +3 -2
- package/esm2015/lib/menu/menu2.component.js +1 -1
- package/esm2015/lib/query-builder/query-builder-rule.component.js +5 -1
- package/esm2015/lib/query-builder/query-builder.service.js +4 -4
- package/esm5/lib/date-picker/date-picker.component.js +3 -2
- package/esm5/lib/dropdown/dropdown.component.js +3 -2
- package/esm5/lib/menu/menu2.component.js +1 -1
- package/esm5/lib/query-builder/query-builder-rule.component.js +5 -1
- package/esm5/lib/query-builder/query-builder.service.js +4 -4
- package/fesm2015/acorex-components.js +12 -6
- package/fesm2015/acorex-components.js.map +1 -1
- package/fesm5/acorex-components.js +12 -6
- package/fesm5/acorex-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -3242,7 +3242,7 @@ var AXMenu2Component = /** @class */ (function () {
|
|
|
3242
3242
|
selector: 'ax-menu2',
|
|
3243
3243
|
template: "\n <div class=\"ax ax-menu ax-menu-vertical\" [attr.data-level]=\"level\">\n <ax-menu-item\n *ngFor=\"let item of items\"\n [level]=\"level\"\n [item]=\"item\"\n (showSubMenu)=\"showSubmenu($event)\">\n </ax-menu-item>\n </div>\n ",
|
|
3244
3244
|
encapsulation: ViewEncapsulation.None,
|
|
3245
|
-
styles: [".ax.ax-menu{display:flex}.ax.ax-menu.ax-menu-vertical[data-level=\"0\"]{display:flex;flex-direction:row}.ax.ax-menu.ax-menu-vertical:not([data-level=\"0\"]){display:flex;transition:opacity .3s;min-width:12em;box-shadow:0 1px 7px 0 var(--ax-border-color);background:#fff;flex-direction:column}.ax.ax-menu.ax-menu-vertical .ax-menu-item{display:flex;white-space:nowrap;cursor:pointer;padding:0 10px;font-weight:400;font-size:1rem;line-height:40px;text-decoration:none;align-items:center}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:first-child{-webkit-margin-end:var(--ax-size-md);margin-inline-end:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:last-child{-webkit-margin-start:var(--ax-size-md);margin-inline-start:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item span{flex:1}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled{
|
|
3245
|
+
styles: [".ax.ax-menu{display:flex}.ax.ax-menu.ax-menu-vertical[data-level=\"0\"]{display:flex;flex-direction:row}.ax.ax-menu.ax-menu-vertical:not([data-level=\"0\"]){display:flex;transition:opacity .3s;min-width:12em;box-shadow:0 1px 7px 0 var(--ax-border-color);background:#fff;flex-direction:column}.ax.ax-menu.ax-menu-vertical .ax-menu-item{display:flex;white-space:nowrap;cursor:pointer;padding:0 10px;font-weight:400;font-size:1rem;line-height:40px;text-decoration:none;align-items:center}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:first-child{-webkit-margin-end:var(--ax-size-md);margin-inline-end:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:last-child{-webkit-margin-start:var(--ax-size-md);margin-inline-start:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item span{flex:1}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled{opacity:.6;cursor:not-allowed!important}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled .icon{color:var(--ax-gray-dark-color)!important}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled:hover{cursor:not-allowed!important}"]
|
|
3246
3246
|
}),
|
|
3247
3247
|
__metadata("design:paramtypes", [Overlay,
|
|
3248
3248
|
ViewContainerRef,
|
|
@@ -5315,7 +5315,8 @@ var AXDropdownComponent = /** @class */ (function (_super) {
|
|
|
5315
5315
|
var _this = this;
|
|
5316
5316
|
if (!this.overlayRef) {
|
|
5317
5317
|
var targetEl = document.querySelector('#' + this.uid);
|
|
5318
|
-
var positionStrategy = this.overlay
|
|
5318
|
+
var positionStrategy = this.overlay
|
|
5319
|
+
.position()
|
|
5319
5320
|
.flexibleConnectedTo(targetEl)
|
|
5320
5321
|
.withPositions([
|
|
5321
5322
|
{
|
|
@@ -5505,7 +5506,8 @@ var AXDatePickerComponent = /** @class */ (function (_super) {
|
|
|
5505
5506
|
this.value = new Date();
|
|
5506
5507
|
};
|
|
5507
5508
|
AXDatePickerComponent.prototype.focus = function () {
|
|
5508
|
-
this.dropdown.focus();
|
|
5509
|
+
// this.dropdown.focus();
|
|
5510
|
+
this.input.focus();
|
|
5509
5511
|
};
|
|
5510
5512
|
AXDatePickerComponent.prototype.convertMaskToDate = function (text) {
|
|
5511
5513
|
if (this.type == 'jalali') {
|
|
@@ -9474,6 +9476,10 @@ var AXQueryBuilderRuleComponent = /** @class */ (function () {
|
|
|
9474
9476
|
value: 'not-contains',
|
|
9475
9477
|
text: AXTranslator.get('queryBuilder.not-contains')
|
|
9476
9478
|
},
|
|
9479
|
+
{
|
|
9480
|
+
value: 'contains-all',
|
|
9481
|
+
text: AXTranslator.get('queryBuilder.contains-all')
|
|
9482
|
+
},
|
|
9477
9483
|
{
|
|
9478
9484
|
value: 'null',
|
|
9479
9485
|
text: AXTranslator.get('queryBuilder.null')
|
|
@@ -10033,7 +10039,6 @@ var AXQueryBuilderService = /** @class */ (function () {
|
|
|
10033
10039
|
return __generator(this, function (_d) {
|
|
10034
10040
|
switch (_d.label) {
|
|
10035
10041
|
case 0:
|
|
10036
|
-
;
|
|
10037
10042
|
if (group.items.length > 0) {
|
|
10038
10043
|
query = ' ( ';
|
|
10039
10044
|
}
|
|
@@ -10091,8 +10096,10 @@ var AXQueryBuilderService = /** @class */ (function () {
|
|
|
10091
10096
|
case 'end-with':
|
|
10092
10097
|
codeOperator = item.operator;
|
|
10093
10098
|
break;
|
|
10099
|
+
default:
|
|
10100
|
+
codeOperator = item.operator;
|
|
10101
|
+
break;
|
|
10094
10102
|
}
|
|
10095
|
-
;
|
|
10096
10103
|
query = query + ' ' + item.caption + ' ' + codeOperator + ' ' + item.text;
|
|
10097
10104
|
_d.label = 6;
|
|
10098
10105
|
case 6:
|
|
@@ -10135,7 +10142,6 @@ var AXQueryBuilderService = /** @class */ (function () {
|
|
|
10135
10142
|
var query = '';
|
|
10136
10143
|
switch (type) {
|
|
10137
10144
|
case 'simple':
|
|
10138
|
-
;
|
|
10139
10145
|
if (group.items.length > 0) {
|
|
10140
10146
|
query = ' ( ';
|
|
10141
10147
|
}
|