@progress/kendo-angular-dropdowns 25.4.0-develop.27 → 25.4.0-develop.28

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.
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  "use strict";
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.attributeConditionalRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
7
+ exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.valuelessAttributeRemoval = exports.attributeConditionalRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
8
8
  exports.hasKendoInTemplate = hasKendoInTemplate;
9
9
  exports.isImportedFromPackage = isImportedFromPackage;
10
10
  exports.tsPropertyRemoval = tsPropertyRemoval;
@@ -374,6 +374,21 @@ const attributeConditionalRemoval = (templateContent, tagName, attributeName, va
374
374
  return result;
375
375
  };
376
376
  exports.attributeConditionalRemoval = attributeConditionalRemoval;
377
+ /**
378
+ * Removes an attribute from a tag regardless of whether it has a value.
379
+ * Handles valueless directive selectors (`<ng-template kendoDirective>`) and static values (`attr="value"`).
380
+ *
381
+ * @param templateContent - The template string content to transform
382
+ * @param tagName - The HTML tag name to target (e.g., 'ng-template')
383
+ * @param attributeName - The attribute name to remove
384
+ * @returns The transformed template content
385
+ */
386
+ const valuelessAttributeRemoval = (templateContent, tagName, attributeName) => {
387
+ const escapeRegex = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
388
+ const pattern = new RegExp(`(<${escapeRegex(tagName)}\\b(?:[^>"']|"[^"]*"|'[^']*')*?)\\s+${escapeRegex(attributeName)}(?:\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]+))?(?=\\s|\\/?>)`, 'gi');
389
+ return templateContent.replace(pattern, '$1');
390
+ };
391
+ exports.valuelessAttributeRemoval = valuelessAttributeRemoval;
377
392
  function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propertyName) {
378
393
  if (source.includes(typeName)) {
379
394
  if (!isImportedFromPackage(rootSource, j, packageName, typeName)) {
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  productName: 'Kendo UI for Angular',
38
38
  productCode: 'KENDOUIANGULAR',
39
39
  productCodes: ['KENDOUIANGULAR'],
40
- publishDate: 1793629618,
41
- version: '25.4.0-develop.27',
40
+ publishDate: 1793879649,
41
+ version: '25.4.0-develop.28',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1793629618,
11
- "version": "25.4.0-develop.27",
10
+ "publishDate": 1793879649,
11
+ "version": "25.4.0-develop.28",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dropdowns",
3
- "version": "25.4.0-develop.27",
3
+ "version": "25.4.0-develop.28",
4
4
  "description": "A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree ",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -132,7 +132,7 @@
132
132
  "package": {
133
133
  "productName": "Kendo UI for Angular",
134
134
  "productCode": "KENDOUIANGULAR",
135
- "publishDate": 1793629618,
135
+ "publishDate": 1793879649,
136
136
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
137
137
  }
138
138
  },
@@ -142,20 +142,20 @@
142
142
  "@angular/core": "20 - 22",
143
143
  "@angular/forms": "20 - 22",
144
144
  "@angular/platform-browser": "20 - 22",
145
- "@progress/kendo-licensing": "^1.12.0",
146
- "@progress/kendo-angular-common": "25.4.0-develop.27",
147
- "@progress/kendo-angular-utils": "25.4.0-develop.27",
148
- "@progress/kendo-angular-l10n": "25.4.0-develop.27",
149
- "@progress/kendo-angular-navigation": "25.4.0-develop.27",
150
- "@progress/kendo-angular-popup": "25.4.0-develop.27",
151
- "@progress/kendo-angular-icons": "25.4.0-develop.27",
152
- "@progress/kendo-angular-inputs": "25.4.0-develop.27",
153
- "@progress/kendo-angular-treeview": "25.4.0-develop.27",
145
+ "@progress/kendo-licensing": "^1.13.0",
146
+ "@progress/kendo-angular-common": "25.4.0-develop.28",
147
+ "@progress/kendo-angular-utils": "25.4.0-develop.28",
148
+ "@progress/kendo-angular-l10n": "25.4.0-develop.28",
149
+ "@progress/kendo-angular-navigation": "25.4.0-develop.28",
150
+ "@progress/kendo-angular-popup": "25.4.0-develop.28",
151
+ "@progress/kendo-angular-icons": "25.4.0-develop.28",
152
+ "@progress/kendo-angular-inputs": "25.4.0-develop.28",
153
+ "@progress/kendo-angular-treeview": "25.4.0-develop.28",
154
154
  "rxjs": "^6.5.3 || ^7.0.0"
155
155
  },
156
156
  "dependencies": {
157
157
  "tslib": "^2.3.1",
158
- "@progress/kendo-angular-schematics": "25.4.0-develop.27",
158
+ "@progress/kendo-angular-schematics": "25.4.0-develop.28",
159
159
  "@progress/kendo-common": "^1.0.1"
160
160
  },
161
161
  "schematics": "./schematics/collection.json",
@@ -9,9 +9,9 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
11
11
  // peers of the treeview
12
- '@progress/kendo-angular-inputs': '25.4.0-develop.27',
12
+ '@progress/kendo-angular-inputs': '25.4.0-develop.28',
13
13
  // peers of inputs
14
- '@progress/kendo-angular-intl': '25.4.0-develop.27',
14
+ '@progress/kendo-angular-intl': '25.4.0-develop.28',
15
15
  '@progress/kendo-drawing': '^1.17.2',
16
16
  // Peer dependency of icons
17
17
  '@progress/kendo-svg-icons': '^4.0.0'
package/EULA.pdf DELETED
Binary file