@wavemaker/angular-codegen 11.2.0-rc.5193 → 11.2.0-rc.5200
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.
@@ -14484,9 +14484,9 @@
|
|
14484
14484
|
"dev": true
|
14485
14485
|
},
|
14486
14486
|
"moment-timezone": {
|
14487
|
-
"version": "0.5.
|
14488
|
-
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.
|
14489
|
-
"integrity": "sha512-
|
14487
|
+
"version": "0.5.40",
|
14488
|
+
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.40.tgz",
|
14489
|
+
"integrity": "sha512-tWfmNkRYmBkPJz5mr9GVDn9vRlVZOTe6yqY92rFxiOdWXbjaR0+9LwQnZGGuNR63X456NqmEkbskte8tWL5ePg==",
|
14490
14490
|
"dev": true,
|
14491
14491
|
"requires": {
|
14492
14492
|
"moment": ">= 2.9.0"
|
@@ -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$q = 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$q.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$p = new IDGenerator('wm_anchor');
|
45082
45082
|
register('wm-anchor', () => {
|
45083
45083
|
return {
|
45084
45084
|
pre: (attrs) => {
|
45085
|
-
const counter = idGen$
|
45085
|
+
const counter = idGen$p.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$o = new IDGenerator('wm_html');
|
45114
45114
|
register('wm-html', () => {
|
45115
45115
|
return {
|
45116
45116
|
pre: (attrs) => {
|
45117
|
-
const counter = idGen$
|
45117
|
+
const counter = idGen$o.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,12 +45156,10 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
45156
45156
|
});
|
45157
45157
|
|
45158
45158
|
const tagName$1v = 'label';
|
45159
|
-
const idGen$o = new IDGenerator('wm_label');
|
45160
45159
|
register('wm-label', () => {
|
45161
45160
|
return {
|
45162
45161
|
pre: (attrs) => {
|
45163
|
-
|
45164
|
-
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
|
45162
|
+
return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
|
45165
45163
|
},
|
45166
45164
|
post: () => `</${tagName$1v}>`
|
45167
45165
|
};
|
@@ -46727,7 +46725,7 @@ register('wm-livetable', () => {
|
|
46727
46725
|
pre: (attrs, shared) => {
|
46728
46726
|
const counter = idGen$a.nextUid();
|
46729
46727
|
shared.set('counter', counter);
|
46730
|
-
return `<${tagName$x} wmLiveTable
|
46728
|
+
return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
46731
46729
|
},
|
46732
46730
|
post: () => `</${tagName$x}>`,
|
46733
46731
|
provide: (attrs, shared) => {
|
@@ -47734,7 +47732,7 @@ register('wm-table', () => {
|
|
47734
47732
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
47735
47733
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
47736
47734
|
attrs.set('table_reference', counter);
|
47737
|
-
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table"
|
47735
|
+
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
47738
47736
|
},
|
47739
47737
|
post: () => `</${tagName$3}>`,
|
47740
47738
|
provide: (attrs, shared) => {
|
@@ -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$q = 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$q.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$p = new IDGenerator('wm_anchor');
|
45082
45082
|
register('wm-anchor', () => {
|
45083
45083
|
return {
|
45084
45084
|
pre: (attrs) => {
|
45085
|
-
const counter = idGen$
|
45085
|
+
const counter = idGen$p.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$o = new IDGenerator('wm_html');
|
45114
45114
|
register('wm-html', () => {
|
45115
45115
|
return {
|
45116
45116
|
pre: (attrs) => {
|
45117
|
-
const counter = idGen$
|
45117
|
+
const counter = idGen$o.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,12 +45156,10 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
45156
45156
|
});
|
45157
45157
|
|
45158
45158
|
const tagName$1v = 'label';
|
45159
|
-
const idGen$o = new IDGenerator('wm_label');
|
45160
45159
|
register('wm-label', () => {
|
45161
45160
|
return {
|
45162
45161
|
pre: (attrs) => {
|
45163
|
-
|
45164
|
-
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint || 'Label text'" ${getAttrMarkup(attrs)}>`;
|
45162
|
+
return `<${tagName$1v} wmLabel ${getAttrMarkup(attrs)}>`;
|
45165
45163
|
},
|
45166
45164
|
post: () => `</${tagName$1v}>`
|
45167
45165
|
};
|
@@ -46727,7 +46725,7 @@ register('wm-livetable', () => {
|
|
46727
46725
|
pre: (attrs, shared) => {
|
46728
46726
|
const counter = idGen$a.nextUid();
|
46729
46727
|
shared.set('counter', counter);
|
46730
|
-
return `<${tagName$x} wmLiveTable
|
46728
|
+
return `<${tagName$x} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
46731
46729
|
},
|
46732
46730
|
post: () => `</${tagName$x}>`,
|
46733
46731
|
provide: (attrs, shared) => {
|
@@ -47734,7 +47732,7 @@ register('wm-table', () => {
|
|
47734
47732
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
47735
47733
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
47736
47734
|
attrs.set('table_reference', counter);
|
47737
|
-
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table"
|
47735
|
+
return `<${tagName$3} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
47738
47736
|
},
|
47739
47737
|
post: () => `</${tagName$3}>`,
|
47740
47738
|
provide: (attrs, shared) => {
|