@3mo/data-grid 0.19.4 → 0.20.0-preview.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/dist/columns/date-time/DataGridColumnDate.d.ts +2 -0
- package/dist/columns/date-time/DataGridColumnDate.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDate.js +3 -1
- package/dist/columns/date-time/DataGridColumnDateRange.d.ts +2 -0
- package/dist/columns/date-time/DataGridColumnDateRange.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateRange.js +3 -1
- package/dist/columns/date-time/DataGridColumnDateTime.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateTime.js +2 -1
- package/dist/columns/date-time/DataGridColumnDateTimeBase.d.ts +4 -3
- package/dist/columns/date-time/DataGridColumnDateTimeBase.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateTimeBase.js +8 -4
- package/dist/columns/date-time/DataGridColumnDateTimeRange.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateTimeRange.js +2 -1
- package/dist/custom-elements.json +112 -48
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
1
2
|
import { DataGridColumnDateTimeBase } from './DataGridColumnDateTimeBase.js';
|
|
2
3
|
/** @element mo-data-grid-column-date */
|
|
3
4
|
export declare class DataGridColumnDate<TData> extends DataGridColumnDateTimeBase<TData, Date> {
|
|
5
|
+
precision: FieldDateTimePrecision;
|
|
4
6
|
getContentTemplate(value: Date | undefined, data: TData): import("lit-html").HTMLTemplateResult;
|
|
5
7
|
readonly fieldTag: import("lit-html/static.js").StaticValue;
|
|
6
8
|
generateCsvValue(value: Date | undefined): Generator<string, void, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridColumnDate.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAE5E,wCAAwC;AACxC,qBACa,kBAAkB,CAAC,KAAK,CAAE,SAAQ,0BAA0B,CAAC,KAAK,EAAE,IAAI,CAAC;IAC5E,kBAAkB,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,KAAK;IAKhE,SAAkB,QAAQ,2CAAyB;IAEzC,gBAAgB,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS;CAGlD;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,0BAA0B,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;KACvD;CACD"}
|
|
1
|
+
{"version":3,"file":"DataGridColumnDate.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAE5E,wCAAwC;AACxC,qBACa,kBAAkB,CAAC,KAAK,CAAE,SAAQ,0BAA0B,CAAC,KAAK,EAAE,IAAI,CAAC;IAC5E,SAAS,yBAA6B;IAEtC,kBAAkB,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,KAAK;IAKhE,SAAkB,QAAQ,2CAAyB;IAEzC,gBAAgB,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS;CAGlD;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,0BAA0B,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;KACvD;CACD"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { component, html, literal } from '@a11d/lit';
|
|
3
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
3
4
|
import { DataGridColumnDateTimeBase } from './DataGridColumnDateTimeBase.js';
|
|
4
5
|
/** @element mo-data-grid-column-date */
|
|
5
6
|
let DataGridColumnDate = class DataGridColumnDate extends DataGridColumnDateTimeBase {
|
|
6
7
|
constructor() {
|
|
7
8
|
super(...arguments);
|
|
9
|
+
this.precision = FieldDateTimePrecision.Day;
|
|
8
10
|
this.fieldTag = literal `mo-field-date`;
|
|
9
11
|
}
|
|
10
12
|
getContentTemplate(value, data) {
|
|
11
13
|
data;
|
|
12
|
-
return html `${value?.formatAsDate(this.
|
|
14
|
+
return html `${value?.formatAsDate(this.formatOptions || (this.precision === FieldDateTimePrecision.Day ? undefined : this.precision.formatOptions)) || ''}`;
|
|
13
15
|
}
|
|
14
16
|
*generateCsvValue(value) {
|
|
15
17
|
yield value?.toISOString().split('T')[0] ?? '';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
1
2
|
import { DataGridColumnDateTimeBase } from './DataGridColumnDateTimeBase.js';
|
|
2
3
|
/** @element mo-data-grid-column-date-range */
|
|
3
4
|
export declare class DataGridColumnDateRange<TData> extends DataGridColumnDateTimeBase<TData, DateTimeRange> {
|
|
5
|
+
precision: FieldDateTimePrecision;
|
|
4
6
|
getContentTemplate(value: DateTimeRange | undefined, data: TData): import("lit-html").HTMLTemplateResult;
|
|
5
7
|
readonly fieldTag: import("lit-html/static.js").StaticValue;
|
|
6
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridColumnDateRange.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateRange.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAE5E,8CAA8C;AAC9C,qBACa,uBAAuB,CAAC,KAAK,CAAE,SAAQ,0BAA0B,CAAC,KAAK,EAAE,aAAa,CAAC;IAC1F,kBAAkB,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,EAAE,IAAI,EAAE,KAAK;IAKzE,SAAkB,QAAQ,2CAA+B;CACzD;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gCAAgC,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAA;KAClE;CACD"}
|
|
1
|
+
{"version":3,"file":"DataGridColumnDateRange.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateRange.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAE5E,8CAA8C;AAC9C,qBACa,uBAAuB,CAAC,KAAK,CAAE,SAAQ,0BAA0B,CAAC,KAAK,EAAE,aAAa,CAAC;IAC1F,SAAS,yBAA6B;IAEtC,kBAAkB,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,EAAE,IAAI,EAAE,KAAK;IAKzE,SAAkB,QAAQ,2CAA+B;CACzD;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gCAAgC,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAA;KAClE;CACD"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { component, html, literal } from '@a11d/lit';
|
|
3
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
3
4
|
import { DataGridColumnDateTimeBase } from './DataGridColumnDateTimeBase.js';
|
|
4
5
|
/** @element mo-data-grid-column-date-range */
|
|
5
6
|
let DataGridColumnDateRange = class DataGridColumnDateRange extends DataGridColumnDateTimeBase {
|
|
6
7
|
constructor() {
|
|
7
8
|
super(...arguments);
|
|
9
|
+
this.precision = FieldDateTimePrecision.Day;
|
|
8
10
|
this.fieldTag = literal `mo-field-date-range`;
|
|
9
11
|
}
|
|
10
12
|
getContentTemplate(value, data) {
|
|
11
13
|
data;
|
|
12
|
-
return html `${value
|
|
14
|
+
return html `${value?.formatAsDateRange(this.formatOptions || (this.precision === FieldDateTimePrecision.Day ? undefined : this.precision.formatOptions)) || ''}`;
|
|
13
15
|
}
|
|
14
16
|
};
|
|
15
17
|
DataGridColumnDateRange = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridColumnDateTime.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateTime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataGridColumnDateTime.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateTime.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAE5E,6CAA6C;AAC7C,qBACa,sBAAsB,CAAC,KAAK,CAAE,SAAQ,0BAA0B,CAAC,KAAK,EAAE,IAAI,CAAC;IAChF,kBAAkB,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,KAAK;IAKhE,SAAkB,QAAQ,2CAA8B;IAE9C,gBAAgB,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS;CAGlD;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,+BAA+B,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAA;KAChE;CACD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { component, html, literal } from '@a11d/lit';
|
|
3
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
3
4
|
import { DataGridColumnDateTimeBase } from './DataGridColumnDateTimeBase.js';
|
|
4
5
|
/** @element mo-data-grid-column-date-time */
|
|
5
6
|
let DataGridColumnDateTime = class DataGridColumnDateTime extends DataGridColumnDateTimeBase {
|
|
@@ -9,7 +10,7 @@ let DataGridColumnDateTime = class DataGridColumnDateTime extends DataGridColumn
|
|
|
9
10
|
}
|
|
10
11
|
getContentTemplate(value, data) {
|
|
11
12
|
data;
|
|
12
|
-
return html `${value
|
|
13
|
+
return html `${value?.format(this.formatOptions || (this.precision === FieldDateTimePrecision.Minute ? undefined : this.precision.formatOptions)) || ''}`;
|
|
13
14
|
}
|
|
14
15
|
*generateCsvValue(value) {
|
|
15
16
|
yield value?.toISOString() ?? '';
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { type StaticValue } from '@a11d/lit';
|
|
2
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
2
3
|
import { DataGridColumnComponent } from '../DataGridColumnComponent.js';
|
|
3
4
|
/**
|
|
4
|
-
* @attr formatOptions - Options to pass to
|
|
5
|
+
* @attr formatOptions - Options to pass to DateTime.prototype.format()
|
|
6
|
+
* @attr precision - The precision of the date/time.
|
|
5
7
|
* @attr pickerHidden - Hides the date/time picker
|
|
6
8
|
*/
|
|
7
9
|
export declare abstract class DataGridColumnDateTimeBase<TData, TDate extends {
|
|
8
10
|
format(...options: any[]): string;
|
|
9
11
|
}> extends DataGridColumnComponent<TData, TDate> {
|
|
10
|
-
static defaultFormatOptions?: Intl.DateTimeFormatOptions;
|
|
11
12
|
abstract readonly fieldTag: StaticValue;
|
|
12
13
|
formatOptions?: Intl.DateTimeFormatOptions;
|
|
14
|
+
precision: FieldDateTimePrecision;
|
|
13
15
|
pickerHidden: boolean;
|
|
14
|
-
protected get formatOptionsValue(): Intl.DateTimeFormatOptions | undefined;
|
|
15
16
|
getEditContentTemplate(value: TDate | undefined, data: TData): import("lit-html").HTMLTemplateResult;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=DataGridColumnDateTimeBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridColumnDateTimeBase.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateTimeBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,WAAW,EAAE,MAAM,WAAW,CAAA;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE
|
|
1
|
+
{"version":3,"file":"DataGridColumnDateTimeBase.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateTimeBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,WAAW,EAAE,MAAM,WAAW,CAAA;AAExE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE;;;;GAIG;AACH,8BAAsB,0BAA0B,CAAC,KAAK,EAAE,KAAK,SAAS;IAAE,MAAM,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,GAAG,MAAM,CAAA;CAAE,CAAE,SAAQ,uBAAuB,CAAC,KAAK,EAAE,KAAK,CAAC;IACzJ,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAA;IAEC,aAAa,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAA;IACgB,SAAS,yBAAgC;IAC9G,YAAY,UAAQ;IAExC,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,EAAE,IAAI,EAAE,KAAK;CAYrE"}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { property, html, staticHtml } from '@a11d/lit';
|
|
3
3
|
import { hasChanged } from '@a11d/equals';
|
|
4
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
4
5
|
import { DataGridColumnComponent } from '../DataGridColumnComponent.js';
|
|
5
6
|
/**
|
|
6
|
-
* @attr formatOptions - Options to pass to
|
|
7
|
+
* @attr formatOptions - Options to pass to DateTime.prototype.format()
|
|
8
|
+
* @attr precision - The precision of the date/time.
|
|
7
9
|
* @attr pickerHidden - Hides the date/time picker
|
|
8
10
|
*/
|
|
9
11
|
export class DataGridColumnDateTimeBase extends DataGridColumnComponent {
|
|
10
12
|
constructor() {
|
|
11
13
|
super(...arguments);
|
|
14
|
+
this.precision = FieldDateTimePrecision.Minute;
|
|
12
15
|
this.pickerHidden = false;
|
|
13
16
|
}
|
|
14
|
-
get formatOptionsValue() {
|
|
15
|
-
return this.formatOptions ?? this.constructor.defaultFormatOptions;
|
|
16
|
-
}
|
|
17
17
|
getEditContentTemplate(value, data) {
|
|
18
18
|
return html `
|
|
19
19
|
${staticHtml `
|
|
20
20
|
<${this.fieldTag} dense autofocus selectOnFocus
|
|
21
|
+
.precision=${this.precision}
|
|
21
22
|
?pickerHidden=${this.pickerHidden}
|
|
22
23
|
.value=${value}
|
|
23
24
|
@change=${(e) => this.handleEdit(e.detail, data)}
|
|
@@ -29,6 +30,9 @@ export class DataGridColumnDateTimeBase extends DataGridColumnComponent {
|
|
|
29
30
|
__decorate([
|
|
30
31
|
property({ type: Object, hasChanged })
|
|
31
32
|
], DataGridColumnDateTimeBase.prototype, "formatOptions", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
property({ type: String, converter: value => FieldDateTimePrecision.parse(value || undefined) })
|
|
35
|
+
], DataGridColumnDateTimeBase.prototype, "precision", void 0);
|
|
32
36
|
__decorate([
|
|
33
37
|
property({ type: Boolean })
|
|
34
38
|
], DataGridColumnDateTimeBase.prototype, "pickerHidden", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridColumnDateTimeRange.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateTimeRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataGridColumnDateTimeRange.d.ts","sourceRoot":"","sources":["../../../columns/date-time/DataGridColumnDateTimeRange.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAE5E,mDAAmD;AACnD,qBACa,2BAA2B,CAAC,KAAK,CAAE,SAAQ,0BAA0B,CAAC,KAAK,EAAE,aAAa,CAAC;IAC9F,kBAAkB,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,EAAE,IAAI,EAAE,KAAK;IAKzE,SAAkB,QAAQ,2CAAoC;CAC9D;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qCAAqC,EAAE,2BAA2B,CAAC,OAAO,CAAC,CAAA;KAC3E;CACD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { component, html, literal } from '@a11d/lit';
|
|
3
|
+
import { FieldDateTimePrecision } from '@3mo/date-time-fields';
|
|
3
4
|
import { DataGridColumnDateTimeBase } from './DataGridColumnDateTimeBase.js';
|
|
4
5
|
/** @element mo-data-grid-column-date-time-range */
|
|
5
6
|
let DataGridColumnDateTimeRange = class DataGridColumnDateTimeRange extends DataGridColumnDateTimeBase {
|
|
@@ -9,7 +10,7 @@ let DataGridColumnDateTimeRange = class DataGridColumnDateTimeRange extends Data
|
|
|
9
10
|
}
|
|
10
11
|
getContentTemplate(value, data) {
|
|
11
12
|
data;
|
|
12
|
-
return html `${value
|
|
13
|
+
return html `${value?.format(this.formatOptions || (this.precision === FieldDateTimePrecision.Minute ? undefined : this.precision.formatOptions)) || ''}`;
|
|
13
14
|
}
|
|
14
15
|
};
|
|
15
16
|
DataGridColumnDateTimeRange = __decorate([
|
|
@@ -1837,9 +1837,15 @@
|
|
|
1837
1837
|
"attributes": [
|
|
1838
1838
|
{
|
|
1839
1839
|
"name": "formatOptions",
|
|
1840
|
-
"description": "Options to pass to
|
|
1840
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
1841
1841
|
"type": "DateTimeFormatOptions | undefined"
|
|
1842
1842
|
},
|
|
1843
|
+
{
|
|
1844
|
+
"name": "precision",
|
|
1845
|
+
"description": "The precision of the date/time.",
|
|
1846
|
+
"type": "FieldDateTimePrecision",
|
|
1847
|
+
"default": "\"Day\""
|
|
1848
|
+
},
|
|
1843
1849
|
{
|
|
1844
1850
|
"name": "pickerHidden",
|
|
1845
1851
|
"description": "Hides the date/time picker",
|
|
@@ -1916,10 +1922,6 @@
|
|
|
1916
1922
|
}
|
|
1917
1923
|
],
|
|
1918
1924
|
"properties": [
|
|
1919
|
-
{
|
|
1920
|
-
"name": "defaultFormatOptions",
|
|
1921
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
1922
|
-
},
|
|
1923
1925
|
{
|
|
1924
1926
|
"name": "fieldTag",
|
|
1925
1927
|
"type": "StaticValue",
|
|
@@ -1928,9 +1930,16 @@
|
|
|
1928
1930
|
{
|
|
1929
1931
|
"name": "formatOptions",
|
|
1930
1932
|
"attribute": "formatOptions",
|
|
1931
|
-
"description": "Options to pass to
|
|
1933
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
1932
1934
|
"type": "DateTimeFormatOptions | undefined"
|
|
1933
1935
|
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "precision",
|
|
1938
|
+
"attribute": "precision",
|
|
1939
|
+
"description": "The precision of the date/time.",
|
|
1940
|
+
"type": "FieldDateTimePrecision",
|
|
1941
|
+
"default": "\"Day\""
|
|
1942
|
+
},
|
|
1934
1943
|
{
|
|
1935
1944
|
"name": "pickerHidden",
|
|
1936
1945
|
"attribute": "pickerHidden",
|
|
@@ -2025,9 +2034,15 @@
|
|
|
2025
2034
|
"attributes": [
|
|
2026
2035
|
{
|
|
2027
2036
|
"name": "formatOptions",
|
|
2028
|
-
"description": "Options to pass to
|
|
2037
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
2029
2038
|
"type": "DateTimeFormatOptions | undefined"
|
|
2030
2039
|
},
|
|
2040
|
+
{
|
|
2041
|
+
"name": "precision",
|
|
2042
|
+
"description": "The precision of the date/time.",
|
|
2043
|
+
"type": "FieldDateTimePrecision",
|
|
2044
|
+
"default": "\"Day\""
|
|
2045
|
+
},
|
|
2031
2046
|
{
|
|
2032
2047
|
"name": "pickerHidden",
|
|
2033
2048
|
"description": "Hides the date/time picker",
|
|
@@ -2104,10 +2119,6 @@
|
|
|
2104
2119
|
}
|
|
2105
2120
|
],
|
|
2106
2121
|
"properties": [
|
|
2107
|
-
{
|
|
2108
|
-
"name": "defaultFormatOptions",
|
|
2109
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
2110
|
-
},
|
|
2111
2122
|
{
|
|
2112
2123
|
"name": "fieldTag",
|
|
2113
2124
|
"type": "StaticValue",
|
|
@@ -2116,9 +2127,16 @@
|
|
|
2116
2127
|
{
|
|
2117
2128
|
"name": "formatOptions",
|
|
2118
2129
|
"attribute": "formatOptions",
|
|
2119
|
-
"description": "Options to pass to
|
|
2130
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
2120
2131
|
"type": "DateTimeFormatOptions | undefined"
|
|
2121
2132
|
},
|
|
2133
|
+
{
|
|
2134
|
+
"name": "precision",
|
|
2135
|
+
"attribute": "precision",
|
|
2136
|
+
"description": "The precision of the date/time.",
|
|
2137
|
+
"type": "FieldDateTimePrecision",
|
|
2138
|
+
"default": "\"Day\""
|
|
2139
|
+
},
|
|
2122
2140
|
{
|
|
2123
2141
|
"name": "pickerHidden",
|
|
2124
2142
|
"attribute": "pickerHidden",
|
|
@@ -2213,9 +2231,15 @@
|
|
|
2213
2231
|
"attributes": [
|
|
2214
2232
|
{
|
|
2215
2233
|
"name": "formatOptions",
|
|
2216
|
-
"description": "Options to pass to
|
|
2234
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
2217
2235
|
"type": "DateTimeFormatOptions | undefined"
|
|
2218
2236
|
},
|
|
2237
|
+
{
|
|
2238
|
+
"name": "precision",
|
|
2239
|
+
"description": "The precision of the date/time.",
|
|
2240
|
+
"type": "FieldDateTimePrecision",
|
|
2241
|
+
"default": "\"Minute\""
|
|
2242
|
+
},
|
|
2219
2243
|
{
|
|
2220
2244
|
"name": "pickerHidden",
|
|
2221
2245
|
"description": "Hides the date/time picker",
|
|
@@ -2292,10 +2316,6 @@
|
|
|
2292
2316
|
}
|
|
2293
2317
|
],
|
|
2294
2318
|
"properties": [
|
|
2295
|
-
{
|
|
2296
|
-
"name": "defaultFormatOptions",
|
|
2297
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
2298
|
-
},
|
|
2299
2319
|
{
|
|
2300
2320
|
"name": "fieldTag",
|
|
2301
2321
|
"type": "StaticValue",
|
|
@@ -2304,9 +2324,16 @@
|
|
|
2304
2324
|
{
|
|
2305
2325
|
"name": "formatOptions",
|
|
2306
2326
|
"attribute": "formatOptions",
|
|
2307
|
-
"description": "Options to pass to
|
|
2327
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
2308
2328
|
"type": "DateTimeFormatOptions | undefined"
|
|
2309
2329
|
},
|
|
2330
|
+
{
|
|
2331
|
+
"name": "precision",
|
|
2332
|
+
"attribute": "precision",
|
|
2333
|
+
"description": "The precision of the date/time.",
|
|
2334
|
+
"type": "FieldDateTimePrecision",
|
|
2335
|
+
"default": "\"Minute\""
|
|
2336
|
+
},
|
|
2310
2337
|
{
|
|
2311
2338
|
"name": "pickerHidden",
|
|
2312
2339
|
"attribute": "pickerHidden",
|
|
@@ -2401,9 +2428,15 @@
|
|
|
2401
2428
|
"attributes": [
|
|
2402
2429
|
{
|
|
2403
2430
|
"name": "formatOptions",
|
|
2404
|
-
"description": "Options to pass to
|
|
2431
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
2405
2432
|
"type": "DateTimeFormatOptions | undefined"
|
|
2406
2433
|
},
|
|
2434
|
+
{
|
|
2435
|
+
"name": "precision",
|
|
2436
|
+
"description": "The precision of the date/time.",
|
|
2437
|
+
"type": "FieldDateTimePrecision",
|
|
2438
|
+
"default": "\"Minute\""
|
|
2439
|
+
},
|
|
2407
2440
|
{
|
|
2408
2441
|
"name": "pickerHidden",
|
|
2409
2442
|
"description": "Hides the date/time picker",
|
|
@@ -2480,10 +2513,6 @@
|
|
|
2480
2513
|
}
|
|
2481
2514
|
],
|
|
2482
2515
|
"properties": [
|
|
2483
|
-
{
|
|
2484
|
-
"name": "defaultFormatOptions",
|
|
2485
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
2486
|
-
},
|
|
2487
2516
|
{
|
|
2488
2517
|
"name": "fieldTag",
|
|
2489
2518
|
"type": "StaticValue",
|
|
@@ -2492,9 +2521,16 @@
|
|
|
2492
2521
|
{
|
|
2493
2522
|
"name": "formatOptions",
|
|
2494
2523
|
"attribute": "formatOptions",
|
|
2495
|
-
"description": "Options to pass to
|
|
2524
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
2496
2525
|
"type": "DateTimeFormatOptions | undefined"
|
|
2497
2526
|
},
|
|
2527
|
+
{
|
|
2528
|
+
"name": "precision",
|
|
2529
|
+
"attribute": "precision",
|
|
2530
|
+
"description": "The precision of the date/time.",
|
|
2531
|
+
"type": "FieldDateTimePrecision",
|
|
2532
|
+
"default": "\"Minute\""
|
|
2533
|
+
},
|
|
2498
2534
|
{
|
|
2499
2535
|
"name": "pickerHidden",
|
|
2500
2536
|
"attribute": "pickerHidden",
|
|
@@ -4940,9 +4976,14 @@
|
|
|
4940
4976
|
"attributes": [
|
|
4941
4977
|
{
|
|
4942
4978
|
"name": "formatOptions",
|
|
4943
|
-
"description": "Options to pass to
|
|
4979
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
4944
4980
|
"type": "DateTimeFormatOptions | undefined"
|
|
4945
4981
|
},
|
|
4982
|
+
{
|
|
4983
|
+
"name": "precision",
|
|
4984
|
+
"description": "The precision of the date/time.",
|
|
4985
|
+
"type": "FieldDateTimePrecision"
|
|
4986
|
+
},
|
|
4946
4987
|
{
|
|
4947
4988
|
"name": "pickerHidden",
|
|
4948
4989
|
"description": "Hides the date/time picker",
|
|
@@ -5008,10 +5049,6 @@
|
|
|
5008
5049
|
}
|
|
5009
5050
|
],
|
|
5010
5051
|
"properties": [
|
|
5011
|
-
{
|
|
5012
|
-
"name": "defaultFormatOptions",
|
|
5013
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
5014
|
-
},
|
|
5015
5052
|
{
|
|
5016
5053
|
"name": "fieldTag",
|
|
5017
5054
|
"type": "StaticValue"
|
|
@@ -5019,9 +5056,15 @@
|
|
|
5019
5056
|
{
|
|
5020
5057
|
"name": "formatOptions",
|
|
5021
5058
|
"attribute": "formatOptions",
|
|
5022
|
-
"description": "Options to pass to
|
|
5059
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
5023
5060
|
"type": "DateTimeFormatOptions | undefined"
|
|
5024
5061
|
},
|
|
5062
|
+
{
|
|
5063
|
+
"name": "precision",
|
|
5064
|
+
"attribute": "precision",
|
|
5065
|
+
"description": "The precision of the date/time.",
|
|
5066
|
+
"type": "FieldDateTimePrecision"
|
|
5067
|
+
},
|
|
5025
5068
|
{
|
|
5026
5069
|
"name": "pickerHidden",
|
|
5027
5070
|
"attribute": "pickerHidden",
|
|
@@ -5108,9 +5151,14 @@
|
|
|
5108
5151
|
"attributes": [
|
|
5109
5152
|
{
|
|
5110
5153
|
"name": "formatOptions",
|
|
5111
|
-
"description": "Options to pass to
|
|
5154
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
5112
5155
|
"type": "DateTimeFormatOptions | undefined"
|
|
5113
5156
|
},
|
|
5157
|
+
{
|
|
5158
|
+
"name": "precision",
|
|
5159
|
+
"description": "The precision of the date/time.",
|
|
5160
|
+
"type": "FieldDateTimePrecision"
|
|
5161
|
+
},
|
|
5114
5162
|
{
|
|
5115
5163
|
"name": "pickerHidden",
|
|
5116
5164
|
"description": "Hides the date/time picker",
|
|
@@ -5176,10 +5224,6 @@
|
|
|
5176
5224
|
}
|
|
5177
5225
|
],
|
|
5178
5226
|
"properties": [
|
|
5179
|
-
{
|
|
5180
|
-
"name": "defaultFormatOptions",
|
|
5181
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
5182
|
-
},
|
|
5183
5227
|
{
|
|
5184
5228
|
"name": "fieldTag",
|
|
5185
5229
|
"type": "StaticValue"
|
|
@@ -5187,9 +5231,15 @@
|
|
|
5187
5231
|
{
|
|
5188
5232
|
"name": "formatOptions",
|
|
5189
5233
|
"attribute": "formatOptions",
|
|
5190
|
-
"description": "Options to pass to
|
|
5234
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
5191
5235
|
"type": "DateTimeFormatOptions | undefined"
|
|
5192
5236
|
},
|
|
5237
|
+
{
|
|
5238
|
+
"name": "precision",
|
|
5239
|
+
"attribute": "precision",
|
|
5240
|
+
"description": "The precision of the date/time.",
|
|
5241
|
+
"type": "FieldDateTimePrecision"
|
|
5242
|
+
},
|
|
5193
5243
|
{
|
|
5194
5244
|
"name": "pickerHidden",
|
|
5195
5245
|
"attribute": "pickerHidden",
|
|
@@ -5276,9 +5326,14 @@
|
|
|
5276
5326
|
"attributes": [
|
|
5277
5327
|
{
|
|
5278
5328
|
"name": "formatOptions",
|
|
5279
|
-
"description": "Options to pass to
|
|
5329
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
5280
5330
|
"type": "DateTimeFormatOptions | undefined"
|
|
5281
5331
|
},
|
|
5332
|
+
{
|
|
5333
|
+
"name": "precision",
|
|
5334
|
+
"description": "The precision of the date/time.",
|
|
5335
|
+
"type": "FieldDateTimePrecision"
|
|
5336
|
+
},
|
|
5282
5337
|
{
|
|
5283
5338
|
"name": "pickerHidden",
|
|
5284
5339
|
"description": "Hides the date/time picker",
|
|
@@ -5344,10 +5399,6 @@
|
|
|
5344
5399
|
}
|
|
5345
5400
|
],
|
|
5346
5401
|
"properties": [
|
|
5347
|
-
{
|
|
5348
|
-
"name": "defaultFormatOptions",
|
|
5349
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
5350
|
-
},
|
|
5351
5402
|
{
|
|
5352
5403
|
"name": "fieldTag",
|
|
5353
5404
|
"type": "StaticValue"
|
|
@@ -5355,9 +5406,15 @@
|
|
|
5355
5406
|
{
|
|
5356
5407
|
"name": "formatOptions",
|
|
5357
5408
|
"attribute": "formatOptions",
|
|
5358
|
-
"description": "Options to pass to
|
|
5409
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
5359
5410
|
"type": "DateTimeFormatOptions | undefined"
|
|
5360
5411
|
},
|
|
5412
|
+
{
|
|
5413
|
+
"name": "precision",
|
|
5414
|
+
"attribute": "precision",
|
|
5415
|
+
"description": "The precision of the date/time.",
|
|
5416
|
+
"type": "FieldDateTimePrecision"
|
|
5417
|
+
},
|
|
5361
5418
|
{
|
|
5362
5419
|
"name": "pickerHidden",
|
|
5363
5420
|
"attribute": "pickerHidden",
|
|
@@ -5444,9 +5501,14 @@
|
|
|
5444
5501
|
"attributes": [
|
|
5445
5502
|
{
|
|
5446
5503
|
"name": "formatOptions",
|
|
5447
|
-
"description": "Options to pass to
|
|
5504
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
5448
5505
|
"type": "DateTimeFormatOptions | undefined"
|
|
5449
5506
|
},
|
|
5507
|
+
{
|
|
5508
|
+
"name": "precision",
|
|
5509
|
+
"description": "The precision of the date/time.",
|
|
5510
|
+
"type": "FieldDateTimePrecision"
|
|
5511
|
+
},
|
|
5450
5512
|
{
|
|
5451
5513
|
"name": "pickerHidden",
|
|
5452
5514
|
"description": "Hides the date/time picker",
|
|
@@ -5512,10 +5574,6 @@
|
|
|
5512
5574
|
}
|
|
5513
5575
|
],
|
|
5514
5576
|
"properties": [
|
|
5515
|
-
{
|
|
5516
|
-
"name": "defaultFormatOptions",
|
|
5517
|
-
"type": "DateTimeFormatOptions | undefined"
|
|
5518
|
-
},
|
|
5519
5577
|
{
|
|
5520
5578
|
"name": "fieldTag",
|
|
5521
5579
|
"type": "StaticValue"
|
|
@@ -5523,9 +5581,15 @@
|
|
|
5523
5581
|
{
|
|
5524
5582
|
"name": "formatOptions",
|
|
5525
5583
|
"attribute": "formatOptions",
|
|
5526
|
-
"description": "Options to pass to
|
|
5584
|
+
"description": "Options to pass to DateTime.prototype.format()",
|
|
5527
5585
|
"type": "DateTimeFormatOptions | undefined"
|
|
5528
5586
|
},
|
|
5587
|
+
{
|
|
5588
|
+
"name": "precision",
|
|
5589
|
+
"attribute": "precision",
|
|
5590
|
+
"description": "The precision of the date/time.",
|
|
5591
|
+
"type": "FieldDateTimePrecision"
|
|
5592
|
+
},
|
|
5529
5593
|
{
|
|
5530
5594
|
"name": "pickerHidden",
|
|
5531
5595
|
"attribute": "pickerHidden",
|