@wavemaker/angular-codegen 11.2.4-rc.5200 → 11.2.4-rc.88
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.
|
@@ -44976,14 +44976,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
44976
44976
|
|
|
44977
44977
|
const carouselTagName = 'carousel';
|
|
44978
44978
|
const dataSetKey$5 = 'dataset';
|
|
44979
|
-
const idGen$
|
|
44979
|
+
const idGen$q = new IDGenerator('wm_carousel_ref_');
|
|
44980
44980
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
44981
44981
|
const ɵ0$d$1 = isDynamicCarousel;
|
|
44982
44982
|
register('wm-carousel', () => {
|
|
44983
44983
|
return {
|
|
44984
44984
|
pre: (attrs, shared) => {
|
|
44985
44985
|
// generating unique Id for the carousel
|
|
44986
|
-
const counter = idGen$
|
|
44986
|
+
const counter = idGen$q.nextUid();
|
|
44987
44987
|
shared.set('carousel_ref', counter);
|
|
44988
44988
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
44989
44989
|
},
|
|
@@ -45084,11 +45084,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45084
45084
|
});
|
|
45085
45085
|
|
|
45086
45086
|
const tagName$1A = 'a';
|
|
45087
|
-
const idGen$
|
|
45087
|
+
const idGen$p = new IDGenerator('wm_anchor');
|
|
45088
45088
|
register('wm-anchor', () => {
|
|
45089
45089
|
return {
|
|
45090
45090
|
pre: (attrs) => {
|
|
45091
|
-
const counter = idGen$
|
|
45091
|
+
const counter = idGen$p.nextUid();
|
|
45092
45092
|
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
|
|
45093
45093
|
},
|
|
45094
45094
|
post: () => `</${tagName$1A}>`
|
|
@@ -45116,11 +45116,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45116
45116
|
});
|
|
45117
45117
|
|
|
45118
45118
|
const tagName$1y = 'div';
|
|
45119
|
-
const idGen$
|
|
45119
|
+
const idGen$o = new IDGenerator('wm_html');
|
|
45120
45120
|
register('wm-html', () => {
|
|
45121
45121
|
return {
|
|
45122
45122
|
pre: (attrs) => {
|
|
45123
|
-
const counter = idGen$
|
|
45123
|
+
const counter = idGen$o.nextUid();
|
|
45124
45124
|
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
45125
45125
|
},
|
|
45126
45126
|
post: () => `</${tagName$1y}>`
|
|
@@ -45162,12 +45162,10 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45162
45162
|
});
|
|
45163
45163
|
|
|
45164
45164
|
const tagName$1v = 'label';
|
|
45165
|
-
const idGen$o = new IDGenerator('wm_label');
|
|
45166
45165
|
register('wm-label', () => {
|
|
45167
45166
|
return {
|
|
45168
45167
|
pre: (attrs) => {
|
|
45169
|
-
|
|
45170
|
-
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
|
|
45168
|
+
return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
|
|
45171
45169
|
},
|
|
45172
45170
|
post: () => `</${tagName$1v}>`
|
|
45173
45171
|
};
|
|
@@ -44976,14 +44976,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
44976
44976
|
|
|
44977
44977
|
const carouselTagName = 'carousel';
|
|
44978
44978
|
const dataSetKey$5 = 'dataset';
|
|
44979
|
-
const idGen$
|
|
44979
|
+
const idGen$q = new IDGenerator('wm_carousel_ref_');
|
|
44980
44980
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
44981
44981
|
const ɵ0$d$1 = isDynamicCarousel;
|
|
44982
44982
|
register('wm-carousel', () => {
|
|
44983
44983
|
return {
|
|
44984
44984
|
pre: (attrs, shared) => {
|
|
44985
44985
|
// generating unique Id for the carousel
|
|
44986
|
-
const counter = idGen$
|
|
44986
|
+
const counter = idGen$q.nextUid();
|
|
44987
44987
|
shared.set('carousel_ref', counter);
|
|
44988
44988
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
44989
44989
|
},
|
|
@@ -45084,11 +45084,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45084
45084
|
});
|
|
45085
45085
|
|
|
45086
45086
|
const tagName$1A = 'a';
|
|
45087
|
-
const idGen$
|
|
45087
|
+
const idGen$p = new IDGenerator('wm_anchor');
|
|
45088
45088
|
register('wm-anchor', () => {
|
|
45089
45089
|
return {
|
|
45090
45090
|
pre: (attrs) => {
|
|
45091
|
-
const counter = idGen$
|
|
45091
|
+
const counter = idGen$p.nextUid();
|
|
45092
45092
|
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
|
|
45093
45093
|
},
|
|
45094
45094
|
post: () => `</${tagName$1A}>`
|
|
@@ -45116,11 +45116,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45116
45116
|
});
|
|
45117
45117
|
|
|
45118
45118
|
const tagName$1y = 'div';
|
|
45119
|
-
const idGen$
|
|
45119
|
+
const idGen$o = new IDGenerator('wm_html');
|
|
45120
45120
|
register('wm-html', () => {
|
|
45121
45121
|
return {
|
|
45122
45122
|
pre: (attrs) => {
|
|
45123
|
-
const counter = idGen$
|
|
45123
|
+
const counter = idGen$o.nextUid();
|
|
45124
45124
|
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
45125
45125
|
},
|
|
45126
45126
|
post: () => `</${tagName$1y}>`
|
|
@@ -45162,12 +45162,10 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
45162
45162
|
});
|
|
45163
45163
|
|
|
45164
45164
|
const tagName$1v = 'label';
|
|
45165
|
-
const idGen$o = new IDGenerator('wm_label');
|
|
45166
45165
|
register('wm-label', () => {
|
|
45167
45166
|
return {
|
|
45168
45167
|
pre: (attrs) => {
|
|
45169
|
-
|
|
45170
|
-
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
|
|
45168
|
+
return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
|
|
45171
45169
|
},
|
|
45172
45170
|
post: () => `</${tagName$1v}>`
|
|
45173
45171
|
};
|