@wavemaker/angular-codegen 12.0.0-next.44005 → 12.0.0-next.45001
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/angular.json +20 -0
- angular-codegen/angular-app/package-lock.json +4 -4
- angular-codegen/angular-app/package.json +2 -2
- angular-codegen/dependencies/pipe-provider.cjs.js +4 -0
- angular-codegen/dependencies/transpilation-mobile.cjs.js +489 -404
- angular-codegen/dependencies/transpilation-web.cjs.js +489 -404
- angular-codegen/package.json +1 -1
@@ -63349,6 +63349,7 @@ var FormWidgetType;
|
|
63349
63349
|
FormWidgetType["TIMESTAMP"] = "timestamp";
|
63350
63350
|
FormWidgetType["TYPEAHEAD"] = "typeahead";
|
63351
63351
|
FormWidgetType["UPLOAD"] = "upload";
|
63352
|
+
FormWidgetType["CUSTOM"] = "custom";
|
63352
63353
|
})(FormWidgetType || (FormWidgetType = {}));
|
63353
63354
|
var DataType;
|
63354
63355
|
(function (DataType) {
|
@@ -63479,6 +63480,9 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
|
|
63479
63480
|
case FormWidgetType.TIMESTAMP:
|
63480
63481
|
tmpl = `<div wmDateTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl} role="input" ${showTmpl}></div>`;
|
63481
63482
|
break;
|
63483
|
+
case FormWidgetType.CUSTOM:
|
63484
|
+
tmpl = `<div wmWidgetContainer customWidgetContainer ${attrs.get('required') === 'true' ? 'required=true' : ''} ${innerTmpl} ${showTmpl}></div>`;
|
63485
|
+
break;
|
63482
63486
|
case FormWidgetType.UPLOAD:
|
63483
63487
|
const counter = options.counter;
|
63484
63488
|
const pCounter = options.pCounter;
|
@@ -63529,6 +63533,8 @@ const getRequiredFormWidget = (widgetType) => {
|
|
63529
63533
|
return 'wm-richtexteditor';
|
63530
63534
|
case FormWidgetType.SLIDER:
|
63531
63535
|
return 'wm-slider';
|
63536
|
+
case FormWidgetType.CUSTOM:
|
63537
|
+
return 'wm-custom-widget';
|
63532
63538
|
default:
|
63533
63539
|
return 'wm-text';
|
63534
63540
|
}
|
@@ -64266,6 +64272,7 @@ var ComponentType;
|
|
64266
64272
|
ComponentType[ComponentType["PAGE"] = 0] = "PAGE";
|
64267
64273
|
ComponentType[ComponentType["PREFAB"] = 1] = "PREFAB";
|
64268
64274
|
ComponentType[ComponentType["PARTIAL"] = 2] = "PARTIAL";
|
64275
|
+
ComponentType[ComponentType["WIDGET"] = 3] = "WIDGET";
|
64269
64276
|
})(ComponentType || (ComponentType = {}));
|
64270
64277
|
var Operation;
|
64271
64278
|
(function (Operation) {
|
@@ -67058,6 +67065,7 @@ const LEFT_PANEL_MODULE = [{ from: '@wm/components/page/left-panel', name: 'Left
|
|
67058
67065
|
{ from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE' }];
|
67059
67066
|
const LIST_MODULE = [...PAGINATION_MODULE, ...INPUT_MODULE, { from: '@wm/components/data/list', name: 'ListModule' }];
|
67060
67067
|
const LOGIN_MODULE = [{ from: '@wm/components/advanced/login', name: 'LoginModule' }];
|
67068
|
+
const CUSTOM_MODULE = [{ from: '@wm/components/advanced/custom', name: 'CustomModule' }];
|
67061
67069
|
const MOBILE_NAV_BAR_MODULE = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, { from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule' }];
|
67062
67070
|
const MEDIA_LIST_MODULE = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, { from: '@wm/mobile/components/data/media-list', name: 'MediaListModule' }];
|
67063
67071
|
const MOBILE_TAB_BAR_MODULE = [{ from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule' }];
|
@@ -67130,6 +67138,7 @@ const WIDGET_IMPORTS = new Map([
|
|
67130
67138
|
['wm-list', LIST_MODULE],
|
67131
67139
|
['wm-livetable', LIVE_TABLE_MODULE],
|
67132
67140
|
['wm-login', LOGIN_MODULE],
|
67141
|
+
['wm-custom', CUSTOM_MODULE],
|
67133
67142
|
['wm-logindialog', LOGIN_DIALOG_MODULE],
|
67134
67143
|
['wm-marquee', MARQUEE_MODULE],
|
67135
67144
|
['wm-menu', MENU_MODULE],
|
@@ -67642,6 +67651,9 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
67642
67651
|
else if (componentType === 2 || componentType === 'PARTIAL') {
|
67643
67652
|
s = `${prefix} app-partial-${componentName} ${s}`;
|
67644
67653
|
}
|
67654
|
+
else if (componentType === 3 || componentType === 'WIDGET') {
|
67655
|
+
s = `${prefix} app-custom-${componentName} ${s}`;
|
67656
|
+
}
|
67645
67657
|
return s;
|
67646
67658
|
}).join(',');
|
67647
67659
|
}
|
@@ -67657,13 +67669,13 @@ const scopeComponentStyles = (componentName, componentType, styles = '') => {
|
|
67657
67669
|
|
67658
67670
|
const carouselTagName = 'carousel';
|
67659
67671
|
const dataSetKey$5 = 'dataset';
|
67660
|
-
const idGen$
|
67672
|
+
const idGen$t = new IDGenerator('wm_carousel_ref_');
|
67661
67673
|
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
67662
67674
|
register('wm-carousel', () => {
|
67663
67675
|
return {
|
67664
67676
|
pre: (attrs, shared) => {
|
67665
67677
|
// generating unique Id for the carousel
|
67666
|
-
const counter = idGen$
|
67678
|
+
const counter = idGen$t.nextUid();
|
67667
67679
|
shared.set('carousel_ref', counter);
|
67668
67680
|
return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
67669
67681
|
},
|
@@ -67729,11 +67741,11 @@ var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
67729
67741
|
default: carouselTemplate_build
|
67730
67742
|
});
|
67731
67743
|
|
67732
|
-
const tagName$
|
67744
|
+
const tagName$1F = 'div';
|
67733
67745
|
register('wm-login', () => {
|
67734
67746
|
return {
|
67735
|
-
pre: attrs => `<${tagName$
|
67736
|
-
post: () => `</${tagName$
|
67747
|
+
pre: attrs => `<${tagName$1F} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
67748
|
+
post: () => `</${tagName$1F}>`,
|
67737
67749
|
provide: () => {
|
67738
67750
|
const provider = new Map();
|
67739
67751
|
provider.set('isLogin', true);
|
@@ -67748,11 +67760,11 @@ var login_build$1 = /*#__PURE__*/Object.freeze({
|
|
67748
67760
|
default: login_build
|
67749
67761
|
});
|
67750
67762
|
|
67751
|
-
const tagName$
|
67763
|
+
const tagName$1E = 'marquee';
|
67752
67764
|
register('wm-marquee', () => {
|
67753
67765
|
return {
|
67754
|
-
pre: attrs => `<${tagName$
|
67755
|
-
post: () => `</${tagName$
|
67766
|
+
pre: attrs => `<${tagName$1E} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
|
67767
|
+
post: () => `</${tagName$1E}>`
|
67756
67768
|
};
|
67757
67769
|
});
|
67758
67770
|
var marquee_build = () => { };
|
@@ -67762,15 +67774,15 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
67762
67774
|
default: marquee_build
|
67763
67775
|
});
|
67764
67776
|
|
67765
|
-
const tagName$
|
67766
|
-
const idGen$
|
67777
|
+
const tagName$1D = 'a';
|
67778
|
+
const idGen$s = new IDGenerator('wm_anchor');
|
67767
67779
|
register('wm-anchor', () => {
|
67768
67780
|
return {
|
67769
67781
|
pre: (attrs) => {
|
67770
|
-
const counter = idGen$
|
67771
|
-
return `<${tagName$
|
67782
|
+
const counter = idGen$s.nextUid();
|
67783
|
+
return `<${tagName$1D} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
|
67772
67784
|
},
|
67773
|
-
post: () => `</${tagName$
|
67785
|
+
post: () => `</${tagName$1D}>`
|
67774
67786
|
};
|
67775
67787
|
});
|
67776
67788
|
var anchor_build = () => { };
|
@@ -67780,11 +67792,11 @@ var anchor_build$1 = /*#__PURE__*/Object.freeze({
|
|
67780
67792
|
default: anchor_build
|
67781
67793
|
});
|
67782
67794
|
|
67783
|
-
const tagName$
|
67795
|
+
const tagName$1C = 'div';
|
67784
67796
|
register('wm-audio', () => {
|
67785
67797
|
return {
|
67786
|
-
pre: attrs => `<${tagName$
|
67787
|
-
post: () => `</${tagName$
|
67798
|
+
pre: attrs => `<${tagName$1C} wmAudio ${getAttrMarkup(attrs)}>`,
|
67799
|
+
post: () => `</${tagName$1C}>`
|
67788
67800
|
};
|
67789
67801
|
});
|
67790
67802
|
var audio_build = () => { };
|
@@ -67794,15 +67806,15 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
67794
67806
|
default: audio_build
|
67795
67807
|
});
|
67796
67808
|
|
67797
|
-
const tagName$
|
67798
|
-
const idGen$
|
67809
|
+
const tagName$1B = 'div';
|
67810
|
+
const idGen$r = new IDGenerator('wm_html');
|
67799
67811
|
register('wm-html', () => {
|
67800
67812
|
return {
|
67801
67813
|
pre: (attrs) => {
|
67802
|
-
const counter = idGen$
|
67803
|
-
return `<${tagName$
|
67814
|
+
const counter = idGen$r.nextUid();
|
67815
|
+
return `<${tagName$1B} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.hint || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
67804
67816
|
},
|
67805
|
-
post: () => `</${tagName$
|
67817
|
+
post: () => `</${tagName$1B}>`
|
67806
67818
|
};
|
67807
67819
|
});
|
67808
67820
|
var html_build = () => { };
|
@@ -67812,11 +67824,11 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
67812
67824
|
default: html_build
|
67813
67825
|
});
|
67814
67826
|
|
67815
|
-
const tagName$
|
67827
|
+
const tagName$1A = 'span';
|
67816
67828
|
register('wm-icon', () => {
|
67817
67829
|
return {
|
67818
|
-
pre: attrs => `<${tagName$
|
67819
|
-
post: () => `</${tagName$
|
67830
|
+
pre: attrs => `<${tagName$1A} wmIcon aria-hidden="true" ${getAttrMarkup(attrs)}>`,
|
67831
|
+
post: () => `</${tagName$1A}>`
|
67820
67832
|
};
|
67821
67833
|
});
|
67822
67834
|
var icon_build = () => { };
|
@@ -67826,11 +67838,11 @@ var icon_build$1 = /*#__PURE__*/Object.freeze({
|
|
67826
67838
|
default: icon_build
|
67827
67839
|
});
|
67828
67840
|
|
67829
|
-
const tagName$
|
67841
|
+
const tagName$1z = 'div';
|
67830
67842
|
register('wm-iframe', () => {
|
67831
67843
|
return {
|
67832
|
-
pre: attrs => `<${tagName$
|
67833
|
-
post: () => `</${tagName$
|
67844
|
+
pre: attrs => `<${tagName$1z} wmIframe ${getAttrMarkup(attrs)}>`,
|
67845
|
+
post: () => `</${tagName$1z}>`
|
67834
67846
|
};
|
67835
67847
|
});
|
67836
67848
|
var iframe_build = () => { };
|
@@ -67840,8 +67852,8 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
67840
67852
|
default: iframe_build
|
67841
67853
|
});
|
67842
67854
|
|
67843
|
-
let tagName$
|
67844
|
-
const idGen$
|
67855
|
+
let tagName$1y = 'p';
|
67856
|
+
const idGen$q = new IDGenerator('wm_label');
|
67845
67857
|
register('wm-label', () => {
|
67846
67858
|
return {
|
67847
67859
|
pre: (attrs) => {
|
@@ -67850,15 +67862,15 @@ register('wm-label', () => {
|
|
67850
67862
|
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
67851
67863
|
attrs.set('type', classList.length ? classList[0] : "p");
|
67852
67864
|
}
|
67853
|
-
tagName$
|
67865
|
+
tagName$1y = attrs.get('type');
|
67854
67866
|
}
|
67855
67867
|
else {
|
67856
|
-
tagName$
|
67868
|
+
tagName$1y = 'label';
|
67857
67869
|
}
|
67858
|
-
const counter = idGen$
|
67859
|
-
return `<${tagName$
|
67870
|
+
const counter = idGen$q.nextUid();
|
67871
|
+
return `<${tagName$1y} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
67860
67872
|
},
|
67861
|
-
post: () => `</${tagName$
|
67873
|
+
post: () => `</${tagName$1y}>`
|
67862
67874
|
};
|
67863
67875
|
});
|
67864
67876
|
var label_build = () => { };
|
@@ -67868,13 +67880,13 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
67868
67880
|
default: label_build
|
67869
67881
|
});
|
67870
67882
|
|
67871
|
-
const tagName$
|
67872
|
-
const idGen$
|
67883
|
+
const tagName$1x = 'img';
|
67884
|
+
const idGen$p = new IDGenerator('wm_picture');
|
67873
67885
|
register('wm-picture', () => {
|
67874
67886
|
return {
|
67875
67887
|
pre: (attrs) => {
|
67876
|
-
const counter = idGen$
|
67877
|
-
return `<${tagName$
|
67888
|
+
const counter = idGen$p.nextUid();
|
67889
|
+
return `<${tagName$1x} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.hint || 'Image'" ${getAttrMarkup(attrs)}>`;
|
67878
67890
|
}
|
67879
67891
|
};
|
67880
67892
|
});
|
@@ -67885,15 +67897,15 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
67885
67897
|
default: picture_build
|
67886
67898
|
});
|
67887
67899
|
|
67888
|
-
const tagName$
|
67889
|
-
const idGen$
|
67900
|
+
const tagName$1w = 'div';
|
67901
|
+
const idGen$o = new IDGenerator('wm_spinner');
|
67890
67902
|
register('wm-spinner', () => {
|
67891
67903
|
return {
|
67892
67904
|
pre: (attrs) => {
|
67893
|
-
const counter = idGen$
|
67894
|
-
return `<${tagName$
|
67905
|
+
const counter = idGen$o.nextUid();
|
67906
|
+
return `<${tagName$1w} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.hint || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
67895
67907
|
},
|
67896
|
-
post: () => `</${tagName$
|
67908
|
+
post: () => `</${tagName$1w}>`
|
67897
67909
|
};
|
67898
67910
|
});
|
67899
67911
|
var spinner_build = () => { };
|
@@ -67903,7 +67915,7 @@ var spinner_build$1 = /*#__PURE__*/Object.freeze({
|
|
67903
67915
|
default: spinner_build
|
67904
67916
|
});
|
67905
67917
|
|
67906
|
-
const tagName$
|
67918
|
+
const tagName$1v = 'div';
|
67907
67919
|
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
67908
67920
|
const getAttrValue = (node, attrName) => {
|
67909
67921
|
const match = getAttr(node, attrName);
|
@@ -67931,8 +67943,8 @@ register('wm-progress-bar', () => {
|
|
67931
67943
|
}
|
67932
67944
|
}
|
67933
67945
|
},
|
67934
|
-
pre: attrs => `<${tagName$
|
67935
|
-
post: () => `</${tagName$
|
67946
|
+
pre: attrs => `<${tagName$1v} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
67947
|
+
post: () => `</${tagName$1v}>`
|
67936
67948
|
};
|
67937
67949
|
});
|
67938
67950
|
var progressBar_build = () => { };
|
@@ -67942,11 +67954,11 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
67942
67954
|
default: progressBar_build
|
67943
67955
|
});
|
67944
67956
|
|
67945
|
-
const tagName$
|
67957
|
+
const tagName$1u = 'div';
|
67946
67958
|
register('wm-progress-circle', () => {
|
67947
67959
|
return {
|
67948
|
-
pre: attrs => `<${tagName$
|
67949
|
-
post: () => `</${tagName$
|
67960
|
+
pre: attrs => `<${tagName$1u} wmProgressCircle ${getAttrMarkup(attrs)}>`,
|
67961
|
+
post: () => `</${tagName$1u}>`
|
67950
67962
|
};
|
67951
67963
|
});
|
67952
67964
|
var progressCircle_build = () => { };
|
@@ -67956,15 +67968,15 @@ var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
67956
67968
|
default: progressCircle_build
|
67957
67969
|
});
|
67958
67970
|
|
67959
|
-
const tagName$
|
67960
|
-
const idGen$
|
67971
|
+
const tagName$1t = 'div';
|
67972
|
+
const idGen$n = new IDGenerator('wm_richtexteditor');
|
67961
67973
|
register('wm-richtexteditor', () => {
|
67962
67974
|
return {
|
67963
67975
|
pre: (attrs) => {
|
67964
|
-
const counter = idGen$
|
67965
|
-
return `<${tagName$
|
67976
|
+
const counter = idGen$n.nextUid();
|
67977
|
+
return `<${tagName$1t} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.hint || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
67966
67978
|
},
|
67967
|
-
post: () => `</${tagName$
|
67979
|
+
post: () => `</${tagName$1t}>`
|
67968
67980
|
};
|
67969
67981
|
});
|
67970
67982
|
var richTextEditor_build = () => { };
|
@@ -67974,11 +67986,11 @@ var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
|
|
67974
67986
|
default: richTextEditor_build
|
67975
67987
|
});
|
67976
67988
|
|
67977
|
-
const tagName$
|
67989
|
+
const tagName$1s = 'div';
|
67978
67990
|
register('wm-search', () => {
|
67979
67991
|
return {
|
67980
|
-
pre: attrs => `<${tagName$
|
67981
|
-
post: () => `</${tagName$
|
67992
|
+
pre: attrs => `<${tagName$1s} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
67993
|
+
post: () => `</${tagName$1s}>`
|
67982
67994
|
};
|
67983
67995
|
});
|
67984
67996
|
var search_build = () => { };
|
@@ -67988,11 +68000,11 @@ var search_build$1 = /*#__PURE__*/Object.freeze({
|
|
67988
68000
|
default: search_build
|
67989
68001
|
});
|
67990
68002
|
|
67991
|
-
const tagName$
|
68003
|
+
const tagName$1r = 'ul';
|
67992
68004
|
register('wm-tree', () => {
|
67993
68005
|
return {
|
67994
|
-
pre: attrs => `<${tagName$
|
67995
|
-
post: () => `</${tagName$
|
68006
|
+
pre: attrs => `<${tagName$1r} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
|
68007
|
+
post: () => `</${tagName$1r}>`
|
67996
68008
|
};
|
67997
68009
|
});
|
67998
68010
|
|
@@ -68000,11 +68012,11 @@ var tree_build = /*#__PURE__*/Object.freeze({
|
|
68000
68012
|
__proto__: null
|
68001
68013
|
});
|
68002
68014
|
|
68003
|
-
const tagName$
|
68015
|
+
const tagName$1q = 'div';
|
68004
68016
|
register('wm-card', () => {
|
68005
68017
|
return {
|
68006
|
-
pre: attrs => `<${tagName$
|
68007
|
-
post: () => `</${tagName$
|
68018
|
+
pre: attrs => `<${tagName$1q} wmCard ${getAttrMarkup(attrs)}>`,
|
68019
|
+
post: () => `</${tagName$1q}>`
|
68008
68020
|
};
|
68009
68021
|
});
|
68010
68022
|
var card_build = () => { };
|
@@ -68014,11 +68026,11 @@ var card_build$1 = /*#__PURE__*/Object.freeze({
|
|
68014
68026
|
default: card_build
|
68015
68027
|
});
|
68016
68028
|
|
68017
|
-
const tagName$
|
68029
|
+
const tagName$1p = 'div';
|
68018
68030
|
register('wm-card-content', () => {
|
68019
68031
|
return {
|
68020
|
-
pre: attrs => `<${tagName$
|
68021
|
-
post: () => `</${tagName$
|
68032
|
+
pre: attrs => `<${tagName$1p} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
68033
|
+
post: () => `</${tagName$1p}>`
|
68022
68034
|
};
|
68023
68035
|
});
|
68024
68036
|
var cardContent_build = () => { };
|
@@ -68028,11 +68040,11 @@ var cardContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
68028
68040
|
default: cardContent_build
|
68029
68041
|
});
|
68030
68042
|
|
68031
|
-
const tagName$
|
68043
|
+
const tagName$1o = 'div';
|
68032
68044
|
register('wm-card-actions', () => {
|
68033
68045
|
return {
|
68034
|
-
pre: attrs => `<${tagName$
|
68035
|
-
post: () => `</${tagName$
|
68046
|
+
pre: attrs => `<${tagName$1o} wmCardActions ${getAttrMarkup(attrs)}>`,
|
68047
|
+
post: () => `</${tagName$1o}>`
|
68036
68048
|
};
|
68037
68049
|
});
|
68038
68050
|
var cardActions_build = () => { };
|
@@ -68042,11 +68054,11 @@ var cardActions_build$1 = /*#__PURE__*/Object.freeze({
|
|
68042
68054
|
default: cardActions_build
|
68043
68055
|
});
|
68044
68056
|
|
68045
|
-
const tagName$
|
68057
|
+
const tagName$1n = 'div';
|
68046
68058
|
register('wm-card-footer', () => {
|
68047
68059
|
return {
|
68048
|
-
pre: attrs => `<${tagName$
|
68049
|
-
post: () => `</${tagName$
|
68060
|
+
pre: attrs => `<${tagName$1n} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
68061
|
+
post: () => `</${tagName$1n}>`
|
68050
68062
|
};
|
68051
68063
|
});
|
68052
68064
|
var cardFooter_build = () => { };
|
@@ -68056,11 +68068,11 @@ var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
68056
68068
|
default: cardFooter_build
|
68057
68069
|
});
|
68058
68070
|
|
68059
|
-
const tagName$
|
68071
|
+
const tagName$1m = 'div';
|
68060
68072
|
register('wm-chart', () => {
|
68061
68073
|
return {
|
68062
|
-
pre: attrs => `<${tagName$
|
68063
|
-
post: () => `</${tagName$
|
68074
|
+
pre: attrs => `<${tagName$1m} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
68075
|
+
post: () => `</${tagName$1m}>`
|
68064
68076
|
};
|
68065
68077
|
});
|
68066
68078
|
var chart_build = () => { };
|
@@ -68070,19 +68082,19 @@ var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
68070
68082
|
default: chart_build
|
68071
68083
|
});
|
68072
68084
|
|
68073
|
-
const tagName$
|
68085
|
+
const tagName$1l = 'div';
|
68074
68086
|
const dataSetKey$4 = 'dataset';
|
68075
|
-
const idGen$
|
68087
|
+
const idGen$m = new IDGenerator('wm_accordion_ref_');
|
68076
68088
|
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
68077
68089
|
register('wm-accordion', () => {
|
68078
68090
|
return {
|
68079
68091
|
pre: (attrs, shared) => {
|
68080
68092
|
// generating unique Id for the accordion
|
68081
|
-
const counter = idGen$
|
68093
|
+
const counter = idGen$m.nextUid();
|
68082
68094
|
shared.set('accordion_ref', counter);
|
68083
|
-
return `<${tagName$
|
68095
|
+
return `<${tagName$1l} wmAccordion #${counter}="wmAccordion" role="tablist" aria-multiselectable="true" ${getAttrMarkup(attrs)}>`;
|
68084
68096
|
},
|
68085
|
-
post: () => `</${tagName$
|
68097
|
+
post: () => `</${tagName$1l}>`,
|
68086
68098
|
template: (node, shared) => {
|
68087
68099
|
// check if the accordion is dynamic
|
68088
68100
|
if (isDynamicAccordion(node)) {
|
@@ -68113,15 +68125,15 @@ var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
68113
68125
|
default: accordion_build
|
68114
68126
|
});
|
68115
68127
|
|
68116
|
-
const tagName$
|
68117
|
-
const idGen$
|
68128
|
+
const tagName$1k = 'div';
|
68129
|
+
const idGen$l = new IDGenerator('wm_accordionpane');
|
68118
68130
|
register('wm-accordionpane', () => {
|
68119
68131
|
return {
|
68120
68132
|
pre: (attrs) => {
|
68121
|
-
const counter = idGen$
|
68122
|
-
return `<${tagName$
|
68133
|
+
const counter = idGen$l.nextUid();
|
68134
|
+
return `<${tagName$1k} #${counter}="wmAccordionPane" [attr.aria-expanded]="${counter}.isActive" wmAccordionPane partialContainer wm-navigable-element="true" role="tab" ${getAttrMarkup(attrs)}>`;
|
68123
68135
|
},
|
68124
|
-
post: () => `</${tagName$
|
68136
|
+
post: () => `</${tagName$1k}>`
|
68125
68137
|
};
|
68126
68138
|
});
|
68127
68139
|
var accordionPane_build = () => { };
|
@@ -68131,11 +68143,11 @@ var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
68131
68143
|
default: accordionPane_build
|
68132
68144
|
});
|
68133
68145
|
|
68134
|
-
const tagName$
|
68146
|
+
const tagName$1j = 'div';
|
68135
68147
|
register('wm-container', () => {
|
68136
68148
|
return {
|
68137
|
-
pre: attrs => `<${tagName$
|
68138
|
-
post: () => `</${tagName$
|
68149
|
+
pre: attrs => `<${tagName$1j} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
68150
|
+
post: () => `</${tagName$1j}>`
|
68139
68151
|
};
|
68140
68152
|
});
|
68141
68153
|
var container_build = () => { };
|
@@ -68145,11 +68157,11 @@ var container_build$1 = /*#__PURE__*/Object.freeze({
|
|
68145
68157
|
default: container_build
|
68146
68158
|
});
|
68147
68159
|
|
68148
|
-
const tagName$
|
68160
|
+
const tagName$1i = 'div';
|
68149
68161
|
register('wm-gridcolumn', () => {
|
68150
68162
|
return {
|
68151
|
-
pre: attrs => `<${tagName$
|
68152
|
-
post: () => `</${tagName$
|
68163
|
+
pre: attrs => `<${tagName$1i} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
68164
|
+
post: () => `</${tagName$1i}>`
|
68153
68165
|
};
|
68154
68166
|
});
|
68155
68167
|
var layoutGridColumn_build = () => { };
|
@@ -68159,11 +68171,11 @@ var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
68159
68171
|
default: layoutGridColumn_build
|
68160
68172
|
});
|
68161
68173
|
|
68162
|
-
const tagName$
|
68174
|
+
const tagName$1h = 'div';
|
68163
68175
|
register('wm-gridrow', () => {
|
68164
68176
|
return {
|
68165
|
-
pre: attrs => `<${tagName$
|
68166
|
-
post: () => `</${tagName$
|
68177
|
+
pre: attrs => `<${tagName$1h} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
68178
|
+
post: () => `</${tagName$1h}>`
|
68167
68179
|
};
|
68168
68180
|
});
|
68169
68181
|
var layoutGridRow_build = () => { };
|
@@ -68173,11 +68185,11 @@ var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
68173
68185
|
default: layoutGridRow_build
|
68174
68186
|
});
|
68175
68187
|
|
68176
|
-
const tagName$
|
68188
|
+
const tagName$1g = 'div';
|
68177
68189
|
register('wm-layoutgrid', () => {
|
68178
68190
|
return {
|
68179
|
-
pre: attrs => `<${tagName$
|
68180
|
-
post: () => `</${tagName$
|
68191
|
+
pre: attrs => `<${tagName$1g} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
68192
|
+
post: () => `</${tagName$1g}>`
|
68181
68193
|
};
|
68182
68194
|
});
|
68183
68195
|
var layoutGrid_build = () => { };
|
@@ -68187,21 +68199,21 @@ var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
|
|
68187
68199
|
default: layoutGrid_build
|
68188
68200
|
});
|
68189
68201
|
|
68190
|
-
const tagName$
|
68191
|
-
const idGen$
|
68202
|
+
const tagName$1f = 'div';
|
68203
|
+
const idGen$k = new IDGenerator('wm_panel');
|
68192
68204
|
register('wm-panel', () => {
|
68193
68205
|
return {
|
68194
68206
|
pre: (attrs) => {
|
68195
|
-
const counter = idGen$
|
68196
|
-
return `<${tagName$
|
68207
|
+
const counter = idGen$k.nextUid();
|
68208
|
+
return `<${tagName$1f} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
68197
68209
|
},
|
68198
|
-
post: () => `</${tagName$
|
68210
|
+
post: () => `</${tagName$1f}>`
|
68199
68211
|
};
|
68200
68212
|
});
|
68201
68213
|
register('wm-panel-footer', () => {
|
68202
68214
|
return {
|
68203
|
-
pre: attrs => `<${tagName$
|
68204
|
-
post: () => `</${tagName$
|
68215
|
+
pre: attrs => `<${tagName$1f} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
68216
|
+
post: () => `</${tagName$1f}>`
|
68205
68217
|
};
|
68206
68218
|
});
|
68207
68219
|
var panel_build = () => { };
|
@@ -68211,11 +68223,11 @@ var panel_build$1 = /*#__PURE__*/Object.freeze({
|
|
68211
68223
|
default: panel_build
|
68212
68224
|
});
|
68213
68225
|
|
68214
|
-
const tagName$
|
68226
|
+
const tagName$1e = 'div';
|
68215
68227
|
register('wm-segmented-control', () => {
|
68216
68228
|
return {
|
68217
|
-
pre: attrs => `<${tagName$
|
68218
|
-
post: () => `</${tagName$
|
68229
|
+
pre: attrs => `<${tagName$1e} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
68230
|
+
post: () => `</${tagName$1e}>`
|
68219
68231
|
};
|
68220
68232
|
});
|
68221
68233
|
var segmentedControl_build = () => { };
|
@@ -68225,11 +68237,11 @@ var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
|
|
68225
68237
|
default: segmentedControl_build
|
68226
68238
|
});
|
68227
68239
|
|
68228
|
-
const tagName$
|
68240
|
+
const tagName$1d = 'li';
|
68229
68241
|
register('wm-segment-content', () => {
|
68230
68242
|
return {
|
68231
|
-
pre: attrs => `<${tagName$
|
68232
|
-
post: () => `</${tagName$
|
68243
|
+
pre: attrs => `<${tagName$1d} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
68244
|
+
post: () => `</${tagName$1d}>`
|
68233
68245
|
};
|
68234
68246
|
});
|
68235
68247
|
var segmentContent_build = () => { };
|
@@ -68265,19 +68277,19 @@ var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
68265
68277
|
default: repeatTemplate_build
|
68266
68278
|
});
|
68267
68279
|
|
68268
|
-
const tagName$
|
68280
|
+
const tagName$1c = 'div';
|
68269
68281
|
const dataSetKey$3 = 'dataset';
|
68270
|
-
const idGen$
|
68282
|
+
const idGen$j = new IDGenerator('wm_tabs_ref_');
|
68271
68283
|
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
68272
68284
|
register('wm-tabs', () => {
|
68273
68285
|
return {
|
68274
68286
|
pre: (attrs, shared) => {
|
68275
68287
|
// generating unique Id for the tabs
|
68276
|
-
const counter = idGen$
|
68288
|
+
const counter = idGen$j.nextUid();
|
68277
68289
|
shared.set('tabs_ref', counter);
|
68278
|
-
return `<${tagName$
|
68290
|
+
return `<${tagName$1c} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
68279
68291
|
},
|
68280
|
-
post: () => `</${tagName$
|
68292
|
+
post: () => `</${tagName$1c}>`,
|
68281
68293
|
template: (node, shared) => {
|
68282
68294
|
// check if the tab widget is dynamic
|
68283
68295
|
if (isDynamicTabs(node)) {
|
@@ -68308,11 +68320,11 @@ var tabs_build$1 = /*#__PURE__*/Object.freeze({
|
|
68308
68320
|
default: tabs_build
|
68309
68321
|
});
|
68310
68322
|
|
68311
|
-
const tagName$
|
68323
|
+
const tagName$1b = 'div';
|
68312
68324
|
register('wm-tabpane', () => {
|
68313
68325
|
return {
|
68314
|
-
pre: attrs => `<${tagName$
|
68315
|
-
post: () => `</${tagName$
|
68326
|
+
pre: attrs => `<${tagName$1b} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
68327
|
+
post: () => `</${tagName$1b}>`
|
68316
68328
|
};
|
68317
68329
|
});
|
68318
68330
|
var tabPane_build = () => { };
|
@@ -68322,11 +68334,11 @@ var tabPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
68322
68334
|
default: tabPane_build
|
68323
68335
|
});
|
68324
68336
|
|
68325
|
-
const tagName$
|
68337
|
+
const tagName$1a = 'div';
|
68326
68338
|
register('wm-tile', () => {
|
68327
68339
|
return {
|
68328
|
-
pre: attrs => `<${tagName$
|
68329
|
-
post: () => `</${tagName$
|
68340
|
+
pre: attrs => `<${tagName$1a} wmTile aria-describedby="Tile" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
68341
|
+
post: () => `</${tagName$1a}>`
|
68330
68342
|
};
|
68331
68343
|
});
|
68332
68344
|
var tile_build = () => { };
|
@@ -68336,11 +68348,11 @@ var tile_build$1 = /*#__PURE__*/Object.freeze({
|
|
68336
68348
|
default: tile_build
|
68337
68349
|
});
|
68338
68350
|
|
68339
|
-
const tagName$
|
68351
|
+
const tagName$19 = 'div';
|
68340
68352
|
register('wm-wizard', () => {
|
68341
68353
|
return {
|
68342
|
-
pre: attrs => `<${tagName$
|
68343
|
-
post: () => `</${tagName$
|
68354
|
+
pre: attrs => `<${tagName$19} wmWizard role="tablist" ${getAttrMarkup(attrs)}>`,
|
68355
|
+
post: () => `</${tagName$19}>`
|
68344
68356
|
};
|
68345
68357
|
});
|
68346
68358
|
var wizard_build = () => { };
|
@@ -68350,16 +68362,16 @@ var wizard_build$1 = /*#__PURE__*/Object.freeze({
|
|
68350
68362
|
default: wizard_build
|
68351
68363
|
});
|
68352
68364
|
|
68353
|
-
const tagName$
|
68354
|
-
const idGen$
|
68365
|
+
const tagName$18 = 'form';
|
68366
|
+
const idGen$i = new IDGenerator('wizard_step_id_');
|
68355
68367
|
register('wm-wizardstep', () => {
|
68356
68368
|
return {
|
68357
68369
|
pre: attrs => {
|
68358
|
-
const counter = idGen$
|
68359
|
-
return `<${tagName$
|
68370
|
+
const counter = idGen$i.nextUid();
|
68371
|
+
return `<${tagName$18} wmWizardStep #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
68360
68372
|
<ng-template [ngIf]="${counter}.isInitialized">`;
|
68361
68373
|
},
|
68362
|
-
post: () => `</ng-template></${tagName$
|
68374
|
+
post: () => `</ng-template></${tagName$18}>`
|
68363
68375
|
};
|
68364
68376
|
});
|
68365
68377
|
var wizardStep_build = () => { };
|
@@ -68369,15 +68381,15 @@ var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
|
|
68369
68381
|
default: wizardStep_build
|
68370
68382
|
});
|
68371
68383
|
|
68372
|
-
const tagName$
|
68373
|
-
const idGen$
|
68384
|
+
const tagName$17 = 'button';
|
68385
|
+
const idGen$h = new IDGenerator('wm_barcodescanner');
|
68374
68386
|
register('wm-barcodescanner', () => {
|
68375
68387
|
return {
|
68376
68388
|
pre: (attrs) => {
|
68377
|
-
const counter = idGen$
|
68378
|
-
return `<${tagName$
|
68389
|
+
const counter = idGen$h.nextUid();
|
68390
|
+
return `<${tagName$17} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.hint || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
68379
68391
|
},
|
68380
|
-
post: () => `</${tagName$
|
68392
|
+
post: () => `</${tagName$17}>`
|
68381
68393
|
};
|
68382
68394
|
});
|
68383
68395
|
var barcodeScanner_build = () => { };
|
@@ -68387,15 +68399,15 @@ var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
|
|
68387
68399
|
default: barcodeScanner_build
|
68388
68400
|
});
|
68389
68401
|
|
68390
|
-
const tagName$
|
68391
|
-
const idGen$
|
68402
|
+
const tagName$16 = 'button';
|
68403
|
+
const idGen$g = new IDGenerator('wm_camera');
|
68392
68404
|
register('wm-camera', () => {
|
68393
68405
|
return {
|
68394
68406
|
pre: (attrs) => {
|
68395
|
-
const counter = idGen$
|
68396
|
-
return `<${tagName$
|
68407
|
+
const counter = idGen$g.nextUid();
|
68408
|
+
return `<${tagName$16} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.hint || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
68397
68409
|
},
|
68398
|
-
post: () => `</${tagName$
|
68410
|
+
post: () => `</${tagName$16}>`
|
68399
68411
|
};
|
68400
68412
|
});
|
68401
68413
|
var camera_build = () => { };
|
@@ -68405,11 +68417,11 @@ var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
68405
68417
|
default: camera_build
|
68406
68418
|
});
|
68407
68419
|
|
68408
|
-
const tagName$
|
68420
|
+
const tagName$15 = 'div';
|
68409
68421
|
register('wm-alertdialog', () => {
|
68410
68422
|
return {
|
68411
|
-
pre: attrs => `<${tagName$
|
68412
|
-
post: () => `</${tagName$
|
68423
|
+
pre: attrs => `<${tagName$15} wmAlertDialog role="alertdialog" wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
68424
|
+
post: () => `</${tagName$15}>`
|
68413
68425
|
};
|
68414
68426
|
});
|
68415
68427
|
var alertDialog_build = () => { };
|
@@ -68419,11 +68431,11 @@ var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
68419
68431
|
default: alertDialog_build
|
68420
68432
|
});
|
68421
68433
|
|
68422
|
-
const tagName$
|
68434
|
+
const tagName$14 = 'div';
|
68423
68435
|
register('wm-confirmdialog', () => {
|
68424
68436
|
return {
|
68425
|
-
pre: attrs => `<${tagName$
|
68426
|
-
post: () => `</${tagName$
|
68437
|
+
pre: attrs => `<${tagName$14} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
68438
|
+
post: () => `</${tagName$14}>`
|
68427
68439
|
};
|
68428
68440
|
});
|
68429
68441
|
var confirmDialog_build = () => { };
|
@@ -68433,11 +68445,11 @@ var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
68433
68445
|
default: confirmDialog_build
|
68434
68446
|
});
|
68435
68447
|
|
68436
|
-
const tagName$
|
68448
|
+
const tagName$13 = 'div';
|
68437
68449
|
register('wm-dialogactions', () => {
|
68438
68450
|
return {
|
68439
|
-
pre: attrs => `<ng-template #dialogFooter><${tagName$
|
68440
|
-
post: () => `</${tagName$
|
68451
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$13} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
68452
|
+
post: () => `</${tagName$13}></ng-template>`
|
68441
68453
|
};
|
68442
68454
|
});
|
68443
68455
|
var dialogFooter_build = () => { };
|
@@ -68447,11 +68459,11 @@ var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
68447
68459
|
default: dialogFooter_build
|
68448
68460
|
});
|
68449
68461
|
|
68450
|
-
const tagName
|
68462
|
+
const tagName$12 = 'div';
|
68451
68463
|
register('wm-dialog', () => {
|
68452
68464
|
return {
|
68453
|
-
pre: attrs => `<${tagName
|
68454
|
-
post: () => `</ng-template></${tagName
|
68465
|
+
pre: attrs => `<${tagName$12} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
68466
|
+
post: () => `</ng-template></${tagName$12}>`
|
68455
68467
|
};
|
68456
68468
|
});
|
68457
68469
|
// Todo:vinay remove wm-view in migration
|
@@ -68468,11 +68480,11 @@ var dialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
68468
68480
|
default: dialog_build
|
68469
68481
|
});
|
68470
68482
|
|
68471
|
-
const tagName$
|
68483
|
+
const tagName$11 = 'div';
|
68472
68484
|
register('wm-iframedialog', () => {
|
68473
68485
|
return {
|
68474
|
-
pre: attrs => `<${tagName$
|
68475
|
-
post: () => `</${tagName$
|
68486
|
+
pre: attrs => `<${tagName$11} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
68487
|
+
post: () => `</${tagName$11}>`
|
68476
68488
|
};
|
68477
68489
|
});
|
68478
68490
|
var iframeDialog_build = () => { };
|
@@ -68482,11 +68494,11 @@ var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
68482
68494
|
default: iframeDialog_build
|
68483
68495
|
});
|
68484
68496
|
|
68485
|
-
const tagName$
|
68497
|
+
const tagName$10 = 'div';
|
68486
68498
|
register('wm-logindialog', () => {
|
68487
68499
|
return {
|
68488
|
-
pre: attrs => `<${tagName$
|
68489
|
-
post: () => `</ng-template></${tagName$
|
68500
|
+
pre: attrs => `<${tagName$10} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
|
68501
|
+
post: () => `</ng-template></${tagName$10}>`
|
68490
68502
|
};
|
68491
68503
|
});
|
68492
68504
|
var loginDialog_build = () => { };
|
@@ -68496,7 +68508,7 @@ var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
68496
68508
|
default: loginDialog_build
|
68497
68509
|
});
|
68498
68510
|
|
68499
|
-
const tagName
|
68511
|
+
const tagName$$ = 'div';
|
68500
68512
|
register('wm-pagedialog', () => {
|
68501
68513
|
return {
|
68502
68514
|
pre: (attrs, shared) => {
|
@@ -68522,14 +68534,14 @@ register('wm-pagedialog', () => {
|
|
68522
68534
|
shared.set('hasPartialContent', true);
|
68523
68535
|
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
68524
68536
|
}
|
68525
|
-
return `<${tagName
|
68537
|
+
return `<${tagName$$} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
|
68526
68538
|
},
|
68527
68539
|
post: (attrs, shared) => {
|
68528
68540
|
let preContent = '';
|
68529
68541
|
if (shared.get('hasPartialContent')) {
|
68530
68542
|
preContent = `</div></ng-template>`;
|
68531
68543
|
}
|
68532
|
-
return `${preContent}</${tagName
|
68544
|
+
return `${preContent}</${tagName$$}>`;
|
68533
68545
|
}
|
68534
68546
|
};
|
68535
68547
|
});
|
@@ -68608,8 +68620,8 @@ const getEditModeWidget = colDef => {
|
|
68608
68620
|
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
|
68609
68621
|
};
|
68610
68622
|
|
68611
|
-
const tagName$
|
68612
|
-
const idGen$
|
68623
|
+
const tagName$_ = 'div';
|
68624
|
+
const idGen$f = new IDGenerator('formfield_');
|
68613
68625
|
const getEventsTemplate = (attrs) => {
|
68614
68626
|
const eventAttrs = new Map();
|
68615
68627
|
if (!attrs.has('focus.event')) {
|
@@ -68660,12 +68672,13 @@ const setDefaultPlaceholder = (attrs, widgetType, index) => {
|
|
68660
68672
|
};
|
68661
68673
|
const getWidgetTemplate = (attrs, options) => {
|
68662
68674
|
const name = attrs.get('name');
|
68675
|
+
const customWidgetName = attrs.get('widgetname');
|
68663
68676
|
const fieldName = (attrs.get('key') || name || '').trim();
|
68664
68677
|
const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
|
68665
68678
|
const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
|
68666
68679
|
const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
|
68667
68680
|
const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
|
68668
|
-
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName}`;
|
68681
|
+
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName}` : ''}`;
|
68669
68682
|
return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
|
68670
68683
|
};
|
68671
68684
|
const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
|
@@ -68709,7 +68722,7 @@ const registerFormField = (isFormField) => {
|
|
68709
68722
|
return {
|
68710
68723
|
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
68711
68724
|
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
68712
|
-
const counter = idGen$
|
68725
|
+
const counter = idGen$f.nextUid();
|
68713
68726
|
const parent = parentForm || parentLiveForm || parentFilter;
|
68714
68727
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
68715
68728
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
@@ -68732,7 +68745,7 @@ const registerFormField = (isFormField) => {
|
|
68732
68745
|
else {
|
68733
68746
|
setDefaultPlaceholder(attrs, widgetType, 2);
|
68734
68747
|
}
|
68735
|
-
return `<${tagName$
|
68748
|
+
return `<${tagName$_} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
68736
68749
|
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
68737
68750
|
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
68738
68751
|
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
@@ -68748,7 +68761,7 @@ const registerFormField = (isFormField) => {
|
|
68748
68761
|
</div>
|
68749
68762
|
</div>`;
|
68750
68763
|
},
|
68751
|
-
post: () => `</${tagName$
|
68764
|
+
post: () => `</${tagName$_}>`,
|
68752
68765
|
provide: (attrs, shared) => {
|
68753
68766
|
const provider = new Map();
|
68754
68767
|
provider.set('form_reference', shared.get('counter'));
|
@@ -68770,11 +68783,11 @@ var formField_build$1 = /*#__PURE__*/Object.freeze({
|
|
68770
68783
|
default: formField_build
|
68771
68784
|
});
|
68772
68785
|
|
68773
|
-
const tagName$
|
68786
|
+
const tagName$Z = 'div';
|
68774
68787
|
const registerAction = (tmpl) => {
|
68775
68788
|
return {
|
68776
|
-
pre: attrs => `<${tagName$
|
68777
|
-
post: () => `</${tagName$
|
68789
|
+
pre: attrs => `<${tagName$Z} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
68790
|
+
post: () => `</${tagName$Z}>`
|
68778
68791
|
};
|
68779
68792
|
};
|
68780
68793
|
register('wm-form-action', registerAction.bind(undefined, ''));
|
@@ -68786,8 +68799,8 @@ var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
68786
68799
|
default: formAction_build
|
68787
68800
|
});
|
68788
68801
|
|
68789
|
-
const tagName$
|
68790
|
-
const idGen$
|
68802
|
+
const tagName$Y = 'form';
|
68803
|
+
const idGen$e = new IDGenerator('form_');
|
68791
68804
|
const formWidgets$1 = new Set([
|
68792
68805
|
'wm-text',
|
68793
68806
|
'wm-textarea',
|
@@ -68855,7 +68868,7 @@ const buildTask = (directiveAttr = '') => {
|
|
68855
68868
|
let tmpl;
|
68856
68869
|
let dialogId;
|
68857
68870
|
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
68858
|
-
const counter = idGen$
|
68871
|
+
const counter = idGen$e.nextUid();
|
68859
68872
|
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
68860
68873
|
if (dependsOn) {
|
68861
68874
|
attrs.set('dependsontable', attrs.get('dependson'));
|
@@ -68863,7 +68876,7 @@ const buildTask = (directiveAttr = '') => {
|
|
68863
68876
|
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
68864
68877
|
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
68865
68878
|
attrs.delete('dependson');
|
68866
|
-
const liveFormTmpl = `<${tagName$
|
68879
|
+
const liveFormTmpl = `<${tagName$Y} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
68867
68880
|
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
68868
68881
|
attrs.set('numberOfFields', `${numberOfFields}`);
|
68869
68882
|
shared.set('counter', counter);
|
@@ -68913,12 +68926,12 @@ const buildTask = (directiveAttr = '') => {
|
|
68913
68926
|
return '</form></ng-template></div></div>';
|
68914
68927
|
}
|
68915
68928
|
if (attrs.get('formlayout') === 'page') {
|
68916
|
-
return `</div></${tagName$
|
68929
|
+
return `</div></${tagName$Y}>`;
|
68917
68930
|
}
|
68918
68931
|
if (attrs.get('dependsontable')) {
|
68919
|
-
return `</${tagName$
|
68932
|
+
return `</${tagName$Y}></div>`;
|
68920
68933
|
}
|
68921
|
-
return `</${tagName$
|
68934
|
+
return `</${tagName$Y}>`;
|
68922
68935
|
},
|
68923
68936
|
provide: (attrs, shared) => {
|
68924
68937
|
const provider = new Map();
|
@@ -68937,14 +68950,14 @@ var form_build$1 = /*#__PURE__*/Object.freeze({
|
|
68937
68950
|
default: form_build
|
68938
68951
|
});
|
68939
68952
|
|
68940
|
-
const tagName$
|
68953
|
+
const tagName$X = 'div';
|
68941
68954
|
register('wm-calendar', () => {
|
68942
68955
|
return {
|
68943
68956
|
pre: (attrs) => {
|
68944
68957
|
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
68945
|
-
return `<${tagName$
|
68958
|
+
return `<${tagName$X} wmCalendar redrawable style="width:100%" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
68946
68959
|
},
|
68947
|
-
post: () => `</${tagName$
|
68960
|
+
post: () => `</${tagName$X}>`
|
68948
68961
|
};
|
68949
68962
|
});
|
68950
68963
|
var calendar_build = () => { };
|
@@ -68954,11 +68967,11 @@ var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
68954
68967
|
default: calendar_build
|
68955
68968
|
});
|
68956
68969
|
|
68957
|
-
const tagName$
|
68970
|
+
const tagName$W = 'ul';
|
68958
68971
|
register('wm-chips', () => {
|
68959
68972
|
return {
|
68960
|
-
pre: attrs => `<${tagName$
|
68961
|
-
post: () => `</${tagName$
|
68973
|
+
pre: attrs => `<${tagName$W} wmChips role="listbox" ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
68974
|
+
post: () => `</${tagName$W}>`
|
68962
68975
|
};
|
68963
68976
|
});
|
68964
68977
|
var chips_build = () => { };
|
@@ -68968,11 +68981,11 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
68968
68981
|
default: chips_build
|
68969
68982
|
});
|
68970
68983
|
|
68971
|
-
const tagName$
|
68984
|
+
const tagName$V = 'div';
|
68972
68985
|
register('wm-colorpicker', () => {
|
68973
68986
|
return {
|
68974
|
-
pre: attrs => `<${tagName$
|
68975
|
-
post: () => `</${tagName$
|
68987
|
+
pre: attrs => `<${tagName$V} wmColorPicker ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
68988
|
+
post: () => `</${tagName$V}>`
|
68976
68989
|
};
|
68977
68990
|
});
|
68978
68991
|
var colorPicker_build = () => { };
|
@@ -68982,11 +68995,11 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
68982
68995
|
default: colorPicker_build
|
68983
68996
|
});
|
68984
68997
|
|
68985
|
-
const tagName$
|
68998
|
+
const tagName$U = 'div';
|
68986
68999
|
register('wm-currency', () => {
|
68987
69000
|
return {
|
68988
|
-
pre: attrs => `<${tagName$
|
68989
|
-
post: () => `</${tagName$
|
69001
|
+
pre: attrs => `<${tagName$U} wmCurrency ${getAttrMarkup(attrs)} role="input" ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69002
|
+
post: () => `</${tagName$U}>`
|
68990
69003
|
};
|
68991
69004
|
});
|
68992
69005
|
var currency_build = () => { };
|
@@ -68996,11 +69009,11 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
68996
69009
|
default: currency_build
|
68997
69010
|
});
|
68998
69011
|
|
68999
|
-
const tagName$
|
69012
|
+
const tagName$T = 'div';
|
69000
69013
|
register('wm-buttongroup', () => {
|
69001
69014
|
return {
|
69002
|
-
pre: attrs => `<${tagName$
|
69003
|
-
post: () => `</${tagName$
|
69015
|
+
pre: attrs => `<${tagName$T} wmButtonGroup role="group" aria-labelledby="button group" ${getAttrMarkup(attrs)}>`,
|
69016
|
+
post: () => `</${tagName$T}>`
|
69004
69017
|
};
|
69005
69018
|
});
|
69006
69019
|
var buttonGroup_build = () => { };
|
@@ -69010,15 +69023,15 @@ var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
69010
69023
|
default: buttonGroup_build
|
69011
69024
|
});
|
69012
69025
|
|
69013
|
-
const tagName$
|
69014
|
-
const idGen$
|
69026
|
+
const tagName$S = 'button';
|
69027
|
+
const idGen$d = new IDGenerator('wm_button');
|
69015
69028
|
register('wm-button', () => {
|
69016
69029
|
return {
|
69017
69030
|
pre: (attrs) => {
|
69018
|
-
const counter = idGen$
|
69019
|
-
return `<${tagName$
|
69031
|
+
const counter = idGen$d.nextUid();
|
69032
|
+
return `<${tagName$S} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
|
69020
69033
|
},
|
69021
|
-
post: () => `</${tagName$
|
69034
|
+
post: () => `</${tagName$S}>`
|
69022
69035
|
};
|
69023
69036
|
});
|
69024
69037
|
var button_build = () => { };
|
@@ -69028,11 +69041,11 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
69028
69041
|
default: button_build
|
69029
69042
|
});
|
69030
69043
|
|
69031
|
-
const tagName$
|
69044
|
+
const tagName$R = 'div';
|
69032
69045
|
register('wm-checkbox', () => {
|
69033
69046
|
return {
|
69034
|
-
pre: attrs => `<${tagName$
|
69035
|
-
post: () => `</${tagName$
|
69047
|
+
pre: attrs => `<${tagName$R} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69048
|
+
post: () => `</${tagName$R}>`
|
69036
69049
|
};
|
69037
69050
|
});
|
69038
69051
|
var checkbox_build = () => { };
|
@@ -69042,11 +69055,11 @@ var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
69042
69055
|
default: checkbox_build
|
69043
69056
|
});
|
69044
69057
|
|
69045
|
-
const tagName$
|
69058
|
+
const tagName$Q = 'ul';
|
69046
69059
|
register('wm-checkboxset', () => {
|
69047
69060
|
return {
|
69048
|
-
pre: attrs => `<${tagName$
|
69049
|
-
post: () => `</${tagName$
|
69061
|
+
pre: attrs => `<${tagName$Q} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69062
|
+
post: () => `</${tagName$Q}>`
|
69050
69063
|
};
|
69051
69064
|
});
|
69052
69065
|
var checkboxset_build = () => { };
|
@@ -69056,11 +69069,11 @@ var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
69056
69069
|
default: checkboxset_build
|
69057
69070
|
});
|
69058
69071
|
|
69059
|
-
const tagName$
|
69072
|
+
const tagName$P = 'div';
|
69060
69073
|
register('wm-composite', () => {
|
69061
69074
|
return {
|
69062
|
-
pre: attrs => `<${tagName$
|
69063
|
-
post: () => `</${tagName$
|
69075
|
+
pre: attrs => `<${tagName$P} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
69076
|
+
post: () => `</${tagName$P}${clearChildAttrs()}>`
|
69064
69077
|
};
|
69065
69078
|
});
|
69066
69079
|
var composite_build = () => { };
|
@@ -69070,11 +69083,11 @@ var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
69070
69083
|
default: composite_build
|
69071
69084
|
});
|
69072
69085
|
|
69073
|
-
const tagName$
|
69086
|
+
const tagName$O = 'div';
|
69074
69087
|
register('wm-number', () => {
|
69075
69088
|
return {
|
69076
|
-
pre: attrs => `<${tagName$
|
69077
|
-
post: () => `</${tagName$
|
69089
|
+
pre: attrs => `<${tagName$O} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69090
|
+
post: () => `</${tagName$O}>`
|
69078
69091
|
};
|
69079
69092
|
});
|
69080
69093
|
var number_build = () => { };
|
@@ -69084,11 +69097,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
69084
69097
|
default: number_build
|
69085
69098
|
});
|
69086
69099
|
|
69087
|
-
const tagName$
|
69100
|
+
const tagName$N = 'ul';
|
69088
69101
|
register('wm-radioset', () => {
|
69089
69102
|
return {
|
69090
|
-
pre: attrs => `<${tagName$
|
69091
|
-
post: () => `</${tagName$
|
69103
|
+
pre: attrs => `<${tagName$N} role="radiogroup" wmRadioset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69104
|
+
post: () => `</${tagName$N}>`
|
69092
69105
|
};
|
69093
69106
|
});
|
69094
69107
|
var radioset_build = () => { };
|
@@ -69098,11 +69111,11 @@ var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
69098
69111
|
default: radioset_build
|
69099
69112
|
});
|
69100
69113
|
|
69101
|
-
const tagName$
|
69114
|
+
const tagName$M = 'wm-select';
|
69102
69115
|
register('wm-select', () => {
|
69103
69116
|
return {
|
69104
|
-
pre: attrs => `<${tagName$
|
69105
|
-
post: () => `</${tagName$
|
69117
|
+
pre: attrs => `<${tagName$M} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69118
|
+
post: () => `</${tagName$M}>`
|
69106
69119
|
};
|
69107
69120
|
});
|
69108
69121
|
var select_build = () => { };
|
@@ -69112,15 +69125,15 @@ var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
69112
69125
|
default: select_build
|
69113
69126
|
});
|
69114
69127
|
|
69115
|
-
const tagName$
|
69116
|
-
const idGen$
|
69128
|
+
const tagName$L = 'div';
|
69129
|
+
const idGen$c = new IDGenerator('wm_switch');
|
69117
69130
|
register('wm-switch', () => {
|
69118
69131
|
return {
|
69119
69132
|
pre: (attrs) => {
|
69120
|
-
const counter = idGen$
|
69121
|
-
return `<${tagName$
|
69133
|
+
const counter = idGen$c.nextUid();
|
69134
|
+
return `<${tagName$L} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.hint || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
69122
69135
|
},
|
69123
|
-
post: () => `</${tagName$
|
69136
|
+
post: () => `</${tagName$L}>`
|
69124
69137
|
};
|
69125
69138
|
});
|
69126
69139
|
var switch_build = () => { };
|
@@ -69130,11 +69143,11 @@ var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
69130
69143
|
default: switch_build
|
69131
69144
|
});
|
69132
69145
|
|
69133
|
-
const tagName$
|
69146
|
+
const tagName$K = 'wm-input';
|
69134
69147
|
register('wm-text', () => {
|
69135
69148
|
return {
|
69136
|
-
pre: attrs => `<${tagName$
|
69137
|
-
post: () => `</${tagName$
|
69149
|
+
pre: attrs => `<${tagName$K} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69150
|
+
post: () => `</${tagName$K}>`
|
69138
69151
|
};
|
69139
69152
|
});
|
69140
69153
|
var text_build = () => { };
|
@@ -69144,11 +69157,11 @@ var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
69144
69157
|
default: text_build
|
69145
69158
|
});
|
69146
69159
|
|
69147
|
-
const tagName$
|
69160
|
+
const tagName$J = 'wm-textarea';
|
69148
69161
|
register('wm-textarea', () => {
|
69149
69162
|
return {
|
69150
|
-
pre: attrs => `<${tagName$
|
69151
|
-
post: () => `</${tagName$
|
69163
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69164
|
+
post: () => `</${tagName$J}>`
|
69152
69165
|
};
|
69153
69166
|
});
|
69154
69167
|
var textarea_build = () => { };
|
@@ -69158,11 +69171,11 @@ var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
69158
69171
|
default: textarea_build
|
69159
69172
|
});
|
69160
69173
|
|
69161
|
-
const tagName$
|
69174
|
+
const tagName$I = 'div';
|
69162
69175
|
register('wm-datetime', () => {
|
69163
69176
|
return {
|
69164
|
-
pre: attrs => `<${tagName$
|
69165
|
-
post: () => `</${tagName$
|
69177
|
+
pre: attrs => `<${tagName$I} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69178
|
+
post: () => `</${tagName$I}>`
|
69166
69179
|
};
|
69167
69180
|
});
|
69168
69181
|
var dateTime_build = () => { };
|
@@ -69172,11 +69185,11 @@ var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
69172
69185
|
default: dateTime_build
|
69173
69186
|
});
|
69174
69187
|
|
69175
|
-
const tagName$
|
69188
|
+
const tagName$H = 'div';
|
69176
69189
|
register('wm-date', () => {
|
69177
69190
|
return {
|
69178
|
-
pre: attrs => `<${tagName$
|
69179
|
-
post: () => `</${tagName$
|
69191
|
+
pre: attrs => `<${tagName$H} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69192
|
+
post: () => `</${tagName$H}>`
|
69180
69193
|
};
|
69181
69194
|
});
|
69182
69195
|
var date_build = () => { };
|
@@ -69186,11 +69199,11 @@ var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
69186
69199
|
default: date_build
|
69187
69200
|
});
|
69188
69201
|
|
69189
|
-
const tagName$
|
69202
|
+
const tagName$G = 'div';
|
69190
69203
|
register('wm-time', () => {
|
69191
69204
|
return {
|
69192
|
-
pre: attrs => `<${tagName$
|
69193
|
-
post: () => `</${tagName$
|
69205
|
+
pre: attrs => `<${tagName$G} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
69206
|
+
post: () => `</${tagName$G}>`
|
69194
69207
|
};
|
69195
69208
|
});
|
69196
69209
|
var time_build = () => { };
|
@@ -69200,7 +69213,7 @@ var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
69200
69213
|
default: time_build
|
69201
69214
|
});
|
69202
69215
|
|
69203
|
-
const tagName$
|
69216
|
+
const tagName$F = 'div';
|
69204
69217
|
register('wm-fileupload', () => {
|
69205
69218
|
return {
|
69206
69219
|
pre: attrs => {
|
@@ -69208,9 +69221,9 @@ register('wm-fileupload', () => {
|
|
69208
69221
|
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
69209
69222
|
attrs.set('datasource.bind', onSelectBinding);
|
69210
69223
|
}
|
69211
|
-
return `<${tagName$
|
69224
|
+
return `<${tagName$F} wmFileUpload ${getAttrMarkup(attrs)} role="input">`;
|
69212
69225
|
},
|
69213
|
-
post: () => `</${tagName$
|
69226
|
+
post: () => `</${tagName$F}>`
|
69214
69227
|
};
|
69215
69228
|
});
|
69216
69229
|
var fileUpload_build = () => { };
|
@@ -69220,11 +69233,11 @@ var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
69220
69233
|
default: fileUpload_build
|
69221
69234
|
});
|
69222
69235
|
|
69223
|
-
const tagName$
|
69236
|
+
const tagName$E = 'div';
|
69224
69237
|
register('wm-rating', () => {
|
69225
69238
|
return {
|
69226
|
-
pre: attrs => `<${tagName$
|
69227
|
-
post: () => `</${tagName$
|
69239
|
+
pre: attrs => `<${tagName$E} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
69240
|
+
post: () => `</${tagName$E}>`
|
69228
69241
|
};
|
69229
69242
|
});
|
69230
69243
|
var rating_build = () => { };
|
@@ -69234,11 +69247,11 @@ var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
69234
69247
|
default: rating_build
|
69235
69248
|
});
|
69236
69249
|
|
69237
|
-
const tagName$
|
69250
|
+
const tagName$D = 'div';
|
69238
69251
|
register('wm-slider', () => {
|
69239
69252
|
return {
|
69240
|
-
pre: attrs => `<${tagName$
|
69241
|
-
post: () => `</${tagName$
|
69253
|
+
pre: attrs => `<${tagName$D} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
69254
|
+
post: () => `</${tagName$D}>`
|
69242
69255
|
};
|
69243
69256
|
});
|
69244
69257
|
var slider_build = () => { };
|
@@ -69249,7 +69262,7 @@ var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
69249
69262
|
});
|
69250
69263
|
|
69251
69264
|
const wmlistTag = 'wm-list';
|
69252
|
-
const tagName$
|
69265
|
+
const tagName$C = 'div';
|
69253
69266
|
const dataSetKey$2 = 'dataset';
|
69254
69267
|
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
69255
69268
|
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
@@ -69297,8 +69310,8 @@ register('wm-media-list', () => {
|
|
69297
69310
|
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
69298
69311
|
}
|
69299
69312
|
},
|
69300
|
-
pre: attrs => `<${tagName$
|
69301
|
-
post: () => `</${tagName$
|
69313
|
+
pre: attrs => `<${tagName$C} wmMediaList ${getAttrMarkup(attrs)}>`,
|
69314
|
+
post: () => `</${tagName$C}>`
|
69302
69315
|
};
|
69303
69316
|
});
|
69304
69317
|
var mediaList_build = () => { };
|
@@ -69308,11 +69321,11 @@ var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
69308
69321
|
default: mediaList_build
|
69309
69322
|
});
|
69310
69323
|
|
69311
|
-
const tagName$
|
69324
|
+
const tagName$B = 'ng-template';
|
69312
69325
|
register('wm-media-template', () => {
|
69313
69326
|
return {
|
69314
|
-
pre: () => `<${tagName$
|
69315
|
-
post: () => `</${tagName$
|
69327
|
+
pre: () => `<${tagName$B} #mediaListTemplate let-item="item" let-index="index">`,
|
69328
|
+
post: () => `</${tagName$B}>`
|
69316
69329
|
};
|
69317
69330
|
});
|
69318
69331
|
var mediaListItem_build = () => { };
|
@@ -69396,16 +69409,16 @@ var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
69396
69409
|
default: list_build
|
69397
69410
|
});
|
69398
69411
|
|
69399
|
-
const tagName$
|
69400
|
-
const idGen$
|
69412
|
+
const tagName$A = 'div';
|
69413
|
+
const idGen$b = new IDGenerator('liveform_dialog_id_');
|
69401
69414
|
register('wm-livetable', () => {
|
69402
69415
|
return {
|
69403
69416
|
pre: (attrs, shared) => {
|
69404
|
-
const counter = idGen$
|
69417
|
+
const counter = idGen$b.nextUid();
|
69405
69418
|
shared.set('counter', counter);
|
69406
|
-
return `<${tagName$
|
69419
|
+
return `<${tagName$A} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
69407
69420
|
},
|
69408
|
-
post: () => `</${tagName$
|
69421
|
+
post: () => `</${tagName$A}>`,
|
69409
69422
|
provide: (attrs, shared) => {
|
69410
69423
|
const provider = new Map();
|
69411
69424
|
provider.set('liveform_dialog_id', shared.get('counter'));
|
@@ -69420,15 +69433,15 @@ var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
69420
69433
|
default: liveTable_build
|
69421
69434
|
});
|
69422
69435
|
|
69423
|
-
const tagName$
|
69424
|
-
const idGen$
|
69436
|
+
const tagName$z = 'p';
|
69437
|
+
const idGen$a = new IDGenerator('wm_message');
|
69425
69438
|
register('wm-message', () => {
|
69426
69439
|
return {
|
69427
69440
|
pre: (attrs) => {
|
69428
|
-
const counter = idGen$
|
69429
|
-
return `<${tagName$
|
69441
|
+
const counter = idGen$a.nextUid();
|
69442
|
+
return `<${tagName$z} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
69430
69443
|
},
|
69431
|
-
post: () => `</${tagName$
|
69444
|
+
post: () => `</${tagName$z}>`
|
69432
69445
|
};
|
69433
69446
|
});
|
69434
69447
|
var message_build = () => { };
|
@@ -69438,11 +69451,11 @@ var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
69438
69451
|
default: message_build
|
69439
69452
|
});
|
69440
69453
|
|
69441
|
-
const tagName$
|
69454
|
+
const tagName$y = 'ol';
|
69442
69455
|
register('wm-breadcrumb', () => {
|
69443
69456
|
return {
|
69444
|
-
pre: attrs => `<${tagName$
|
69445
|
-
post: () => `</${tagName$
|
69457
|
+
pre: attrs => `<${tagName$y} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
69458
|
+
post: () => `</${tagName$y}>`
|
69446
69459
|
};
|
69447
69460
|
});
|
69448
69461
|
var breadcrumb_build = () => { };
|
@@ -69452,11 +69465,23 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
69452
69465
|
default: breadcrumb_build
|
69453
69466
|
});
|
69454
69467
|
|
69455
|
-
const tagName$
|
69468
|
+
const tagName$x = 'div';
|
69456
69469
|
register('wm-menu', () => {
|
69457
69470
|
return {
|
69458
|
-
pre: attrs =>
|
69459
|
-
|
69471
|
+
pre: attrs => {
|
69472
|
+
const menuWidth = attrs.get("width");
|
69473
|
+
let styleBinding = '';
|
69474
|
+
if (menuWidth) {
|
69475
|
+
if (menuWidth.indexOf('%') > -1 || menuWidth.indexOf('px') > -1) {
|
69476
|
+
styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
|
69477
|
+
return `<${tagName$x} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
69478
|
+
}
|
69479
|
+
}
|
69480
|
+
else {
|
69481
|
+
return `<${tagName$x} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|
69482
|
+
}
|
69483
|
+
},
|
69484
|
+
post: () => `</${tagName$x}>`
|
69460
69485
|
};
|
69461
69486
|
});
|
69462
69487
|
var menu_build = () => { };
|
@@ -69466,11 +69491,11 @@ var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
69466
69491
|
default: menu_build
|
69467
69492
|
});
|
69468
69493
|
|
69469
|
-
const tagName$
|
69494
|
+
const tagName$w = 'li';
|
69470
69495
|
register('wm-nav-item', () => {
|
69471
69496
|
return {
|
69472
|
-
pre: attrs => `<${tagName$
|
69473
|
-
post: () => `</${tagName$
|
69497
|
+
pre: attrs => `<${tagName$w} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
69498
|
+
post: () => `</${tagName$w}>`
|
69474
69499
|
};
|
69475
69500
|
});
|
69476
69501
|
var navItem_build = () => { };
|
@@ -69480,11 +69505,11 @@ var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
69480
69505
|
default: navItem_build
|
69481
69506
|
});
|
69482
69507
|
|
69483
|
-
const tagName$
|
69508
|
+
const tagName$v = 'ul';
|
69484
69509
|
register('wm-nav', () => {
|
69485
69510
|
return {
|
69486
|
-
pre: attrs => `<${tagName$
|
69487
|
-
post: () => `</${tagName$
|
69511
|
+
pre: attrs => `<${tagName$v} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
69512
|
+
post: () => `</${tagName$v}>`
|
69488
69513
|
};
|
69489
69514
|
});
|
69490
69515
|
var nav_build = () => { };
|
@@ -69494,11 +69519,11 @@ var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
69494
69519
|
default: nav_build
|
69495
69520
|
});
|
69496
69521
|
|
69497
|
-
const tagName$
|
69522
|
+
const tagName$u = 'nav';
|
69498
69523
|
register('wm-navbar', () => {
|
69499
69524
|
return {
|
69500
|
-
pre: attrs => `<${tagName$
|
69501
|
-
post: () => `</${tagName$
|
69525
|
+
pre: attrs => `<${tagName$u} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
69526
|
+
post: () => `</${tagName$u}>`
|
69502
69527
|
};
|
69503
69528
|
});
|
69504
69529
|
var navbar_build = () => { };
|
@@ -69508,7 +69533,7 @@ var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
69508
69533
|
default: navbar_build
|
69509
69534
|
});
|
69510
69535
|
|
69511
|
-
const tagName$
|
69536
|
+
const tagName$t = 'wm-popover';
|
69512
69537
|
register('wm-popover', () => {
|
69513
69538
|
return {
|
69514
69539
|
requires: ['wm-table'],
|
@@ -69528,7 +69553,7 @@ register('wm-popover', () => {
|
|
69528
69553
|
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
69529
69554
|
shared.set('hasPopoverContent', true);
|
69530
69555
|
}
|
69531
|
-
let markup = `<${tagName$
|
69556
|
+
let markup = `<${tagName$t} wmPopover ${getAttrMarkup(attrs)}>`;
|
69532
69557
|
const contextAttrs = table ? `let-row="row"` : ``;
|
69533
69558
|
markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
|
69534
69559
|
// todo keyboard navigation - tab
|
@@ -69542,7 +69567,7 @@ register('wm-popover', () => {
|
|
69542
69567
|
if (shared.get('hasPopoverContent')) {
|
69543
69568
|
markup += `</div>`;
|
69544
69569
|
}
|
69545
|
-
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$
|
69570
|
+
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$t}>`;
|
69546
69571
|
}
|
69547
69572
|
};
|
69548
69573
|
});
|
@@ -69553,16 +69578,16 @@ var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
69553
69578
|
default: popover_build
|
69554
69579
|
});
|
69555
69580
|
|
69556
|
-
const tagName$
|
69581
|
+
const tagName$s = 'div';
|
69557
69582
|
const findChild = (node, childName) => {
|
69558
69583
|
const child = node && node.children.find(e => (e instanceof Element$2 && e.name === childName));
|
69559
69584
|
return child;
|
69560
69585
|
};
|
69561
|
-
const createElement$
|
69562
|
-
return new Element$2(name, [], [], noSpan$
|
69586
|
+
const createElement$4 = name => {
|
69587
|
+
return new Element$2(name, [], [], noSpan$4, noSpan$4, noSpan$4);
|
69563
69588
|
};
|
69564
|
-
const addAtrribute$
|
69565
|
-
const attr = new Attribute$1(name, value, noSpan$
|
69589
|
+
const addAtrribute$4 = (node, name, value) => {
|
69590
|
+
const attr = new Attribute$1(name, value, noSpan$4, noSpan$4, noSpan$4, undefined, undefined);
|
69566
69591
|
node.attrs.push(attr);
|
69567
69592
|
};
|
69568
69593
|
const getElementNode = (name, node) => {
|
@@ -69583,8 +69608,8 @@ const getElementNode = (name, node) => {
|
|
69583
69608
|
});
|
69584
69609
|
return elementNode;
|
69585
69610
|
};
|
69586
|
-
const noSpan$
|
69587
|
-
const idGen$
|
69611
|
+
const noSpan$4 = {};
|
69612
|
+
const idGen$9 = new IDGenerator('wm_page');
|
69588
69613
|
register('wm-page', () => {
|
69589
69614
|
return {
|
69590
69615
|
template: (node) => {
|
@@ -69593,24 +69618,24 @@ register('wm-page', () => {
|
|
69593
69618
|
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
69594
69619
|
}
|
69595
69620
|
if (pageContentNode) {
|
69596
|
-
const conditionalNode = createElement$
|
69597
|
-
addAtrribute$
|
69621
|
+
const conditionalNode = createElement$4('ng-container');
|
69622
|
+
addAtrribute$4(conditionalNode, '*ngIf', 'compilePageContent');
|
69598
69623
|
conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);
|
69599
69624
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
69600
69625
|
pageContentNode.children = [conditionalNode];
|
69601
69626
|
if (isMobileApp()) {
|
69602
|
-
const loader = createElement$
|
69603
|
-
addAtrribute$
|
69604
|
-
addAtrribute$
|
69627
|
+
const loader = createElement$4('div');
|
69628
|
+
addAtrribute$4(loader, 'wmPageContentLoader', '');
|
69629
|
+
addAtrribute$4(loader, '*ngIf', '!showPageContent');
|
69605
69630
|
pageContentNode.children.push(loader);
|
69606
69631
|
}
|
69607
69632
|
}
|
69608
69633
|
},
|
69609
69634
|
pre: (attrs) => {
|
69610
|
-
const counter = idGen$
|
69611
|
-
return `<${tagName$
|
69635
|
+
const counter = idGen$9.nextUid();
|
69636
|
+
return `<${tagName$s} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
69612
69637
|
},
|
69613
|
-
post: () => `</${tagName$
|
69638
|
+
post: () => `</${tagName$s}>`
|
69614
69639
|
};
|
69615
69640
|
});
|
69616
69641
|
var page_build = () => { };
|
@@ -69620,15 +69645,15 @@ var page_build$1 = /*#__PURE__*/Object.freeze({
|
|
69620
69645
|
default: page_build
|
69621
69646
|
});
|
69622
69647
|
|
69623
|
-
const tagName$
|
69624
|
-
const idGen$
|
69648
|
+
const tagName$r = 'div';
|
69649
|
+
const idGen$8 = new IDGenerator('wm_layout');
|
69625
69650
|
register('wm-layout', () => {
|
69626
69651
|
return {
|
69627
69652
|
pre: (attrs) => {
|
69628
|
-
const counter = idGen$
|
69629
|
-
return `<${tagName$
|
69653
|
+
const counter = idGen$8.nextUid();
|
69654
|
+
return `<${tagName$r} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.hint || 'Main page content'" ${getAttrMarkup(attrs)}>`;
|
69630
69655
|
},
|
69631
|
-
post: () => `</${tagName$
|
69656
|
+
post: () => `</${tagName$r}>`
|
69632
69657
|
};
|
69633
69658
|
});
|
69634
69659
|
var layout_build = () => { };
|
@@ -69638,11 +69663,11 @@ var layout_build$1 = /*#__PURE__*/Object.freeze({
|
|
69638
69663
|
default: layout_build
|
69639
69664
|
});
|
69640
69665
|
|
69641
|
-
const tagName$
|
69666
|
+
const tagName$q = 'router-outlet';
|
69642
69667
|
register('wm-router-outlet', () => {
|
69643
69668
|
return {
|
69644
|
-
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$
|
69645
|
-
post: () => `</${tagName$
|
69669
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$q} (activate)="onActivate($event)">`,
|
69670
|
+
post: () => `</${tagName$q}></div>`
|
69646
69671
|
};
|
69647
69672
|
});
|
69648
69673
|
var routerOutlet_build = () => { };
|
@@ -69652,11 +69677,11 @@ var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
|
|
69652
69677
|
default: routerOutlet_build
|
69653
69678
|
});
|
69654
69679
|
|
69655
|
-
const tagName$
|
69680
|
+
const tagName$p = 'nav';
|
69656
69681
|
register('wm-pagination', () => {
|
69657
69682
|
return {
|
69658
|
-
pre: attrs => `<${tagName$
|
69659
|
-
post: () => `</${tagName$
|
69683
|
+
pre: attrs => `<${tagName$p} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
|
69684
|
+
post: () => `</${tagName$p}>`
|
69660
69685
|
};
|
69661
69686
|
});
|
69662
69687
|
var pagination_build = () => { };
|
@@ -69666,11 +69691,11 @@ var pagination_build$1 = /*#__PURE__*/Object.freeze({
|
|
69666
69691
|
default: pagination_build
|
69667
69692
|
});
|
69668
69693
|
|
69669
|
-
const tagName$
|
69694
|
+
const tagName$o = 'main';
|
69670
69695
|
register('wm-content', () => {
|
69671
69696
|
return {
|
69672
|
-
pre: attrs => `<${tagName$
|
69673
|
-
post: () => `</${tagName$
|
69697
|
+
pre: attrs => `<${tagName$o} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
|
69698
|
+
post: () => `</${tagName$o}>`
|
69674
69699
|
};
|
69675
69700
|
});
|
69676
69701
|
var content_build = () => { };
|
@@ -69680,15 +69705,15 @@ var content_build$1 = /*#__PURE__*/Object.freeze({
|
|
69680
69705
|
default: content_build
|
69681
69706
|
});
|
69682
69707
|
|
69683
|
-
const tagName$
|
69684
|
-
const idGen$
|
69708
|
+
const tagName$n = 'footer';
|
69709
|
+
const idGen$7 = new IDGenerator('wm_footer');
|
69685
69710
|
register('wm-footer', () => {
|
69686
69711
|
return {
|
69687
69712
|
pre: (attrs) => {
|
69688
|
-
const counter = idGen$
|
69689
|
-
return `<${tagName$
|
69713
|
+
const counter = idGen$7.nextUid();
|
69714
|
+
return `<${tagName$n} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.hint || 'Page footer'" ${getAttrMarkup(attrs)}>`;
|
69690
69715
|
},
|
69691
|
-
post: () => `</${tagName$
|
69716
|
+
post: () => `</${tagName$n}>`
|
69692
69717
|
};
|
69693
69718
|
});
|
69694
69719
|
var footer_build = () => { };
|
@@ -69698,15 +69723,15 @@ var footer_build$1 = /*#__PURE__*/Object.freeze({
|
|
69698
69723
|
default: footer_build
|
69699
69724
|
});
|
69700
69725
|
|
69701
|
-
const tagName$
|
69702
|
-
const idGen$
|
69726
|
+
const tagName$m = 'header';
|
69727
|
+
const idGen$6 = new IDGenerator('wm_header');
|
69703
69728
|
register('wm-header', () => {
|
69704
69729
|
return {
|
69705
69730
|
pre: (attrs) => {
|
69706
|
-
const counter = idGen$
|
69707
|
-
return `<${tagName$
|
69731
|
+
const counter = idGen$6.nextUid();
|
69732
|
+
return `<${tagName$m} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.hint || 'Page header'" ${getAttrMarkup(attrs)}>`;
|
69708
69733
|
},
|
69709
|
-
post: () => `</${tagName$
|
69734
|
+
post: () => `</${tagName$m}>`
|
69710
69735
|
};
|
69711
69736
|
});
|
69712
69737
|
var header_build = () => { };
|
@@ -69716,15 +69741,15 @@ var header_build$1 = /*#__PURE__*/Object.freeze({
|
|
69716
69741
|
default: header_build
|
69717
69742
|
});
|
69718
69743
|
|
69719
|
-
const tagName$
|
69720
|
-
const idGen$
|
69744
|
+
const tagName$l = 'aside';
|
69745
|
+
const idGen$5 = new IDGenerator('wm_left_panel');
|
69721
69746
|
register('wm-left-panel', () => {
|
69722
69747
|
return {
|
69723
69748
|
pre: (attrs) => {
|
69724
|
-
const counter = idGen$
|
69725
|
-
return `<${tagName$
|
69749
|
+
const counter = idGen$5.nextUid();
|
69750
|
+
return `<${tagName$l} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.hint || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
|
69726
69751
|
},
|
69727
|
-
post: () => `</${tagName$
|
69752
|
+
post: () => `</${tagName$l}>`
|
69728
69753
|
};
|
69729
69754
|
});
|
69730
69755
|
var leftPanel_build = () => { };
|
@@ -69734,11 +69759,11 @@ var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
69734
69759
|
default: leftPanel_build
|
69735
69760
|
});
|
69736
69761
|
|
69737
|
-
const tagName$
|
69762
|
+
const tagName$k = 'header';
|
69738
69763
|
register('wm-mobile-navbar', () => {
|
69739
69764
|
return {
|
69740
|
-
pre: attrs => `<${tagName$
|
69741
|
-
post: () => `</${tagName$
|
69765
|
+
pre: attrs => `<${tagName$k} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
|
69766
|
+
post: () => `</${tagName$k}>`
|
69742
69767
|
};
|
69743
69768
|
});
|
69744
69769
|
var mobileNavbar_build = () => { };
|
@@ -69748,15 +69773,15 @@ var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
69748
69773
|
default: mobileNavbar_build
|
69749
69774
|
});
|
69750
69775
|
|
69751
|
-
const tagName$
|
69752
|
-
const idGen$
|
69776
|
+
const tagName$j = 'aside';
|
69777
|
+
const idGen$4 = new IDGenerator('wm_right_panel');
|
69753
69778
|
register('wm-right-panel', () => {
|
69754
69779
|
return {
|
69755
69780
|
pre: (attrs) => {
|
69756
|
-
const counter = idGen$
|
69757
|
-
return `<${tagName$
|
69781
|
+
const counter = idGen$4.nextUid();
|
69782
|
+
return `<${tagName$j} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.hint || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
|
69758
69783
|
},
|
69759
|
-
post: () => `</${tagName$
|
69784
|
+
post: () => `</${tagName$j}>`
|
69760
69785
|
};
|
69761
69786
|
});
|
69762
69787
|
var rightPanel_build = () => { };
|
@@ -69766,22 +69791,22 @@ var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
69766
69791
|
default: rightPanel_build
|
69767
69792
|
});
|
69768
69793
|
|
69769
|
-
const tagName$
|
69770
|
-
const createElement$
|
69771
|
-
return new Element$2(name, [], [], noSpan$
|
69794
|
+
const tagName$i = 'div';
|
69795
|
+
const createElement$3 = name => {
|
69796
|
+
return new Element$2(name, [], [], noSpan$3, noSpan$3, noSpan$3);
|
69772
69797
|
};
|
69773
|
-
const addAtrribute$
|
69774
|
-
const attr = new Attribute$1(name, value, noSpan$
|
69798
|
+
const addAtrribute$3 = (node, name, value) => {
|
69799
|
+
const attr = new Attribute$1(name, value, noSpan$3, noSpan$3, noSpan$3, undefined, undefined);
|
69775
69800
|
node.attrs.push(attr);
|
69776
69801
|
};
|
69777
|
-
const noSpan$
|
69802
|
+
const noSpan$3 = {};
|
69778
69803
|
register('wm-page-content', () => {
|
69779
69804
|
return {
|
69780
69805
|
template: (node) => {
|
69781
69806
|
for (let attr of node.attrs) {
|
69782
69807
|
if (attr.name === 'spa' && attr.value === 'true') {
|
69783
|
-
const conditionalNode = createElement$
|
69784
|
-
addAtrribute$
|
69808
|
+
const conditionalNode = createElement$3('ng-container');
|
69809
|
+
addAtrribute$3(conditionalNode, '*ngIf', 'compilePageContent');
|
69785
69810
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
69786
69811
|
conditionalNode.children.push(new Text$1('{{onPageContentReady()}}', null, undefined, undefined));
|
69787
69812
|
node.children = [conditionalNode];
|
@@ -69789,8 +69814,8 @@ register('wm-page-content', () => {
|
|
69789
69814
|
}
|
69790
69815
|
}
|
69791
69816
|
},
|
69792
|
-
pre: attrs => `<${tagName$
|
69793
|
-
post: () => `</${tagName$
|
69817
|
+
pre: attrs => `<${tagName$i} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
69818
|
+
post: () => `</${tagName$i}>`
|
69794
69819
|
};
|
69795
69820
|
});
|
69796
69821
|
var pageContent_build = () => { };
|
@@ -69800,11 +69825,11 @@ var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
69800
69825
|
default: pageContent_build
|
69801
69826
|
});
|
69802
69827
|
|
69803
|
-
const tagName$
|
69828
|
+
const tagName$h = 'div';
|
69804
69829
|
register('wm-mobile-tabbar', () => {
|
69805
69830
|
return {
|
69806
|
-
pre: attrs => `<${tagName$
|
69807
|
-
post: () => `</${tagName$
|
69831
|
+
pre: attrs => `<${tagName$h} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
|
69832
|
+
post: () => `</${tagName$h}>`
|
69808
69833
|
};
|
69809
69834
|
});
|
69810
69835
|
var tabBar_build = () => { };
|
@@ -69814,15 +69839,15 @@ var tabBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
69814
69839
|
default: tabBar_build
|
69815
69840
|
});
|
69816
69841
|
|
69817
|
-
const tagName$
|
69818
|
-
const idGen$
|
69842
|
+
const tagName$g = 'section';
|
69843
|
+
const idGen$3 = new IDGenerator('wm_top_nav');
|
69819
69844
|
register('wm-top-nav', () => {
|
69820
69845
|
return {
|
69821
69846
|
pre: (attrs) => {
|
69822
|
-
const counter = idGen$
|
69823
|
-
return `<${tagName$
|
69847
|
+
const counter = idGen$3.nextUid();
|
69848
|
+
return `<${tagName$g} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.hint || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
|
69824
69849
|
},
|
69825
|
-
post: () => `</${tagName$
|
69850
|
+
post: () => `</${tagName$g}>`
|
69826
69851
|
};
|
69827
69852
|
});
|
69828
69853
|
var topNav_build = () => { };
|
@@ -69832,26 +69857,26 @@ var topNav_build$1 = /*#__PURE__*/Object.freeze({
|
|
69832
69857
|
default: topNav_build
|
69833
69858
|
});
|
69834
69859
|
|
69835
|
-
const tagName$
|
69836
|
-
const noSpan$
|
69837
|
-
const createElement$
|
69838
|
-
return new Element$2(name, [], [], noSpan$
|
69860
|
+
const tagName$f = 'section';
|
69861
|
+
const noSpan$2 = {};
|
69862
|
+
const createElement$2 = name => {
|
69863
|
+
return new Element$2(name, [], [], noSpan$2, noSpan$2, noSpan$2);
|
69839
69864
|
};
|
69840
|
-
const addAtrribute$
|
69841
|
-
const attr = new Attribute$1(name, value, noSpan$
|
69865
|
+
const addAtrribute$2 = (node, name, value) => {
|
69866
|
+
const attr = new Attribute$1(name, value, noSpan$2, noSpan$2, noSpan$2, undefined, undefined);
|
69842
69867
|
node.attrs.push(attr);
|
69843
69868
|
};
|
69844
69869
|
register('wm-partial', () => {
|
69845
69870
|
return {
|
69846
69871
|
template: (node) => {
|
69847
|
-
const conditionalNode = createElement$
|
69848
|
-
addAtrribute$
|
69872
|
+
const conditionalNode = createElement$2('ng-container');
|
69873
|
+
addAtrribute$2(conditionalNode, '*ngIf', 'compileContent');
|
69849
69874
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
69850
69875
|
node.children.length = 0;
|
69851
69876
|
node.children.push(conditionalNode);
|
69852
69877
|
},
|
69853
|
-
pre: attrs => `<${tagName$
|
69854
|
-
post: () => `</${tagName$
|
69878
|
+
pre: attrs => `<${tagName$f} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
|
69879
|
+
post: () => `</${tagName$f}>`
|
69855
69880
|
};
|
69856
69881
|
});
|
69857
69882
|
var partial_build = () => { };
|
@@ -69861,11 +69886,11 @@ var partial_build$1 = /*#__PURE__*/Object.freeze({
|
|
69861
69886
|
default: partial_build
|
69862
69887
|
});
|
69863
69888
|
|
69864
|
-
const tagName$
|
69889
|
+
const tagName$e = 'div';
|
69865
69890
|
register('wm-param', () => {
|
69866
69891
|
return {
|
69867
|
-
pre: attrs => `<${tagName$
|
69868
|
-
post: () => `</${tagName$
|
69892
|
+
pre: attrs => `<${tagName$e} wmParam hidden ${getAttrMarkup(attrs)}>`,
|
69893
|
+
post: () => `</${tagName$e}>`
|
69869
69894
|
};
|
69870
69895
|
});
|
69871
69896
|
var partialParam_build = () => { };
|
@@ -69875,11 +69900,11 @@ var partialParam_build$1 = /*#__PURE__*/Object.freeze({
|
|
69875
69900
|
default: partialParam_build
|
69876
69901
|
});
|
69877
69902
|
|
69878
|
-
const tagName$
|
69903
|
+
const tagName$d = 'section';
|
69879
69904
|
register('wm-prefab', () => {
|
69880
69905
|
return {
|
69881
|
-
pre: attrs => `<${tagName$
|
69882
|
-
post: () => `</${tagName$
|
69906
|
+
pre: attrs => `<${tagName$d} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
|
69907
|
+
post: () => `</${tagName$d}>`
|
69883
69908
|
};
|
69884
69909
|
});
|
69885
69910
|
var prefab_build = () => { };
|
@@ -69889,26 +69914,26 @@ var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
69889
69914
|
default: prefab_build
|
69890
69915
|
});
|
69891
69916
|
|
69892
|
-
const noSpan = {};
|
69893
|
-
const createElement = name => {
|
69894
|
-
return new Element$2(name, [], [], noSpan, noSpan, noSpan);
|
69917
|
+
const noSpan$1 = {};
|
69918
|
+
const createElement$1 = name => {
|
69919
|
+
return new Element$2(name, [], [], noSpan$1, noSpan$1, noSpan$1);
|
69895
69920
|
};
|
69896
|
-
const addAtrribute = (node, name, value) => {
|
69897
|
-
const attr = new Attribute$1(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
69921
|
+
const addAtrribute$1 = (node, name, value) => {
|
69922
|
+
const attr = new Attribute$1(name, value, noSpan$1, noSpan$1, noSpan$1, undefined, undefined);
|
69898
69923
|
node.attrs.push(attr);
|
69899
69924
|
};
|
69900
|
-
const tagName$
|
69925
|
+
const tagName$c = 'div';
|
69901
69926
|
register('wm-prefab-container', () => {
|
69902
69927
|
return {
|
69903
69928
|
template: (node) => {
|
69904
|
-
const conditionalNode = createElement('ng-container');
|
69905
|
-
addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
69929
|
+
const conditionalNode = createElement$1('ng-container');
|
69930
|
+
addAtrribute$1(conditionalNode, '*ngIf', 'compileContent');
|
69906
69931
|
conditionalNode.children = conditionalNode.children.concat(node.children);
|
69907
69932
|
node.children.length = 0;
|
69908
69933
|
node.children.push(conditionalNode);
|
69909
69934
|
},
|
69910
|
-
pre: attrs => `<${tagName$
|
69911
|
-
post: () => `</${tagName$
|
69935
|
+
pre: attrs => `<${tagName$c} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
|
69936
|
+
post: () => `</${tagName$c}>`
|
69912
69937
|
};
|
69913
69938
|
});
|
69914
69939
|
var prefabContainer_build = () => { };
|
@@ -69918,11 +69943,11 @@ var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
69918
69943
|
default: prefabContainer_build
|
69919
69944
|
});
|
69920
69945
|
|
69921
|
-
const tagName$
|
69946
|
+
const tagName$b = 'div';
|
69922
69947
|
register('wm-table-action', () => {
|
69923
69948
|
return {
|
69924
|
-
pre: attrs => `<${tagName$
|
69925
|
-
post: () => `</${tagName$
|
69949
|
+
pre: attrs => `<${tagName$b} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
|
69950
|
+
post: () => `</${tagName$b}>`
|
69926
69951
|
};
|
69927
69952
|
});
|
69928
69953
|
var tableAction_build = () => { };
|
@@ -69932,11 +69957,11 @@ var tableAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
69932
69957
|
default: tableAction_build
|
69933
69958
|
});
|
69934
69959
|
|
69935
|
-
const tagName$
|
69960
|
+
const tagName$a = 'div';
|
69936
69961
|
register('wm-table-column-group', () => {
|
69937
69962
|
return {
|
69938
|
-
pre: attrs => `<${tagName$
|
69939
|
-
post: () => `</${tagName$
|
69963
|
+
pre: attrs => `<${tagName$a} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
|
69964
|
+
post: () => `</${tagName$a}>`
|
69940
69965
|
};
|
69941
69966
|
});
|
69942
69967
|
var tableColumnGroup_build = () => { };
|
@@ -69946,8 +69971,8 @@ var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
69946
69971
|
default: tableColumnGroup_build
|
69947
69972
|
});
|
69948
69973
|
|
69949
|
-
const tagName$
|
69950
|
-
const idGen$
|
69974
|
+
const tagName$9 = 'div';
|
69975
|
+
const idGen$2 = new IDGenerator('data_table_form_');
|
69951
69976
|
const formWidgets = new Set([
|
69952
69977
|
'wm-text',
|
69953
69978
|
'wm-textarea',
|
@@ -70059,7 +70084,7 @@ const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
|
|
70059
70084
|
let wmFormWidget = '';
|
70060
70085
|
if (widget === FormWidgetType.UPLOAD) {
|
70061
70086
|
options.uploadProps = {
|
70062
|
-
formName: idGen$
|
70087
|
+
formName: idGen$2.nextUid(),
|
70063
70088
|
name: fieldName
|
70064
70089
|
};
|
70065
70090
|
options.counter = pCounter;
|
@@ -70199,7 +70224,7 @@ register('wm-table-column', () => {
|
|
70199
70224
|
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
|
70200
70225
|
}
|
70201
70226
|
}
|
70202
|
-
return `<${tagName$
|
70227
|
+
return `<${tagName$9} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
|
70203
70228
|
${rowFilterTmpl}
|
70204
70229
|
${inlineEditTmpl}
|
70205
70230
|
${inlineNewEditTmpl}
|
@@ -70210,7 +70235,7 @@ register('wm-table-column', () => {
|
|
70210
70235
|
if (shared.get('customExpression')) {
|
70211
70236
|
customExprTmpl = `</div></ng-template>`;
|
70212
70237
|
}
|
70213
|
-
return `${customExprTmpl}</${tagName$
|
70238
|
+
return `${customExprTmpl}</${tagName$9}>`;
|
70214
70239
|
},
|
70215
70240
|
imports: (attrs) => {
|
70216
70241
|
const editWidgetType = attrs.get('edit-widget-type');
|
@@ -70226,7 +70251,7 @@ var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
70226
70251
|
default: tableColumn_build
|
70227
70252
|
});
|
70228
70253
|
|
70229
|
-
const tagName$
|
70254
|
+
const tagName$8 = 'div';
|
70230
70255
|
const getRowExpansionActionTmpl = (attrs) => {
|
70231
70256
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
70232
70257
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
@@ -70242,7 +70267,7 @@ const getRowExpansionActionTmpl = (attrs) => {
|
|
70242
70267
|
register('wm-table-row', () => {
|
70243
70268
|
return {
|
70244
70269
|
pre: (attrs) => {
|
70245
|
-
return `<${tagName$
|
70270
|
+
return `<${tagName$8} wmTableRow ${getAttrMarkup(attrs)}>
|
70246
70271
|
${getRowExpansionActionTmpl(attrs)}
|
70247
70272
|
<ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
|
70248
70273
|
<div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
|
@@ -70250,7 +70275,7 @@ register('wm-table-row', () => {
|
|
70250
70275
|
<div *ngFor="let param of rowDef.partialParams | keyvalue" wmParam hidden
|
70251
70276
|
[name]="param.key" [value]="param.value"></div>`;
|
70252
70277
|
},
|
70253
|
-
post: () => `</div></ng-template></${tagName$
|
70278
|
+
post: () => `</div></ng-template></${tagName$8}>`
|
70254
70279
|
};
|
70255
70280
|
});
|
70256
70281
|
var tableRow_build = () => { };
|
@@ -70260,7 +70285,7 @@ var tableRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
70260
70285
|
default: tableRow_build
|
70261
70286
|
});
|
70262
70287
|
|
70263
|
-
const tagName$
|
70288
|
+
const tagName$7 = 'div';
|
70264
70289
|
const getSaveCancelTemplate = () => {
|
70265
70290
|
return `<button type="button" aria-label="Save edit icon" class="save row-action-button btn app-button btn-transparent save-edit-row-button hidden" title="Save">
|
70266
70291
|
<i class="wi wi-done" aria-hidden="true"></i>
|
@@ -70292,9 +70317,9 @@ const getRowActionTmpl = (attrs) => {
|
|
70292
70317
|
};
|
70293
70318
|
register('wm-table-row-action', () => {
|
70294
70319
|
return {
|
70295
|
-
pre: attrs => `<${tagName$
|
70320
|
+
pre: attrs => `<${tagName$7} wmTableRowAction ${getAttrMarkup(attrs)}>
|
70296
70321
|
${getRowActionTmpl(attrs)}`,
|
70297
|
-
post: () => `</${tagName$
|
70322
|
+
post: () => `</${tagName$7}>`
|
70298
70323
|
};
|
70299
70324
|
});
|
70300
70325
|
var tableRowAction_build = () => { };
|
@@ -70304,9 +70329,9 @@ var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
70304
70329
|
default: tableRowAction_build
|
70305
70330
|
});
|
70306
70331
|
|
70307
|
-
const tagName$
|
70332
|
+
const tagName$6 = 'div';
|
70308
70333
|
const dataSetKey = 'dataset';
|
70309
|
-
const idGen = new IDGenerator('table_');
|
70334
|
+
const idGen$1 = new IDGenerator('table_');
|
70310
70335
|
let columnIndex = 0;
|
70311
70336
|
/**
|
70312
70337
|
* This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
|
@@ -70366,14 +70391,14 @@ register('wm-table', () => {
|
|
70366
70391
|
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
|
70367
70392
|
},
|
70368
70393
|
pre: (attrs, shared) => {
|
70369
|
-
const counter = idGen.nextUid();
|
70394
|
+
const counter = idGen$1.nextUid();
|
70370
70395
|
shared.set('counter', counter);
|
70371
70396
|
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
70372
70397
|
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
70373
70398
|
attrs.set('table_reference', counter);
|
70374
|
-
return `<${tagName$
|
70399
|
+
return `<${tagName$6} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
70375
70400
|
},
|
70376
|
-
post: () => `</${tagName$
|
70401
|
+
post: () => `</${tagName$6}>`,
|
70377
70402
|
provide: (attrs, shared) => {
|
70378
70403
|
const provider = new Map();
|
70379
70404
|
provider.set('table_reference', shared.get('counter'));
|
@@ -70392,11 +70417,11 @@ var table_build$1 = /*#__PURE__*/Object.freeze({
|
|
70392
70417
|
default: table_build
|
70393
70418
|
});
|
70394
70419
|
|
70395
|
-
const tagName$
|
70420
|
+
const tagName$5 = 'div';
|
70396
70421
|
register('wm-video', () => {
|
70397
70422
|
return {
|
70398
|
-
pre: attrs => `<${tagName$
|
70399
|
-
post: () => `</${tagName$
|
70423
|
+
pre: attrs => `<${tagName$5} wmVideo ${getAttrMarkup(attrs)}>`,
|
70424
|
+
post: () => `</${tagName$5}>`
|
70400
70425
|
};
|
70401
70426
|
});
|
70402
70427
|
var video_build = () => { };
|
@@ -70406,7 +70431,7 @@ var video_build$1 = /*#__PURE__*/Object.freeze({
|
|
70406
70431
|
default: video_build
|
70407
70432
|
});
|
70408
70433
|
|
70409
|
-
const tagName$
|
70434
|
+
const tagName$4 = 'div';
|
70410
70435
|
const SPACING_KEY = 'parentLinearLayout.spacing';
|
70411
70436
|
register('wm-linearlayout', () => {
|
70412
70437
|
return {
|
@@ -70414,9 +70439,9 @@ register('wm-linearlayout', () => {
|
|
70414
70439
|
pre: (attrs, shared, provider) => {
|
70415
70440
|
let spacing = attrs.get('spacing');
|
70416
70441
|
attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
|
70417
|
-
return `<${tagName$
|
70442
|
+
return `<${tagName$4} wmLinearLayout ${getAttrMarkup(attrs)}>`;
|
70418
70443
|
},
|
70419
|
-
post: () => `</${tagName$
|
70444
|
+
post: () => `</${tagName$4}>`,
|
70420
70445
|
provide: (attrs, shared) => {
|
70421
70446
|
const provider = new Map();
|
70422
70447
|
provider.set(SPACING_KEY, attrs.get('spacing'));
|
@@ -70431,11 +70456,11 @@ var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
|
|
70431
70456
|
default: linearLayout_build
|
70432
70457
|
});
|
70433
70458
|
|
70434
|
-
const tagName = 'div';
|
70459
|
+
const tagName$3 = 'div';
|
70435
70460
|
register('wm-linearlayoutitem', () => {
|
70436
70461
|
return {
|
70437
|
-
pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
|
70438
|
-
post: () => `</${tagName}>`
|
70462
|
+
pre: attrs => `<${tagName$3} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
|
70463
|
+
post: () => `</${tagName$3}>`
|
70439
70464
|
};
|
70440
70465
|
});
|
70441
70466
|
var linearLayoutItem_build = () => { };
|
@@ -70445,6 +70470,63 @@ var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
70445
70470
|
default: linearLayoutItem_build
|
70446
70471
|
});
|
70447
70472
|
|
70473
|
+
const tagName$2 = 'div';
|
70474
|
+
const idGen = new IDGenerator('wm_custom_widget');
|
70475
|
+
register('wm-custom-widget', () => {
|
70476
|
+
return {
|
70477
|
+
pre: (attrs) => {
|
70478
|
+
const counter = idGen.nextUid();
|
70479
|
+
return `<${tagName$2} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
|
70480
|
+
},
|
70481
|
+
post: () => `</${tagName$2}>`
|
70482
|
+
};
|
70483
|
+
});
|
70484
|
+
var customWidgetContainer_build = () => { };
|
70485
|
+
|
70486
|
+
var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
|
70487
|
+
__proto__: null,
|
70488
|
+
default: customWidgetContainer_build
|
70489
|
+
});
|
70490
|
+
|
70491
|
+
const tagName$1 = 'div';
|
70492
|
+
register('wm-prop', () => {
|
70493
|
+
return {
|
70494
|
+
pre: attrs => `<${tagName$1} wmProp hidden ${getAttrMarkup(attrs)}>`,
|
70495
|
+
post: () => `</${tagName$1}>`
|
70496
|
+
};
|
70497
|
+
});
|
70498
|
+
var customWidgetProp_build = () => { };
|
70499
|
+
|
70500
|
+
var customWidgetProp_build$1 = /*#__PURE__*/Object.freeze({
|
70501
|
+
__proto__: null,
|
70502
|
+
default: customWidgetProp_build
|
70503
|
+
});
|
70504
|
+
|
70505
|
+
const tagName = 'section';
|
70506
|
+
const noSpan = {};
|
70507
|
+
const createElement = name => {
|
70508
|
+
return new Element$2(name, [], [], noSpan, noSpan, noSpan);
|
70509
|
+
};
|
70510
|
+
register('wm-custom-widget-container', () => {
|
70511
|
+
return {
|
70512
|
+
template: (node) => {
|
70513
|
+
const conditionalNode = createElement('ng-container');
|
70514
|
+
// addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
70515
|
+
conditionalNode.children = conditionalNode.children.concat(node.children);
|
70516
|
+
node.children.length = 0;
|
70517
|
+
node.children.push(conditionalNode);
|
70518
|
+
},
|
70519
|
+
pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
|
70520
|
+
post: () => `</${tagName}>`
|
70521
|
+
};
|
70522
|
+
});
|
70523
|
+
var customWidgetWrapper_build = () => { };
|
70524
|
+
|
70525
|
+
var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
|
70526
|
+
__proto__: null,
|
70527
|
+
default: customWidgetWrapper_build
|
70528
|
+
});
|
70529
|
+
|
70448
70530
|
const initComponentsBuildTask = () => { };
|
70449
70531
|
|
70450
70532
|
exports.WIDGET_IMPORTS = WIDGET_IMPORTS;
|
@@ -70476,6 +70558,9 @@ exports.confirmDlgBuild = confirmDialog_build$1;
|
|
70476
70558
|
exports.containerBuild = container_build$1;
|
70477
70559
|
exports.contentBuild = content_build$1;
|
70478
70560
|
exports.currencyBuild = currency_build$1;
|
70561
|
+
exports.customWidgetBuild = customWidgetContainer_build$1;
|
70562
|
+
exports.customWidgetPropBuild = customWidgetProp_build$1;
|
70563
|
+
exports.customWidgetWrapperBuild = customWidgetWrapper_build$1;
|
70479
70564
|
exports.dateBuild = date_build$1;
|
70480
70565
|
exports.dateTimeBuild = dateTime_build$1;
|
70481
70566
|
exports.dlgBuild = dialog_build$1;
|