@progress/kendo-angular-dateinputs 19.0.0-develop.3 → 19.0.0-develop.30
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/codemods/template-transformer/index.js +94 -0
- package/codemods/utils.js +553 -0
- package/codemods/v19/datepicker-subtitle.js +50 -0
- package/codemods/v19/datepicker-title.js +50 -0
- package/codemods/v19/daterange-popup-subtitle.js +50 -0
- package/codemods/v19/daterange-popup-title.js +50 -0
- package/codemods/v19/datetimepicker-subtitle.js +50 -0
- package/codemods/v19/datetimepicker-title.js +50 -0
- package/codemods/v19/timepicker-subtitle.js +50 -0
- package/codemods/v19/timepicker-title.js +50 -0
- package/dateinput/dateinput.component.d.ts +2 -0
- package/datepicker/datepicker.component.d.ts +8 -8
- package/datepicker/localization/messages.d.ts +5 -1
- package/daterange/date-range-popup.component.d.ts +12 -12
- package/daterange/localization/messages.d.ts +5 -1
- package/datetimepicker/datetimepicker.component.d.ts +12 -13
- package/datetimepicker/localization/messages.d.ts +5 -1
- package/esm2022/dateinput/dateinput.component.mjs +5 -2
- package/esm2022/datepicker/datepicker.component.mjs +46 -49
- package/esm2022/datepicker/localization/messages.mjs +7 -1
- package/esm2022/daterange/date-range-input.mjs +3 -2
- package/esm2022/daterange/date-range-popup.component.mjs +59 -59
- package/esm2022/daterange/date-range.component.mjs +1 -1
- package/esm2022/daterange/localization/messages.mjs +7 -1
- package/esm2022/datetimepicker/datetimepicker.component.mjs +86 -97
- package/esm2022/datetimepicker/localization/messages.mjs +7 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/timepicker/localization/messages.mjs +7 -1
- package/esm2022/timepicker/timepicker.component.mjs +43 -47
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +267 -258
- package/package.json +61 -11
- package/timepicker/localization/messages.d.ts +5 -1
- package/timepicker/timepicker.component.d.ts +9 -8
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datepicker', 'subtitle', 'adaptiveSubtitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-datepicker', 'subtitle', 'adaptiveSubtitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'DatePickerComponent', 'subtitle', 'adaptiveSubtitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datepicker', 'title', 'adaptiveTitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-datepicker', 'title', 'adaptiveTitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'DatePickerComponent', 'title', 'adaptiveTitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-daterange-popup', 'subtitle', 'adaptiveSubtitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-daterange-popup', 'subtitle', 'adaptiveSubtitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateRangePopupComponent', 'subtitle', 'adaptiveSubtitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-daterange-popup', 'title', 'adaptiveTitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-daterange-popup', 'title', 'adaptiveTitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateRangePopupComponent', 'title', 'adaptiveTitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datetimepicker', 'subtitle', 'adaptiveSubtitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-datetimepicker', 'subtitle', 'adaptiveSubtitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateTimePickerComponent', 'subtitle', 'adaptiveSubtitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datetimepicker', 'title', 'adaptiveTitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-datetimepicker', 'title', 'adaptiveTitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateTimePickerComponent', 'title', 'adaptiveTitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-timepicker', 'subtitle', 'adaptiveSubtitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-timepicker', 'subtitle', 'adaptiveSubtitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'TimePickerComponent', 'subtitle', 'adaptiveSubtitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
const fs = __importStar(require("fs"));
|
|
31
|
+
const index_1 = require("../template-transformer/index");
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
if (filePath.endsWith('.html')) {
|
|
36
|
+
let updatedContent = fileInfo.source;
|
|
37
|
+
updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-timepicker', 'title', 'adaptiveTitle');
|
|
38
|
+
// Only write to file once after all transformations
|
|
39
|
+
fs.writeFileSync(filePath, updatedContent, 'utf-8');
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const j = api.jscodeshift;
|
|
43
|
+
const rootSource = j(fileInfo.source);
|
|
44
|
+
(0, index_1.templateTransformer)(rootSource, j, (root) => {
|
|
45
|
+
(0, utils_1.templateAttributeTransformer)(root, 'kendo-timepicker', 'title', 'adaptiveTitle');
|
|
46
|
+
});
|
|
47
|
+
(0, utils_1.tsPropertyTransformer)(rootSource, j, 'TimePickerComponent', 'title', 'adaptiveTitle');
|
|
48
|
+
return rootSource.toSource();
|
|
49
|
+
}
|
|
50
|
+
exports.default = default_1;
|
|
@@ -215,11 +215,13 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
215
215
|
/**
|
|
216
216
|
* Specifies the biggest date that is valid
|
|
217
217
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
218
|
+
* By default, the `max` value is `2099-12-31`.
|
|
218
219
|
*/
|
|
219
220
|
max: Date;
|
|
220
221
|
/**
|
|
221
222
|
* Specifies the smallest date that is valid
|
|
222
223
|
* ([see example]({% slug dateranges_dateinput %})).
|
|
224
|
+
* By default, the `min` value is `1900-1-1`.
|
|
223
225
|
*/
|
|
224
226
|
min: Date;
|
|
225
227
|
/**
|
|
@@ -34,7 +34,7 @@ import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
|
34
34
|
import { HeaderTemplateDirective } from '../calendar/templates/header-template.directive';
|
|
35
35
|
import { FooterTemplateDirective } from '../calendar/templates/footer-template.directive';
|
|
36
36
|
import { WeekDaysFormat } from '../common/models/week-days-format';
|
|
37
|
-
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
37
|
+
import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
|
|
38
38
|
import * as i0 from "@angular/core";
|
|
39
39
|
/**
|
|
40
40
|
* Represents the [Kendo UI DatePicker component for Angular](slug:overview_datepicker).
|
|
@@ -404,14 +404,12 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
|
|
|
404
404
|
* Sets the title of the input element of the DatePicker and the title text rendered
|
|
405
405
|
* in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
|
|
406
406
|
*/
|
|
407
|
-
|
|
407
|
+
adaptiveTitle: string;
|
|
408
408
|
/**
|
|
409
409
|
* Sets the subtitle text rendered in the header of the popup(action sheet).
|
|
410
410
|
* Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
|
|
411
411
|
*/
|
|
412
|
-
|
|
413
|
-
get subtitle(): string;
|
|
414
|
-
private _subtitle;
|
|
412
|
+
adaptiveSubtitle: string;
|
|
415
413
|
/**
|
|
416
414
|
* Determines whether the built-in min or max validators are enforced when validating a form.
|
|
417
415
|
*
|
|
@@ -519,6 +517,10 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
|
|
|
519
517
|
* @hidden
|
|
520
518
|
*/
|
|
521
519
|
checkIcon: SVGIcon;
|
|
520
|
+
/**
|
|
521
|
+
* @hidden
|
|
522
|
+
*/
|
|
523
|
+
windowSize: AdaptiveSize;
|
|
522
524
|
/**
|
|
523
525
|
* @hidden
|
|
524
526
|
*/
|
|
@@ -546,7 +548,6 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
|
|
|
546
548
|
private _size;
|
|
547
549
|
private _rounded;
|
|
548
550
|
private _fillMode;
|
|
549
|
-
private windowSize;
|
|
550
551
|
constructor(zone: NgZone, localization: LocalizationService, cdr: ChangeDetectorRef, popupService: PopupService, wrapper: ElementRef, renderer: Renderer2, injector: Injector, pickerService: PickerService, disabledDatesService: DisabledDatesService, adaptiveService: AdaptiveService);
|
|
551
552
|
/**
|
|
552
553
|
* @hidden
|
|
@@ -685,7 +686,6 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
|
|
|
685
686
|
private toggleCalendar;
|
|
686
687
|
private togglePopup;
|
|
687
688
|
private toggleActionSheet;
|
|
688
|
-
private updateActionSheetAdaptiveAppearance;
|
|
689
689
|
private setAriaActiveDescendant;
|
|
690
690
|
private focusInput;
|
|
691
691
|
private toggleFocus;
|
|
@@ -700,5 +700,5 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
|
|
|
700
700
|
private handleDateCompletenessChange;
|
|
701
701
|
private setComponentClasses;
|
|
702
702
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
703
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "kendo-datepicker", ["kendo-datepicker"], { "focusableId": { "alias": "focusableId"; "required": false; }; "cellTemplateRef": { "alias": "cellTemplate"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "monthCellTemplateRef": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplateRef": { "alias": "yearCellTemplate"; "required": false; }; "decadeCellTemplateRef": { "alias": "decadeCellTemplate"; "required": false; }; "centuryCellTemplateRef": { "alias": "centuryCellTemplate"; "required": false; }; "weekNumberTemplateRef": { "alias": "weekNumberTemplate"; "required": false; }; "headerTitleTemplateRef": { "alias": "headerTitleTemplate"; "required": false; }; "headerTemplateRef": { "alias": "headerTemplate"; "required": false; }; "footerTemplateRef": { "alias": "footerTemplate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "navigationItemTemplateRef": { "alias": "navigationItemTemplate"; "required": false; }; "weekDaysFormat": { "alias": "weekDaysFormat"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "bottomView": { "alias": "bottomView"; "required": false; }; "topView": { "alias": "topView"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "animateCalendarNavigation": { "alias": "animateCalendarNavigation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyInput": { "alias": "readOnlyInput"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "incompleteDateValidation": { "alias": "incompleteDateValidation"; "required": false; }; "autoCorrectParts": { "alias": "autoCorrectParts"; "required": false; }; "autoSwitchParts": { "alias": "autoSwitchParts"; "required": false; }; "autoSwitchKeys": { "alias": "autoSwitchKeys"; "required": false; }; "enableMouseWheel": { "alias": "enableMouseWheel"; "required": false; }; "allowCaretMode": { "alias": "allowCaretMode"; "required": false; }; "autoFill": { "alias": "autoFill"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; "twoDigitYearMax": { "alias": "twoDigitYearMax"; "required": false; }; "formatPlaceholder": { "alias": "formatPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "
|
|
703
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "kendo-datepicker", ["kendo-datepicker"], { "focusableId": { "alias": "focusableId"; "required": false; }; "cellTemplateRef": { "alias": "cellTemplate"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "monthCellTemplateRef": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplateRef": { "alias": "yearCellTemplate"; "required": false; }; "decadeCellTemplateRef": { "alias": "decadeCellTemplate"; "required": false; }; "centuryCellTemplateRef": { "alias": "centuryCellTemplate"; "required": false; }; "weekNumberTemplateRef": { "alias": "weekNumberTemplate"; "required": false; }; "headerTitleTemplateRef": { "alias": "headerTitleTemplate"; "required": false; }; "headerTemplateRef": { "alias": "headerTemplate"; "required": false; }; "footerTemplateRef": { "alias": "footerTemplate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "navigationItemTemplateRef": { "alias": "navigationItemTemplate"; "required": false; }; "weekDaysFormat": { "alias": "weekDaysFormat"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "bottomView": { "alias": "bottomView"; "required": false; }; "topView": { "alias": "topView"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "animateCalendarNavigation": { "alias": "animateCalendarNavigation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyInput": { "alias": "readOnlyInput"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "incompleteDateValidation": { "alias": "incompleteDateValidation"; "required": false; }; "autoCorrectParts": { "alias": "autoCorrectParts"; "required": false; }; "autoSwitchParts": { "alias": "autoSwitchParts"; "required": false; }; "autoSwitchKeys": { "alias": "autoSwitchKeys"; "required": false; }; "enableMouseWheel": { "alias": "enableMouseWheel"; "required": false; }; "allowCaretMode": { "alias": "allowCaretMode"; "required": false; }; "autoFill": { "alias": "autoFill"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; "twoDigitYearMax": { "alias": "twoDigitYearMax"; "required": false; }; "formatPlaceholder": { "alias": "formatPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "disabledDatesValidation": { "alias": "disabledDatesValidation"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; "escape": "escape"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate"], never, true, never>;
|
|
704
704
|
}
|
|
@@ -32,6 +32,10 @@ export declare class DatePickerMessages extends ComponentMessages {
|
|
|
32
32
|
* The title of the **Clear** button of the DatePicker.
|
|
33
33
|
*/
|
|
34
34
|
clearTitle: string;
|
|
35
|
+
/**
|
|
36
|
+
* The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
|
|
37
|
+
*/
|
|
38
|
+
adaptiveCloseButtonTitle: string;
|
|
35
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerMessages, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerMessages, "kendo-datepicker-messages-base", never, { "today": { "alias": "today"; "required": false; }; "toggle": { "alias": "toggle"; "required": false; }; "prevButtonTitle": { "alias": "prevButtonTitle"; "required": false; }; "nextButtonTitle": { "alias": "nextButtonTitle"; "required": false; }; "parentViewButtonTitle": { "alias": "parentViewButtonTitle"; "required": false; }; "clearTitle": { "alias": "clearTitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerMessages, "kendo-datepicker-messages-base", never, { "today": { "alias": "today"; "required": false; }; "toggle": { "alias": "toggle"; "required": false; }; "prevButtonTitle": { "alias": "prevButtonTitle"; "required": false; }; "nextButtonTitle": { "alias": "nextButtonTitle"; "required": false; }; "parentViewButtonTitle": { "alias": "parentViewButtonTitle"; "required": false; }; "clearTitle": { "alias": "clearTitle"; "required": false; }; "adaptiveCloseButtonTitle": { "alias": "adaptiveCloseButtonTitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
41
|
}
|
|
@@ -9,7 +9,7 @@ import { DateRangePopupTemplateDirective } from './date-range-popup-template.dir
|
|
|
9
9
|
import { DateRangeService } from './date-range.service';
|
|
10
10
|
import { MultiViewCalendarComponent } from '../calendar/multiview-calendar.component';
|
|
11
11
|
import { PreventableEvent } from '../preventable-event';
|
|
12
|
-
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
12
|
+
import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
|
|
13
13
|
import { AdaptiveMode } from '../util';
|
|
14
14
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
15
15
|
import { DateRangeSelectionDirective } from './date-range-selection.directive';
|
|
@@ -191,14 +191,12 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
191
191
|
* Sets the title of the input element of the DateRangePopup and the title text rendered
|
|
192
192
|
* in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
adaptiveTitle: string;
|
|
195
195
|
/**
|
|
196
196
|
* Sets the subtitle text rendered in the header of the popup(action sheet).
|
|
197
197
|
* Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
|
|
198
198
|
*/
|
|
199
|
-
|
|
200
|
-
get subtitle(): string;
|
|
201
|
-
private _subtitle;
|
|
199
|
+
adaptiveSubtitle: string;
|
|
202
200
|
/**
|
|
203
201
|
* @hidden
|
|
204
202
|
*
|
|
@@ -272,11 +270,19 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
272
270
|
* @hidden
|
|
273
271
|
*/
|
|
274
272
|
checkIcon: SVGIcon;
|
|
273
|
+
/**
|
|
274
|
+
* @hidden
|
|
275
|
+
*/
|
|
276
|
+
windowSize: AdaptiveSize;
|
|
275
277
|
/**
|
|
276
278
|
* Gets or sets the visibility state of the component.
|
|
277
279
|
*/
|
|
278
280
|
set show(show: boolean);
|
|
279
281
|
get show(): boolean;
|
|
282
|
+
/**
|
|
283
|
+
* @hidden
|
|
284
|
+
*/
|
|
285
|
+
handleAccept(): void;
|
|
280
286
|
private activateSubscription;
|
|
281
287
|
private blurSubscription;
|
|
282
288
|
private focusSubscription;
|
|
@@ -288,7 +294,6 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
288
294
|
private _calendar;
|
|
289
295
|
private _show;
|
|
290
296
|
private _rangeSelection;
|
|
291
|
-
private windowSize;
|
|
292
297
|
constructor(popupService: PopupService, dateRangeService: DateRangeService, zone: NgZone, renderer: Renderer2, localization: LocalizationService, cdr: ChangeDetectorRef, rtl: boolean, adaptiveService: AdaptiveService);
|
|
293
298
|
ngOnInit(): void;
|
|
294
299
|
ngAfterViewInit(): void;
|
|
@@ -326,10 +331,6 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
326
331
|
* Closes the popup and triggers the `cancel` event.
|
|
327
332
|
*/
|
|
328
333
|
cancelPopup(): void;
|
|
329
|
-
/**
|
|
330
|
-
* @hidden
|
|
331
|
-
*/
|
|
332
|
-
handleAccept(): void;
|
|
333
334
|
/**
|
|
334
335
|
* @hidden
|
|
335
336
|
*/
|
|
@@ -356,8 +357,7 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
|
|
|
356
357
|
private destroyPopup;
|
|
357
358
|
private toggleDateRange;
|
|
358
359
|
private toggleActionSheet;
|
|
359
|
-
private updateActionSheetAdaptiveAppearance;
|
|
360
360
|
private addCalendarSubscription;
|
|
361
361
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupComponent, [null, null, null, null, null, null, { optional: true; }, null]>;
|
|
362
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupComponent, "kendo-daterange-popup", ["kendo-daterange-popup"], { "showCalendarHeader": { "alias": "showCalendarHeader"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "bottomView": { "alias": "bottomView"; "required": false; }; "topView": { "alias": "topView"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "allowReverse": { "alias": "allowReverse"; "required": false; }; "animateNavigation": { "alias": "animateNavigation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "views": { "alias": "views"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "anchorAlign": { "alias": "anchorAlign"; "required": false; }; "showViewHeader": { "alias": "showViewHeader"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "collision": { "alias": "collision"; "required": false; }; "popupAlign": { "alias": "popupAlign"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "
|
|
362
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePopupComponent, "kendo-daterange-popup", ["kendo-daterange-popup"], { "showCalendarHeader": { "alias": "showCalendarHeader"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "bottomView": { "alias": "bottomView"; "required": false; }; "topView": { "alias": "topView"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "allowReverse": { "alias": "allowReverse"; "required": false; }; "animateNavigation": { "alias": "animateNavigation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "views": { "alias": "views"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "anchorAlign": { "alias": "anchorAlign"; "required": false; }; "showViewHeader": { "alias": "showViewHeader"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "collision": { "alias": "collision"; "required": false; }; "popupAlign": { "alias": "popupAlign"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "open": "open"; "close": "close"; "onBlur": "blur"; "onFocus": "focus"; "cancel": "cancel"; }, ["contentTemplate", "contentCalendar"], never, true, never>;
|
|
363
363
|
}
|
|
@@ -24,6 +24,10 @@ export declare class DateRangePopupMessages extends ComponentMessages {
|
|
|
24
24
|
* The label of the **Cancel** button in the popup footer of the DateRange Popup.
|
|
25
25
|
*/
|
|
26
26
|
cancelLabel: string;
|
|
27
|
+
/**
|
|
28
|
+
* The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
|
|
29
|
+
*/
|
|
30
|
+
adaptiveCloseButtonTitle: string;
|
|
27
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePopupMessages, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupMessages, "kendo-daterangepopup-messages-base", never, { "accept": { "alias": "accept"; "required": false; }; "acceptLabel": { "alias": "acceptLabel"; "required": false; }; "cancel": { "alias": "cancel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateRangePopupMessages, "kendo-daterangepopup-messages-base", never, { "accept": { "alias": "accept"; "required": false; }; "acceptLabel": { "alias": "acceptLabel"; "required": false; }; "cancel": { "alias": "cancel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "adaptiveCloseButtonTitle": { "alias": "adaptiveCloseButtonTitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
33
|
}
|