@wavemaker/angular-codegen 11.7.0-rc.5531 → 11.7.5-rc.5532
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.
- angular-codegen/angular-app/package-lock.json +4 -4
- angular-codegen/angular-app/package.json +2 -2
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/dependencies/transpilation-mobile.cjs.js +11 -1
- angular-codegen/dependencies/transpilation-web.cjs.js +11 -1
- angular-codegen/package.json +1 -1
|
@@ -67841,11 +67841,21 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
67841
67841
|
default: iframe_build
|
|
67842
67842
|
});
|
|
67843
67843
|
|
|
67844
|
-
|
|
67844
|
+
let tagName$1v = 'p';
|
|
67845
67845
|
const idGen$p = new IDGenerator('wm_label');
|
|
67846
67846
|
register('wm-label', () => {
|
|
67847
67847
|
return {
|
|
67848
67848
|
pre: (attrs) => {
|
|
67849
|
+
if (!attrs.get("notag")) {
|
|
67850
|
+
if (!attrs.get('type')) {
|
|
67851
|
+
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
|
67852
|
+
attrs.set('type', classList.length ? classList[0] : "p");
|
|
67853
|
+
}
|
|
67854
|
+
tagName$1v = attrs.get('type');
|
|
67855
|
+
}
|
|
67856
|
+
else {
|
|
67857
|
+
tagName$1v = 'label';
|
|
67858
|
+
}
|
|
67849
67859
|
const counter = idGen$p.nextUid();
|
|
67850
67860
|
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
|
67851
67861
|
},
|
|
@@ -67841,11 +67841,21 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
67841
67841
|
default: iframe_build
|
|
67842
67842
|
});
|
|
67843
67843
|
|
|
67844
|
-
|
|
67844
|
+
let tagName$1v = 'p';
|
|
67845
67845
|
const idGen$p = new IDGenerator('wm_label');
|
|
67846
67846
|
register('wm-label', () => {
|
|
67847
67847
|
return {
|
|
67848
67848
|
pre: (attrs) => {
|
|
67849
|
+
if (!attrs.get("notag")) {
|
|
67850
|
+
if (!attrs.get('type')) {
|
|
67851
|
+
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
|
67852
|
+
attrs.set('type', classList.length ? classList[0] : "p");
|
|
67853
|
+
}
|
|
67854
|
+
tagName$1v = attrs.get('type');
|
|
67855
|
+
}
|
|
67856
|
+
else {
|
|
67857
|
+
tagName$1v = 'label';
|
|
67858
|
+
}
|
|
67849
67859
|
const counter = idGen$p.nextUid();
|
|
67850
67860
|
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
|
67851
67861
|
},
|