@wavemaker/angular-codegen 11.2.0-rc.5204 → 11.2.0-rc.5205
Sign up to get free protection for your applications and to get access to all the features.
@@ -44970,14 +44970,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
44970
44970
|
|
44971
44971
|
const carouselTagName = 'carousel';
|
44972
44972
|
const dataSetKey$5 = 'dataset';
|
44973
|
-
const idGen$
|
44973
|
+
const idGen$s = new IDGenerator('wm_carousel_ref_');
|
44974
44974
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
44975
44975
|
const ɵ0$d$1 = isDynamicCarousel;
|
44976
44976
|
register('wm-carousel', () => {
|
44977
44977
|
return {
|
44978
44978
|
pre: (attrs, shared) => {
|
44979
44979
|
// generating unique Id for the carousel
|
44980
|
-
const counter = idGen$
|
44980
|
+
const counter = idGen$s.nextUid();
|
44981
44981
|
shared.set('carousel_ref', counter);
|
44982
44982
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
44983
44983
|
},
|
@@ -45078,11 +45078,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
45078
45078
|
});
|
45079
45079
|
|
45080
45080
|
const tagName$1A = 'a';
|
45081
|
-
const idGen$
|
45081
|
+
const idGen$r = new IDGenerator('wm_anchor');
|
45082
45082
|
register('wm-anchor', () => {
|
45083
45083
|
return {
|
45084
45084
|
pre: (attrs) => {
|
45085
|
-
const counter = idGen$
|
45085
|
+
const counter = idGen$r.nextUid();
|
45086
45086
|
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
|
45087
45087
|
},
|
45088
45088
|
post: () => `</${tagName$1A}>`
|
@@ -45110,11 +45110,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
45110
45110
|
});
|
45111
45111
|
|
45112
45112
|
const tagName$1y = 'div';
|
45113
|
-
const idGen$
|
45113
|
+
const idGen$q = new IDGenerator('wm_html');
|
45114
45114
|
register('wm-html', () => {
|
45115
45115
|
return {
|
45116
45116
|
pre: (attrs) => {
|
45117
|
-
const counter = idGen$
|
45117
|
+
const counter = idGen$q.nextUid();
|
45118
45118
|
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
45119
45119
|
},
|
45120
45120
|
post: () => `</${tagName$1y}>`
|
@@ -45156,11 +45156,11 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
45156
45156
|
});
|
45157
45157
|
|
45158
45158
|
const tagName$1v = 'label';
|
45159
|
-
const idGen$
|
45159
|
+
const idGen$p = new IDGenerator('wm_label');
|
45160
45160
|
register('wm-label', () => {
|
45161
45161
|
return {
|
45162
45162
|
pre: (attrs) => {
|
45163
|
-
const counter = idGen$
|
45163
|
+
const counter = idGen$p.nextUid();
|
45164
45164
|
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
45165
45165
|
},
|
45166
45166
|
post: () => `</${tagName$1v}>`
|
@@ -45174,11 +45174,11 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
45174
45174
|
});
|
45175
45175
|
|
45176
45176
|
const tagName$1u = 'img';
|
45177
|
-
const idGen$
|
45177
|
+
const idGen$o = new IDGenerator('wm_picture');
|
45178
45178
|
register('wm-picture', () => {
|
45179
45179
|
return {
|
45180
45180
|
pre: (attrs) => {
|
45181
|
-
const counter = idGen$
|
45181
|
+
const counter = idGen$o.nextUid();
|
45182
45182
|
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
|
45183
45183
|
}
|
45184
45184
|
};
|
@@ -45191,11 +45191,11 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
45191
45191
|
});
|
45192
45192
|
|
45193
45193
|
const tagName$1t = 'div';
|
45194
|
-
const idGen$
|
45194
|
+
const idGen$n = new IDGenerator('wm_spinner');
|
45195
45195
|
register('wm-spinner', () => {
|
45196
45196
|
return {
|
45197
45197
|
pre: (attrs) => {
|
45198
|
-
const counter = idGen$
|
45198
|
+
const counter = idGen$n.nextUid();
|
45199
45199
|
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
45200
45200
|
},
|
45201
45201
|
post: () => `</${tagName$1t}>`
|
@@ -45268,11 +45268,11 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
45268
45268
|
});
|
45269
45269
|
|
45270
45270
|
const tagName$1q = 'div';
|
45271
|
-
const idGen$
|
45271
|
+
const idGen$m = new IDGenerator('wm_richtexteditor');
|
45272
45272
|
register('wm-richtexteditor', () => {
|
45273
45273
|
return {
|
45274
45274
|
pre: (attrs) => {
|
45275
|
-
const counter = idGen$
|
45275
|
+
const counter = idGen$m.nextUid();
|
45276
45276
|
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
45277
45277
|
},
|
45278
45278
|
post: () => `</${tagName$1q}>`
|
@@ -45385,14 +45385,14 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
45385
45385
|
|
45386
45386
|
const tagName$1i = 'div';
|
45387
45387
|
const dataSetKey$4 = 'dataset';
|
45388
|
-
const idGen$
|
45388
|
+
const idGen$l = new IDGenerator('wm_accordion_ref_');
|
45389
45389
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
45390
45390
|
const ɵ0$b$1 = isDynamicAccordion;
|
45391
45391
|
register('wm-accordion', () => {
|
45392
45392
|
return {
|
45393
45393
|
pre: (attrs, shared) => {
|
45394
45394
|
// generating unique Id for the accordion
|
45395
|
-
const counter = idGen$
|
45395
|
+
const counter = idGen$l.nextUid();
|
45396
45396
|
shared.set('accordion_ref', counter);
|
45397
45397
|
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
|
45398
45398
|
},
|
@@ -45429,9 +45429,13 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
45429
45429
|
});
|
45430
45430
|
|
45431
45431
|
const tagName$1h = 'div';
|
45432
|
+
const idGen$k = new IDGenerator('wm_accordionpane');
|
45432
45433
|
register('wm-accordionpane', () => {
|
45433
45434
|
return {
|
45434
|
-
pre: attrs =>
|
45435
|
+
pre: (attrs) => {
|
45436
|
+
const counter = idGen$k.nextUid();
|
45437
|
+
return `<${tagName$1h} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
|
45438
|
+
},
|
45435
45439
|
post: () => `</${tagName$1h}>`
|
45436
45440
|
};
|
45437
45441
|
});
|
@@ -44970,14 +44970,14 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
44970
44970
|
|
44971
44971
|
const carouselTagName = 'carousel';
|
44972
44972
|
const dataSetKey$5 = 'dataset';
|
44973
|
-
const idGen$
|
44973
|
+
const idGen$s = new IDGenerator('wm_carousel_ref_');
|
44974
44974
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
44975
44975
|
const ɵ0$d$1 = isDynamicCarousel;
|
44976
44976
|
register('wm-carousel', () => {
|
44977
44977
|
return {
|
44978
44978
|
pre: (attrs, shared) => {
|
44979
44979
|
// generating unique Id for the carousel
|
44980
|
-
const counter = idGen$
|
44980
|
+
const counter = idGen$s.nextUid();
|
44981
44981
|
shared.set('carousel_ref', counter);
|
44982
44982
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
44983
44983
|
},
|
@@ -45078,11 +45078,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
45078
45078
|
});
|
45079
45079
|
|
45080
45080
|
const tagName$1A = 'a';
|
45081
|
-
const idGen$
|
45081
|
+
const idGen$r = new IDGenerator('wm_anchor');
|
45082
45082
|
register('wm-anchor', () => {
|
45083
45083
|
return {
|
45084
45084
|
pre: (attrs) => {
|
45085
|
-
const counter = idGen$
|
45085
|
+
const counter = idGen$r.nextUid();
|
45086
45086
|
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption || 'Link'" ${getAttrMarkup(attrs)}>`;
|
45087
45087
|
},
|
45088
45088
|
post: () => `</${tagName$1A}>`
|
@@ -45110,11 +45110,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
45110
45110
|
});
|
45111
45111
|
|
45112
45112
|
const tagName$1y = 'div';
|
45113
|
-
const idGen$
|
45113
|
+
const idGen$q = new IDGenerator('wm_html');
|
45114
45114
|
register('wm-html', () => {
|
45115
45115
|
return {
|
45116
45116
|
pre: (attrs) => {
|
45117
|
-
const counter = idGen$
|
45117
|
+
const counter = idGen$q.nextUid();
|
45118
45118
|
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
45119
45119
|
},
|
45120
45120
|
post: () => `</${tagName$1y}>`
|
@@ -45156,11 +45156,11 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
45156
45156
|
});
|
45157
45157
|
|
45158
45158
|
const tagName$1v = 'label';
|
45159
|
-
const idGen$
|
45159
|
+
const idGen$p = new IDGenerator('wm_label');
|
45160
45160
|
register('wm-label', () => {
|
45161
45161
|
return {
|
45162
45162
|
pre: (attrs) => {
|
45163
|
-
const counter = idGen$
|
45163
|
+
const counter = idGen$p.nextUid();
|
45164
45164
|
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
45165
45165
|
},
|
45166
45166
|
post: () => `</${tagName$1v}>`
|
@@ -45174,11 +45174,11 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
45174
45174
|
});
|
45175
45175
|
|
45176
45176
|
const tagName$1u = 'img';
|
45177
|
-
const idGen$
|
45177
|
+
const idGen$o = new IDGenerator('wm_picture');
|
45178
45178
|
register('wm-picture', () => {
|
45179
45179
|
return {
|
45180
45180
|
pre: (attrs) => {
|
45181
|
-
const counter = idGen$
|
45181
|
+
const counter = idGen$o.nextUid();
|
45182
45182
|
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
|
45183
45183
|
}
|
45184
45184
|
};
|
@@ -45191,11 +45191,11 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
45191
45191
|
});
|
45192
45192
|
|
45193
45193
|
const tagName$1t = 'div';
|
45194
|
-
const idGen$
|
45194
|
+
const idGen$n = new IDGenerator('wm_spinner');
|
45195
45195
|
register('wm-spinner', () => {
|
45196
45196
|
return {
|
45197
45197
|
pre: (attrs) => {
|
45198
|
-
const counter = idGen$
|
45198
|
+
const counter = idGen$n.nextUid();
|
45199
45199
|
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
45200
45200
|
},
|
45201
45201
|
post: () => `</${tagName$1t}>`
|
@@ -45268,11 +45268,11 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
45268
45268
|
});
|
45269
45269
|
|
45270
45270
|
const tagName$1q = 'div';
|
45271
|
-
const idGen$
|
45271
|
+
const idGen$m = new IDGenerator('wm_richtexteditor');
|
45272
45272
|
register('wm-richtexteditor', () => {
|
45273
45273
|
return {
|
45274
45274
|
pre: (attrs) => {
|
45275
|
-
const counter = idGen$
|
45275
|
+
const counter = idGen$m.nextUid();
|
45276
45276
|
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
45277
45277
|
},
|
45278
45278
|
post: () => `</${tagName$1q}>`
|
@@ -45385,14 +45385,14 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
45385
45385
|
|
45386
45386
|
const tagName$1i = 'div';
|
45387
45387
|
const dataSetKey$4 = 'dataset';
|
45388
|
-
const idGen$
|
45388
|
+
const idGen$l = new IDGenerator('wm_accordion_ref_');
|
45389
45389
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
45390
45390
|
const ɵ0$b$1 = isDynamicAccordion;
|
45391
45391
|
register('wm-accordion', () => {
|
45392
45392
|
return {
|
45393
45393
|
pre: (attrs, shared) => {
|
45394
45394
|
// generating unique Id for the accordion
|
45395
|
-
const counter = idGen$
|
45395
|
+
const counter = idGen$l.nextUid();
|
45396
45396
|
shared.set('accordion_ref', counter);
|
45397
45397
|
return `<${tagName$1i} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
|
45398
45398
|
},
|
@@ -45429,9 +45429,13 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
45429
45429
|
});
|
45430
45430
|
|
45431
45431
|
const tagName$1h = 'div';
|
45432
|
+
const idGen$k = new IDGenerator('wm_accordionpane');
|
45432
45433
|
register('wm-accordionpane', () => {
|
45433
45434
|
return {
|
45434
|
-
pre: attrs =>
|
45435
|
+
pre: (attrs) => {
|
45436
|
+
const counter = idGen$k.nextUid();
|
45437
|
+
return `<${tagName$1h} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
|
45438
|
+
},
|
45435
45439
|
post: () => `</${tagName$1h}>`
|
45436
45440
|
};
|
45437
45441
|
});
|