@wavemaker/angular-codegen 11.9.0-next.27453 → 11.9.0-next.27458
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.
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@metrichor/jmespath": "0.3.1",
|
|
37
37
|
"@wavemaker/focus-trap": "1.0.1",
|
|
38
38
|
"@wavemaker/nvd3": "1.8.12",
|
|
39
|
-
"@wavemaker/variables": "11.9.0-next.
|
|
39
|
+
"@wavemaker/variables": "11.9.0-next.27458",
|
|
40
40
|
"@ztree/ztree_v3": "3.5.48",
|
|
41
41
|
"angular-imask": "^7.6.1",
|
|
42
42
|
"angular2-websocket": "0.9.7",
|
|
@@ -6943,9 +6943,9 @@
|
|
|
6943
6943
|
}
|
|
6944
6944
|
},
|
|
6945
6945
|
"node_modules/@wavemaker/variables": {
|
|
6946
|
-
"version": "11.9.0-next.
|
|
6947
|
-
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.9.0-next.
|
|
6948
|
-
"integrity": "sha512-
|
|
6946
|
+
"version": "11.9.0-next.27458",
|
|
6947
|
+
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.9.0-next.27458.tgz",
|
|
6948
|
+
"integrity": "sha512-TZHvcppvNg6H7sy+zTb4JsNNHhx3fAupZk9xZ6Gdtuk51kWjxPJ9roO9SIIayVqa9Obge3CMA3jUYLSiZPqnCQ==",
|
|
6949
6949
|
"dependencies": {
|
|
6950
6950
|
"@metrichor/jmespath": "^0.3.1",
|
|
6951
6951
|
"he": "^1.2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@metrichor/jmespath": "0.3.1",
|
|
46
46
|
"@wavemaker/focus-trap": "1.0.1",
|
|
47
47
|
"@wavemaker/nvd3": "1.8.12",
|
|
48
|
-
"@wavemaker/variables": "11.9.0-next.
|
|
48
|
+
"@wavemaker/variables": "11.9.0-next.27458",
|
|
49
49
|
"@ztree/ztree_v3": "3.5.48",
|
|
50
50
|
"angular-imask": "^7.6.1",
|
|
51
51
|
"angular2-websocket": "0.9.7",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"tslib": "2.4.1",
|
|
71
71
|
"x2js": "3.4.4",
|
|
72
72
|
"zone.js": "0.14.7",
|
|
73
|
-
"@wavemaker/app-ng-runtime": "11.9.0-next.
|
|
73
|
+
"@wavemaker/app-ng-runtime": "11.9.0-next.27458"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
|
@@ -90351,13 +90351,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
90351
90351
|
|
|
90352
90352
|
const carouselTagName = 'carousel';
|
|
90353
90353
|
const dataSetKey$5 = 'dataset';
|
|
90354
|
-
const idGen$
|
|
90354
|
+
const idGen$t = new IDGenerator('wm_carousel_ref_');
|
|
90355
90355
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
90356
90356
|
register('wm-carousel', () => {
|
|
90357
90357
|
return {
|
|
90358
90358
|
pre: (attrs, shared) => {
|
|
90359
90359
|
// generating unique Id for the carousel
|
|
90360
|
-
const counter = idGen$
|
|
90360
|
+
const counter = idGen$t.nextUid();
|
|
90361
90361
|
shared.set('carousel_ref', counter);
|
|
90362
90362
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
90363
90363
|
},
|
|
@@ -90459,11 +90459,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90459
90459
|
});
|
|
90460
90460
|
|
|
90461
90461
|
const tagName$1A = 'a';
|
|
90462
|
-
const idGen$
|
|
90462
|
+
const idGen$s = new IDGenerator('wm_anchor');
|
|
90463
90463
|
register('wm-anchor', () => {
|
|
90464
90464
|
return {
|
|
90465
90465
|
pre: (attrs) => {
|
|
90466
|
-
const counter = idGen$
|
|
90466
|
+
const counter = idGen$s.nextUid();
|
|
90467
90467
|
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
90468
90468
|
},
|
|
90469
90469
|
post: () => `</${tagName$1A}>`
|
|
@@ -90491,11 +90491,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90491
90491
|
});
|
|
90492
90492
|
|
|
90493
90493
|
const tagName$1y = 'div';
|
|
90494
|
-
const idGen$
|
|
90494
|
+
const idGen$r = new IDGenerator('wm_html');
|
|
90495
90495
|
register('wm-html', () => {
|
|
90496
90496
|
return {
|
|
90497
90497
|
pre: (attrs) => {
|
|
90498
|
-
const counter = idGen$
|
|
90498
|
+
const counter = idGen$r.nextUid();
|
|
90499
90499
|
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
90500
90500
|
},
|
|
90501
90501
|
post: () => `</${tagName$1y}>`
|
|
@@ -90537,7 +90537,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90537
90537
|
});
|
|
90538
90538
|
|
|
90539
90539
|
let tagName$1v = 'p';
|
|
90540
|
-
const idGen$
|
|
90540
|
+
const idGen$q = new IDGenerator('wm_label');
|
|
90541
90541
|
register('wm-label', () => {
|
|
90542
90542
|
return {
|
|
90543
90543
|
pre: (attrs) => {
|
|
@@ -90551,7 +90551,7 @@ register('wm-label', () => {
|
|
|
90551
90551
|
else {
|
|
90552
90552
|
tagName$1v = 'label';
|
|
90553
90553
|
}
|
|
90554
|
-
const counter = idGen$
|
|
90554
|
+
const counter = idGen$q.nextUid();
|
|
90555
90555
|
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
90556
90556
|
},
|
|
90557
90557
|
post: () => `</${tagName$1v}>`
|
|
@@ -90565,11 +90565,11 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90565
90565
|
});
|
|
90566
90566
|
|
|
90567
90567
|
const tagName$1u = 'img';
|
|
90568
|
-
const idGen$
|
|
90568
|
+
const idGen$p = new IDGenerator('wm_picture');
|
|
90569
90569
|
register('wm-picture', () => {
|
|
90570
90570
|
return {
|
|
90571
90571
|
pre: (attrs) => {
|
|
90572
|
-
const counter = idGen$
|
|
90572
|
+
const counter = idGen$p.nextUid();
|
|
90573
90573
|
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
90574
90574
|
}
|
|
90575
90575
|
};
|
|
@@ -90582,11 +90582,11 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90582
90582
|
});
|
|
90583
90583
|
|
|
90584
90584
|
const tagName$1t = 'div';
|
|
90585
|
-
const idGen$
|
|
90585
|
+
const idGen$o = new IDGenerator('wm_spinner');
|
|
90586
90586
|
register('wm-spinner', () => {
|
|
90587
90587
|
return {
|
|
90588
90588
|
pre: (attrs) => {
|
|
90589
|
-
const counter = idGen$
|
|
90589
|
+
const counter = idGen$o.nextUid();
|
|
90590
90590
|
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
90591
90591
|
},
|
|
90592
90592
|
post: () => `</${tagName$1t}>`
|
|
@@ -90639,9 +90639,13 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
90639
90639
|
});
|
|
90640
90640
|
|
|
90641
90641
|
const tagName$1r = 'div';
|
|
90642
|
+
const idGen$n = new IDGenerator('wm_progress_circle');
|
|
90642
90643
|
register('wm-progress-circle', () => {
|
|
90643
90644
|
return {
|
|
90644
|
-
pre: attrs =>
|
|
90645
|
+
pre: (attrs) => {
|
|
90646
|
+
const counter = idGen$n.nextUid();
|
|
90647
|
+
return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
|
|
90648
|
+
},
|
|
90645
90649
|
post: () => `</${tagName$1r}>`
|
|
90646
90650
|
};
|
|
90647
90651
|
});
|
|
@@ -91106,7 +91110,7 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
91106
91110
|
const tagName$12 = 'div';
|
|
91107
91111
|
register('wm-alertdialog', () => {
|
|
91108
91112
|
return {
|
|
91109
|
-
pre: attrs => `<${tagName$12} wmAlertDialog
|
|
91113
|
+
pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
91110
91114
|
post: () => `</${tagName$12}>`
|
|
91111
91115
|
};
|
|
91112
91116
|
});
|
|
@@ -91643,7 +91647,7 @@ register('wm-calendar', () => {
|
|
|
91643
91647
|
return {
|
|
91644
91648
|
pre: (attrs) => {
|
|
91645
91649
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
91646
|
-
return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
91650
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
91647
91651
|
},
|
|
91648
91652
|
post: () => `</${tagName$U}>`
|
|
91649
91653
|
};
|
|
@@ -91909,7 +91913,7 @@ register('wm-fileupload', () => {
|
|
|
91909
91913
|
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
|
91910
91914
|
attrs.set('datasource.bind', onSelectBinding);
|
|
91911
91915
|
}
|
|
91912
|
-
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}
|
|
91916
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}>`;
|
|
91913
91917
|
},
|
|
91914
91918
|
post: () => `</${tagName$C}>`
|
|
91915
91919
|
};
|
|
@@ -101542,13 +101542,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
|
101542
101542
|
|
|
101543
101543
|
const carouselTagName = 'carousel';
|
|
101544
101544
|
const dataSetKey$5 = 'dataset';
|
|
101545
|
-
const idGen$
|
|
101545
|
+
const idGen$t = new IDGenerator('wm_carousel_ref_');
|
|
101546
101546
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
101547
101547
|
register('wm-carousel', () => {
|
|
101548
101548
|
return {
|
|
101549
101549
|
pre: (attrs, shared) => {
|
|
101550
101550
|
// generating unique Id for the carousel
|
|
101551
|
-
const counter = idGen$
|
|
101551
|
+
const counter = idGen$t.nextUid();
|
|
101552
101552
|
shared.set('carousel_ref', counter);
|
|
101553
101553
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
101554
101554
|
},
|
|
@@ -101650,11 +101650,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101650
101650
|
});
|
|
101651
101651
|
|
|
101652
101652
|
const tagName$1A = 'a';
|
|
101653
|
-
const idGen$
|
|
101653
|
+
const idGen$s = new IDGenerator('wm_anchor');
|
|
101654
101654
|
register('wm-anchor', () => {
|
|
101655
101655
|
return {
|
|
101656
101656
|
pre: (attrs) => {
|
|
101657
|
-
const counter = idGen$
|
|
101657
|
+
const counter = idGen$s.nextUid();
|
|
101658
101658
|
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
101659
101659
|
},
|
|
101660
101660
|
post: () => `</${tagName$1A}>`
|
|
@@ -101682,11 +101682,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101682
101682
|
});
|
|
101683
101683
|
|
|
101684
101684
|
const tagName$1y = 'div';
|
|
101685
|
-
const idGen$
|
|
101685
|
+
const idGen$r = new IDGenerator('wm_html');
|
|
101686
101686
|
register('wm-html', () => {
|
|
101687
101687
|
return {
|
|
101688
101688
|
pre: (attrs) => {
|
|
101689
|
-
const counter = idGen$
|
|
101689
|
+
const counter = idGen$r.nextUid();
|
|
101690
101690
|
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
101691
101691
|
},
|
|
101692
101692
|
post: () => `</${tagName$1y}>`
|
|
@@ -101728,7 +101728,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101728
101728
|
});
|
|
101729
101729
|
|
|
101730
101730
|
let tagName$1v = 'p';
|
|
101731
|
-
const idGen$
|
|
101731
|
+
const idGen$q = new IDGenerator('wm_label');
|
|
101732
101732
|
register('wm-label', () => {
|
|
101733
101733
|
return {
|
|
101734
101734
|
pre: (attrs) => {
|
|
@@ -101742,7 +101742,7 @@ register('wm-label', () => {
|
|
|
101742
101742
|
else {
|
|
101743
101743
|
tagName$1v = 'label';
|
|
101744
101744
|
}
|
|
101745
|
-
const counter = idGen$
|
|
101745
|
+
const counter = idGen$q.nextUid();
|
|
101746
101746
|
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
101747
101747
|
},
|
|
101748
101748
|
post: () => `</${tagName$1v}>`
|
|
@@ -101756,11 +101756,11 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101756
101756
|
});
|
|
101757
101757
|
|
|
101758
101758
|
const tagName$1u = 'img';
|
|
101759
|
-
const idGen$
|
|
101759
|
+
const idGen$p = new IDGenerator('wm_picture');
|
|
101760
101760
|
register('wm-picture', () => {
|
|
101761
101761
|
return {
|
|
101762
101762
|
pre: (attrs) => {
|
|
101763
|
-
const counter = idGen$
|
|
101763
|
+
const counter = idGen$p.nextUid();
|
|
101764
101764
|
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
101765
101765
|
}
|
|
101766
101766
|
};
|
|
@@ -101773,11 +101773,11 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101773
101773
|
});
|
|
101774
101774
|
|
|
101775
101775
|
const tagName$1t = 'div';
|
|
101776
|
-
const idGen$
|
|
101776
|
+
const idGen$o = new IDGenerator('wm_spinner');
|
|
101777
101777
|
register('wm-spinner', () => {
|
|
101778
101778
|
return {
|
|
101779
101779
|
pre: (attrs) => {
|
|
101780
|
-
const counter = idGen$
|
|
101780
|
+
const counter = idGen$o.nextUid();
|
|
101781
101781
|
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
101782
101782
|
},
|
|
101783
101783
|
post: () => `</${tagName$1t}>`
|
|
@@ -101830,9 +101830,13 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
101830
101830
|
});
|
|
101831
101831
|
|
|
101832
101832
|
const tagName$1r = 'div';
|
|
101833
|
+
const idGen$n = new IDGenerator('wm_progress_circle');
|
|
101833
101834
|
register('wm-progress-circle', () => {
|
|
101834
101835
|
return {
|
|
101835
|
-
pre: attrs =>
|
|
101836
|
+
pre: (attrs) => {
|
|
101837
|
+
const counter = idGen$n.nextUid();
|
|
101838
|
+
return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
|
|
101839
|
+
},
|
|
101836
101840
|
post: () => `</${tagName$1r}>`
|
|
101837
101841
|
};
|
|
101838
101842
|
});
|
|
@@ -102297,7 +102301,7 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
102297
102301
|
const tagName$12 = 'div';
|
|
102298
102302
|
register('wm-alertdialog', () => {
|
|
102299
102303
|
return {
|
|
102300
|
-
pre: attrs => `<${tagName$12} wmAlertDialog
|
|
102304
|
+
pre: attrs => `<${tagName$12} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
102301
102305
|
post: () => `</${tagName$12}>`
|
|
102302
102306
|
};
|
|
102303
102307
|
});
|
|
@@ -102834,7 +102838,7 @@ register('wm-calendar', () => {
|
|
|
102834
102838
|
return {
|
|
102835
102839
|
pre: (attrs) => {
|
|
102836
102840
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
102837
|
-
return `<${tagName$U} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
102841
|
+
return `<${tagName$U} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
102838
102842
|
},
|
|
102839
102843
|
post: () => `</${tagName$U}>`
|
|
102840
102844
|
};
|
|
@@ -103100,7 +103104,7 @@ register('wm-fileupload', () => {
|
|
|
103100
103104
|
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
|
103101
103105
|
attrs.set('datasource.bind', onSelectBinding);
|
|
103102
103106
|
}
|
|
103103
|
-
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}
|
|
103107
|
+
return `<${tagName$C} wmFileUpload ${getAttrMarkup(attrs)}>`;
|
|
103104
103108
|
},
|
|
103105
103109
|
post: () => `</${tagName$C}>`
|
|
103106
103110
|
};
|