@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
|
@@ -3448,7 +3448,7 @@
|
|
|
3448
3448
|
selector: 'ax-menu2',
|
|
3449
3449
|
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 ",
|
|
3450
3450
|
encapsulation: core.ViewEncapsulation.None,
|
|
3451
|
-
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{
|
|
3451
|
+
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}"]
|
|
3452
3452
|
}),
|
|
3453
3453
|
__metadata("design:paramtypes", [overlay.Overlay,
|
|
3454
3454
|
core.ViewContainerRef,
|
|
@@ -5521,7 +5521,8 @@
|
|
|
5521
5521
|
var _this = this;
|
|
5522
5522
|
if (!this.overlayRef) {
|
|
5523
5523
|
var targetEl = document.querySelector('#' + this.uid);
|
|
5524
|
-
var positionStrategy = this.overlay
|
|
5524
|
+
var positionStrategy = this.overlay
|
|
5525
|
+
.position()
|
|
5525
5526
|
.flexibleConnectedTo(targetEl)
|
|
5526
5527
|
.withPositions([
|
|
5527
5528
|
{
|
|
@@ -5711,7 +5712,8 @@
|
|
|
5711
5712
|
this.value = new Date();
|
|
5712
5713
|
};
|
|
5713
5714
|
AXDatePickerComponent.prototype.focus = function () {
|
|
5714
|
-
this.dropdown.focus();
|
|
5715
|
+
// this.dropdown.focus();
|
|
5716
|
+
this.input.focus();
|
|
5715
5717
|
};
|
|
5716
5718
|
AXDatePickerComponent.prototype.convertMaskToDate = function (text) {
|
|
5717
5719
|
if (this.type == 'jalali') {
|
|
@@ -9680,6 +9682,10 @@
|
|
|
9680
9682
|
value: 'not-contains',
|
|
9681
9683
|
text: core$1.AXTranslator.get('queryBuilder.not-contains')
|
|
9682
9684
|
},
|
|
9685
|
+
{
|
|
9686
|
+
value: 'contains-all',
|
|
9687
|
+
text: core$1.AXTranslator.get('queryBuilder.contains-all')
|
|
9688
|
+
},
|
|
9683
9689
|
{
|
|
9684
9690
|
value: 'null',
|
|
9685
9691
|
text: core$1.AXTranslator.get('queryBuilder.null')
|
|
@@ -10239,7 +10245,6 @@
|
|
|
10239
10245
|
return __generator(this, function (_d) {
|
|
10240
10246
|
switch (_d.label) {
|
|
10241
10247
|
case 0:
|
|
10242
|
-
;
|
|
10243
10248
|
if (group.items.length > 0) {
|
|
10244
10249
|
query = ' ( ';
|
|
10245
10250
|
}
|
|
@@ -10297,8 +10302,10 @@
|
|
|
10297
10302
|
case 'end-with':
|
|
10298
10303
|
codeOperator = item.operator;
|
|
10299
10304
|
break;
|
|
10305
|
+
default:
|
|
10306
|
+
codeOperator = item.operator;
|
|
10307
|
+
break;
|
|
10300
10308
|
}
|
|
10301
|
-
;
|
|
10302
10309
|
query = query + ' ' + item.caption + ' ' + codeOperator + ' ' + item.text;
|
|
10303
10310
|
_d.label = 6;
|
|
10304
10311
|
case 6:
|
|
@@ -10341,7 +10348,6 @@
|
|
|
10341
10348
|
var query = '';
|
|
10342
10349
|
switch (type) {
|
|
10343
10350
|
case 'simple':
|
|
10344
|
-
;
|
|
10345
10351
|
if (group.items.length > 0) {
|
|
10346
10352
|
query = ' ( ';
|
|
10347
10353
|
}
|