igniteui-webcomponents-inputs 1.4.0 → 1.4.1
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/igniteui-webcomponents-inputs.umd.js +161 -161
- package/bundles/igniteui-webcomponents-inputs.umd.js.map +1 -1
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/bundles/igniteui-webcomponents-inputs.umd.min.js.map +1 -1
- package/esm2015/lib/CalendarView_combined.js +12 -12
- package/esm2015/lib/CalendarView_combined.js.map +1 -1
- package/esm2015/lib/DatePickerView_combined.js +2 -2
- package/esm2015/lib/DatePickerView_combined.js.map +1 -1
- package/esm2015/lib/{Calendar.js → XCalendar.js} +2 -2
- package/esm2015/lib/XCalendar.js.map +1 -0
- package/esm2015/lib/igc-date-picker-module.js +2 -2
- package/esm2015/lib/igc-date-picker-module.js.map +1 -1
- package/esm2015/lib/{igc-calendar-component.js → igc-x-calendar-component.js} +19 -19
- package/esm2015/lib/igc-x-calendar-component.js.map +1 -0
- package/esm2015/lib/{igc-calendar-module.js → igc-x-calendar-module.js} +8 -8
- package/esm2015/lib/igc-x-calendar-module.js.map +1 -0
- package/esm2015/public_api.js +3 -3
- package/esm2015/public_api.js.map +1 -1
- package/esm5/lib/CalendarView_combined.js +88 -88
- package/esm5/lib/CalendarView_combined.js.map +1 -1
- package/esm5/lib/DatePickerView_combined.js +2 -2
- package/esm5/lib/DatePickerView_combined.js.map +1 -1
- package/esm5/lib/{Calendar.js → XCalendar.js} +2 -2
- package/esm5/lib/XCalendar.js.map +1 -0
- package/esm5/lib/igc-date-picker-module.js +2 -2
- package/esm5/lib/igc-date-picker-module.js.map +1 -1
- package/esm5/lib/{igc-calendar-component.js → igc-x-calendar-component.js} +64 -64
- package/esm5/lib/igc-x-calendar-component.js.map +1 -0
- package/esm5/lib/{igc-calendar-module.js → igc-x-calendar-module.js} +12 -12
- package/esm5/lib/igc-x-calendar-module.js.map +1 -0
- package/esm5/public_api.js +3 -3
- package/esm5/public_api.js.map +1 -1
- package/fesm2015/igniteui-webcomponents-inputs.js +37 -37
- package/fesm2015/igniteui-webcomponents-inputs.js.map +1 -1
- package/fesm5/igniteui-webcomponents-inputs.js +159 -159
- package/fesm5/igniteui-webcomponents-inputs.js.map +1 -1
- package/lib/CalendarView_combined.d.ts +2 -2
- package/lib/DatePickerView_combined.d.ts +2 -2
- package/lib/XCalendar.d.ts +1 -0
- package/lib/{igc-calendar-component.d.ts → igc-x-calendar-component.d.ts} +7 -7
- package/lib/igc-x-calendar-module.d.ts +3 -0
- package/package.json +2 -2
- package/public_api.d.ts +3 -3
- package/esm2015/lib/Calendar.js.map +0 -1
- package/esm2015/lib/igc-calendar-component.js.map +0 -1
- package/esm2015/lib/igc-calendar-module.js.map +0 -1
- package/esm5/lib/Calendar.js.map +0 -1
- package/esm5/lib/igc-calendar-component.js.map +0 -1
- package/esm5/lib/igc-calendar-module.js.map +0 -1
- package/lib/Calendar.d.ts +0 -1
- package/lib/igc-calendar-module.d.ts +0 -3
|
@@ -10572,9 +10572,9 @@
|
|
|
10572
10572
|
/**
|
|
10573
10573
|
* @hidden
|
|
10574
10574
|
*/
|
|
10575
|
-
var
|
|
10576
|
-
tslib_1.__extends(
|
|
10577
|
-
function
|
|
10575
|
+
var XCalendar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
10576
|
+
tslib_1.__extends(XCalendar, _super);
|
|
10577
|
+
function XCalendar() {
|
|
10578
10578
|
var _this = _super.call(this) || this;
|
|
10579
10579
|
_this.l = null;
|
|
10580
10580
|
_this.aq = igniteuiWebcomponentsCore.dateNow();
|
|
@@ -10623,12 +10623,12 @@
|
|
|
10623
10623
|
_this.l.an();
|
|
10624
10624
|
return _this;
|
|
10625
10625
|
}
|
|
10626
|
-
|
|
10626
|
+
XCalendar.prototype.cs = function () {
|
|
10627
10627
|
if (this.close != null) {
|
|
10628
10628
|
this.close(this);
|
|
10629
10629
|
}
|
|
10630
10630
|
};
|
|
10631
|
-
|
|
10631
|
+
XCalendar.prototype.cu = function (a) {
|
|
10632
10632
|
var b = this.as;
|
|
10633
10633
|
this.as = a;
|
|
10634
10634
|
if (this.valueChanged != null) {
|
|
@@ -10644,24 +10644,24 @@
|
|
|
10644
10644
|
}
|
|
10645
10645
|
this.cx();
|
|
10646
10646
|
};
|
|
10647
|
-
|
|
10647
|
+
XCalendar.prototype.co = function (a, b, c) {
|
|
10648
10648
|
var d = igniteuiWebcomponentsCore.dateFromValues(parseInt(c), parseInt(b), parseInt(a), 0, 0, 0, 0);
|
|
10649
10649
|
this.cu(d);
|
|
10650
10650
|
};
|
|
10651
|
-
|
|
10651
|
+
XCalendar.prototype.notifySizeChanged = function () {
|
|
10652
10652
|
this.l.al();
|
|
10653
10653
|
};
|
|
10654
|
-
|
|
10654
|
+
XCalendar.prototype.destroy = function () {
|
|
10655
10655
|
if (this.k != null) {
|
|
10656
10656
|
var a = this.k;
|
|
10657
10657
|
a.clicked = igniteuiWebcomponentsCore.delegateRemove(a.clicked, igniteuiWebcomponentsCore.runOn(this, this.c2));
|
|
10658
10658
|
}
|
|
10659
10659
|
this.provideContainer(null);
|
|
10660
10660
|
};
|
|
10661
|
-
|
|
10661
|
+
XCalendar.prototype.provideContainer = function (a) {
|
|
10662
10662
|
this.l.am(a);
|
|
10663
10663
|
};
|
|
10664
|
-
Object.defineProperty(
|
|
10664
|
+
Object.defineProperty(XCalendar.prototype, "x", {
|
|
10665
10665
|
get: function () {
|
|
10666
10666
|
if (this.w == null) {
|
|
10667
10667
|
this.w = new igniteuiWebcomponentsCore.SRProvider(this.l.m);
|
|
@@ -10672,7 +10672,7 @@
|
|
|
10672
10672
|
enumerable: true,
|
|
10673
10673
|
configurable: true
|
|
10674
10674
|
});
|
|
10675
|
-
Object.defineProperty(
|
|
10675
|
+
Object.defineProperty(XCalendar.prototype, "aw", {
|
|
10676
10676
|
get: function () {
|
|
10677
10677
|
return this.as;
|
|
10678
10678
|
},
|
|
@@ -10687,7 +10687,7 @@
|
|
|
10687
10687
|
enumerable: true,
|
|
10688
10688
|
configurable: true
|
|
10689
10689
|
});
|
|
10690
|
-
Object.defineProperty(
|
|
10690
|
+
Object.defineProperty(XCalendar.prototype, "av", {
|
|
10691
10691
|
get: function () {
|
|
10692
10692
|
return this.ar;
|
|
10693
10693
|
},
|
|
@@ -10701,7 +10701,7 @@
|
|
|
10701
10701
|
enumerable: true,
|
|
10702
10702
|
configurable: true
|
|
10703
10703
|
});
|
|
10704
|
-
Object.defineProperty(
|
|
10704
|
+
Object.defineProperty(XCalendar.prototype, "au", {
|
|
10705
10705
|
get: function () {
|
|
10706
10706
|
return this.ao;
|
|
10707
10707
|
},
|
|
@@ -10715,7 +10715,7 @@
|
|
|
10715
10715
|
enumerable: true,
|
|
10716
10716
|
configurable: true
|
|
10717
10717
|
});
|
|
10718
|
-
Object.defineProperty(
|
|
10718
|
+
Object.defineProperty(XCalendar.prototype, "at", {
|
|
10719
10719
|
get: function () {
|
|
10720
10720
|
return this.an;
|
|
10721
10721
|
},
|
|
@@ -10729,7 +10729,7 @@
|
|
|
10729
10729
|
enumerable: true,
|
|
10730
10730
|
configurable: true
|
|
10731
10731
|
});
|
|
10732
|
-
Object.defineProperty(
|
|
10732
|
+
Object.defineProperty(XCalendar.prototype, "i", {
|
|
10733
10733
|
get: function () {
|
|
10734
10734
|
return this.h;
|
|
10735
10735
|
},
|
|
@@ -10743,7 +10743,7 @@
|
|
|
10743
10743
|
enumerable: true,
|
|
10744
10744
|
configurable: true
|
|
10745
10745
|
});
|
|
10746
|
-
Object.defineProperty(
|
|
10746
|
+
Object.defineProperty(XCalendar.prototype, "g", {
|
|
10747
10747
|
get: function () {
|
|
10748
10748
|
return this.f;
|
|
10749
10749
|
},
|
|
@@ -10757,7 +10757,7 @@
|
|
|
10757
10757
|
enumerable: true,
|
|
10758
10758
|
configurable: true
|
|
10759
10759
|
});
|
|
10760
|
-
Object.defineProperty(
|
|
10760
|
+
Object.defineProperty(XCalendar.prototype, "df", {
|
|
10761
10761
|
get: function () {
|
|
10762
10762
|
return this.c5;
|
|
10763
10763
|
},
|
|
@@ -10771,7 +10771,7 @@
|
|
|
10771
10771
|
enumerable: true,
|
|
10772
10772
|
configurable: true
|
|
10773
10773
|
});
|
|
10774
|
-
Object.defineProperty(
|
|
10774
|
+
Object.defineProperty(XCalendar.prototype, "dl", {
|
|
10775
10775
|
get: function () {
|
|
10776
10776
|
return this.db;
|
|
10777
10777
|
},
|
|
@@ -10785,7 +10785,7 @@
|
|
|
10785
10785
|
enumerable: true,
|
|
10786
10786
|
configurable: true
|
|
10787
10787
|
});
|
|
10788
|
-
Object.defineProperty(
|
|
10788
|
+
Object.defineProperty(XCalendar.prototype, "dn", {
|
|
10789
10789
|
get: function () {
|
|
10790
10790
|
return this.dd;
|
|
10791
10791
|
},
|
|
@@ -10799,7 +10799,7 @@
|
|
|
10799
10799
|
enumerable: true,
|
|
10800
10800
|
configurable: true
|
|
10801
10801
|
});
|
|
10802
|
-
Object.defineProperty(
|
|
10802
|
+
Object.defineProperty(XCalendar.prototype, "di", {
|
|
10803
10803
|
get: function () {
|
|
10804
10804
|
return this.c8;
|
|
10805
10805
|
},
|
|
@@ -10813,7 +10813,7 @@
|
|
|
10813
10813
|
enumerable: true,
|
|
10814
10814
|
configurable: true
|
|
10815
10815
|
});
|
|
10816
|
-
Object.defineProperty(
|
|
10816
|
+
Object.defineProperty(XCalendar.prototype, "dk", {
|
|
10817
10817
|
get: function () {
|
|
10818
10818
|
return this.da;
|
|
10819
10819
|
},
|
|
@@ -10827,7 +10827,7 @@
|
|
|
10827
10827
|
enumerable: true,
|
|
10828
10828
|
configurable: true
|
|
10829
10829
|
});
|
|
10830
|
-
Object.defineProperty(
|
|
10830
|
+
Object.defineProperty(XCalendar.prototype, "dp", {
|
|
10831
10831
|
get: function () {
|
|
10832
10832
|
return this.de;
|
|
10833
10833
|
},
|
|
@@ -10841,7 +10841,7 @@
|
|
|
10841
10841
|
enumerable: true,
|
|
10842
10842
|
configurable: true
|
|
10843
10843
|
});
|
|
10844
|
-
Object.defineProperty(
|
|
10844
|
+
Object.defineProperty(XCalendar.prototype, "dm", {
|
|
10845
10845
|
get: function () {
|
|
10846
10846
|
return this.dc;
|
|
10847
10847
|
},
|
|
@@ -10855,7 +10855,7 @@
|
|
|
10855
10855
|
enumerable: true,
|
|
10856
10856
|
configurable: true
|
|
10857
10857
|
});
|
|
10858
|
-
Object.defineProperty(
|
|
10858
|
+
Object.defineProperty(XCalendar.prototype, "dj", {
|
|
10859
10859
|
get: function () {
|
|
10860
10860
|
return this.c9;
|
|
10861
10861
|
},
|
|
@@ -10869,7 +10869,7 @@
|
|
|
10869
10869
|
enumerable: true,
|
|
10870
10870
|
configurable: true
|
|
10871
10871
|
});
|
|
10872
|
-
Object.defineProperty(
|
|
10872
|
+
Object.defineProperty(XCalendar.prototype, "dh", {
|
|
10873
10873
|
get: function () {
|
|
10874
10874
|
return this.c7;
|
|
10875
10875
|
},
|
|
@@ -10883,7 +10883,7 @@
|
|
|
10883
10883
|
enumerable: true,
|
|
10884
10884
|
configurable: true
|
|
10885
10885
|
});
|
|
10886
|
-
Object.defineProperty(
|
|
10886
|
+
Object.defineProperty(XCalendar.prototype, "dg", {
|
|
10887
10887
|
get: function () {
|
|
10888
10888
|
return this.c6;
|
|
10889
10889
|
},
|
|
@@ -10897,7 +10897,7 @@
|
|
|
10897
10897
|
enumerable: true,
|
|
10898
10898
|
configurable: true
|
|
10899
10899
|
});
|
|
10900
|
-
Object.defineProperty(
|
|
10900
|
+
Object.defineProperty(XCalendar.prototype, "ae", {
|
|
10901
10901
|
get: function () {
|
|
10902
10902
|
return this.y;
|
|
10903
10903
|
},
|
|
@@ -10911,7 +10911,7 @@
|
|
|
10911
10911
|
enumerable: true,
|
|
10912
10912
|
configurable: true
|
|
10913
10913
|
});
|
|
10914
|
-
Object.defineProperty(
|
|
10914
|
+
Object.defineProperty(XCalendar.prototype, "v", {
|
|
10915
10915
|
get: function () {
|
|
10916
10916
|
return this.u;
|
|
10917
10917
|
},
|
|
@@ -10925,7 +10925,7 @@
|
|
|
10925
10925
|
enumerable: true,
|
|
10926
10926
|
configurable: true
|
|
10927
10927
|
});
|
|
10928
|
-
Object.defineProperty(
|
|
10928
|
+
Object.defineProperty(XCalendar.prototype, "p", {
|
|
10929
10929
|
get: function () {
|
|
10930
10930
|
return this.o;
|
|
10931
10931
|
},
|
|
@@ -10939,7 +10939,7 @@
|
|
|
10939
10939
|
enumerable: true,
|
|
10940
10940
|
configurable: true
|
|
10941
10941
|
});
|
|
10942
|
-
Object.defineProperty(
|
|
10942
|
+
Object.defineProperty(XCalendar.prototype, "s", {
|
|
10943
10943
|
get: function () {
|
|
10944
10944
|
return this.r;
|
|
10945
10945
|
},
|
|
@@ -10953,7 +10953,7 @@
|
|
|
10953
10953
|
enumerable: true,
|
|
10954
10954
|
configurable: true
|
|
10955
10955
|
});
|
|
10956
|
-
Object.defineProperty(
|
|
10956
|
+
Object.defineProperty(XCalendar.prototype, "af", {
|
|
10957
10957
|
get: function () {
|
|
10958
10958
|
return this.z;
|
|
10959
10959
|
},
|
|
@@ -10967,13 +10967,13 @@
|
|
|
10967
10967
|
enumerable: true,
|
|
10968
10968
|
configurable: true
|
|
10969
10969
|
});
|
|
10970
|
-
|
|
10970
|
+
XCalendar.prototype.ct = function (a, b, c) {
|
|
10971
10971
|
if (this.propertyChanged != null) {
|
|
10972
10972
|
this.propertyChanged(this, new igniteuiWebcomponentsCore.PropertyChangedEventArgs(a));
|
|
10973
10973
|
}
|
|
10974
10974
|
this.cv(a, b, c);
|
|
10975
10975
|
};
|
|
10976
|
-
|
|
10976
|
+
XCalendar.prototype.cv = function (a, b, c) {
|
|
10977
10977
|
switch (a) {
|
|
10978
10978
|
case "Density":
|
|
10979
10979
|
this.c0();
|
|
@@ -11051,7 +11051,7 @@
|
|
|
11051
11051
|
break;
|
|
11052
11052
|
}
|
|
11053
11053
|
};
|
|
11054
|
-
|
|
11054
|
+
XCalendar.prototype.c3 = function () {
|
|
11055
11055
|
for (var a = 0; a < this.aj.count; a++) {
|
|
11056
11056
|
if (this.dp != null) {
|
|
11057
11057
|
this.aj._inner[a].s5 = this.dp;
|
|
@@ -11121,7 +11121,7 @@
|
|
|
11121
11121
|
}
|
|
11122
11122
|
}
|
|
11123
11123
|
};
|
|
11124
|
-
|
|
11124
|
+
XCalendar.prototype.c4 = function () {
|
|
11125
11125
|
for (var a = 0; a < this.aj.count; a++) {
|
|
11126
11126
|
if (this.u != null) {
|
|
11127
11127
|
this.aj._inner[a].v = this.u;
|
|
@@ -11143,29 +11143,29 @@
|
|
|
11143
11143
|
}
|
|
11144
11144
|
}
|
|
11145
11145
|
};
|
|
11146
|
-
|
|
11146
|
+
XCalendar.prototype.cq = function () {
|
|
11147
11147
|
this.l.au();
|
|
11148
11148
|
this.l.ag();
|
|
11149
11149
|
};
|
|
11150
|
-
|
|
11150
|
+
XCalendar.prototype.c1 = function () {
|
|
11151
11151
|
};
|
|
11152
|
-
|
|
11152
|
+
XCalendar.prototype.c0 = function () {
|
|
11153
11153
|
};
|
|
11154
|
-
|
|
11154
|
+
XCalendar.prototype.ch = function () {
|
|
11155
11155
|
this.aw = igniteuiWebcomponentsCore.dateMinValue();
|
|
11156
11156
|
this.l.at();
|
|
11157
11157
|
};
|
|
11158
|
-
|
|
11158
|
+
XCalendar.prototype.cx = function () {
|
|
11159
11159
|
this.l.a2();
|
|
11160
11160
|
this.cg();
|
|
11161
11161
|
this.l.ay();
|
|
11162
11162
|
this.l.a5();
|
|
11163
11163
|
this.l.at();
|
|
11164
11164
|
};
|
|
11165
|
-
|
|
11165
|
+
XCalendar.prototype.cf = function () {
|
|
11166
11166
|
this.cg();
|
|
11167
11167
|
};
|
|
11168
|
-
|
|
11168
|
+
XCalendar.prototype.ci = function (a, b, c) {
|
|
11169
11169
|
var d = new XButton();
|
|
11170
11170
|
this.l.as(a, d);
|
|
11171
11171
|
d.d = this.g;
|
|
@@ -11191,7 +11191,7 @@
|
|
|
11191
11191
|
this.ah.add(d);
|
|
11192
11192
|
d.ih = "btnDays" + c.toString();
|
|
11193
11193
|
};
|
|
11194
|
-
|
|
11194
|
+
XCalendar.prototype.cm = function (a, b) {
|
|
11195
11195
|
var c = new XButton();
|
|
11196
11196
|
this.l.as(a, c);
|
|
11197
11197
|
c.d = this.g;
|
|
@@ -11218,12 +11218,12 @@
|
|
|
11218
11218
|
var f = this.k;
|
|
11219
11219
|
f.clicked = igniteuiWebcomponentsCore.delegateCombine(f.clicked, igniteuiWebcomponentsCore.runOn(this, this.c2));
|
|
11220
11220
|
};
|
|
11221
|
-
|
|
11221
|
+
XCalendar.prototype.c2 = function (a, b) {
|
|
11222
11222
|
this.aq = this.av;
|
|
11223
11223
|
this.cg();
|
|
11224
11224
|
this.l.aq(true);
|
|
11225
11225
|
};
|
|
11226
|
-
|
|
11226
|
+
XCalendar.prototype.cl = function (a, b) {
|
|
11227
11227
|
var c = new XButton();
|
|
11228
11228
|
this.l.as(a, c);
|
|
11229
11229
|
c.d = this.g;
|
|
@@ -11247,7 +11247,7 @@
|
|
|
11247
11247
|
c.bh = 40;
|
|
11248
11248
|
this.ak.add(c);
|
|
11249
11249
|
};
|
|
11250
|
-
|
|
11250
|
+
XCalendar.prototype.e = function (a, b) {
|
|
11251
11251
|
var c = new Array(2);
|
|
11252
11252
|
c[0] = "";
|
|
11253
11253
|
c[1] = "";
|
|
@@ -11304,7 +11304,7 @@
|
|
|
11304
11304
|
this.ak._inner[b].ih = "btnMonth" + c[1];
|
|
11305
11305
|
return c;
|
|
11306
11306
|
};
|
|
11307
|
-
|
|
11307
|
+
XCalendar.prototype.cn = function (a, b, c) {
|
|
11308
11308
|
var d = new XButton();
|
|
11309
11309
|
this.l.as(a, d);
|
|
11310
11310
|
d.d = this.g;
|
|
@@ -11328,7 +11328,7 @@
|
|
|
11328
11328
|
d.ih = "btnYear" + c.toString();
|
|
11329
11329
|
this.al.add(d);
|
|
11330
11330
|
};
|
|
11331
|
-
|
|
11331
|
+
XCalendar.prototype.cg = function () {
|
|
11332
11332
|
if (+(this.aq) == +(igniteuiWebcomponentsCore.dateMinValue())) {
|
|
11333
11333
|
this.aq = igniteuiWebcomponentsCore.dateNow();
|
|
11334
11334
|
}
|
|
@@ -11350,7 +11350,7 @@
|
|
|
11350
11350
|
a = igniteuiWebcomponentsCore.dateAddDays(a, 1);
|
|
11351
11351
|
}
|
|
11352
11352
|
};
|
|
11353
|
-
|
|
11353
|
+
XCalendar.prototype.ag = function () {
|
|
11354
11354
|
var a = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.Number_$type, 0);
|
|
11355
11355
|
if (this.af == false) {
|
|
11356
11356
|
for (var b = 0; b < 6; b++) {
|
|
@@ -11393,7 +11393,7 @@
|
|
|
11393
11393
|
}
|
|
11394
11394
|
return a;
|
|
11395
11395
|
};
|
|
11396
|
-
|
|
11396
|
+
XCalendar.prototype.a9 = function (a) {
|
|
11397
11397
|
var b = igniteuiWebcomponentsCore.dateAddMonths(igniteuiWebcomponentsCore.dateAddDays(a, -a.getDate() + 1), -igniteuiWebcomponentsCore.dateGetMonth(a) + 1);
|
|
11398
11398
|
var c = igniteuiWebcomponentsCore.dateAddDays(igniteuiWebcomponentsCore.dateAddYears(b, 1), -1);
|
|
11399
11399
|
var d = [6, 7, 8, 9, 10, 4, 5];
|
|
@@ -11411,7 +11411,7 @@
|
|
|
11411
11411
|
default: return g;
|
|
11412
11412
|
}
|
|
11413
11413
|
};
|
|
11414
|
-
|
|
11414
|
+
XCalendar.prototype.ba = function (a, b, c) {
|
|
11415
11415
|
if (c < 0 || c > 6) {
|
|
11416
11416
|
return -1;
|
|
11417
11417
|
}
|
|
@@ -11422,14 +11422,14 @@
|
|
|
11422
11422
|
}
|
|
11423
11423
|
return -1;
|
|
11424
11424
|
};
|
|
11425
|
-
|
|
11425
|
+
XCalendar.prototype.a8 = function (a, b) {
|
|
11426
11426
|
var c = this.a7(a) - 1;
|
|
11427
11427
|
var d = a.getDay();
|
|
11428
11428
|
var e = d - (c % 7);
|
|
11429
11429
|
var f = (e - b + 14) % 7;
|
|
11430
11430
|
return (igniteuiWebcomponentsCore.intDivide((c + f), 7) + 1);
|
|
11431
11431
|
};
|
|
11432
|
-
|
|
11432
|
+
XCalendar.prototype.bb = function (a, b, c) {
|
|
11433
11433
|
var d;
|
|
11434
11434
|
var e;
|
|
11435
11435
|
var f;
|
|
@@ -11449,7 +11449,7 @@
|
|
|
11449
11449
|
}
|
|
11450
11450
|
return (this.bb(igniteuiWebcomponentsCore.dateAddDays(a, -(g + 1)), b, c));
|
|
11451
11451
|
};
|
|
11452
|
-
|
|
11452
|
+
XCalendar.prototype.bc = function (a, b) {
|
|
11453
11453
|
var c = this.a7(this.au) - 1;
|
|
11454
11454
|
var d = this.q(this.au) - c % 7;
|
|
11455
11455
|
var e = (a + 7 - d) % 7;
|
|
@@ -11465,13 +11465,13 @@
|
|
|
11465
11465
|
}
|
|
11466
11466
|
return (igniteuiWebcomponentsCore.intDivide(i, 7) + 1);
|
|
11467
11467
|
};
|
|
11468
|
-
|
|
11468
|
+
XCalendar.prototype.a7 = function (a) {
|
|
11469
11469
|
return this.a6(a, 1);
|
|
11470
11470
|
};
|
|
11471
|
-
|
|
11471
|
+
XCalendar.prototype.q = function (a) {
|
|
11472
11472
|
return ((igniteuiWebcomponentsCore.intDivide(a.getTime(), 0xC92A69C000) + 1) % 7);
|
|
11473
11473
|
};
|
|
11474
|
-
|
|
11474
|
+
XCalendar.prototype.a6 = function (a, b) {
|
|
11475
11475
|
var c = this.bd(a.getFullYear(), igniteuiWebcomponentsCore.dateGetMonth(a), a.getDate());
|
|
11476
11476
|
var d = (igniteuiWebcomponentsCore.intDivide(c, 0xC92A69C000));
|
|
11477
11477
|
var e = igniteuiWebcomponentsCore.intDivide(d, 146097);
|
|
@@ -11495,7 +11495,7 @@
|
|
|
11495
11495
|
return d + 1;
|
|
11496
11496
|
}
|
|
11497
11497
|
var i = h == 3 && (g != 24 || f == 3);
|
|
11498
|
-
var j = i ?
|
|
11498
|
+
var j = i ? XCalendar.c : XCalendar.b;
|
|
11499
11499
|
var k = d >> 5 + 1;
|
|
11500
11500
|
while (d >= j[k]) {
|
|
11501
11501
|
k++;
|
|
@@ -11505,9 +11505,9 @@
|
|
|
11505
11505
|
}
|
|
11506
11506
|
return d - j[k - 1] + 1;
|
|
11507
11507
|
};
|
|
11508
|
-
|
|
11508
|
+
XCalendar.prototype.bd = function (a, b, c) {
|
|
11509
11509
|
if (a >= 1 && a <= 9999 && b >= 1 && b <= 12) {
|
|
11510
|
-
var d =
|
|
11510
|
+
var d = XCalendar.ac(a) ? XCalendar.c : XCalendar.b;
|
|
11511
11511
|
if (c >= 1 && c <= d[b] - d[b - 1]) {
|
|
11512
11512
|
var e = a - 1;
|
|
11513
11513
|
var f = e * 365 + igniteuiWebcomponentsCore.intDivide(e, 4) - igniteuiWebcomponentsCore.intDivide(e, 100) + igniteuiWebcomponentsCore.intDivide(e, 400) + d[b - 1] + c - 1;
|
|
@@ -11516,10 +11516,10 @@
|
|
|
11516
11516
|
}
|
|
11517
11517
|
return -1;
|
|
11518
11518
|
};
|
|
11519
|
-
|
|
11519
|
+
XCalendar.ac = function (a) {
|
|
11520
11520
|
return a % 4 == 0 && (a % 100 != 0 || a % 400 == 0);
|
|
11521
11521
|
};
|
|
11522
|
-
|
|
11522
|
+
XCalendar.prototype.ck = function (a, b, c, d) {
|
|
11523
11523
|
var e = new XButton();
|
|
11524
11524
|
this.l.as(a, e);
|
|
11525
11525
|
e.d = this.g;
|
|
@@ -11534,11 +11534,11 @@
|
|
|
11534
11534
|
var g = new XIcon();
|
|
11535
11535
|
this.l.aw(b, g);
|
|
11536
11536
|
if (d == "prev") {
|
|
11537
|
-
g.svgPath =
|
|
11537
|
+
g.svgPath = XCalendar.bk;
|
|
11538
11538
|
e.ih = "btnPrev";
|
|
11539
11539
|
}
|
|
11540
11540
|
else if (d == "next") {
|
|
11541
|
-
g.svgPath =
|
|
11541
|
+
g.svgPath = XCalendar.bl;
|
|
11542
11542
|
e.ih = "btnNext";
|
|
11543
11543
|
}
|
|
11544
11544
|
e.appendButtonContent(c);
|
|
@@ -11551,7 +11551,7 @@
|
|
|
11551
11551
|
e.bg = 28;
|
|
11552
11552
|
this.aj.add(e);
|
|
11553
11553
|
};
|
|
11554
|
-
|
|
11554
|
+
XCalendar.prototype.cj = function (a, b, c) {
|
|
11555
11555
|
var d = new XButton();
|
|
11556
11556
|
this.l.as(a, d);
|
|
11557
11557
|
d.d = this.g;
|
|
@@ -11581,7 +11581,7 @@
|
|
|
11581
11581
|
}
|
|
11582
11582
|
this.aj.add(d);
|
|
11583
11583
|
};
|
|
11584
|
-
|
|
11584
|
+
XCalendar.prototype.a = function () {
|
|
11585
11585
|
var a = new Array(4);
|
|
11586
11586
|
a[0] = false;
|
|
11587
11587
|
a[1] = false;
|
|
@@ -11649,7 +11649,7 @@
|
|
|
11649
11649
|
}
|
|
11650
11650
|
return a;
|
|
11651
11651
|
};
|
|
11652
|
-
|
|
11652
|
+
XCalendar.prototype.bx = function () {
|
|
11653
11653
|
var a = igniteuiWebcomponentsCore.dateGetMonth(this.aq);
|
|
11654
11654
|
var b = "";
|
|
11655
11655
|
switch (a) {
|
|
@@ -11692,11 +11692,11 @@
|
|
|
11692
11692
|
}
|
|
11693
11693
|
return b;
|
|
11694
11694
|
};
|
|
11695
|
-
|
|
11695
|
+
XCalendar.prototype.by = function () {
|
|
11696
11696
|
var a = this.aq.getFullYear().toString();
|
|
11697
11697
|
return a;
|
|
11698
11698
|
};
|
|
11699
|
-
|
|
11699
|
+
XCalendar.prototype.d = function (a) {
|
|
11700
11700
|
var b = new Array(2);
|
|
11701
11701
|
b[0] = "";
|
|
11702
11702
|
b[1] = "";
|
|
@@ -11730,10 +11730,10 @@
|
|
|
11730
11730
|
}
|
|
11731
11731
|
return b;
|
|
11732
11732
|
};
|
|
11733
|
-
|
|
11733
|
+
XCalendar.prototype.n = function (a) {
|
|
11734
11734
|
return this.ai._inner[a];
|
|
11735
11735
|
};
|
|
11736
|
-
|
|
11736
|
+
XCalendar.prototype.ad = function (a) {
|
|
11737
11737
|
var b = this.ai._inner[a];
|
|
11738
11738
|
var c = this.ah._inner[a];
|
|
11739
11739
|
if (+(this.aw) != +(igniteuiWebcomponentsCore.dateMinValue()) && b.b == this.aw.getDate() && b.c == igniteuiWebcomponentsCore.dateGetMonth(this.aw) && b.d == this.aw.getFullYear()) {
|
|
@@ -11848,7 +11848,7 @@
|
|
|
11848
11848
|
}
|
|
11849
11849
|
return c.disabled;
|
|
11850
11850
|
};
|
|
11851
|
-
|
|
11851
|
+
XCalendar.prototype.aa = function (a, b) {
|
|
11852
11852
|
if (this.aq.getFullYear() >= this.au.getFullYear() && this.aq.getFullYear() <= this.at.getFullYear()) {
|
|
11853
11853
|
if (this.aq.getFullYear() == this.au.getFullYear() && this.aq.getFullYear() == this.at.getFullYear()) {
|
|
11854
11854
|
if (b < igniteuiWebcomponentsCore.dateGetMonth(this.au) || b > igniteuiWebcomponentsCore.dateGetMonth(this.at)) {
|
|
@@ -11883,7 +11883,7 @@
|
|
|
11883
11883
|
}
|
|
11884
11884
|
return this.ak._inner[a].disabled;
|
|
11885
11885
|
};
|
|
11886
|
-
|
|
11886
|
+
XCalendar.prototype.ab = function (a, b) {
|
|
11887
11887
|
if (b < this.au.getFullYear() || b > this.at.getFullYear()) {
|
|
11888
11888
|
this.al._inner[a].disabled = true;
|
|
11889
11889
|
}
|
|
@@ -11892,15 +11892,15 @@
|
|
|
11892
11892
|
}
|
|
11893
11893
|
return this.al._inner[a].disabled;
|
|
11894
11894
|
};
|
|
11895
|
-
|
|
11895
|
+
XCalendar.prototype.cc = function (a) {
|
|
11896
11896
|
this.aq = igniteuiWebcomponentsCore.dateAddMonths(this.aq, a);
|
|
11897
11897
|
this.cg();
|
|
11898
11898
|
};
|
|
11899
|
-
|
|
11899
|
+
XCalendar.prototype.cd = function (a) {
|
|
11900
11900
|
this.aq = igniteuiWebcomponentsCore.dateFromValues(this.aq.getFullYear(), a, this.aq.getDate(), 0, 0, 0, 0);
|
|
11901
11901
|
this.cg();
|
|
11902
11902
|
};
|
|
11903
|
-
|
|
11903
|
+
XCalendar.prototype.ce = function (a) {
|
|
11904
11904
|
var b = igniteuiWebcomponentsCore.dateGetMonth(this.aq);
|
|
11905
11905
|
var c = this.aq.getDate();
|
|
11906
11906
|
if (a == this.au.getFullYear() && a == this.at.getFullYear()) {
|
|
@@ -11964,7 +11964,7 @@
|
|
|
11964
11964
|
this.aq = igniteuiWebcomponentsCore.dateFromValues(a, b, c, 0, 0, 0, 0);
|
|
11965
11965
|
this.cg();
|
|
11966
11966
|
};
|
|
11967
|
-
|
|
11967
|
+
XCalendar.prototype.cz = function (a, b) {
|
|
11968
11968
|
if (b < 0) {
|
|
11969
11969
|
a--;
|
|
11970
11970
|
}
|
|
@@ -11973,17 +11973,17 @@
|
|
|
11973
11973
|
}
|
|
11974
11974
|
this.l.a4(a);
|
|
11975
11975
|
};
|
|
11976
|
-
|
|
11976
|
+
XCalendar.prototype.cy = function () {
|
|
11977
11977
|
this.l.aq();
|
|
11978
11978
|
};
|
|
11979
|
-
|
|
11979
|
+
XCalendar.prototype.bj = function () {
|
|
11980
11980
|
return this.j();
|
|
11981
11981
|
};
|
|
11982
|
-
|
|
11982
|
+
XCalendar.prototype.bs = function () {
|
|
11983
11983
|
var a = this.j();
|
|
11984
11984
|
return a.o();
|
|
11985
11985
|
};
|
|
11986
|
-
|
|
11986
|
+
XCalendar.prototype.j = function () {
|
|
11987
11987
|
var a = new CalendarVisualModelExport();
|
|
11988
11988
|
a.i = this.i;
|
|
11989
11989
|
a.h = this.g;
|
|
@@ -12108,12 +12108,12 @@
|
|
|
12108
12108
|
}
|
|
12109
12109
|
return a;
|
|
12110
12110
|
};
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
return
|
|
12111
|
+
XCalendar.$t = igniteuiWebcomponentsCore.markType(XCalendar, 'XCalendar', igniteuiWebcomponentsCore.Base.$, [igniteuiWebcomponentsCore.INotifyPropertyChanged_$type]);
|
|
12112
|
+
XCalendar.bk = "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z";
|
|
12113
|
+
XCalendar.bl = "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z";
|
|
12114
|
+
XCalendar.b = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365];
|
|
12115
|
+
XCalendar.c = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366];
|
|
12116
|
+
return XCalendar;
|
|
12117
12117
|
}(igniteuiWebcomponentsCore.Base));
|
|
12118
12118
|
|
|
12119
12119
|
/*
|
|
@@ -12172,9 +12172,9 @@
|
|
|
12172
12172
|
return IgcValueChangedEventArgs;
|
|
12173
12173
|
}());
|
|
12174
12174
|
|
|
12175
|
-
var
|
|
12176
|
-
tslib_1.__extends(
|
|
12177
|
-
function
|
|
12175
|
+
var IgcXCalendarComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
12176
|
+
tslib_1.__extends(IgcXCalendarComponent, _super);
|
|
12177
|
+
function IgcXCalendarComponent() {
|
|
12178
12178
|
var _this = _super.call(this) || this;
|
|
12179
12179
|
_this._disconnected = false;
|
|
12180
12180
|
_this._settingAttributes = false;
|
|
@@ -12205,7 +12205,7 @@
|
|
|
12205
12205
|
});
|
|
12206
12206
|
return _this;
|
|
12207
12207
|
}
|
|
12208
|
-
Object.defineProperty(
|
|
12208
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "height", {
|
|
12209
12209
|
get: function () {
|
|
12210
12210
|
return this._height;
|
|
12211
12211
|
},
|
|
@@ -12217,7 +12217,7 @@
|
|
|
12217
12217
|
enumerable: true,
|
|
12218
12218
|
configurable: true
|
|
12219
12219
|
});
|
|
12220
|
-
Object.defineProperty(
|
|
12220
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "width", {
|
|
12221
12221
|
get: function () {
|
|
12222
12222
|
return this._width;
|
|
12223
12223
|
},
|
|
@@ -12230,25 +12230,25 @@
|
|
|
12230
12230
|
configurable: true
|
|
12231
12231
|
});
|
|
12232
12232
|
// supports angular themes or custom properties set in CSS
|
|
12233
|
-
|
|
12233
|
+
IgcXCalendarComponent.prototype.updateStyle = function () {
|
|
12234
12234
|
this._styling(this, this);
|
|
12235
12235
|
};
|
|
12236
|
-
|
|
12236
|
+
IgcXCalendarComponent.prototype.destroy = function () {
|
|
12237
12237
|
this._calendar.destroy();
|
|
12238
12238
|
};
|
|
12239
|
-
|
|
12240
|
-
return new
|
|
12239
|
+
IgcXCalendarComponent.prototype.createImplementation = function () {
|
|
12240
|
+
return new XCalendar();
|
|
12241
12241
|
};
|
|
12242
|
-
|
|
12242
|
+
IgcXCalendarComponent.prototype.disconnectedCallback = function () {
|
|
12243
12243
|
this._disconnected = true;
|
|
12244
12244
|
};
|
|
12245
|
-
|
|
12245
|
+
IgcXCalendarComponent.prototype.connectedCallback = function () {
|
|
12246
12246
|
if (this._disconnected) {
|
|
12247
12247
|
this._disconnected = false;
|
|
12248
12248
|
return;
|
|
12249
12249
|
}
|
|
12250
|
-
this.classList.add("ig-calendar");
|
|
12251
|
-
this.classList.add("igc-calendar");
|
|
12250
|
+
this.classList.add("ig-x-calendar");
|
|
12251
|
+
this.classList.add("igc-x-calendar");
|
|
12252
12252
|
var rootWrapper = this._renderer.rootWrapper;
|
|
12253
12253
|
var rootElement = rootWrapper.getNativeElement();
|
|
12254
12254
|
this.appendChild(rootElement);
|
|
@@ -12263,10 +12263,10 @@
|
|
|
12263
12263
|
this._styling(this, this);
|
|
12264
12264
|
this.afterContentInit();
|
|
12265
12265
|
};
|
|
12266
|
-
|
|
12266
|
+
IgcXCalendarComponent.prototype.afterContentInit = function () {
|
|
12267
12267
|
this.i.notifySizeChanged();
|
|
12268
12268
|
};
|
|
12269
|
-
Object.defineProperty(
|
|
12269
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "i", {
|
|
12270
12270
|
/**
|
|
12271
12271
|
* @hidden
|
|
12272
12272
|
*/
|
|
@@ -12278,7 +12278,7 @@
|
|
|
12278
12278
|
enumerable: true,
|
|
12279
12279
|
configurable: true
|
|
12280
12280
|
});
|
|
12281
|
-
|
|
12281
|
+
IgcXCalendarComponent._createFromInternal = function (internal) {
|
|
12282
12282
|
if (!internal) {
|
|
12283
12283
|
return null;
|
|
12284
12284
|
}
|
|
@@ -12292,10 +12292,10 @@
|
|
|
12292
12292
|
}
|
|
12293
12293
|
return igniteuiWebcomponentsCore.TypeRegistrar.create(externalName);
|
|
12294
12294
|
};
|
|
12295
|
-
|
|
12295
|
+
IgcXCalendarComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
12296
12296
|
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
12297
12297
|
};
|
|
12298
|
-
|
|
12298
|
+
IgcXCalendarComponent.prototype._flushQueuedAttributes = function () {
|
|
12299
12299
|
this._settingAttributes = true;
|
|
12300
12300
|
for (var i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
12301
12301
|
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
@@ -12303,7 +12303,7 @@
|
|
|
12303
12303
|
this._settingAttributes = false;
|
|
12304
12304
|
this._queuedSetAttributes.length = 0;
|
|
12305
12305
|
};
|
|
12306
|
-
|
|
12306
|
+
IgcXCalendarComponent.prototype._a = function (attrName, attrValue) {
|
|
12307
12307
|
if (this._updatingFromAttribute) {
|
|
12308
12308
|
return;
|
|
12309
12309
|
}
|
|
@@ -12320,21 +12320,21 @@
|
|
|
12320
12320
|
}
|
|
12321
12321
|
this._settingAttributes = false;
|
|
12322
12322
|
};
|
|
12323
|
-
Object.defineProperty(
|
|
12323
|
+
Object.defineProperty(IgcXCalendarComponent, "observedAttributes", {
|
|
12324
12324
|
get: function () {
|
|
12325
|
-
if (
|
|
12326
|
-
var names = igniteuiWebcomponentsCore.getAllPropertyNames(
|
|
12325
|
+
if (IgcXCalendarComponent._observedAttributesIgcXCalendarComponent == null) {
|
|
12326
|
+
var names = igniteuiWebcomponentsCore.getAllPropertyNames(IgcXCalendarComponent);
|
|
12327
12327
|
for (var i = 0; i < names.length; i++) {
|
|
12328
12328
|
names[i] = igniteuiWebcomponentsCore.toSpinal(names[i]);
|
|
12329
12329
|
}
|
|
12330
|
-
|
|
12330
|
+
IgcXCalendarComponent._observedAttributesIgcXCalendarComponent = names;
|
|
12331
12331
|
}
|
|
12332
|
-
return
|
|
12332
|
+
return IgcXCalendarComponent._observedAttributesIgcXCalendarComponent;
|
|
12333
12333
|
},
|
|
12334
12334
|
enumerable: true,
|
|
12335
12335
|
configurable: true
|
|
12336
12336
|
});
|
|
12337
|
-
|
|
12337
|
+
IgcXCalendarComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
|
|
12338
12338
|
if (this._settingAttributes) {
|
|
12339
12339
|
return;
|
|
12340
12340
|
}
|
|
@@ -12343,13 +12343,13 @@
|
|
|
12343
12343
|
this[setName] = newValue;
|
|
12344
12344
|
this._updatingFromAttribute = false;
|
|
12345
12345
|
};
|
|
12346
|
-
|
|
12347
|
-
if (!
|
|
12348
|
-
|
|
12349
|
-
igniteuiWebcomponentsCore.RegisterElementHelper.registerElement(
|
|
12346
|
+
IgcXCalendarComponent.register = function () {
|
|
12347
|
+
if (!IgcXCalendarComponent._isElementRegistered) {
|
|
12348
|
+
IgcXCalendarComponent._isElementRegistered = true;
|
|
12349
|
+
igniteuiWebcomponentsCore.RegisterElementHelper.registerElement(IgcXCalendarComponent.htmlTagName, IgcXCalendarComponent);
|
|
12350
12350
|
}
|
|
12351
12351
|
};
|
|
12352
|
-
Object.defineProperty(
|
|
12352
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "value", {
|
|
12353
12353
|
/**
|
|
12354
12354
|
* Gets or Sets the value for the calendar.
|
|
12355
12355
|
*/
|
|
@@ -12362,7 +12362,7 @@
|
|
|
12362
12362
|
enumerable: true,
|
|
12363
12363
|
configurable: true
|
|
12364
12364
|
});
|
|
12365
|
-
Object.defineProperty(
|
|
12365
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "today", {
|
|
12366
12366
|
/**
|
|
12367
12367
|
* Gets or Sets the property name that contains the values.
|
|
12368
12368
|
*/
|
|
@@ -12375,7 +12375,7 @@
|
|
|
12375
12375
|
enumerable: true,
|
|
12376
12376
|
configurable: true
|
|
12377
12377
|
});
|
|
12378
|
-
Object.defineProperty(
|
|
12378
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "minDate", {
|
|
12379
12379
|
/**
|
|
12380
12380
|
* Gets or Sets the property name that contains the MinDate.
|
|
12381
12381
|
*/
|
|
@@ -12388,7 +12388,7 @@
|
|
|
12388
12388
|
enumerable: true,
|
|
12389
12389
|
configurable: true
|
|
12390
12390
|
});
|
|
12391
|
-
Object.defineProperty(
|
|
12391
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "maxDate", {
|
|
12392
12392
|
/**
|
|
12393
12393
|
* Gets or Sets the property name that contains the MaxDate.
|
|
12394
12394
|
*/
|
|
@@ -12401,7 +12401,7 @@
|
|
|
12401
12401
|
enumerable: true,
|
|
12402
12402
|
configurable: true
|
|
12403
12403
|
});
|
|
12404
|
-
Object.defineProperty(
|
|
12404
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "density", {
|
|
12405
12405
|
/**
|
|
12406
12406
|
* Gets or sets the display density to use for the calendar.
|
|
12407
12407
|
*/
|
|
@@ -12415,7 +12415,7 @@
|
|
|
12415
12415
|
enumerable: true,
|
|
12416
12416
|
configurable: true
|
|
12417
12417
|
});
|
|
12418
|
-
Object.defineProperty(
|
|
12418
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "baseTheme", {
|
|
12419
12419
|
/**
|
|
12420
12420
|
* Gets or sets the base built in theme to use for the calendar.
|
|
12421
12421
|
*/
|
|
@@ -12429,7 +12429,7 @@
|
|
|
12429
12429
|
enumerable: true,
|
|
12430
12430
|
configurable: true
|
|
12431
12431
|
});
|
|
12432
|
-
Object.defineProperty(
|
|
12432
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "backgroundColor", {
|
|
12433
12433
|
/**
|
|
12434
12434
|
* Gets or Sets the selected date background color
|
|
12435
12435
|
*/
|
|
@@ -12443,7 +12443,7 @@
|
|
|
12443
12443
|
enumerable: true,
|
|
12444
12444
|
configurable: true
|
|
12445
12445
|
});
|
|
12446
|
-
Object.defineProperty(
|
|
12446
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "selectedDateBackgroundColor", {
|
|
12447
12447
|
/**
|
|
12448
12448
|
* Gets or Sets the selected date background color
|
|
12449
12449
|
*/
|
|
@@ -12457,7 +12457,7 @@
|
|
|
12457
12457
|
enumerable: true,
|
|
12458
12458
|
configurable: true
|
|
12459
12459
|
});
|
|
12460
|
-
Object.defineProperty(
|
|
12460
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "selectedFocusDateBackgroundColor", {
|
|
12461
12461
|
/**
|
|
12462
12462
|
* Gets or Sets the selected date background color
|
|
12463
12463
|
*/
|
|
@@ -12471,7 +12471,7 @@
|
|
|
12471
12471
|
enumerable: true,
|
|
12472
12472
|
configurable: true
|
|
12473
12473
|
});
|
|
12474
|
-
Object.defineProperty(
|
|
12474
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "focusDateBackgroundColor", {
|
|
12475
12475
|
/**
|
|
12476
12476
|
* Gets or Sets the focus date background color
|
|
12477
12477
|
*/
|
|
@@ -12485,7 +12485,7 @@
|
|
|
12485
12485
|
enumerable: true,
|
|
12486
12486
|
configurable: true
|
|
12487
12487
|
});
|
|
12488
|
-
Object.defineProperty(
|
|
12488
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "hoverBackgroundColor", {
|
|
12489
12489
|
/**
|
|
12490
12490
|
* Gets or Sets the focus date background color
|
|
12491
12491
|
*/
|
|
@@ -12499,7 +12499,7 @@
|
|
|
12499
12499
|
enumerable: true,
|
|
12500
12500
|
configurable: true
|
|
12501
12501
|
});
|
|
12502
|
-
Object.defineProperty(
|
|
12502
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "textColor", {
|
|
12503
12503
|
/**
|
|
12504
12504
|
* Gets or Sets the selected date text color
|
|
12505
12505
|
*/
|
|
@@ -12513,7 +12513,7 @@
|
|
|
12513
12513
|
enumerable: true,
|
|
12514
12514
|
configurable: true
|
|
12515
12515
|
});
|
|
12516
|
-
Object.defineProperty(
|
|
12516
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "selectedDateTextColor", {
|
|
12517
12517
|
/**
|
|
12518
12518
|
* Gets or Sets the selected date text color
|
|
12519
12519
|
*/
|
|
@@ -12527,7 +12527,7 @@
|
|
|
12527
12527
|
enumerable: true,
|
|
12528
12528
|
configurable: true
|
|
12529
12529
|
});
|
|
12530
|
-
Object.defineProperty(
|
|
12530
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "focusDateTextColor", {
|
|
12531
12531
|
/**
|
|
12532
12532
|
* Gets or Sets the focus date text color
|
|
12533
12533
|
*/
|
|
@@ -12541,7 +12541,7 @@
|
|
|
12541
12541
|
enumerable: true,
|
|
12542
12542
|
configurable: true
|
|
12543
12543
|
});
|
|
12544
|
-
Object.defineProperty(
|
|
12544
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "currentDateTextColor", {
|
|
12545
12545
|
/**
|
|
12546
12546
|
* Gets or Sets the current date text color
|
|
12547
12547
|
*/
|
|
@@ -12555,7 +12555,7 @@
|
|
|
12555
12555
|
enumerable: true,
|
|
12556
12556
|
configurable: true
|
|
12557
12557
|
});
|
|
12558
|
-
Object.defineProperty(
|
|
12558
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "currentDateBorderColor", {
|
|
12559
12559
|
/**
|
|
12560
12560
|
* Gets or Sets the current date text color
|
|
12561
12561
|
*/
|
|
@@ -12569,7 +12569,7 @@
|
|
|
12569
12569
|
enumerable: true,
|
|
12570
12570
|
configurable: true
|
|
12571
12571
|
});
|
|
12572
|
-
Object.defineProperty(
|
|
12572
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "showTodayButton", {
|
|
12573
12573
|
/**
|
|
12574
12574
|
* Gets or sets the ShowTodayButton property to detirmine if the today button is shown
|
|
12575
12575
|
*/
|
|
@@ -12583,7 +12583,7 @@
|
|
|
12583
12583
|
enumerable: true,
|
|
12584
12584
|
configurable: true
|
|
12585
12585
|
});
|
|
12586
|
-
Object.defineProperty(
|
|
12586
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "textStyle", {
|
|
12587
12587
|
/**
|
|
12588
12588
|
* Gets or sets the font to use for the combobox.
|
|
12589
12589
|
*/
|
|
@@ -12602,7 +12602,7 @@
|
|
|
12602
12602
|
enumerable: true,
|
|
12603
12603
|
configurable: true
|
|
12604
12604
|
});
|
|
12605
|
-
Object.defineProperty(
|
|
12605
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "firstDayOfWeek", {
|
|
12606
12606
|
/**
|
|
12607
12607
|
* Gets or sets the FirstDayOfWeek property to detirmine first day of the week
|
|
12608
12608
|
*/
|
|
@@ -12616,7 +12616,7 @@
|
|
|
12616
12616
|
enumerable: true,
|
|
12617
12617
|
configurable: true
|
|
12618
12618
|
});
|
|
12619
|
-
Object.defineProperty(
|
|
12619
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "firstWeekOfYear", {
|
|
12620
12620
|
/**
|
|
12621
12621
|
* Gets or sets the FirstWeekOfYear property to detirmine first week of the year
|
|
12622
12622
|
*/
|
|
@@ -12630,7 +12630,7 @@
|
|
|
12630
12630
|
enumerable: true,
|
|
12631
12631
|
configurable: true
|
|
12632
12632
|
});
|
|
12633
|
-
Object.defineProperty(
|
|
12633
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "showWeekNumbers", {
|
|
12634
12634
|
/**
|
|
12635
12635
|
* Gets or sets the ShowWeekNumbers property to detirmine if the week numbers are shown
|
|
12636
12636
|
*/
|
|
@@ -12644,19 +12644,19 @@
|
|
|
12644
12644
|
enumerable: true,
|
|
12645
12645
|
configurable: true
|
|
12646
12646
|
});
|
|
12647
|
-
Object.defineProperty(
|
|
12647
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "hasUserValues", {
|
|
12648
12648
|
get: function () {
|
|
12649
12649
|
return this._hasUserValues;
|
|
12650
12650
|
},
|
|
12651
12651
|
enumerable: true,
|
|
12652
12652
|
configurable: true
|
|
12653
12653
|
});
|
|
12654
|
-
|
|
12654
|
+
IgcXCalendarComponent.prototype.__m = function (propertyName) {
|
|
12655
12655
|
if (!this._inStyling) {
|
|
12656
12656
|
this._hasUserValues.add(propertyName);
|
|
12657
12657
|
}
|
|
12658
12658
|
};
|
|
12659
|
-
|
|
12659
|
+
IgcXCalendarComponent.prototype._styling = function (container, component, parent) {
|
|
12660
12660
|
if (this._inStyling) {
|
|
12661
12661
|
return;
|
|
12662
12662
|
}
|
|
@@ -12668,7 +12668,7 @@
|
|
|
12668
12668
|
if (typeName.indexOf("Xam") === 0) {
|
|
12669
12669
|
typeName = typeName.substring(3);
|
|
12670
12670
|
}
|
|
12671
|
-
genericPrefix = igniteuiWebcomponentsCore.toSpinal("
|
|
12671
|
+
genericPrefix = igniteuiWebcomponentsCore.toSpinal("XCalendarComponent");
|
|
12672
12672
|
var additionalPrefixes = [];
|
|
12673
12673
|
var prefix = igniteuiWebcomponentsCore.toSpinal(typeName);
|
|
12674
12674
|
additionalPrefixes.push(prefix + "-");
|
|
@@ -12705,7 +12705,7 @@
|
|
|
12705
12705
|
* Exports visual information about the current state of the grid.
|
|
12706
12706
|
|
|
12707
12707
|
*/
|
|
12708
|
-
|
|
12708
|
+
IgcXCalendarComponent.prototype.exportVisualModel = function () {
|
|
12709
12709
|
var iv = this.i.bj();
|
|
12710
12710
|
return (iv);
|
|
12711
12711
|
};
|
|
@@ -12713,11 +12713,11 @@
|
|
|
12713
12713
|
* Returns a serialized copy of the exported visual model
|
|
12714
12714
|
|
|
12715
12715
|
*/
|
|
12716
|
-
|
|
12716
|
+
IgcXCalendarComponent.prototype.exportSerializedVisualModel = function () {
|
|
12717
12717
|
var iv = this.i.bs();
|
|
12718
12718
|
return (iv);
|
|
12719
12719
|
};
|
|
12720
|
-
Object.defineProperty(
|
|
12720
|
+
Object.defineProperty(IgcXCalendarComponent.prototype, "valueChanged", {
|
|
12721
12721
|
/**
|
|
12722
12722
|
* Called when date is selected.
|
|
12723
12723
|
*/
|
|
@@ -12747,10 +12747,10 @@
|
|
|
12747
12747
|
enumerable: true,
|
|
12748
12748
|
configurable: true
|
|
12749
12749
|
});
|
|
12750
|
-
|
|
12751
|
-
|
|
12752
|
-
|
|
12753
|
-
return
|
|
12750
|
+
IgcXCalendarComponent._observedAttributesIgcXCalendarComponent = null;
|
|
12751
|
+
IgcXCalendarComponent.htmlTagName = "igc-x-calendar";
|
|
12752
|
+
IgcXCalendarComponent._isElementRegistered = false;
|
|
12753
|
+
return IgcXCalendarComponent;
|
|
12754
12754
|
}(HTMLElement));
|
|
12755
12755
|
|
|
12756
12756
|
/*
|
|
@@ -12759,18 +12759,18 @@
|
|
|
12759
12759
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
12760
12760
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
12761
12761
|
*/
|
|
12762
|
-
var
|
|
12763
|
-
function
|
|
12762
|
+
var IgcXCalendarModule = /** @class */ /*@__PURE__*/ (function () {
|
|
12763
|
+
function IgcXCalendarModule() {
|
|
12764
12764
|
}
|
|
12765
|
-
|
|
12765
|
+
IgcXCalendarModule.register = function () {
|
|
12766
12766
|
IgcXButtonModule.register();
|
|
12767
12767
|
IgcXIconModule.register();
|
|
12768
|
-
|
|
12769
|
-
igniteuiWebcomponentsCore.TypeRegistrar.registerCons('
|
|
12770
|
-
igniteuiWebcomponentsCore.TypeRegistrar.registerCons('
|
|
12771
|
-
igniteuiWebcomponentsCore.TypeRegistrar.register('
|
|
12768
|
+
IgcXCalendarComponent.register();
|
|
12769
|
+
igniteuiWebcomponentsCore.TypeRegistrar.registerCons('IgcXCalendarComponent', IgcXCalendarComponent);
|
|
12770
|
+
igniteuiWebcomponentsCore.TypeRegistrar.registerCons('IgcXCalendarComponent', IgcXCalendarComponent);
|
|
12771
|
+
igniteuiWebcomponentsCore.TypeRegistrar.register('XCalendar', XCalendar.$type);
|
|
12772
12772
|
};
|
|
12773
|
-
return
|
|
12773
|
+
return IgcXCalendarModule;
|
|
12774
12774
|
}());
|
|
12775
12775
|
|
|
12776
12776
|
/*
|
|
@@ -25643,7 +25643,7 @@
|
|
|
25643
25643
|
DatePicker.prototype.ce = function () {
|
|
25644
25644
|
this.y = new igniteuiWebcomponentsLayouts.Popup();
|
|
25645
25645
|
this.l.ak(this.y);
|
|
25646
|
-
this.g = new
|
|
25646
|
+
this.g = new XCalendar();
|
|
25647
25647
|
this.l.af(this.g);
|
|
25648
25648
|
if (+(this.a1) != +(igniteuiWebcomponentsCore.dateMinValue())) {
|
|
25649
25649
|
this.g.au = this.a1;
|
|
@@ -26635,7 +26635,7 @@
|
|
|
26635
26635
|
function IgcDatePickerModule() {
|
|
26636
26636
|
}
|
|
26637
26637
|
IgcDatePickerModule.register = function () {
|
|
26638
|
-
|
|
26638
|
+
IgcXCalendarModule.register();
|
|
26639
26639
|
IgcXButtonModule.register();
|
|
26640
26640
|
IgcXIconModule.register();
|
|
26641
26641
|
IgcXInputGroupModule.register();
|
|
@@ -32672,7 +32672,6 @@
|
|
|
32672
32672
|
exports.ButtonGroupVisualModelExport = ButtonGroupVisualModelExport;
|
|
32673
32673
|
exports.ButtonView = ButtonView;
|
|
32674
32674
|
exports.ButtonVisualModelExport = ButtonVisualModelExport;
|
|
32675
|
-
exports.Calendar = Calendar;
|
|
32676
32675
|
exports.CalendarLocaleEn = CalendarLocaleEn;
|
|
32677
32676
|
exports.CalendarView = CalendarView;
|
|
32678
32677
|
exports.CalendarVisualModelExport = CalendarVisualModelExport;
|
|
@@ -32698,9 +32697,7 @@
|
|
|
32698
32697
|
exports.IconVisualModelExport = IconVisualModelExport;
|
|
32699
32698
|
exports.IgcButtonClickEventArgs = IgcButtonClickEventArgs;
|
|
32700
32699
|
exports.IgcButtonGroupSelectionChangedEventArgs = IgcButtonGroupSelectionChangedEventArgs;
|
|
32701
|
-
exports.IgcCalendarComponent = IgcCalendarComponent;
|
|
32702
32700
|
exports.IgcCalendarLocaleEnModule = IgcCalendarLocaleEnModule;
|
|
32703
|
-
exports.IgcCalendarModule = IgcCalendarModule;
|
|
32704
32701
|
exports.IgcCheckboxChangeEventArgs = IgcCheckboxChangeEventArgs;
|
|
32705
32702
|
exports.IgcDatePickerComponent = IgcDatePickerComponent;
|
|
32706
32703
|
exports.IgcDatePickerModule = IgcDatePickerModule;
|
|
@@ -32713,6 +32710,8 @@
|
|
|
32713
32710
|
exports.IgcXButtonGroupComponent = IgcXButtonGroupComponent;
|
|
32714
32711
|
exports.IgcXButtonGroupModule = IgcXButtonGroupModule;
|
|
32715
32712
|
exports.IgcXButtonModule = IgcXButtonModule;
|
|
32713
|
+
exports.IgcXCalendarComponent = IgcXCalendarComponent;
|
|
32714
|
+
exports.IgcXCalendarModule = IgcXCalendarModule;
|
|
32716
32715
|
exports.IgcXCheckboxComponent = IgcXCheckboxComponent;
|
|
32717
32716
|
exports.IgcXCheckboxModule = IgcXCheckboxModule;
|
|
32718
32717
|
exports.IgcXIconComponent = IgcXIconComponent;
|
|
@@ -32764,6 +32763,7 @@
|
|
|
32764
32763
|
exports.XButton = XButton;
|
|
32765
32764
|
exports.XButtonGroup = XButtonGroup;
|
|
32766
32765
|
exports.XButtonGroupButtonCollection = XButtonGroupButtonCollection;
|
|
32766
|
+
exports.XCalendar = XCalendar;
|
|
32767
32767
|
exports.XCheckbox = XCheckbox;
|
|
32768
32768
|
exports.XIcon = XIcon;
|
|
32769
32769
|
exports.XInput = XInput;
|