@wavemaker/app-ng-runtime 11.16.0-rc.647821 → 11.16.1-rc.270

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.
Files changed (111) hide show
  1. package/build-task/bundles/index.umd.js +1 -1
  2. package/build-task/fesm2022/index.mjs +1 -1
  3. package/build-task/fesm2022/index.mjs.map +1 -1
  4. package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
  5. package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
  6. package/components/advanced/login/fesm2022/index.mjs.map +1 -1
  7. package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
  8. package/components/base/fesm2022/index.mjs.map +1 -1
  9. package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
  10. package/components/basic/audio/fesm2022/index.mjs.map +1 -1
  11. package/components/basic/html/fesm2022/index.mjs.map +1 -1
  12. package/components/basic/icon/fesm2022/index.mjs.map +1 -1
  13. package/components/basic/iframe/fesm2022/index.mjs.map +1 -1
  14. package/components/basic/label/bundles/index.umd.js +1 -1
  15. package/components/basic/label/fesm2022/index.mjs +2 -2
  16. package/components/basic/label/fesm2022/index.mjs.map +1 -1
  17. package/components/basic/picture/fesm2022/index.mjs.map +1 -1
  18. package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -1
  19. package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -1
  20. package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  21. package/components/basic/search/bundles/index.umd.js +2 -2
  22. package/components/basic/search/fesm2022/index.mjs +2 -2
  23. package/components/basic/search/fesm2022/index.mjs.map +1 -1
  24. package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
  25. package/components/basic/tree/fesm2022/index.mjs.map +1 -1
  26. package/components/basic/video/fesm2022/index.mjs.map +1 -1
  27. package/components/chart/fesm2022/index.mjs.map +1 -1
  28. package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
  29. package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
  30. package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
  31. package/components/containers/panel/fesm2022/index.mjs.map +1 -1
  32. package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  33. package/components/containers/tile/fesm2022/index.mjs.map +1 -1
  34. package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
  35. package/components/data/card/fesm2022/index.mjs.map +1 -1
  36. package/components/data/form/fesm2022/index.mjs.map +1 -1
  37. package/components/data/list/fesm2022/index.mjs.map +1 -1
  38. package/components/data/live-table/fesm2022/index.mjs.map +1 -1
  39. package/components/data/pagination/bundles/index.umd.js +2 -1
  40. package/components/data/pagination/fesm2022/index.mjs +2 -1
  41. package/components/data/pagination/fesm2022/index.mjs.map +1 -1
  42. package/components/data/table/bundles/index.umd.js +10 -7
  43. package/components/data/table/fesm2022/index.mjs +10 -7
  44. package/components/data/table/fesm2022/index.mjs.map +1 -1
  45. package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  46. package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  47. package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  48. package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  49. package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  50. package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
  51. package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  52. package/components/input/base-form/fesm2022/index.mjs.map +1 -1
  53. package/components/input/base-form-custom/fesm2022/index.mjs.map +1 -1
  54. package/components/input/button/fesm2022/index.mjs.map +1 -1
  55. package/components/input/button-group/fesm2022/index.mjs.map +1 -1
  56. package/components/input/calendar/fesm2022/index.mjs.map +1 -1
  57. package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
  58. package/components/input/checkboxset/bundles/index.umd.js +2 -2
  59. package/components/input/checkboxset/fesm2022/index.mjs +2 -2
  60. package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
  61. package/components/input/chips/fesm2022/index.mjs.map +1 -1
  62. package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  63. package/components/input/composite/fesm2022/index.mjs.map +1 -1
  64. package/components/input/currency/fesm2022/index.mjs.map +1 -1
  65. package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -1
  66. package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
  67. package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
  68. package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
  69. package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -1
  70. package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -1
  71. package/components/input/epoch/time/fesm2022/index.mjs.map +1 -1
  72. package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  73. package/components/input/number/fesm2022/index.mjs.map +1 -1
  74. package/components/input/radioset/bundles/index.umd.js +2 -2
  75. package/components/input/radioset/fesm2022/index.mjs +2 -2
  76. package/components/input/radioset/fesm2022/index.mjs.map +1 -1
  77. package/components/input/rating/fesm2022/index.mjs.map +1 -1
  78. package/components/input/select/fesm2022/index.mjs.map +1 -1
  79. package/components/input/slider/fesm2022/index.mjs.map +1 -1
  80. package/components/input/switch/fesm2022/index.mjs.map +1 -1
  81. package/components/input/text/fesm2022/index.mjs.map +1 -1
  82. package/components/input/textarea/fesm2022/index.mjs.map +1 -1
  83. package/components/navigation/breadcrumb/bundles/index.umd.js +10 -5
  84. package/components/navigation/breadcrumb/fesm2022/index.mjs +7 -1
  85. package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
  86. package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  87. package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
  88. package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  89. package/components/page/default/bundles/index.umd.js +1 -0
  90. package/components/page/default/fesm2022/index.mjs +1 -0
  91. package/components/page/default/fesm2022/index.mjs.map +1 -1
  92. package/components/page/footer/fesm2022/index.mjs.map +1 -1
  93. package/components/page/header/fesm2022/index.mjs.map +1 -1
  94. package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  95. package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  96. package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  97. package/components/prefab/fesm2022/index.mjs.map +1 -1
  98. package/core/fesm2022/index.mjs.map +1 -1
  99. package/locales/moment-timezone/moment-timezone-with-data.js +34 -29
  100. package/npm-shrinkwrap.json +2 -2
  101. package/oAuth/fesm2022/index.mjs.map +1 -1
  102. package/package-lock.json +2 -2
  103. package/package.json +1 -1
  104. package/runtime/base/bundles/index.umd.js +44 -22
  105. package/runtime/base/fesm2022/index.mjs +44 -22
  106. package/runtime/base/fesm2022/index.mjs.map +1 -1
  107. package/runtime/base/types/index.d.ts +7 -4
  108. package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  109. package/scripts/datatable/datatable.js +76 -5
  110. package/security/fesm2022/index.mjs.map +1 -1
  111. package/variables/fesm2022/index.mjs.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../projects/components/transpile/src/advanced/carousel/carousel.build.ts","../../../projects/components/transpile/src/advanced/carousel/carousel-template/carousel-template.build.ts","../../../projects/components/transpile/src/advanced/login/login.build.ts","../../../projects/components/transpile/src/advanced/marquee/marquee.build.ts","../../../projects/components/transpile/src/basic/anchor/anchor.build.ts","../../../projects/components/transpile/src/basic/audio/audio.build.ts","../../../projects/components/transpile/src/basic/html/html.build.ts","../../../projects/components/transpile/src/basic/icon/icon.build.ts","../../../projects/components/transpile/src/basic/iframe/iframe.build.ts","../../../projects/components/transpile/src/basic/label/label.build.ts","../../../projects/components/transpile/src/basic/picture/picture.build.ts","../../../projects/components/transpile/src/basic/spinner/spinner.build.ts","../../../projects/components/transpile/src/basic/progress/progress-bar/progress-bar.build.ts","../../../projects/components/transpile/src/basic/progress/progress-circle/progress-circle.build.ts","../../../projects/components/transpile/src/basic/rich-text-editor/rich-text-editor.build.ts","../../../projects/components/transpile/src/basic/search/search.build.ts","../../../projects/components/transpile/src/basic/tree/tree.build.ts","../../../projects/components/transpile/src/data/card/card.build.ts","../../../projects/components/transpile/src/data/card/card-content/card-content.build.ts","../../../projects/components/transpile/src/data/card/card-actions/card-actions.build.ts","../../../projects/components/transpile/src/data/card/card-footer/card-footer.build.ts","../../../projects/components/transpile/src/chart/chart.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion-pane/accordion-pane.build.ts","../../../projects/components/transpile/src/containers/container.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-column/layout-grid-column.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-row/layout-grid-row.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid.build.ts","../../../projects/components/transpile/src/containers/panel/panel.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segmented-control.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segment-content/segment-content.build.ts","../../../projects/components/transpile/src/containers/repeat-template.build.ts","../../../projects/components/transpile/src/containers/tabs/tabs.build.ts","../../../projects/components/transpile/src/containers/tabs/tab-pane/tab-pane.build.ts","../../../projects/components/transpile/src/containers/tile/tile.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard-step/wizard-step.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard-action/wizard-action.build.ts","../../../projects/components/transpile/src/device/barcode-scanner/barcode-scanner.build.ts","../../../projects/components/transpile/src/device/camera/camera.build.ts","../../../projects/components/transpile/src/dialogs/alert-dialog/alert-dialog.build.ts","../../../projects/components/transpile/src/dialogs/confirm-dialog/confirm-dialog.build.ts","../../../projects/components/transpile/src/dialogs/base/dialog-footer/dialog-footer.build.ts","../../../projects/components/transpile/src/dialogs/design-dialog/dialog.build.ts","../../../projects/components/transpile/src/dialogs/iframe-dialog/iframe-dialog.build.ts","../../../projects/components/transpile/src/dialogs/login-dialog/login-dialog.build.ts","../../../projects/components/transpile/src/dialogs/partial-dialog/partial-dialog.build.ts","../../../projects/components/transpile/src/utils/utils.ts","../../../projects/components/transpile/src/data/form/form-field/form-field.build.ts","../../../projects/components/transpile/src/data/form/form-action/form-action.build.ts","../../../projects/components/transpile/src/data/form/form.build.ts","../../../projects/components/transpile/src/input/calendar/calendar.build.ts","../../../projects/components/transpile/src/input/chips/chips.build.ts","../../../projects/components/transpile/src/input/color-picker/color-picker.build.ts","../../../projects/components/transpile/src/input/currency/currency.build.ts","../../../projects/components/transpile/src/input/default/button-group/button-group.build.ts","../../../projects/components/transpile/src/input/default/button/button.build.ts","../../../projects/components/transpile/src/input/default/checkbox/checkbox.build.ts","../../../projects/components/transpile/src/input/default/checkboxset/checkboxset.build.ts","../../../projects/components/transpile/src/input/default/composite/composite.build.ts","../../../projects/components/transpile/src/input/default/number/number.build.ts","../../../projects/components/transpile/src/input/default/radioset/radioset.build.ts","../../../projects/components/transpile/src/input/default/select/select.build.ts","../../../projects/components/transpile/src/input/default/switch/switch.build.ts","../../../projects/components/transpile/src/input/default/text/text.build.ts","../../../projects/components/transpile/src/input/default/textarea/textarea.build.ts","../../../projects/components/transpile/src/input/epoch/date-time/date-time.build.ts","../../../projects/components/transpile/src/input/epoch/date/date.build.ts","../../../projects/components/transpile/src/input/epoch/time/time.build.ts","../../../projects/components/transpile/src/input/file-upload/file-upload.build.ts","../../../projects/components/transpile/src/input/rating/rating.build.ts","../../../projects/components/transpile/src/input/slider/slider.build.ts","../../../projects/components/transpile/src/data/media-list/media-list.build.ts","../../../projects/components/transpile/src/data/media-list/media-list-item/media-list-item.build.ts","../../../projects/components/transpile/src/data/list/list.build.ts","../../../projects/components/transpile/src/data/live-table/live-table.build.ts","../../../projects/components/transpile/src/message/message.build.ts","../../../projects/components/transpile/src/navigation/breadcrumb/breadcrumb.build.ts","../../../projects/components/transpile/src/navigation/menu/menu.build.ts","../../../projects/components/transpile/src/navigation/nav/nav-item/nav-item.build.ts","../../../projects/components/transpile/src/navigation/nav/nav.build.ts","../../../projects/components/transpile/src/navigation/navbar/navbar.build.ts","../../../projects/components/transpile/src/navigation/popover/popover.build.ts","../../../projects/components/transpile/src/page/page.build.ts","../../../projects/components/transpile/src/page/layout.build.ts","../../../projects/components/transpile/src/page/router-outlet/router-outlet.build.ts","../../../projects/components/transpile/src/data/pagination/pagination.build.ts","../../../projects/components/transpile/src/page/content/content.build.ts","../../../projects/components/transpile/src/page/footer/footer.build.ts","../../../projects/components/transpile/src/page/header/header.build.ts","../../../projects/components/transpile/src/page/left-panel/left-panel.build.ts","../../../projects/components/transpile/src/page/mobile-navbar/mobile-navbar.build.ts","../../../projects/components/transpile/src/page/right-panel/right-panel.build.ts","../../../projects/components/transpile/src/page/page-content/page-content.build.ts","../../../projects/components/transpile/src/page/tab-bar/tab-bar.build.ts","../../../projects/components/transpile/src/page/top-nav/top-nav.build.ts","../../../projects/components/transpile/src/partial/partial.build.ts","../../../projects/components/transpile/src/partial-param/partial-param.build.ts","../../../projects/components/transpile/src/prefab/prefab.build.ts","../../../projects/components/transpile/src/prefab/prefab-container/prefab-container.build.ts","../../../projects/components/transpile/src/data/table/table-action/table-action.build.ts","../../../projects/components/transpile/src/data/table/table-column-group/table-column-group.build.ts","../../../projects/components/transpile/src/data/table/table-column/table-column.build.ts","../../../projects/components/transpile/src/data/table/table-row/table-row.build.ts","../../../projects/components/transpile/src/data/table/table-row-action/table-row-action.build.ts","../../../projects/components/transpile/src/data/table/table.build.ts","../../../projects/components/transpile/src/basic/video/video.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout-item/linear-layout-item.build.ts","../../../projects/components/transpile/src/advanced/custom-widget-container/custom-widget-container.build.ts","../../../projects/components/transpile/src/advanced/custom-widget-wrapper/custom-widget-wrapper.build.ts","../../../projects/components/transpile/src/public_api.ts"],"sourcesContent":["import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst carouselTagName = 'carousel';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_carousel_ref_');\n\nconst isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-carousel', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the carousel\n const counter = idGen.nextUid();\n let style;\n if(attrs?.get('height')?.endsWith('%'))\n {\n style=`height:${parseInt(attrs.get('height'),10)}vh`;\n attrs.set('height', '100%');\n }\n shared.set('carousel_ref', counter);\n return `<div class=\"app-carousel carousel\" style=\"${style}\"><${carouselTagName} wmCarousel #${counter}=\"wmCarousel\" ${getAttrMarkup(attrs)} interval=\"0\" [ngClass]=\"${counter}.navigationClass\">`;\n },\n post: () => `</${carouselTagName}></div>`,\n template: (node: Element) => {\n // check if the carousel is dynamic\n if (isDynamicCarousel(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent carousel reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('carousel_ref', shared.get('carousel_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst carouselContentTagName = 'slide';\nlet counter = 1;\n// For static carousel\nregister('wm-carousel-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${carouselContentTagName} wmCarouselTemplate ${getAttrMarkup(attrs)}>`,\n post: () => `</${carouselContentTagName}>`\n };\n});\n\n// For dynamic carousel\nregister('wm-carousel-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-carousel'],\n pre: (attrs, shared, parentCarousel) => {\n const carouselRef = parentCarousel.get('carousel_ref');\n return `@if(!${carouselRef}.fieldDefs){<div >{{${carouselRef}.nodatamessage}}</div>}\n @for (item of ${carouselRef}.fieldDefs; track item; let i = $index) {\n <${carouselContentTagName} wmCarouselTemplate #carouselTemplateRef=\"carouselTemplateRef\" ${getAttrMarkup(attrs)}>\n <ng-container [ngTemplateOutlet]=\"carouselTempRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${carouselRef}.createCustomInjector('carousel_item_' + carouselTemplateRef.trackId, {item:item, index:i})\"></ng-container>\n </${carouselContentTagName}>\n }\n <ng-template #carouselTempRef${counter++} let-item=\"item\" let-index=\"index\">`;\n\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-login', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLogin ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\">`,\n post: () => `</${tagName}>`,\n provide: () => {\n const provider = new Map();\n provider.set('isLogin', true);\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'marquee';\n\nregister('wm-marquee', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} onmouseover=\"this.stop();\" onmouseout=\"this.start();\" wmMarquee role=\"marquee\" aria-live=\"off\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'a';\nconst idGen = new IDGenerator('wm_anchor');\n\nregister('wm-anchor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmAnchor #${counter}=\"wmAnchor\" role=\"link\" data-identifier=\"anchor\" [attr.aria-label]=\"${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-audio', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAudio ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_html');\n\nregister('wm-html', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmHtml #${counter}=\"wmHtml\" role=\"application\" [attr.aria-label]=\"${counter}.arialabel || 'HTML content'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'span';\n\nregister('wm-icon', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIcon ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframe', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframe ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nlet tagName = 'p';\nconst idGen = new IDGenerator('wm_label');\n\nregister('wm-label', (): IBuildTaskDef => {\n return {\n pre: (attrs:any) => {\n if(!attrs.get(\"notag\")){\n if(!attrs.get('type')){\n const classList=attrs.get('class') ? attrs.get('class').split(' ').filter(element => [\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\"].includes(element)):[];\n attrs.set('type',classList.length ? classList[0] : \"p\");\n }\n tagName= attrs.get('type');\n }\n else{\n tagName='label';\n }\n const counter = idGen.nextUid();\n return `<${tagName} wmLabel #${counter}=\"wmLabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'img';\nconst idGen = new IDGenerator('wm_picture');\n\nregister('wm-picture', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPicture #${counter}=\"wmPicture\" [alt]=\"${counter}.alttext\" wmImageCache=\"${attrs.get('offline') || 'true'}\" [attr.aria-label]=\"${counter}.arialabel || 'Image'\" ${getAttrMarkup(attrs)}>`;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_spinner');\n\nregister('wm-spinner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmSpinner #${counter}=\"wmSpinner\" role=\"alert\" [attr.aria-label]=\"${counter}.arialabel || 'Loading...'\" aria-live=\"assertive\" aria-busy=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst getAttr = (node: Element, attrName: string) => node.attrs.find(attr => attr.name === attrName);\n\nconst getAttrValue = (node: Element, attrName: string): string | undefined => {\n const match = getAttr(node, attrName);\n if (match) {\n return match.value;\n }\n};\n\nconst getReplaceRegex = (v: string) => new RegExp(`bind:(${v}|${v}\\\\[\\\\$i])\\\\.`, 'g');\n\nregister('wm-progress-bar', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const dataset = getAttrValue(node, 'dataset');\n const boundExpr = getBoundToExpr(dataset);\n\n if (boundExpr) {\n let type = getAttrValue(node, 'type');\n let datavalue = getAttrValue(node, 'datavalue');\n\n const replaceRegex = getReplaceRegex(boundExpr);\n\n if (type && type.includes(boundExpr)) {\n type = type.replace(replaceRegex, '');\n getAttr(node, 'type').value = type;\n }\n\n if (datavalue && datavalue.includes(boundExpr)) {\n datavalue = datavalue.replace(replaceRegex, '');\n getAttr(node, 'datavalue').value = datavalue;\n }\n }\n },\n pre: attrs => `<${tagName} wmProgressBar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_progress_circle');\n\nregister('wm-progress-circle', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmProgressCircle #${counter}=\"wmProgressCircle\" role=\"progressbar\" [attr.aria-label]=\"${counter}.arialabel || 'circle-progress'\" [attr.hint]=\"${counter}.hint\" [attr.aria-valuetext]=\"${counter}.displayValue\" [attr.aria-valuemin]=\"${counter}.minvalue\" [attr.aria-valuemax]=\"${counter}.maxvalue\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_richtexteditor');\n\nregister('wm-richtexteditor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRichTextEditor #${counter}=\"wmRichTextEditor\" role=\"textbox\" [attr.aria-label]=\"${counter}.arialabel || 'Richtext editor'\" ${getFormMarkupAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-search', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-tree', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTree class=\"ztree\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCard ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-actions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardActions ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-chart', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChart redrawable aria-label=\"${attrs.get('type')} Chart\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {Element} from '@angular/compiler';\nimport {getAttrMarkup, getBoundToExpr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator, updateTemplateAttrs} from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_accordion_ref_');\n\nconst isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-accordion', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the accordion\n const counter = idGen.nextUid();\n shared.set('accordion_ref', counter);\n return `<${tagName} wmAccordion #${counter}=\"wmAccordion\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the accordion is dynamic\n if (isDynamicAccordion(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent accordion reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('accordion_ref', shared.get('accordion_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_accordionpane');\n\nregister('wm-accordionpane', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} #${counter}=\"wmAccordionPane\" wmAccordionPane partialContainer wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-container', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContainer partialContainer wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridcolumn', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridrow', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-layoutgrid', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGrid ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_panel');\n\nregister('wm-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPanel #${counter}=\"wmPanel\" partialContainer wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nregister('wm-panel-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPanelFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-segmented-control', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentedControl ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-segment-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst dynamicTemplateTagName = 'div';\nlet counter = 1;\n\n\n// For dynamic accordion panes/tab panes\nregister('wm-repeat-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-accordion', 'wm-tabs', 'wm-wizard'],\n pre: (attrs, shared, parentAccordion, parentTab, parentWizard) => {\n const widgetRef = (parentAccordion && parentAccordion.get('accordion_ref')) || (parentTab && parentTab.get('tabs_ref')) || (parentWizard && parentWizard.get('wizard_ref'));\n if (widgetRef) {\n return `@if(${widgetRef}.fieldDefs && !${widgetRef}.fieldDefs.length){<div>{{${widgetRef}.nodatamessage}}</div>}\n @for (item of ${widgetRef}.fieldDefs; track item; let i = $index) {\n <${dynamicTemplateTagName} wmRepeatTemplate #repeatItemRef=\"repeatItemRef\" ${getAttrMarkup(attrs)}>\n <ng-container [ngTemplateOutlet]=\"widgetRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${widgetRef}.createCustomInjector('dynamic_pane_' + repeatItemRef.trackId, {item:item, index:i})\"></ng-container>\n </${dynamicTemplateTagName}>\n }\n <ng-template #widgetRef${counter++} let-item=\"item\" let-index=\"index\">`;\n }\n\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_tabs_ref_');\n\nconst isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-tabs', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the tabs\n const counter = idGen.nextUid();\n shared.set('tabs_ref', counter);\n return `<${tagName} wmTabs #${counter}=\"wmTabs\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the tab widget is dynamic\n if (isDynamicTabs(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent tab reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('tabs_ref', shared.get('tabs_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nregister('wm-tabpane', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element=\"true\" role=\"tabpanel\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-tile', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTile wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getBoundToExpr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator, updateTemplateAttrs} from \"@wm/core\";\nimport {Element} from \"@angular/compiler\";\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_wizard_ref_');\n\nconst isDynamicWizard = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-wizard', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('wizard_ref', counter);\n return `<${tagName} wmWizard #${counter}=\"wmWizard\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the tab widget is dynamic\n if (isDynamicWizard(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent tab reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('wizard_ref', shared.get('wizard_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { IDGenerator } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('wizard_step_id_');\n\nregister('wm-wizardstep', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const counter = idGen.nextUid();\n return `<${tagName} wmWizardStep partialContainer #${counter}=\"wmWizardStep\" ${getAttrMarkup(attrs)}>\n <ng-template [ngIf]=\"${counter}.isInitialized\">`;\n },\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-wizardaction', (): IBuildTaskDef => {\n return {\n pre: attrs => `<ng-template #wizardAction><${tagName} wmWizardAction ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}></ng-template>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_barcodescanner');\n\nregister('wm-barcodescanner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmBarcodescanner #${counter}=\"wmBarcodescanner\" [attr.aria-label]=\"${counter}.arialabel || 'Barcode scanner'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_camera');\n\nregister('wm-camera', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} type='button' wmCamera #${counter}=\"wmCamera\" [attr.aria-label]=\"${counter}.arialabel || 'Camera'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-alertdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAlertDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-confirmdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmConfirmDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialogactions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<ng-template #dialogFooter><${tagName} wmDialogFooter data-identfier=\"actions\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog ${getAttrMarkup(attrs)} aria-modal=\"true\" role=\"dialog\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\n// Todo:vinay remove wm-view in migration\nregister('wm-view', (): IBuildTaskDef => {\n return {\n pre: attrs => '',\n post: () => ''\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframedialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframeDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-logindialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-pagedialog', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const content = attrs.get('content');\n attrs.delete('content');\n\n const boundContent = attrs.get('content.bind');\n attrs.delete('content.bind');\n\n const onLoad = attrs.get('load.event');\n attrs.delete('load.event');\n\n let onLoadEvtMarkup = '';\n let contentMarkup = '';\n\n if (onLoad) {\n onLoadEvtMarkup = `load.event=\"${onLoad}\"`;\n }\n\n if (boundContent) {\n contentMarkup = `content.bind=\"${boundContent}\"`;\n } else if (content) {\n contentMarkup = `content=\"${content}\"`;\n }\n\n let containerMarkup = '';\n if (contentMarkup) {\n\n shared.set('hasPartialContent', true);\n containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width=\"100%\" height=\"100%\" ${onLoadEvtMarkup}>`;\n }\n\n return `<${tagName} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;\n },\n post: (attrs, shared) => {\n let preContent = '';\n if (shared.get('hasPartialContent')) {\n preContent = `</div></ng-template>`;\n }\n return `${preContent}</${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import {DataType, FormWidgetType} from '@wm/core';\n\nexport const ALLFIELDS = 'All Fields';\nexport const EDIT_MODE = {\n QUICK_EDIT : 'quickedit',\n INLINE : 'inline',\n FORM : 'form',\n DIALOG : 'dialog'\n};\n\nconst fieldTypeWidgetTypeMap = {\n 'integer' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_integer': ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'short' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'float' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_decimal': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'number' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'double' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'long' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'byte' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'string' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'character' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'switch', 'currency', 'autocomplete', 'chips'],\n 'text' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'date' : ['date', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'time' : ['time', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'timestamp' : ['timestamp', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'datetime' : ['datetime', 'text', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'boolean' : ['checkbox', 'radioset', 'toggle', 'select'],\n 'list' : ['select', 'radioset', 'checkboxset', 'switch', 'autocomplete', 'chips'],\n 'clob' : ['text', 'textarea', 'richtext'],\n 'blob' : ['upload'],\n 'file' : ['upload'],\n 'custom' : ['text', 'number', 'textarea', 'password', 'checkbox', 'toggle', 'slider', 'richtext', 'currency', 'switch',\n 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'rating', 'datetime', 'autocomplete', 'chips', 'colorpicker']\n};\n\nconst DATASET_WIDGETS = new Set([FormWidgetType.SELECT, FormWidgetType.CHECKBOXSET, FormWidgetType.RADIOSET,\n FormWidgetType.SWITCH, FormWidgetType.AUTOCOMPLETE, FormWidgetType.CHIPS, FormWidgetType.TYPEAHEAD, FormWidgetType.RATING]);\n\nexport const isDataSetWidget = widget => {\n return DATASET_WIDGETS.has(widget);\n};\n\n// Get filter widget applicable to the given type\nexport const getDataTableFilterWidget = type => {\n let widget = fieldTypeWidgetTypeMap[type] && fieldTypeWidgetTypeMap[type][0];\n if (type === DataType.BOOLEAN) {\n widget = FormWidgetType.SELECT;\n }\n const filterWidgets = [FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,\n FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME];\n if (filterWidgets.includes(widget)) {\n return widget;\n }\n return FormWidgetType.TEXT;\n};\n\n/**\n * @ngdoc function\n * @name wm.widgets.live.getEditModeWidget\n * @methodOf wm.widgets.live.LiveWidgetUtils\n * @function\n *\n * @description\n * This function returns the default widget for grid\n *\n * @param {object} colDef field definition\n */\nexport const getEditModeWidget = colDef => {\n if (colDef['related-entity-name'] && colDef['primary-key']) {\n return FormWidgetType.SELECT;\n }\n return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;\n};\n","import {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {\n FormWidgetType,\n generateGUId,\n getFormWidgetTemplate,\n getRequiredFormWidget,\n IDGenerator\n} from '@wm/core';\n\nimport {ALLFIELDS, isDataSetWidget} from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('formfield_');\n\nconst getEventsTemplate = (attrs) => {\n const eventAttrs = new Map();\n if (!attrs.has('focus.event')) {\n attrs.set('focus.event', '');\n }\n if (!attrs.has('blur.event')) {\n attrs.set('blur.event', '');\n }\n attrs.forEach((value, key) => {\n if (key.endsWith('.event')) {\n if (key === 'focus.event') {\n value = `_onFocusField($event);${value}`;\n } else if (key === 'blur.event') {\n value = `_onBlurField($event);${value}`;\n }\n eventAttrs.set(key, value);\n attrs.delete(key);\n }\n });\n return getFormMarkupAttr(eventAttrs);\n};\n\nconst DEFAULT_PLACEHOLDERS = new Map([\n [FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],\n [FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],\n [FormWidgetType.TIME, ['Select Min time', 'Select Max time', 'Select time']],\n [FormWidgetType.DATE, ['Select Min date', 'Select Max date', 'Select date']],\n [FormWidgetType.TEXTAREA, ['', '', 'Enter value']],\n [FormWidgetType.RICHTEXT, ['', '', 'Enter value']],\n [FormWidgetType.COLORPICKER, ['Select Color', 'Select Color', 'Select Color']],\n [FormWidgetType.CHIPS, ['', '', 'Type here...']],\n [FormWidgetType.PASSWORD, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.NUMBER, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.TEXT, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.CURRENCY, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.AUTOCOMPLETE, ['', '', 'Search']],\n]);\n\nconst setDefaultPlaceholder = (attrs, widgetType, index) => {\n const prop = index === 1 ? 'maxplaceholder' : 'placeholder';\n let placeholder = attrs.get(prop);\n if (placeholder || placeholder === '') {\n return;\n }\n placeholder = DEFAULT_PLACEHOLDERS.get(widgetType) && DEFAULT_PLACEHOLDERS.get(widgetType)[index];\n if (placeholder) {\n attrs.set(prop, placeholder);\n }\n};\n\nconst getWidgetTemplate = (attrs, options) => {\n let customAttrs = ``;\n if(options.widgetType === \"custom-widget\") {\n for (let [key, value] of attrs) {\n if(key.startsWith('prop-'))\n customAttrs += key + '=\"' + value + '\" ';\n }\n }\n const name = attrs.get('name');\n const customWidgetName = attrs.get('widgetname');\n const fieldName = (attrs.get('key') || name || '').trim();\n const formControl = options.isMaxWidget ? `formControlName=\"${fieldName}_max\"` : (options.isInList ? `[formControlName]=\"${options.counter}._fieldName\"` : `formControlName=\"${fieldName}\"`);\n const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;\n const widgetName = name ? (options.isMaxWidget ? `name=\"${name}_formWidgetMax\"` : `name=\"${name}_formWidget\"`) : '';\n const conditionalClass = `[ngClass]=\"${attrs.get('ngclass')}\"`;\n const defaultTmpl = `[class.hidden]=\"!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'\" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName} ${customAttrs}`:''}` ;\n return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, {counter: options.counter, pCounter: options.pCounter});\n};\n\n\nconst getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {\n const isRange = attrs.get('is-range') === 'true';\n if (!isRange) {\n return getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isInList});\n }\n const layoutClass = 'col-sm-6';\n return `<div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter})}</div>\n <div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isMaxWidget: true})}</div>`;\n};\n\nconst getCaptionByWidget = (attrs, widgetType, counter) => {\n if (attrs.get('is-related') === 'true') {\n return `${counter}.getDisplayExpr()`;\n }\n if (widgetType === FormWidgetType.PASSWORD) {\n return '\\'********\\'';\n }\n let caption = `${counter}.value`;\n if (widgetType === FormWidgetType.DATETIME || widgetType === FormWidgetType.TIMESTAMP) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MM-dd hh:mm:ss a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.TIME) {\n caption += ` | toDate:${counter}.formWidget.timepattern || 'hh:mm a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.DATE) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MMM-dd'`;\n return caption;\n }\n if (widgetType === FormWidgetType.RATING || widgetType === FormWidgetType.UPLOAD) {\n return '';\n }\n if (isDataSetWidget(widgetType) && attrs.get('datafield') === ALLFIELDS) {\n return `${counter}.getDisplayExpr()`;\n }\n return `${counter}.getCaption()`;\n};\n\nconst registerFormField = (isFormField): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],\n pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {\n const counter = idGen.nextUid();\n const parent = parentForm || parentLiveForm || parentFilter;\n const pCounter = (parent && parent.get('form_reference')) || 'form';\n const widgetType = attrs.get('widget') || FormWidgetType.TEXT;\n const dataRole = isFormField ? 'form-field' : 'filter-field';\n const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();\n const validationMsg = `@if (${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode) {\n <p class=\"help-block text-danger\" aria-hidden=\"false\" role=\"alert\" aria-live=\"assertive\" [attr.aria-label]=\"${counter}.validationmessage\" id=\"${formFieldErrorMsgId}\">\n <span aria-hidden=\"true\" [textContent]=\"${counter}.validationmessage\"></span>\n </p>}`;\n const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);\n const controlLayout = 'col-sm-12';\n const isInList = pCounter === (parentList && parentList.get('parent_form_reference'));\n attrs.set('__validationId', formFieldErrorMsgId);\n attrs.set('__widgetType', widgetType);\n attrs.delete('widget');\n shared.set('counter', counter);\n\n if (attrs.get('is-range') === 'true') {\n setDefaultPlaceholder(attrs, widgetType, 0);\n setDefaultPlaceholder(attrs, widgetType, 1);\n } else {\n setDefaultPlaceholder(attrs, widgetType, 2);\n }\n\n return `<${tagName} data-role=\"${dataRole}\" [formGroup]=\"${pCounter}.ngform\" wmFormField wmCaptionPosition #${counter}=\"wmFormField\" widgettype=\"${widgetType}\" [hidden]=\"!${counter}.show\" ${getFormMarkupAttr(attrs)}>\n <div class=\"live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}\" widget=\"${widgetType}\">\n <label [hidden]=\"!${counter}.displayname\" class=\"app-label control-label formfield-label {{${pCounter}._captionClass}}\"\n [ngStyle]=\"{width: ${pCounter}.captionsize}\" [ngClass]=\"{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,\n required: ${pCounter}.isUpdateMode && ${counter}.required}\" [textContent]=\"${counter}.displayname\"> </label>\n <div [ngClass]=\"${counter}.displayname ? ${pCounter}._widgetClass : '${controlLayout}'\">\n <span class=\"form-control-static app-label\"\n [hidden]=\"${pCounter}.isUpdateMode || ${counter}.viewmodewidget === 'default' || ${counter}.widgettype === 'upload'\" [innerHTML]=\"${getCaptionByWidget(attrs, widgetType, counter)}\"></span>\n ${getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList)}\n @if(${counter}.showPendingSpinner){ <span aria-hidden=\"true\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span>}\n @if(!(${counter}._control?.invalid && ${counter}._control?.touched) && ${pCounter}.isUpdateMode){ <p class=\"help-block\" aria-hidden=\"true\" role=\"alert\" aria-live=\"polite\" [textContent]=\"${counter}.hint\"></p> }\n ${validationMsg}\n </div>\n </div>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const widgetType = attrs.get('__widgetType') || attrs.get('type');\n const requiredWidget = getRequiredFormWidget(widgetType);\n attrs.delete('__widgetType');\n\n let pipeImports = [];\n if (widgetType && [FormWidgetType.DATE, FormWidgetType.DATETIME, FormWidgetType.TIME, FormWidgetType.TIMESTAMP].includes(widgetType as any)) {\n pipeImports.push('toDate');\n }\n\n return [requiredWidget, 'wm-form', ...pipeImports];\n }\n };\n};\n\nregister('wm-form-field', registerFormField.bind(this, true));\nregister('wm-filter-field', registerFormField.bind(this, false));\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst registerAction = (tmpl): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmFormAction name=\"${attrs.get('name') || attrs.get('key')}\" ${getAttrMarkup(attrs)} ${tmpl}>`,\n post: () => `</${tagName}>`\n };\n};\n\nregister('wm-form-action', registerAction.bind(this, ''));\nregister('wm-filter-action', registerAction.bind(this, ` update-mode=\"true\" `));\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register, getDataSource } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('form_');\n\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-richtexteditor',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-upload',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker',\n 'wm-table'\n]);\n\nlet numberOfFields;\n\nconst addFormControlName = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name === 'wm-form-field') {\n numberOfFields++;\n }\n if (formWidgets.has(childNode.name)) {\n let key = childNode.attrs.find((attr) => attr.name === 'key' || attr.name === 'name');\n key = key && key.value;\n if (!key) {\n // for checkbox inside table inside form, key and name attrs are not available. Using datavalue to construct formControlName instead.\n let dataValue = childNode.attrs.find((attr) => attr.name === 'datavalue');\n if (dataValue && dataValue.value) {\n const regex = /\\((.*)\\)/;\n dataValue = dataValue.value.match(regex);\n if (dataValue && dataValue.length > 1) {\n key = dataValue[1].replace(/[\"']/g, '');\n }\n }\n }\n childNode.attrs.push(new Attribute('formControlName', key, <any>1, <any>1, <any>1, undefined, undefined));\n childNode.attrs.push(new Attribute('wmFormWidget', '', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addFormControlName(childNode.children);\n });\n};\n\nconst updateFormDataSource = (attrMap) => {\n if (attrMap.get('formdata.bind')) {\n const formDataSource = getDataSource(attrMap.get('formdata.bind'));\n if (formDataSource) {\n attrMap.set('formdatasource.bind', formDataSource);\n }\n }\n};\n\nconst buildTask = (directiveAttr = ''): IBuildTaskDef => {\n return {\n requires: ['wm-livetable', 'wm-login'],\n template: (node: Element) => {\n numberOfFields = 0;\n addFormControlName(node.children);\n },\n pre: (attrs, shared, parentLiveTable, parentLoginWidget) => {\n let tmpl;\n let dialogId;\n const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';\n const counter = idGen.nextUid();\n const dependsOn = attrs.get('dependson') ? `dependson=\"${attrs.get('dependson')}\"` : '';\n if(dependsOn) {\n attrs.set('dependsontable', attrs.get('dependson'));\n }\n const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';\n const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];\n attrs.delete('dependson');\n const liveFormTmpl = `<${tagName} wmForm data-role=\"${role}\" ${directiveAttr} #${counter} ngNativeValidate [formGroup]=\"${counter}.ngform\" [noValidate]=\"${counter}.validationtype !== 'html'\"\n class=\"${classProp}\" [class]=\"${counter}.captionAlignClass\" [autocomplete]=\"${counter}.autocomplete ? 'on' : 'off'\" captionposition=${attrs.get('captionposition')}`;\n attrs.set('numberOfFields', `${numberOfFields}`);\n shared.set('counter', counter);\n updateFormDataSource(attrs);\n if (attrs.get('formlayout') === 'dialog') {\n dialogId = parentLiveTable ? parentLiveTable.get('liveform_dialog_id') : `liveform_dialog_id_${counter}`;\n attrs.set('dialogId', dialogId);\n const dialogAttrsMap = new Map<string, string>();\n dialogAttributes.forEach((attr) => {\n if (attrs.get(attr)) {\n dialogAttrsMap.set(attr, attrs.get(attr));\n }\n });\n attrs.set('width', '100%');\n tmpl = getAttrMarkup(attrs);\n return `<div data-identifier=\"liveform\" init-widget class=\"app-liveform liveform-dialog\" ${dependsOn} dialogid=\"${dialogId}\">\n <div wmDialog class=\"app-liveform-dialog\" name=\"${dialogId}\" role=\"form\" ${getAttrMarkup(dialogAttrsMap)} modal=\"true\">\n <ng-template #dialogBody>\n ${liveFormTmpl} ${tmpl}>`;\n }\n let mobileFormContentTmpl = '';\n let buttonTemplate = '';\n // Include mobile-navbar above the form when formlayout is set to page\n if (attrs.get('formlayout') === 'page') {\n const name = `device_liveform_header_${counter}`;\n const navbarAttrsMap = new Map<string, string>();\n navbarAttrsMap.set('title', attrs.get('title'));\n navbarAttrsMap.set('backbtnclick.event', attrs.get('backbtnclick.event'));\n buttonTemplate = `<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton name=\"{{btn.key}}\" class=\"navbar-btn btn-primary btn-transparent\" iconclass.bind=\"btn.iconclass\" show.bind=\"btn.show\"\n (click)=\"${counter}.invokeActionEvent($event, btn.action)\" type.bind=\"btn.type\" hint.bind=\"btn.title\" shortcutkey.bind=\"btn.shortcutkey\" disabled.bind=\"btn.disabled\"\n tabindex.bind=\"btn.tabindex\" [class.hidden]=\"btn.updateMode ? !${counter}.isUpdateMode : ${counter}.isUpdateMode\"></button>\n </ng-template>`;\n mobileFormContentTmpl = `<header wmMobileNavbar name=\"${name}\" ${getAttrMarkup(navbarAttrsMap)}>\n @for (btn of ${counter}.buttonArray; track btn; let i = $index) {\n <ng-container\n [ngTemplateOutlet]=\"buttonRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"${counter}.createCustomInjector('mobile_' + i, {item:item, index:i})\">\n </ng-container>\n }\n </header>\n <div class=\"form-elements panel-body\" >`;\n }\n\n tmpl = getAttrMarkup(attrs);\n const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';\n return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>\n ${buttonTemplate} ${mobileFormContentTmpl}`;\n },\n post: (attrs) => {\n if (attrs.get('formlayout') === 'dialog') {\n return '</form></ng-template></div></div>';\n }\n if (attrs.get('formlayout') === 'page') {\n return `</div></${tagName}>`;\n }\n if(attrs.get('dependsontable')) {\n return `</${tagName}></div>`;\n }\n return `</${tagName}>`;\n },\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const formlayout = attrs.get('formlayout');\n if (formlayout === 'dialog') {\n return ['wm-dialog'];\n }\n return [];\n }\n };\n};\n\nregister('wm-form', buildTask);\nregister('wm-liveform', () => buildTask('wmLiveForm'));\nregister('wm-livefilter', () => buildTask('wmLiveFilter'));\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-calendar', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';\n return `<${tagName} wmCalendar redrawable style=\"width:100%\" role=\"region\" aria-label=\"${viewType}\" ${getAttrMarkup(attrs)}>`\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-chips', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChips ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getChildAttrs, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-colorpicker', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getChildAttrs, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-currency', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-buttongroup', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmButtonGroup role=\"group\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_button');\n\nregister('wm-button', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmButton #${counter}=\"wmButton\" [attr.aria-label]=\"${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getChildAttrs, getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-checkbox', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n if (attrs.get('type') === 'button') {\n return `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`\n } else {\n return `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)} style=\"height:100%\">`\n }\n\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-checkboxset', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} role=\"group\" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, setChildAttrs, clearChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-composite', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}${clearChildAttrs()}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\n\nimport { getFormMarkupAttr,getChildAttrs , IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-number', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-radioset', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const hintAttr =attrs.get(\"hint\") ? ` title=\"${attrs.get(\"hint\") }\" ` : '';\n return `<${tagName} role=\"radiogroup\" wmRadioset ${hintAttr} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)}\n ${getNgModelAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'wm-select';\n\nregister('wm-select', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getNgModelAttr, IDGenerator} from '@wm/core';\nimport {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_switch');\n\nregister('wm-switch', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmSwitch #${counter}=\"wmSwitch\" role=\"group\" [attr.aria-label]=\"${counter}.arialabel || 'Switch choose options'\" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-input';\n\nregister('wm-text', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-textarea';\n\nregister('wm-textarea', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-datetime', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-date', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-time', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getDataSource, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-fileupload', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n if (attrs.get('select.event')) {\n const onSelectBinding = getDataSource(attrs.get('select.event'));\n attrs.set('datasource.bind', onSelectBinding);\n }\n if (attrs.get('delete.event')) {\n const onDeleteBinding = getDataSource(attrs.get('delete.event'));\n attrs.set('deletedatasource.bind', onDeleteBinding);\n }\n return `<${tagName} wmFileUpload ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-rating', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-slider', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmlistTag = 'wm-list';\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-media-list', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let bindDataset;\n const attrObj = node.attrs.find(attr => attr.name === dataSetKey),\n /**\n * Replacing binded property value with item\n * @param children\n */\n replaceBind = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name) {\n // return if the child Element is of wm-list .\n if (childNode.name !== wmlistTag) {\n childNode.attrs.forEach((attr) => {\n if (attr.value.startsWith(`bind:${bindDataset}.data[$i]`)) {\n attr.value = attr.value.replace(`${bindDataset}.data[$i]`, 'item');\n } else if (attr.value.startsWith(`bind:${bindDataset}`)) {\n attr.value = attr.value.replace(bindDataset, 'item');\n }\n });\n replaceBind(childNode.children);\n }\n }\n });\n };\n if (attrObj && attrObj.value.startsWith('bind:')) {\n bindDataset = attrObj.value.replace('bind:', '');\n }\n if (bindDataset) {\n replaceBind(node.children);\n }\n const template = <Element> node.children\n .find(e => e instanceof Element && (<Element> e).name === 'wm-media-template');\n if (template != null) {\n copyAttribute(template, 'width', node, 'thumbnailwidth');\n copyAttribute(template, 'height', node, 'thumbnailheight');\n }\n },\n pre: attrs => `<${tagName} wmMediaList ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ng-template';\n\nregister('wm-media-template', (): IBuildTaskDef => {\n return {\n pre: () => `<${tagName} #mediaListTemplate let-item=\"item\" let-index=\"index\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\nimport { updateTemplateAttrs } from '@wm/core';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmListTag = 'wm-list';\nconst listTagName = 'div';\nconst dataSetKey = 'dataset';\n\nregister(wmListTag, (): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform'],\n template: (node: Element) => {\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, 'itemRef.');\n },\n pre: (attrs, shared, parentForm, parentLiveForm) => {\n const parent = parentForm || parentLiveForm;\n shared.set('form_reference', parent && parent.get('form_reference'));\n return `<${listTagName} wmList wmLiveActions ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${listTagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('parent_form_reference', shared.get('form_reference'));\n return provider;\n }\n };\n});\n\nregister('wm-listtemplate', (): IBuildTaskDef => {\n return {\n pre: () => `<ng-template #listTemplate let-item=\"item\" let-$index=\"$index\" let-itemRef=\"itemRef\" let-$first=\"$first\" let-$last=\"$last\" let-currentItemWidgets=\"currentItemWidgets\" >`,\n post: () => `</ng-template>`\n };\n});\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-list-action-template', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n\n const position = node.attrs.find(attr => attr.name === 'position').value;\n\n const btns = <Element[]> node.children\n .filter(e => e instanceof Element && (<Element> e).name === 'wm-button');\n\n // add swipe-position on button nodes to identify whether buttons are from left or right action templates\n btns.forEach((btnNode) => {\n copyAttribute(node, 'position', btnNode, 'swipe-position');\n });\n },\n pre: (attrs, el) => {\n if (attrs.get('position') === 'left') {\n return `<ng-template #listLeftActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-left-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n if (attrs.get('position') === 'right') {\n return `<ng-template #listRightActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-right-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n },\n post: () => `</li></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('liveform_dialog_id_');\n\nregister('wm-livetable', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n return `<${tagName} wmLiveTable ${getAttrMarkup(attrs)} dialogid=\"${counter}\">`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('liveform_dialog_id', shared.get('counter'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'p';\nconst idGen = new IDGenerator('wm_message');\n\nregister('wm-message', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmMessage tabindex=\"0\" #${counter}=\"wmMessage\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ol';\n\nregister('wm-breadcrumb', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmBreadcrumb ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-menu', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const menuWidth = attrs.get(\"width\");\n let styleBinding = '';\n if(menuWidth){\n const units = ['%', 'px'];\n const hasUnit = units.some(unit => menuWidth.includes(unit));\n if(hasUnit){\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}'}\"`;\n }\n else{\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}px'}\"`;\n }\n\n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`\n } \n else{ \n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)}>`\n }\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-nav-item', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavItem role=\"listitem\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-nav', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNav data-element-type=\"wmNav\" data-role=\"page-header\" role=\"list\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavbar data-element-type=\"wmNavbar\" role=\"navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'wm-popover';\n\nregister('wm-popover', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n pre: (attrs: Map<string, string>, shared: Map<string, any>, table) => {\n const contentSource = attrs.get('contentsource');\n let popoverTemplate;\n if (contentSource !== 'inline') {\n const content = attrs.get('content');\n const bindContent = attrs.get('content.bind');\n\n let contentMarkup = '';\n\n if (content) {\n contentMarkup = `content=\"${content}\"`;\n } else if (bindContent) {\n contentMarkup = `content.bind=\"${bindContent}\"`;\n }\n\n popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;\n shared.set('hasPopoverContent', true);\n }\n\n let markup = `<${tagName} wmPopover ${getAttrMarkup(attrs)}>`;\n const contextAttrs = table ? `let-row=\"row\"` : ``;\n\n markup += `<ng-template ${contextAttrs}><div tabindex=\"0\" class=\"popover-start sr-only\" aria-label=\"\">popover content start</div>`;\n\n // todo keyboard navigation - tab\n if (popoverTemplate) {\n markup += `${popoverTemplate ? popoverTemplate : ''}`;\n }\n\n return markup;\n },\n post: (attrs: Map<string, string>, shared: Map<string, any>) => {\n let markup = '';\n if (shared.get('hasPopoverContent')) {\n markup += `</div>`;\n }\n\n return `${markup}<div tabindex=\"0\" class=\"popover-end sr-only\" aria-label=\"\">popover content ended</div></ng-template></${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import {Element, ParseSourceSpan, Text} from '@angular/compiler';\n\nimport {IDGenerator} from '@wm/core';\nimport {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {forEach} from \"lodash-es\";\n\nconst tagName = 'div';\n\nconst findChild = (node: Element, childName: string): Element => {\n const child = node && node.children.find(e => (e instanceof Element && (e as Element).name === childName));\n return child as Element;\n};\n\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst getElementNode = (name, node) => {\n let elementNode;\n if (!node) {\n return;\n }\n forEach(node.children, (child) => {\n if (child instanceof Element) {\n if ((child as Element).name === name) {\n elementNode = child;\n } else if (child.children) {\n elementNode = getElementNode(name, child);\n }\n }\n return !elementNode;\n });\n return elementNode;\n};\n\nconst noSpan = ({} as ParseSourceSpan);\nconst idGen = new IDGenerator('wm_page');\n\nregister('wm-page', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let pageContentNode = findChild(findChild(node, 'wm-content'), 'wm-page-content');\n if (!pageContentNode) {\n pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));\n }\n if (pageContentNode) {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compilePageContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n pageContentNode.children = [conditionalNode];\n }\n },\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPage #${counter}=\"wmPage\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.arialabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {IDGenerator} from '@wm/core';\nimport {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst idGen = new IDGenerator('wm_layout');\n\nregister('wm-layout', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLayout #${counter}=\"wmLayout\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.arialabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'router-outlet';\n\nregister('wm-router-outlet', (): IBuildTaskDef => {\n return {\n pre: attrs => `<div wmRouterOutlet name=\"wmRouterOutlet\" ${getAttrMarkup(attrs)}><${tagName} (activate)=\"onActivate($event)\">`,\n post: () => `</${tagName}></div>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-pagination', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPagination data-identifier=\"pagination\" aria-label=\"Page navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'main';\n\nregister('wm-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContent data-role=\"page-content\" role=\"main\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'footer';\nconst idGen = new IDGenerator('wm_footer');\n\nregister('wm-footer', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmFooter #${counter}=\"wmFooter\" partialContainer data-role=\"page-footer\" role=\"contentinfo\" [attr.aria-label]=\"${counter}.arialabel || 'Page footer'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'header';\nconst idGen = new IDGenerator('wm_header');\n\nregister('wm-header', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmHeader #${counter}=\"wmHeader\" partialContainer data-role=\"page-header\" role=\"banner\" [attr.aria-label]=\"${counter}.arialabel || 'Page header'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_left_panel');\n\nregister('wm-left-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLeftPanel #${counter}=\"wmLeftPanel\" partialContainer data-role=\"page-left-panel\" [attr.aria-label]=\"${counter}.arialabel || 'Left navigation panel'\" wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'header';\n\nregister('wm-mobile-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileNavbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_right_panel');\n\nregister('wm-right-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRightPanel #${counter}=\"wmRightPanel\" partialContainer data-role=\"page-right-panel\" role=\"complementary\" [attr.aria-label]=\"${counter}.arialabel || 'Right navigation panel'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { Element, ParseSourceSpan, Text } from \"@angular/compiler\";\n\nconst tagName = 'div';\n\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst noSpan = ({} as ParseSourceSpan);\n\nregister('wm-page-content', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n for(let attr of node.attrs) {\n if(attr.name === 'spa' && attr.value === 'true') {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compilePageContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(node.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n node.children = [conditionalNode];\n break;\n }\n }\n },\n pre: attrs => `<${tagName} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`,\n imports: (attrs) => {\n if (attrs.get('spa')) {\n return ['spa-page-content']\n }\n return [];\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-mobile-tabbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileTabbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'section';\nconst idGen = new IDGenerator('wm_top_nav');\n\nregister('wm-top-nav', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmTopNav #${counter}=\"wmTopNav\" partialContainer data-role=\"page-topnav\" role=\"navigation\" [attr.aria-label]=\"${counter}.arialabel || 'Second level navigation'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element, ParseSourceSpan, Text } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'section';\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nregister('wm-partial', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compileContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(node.children);\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPartial data-role=\"partial\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-param', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmParam hidden ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, register } from '@wm/transpiler';\n\nconst tagName = 'section';\n\nregister('wm-prefab', () => {\n return {\n pre: attrs => `<${tagName} wmPrefab redrawable data-role=\"prefab\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element, ParseSourceSpan, Text } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\n\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst tagName = 'div';\n\nregister('wm-prefab-container', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compileContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(node.children);\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPrefabContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} name=\"${attrs.get('name') || attrs.get('key')}\" wmTableAction ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-column-group', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, Text } from '@angular/compiler';\n\nimport { DataType, FormWidgetType, getFormWidgetTemplate, getRequiredFormWidget, IDGenerator, isDateTimeType, checkIsCustomPipeExpression } from '@wm/core';\nimport {getAttrMarkup, getDataSource, IBuildTaskDef, ImportDef, register} from '@wm/transpiler';\n\nimport { EDIT_MODE, getDataTableFilterWidget, getEditModeWidget } from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('data_table_form_');\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker'\n]);\n\n// Add ngModelOptions standalone true as inner custom form widgets will be not part of table ngform\nconst addNgModelStandalone = (children = []) => {\n let formControlAttr = [];\n children.forEach(childNode => {\n if (formWidgets.has(childNode.name)) {\n // angular build is failing when formControlName is undefined for checkbox and mgModelOptions attr is present\n if (childNode.name === 'wm-checkbox') {\n formControlAttr = childNode.attrs.filter(function(attr) {\n return attr.name === 'formControlName';\n });\n if (formControlAttr.length) {\n return;\n }\n }\n childNode.attrs.push(new Attribute('[ngModelOptions]', '{standalone: true}', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addNgModelStandalone(childNode.children);\n });\n};\n\n// get the filter template (widget and filter menu) to be displayed in filter row\nconst getFilterTemplate = (attrs, pCounter) => {\n const widget = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n const fieldName = attrs.get('binding');\n const type = attrs.get('type') || 'string';\n let datasourceBinding, submitEventBinding;\n const datasetAttr = attrs.get('filterdataset.bind');\n // when multicolumn is selected and filterwidget as autocomplete is assigned to dataset.\n if (attrs.get('filterwidget') === 'autocomplete') {\n if (datasetAttr) {\n const binddatasource = getDataSource(datasetAttr);\n datasourceBinding = `dataset.bind=\"${datasetAttr}\" datasource.bind=\"${binddatasource}\"`;\n }\n submitEventBinding = `submit.event=\"changeFn('${fieldName}')\"`;\n }\n const innerTmpl = `#filterWidget formControlName=\"${fieldName + '_filter'}\" ${datasourceBinding} ${submitEventBinding} change.event=\"changeFn('${fieldName}')\"\n disabled.bind=\"isDisabled('${fieldName}')\"`;\n const options = {inputType: 'filterinputtype'} ;\n const widgetTmpl = `${getFormWidgetTemplate(widget, innerTmpl, attrs, options)}`;\n\n return `<ng-template #filterTmpl let-changeFn=\"changeFn\" let-isDisabled=\"isDisabled\">\n <div class=\"input-group ${widget}\" data-col-identifier=\"${fieldName}\">\n ${widgetTmpl}\n @if(${pCounter}.showClearIcon('${fieldName}')){\n <span class=\"input-group-addon filter-clear-icon\" >\n <button class=\"btn-transparent btn app-button\" aria-label=\"Clear button\" type=\"button\" (click)=\"${pCounter}.clearRowFilter('${fieldName}')\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n </button>\n </span>\n }\n <span class=\"input-group-addon\" dropdown container=\"body\" (onShown)=\"${pCounter}.adjustContainer('${fieldName}');\">\n <button class=\"btn-transparent btn app-button\" type=\"button\" dropdownToggle><i class=\"app-icon wi wi-filter-list\"></i></button>\n <ul class=\"matchmode-dropdown dropdown-menu\" *dropdownMenu>\n @for (matchMode of ${pCounter}.matchModeTypesMap['${type}']; track matchMode) {\n <li [ngClass]=\"{active: matchMode === (${pCounter}.rowFilter['${fieldName}'].matchMode || ${pCounter}.matchModeTypesMap['${type}'][0])}\">\n <a href=\"javascript:void(0);\" (click)=\"${pCounter}.onFilterConditionSelect('${fieldName}', matchMode)\" [innerText]=\"${pCounter}.matchModeMsgs[matchMode]\"></a>\n </li>\n }\n </ul>\n </span>\n </div></ng-template>`;\n};\n\nconst getEventsTmpl = attrs => {\n let tmpl = '';\n attrs.forEach((val, key) => {\n if (key.endsWith('.event')) {\n tmpl += `${key}=\"${val}\" `;\n }\n });\n return tmpl;\n};\n\n// Generate inline edit properties template. Properties requiring row instance are generated here.\nconst getInlineEditRowPropsTmpl = attrs => {\n const propAttrs = new Map();\n const props = ['disabled', 'disabled.bind'];\n props.forEach(prop => {\n if (attrs.get(prop)) {\n propAttrs.set(prop, attrs.get(prop));\n attrs.delete(prop);\n }\n });\n return getAttrMarkup(propAttrs);\n};\n\n// get the inline widget template\nconst getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter?) => {\n const options: any = {};\n const fieldName = attrs.get('binding');\n const widget = attrs.get('edit-widget-type') || getEditModeWidget({\n 'type': attrs.get('type'),\n 'related-entity-name': attrs.get('related-entity-name'),\n 'primary-key': attrs.get('primary-key')\n });\n let widgetRef = '';\n let formControl = '';\n let wmFormWidget = '';\n if (widget === FormWidgetType.UPLOAD) {\n options.uploadProps = {\n formName: idGen.nextUid(),\n name: fieldName\n };\n options.counter = pCounter;\n } else {\n widgetRef = isNewRow ? '#inlineWidgetNew' : '#inlineWidget';\n formControl = isNewRow ? `formControlName=\"${fieldName}_new\"` : `formControlName=\"${fieldName}\"`;\n wmFormWidget = 'wmFormWidget';\n }\n options.inputType = 'editinputtype';\n const tmplRef = isNewRow ? '#inlineWidgetTmplNew' : '#inlineWidgetTmpl';\n const eventsTmpl = widget === FormWidgetType.UPLOAD ? '' : getEventsTmpl(attrs);\n const rowPropsTl = getInlineEditRowPropsTmpl(attrs);\n const innerTmpl = `${widgetRef} ${wmFormWidget} key=\"${fieldName}\" data-field-name=\"${fieldName}\" ${formControl} ${eventsTmpl} ${rowPropsTl}`;\n const widgetTmpl = getFormWidgetTemplate(widget, innerTmpl, attrs, options);\n const pendingSpinnerStatus = isNewRow ? 'getPendingSpinnerStatusNew' : 'getPendingSpinnerStatus';\n const validationErrorTmpl = getValiationErrorTemplate(errorstyle);\n /* This element with error message is used to run Automation checks if any error message is present */\n const errorMsgElementForAutomation = '@if(getValidationMessage()){<span class=\"sr-only\" >{{getValidationMessage()}}</span>}';\n\n return `<ng-template ${tmplRef} let-row=\"row\" let-getControl=\"getControl\" let-getValidationMessage=\"getValidationMessage\" let-${pendingSpinnerStatus}=\"${pendingSpinnerStatus}\">\n <div data-col-identifier=\"${fieldName}\" >\n ${widgetTmpl}\n ${validationErrorTmpl}\n @if(${pendingSpinnerStatus}()){\n <div class=\"overlay\"><span aria-hidden=\"true\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span></div>\n }\n ${errorMsgElementForAutomation}\n </div>\n </ng-template>`;\n};\n\nconst getValiationErrorTemplate = (errorTmplType) => {\n let validationErrorTmpl = '';\n switch (errorTmplType) {\n case 'bottom':\n validationErrorTmpl = `@if(getValidationMessage() && getControl() && getControl().invalid && getControl().touched){<span class=\"help-block text-danger\" >{{getValidationMessage()}}</span>}`;\n break;\n case 'hover':\n default:\n // added app-label class as in foundation.css the default class(app-label) has been written for label tag\n validationErrorTmpl = `@if(getValidationMessage() && getControl() && getControl().invalid && getControl().touched){<span placement=\"top\" container=\"body\" tooltip=\"{{getValidationMessage()}}\" class=\"app-label text-danger wi wi-error\">\n </span>}`;\n }\n return validationErrorTmpl;\n}\n\nconst getFormatExpression = (attrs) => {\n const columnValue = `row.getProperty('${attrs.get('binding')}')`;\n let formatPattern = attrs.get('custompipeformat') || attrs.get('formatpattern');\n let colExpression = '';\n // For date time data types, if format pattern is not applied, Apply default toDate format\n if (isDateTimeType(attrs.get('type')) && (!formatPattern || formatPattern === 'None')) {\n attrs.set('formatpattern', 'toDate');\n attrs.delete('datepattern');\n formatPattern = 'toDate';\n }\n switch (formatPattern) {\n case 'toDate':\n colExpression = `{{${columnValue} | toDate: colDef.datepattern}}`;\n break;\n case 'toCurrency':\n if (attrs.get('currencypattern')) {\n colExpression = `{{${columnValue} | toCurrency: '${attrs.get('currencypattern')}`;\n\n if (attrs.get('fractionsize')) {\n colExpression += `': ${attrs.get('fractionsize')}}}`;\n } else {\n colExpression += `'}}`;\n }\n }\n break;\n case 'numberToString':\n if (attrs.get('fractionsize')) {\n colExpression = `{{${columnValue} | numberToString: '${attrs.get('fractionsize')}'}}`;\n }\n break;\n case 'stringToNumber':\n colExpression = `{{${columnValue} | stringToNumber}}`;\n break;\n case 'timeFromNow':\n colExpression = `{{${columnValue} | timeFromNow}}`;\n break;\n case 'prefix':\n if (attrs.get('prefix')) {\n colExpression = `{{${columnValue} | prefix: '${attrs.get('prefix')}'}}`;\n }\n break;\n case 'suffix':\n if (attrs.get('suffix')) {\n colExpression = `{{${columnValue} | suffix: '${attrs.get('suffix')}'}}`;\n }\n break;\n default:\n if(checkIsCustomPipeExpression(formatPattern)){\n colExpression = `{{${columnValue} | ${formatPattern} : ${`row`}}}` ;\n }\n\n break;\n }\n return colExpression;\n};\n\nregister('wm-table-column', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n template: (node: Element, shared) => {\n if (node.children.length) {\n // If node has children, but an empty text node dont generate custom expression\n if (node.children.length === 1 && node.children[0] instanceof Text && (node.children[0] as Text).value.trim().length === 0) {\n return;\n }\n shared.set('customExpression', true);\n addNgModelStandalone(node.children);\n }\n },\n pre: (attrs, shared, parentTable) => {\n let rowFilterTmpl = '';\n let inlineEditTmpl = '';\n let inlineNewEditTmpl = '';\n let parentForm = '';\n if (parentTable) {\n const pCounter = parentTable.get('table_reference');\n rowFilterTmpl = (parentTable.get('filtermode') === 'multicolumn' && attrs.get('searchable') !== 'false') ? getFilterTemplate(attrs, pCounter) : '';\n const editMode = parentTable.get('editmode');\n const isInlineEdit = (editMode !== EDIT_MODE.DIALOG && editMode !== EDIT_MODE.FORM && attrs.get('readonly') !== 'true');\n inlineEditTmpl = isInlineEdit ? getInlineEditWidgetTmpl(attrs, false, parentTable.get('errorstyle'), pCounter) : '';\n inlineNewEditTmpl = isInlineEdit && editMode === EDIT_MODE.QUICK_EDIT && parentTable.get('shownewrow') !== 'false' ? getInlineEditWidgetTmpl(attrs, true, attrs.get('errorstyle')) : '';\n parentForm = ` [formGroup]=\"${pCounter}.ngform\" `;\n }\n const formatPattern = attrs.get('formatpattern');\n const customExpr = `<ng-template #customExprTmpl let-row=\"row\" let-colDef=\"colDef\" let-editRow=\"editRow\" let-deleteRow=\"deleteRow\" let-addNewRow=\"addNewRow\">`;\n let customExprTmpl = '';\n let formatExprTmpl = '';\n\n if (shared.get('customExpression')) {\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\">`;\n } else if ((formatPattern && formatPattern !== 'None') || isDateTimeType(attrs.get('type'))) {\n formatExprTmpl = getFormatExpression(attrs);\n if (formatExprTmpl) {\n shared.set('customExpression', true);\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\" title=\"${formatExprTmpl}\">${formatExprTmpl}`;\n }\n }\n\n return `<${tagName} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>\n ${rowFilterTmpl}\n ${inlineEditTmpl}\n ${inlineNewEditTmpl}\n ${customExprTmpl}`;\n },\n post: (attrs, shared) => {\n let customExprTmpl = '';\n\n if (shared.get('customExpression')) {\n customExprTmpl = `</div></ng-template>`;\n }\n return `${customExprTmpl}</${tagName}>`;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const editWidgetType = attrs.get('edit-widget-type');\n const filterWidgetType = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n\n const formatpattern = attrs.get('custompipeformat') || attrs.get('formatpattern');\n let pipeImports = [];\n if (!!formatpattern) {\n if(checkIsCustomPipeExpression(formatpattern)){\n pipeImports.push('custom');\n } else {\n pipeImports.push(formatpattern);\n }\n }\n return [getRequiredFormWidget(editWidgetType), getRequiredFormWidget(filterWidgetType), 'wm-table', ...pipeImports];\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getRowExpansionActionTmpl = (attrs) => {\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n const title = attrs.get('expandtitle') || attrs.get('display-name') ||'Collapse/Expand';\n return `<ng-template #rowExpansionActionTmpl let-row=\"row\">\n <${tag} ${directive}\n title=\"${title}\"\n ${getRowActionAttrs(attrs)}\n class=\"${attrs.get('class')} row-expansion-button\"\n iconclass=\"${attrs.get('collapseicon')}\"\n type=\"button\" aria-label=\"${title}\"></${tag}>\n </ng-template>`;\n};\n\nregister('wm-table-row', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n return `<${tagName} wmTableRow ${getAttrMarkup(attrs)}>\n ${getRowExpansionActionTmpl(attrs)}\n <ng-template #rowExpansionTmpl let-row=\"row\" let-rowDef=\"rowDef\" let-containerLoad=\"containerLoad\">\n <div wmContainer partialContainer content.bind=\"rowDef.content\" load.event=\"containerLoad(widget)\"\n [ngStyle]=\"{'height': rowDef.height, 'overflow-y': 'auto'}\">\n @for (param of rowDef.partialParams | keyvalue; track param) {\n <div wmParam hidden\n [name]=\"param.key\" [value]=\"param.value\"></div>\n }`;\n },\n post: () => `</div></ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getSaveCancelTemplate = () => {\n 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=\"{{appLocale?.LABEL_SAVE || 'Save'}}\">\n <i class=\"wi wi-done\" aria-hidden=\"true\"></i>\n </button>\n <button type=\"button\" aria-label=\"Cancel edit icon\" class=\"cancel row-action-button btn app-button btn-transparent cancel-edit-row-button hidden\" title=\"{{appLocale?.LABEL_CANCEL || 'Cancel'}}\">\n <i class=\"wi wi-cancel\" aria-hidden=\"true\"></i>\n </button>`;\n};\n\n// get the inline widget template\nconst getRowActionTmpl = (attrs) => {\n const action = attrs.get('action');\n const actionTmpl = action ? ` click.event.delayed=\"${action}\" ` : '';\n const saveCancelTmpl = action && action.includes('editRow(') ? getSaveCancelTemplate() : '';\n const btnClass = action ? (action.includes('editRow(') ? 'edit edit-row-button' :\n (action.includes('deleteRow(') ? 'delete delete-row-button' : '')) : '';\n const tabIndex = attrs.get('tabindex') ? `tabindex=\"${attrs.get('tabindex')}\"` : '';\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n return `<ng-template #rowActionTmpl let-row=\"row\">\n <${tag} ${directive} data-action-key=\"${attrs.get('key')}\"\n ${getRowActionAttrs(attrs)}\n class=\"row-action row-action-button ${attrs.get('class')} ${btnClass}\"\n iconclass=\"${attrs.get('iconclass')}\"\n ${actionTmpl}\n ${tabIndex}\n type=\"button\"></${tag}>\n ${saveCancelTmpl}\n </ng-template>`;\n};\n\nregister('wm-table-row-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableRowAction ${getAttrMarkup(attrs)}>\n ${getRowActionTmpl(attrs)}`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('table_');\nlet columnIndex = 0;\n\n/**\n * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order\n * as specified in the configuration.\n * Scenario: ordering the columns when accessrole is specified on column.\n *\n * headerIndex: ID | Name | Street | ==> top level header (ID has index 0, Name 1, Street 2)\n * index: ---- | fname | lname | --- | ==> sub level header ( ID 0, fname 1, lname 2, Street 3)\n * fname will have headerIndex as 1 and colIndex as 1. lname will have headerIndex as 1 and columnIndex as 2.\n * If suppose we have a group in the sub-level-header, then col index will be treated as the header index.\n *\n */\nfunction assignColumnIndex(node, parentIndex?: number) {\n let headerIndex = 0;\n node.forEach((childNode) => {\n const nodeName = (<any>childNode).name;\n const newheaderIndex = parentIndex !== undefined ? parentIndex : headerIndex;\n if (nodeName === 'wm-table-column' || nodeName === 'wm-table-column-group') {\n (childNode as any).attrs.push(new Attribute('index', '' + columnIndex, <any>1, <any>1, <any>1, undefined, undefined));\n (childNode as any).attrs.push(new Attribute('headerIndex', '' + newheaderIndex, <any>1, <any>1, <any>1, undefined, undefined));\n if (nodeName === 'wm-table-column-group') {\n assignColumnIndex(childNode.children, headerIndex);\n }\n columnIndex++;\n headerIndex++;\n }\n });\n}\n\nregister('wm-table', (): IBuildTaskDef => {\n return {\n template: (node: Element, shared) => {\n // If table does not have child columns, set isdynamictable to true\n if (node.children.length) {\n const isColumnsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-column' || (<any>childNode).name === 'wm-table-column-group';\n });\n assignColumnIndex(node.children);\n shared.set('isdynamictable', isColumnsPresent ? 'false' : 'true');\n // If table have row expansion enabled, set isrowexpansionenabled to true\n const isRowsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-row';\n });\n shared.set('isrowexpansionenabled', isRowsPresent ? 'true' : 'false');\n } else {\n shared.set('isdynamictable', 'true');\n }\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');\n },\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n attrs.set('isdynamictable', shared.get('isdynamictable'));\n attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));\n attrs.set('table_reference', counter);\n return `<${tagName} wmTable=\"${counter}\" wmTableFilterSort wmTableCUD #${counter} data-identifier=\"table\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('table_reference', shared.get('counter'));\n provider.set('filtermode', attrs.get('filtermode'));\n provider.set('errorstyle', attrs.get('errorstyle'));\n provider.set('editmode', attrs.get('editmode'));\n provider.set('shownewrow', attrs.get('shownewrow'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-video', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmVideo ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst SPACING_KEY = 'parentLinearLayout.spacing';\nregister('wm-linearlayout', (): IBuildTaskDef => {\n return {\n requires: ['wm-linearlayout'],\n pre: (attrs, shared, provider) => {\n let spacing = attrs.get('spacing');\n attrs.set('spacing',\n (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);\n return `<${tagName} wmLinearLayout ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set(SPACING_KEY, attrs.get('spacing'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-linearlayoutitem', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_custom_widget');\n\nregister('wm-custom-widget', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmWidgetContainer customWidgetContainer #${counter}=\"wmWidgetContainer\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, ParseSourceSpan } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'section';\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\nregister('wm-custom-widget-container', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n // addAtrribute(conditionalNode, '*ngIf', 'compileContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmCustomWidget data-role=\"widget\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","export * as carouselBuild from './advanced/carousel/carousel.build';\nexport * as carouselTemplateBuild from './advanced/carousel/carousel-template/carousel-template.build';\nexport * as loginBuild from './advanced/login/login.build';\nexport * as marqueeBuild from './advanced/marquee/marquee.build';\nexport * as anchorBuild from './basic/anchor/anchor.build';\nexport * as audioBuild from './basic/audio/audio.build';\nexport * as htmlBuild from './basic/html/html.build';\nexport * as iconBuild from './basic/icon/icon.build';\nexport * as iframeBuild from './basic/iframe/iframe.build';\nexport * as labelBuild from './basic/label/label.build';\nexport * as pictureBuild from './basic/picture/picture.build';\nexport * as spinnerBuild from './basic/spinner/spinner.build';\nexport * as progressBarBuild from './basic/progress/progress-bar/progress-bar.build';\nexport * as progressCircleBuild from './basic/progress/progress-circle/progress-circle.build';\nexport * as rteBuild from './basic/rich-text-editor/rich-text-editor.build';\nexport * as searchBuild from './basic/search/search.build';\nexport * as treeBuild from './basic/tree/tree.build';\nexport * as cardBuild from './data/card/card.build';\nexport * as cardContentBuild from './data/card/card-content/card-content.build';\nexport * as cardActionsBuild from './data/card/card-actions/card-actions.build';\nexport * as cardFooterBuild from './data/card/card-footer/card-footer.build';\nexport * as chartBuild from './chart/chart.build';\nexport * as accordionBuild from './containers/accordion/accordion.build';\nexport * as accordionPaneBuild from './containers/accordion/accordion-pane/accordion-pane.build';\nexport * as containerBuild from './containers/container.build';\nexport * as lgcolBuild from './containers/layout-grid/layout-grid-column/layout-grid-column.build';\nexport * as lgrowBuild from './containers/layout-grid/layout-grid-row/layout-grid-row.build';\nexport * as lgBuild from './containers/layout-grid/layout-grid.build';\nexport * as panelBuild from './containers/panel/panel.build';\nexport * as segControlBuild from './containers/segmented-control/segmented-control.build';\nexport * as segContentBuild from './containers/segmented-control/segment-content/segment-content.build';\nexport * as repeatTemplateBuild from './containers/repeat-template.build';\nexport * as tabsBuild from './containers/tabs/tabs.build';\nexport * as tabPaneBuild from './containers/tabs/tab-pane/tab-pane.build';\nexport * as tileBuild from './containers/tile/tile.build';\nexport * as wizardBuild from './containers/wizard/wizard.build';\nexport * as wizardStepBuild from './containers/wizard/wizard-step/wizard-step.build';\nexport * as wizardActionBuild from './containers/wizard/wizard-action/wizard-action.build';\nexport * as barcodeScannerBuild from './device/barcode-scanner/barcode-scanner.build';\nexport * as cameraBuild from './device/camera/camera.build';\nexport * as alertDlgBuild from './dialogs/alert-dialog/alert-dialog.build';\nexport * as confirmDlgBuild from './dialogs/confirm-dialog/confirm-dialog.build';\nexport * as dlgFooterBuild from './dialogs/base/dialog-footer/dialog-footer.build';\nexport * as dlgBuild from './dialogs/design-dialog/dialog.build';\nexport * as iframeDlgBuild from './dialogs/iframe-dialog/iframe-dialog.build';\nexport * as loginDlgBuild from './dialogs/login-dialog/login-dialog.build';\nexport * as partialDlgBuild from './dialogs/partial-dialog/partial-dialog.build';\nexport * as formFieldBuild from './data/form/form-field/form-field.build';\nexport * as formActionBuild from './data/form/form-action/form-action.build';\nexport * as formBuild from './data/form/form.build';\nexport * as calendarBuild from './input/calendar/calendar.build';\nexport * as chipsBuild from './input/chips/chips.build';\nexport * as colorPickerBuild from './input/color-picker/color-picker.build';\nexport * as currencyBuild from './input/currency/currency.build';\nexport * as buttonGroupBuild from './input/default/button-group/button-group.build';\nexport * as buttonBuild from './input/default/button/button.build';\nexport * as checkboxBuild from './input/default/checkbox/checkbox.build';\nexport * as checkboxSetBuild from './input/default/checkboxset/checkboxset.build';\nexport * as compositeBuild from './input/default/composite/composite.build';\nexport * as numberBuild from './input/default/number/number.build';\nexport * as radiosetBuild from './input/default/radioset/radioset.build';\nexport * as selectBuild from './input/default/select/select.build';\nexport * as switchBuild from './input/default/switch/switch.build';\nexport * as textBuild from './input/default/text/text.build';\nexport * as textAreaBuild from './input/default/textarea/textarea.build';\nexport * as dateTimeBuild from './input/epoch/date-time/date-time.build';\nexport * as dateBuild from './input/epoch/date/date.build';\nexport * as timeBuild from './input/epoch/time/time.build';\nexport * as fileUploadBuild from './input/file-upload/file-upload.build';\nexport * as ratingBuild from './input/rating/rating.build';\nexport * as sliderBuild from './input/slider/slider.build';\nexport * as mediaListBuild from './data/media-list/media-list.build';\nexport * as mediaListItemBuild from './data/media-list/media-list-item/media-list-item.build';\nexport * as listBuild from './data/list/list.build';\nexport * as liveTableBuild from './data/live-table/live-table.build';\nexport * as messageBuild from './message/message.build';\nexport * as breadcrumbBuild from './navigation/breadcrumb/breadcrumb.build';\nexport * as menuBuild from './navigation/menu/menu.build';\nexport * as navItemBuild from './navigation/nav/nav-item/nav-item.build';\nexport * as navBuild from './navigation/nav/nav.build';\nexport * as navbarBuild from './navigation/navbar/navbar.build';\nexport * as popoverBuild from './navigation/popover/popover.build';\nexport * as pageBuild from './page/page.build';\nexport * as layoutBuild from './page/layout.build';\nexport * as routerOutletBuild from './page/router-outlet/router-outlet.build';\nexport * as paginationBuild from './data/pagination/pagination.build';\nexport * as contentBuild from './page/content/content.build';\nexport * as footerBuild from './page/footer/footer.build';\nexport * as headerBuild from './page/header/header.build';\nexport * as leftPanelBuild from './page/left-panel/left-panel.build';\nexport * as mobileNavbarBuild from './page/mobile-navbar/mobile-navbar.build';\nexport * as rightPanelBuild from './page/right-panel/right-panel.build';\nexport * as pageContentBuild from './page/page-content/page-content.build';\nexport * as tabBarBuild from './page/tab-bar/tab-bar.build';\nexport * as topNavBuild from './page/top-nav/top-nav.build';\nexport * as partialBuild from './partial/partial.build';\nexport * as partialParamBuild from './partial-param/partial-param.build';\nexport * as prefabBuild from './prefab/prefab.build';\nexport * as prefabContainerBuild from './prefab/prefab-container/prefab-container.build';\nexport * as tableActionBuild from './data/table/table-action/table-action.build';\nexport * as tableColumnGroupBuild from './data/table/table-column-group/table-column-group.build';\nexport * as tableColumnBuild from './data/table/table-column/table-column.build';\nexport * as tableRowBuild from './data/table/table-row/table-row.build';\nexport * as tableRowActionBuild from './data/table/table-row-action/table-row-action.build';\nexport * as tableBuild from './data/table/table.build';\nexport * as videoBuild from './basic/video/video.build';\nexport * as linearLayoutBuild from './containers/linear-layout/linear-layout.build';\nexport * as linearLayoutItemBuild from './containers/linear-layout/linear-layout-item/linear-layout-item.build';\nexport * as customWidgetBuild from './advanced/custom-widget-container/custom-widget-container.build';\nexport * as customWidgetWrapperBuild from './advanced/custom-widget-wrapper/custom-widget-wrapper.build';\nexport * from '@wm/transpiler';\nexport const initComponentsBuildTask = () => {};\n"],"mappings":";;;;;;;;;;;;;;;;AAIA,MAAM,kBAAkB;AACxB,MAAM,eAAa;AACnB,MAAM,WAAQ,IAAI,YAAY,kBAAkB;AAEhD,MAAM,qBAAoB,SAAQ,KAAK,MAAM,MAAK,SAAQ,KAAK,SAAS,UAAU,KAAK,UAAU,SAAS;AAE1G,SAAS,qBAAmC;CACxC,OAAO;EACH,MAAM,OAAO,WAAU;GAEnB,MAAM,UAAU,SAAM,QAAO;GAC7B,IAAI;GACJ,IAAG,OAAO,IAAI,QAAQ,CAAC,EAAE,SAAS,GAAG,GACrC;IACI,QAAM,UAAU,SAAS,MAAM,IAAI,QAAQ,GAAE,EAAE,EAAC;IAChD,MAAM,IAAI,UAAU,MAAM;GAC9B;GACA,OAAO,IAAI,gBAAgB,OAAO;GAClC,OAAO,6CAA6C,MAAK,KAAM,gBAAe,eAAgB,QAAO,iBAAkB,cAAc,KAAK,EAAC,2BAA4B,QAAO;EAClL;EACA,YAAY,KAAK,gBAAe;EAChC,WAAW,SAAiB;GAExB,IAAI,kBAAkB,IAAI,GAAG;IACzB,MAAM,cAAc,KAAK,MAAM,MAAK,SAAQ,KAAK,SAAS,YAAU;IACpE,MAAM,iBAAiB,KAAK,MAAM,MAAK,SAAQ,KAAK,SAAS,MAAM;IAEnE,IAAI,CAAC,aACD;IAEJ,MAAM,YAAY,eAAe,YAAY,KAAK;IAElD,IAAI,CAAC,WAC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AAE;;ACbtB,MAAM,UAAU;AAChB,MAAM,SAAU,CAAA;AAChB,MAAM,iBAAgB,SAAO;CACzB,OAAO,IAAI,QAAQ,MAAM,CAAA,GAAI,CAAA,GAAI,CAAA,GAAI,OAAO,QAAQ,QAAQ,QAAQ,KAAK;AAC7E;AAMA,SAAS,oCAAkD;CACvD,OAAO;EACH,WAAW,SAAkB;GACzB,MAAM,kBAAkB,cAAc,cAAc;GAEpD,gBAAgB,WAAW,gBAAgB,SAAS,OAAO,KAAK,QAAQ;GACxE,KAAK,SAAS,SAAS;GACvB,KAAK,SAAS,KAAK,eAAe;EACtC;EACA,MAAK,UAAS,IAAI,QAAO,qCAAsC,cAAc,KAAK,EAAC;EACnF,YAAY,KAAK,QAAO;CAC3B;AACL,CAAC;AAED,IAAA,4CAAoB,CAAE;ACoFtB,MAAa,gCAA+B,CAAE"}
1
+ {"version":3,"file":"index.mjs","names":["dataSetKey","idGen","counter","tagName","tagName","tagName","idGen","tagName","tagName","idGen","tagName","tagName","tagName","idGen","tagName","idGen","tagName","idGen","tagName","tagName","idGen","tagName","idGen","tagName","tagName","tagName","tagName","tagName","tagName","tagName","tagName","dataSetKey","idGen","tagName","idGen","tagName","tagName","tagName","tagName","tagName","idGen","tagName","tagName","tagName","dataSetKey","idGen","tagName","tagName","tagName","dataSetKey","idGen","tagName","idGen","tagName","tagName","idGen","tagName","idGen","tagName","tagName","tagName","tagName","tagName","tagName","tagName","tagName","idGen","tagName","tagName","idGen","formWidgets","tagName","tagName","tagName","tagName","tagName","tagName","idGen","tagName","tagName","tagName","tagName","tagName","tagName","tagName","idGen","tagName","tagName","tagName","tagName","tagName","tagName","tagName","tagName","tagName","dataSetKey","copyAttribute","tagName","dataSetKey","tagName","idGen","tagName","idGen","tagName","tagName","tagName","tagName","tagName","tagName","tagName","createElement","noSpan","idGen","tagName","idGen","tagName","tagName","tagName","tagName","idGen","tagName","idGen","tagName","idGen","tagName","tagName","idGen","tagName","createElement","noSpan","tagName","tagName","idGen","tagName","noSpan","createElement","tagName","tagName","noSpan","createElement","tagName","tagName","tagName","tagName","idGen","tagName","tagName","tagName","idGen","tagName","tagName","tagName","tagName"],"sources":["../../../projects/components/transpile/src/advanced/carousel/carousel.build.ts","../../../projects/components/transpile/src/advanced/carousel/carousel-template/carousel-template.build.ts","../../../projects/components/transpile/src/advanced/login/login.build.ts","../../../projects/components/transpile/src/advanced/marquee/marquee.build.ts","../../../projects/components/transpile/src/basic/anchor/anchor.build.ts","../../../projects/components/transpile/src/basic/audio/audio.build.ts","../../../projects/components/transpile/src/basic/html/html.build.ts","../../../projects/components/transpile/src/basic/icon/icon.build.ts","../../../projects/components/transpile/src/basic/iframe/iframe.build.ts","../../../projects/components/transpile/src/basic/label/label.build.ts","../../../projects/components/transpile/src/basic/picture/picture.build.ts","../../../projects/components/transpile/src/basic/spinner/spinner.build.ts","../../../projects/components/transpile/src/basic/progress/progress-bar/progress-bar.build.ts","../../../projects/components/transpile/src/basic/progress/progress-circle/progress-circle.build.ts","../../../projects/components/transpile/src/basic/rich-text-editor/rich-text-editor.build.ts","../../../projects/components/transpile/src/basic/search/search.build.ts","../../../projects/components/transpile/src/basic/tree/tree.build.ts","../../../projects/components/transpile/src/data/card/card.build.ts","../../../projects/components/transpile/src/data/card/card-content/card-content.build.ts","../../../projects/components/transpile/src/data/card/card-actions/card-actions.build.ts","../../../projects/components/transpile/src/data/card/card-footer/card-footer.build.ts","../../../projects/components/transpile/src/chart/chart.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion.build.ts","../../../projects/components/transpile/src/containers/accordion/accordion-pane/accordion-pane.build.ts","../../../projects/components/transpile/src/containers/container.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-column/layout-grid-column.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid-row/layout-grid-row.build.ts","../../../projects/components/transpile/src/containers/layout-grid/layout-grid.build.ts","../../../projects/components/transpile/src/containers/panel/panel.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segmented-control.build.ts","../../../projects/components/transpile/src/containers/segmented-control/segment-content/segment-content.build.ts","../../../projects/components/transpile/src/containers/repeat-template.build.ts","../../../projects/components/transpile/src/containers/tabs/tabs.build.ts","../../../projects/components/transpile/src/containers/tabs/tab-pane/tab-pane.build.ts","../../../projects/components/transpile/src/containers/tile/tile.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard-step/wizard-step.build.ts","../../../projects/components/transpile/src/containers/wizard/wizard-action/wizard-action.build.ts","../../../projects/components/transpile/src/device/barcode-scanner/barcode-scanner.build.ts","../../../projects/components/transpile/src/device/camera/camera.build.ts","../../../projects/components/transpile/src/dialogs/alert-dialog/alert-dialog.build.ts","../../../projects/components/transpile/src/dialogs/confirm-dialog/confirm-dialog.build.ts","../../../projects/components/transpile/src/dialogs/base/dialog-footer/dialog-footer.build.ts","../../../projects/components/transpile/src/dialogs/design-dialog/dialog.build.ts","../../../projects/components/transpile/src/dialogs/iframe-dialog/iframe-dialog.build.ts","../../../projects/components/transpile/src/dialogs/login-dialog/login-dialog.build.ts","../../../projects/components/transpile/src/dialogs/partial-dialog/partial-dialog.build.ts","../../../projects/components/transpile/src/utils/utils.ts","../../../projects/components/transpile/src/data/form/form-field/form-field.build.ts","../../../projects/components/transpile/src/data/form/form-action/form-action.build.ts","../../../projects/components/transpile/src/data/form/form.build.ts","../../../projects/components/transpile/src/input/calendar/calendar.build.ts","../../../projects/components/transpile/src/input/chips/chips.build.ts","../../../projects/components/transpile/src/input/color-picker/color-picker.build.ts","../../../projects/components/transpile/src/input/currency/currency.build.ts","../../../projects/components/transpile/src/input/default/button-group/button-group.build.ts","../../../projects/components/transpile/src/input/default/button/button.build.ts","../../../projects/components/transpile/src/input/default/checkbox/checkbox.build.ts","../../../projects/components/transpile/src/input/default/checkboxset/checkboxset.build.ts","../../../projects/components/transpile/src/input/default/composite/composite.build.ts","../../../projects/components/transpile/src/input/default/number/number.build.ts","../../../projects/components/transpile/src/input/default/radioset/radioset.build.ts","../../../projects/components/transpile/src/input/default/select/select.build.ts","../../../projects/components/transpile/src/input/default/switch/switch.build.ts","../../../projects/components/transpile/src/input/default/text/text.build.ts","../../../projects/components/transpile/src/input/default/textarea/textarea.build.ts","../../../projects/components/transpile/src/input/epoch/date-time/date-time.build.ts","../../../projects/components/transpile/src/input/epoch/date/date.build.ts","../../../projects/components/transpile/src/input/epoch/time/time.build.ts","../../../projects/components/transpile/src/input/file-upload/file-upload.build.ts","../../../projects/components/transpile/src/input/rating/rating.build.ts","../../../projects/components/transpile/src/input/slider/slider.build.ts","../../../projects/components/transpile/src/data/media-list/media-list.build.ts","../../../projects/components/transpile/src/data/media-list/media-list-item/media-list-item.build.ts","../../../projects/components/transpile/src/data/list/list.build.ts","../../../projects/components/transpile/src/data/live-table/live-table.build.ts","../../../projects/components/transpile/src/message/message.build.ts","../../../projects/components/transpile/src/navigation/breadcrumb/breadcrumb.build.ts","../../../projects/components/transpile/src/navigation/menu/menu.build.ts","../../../projects/components/transpile/src/navigation/nav/nav-item/nav-item.build.ts","../../../projects/components/transpile/src/navigation/nav/nav.build.ts","../../../projects/components/transpile/src/navigation/navbar/navbar.build.ts","../../../projects/components/transpile/src/navigation/popover/popover.build.ts","../../../projects/components/transpile/src/page/page.build.ts","../../../projects/components/transpile/src/page/layout.build.ts","../../../projects/components/transpile/src/page/router-outlet/router-outlet.build.ts","../../../projects/components/transpile/src/data/pagination/pagination.build.ts","../../../projects/components/transpile/src/page/content/content.build.ts","../../../projects/components/transpile/src/page/footer/footer.build.ts","../../../projects/components/transpile/src/page/header/header.build.ts","../../../projects/components/transpile/src/page/left-panel/left-panel.build.ts","../../../projects/components/transpile/src/page/mobile-navbar/mobile-navbar.build.ts","../../../projects/components/transpile/src/page/right-panel/right-panel.build.ts","../../../projects/components/transpile/src/page/page-content/page-content.build.ts","../../../projects/components/transpile/src/page/tab-bar/tab-bar.build.ts","../../../projects/components/transpile/src/page/top-nav/top-nav.build.ts","../../../projects/components/transpile/src/partial/partial.build.ts","../../../projects/components/transpile/src/partial-param/partial-param.build.ts","../../../projects/components/transpile/src/prefab/prefab.build.ts","../../../projects/components/transpile/src/prefab/prefab-container/prefab-container.build.ts","../../../projects/components/transpile/src/data/table/table-action/table-action.build.ts","../../../projects/components/transpile/src/data/table/table-column-group/table-column-group.build.ts","../../../projects/components/transpile/src/data/table/table-column/table-column.build.ts","../../../projects/components/transpile/src/data/table/table-row/table-row.build.ts","../../../projects/components/transpile/src/data/table/table-row-action/table-row-action.build.ts","../../../projects/components/transpile/src/data/table/table.build.ts","../../../projects/components/transpile/src/basic/video/video.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout.build.ts","../../../projects/components/transpile/src/containers/linear-layout/linear-layout-item/linear-layout-item.build.ts","../../../projects/components/transpile/src/advanced/custom-widget-container/custom-widget-container.build.ts","../../../projects/components/transpile/src/advanced/custom-widget-wrapper/custom-widget-wrapper.build.ts","../../../projects/components/transpile/src/public_api.ts"],"sourcesContent":["import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst carouselTagName = 'carousel';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_carousel_ref_');\n\nconst isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-carousel', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the carousel\n const counter = idGen.nextUid();\n let style;\n if(attrs?.get('height')?.endsWith('%'))\n {\n style=`height:${parseInt(attrs.get('height'),10)}vh`;\n attrs.set('height', '100%');\n }\n shared.set('carousel_ref', counter);\n return `<div class=\"app-carousel carousel\" style=\"${style}\"><${carouselTagName} wmCarousel #${counter}=\"wmCarousel\" ${getAttrMarkup(attrs)} interval=\"0\" [ngClass]=\"${counter}.navigationClass\">`;\n },\n post: () => `</${carouselTagName}></div>`,\n template: (node: Element) => {\n // check if the carousel is dynamic\n if (isDynamicCarousel(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent carousel reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('carousel_ref', shared.get('carousel_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst carouselContentTagName = 'slide';\nlet counter = 1;\n// For static carousel\nregister('wm-carousel-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${carouselContentTagName} wmCarouselTemplate ${getAttrMarkup(attrs)}>`,\n post: () => `</${carouselContentTagName}>`\n };\n});\n\n// For dynamic carousel\nregister('wm-carousel-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-carousel'],\n pre: (attrs, shared, parentCarousel) => {\n const carouselRef = parentCarousel.get('carousel_ref');\n return `@if(!${carouselRef}.fieldDefs){<div >{{${carouselRef}.nodatamessage}}</div>}\n @for (item of ${carouselRef}.fieldDefs; track item; let i = $index) {\n <${carouselContentTagName} wmCarouselTemplate #carouselTemplateRef=\"carouselTemplateRef\" ${getAttrMarkup(attrs)}>\n <ng-container [ngTemplateOutlet]=\"carouselTempRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${carouselRef}.createCustomInjector('carousel_item_' + carouselTemplateRef.trackId, {item:item, index:i})\"></ng-container>\n </${carouselContentTagName}>\n }\n <ng-template #carouselTempRef${counter++} let-item=\"item\" let-index=\"index\">`;\n\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-login', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLogin ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\">`,\n post: () => `</${tagName}>`,\n provide: () => {\n const provider = new Map();\n provider.set('isLogin', true);\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'marquee';\n\nregister('wm-marquee', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} onmouseover=\"this.stop();\" onmouseout=\"this.start();\" wmMarquee role=\"marquee\" aria-live=\"off\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'a';\nconst idGen = new IDGenerator('wm_anchor');\n\nregister('wm-anchor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmAnchor #${counter}=\"wmAnchor\" role=\"link\" data-identifier=\"anchor\" [attr.aria-label]=\"${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-audio', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAudio ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_html');\n\nregister('wm-html', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmHtml #${counter}=\"wmHtml\" role=\"application\" [attr.aria-label]=\"${counter}.arialabel || 'HTML content'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'span';\n\nregister('wm-icon', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIcon ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframe', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframe ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nlet tagName = 'p';\nconst idGen = new IDGenerator('wm_label');\n\nregister('wm-label', (): IBuildTaskDef => {\n return {\n pre: (attrs:any) => {\n if(!attrs.get(\"notag\")){\n if(!attrs.get('type')){\n const classList=attrs.get('class') ? attrs.get('class').split(' ').filter(element => [\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\"].includes(element)):[];\n attrs.set('type',classList.length ? classList[0] : \"p\");\n }\n tagName= attrs.get('type');\n }\n else{\n tagName='label';\n }\n const counter = idGen.nextUid();\n return `<${tagName} wmLabel #${counter}=\"wmLabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'img';\nconst idGen = new IDGenerator('wm_picture');\n\nregister('wm-picture', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPicture #${counter}=\"wmPicture\" [alt]=\"${counter}.alttext\" wmImageCache=\"${attrs.get('offline') || 'true'}\" [attr.aria-label]=\"${counter}.arialabel || 'Image'\" ${getAttrMarkup(attrs)}>`;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_spinner');\n\nregister('wm-spinner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmSpinner #${counter}=\"wmSpinner\" role=\"alert\" [attr.aria-label]=\"${counter}.arialabel || 'Loading...'\" aria-live=\"assertive\" aria-busy=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst getAttr = (node: Element, attrName: string) => node.attrs.find(attr => attr.name === attrName);\n\nconst getAttrValue = (node: Element, attrName: string): string | undefined => {\n const match = getAttr(node, attrName);\n if (match) {\n return match.value;\n }\n};\n\nconst getReplaceRegex = (v: string) => new RegExp(`bind:(${v}|${v}\\\\[\\\\$i])\\\\.`, 'g');\n\nregister('wm-progress-bar', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const dataset = getAttrValue(node, 'dataset');\n const boundExpr = getBoundToExpr(dataset);\n\n if (boundExpr) {\n let type = getAttrValue(node, 'type');\n let datavalue = getAttrValue(node, 'datavalue');\n\n const replaceRegex = getReplaceRegex(boundExpr);\n\n if (type && type.includes(boundExpr)) {\n type = type.replace(replaceRegex, '');\n getAttr(node, 'type').value = type;\n }\n\n if (datavalue && datavalue.includes(boundExpr)) {\n datavalue = datavalue.replace(replaceRegex, '');\n getAttr(node, 'datavalue').value = datavalue;\n }\n }\n },\n pre: attrs => `<${tagName} wmProgressBar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_progress_circle');\n\nregister('wm-progress-circle', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmProgressCircle #${counter}=\"wmProgressCircle\" role=\"progressbar\" [attr.aria-label]=\"${counter}.arialabel || 'circle-progress'\" [attr.hint]=\"${counter}.hint\" [attr.aria-valuetext]=\"${counter}.displayValue\" [attr.aria-valuemin]=\"${counter}.minvalue\" [attr.aria-valuemax]=\"${counter}.maxvalue\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_richtexteditor');\n\nregister('wm-richtexteditor', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRichTextEditor #${counter}=\"wmRichTextEditor\" role=\"textbox\" [attr.aria-label]=\"${counter}.arialabel || 'Richtext editor'\" ${getFormMarkupAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-search', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-tree', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTree class=\"ztree\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCard ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-actions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardActions ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-card-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCardFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-chart', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChart redrawable aria-label=\"${attrs.get('type')} Chart\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {Element} from '@angular/compiler';\nimport {getAttrMarkup, getBoundToExpr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator, updateTemplateAttrs} from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_accordion_ref_');\n\nconst isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-accordion', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the accordion\n const counter = idGen.nextUid();\n shared.set('accordion_ref', counter);\n return `<${tagName} wmAccordion #${counter}=\"wmAccordion\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the accordion is dynamic\n if (isDynamicAccordion(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent accordion reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('accordion_ref', shared.get('accordion_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_accordionpane');\n\nregister('wm-accordionpane', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} #${counter}=\"wmAccordionPane\" wmAccordionPane partialContainer wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-container', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContainer partialContainer wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridcolumn', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-gridrow', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-layoutgrid', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLayoutGrid ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_panel');\n\nregister('wm-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPanel #${counter}=\"wmPanel\" partialContainer wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nregister('wm-panel-footer', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPanelFooter ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-segmented-control', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentedControl ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-segment-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst dynamicTemplateTagName = 'div';\nlet counter = 1;\n\n\n// For dynamic accordion panes/tab panes\nregister('wm-repeat-template', (): IBuildTaskDef => {\n return {\n requires: ['wm-accordion', 'wm-tabs', 'wm-wizard'],\n pre: (attrs, shared, parentAccordion, parentTab, parentWizard) => {\n const widgetRef = (parentAccordion && parentAccordion.get('accordion_ref')) || (parentTab && parentTab.get('tabs_ref')) || (parentWizard && parentWizard.get('wizard_ref'));\n if (widgetRef) {\n return `@if(${widgetRef}.fieldDefs && !${widgetRef}.fieldDefs.length){<div>{{${widgetRef}.nodatamessage}}</div>}\n @for (item of ${widgetRef}.fieldDefs; track item; let i = $index) {\n <${dynamicTemplateTagName} wmRepeatTemplate #repeatItemRef=\"repeatItemRef\" ${getAttrMarkup(attrs)}>\n <ng-container [ngTemplateOutlet]=\"widgetRef${counter}\"\n [ngTemplateOutletContext]=\"{item:item, index:i}\"\n [ngTemplateOutletInjector]=\"${widgetRef}.createCustomInjector('dynamic_pane_' + repeatItemRef.trackId, {item:item, index:i})\"></ng-container>\n </${dynamicTemplateTagName}>\n }\n <ng-template #widgetRef${counter++} let-item=\"item\" let-index=\"index\">`;\n }\n\n },\n post: () => `</ng-template>`\n };\n});\n\nexport default () => {};\n","import { Element } from '@angular/compiler';\nimport { IBuildTaskDef, getAttrMarkup, register, getBoundToExpr } from '@wm/transpiler';\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_tabs_ref_');\n\nconst isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-tabs', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n // generating unique Id for the tabs\n const counter = idGen.nextUid();\n shared.set('tabs_ref', counter);\n return `<${tagName} wmTabs #${counter}=\"wmTabs\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the tab widget is dynamic\n if (isDynamicTabs(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent tab reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('tabs_ref', shared.get('tabs_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nregister('wm-tabpane', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element=\"true\" role=\"tabpanel\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-tile', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTile wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getBoundToExpr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator, updateTemplateAttrs} from \"@wm/core\";\nimport {Element} from \"@angular/compiler\";\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('wm_wizard_ref_');\n\nconst isDynamicWizard = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');\n\nregister('wm-wizard', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('wizard_ref', counter);\n return `<${tagName} wmWizard #${counter}=\"wmWizard\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n template: (node: Element, shared) => {\n // check if the tab widget is dynamic\n if (isDynamicWizard(node)) {\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);\n }\n },\n // To provide parent tab reference for children\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('wizard_ref', shared.get('wizard_ref'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { IDGenerator } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('wizard_step_id_');\n\nregister('wm-wizardstep', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const counter = idGen.nextUid();\n return `<${tagName} wmWizardStep partialContainer #${counter}=\"wmWizardStep\" ${getAttrMarkup(attrs)}>\n <ng-template [ngIf]=\"${counter}.isInitialized\">`;\n },\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-wizardaction', (): IBuildTaskDef => {\n return {\n pre: attrs => `<ng-template #wizardAction><${tagName} wmWizardAction ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}></ng-template>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_barcodescanner');\n\nregister('wm-barcodescanner', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmBarcodescanner #${counter}=\"wmBarcodescanner\" [attr.aria-label]=\"${counter}.arialabel || 'Barcode scanner'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_camera');\n\nregister('wm-camera', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} type='button' wmCamera #${counter}=\"wmCamera\" [attr.aria-label]=\"${counter}.arialabel || 'Camera'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-alertdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmAlertDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-confirmdialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmConfirmDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialogactions', (): IBuildTaskDef => {\n return {\n pre: attrs => `<ng-template #dialogFooter><${tagName} wmDialogFooter data-identfier=\"actions\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-dialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog ${getAttrMarkup(attrs)} aria-modal=\"true\" role=\"dialog\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\n// Todo:vinay remove wm-view in migration\nregister('wm-view', (): IBuildTaskDef => {\n return {\n pre: attrs => '',\n post: () => ''\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-iframedialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmIframeDialog wm-navigable-element=\"true\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-logindialog', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind=\"Actions.loginAction\" wm-navigable-element=\"true\"><ng-template #dialogBody>`,\n post: () => `</ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-pagedialog', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const content = attrs.get('content');\n attrs.delete('content');\n\n const boundContent = attrs.get('content.bind');\n attrs.delete('content.bind');\n\n const onLoad = attrs.get('load.event');\n attrs.delete('load.event');\n\n let onLoadEvtMarkup = '';\n let contentMarkup = '';\n\n if (onLoad) {\n onLoadEvtMarkup = `load.event=\"${onLoad}\"`;\n }\n\n if (boundContent) {\n contentMarkup = `content.bind=\"${boundContent}\"`;\n } else if (content) {\n contentMarkup = `content=\"${content}\"`;\n }\n\n let containerMarkup = '';\n if (contentMarkup) {\n\n shared.set('hasPartialContent', true);\n containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width=\"100%\" height=\"100%\" ${onLoadEvtMarkup}>`;\n }\n\n return `<${tagName} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;\n },\n post: (attrs, shared) => {\n let preContent = '';\n if (shared.get('hasPartialContent')) {\n preContent = `</div></ng-template>`;\n }\n return `${preContent}</${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import {DataType, FormWidgetType} from '@wm/core';\n\nexport const ALLFIELDS = 'All Fields';\nexport const EDIT_MODE = {\n QUICK_EDIT : 'quickedit',\n INLINE : 'inline',\n FORM : 'form',\n DIALOG : 'dialog'\n};\n\nconst fieldTypeWidgetTypeMap = {\n 'integer' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_integer': ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'short' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'float' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'big_decimal': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'number' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'double' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'long' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],\n 'byte' : ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],\n 'string' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'character' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'switch', 'currency', 'autocomplete', 'chips'],\n 'text' : ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],\n 'date' : ['date', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'time' : ['time', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'timestamp' : ['timestamp', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'datetime' : ['datetime', 'text', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],\n 'boolean' : ['checkbox', 'radioset', 'toggle', 'select'],\n 'list' : ['select', 'radioset', 'checkboxset', 'switch', 'autocomplete', 'chips'],\n 'clob' : ['text', 'textarea', 'richtext'],\n 'blob' : ['upload'],\n 'file' : ['upload'],\n 'custom' : ['text', 'number', 'textarea', 'password', 'checkbox', 'toggle', 'slider', 'richtext', 'currency', 'switch',\n 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'rating', 'datetime', 'autocomplete', 'chips', 'colorpicker']\n};\n\nconst DATASET_WIDGETS = new Set([FormWidgetType.SELECT, FormWidgetType.CHECKBOXSET, FormWidgetType.RADIOSET,\n FormWidgetType.SWITCH, FormWidgetType.AUTOCOMPLETE, FormWidgetType.CHIPS, FormWidgetType.TYPEAHEAD, FormWidgetType.RATING]);\n\nexport const isDataSetWidget = widget => {\n return DATASET_WIDGETS.has(widget);\n};\n\n// Get filter widget applicable to the given type\nexport const getDataTableFilterWidget = type => {\n let widget = fieldTypeWidgetTypeMap[type] && fieldTypeWidgetTypeMap[type][0];\n if (type === DataType.BOOLEAN) {\n widget = FormWidgetType.SELECT;\n }\n const filterWidgets = [FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,\n FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME];\n if (filterWidgets.includes(widget)) {\n return widget;\n }\n return FormWidgetType.TEXT;\n};\n\n/**\n * @ngdoc function\n * @name wm.widgets.live.getEditModeWidget\n * @methodOf wm.widgets.live.LiveWidgetUtils\n * @function\n *\n * @description\n * This function returns the default widget for grid\n *\n * @param {object} colDef field definition\n */\nexport const getEditModeWidget = colDef => {\n if (colDef['related-entity-name'] && colDef['primary-key']) {\n return FormWidgetType.SELECT;\n }\n return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;\n};\n","import {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {\n FormWidgetType,\n generateGUId,\n getFormWidgetTemplate,\n getRequiredFormWidget,\n IDGenerator\n} from '@wm/core';\n\nimport {ALLFIELDS, isDataSetWidget} from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('formfield_');\n\nconst getEventsTemplate = (attrs) => {\n const eventAttrs = new Map();\n if (!attrs.has('focus.event')) {\n attrs.set('focus.event', '');\n }\n if (!attrs.has('blur.event')) {\n attrs.set('blur.event', '');\n }\n attrs.forEach((value, key) => {\n if (key.endsWith('.event')) {\n if (key === 'focus.event') {\n value = `_onFocusField($event);${value}`;\n } else if (key === 'blur.event') {\n value = `_onBlurField($event);${value}`;\n }\n eventAttrs.set(key, value);\n attrs.delete(key);\n }\n });\n return getFormMarkupAttr(eventAttrs);\n};\n\nconst DEFAULT_PLACEHOLDERS = new Map([\n [FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],\n [FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],\n [FormWidgetType.TIME, ['Select Min time', 'Select Max time', 'Select time']],\n [FormWidgetType.DATE, ['Select Min date', 'Select Max date', 'Select date']],\n [FormWidgetType.TEXTAREA, ['', '', 'Enter value']],\n [FormWidgetType.RICHTEXT, ['', '', 'Enter value']],\n [FormWidgetType.COLORPICKER, ['Select Color', 'Select Color', 'Select Color']],\n [FormWidgetType.CHIPS, ['', '', 'Type here...']],\n [FormWidgetType.PASSWORD, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.NUMBER, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.TEXT, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.CURRENCY, ['Enter Min value', 'Enter Max value', 'Enter value']],\n [FormWidgetType.AUTOCOMPLETE, ['', '', 'Search']],\n]);\n\nconst setDefaultPlaceholder = (attrs, widgetType, index) => {\n const prop = index === 1 ? 'maxplaceholder' : 'placeholder';\n let placeholder = attrs.get(prop);\n if (placeholder || placeholder === '') {\n return;\n }\n placeholder = DEFAULT_PLACEHOLDERS.get(widgetType) && DEFAULT_PLACEHOLDERS.get(widgetType)[index];\n if (placeholder) {\n attrs.set(prop, placeholder);\n }\n};\n\nconst getWidgetTemplate = (attrs, options) => {\n let customAttrs = ``;\n if(options.widgetType === \"custom-widget\") {\n for (let [key, value] of attrs) {\n if(key.startsWith('prop-'))\n customAttrs += key + '=\"' + value + '\" ';\n }\n }\n const name = attrs.get('name');\n const customWidgetName = attrs.get('widgetname');\n const fieldName = (attrs.get('key') || name || '').trim();\n const formControl = options.isMaxWidget ? `formControlName=\"${fieldName}_max\"` : (options.isInList ? `[formControlName]=\"${options.counter}._fieldName\"` : `formControlName=\"${fieldName}\"`);\n const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;\n const widgetName = name ? (options.isMaxWidget ? `name=\"${name}_formWidgetMax\"` : `name=\"${name}_formWidget\"`) : '';\n const conditionalClass = `[ngClass]=\"${attrs.get('ngclass')}\"`;\n const defaultTmpl = `[class.hidden]=\"!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'\" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName} ${customAttrs}`:''}` ;\n return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, {counter: options.counter, pCounter: options.pCounter});\n};\n\n\nconst getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {\n const isRange = attrs.get('is-range') === 'true';\n if (!isRange) {\n return getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isInList});\n }\n const layoutClass = 'col-sm-6';\n return `<div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter})}</div>\n <div class=\"${layoutClass}\">${getWidgetTemplate(attrs, {widgetType, eventsTmpl, counter, pCounter, isMaxWidget: true})}</div>`;\n};\n\nconst getCaptionByWidget = (attrs, widgetType, counter) => {\n if (attrs.get('is-related') === 'true') {\n return `${counter}.getDisplayExpr()`;\n }\n if (widgetType === FormWidgetType.PASSWORD) {\n return '\\'********\\'';\n }\n let caption = `${counter}.value`;\n if (widgetType === FormWidgetType.DATETIME || widgetType === FormWidgetType.TIMESTAMP) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MM-dd hh:mm:ss a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.TIME) {\n caption += ` | toDate:${counter}.formWidget.timepattern || 'hh:mm a'`;\n return caption;\n }\n if (widgetType === FormWidgetType.DATE) {\n caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MMM-dd'`;\n return caption;\n }\n if (widgetType === FormWidgetType.RATING || widgetType === FormWidgetType.UPLOAD) {\n return '';\n }\n if (isDataSetWidget(widgetType) && attrs.get('datafield') === ALLFIELDS) {\n return `${counter}.getDisplayExpr()`;\n }\n return `${counter}.getCaption()`;\n};\n\nconst registerFormField = (isFormField): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],\n pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {\n const counter = idGen.nextUid();\n const parent = parentForm || parentLiveForm || parentFilter;\n const pCounter = (parent && parent.get('form_reference')) || 'form';\n const widgetType = attrs.get('widget') || FormWidgetType.TEXT;\n const dataRole = isFormField ? 'form-field' : 'filter-field';\n const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();\n const validationMsg = `@if (${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode) {\n <p class=\"help-block text-danger\" aria-hidden=\"false\" role=\"alert\" aria-live=\"assertive\" [attr.aria-label]=\"${counter}.validationmessage\" id=\"${formFieldErrorMsgId}\">\n <span aria-hidden=\"true\" [textContent]=\"${counter}.validationmessage\"></span>\n </p>}`;\n const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);\n const controlLayout = 'col-sm-12';\n const isInList = pCounter === (parentList && parentList.get('parent_form_reference'));\n attrs.set('__validationId', formFieldErrorMsgId);\n attrs.set('__widgetType', widgetType);\n attrs.delete('widget');\n shared.set('counter', counter);\n\n if (attrs.get('is-range') === 'true') {\n setDefaultPlaceholder(attrs, widgetType, 0);\n setDefaultPlaceholder(attrs, widgetType, 1);\n } else {\n setDefaultPlaceholder(attrs, widgetType, 2);\n }\n\n return `<${tagName} data-role=\"${dataRole}\" [formGroup]=\"${pCounter}.ngform\" wmFormField wmCaptionPosition #${counter}=\"wmFormField\" widgettype=\"${widgetType}\" [hidden]=\"!${counter}.show\" ${getFormMarkupAttr(attrs)}>\n <div class=\"live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}\" widget=\"${widgetType}\">\n <label [hidden]=\"!${counter}.displayname\" class=\"app-label control-label formfield-label {{${pCounter}._captionClass}}\"\n [ngStyle]=\"{width: ${pCounter}.captionsize}\" [ngClass]=\"{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,\n required: ${pCounter}.isUpdateMode && ${counter}.required}\" [attr.aria-label]=\"${counter}.displayname ? null : ${counter}.arialabel\" [textContent]=\"${counter}.displayname\"> </label>\n <div [ngClass]=\"${counter}.displayname ? ${pCounter}._widgetClass : '${controlLayout}'\">\n <span class=\"form-control-static app-label\"\n [hidden]=\"${pCounter}.isUpdateMode || ${counter}.viewmodewidget === 'default' || ${counter}.widgettype === 'upload'\" [innerHTML]=\"${getCaptionByWidget(attrs, widgetType, counter)}\"></span>\n ${getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList)}\n @if(${counter}.showPendingSpinner){ <span aria-hidden=\"true\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span>}\n @if(!(${counter}._control?.invalid && ${counter}._control?.touched) && ${pCounter}.isUpdateMode){ <p class=\"help-block\" aria-hidden=\"true\" role=\"alert\" aria-live=\"polite\" [textContent]=\"${counter}.hint\"></p> }\n ${validationMsg}\n </div>\n </div>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const widgetType = attrs.get('__widgetType') || attrs.get('type');\n const requiredWidget = getRequiredFormWidget(widgetType);\n attrs.delete('__widgetType');\n\n let pipeImports = [];\n if (widgetType && [FormWidgetType.DATE, FormWidgetType.DATETIME, FormWidgetType.TIME, FormWidgetType.TIMESTAMP].includes(widgetType as any)) {\n pipeImports.push('toDate');\n }\n\n return [requiredWidget, 'wm-form', ...pipeImports];\n }\n };\n};\n\nregister('wm-form-field', registerFormField.bind(this, true));\nregister('wm-filter-field', registerFormField.bind(this, false));\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst registerAction = (tmpl): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmFormAction name=\"${attrs.get('name') || attrs.get('key')}\" ${getAttrMarkup(attrs)} ${tmpl}>`,\n post: () => `</${tagName}>`\n };\n};\n\nregister('wm-form-action', registerAction.bind(this, ''));\nregister('wm-filter-action', registerAction.bind(this, ` update-mode=\"true\" `));\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register, getDataSource } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'form';\nconst idGen = new IDGenerator('form_');\n\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-richtexteditor',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-upload',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker',\n 'wm-table'\n]);\n\nlet numberOfFields;\n\nconst addFormControlName = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name === 'wm-form-field') {\n numberOfFields++;\n }\n if (formWidgets.has(childNode.name)) {\n let key = childNode.attrs.find((attr) => attr.name === 'key' || attr.name === 'name');\n key = key && key.value;\n if (!key) {\n // for checkbox inside table inside form, key and name attrs are not available. Using datavalue to construct formControlName instead.\n let dataValue = childNode.attrs.find((attr) => attr.name === 'datavalue');\n if (dataValue && dataValue.value) {\n const regex = /\\((.*)\\)/;\n dataValue = dataValue.value.match(regex);\n if (dataValue && dataValue.length > 1) {\n key = dataValue[1].replace(/[\"']/g, '');\n }\n }\n }\n childNode.attrs.push(new Attribute('formControlName', key, <any>1, <any>1, <any>1, undefined, undefined));\n childNode.attrs.push(new Attribute('wmFormWidget', '', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addFormControlName(childNode.children);\n });\n};\n\nconst updateFormDataSource = (attrMap) => {\n if (attrMap.get('formdata.bind')) {\n const formDataSource = getDataSource(attrMap.get('formdata.bind'));\n if (formDataSource) {\n attrMap.set('formdatasource.bind', formDataSource);\n }\n }\n};\n\nconst buildTask = (directiveAttr = ''): IBuildTaskDef => {\n return {\n requires: ['wm-livetable', 'wm-login'],\n template: (node: Element) => {\n numberOfFields = 0;\n addFormControlName(node.children);\n },\n pre: (attrs, shared, parentLiveTable, parentLoginWidget) => {\n let tmpl;\n let dialogId;\n const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';\n const counter = idGen.nextUid();\n const dependsOn = attrs.get('dependson') ? `dependson=\"${attrs.get('dependson')}\"` : '';\n if(dependsOn) {\n attrs.set('dependsontable', attrs.get('dependson'));\n }\n const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';\n const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];\n attrs.delete('dependson');\n const liveFormTmpl = `<${tagName} wmForm data-role=\"${role}\" ${directiveAttr} #${counter} ngNativeValidate [formGroup]=\"${counter}.ngform\" [noValidate]=\"${counter}.validationtype !== 'html'\"\n class=\"${classProp}\" [class]=\"${counter}.captionAlignClass\" [autocomplete]=\"${counter}.autocomplete ? 'on' : 'off'\" captionposition=${attrs.get('captionposition')}`;\n attrs.set('numberOfFields', `${numberOfFields}`);\n shared.set('counter', counter);\n updateFormDataSource(attrs);\n if (attrs.get('formlayout') === 'dialog') {\n dialogId = parentLiveTable ? parentLiveTable.get('liveform_dialog_id') : `liveform_dialog_id_${counter}`;\n attrs.set('dialogId', dialogId);\n const dialogAttrsMap = new Map<string, string>();\n dialogAttributes.forEach((attr) => {\n if (attrs.get(attr)) {\n dialogAttrsMap.set(attr, attrs.get(attr));\n }\n });\n attrs.set('width', '100%');\n tmpl = getAttrMarkup(attrs);\n return `<div data-identifier=\"liveform\" init-widget class=\"app-liveform liveform-dialog\" ${dependsOn} dialogid=\"${dialogId}\">\n <div wmDialog class=\"app-liveform-dialog\" name=\"${dialogId}\" role=\"form\" ${getAttrMarkup(dialogAttrsMap)} modal=\"true\">\n <ng-template #dialogBody>\n ${liveFormTmpl} ${tmpl}>`;\n }\n let mobileFormContentTmpl = '';\n let buttonTemplate = '';\n // Include mobile-navbar above the form when formlayout is set to page\n if (attrs.get('formlayout') === 'page') {\n const name = `device_liveform_header_${counter}`;\n const navbarAttrsMap = new Map<string, string>();\n navbarAttrsMap.set('title', attrs.get('title'));\n navbarAttrsMap.set('backbtnclick.event', attrs.get('backbtnclick.event'));\n buttonTemplate = `<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton name=\"{{btn.key}}\" class=\"navbar-btn btn-primary btn-transparent\" iconclass.bind=\"btn.iconclass\" show.bind=\"btn.show\"\n (click)=\"${counter}.invokeActionEvent($event, btn.action)\" type.bind=\"btn.type\" hint.bind=\"btn.title\" shortcutkey.bind=\"btn.shortcutkey\" disabled.bind=\"btn.disabled\"\n tabindex.bind=\"btn.tabindex\" [class.hidden]=\"btn.updateMode ? !${counter}.isUpdateMode : ${counter}.isUpdateMode\"></button>\n </ng-template>`;\n mobileFormContentTmpl = `<header wmMobileNavbar name=\"${name}\" ${getAttrMarkup(navbarAttrsMap)}>\n @for (btn of ${counter}.buttonArray; track btn; let i = $index) {\n <ng-container\n [ngTemplateOutlet]=\"buttonRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"${counter}.createCustomInjector('mobile_' + i, {item:item, index:i})\">\n </ng-container>\n }\n </header>\n <div class=\"form-elements panel-body\" >`;\n }\n\n tmpl = getAttrMarkup(attrs);\n const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';\n return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>\n ${buttonTemplate} ${mobileFormContentTmpl}`;\n },\n post: (attrs) => {\n if (attrs.get('formlayout') === 'dialog') {\n return '</form></ng-template></div></div>';\n }\n if (attrs.get('formlayout') === 'page') {\n return `</div></${tagName}>`;\n }\n if(attrs.get('dependsontable')) {\n return `</${tagName}></div>`;\n }\n return `</${tagName}>`;\n },\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('form_reference', shared.get('counter'));\n return provider;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const formlayout = attrs.get('formlayout');\n if (formlayout === 'dialog') {\n return ['wm-dialog'];\n }\n return [];\n }\n };\n};\n\nregister('wm-form', buildTask);\nregister('wm-liveform', () => buildTask('wmLiveForm'));\nregister('wm-livefilter', () => buildTask('wmLiveFilter'));\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-calendar', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';\n return `<${tagName} wmCalendar redrawable style=\"width:100%\" role=\"region\" aria-label=\"${viewType}\" ${getAttrMarkup(attrs)}>`\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-chips', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmChips ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getChildAttrs, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-colorpicker', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getChildAttrs, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-currency', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-buttongroup', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmButtonGroup role=\"group\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'button';\nconst idGen = new IDGenerator('wm_button');\n\nregister('wm-button', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmButton #${counter}=\"wmButton\" [attr.aria-label]=\"${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getChildAttrs, getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\nimport {getNgModelAttr} from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-checkbox', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n if (attrs.get('type') === 'button') {\n return `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`\n } else {\n return `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)} style=\"height:100%\">`\n }\n\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'ul';\n\nregister('wm-checkboxset', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} role=\"group\" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, setChildAttrs, clearChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-composite', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}${clearChildAttrs()}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\n\nimport { getFormMarkupAttr,getChildAttrs , IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-number', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-radioset', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const hintAttr =attrs.get(\"hint\") ? ` title=\"${attrs.get(\"hint\") }\" ` : '';\n return `<${tagName} role=\"radiogroup\" wmRadioset ${hintAttr} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)}\n ${getNgModelAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\n\nconst tagName = 'wm-select';\n\nregister('wm-select', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getNgModelAttr, IDGenerator} from '@wm/core';\nimport {getFormMarkupAttr, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_switch');\n\nregister('wm-switch', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmSwitch #${counter}=\"wmSwitch\" role=\"group\" [attr.aria-label]=\"${counter}.arialabel || 'Switch choose options'\" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-input';\n\nregister('wm-text', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, getChildAttrs, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'wm-textarea';\n\nregister('wm-textarea', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-datetime', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-date', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getFormMarkupAttr, IBuildTaskDef, register, getChildAttrs } from '@wm/transpiler';\nimport { getNgModelAttr } from '@wm/core';\n\nconst tagName = 'div';\n\nregister('wm-time', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, getDataSource, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-fileupload', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n if (attrs.get('select.event')) {\n const onSelectBinding = getDataSource(attrs.get('select.event'));\n attrs.set('datasource.bind', onSelectBinding);\n }\n if (attrs.get('delete.event')) {\n const onDeleteBinding = getDataSource(attrs.get('delete.event'));\n attrs.set('deletedatasource.bind', onDeleteBinding);\n }\n return `<${tagName} wmFileUpload ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getFormMarkupAttr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-rating', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getNgModelAttr } from '@wm/core';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-slider', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmlistTag = 'wm-list';\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-media-list', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let bindDataset;\n const attrObj = node.attrs.find(attr => attr.name === dataSetKey),\n /**\n * Replacing binded property value with item\n * @param children\n */\n replaceBind = (children = []) => {\n children.forEach(childNode => {\n if (childNode.name) {\n // return if the child Element is of wm-list .\n if (childNode.name !== wmlistTag) {\n childNode.attrs.forEach((attr) => {\n if (attr.value.startsWith(`bind:${bindDataset}.data[$i]`)) {\n attr.value = attr.value.replace(`${bindDataset}.data[$i]`, 'item');\n } else if (attr.value.startsWith(`bind:${bindDataset}`)) {\n attr.value = attr.value.replace(bindDataset, 'item');\n }\n });\n replaceBind(childNode.children);\n }\n }\n });\n };\n if (attrObj && attrObj.value.startsWith('bind:')) {\n bindDataset = attrObj.value.replace('bind:', '');\n }\n if (bindDataset) {\n replaceBind(node.children);\n }\n const template = <Element> node.children\n .find(e => e instanceof Element && (<Element> e).name === 'wm-media-template');\n if (template != null) {\n copyAttribute(template, 'width', node, 'thumbnailwidth');\n copyAttribute(template, 'height', node, 'thumbnailheight');\n }\n },\n pre: attrs => `<${tagName} wmMediaList ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ng-template';\n\nregister('wm-media-template', (): IBuildTaskDef => {\n return {\n pre: () => `<${tagName} #mediaListTemplate let-item=\"item\" let-index=\"index\">`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\nimport { updateTemplateAttrs } from '@wm/core';\n\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst wmListTag = 'wm-list';\nconst listTagName = 'div';\nconst dataSetKey = 'dataset';\n\nregister(wmListTag, (): IBuildTaskDef => {\n return {\n requires: ['wm-form', 'wm-liveform'],\n template: (node: Element) => {\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, 'itemRef.');\n },\n pre: (attrs, shared, parentForm, parentLiveForm) => {\n const parent = parentForm || parentLiveForm;\n shared.set('form_reference', parent && parent.get('form_reference'));\n return `<${listTagName} wmList wmLiveActions ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${listTagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('parent_form_reference', shared.get('form_reference'));\n return provider;\n }\n };\n});\n\nregister('wm-listtemplate', (): IBuildTaskDef => {\n return {\n pre: () => `<ng-template #listTemplate let-item=\"item\" let-$index=\"$index\" let-itemRef=\"itemRef\" let-$first=\"$first\" let-$last=\"$last\" let-currentItemWidgets=\"currentItemWidgets\" >`,\n post: () => `</ng-template>`\n };\n});\n\nfunction copyAttribute(from: Element, fromAttrName: string, to: Element, toAttrName: string) {\n const fromAttr = from.attrs.find( a => a.name === fromAttrName);\n if (fromAttr) {\n to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));\n }\n}\n\nregister('wm-list-action-template', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n\n const position = node.attrs.find(attr => attr.name === 'position').value;\n\n const btns = <Element[]> node.children\n .filter(e => e instanceof Element && (<Element> e).name === 'wm-button');\n\n // add swipe-position on button nodes to identify whether buttons are from left or right action templates\n btns.forEach((btnNode) => {\n copyAttribute(node, 'position', btnNode, 'swipe-position');\n });\n },\n pre: (attrs, el) => {\n if (attrs.get('position') === 'left') {\n return `<ng-template #listLeftActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-left-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n if (attrs.get('position') === 'right') {\n return `<ng-template #listRightActionTemplate>\n <li class=\"app-list-item-action-panel app-list-item-right-action-panel actionMenu\" ${getAttrMarkup(attrs)}>`;\n }\n },\n post: () => `</li></ng-template>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { IDGenerator } from '@wm/core';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('liveform_dialog_id_');\n\nregister('wm-livetable', (): IBuildTaskDef => {\n return {\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n return `<${tagName} wmLiveTable ${getAttrMarkup(attrs)} dialogid=\"${counter}\">`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('liveform_dialog_id', shared.get('counter'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'p';\nconst idGen = new IDGenerator('wm_message');\n\nregister('wm-message', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmMessage tabindex=\"0\" #${counter}=\"wmMessage\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ol';\n\nregister('wm-breadcrumb', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmBreadcrumb ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-menu', (): IBuildTaskDef => {\n return {\n pre: attrs => {\n const menuWidth = attrs.get(\"width\");\n let styleBinding = '';\n if(menuWidth){\n const units = ['%', 'px'];\n const hasUnit = units.some(unit => menuWidth.includes(unit));\n if(hasUnit){\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}'}\"`;\n }\n else{\n styleBinding = `[ngStyle]=\"{'width': '${menuWidth}px'}\"`;\n }\n\n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`\n } \n else{ \n return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)}>`\n }\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'li';\n\nregister('wm-nav-item', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavItem role=\"listitem\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'ul';\n\nregister('wm-nav', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNav data-element-type=\"wmNav\" data-role=\"page-header\" role=\"list\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmNavbar data-element-type=\"wmNavbar\" role=\"navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'wm-popover';\n\nregister('wm-popover', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n pre: (attrs: Map<string, string>, shared: Map<string, any>, table) => {\n const contentSource = attrs.get('contentsource');\n let popoverTemplate;\n if (contentSource !== 'inline') {\n const content = attrs.get('content');\n const bindContent = attrs.get('content.bind');\n\n let contentMarkup = '';\n\n if (content) {\n contentMarkup = `content=\"${content}\"`;\n } else if (bindContent) {\n contentMarkup = `content.bind=\"${bindContent}\"`;\n }\n\n popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;\n shared.set('hasPopoverContent', true);\n }\n\n let markup = `<${tagName} wmPopover ${getAttrMarkup(attrs)}>`;\n const contextAttrs = table ? `let-row=\"row\"` : ``;\n\n markup += `<ng-template ${contextAttrs}><div tabindex=\"0\" class=\"popover-start sr-only\" aria-label=\"\">popover content start</div>`;\n\n // todo keyboard navigation - tab\n if (popoverTemplate) {\n markup += `${popoverTemplate ? popoverTemplate : ''}`;\n }\n\n return markup;\n },\n post: (attrs: Map<string, string>, shared: Map<string, any>) => {\n let markup = '';\n if (shared.get('hasPopoverContent')) {\n markup += `</div>`;\n }\n\n return `${markup}<div tabindex=\"0\" class=\"popover-end sr-only\" aria-label=\"\">popover content ended</div></ng-template></${tagName}>`;\n }\n };\n});\n\nexport default () => {};\n","import {Element, ParseSourceSpan, Text} from '@angular/compiler';\n\nimport {IDGenerator} from '@wm/core';\nimport {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {forEach} from \"lodash-es\";\n\nconst tagName = 'div';\n\nconst findChild = (node: Element, childName: string): Element => {\n const child = node && node.children.find(e => (e instanceof Element && (e as Element).name === childName));\n return child as Element;\n};\n\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst getElementNode = (name, node) => {\n let elementNode;\n if (!node) {\n return;\n }\n forEach(node.children, (child) => {\n if (child instanceof Element) {\n if ((child as Element).name === name) {\n elementNode = child;\n } else if (child.children) {\n elementNode = getElementNode(name, child);\n }\n }\n return !elementNode;\n });\n return elementNode;\n};\n\nconst noSpan = ({} as ParseSourceSpan);\nconst idGen = new IDGenerator('wm_page');\n\nregister('wm-page', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n let pageContentNode = findChild(findChild(node, 'wm-content'), 'wm-page-content');\n if (!pageContentNode) {\n pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));\n }\n if (pageContentNode) {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compilePageContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(pageContentNode.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n pageContentNode.children = [conditionalNode];\n }\n },\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmPage #${counter}=\"wmPage\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.arialabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {IDGenerator} from '@wm/core';\nimport {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\n\nconst tagName = 'div';\n\nconst idGen = new IDGenerator('wm_layout');\n\nregister('wm-layout', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLayout #${counter}=\"wmLayout\" data-role=\"pageContainer\" [attr.aria-label]=\"${counter}.arialabel\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'router-outlet';\n\nregister('wm-router-outlet', (): IBuildTaskDef => {\n return {\n pre: attrs => `<div wmRouterOutlet name=\"wmRouterOutlet\" ${getAttrMarkup(attrs)}><${tagName} (activate)=\"onActivate($event)\">`,\n post: () => `</${tagName}></div>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'nav';\n\nregister('wm-pagination', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmPagination data-identifier=\"pagination\" aria-label=\"Page navigation\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'main';\n\nregister('wm-content', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmContent data-role=\"page-content\" role=\"main\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'footer';\nconst idGen = new IDGenerator('wm_footer');\n\nregister('wm-footer', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmFooter #${counter}=\"wmFooter\" partialContainer data-role=\"page-footer\" role=\"contentinfo\" [attr.aria-label]=\"${counter}.arialabel || 'Page footer'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'header';\nconst idGen = new IDGenerator('wm_header');\n\nregister('wm-header', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmHeader #${counter}=\"wmHeader\" partialContainer data-role=\"page-header\" role=\"banner\" [attr.aria-label]=\"${counter}.arialabel || 'Page header'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_left_panel');\n\nregister('wm-left-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmLeftPanel #${counter}=\"wmLeftPanel\" partialContainer data-role=\"page-left-panel\" [attr.aria-label]=\"${counter}.arialabel || 'Left navigation panel'\" wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'header';\n\nregister('wm-mobile-navbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileNavbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'aside';\nconst idGen = new IDGenerator('wm_right_panel');\n\nregister('wm-right-panel', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmRightPanel #${counter}=\"wmRightPanel\" partialContainer data-role=\"page-right-panel\" role=\"complementary\" [attr.aria-label]=\"${counter}.arialabel || 'Right navigation panel'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { Element, ParseSourceSpan, Text } from \"@angular/compiler\";\n\nconst tagName = 'div';\n\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst noSpan = ({} as ParseSourceSpan);\n\nregister('wm-page-content', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n for(let attr of node.attrs) {\n if(attr.name === 'spa' && attr.value === 'true') {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compilePageContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(node.children);\n conditionalNode.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n node.children = [conditionalNode];\n break;\n }\n }\n },\n pre: attrs => `<${tagName} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll=\"${attrs.get('smoothscroll') || 'false'}\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`,\n imports: (attrs) => {\n if (attrs.get('spa')) {\n return ['spa-page-content']\n }\n return [];\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-mobile-tabbar', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmMobileTabbar ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import {getAttrMarkup, IBuildTaskDef, register} from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'section';\nconst idGen = new IDGenerator('wm_top_nav');\n\nregister('wm-top-nav', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid()\n return `<${tagName} wmTopNav #${counter}=\"wmTopNav\" partialContainer data-role=\"page-topnav\" role=\"navigation\" [attr.aria-label]=\"${counter}.arialabel || 'Second level navigation'\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element, ParseSourceSpan, Text } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'section';\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nregister('wm-partial', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compileContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(node.children);\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPartial data-role=\"partial\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-param', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmParam hidden ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, register } from '@wm/transpiler';\n\nconst tagName = 'section';\n\nregister('wm-prefab', () => {\n return {\n pre: attrs => `<${tagName} wmPrefab redrawable data-role=\"prefab\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Element, ParseSourceSpan, Text } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\n\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst tagName = 'div';\n\nregister('wm-prefab-container', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n const ifOpenText = new Text('@if (compileContent) {', null, undefined, undefined);\n conditionalNode.children.push(ifOpenText);\n conditionalNode.children = conditionalNode.children.concat(node.children);\n const ifCloseText = new Text('}', null, undefined, undefined);\n conditionalNode.children.push(ifCloseText);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmPrefabContainer ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} name=\"${attrs.get('name') || attrs.get('key')}\" wmTableAction ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-table-column-group', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, Text } from '@angular/compiler';\n\nimport { DataType, FormWidgetType, getFormWidgetTemplate, getRequiredFormWidget, IDGenerator, isDateTimeType, checkIsCustomPipeExpression } from '@wm/core';\nimport {getAttrMarkup, getDataSource, IBuildTaskDef, ImportDef, register} from '@wm/transpiler';\n\nimport { EDIT_MODE, getDataTableFilterWidget, getEditModeWidget } from '../../../utils/utils';\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('data_table_form_');\nconst formWidgets = new Set([\n 'wm-text',\n 'wm-textarea',\n 'wm-checkbox',\n 'wm-slider',\n 'wm-currency',\n 'wm-switch',\n 'wm-select',\n 'wm-checkboxset',\n 'wm-radioset',\n 'wm-date',\n 'wm-time',\n 'wm-timestamp',\n 'wm-rating',\n 'wm-datetime',\n 'wm-search',\n 'wm-chips',\n 'wm-colorpicker'\n]);\n\n// Add ngModelOptions standalone true as inner custom form widgets will be not part of table ngform\nconst addNgModelStandalone = (children = []) => {\n let formControlAttr = [];\n children.forEach(childNode => {\n if (formWidgets.has(childNode.name)) {\n // angular build is failing when formControlName is undefined for checkbox and mgModelOptions attr is present\n if (childNode.name === 'wm-checkbox') {\n formControlAttr = childNode.attrs.filter(function(attr) {\n return attr.name === 'formControlName';\n });\n if (formControlAttr.length) {\n return;\n }\n }\n childNode.attrs.push(new Attribute('[ngModelOptions]', '{standalone: true}', <any>1, <any>1, <any>1, undefined, undefined));\n }\n addNgModelStandalone(childNode.children);\n });\n};\n\n// get the filter template (widget and filter menu) to be displayed in filter row\nconst getFilterTemplate = (attrs, pCounter) => {\n const widget = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n const fieldName = attrs.get('binding');\n const type = attrs.get('type') || 'string';\n let datasourceBinding, submitEventBinding;\n const datasetAttr = attrs.get('filterdataset.bind');\n // when multicolumn is selected and filterwidget as autocomplete is assigned to dataset.\n if (attrs.get('filterwidget') === 'autocomplete') {\n if (datasetAttr) {\n const binddatasource = getDataSource(datasetAttr);\n datasourceBinding = `dataset.bind=\"${datasetAttr}\" datasource.bind=\"${binddatasource}\"`;\n }\n submitEventBinding = `submit.event=\"changeFn('${fieldName}')\"`;\n }\n const innerTmpl = `#filterWidget formControlName=\"${fieldName + '_filter'}\" ${datasourceBinding} ${submitEventBinding} change.event=\"changeFn('${fieldName}')\"\n disabled.bind=\"isDisabled('${fieldName}')\"`;\n const options = {inputType: 'filterinputtype'} ;\n const widgetTmpl = `${getFormWidgetTemplate(widget, innerTmpl, attrs, options)}`;\n\n return `<ng-template #filterTmpl let-changeFn=\"changeFn\" let-isDisabled=\"isDisabled\">\n <div class=\"input-group ${widget}\" data-col-identifier=\"${fieldName}\">\n ${widgetTmpl}\n @if(${pCounter}.showClearIcon('${fieldName}')){\n <span class=\"input-group-addon filter-clear-icon\" >\n <button class=\"btn-transparent btn app-button\" aria-label=\"Clear button\" type=\"button\" (click)=\"${pCounter}.clearRowFilter('${fieldName}')\">\n <i class=\"app-icon wi wi-clear\" aria-hidden=\"true\"></i>\n </button>\n </span>\n }\n <span class=\"input-group-addon\" dropdown container=\"body\" (onShown)=\"${pCounter}.adjustContainer('${fieldName}');\">\n <button class=\"btn-transparent btn app-button\" type=\"button\" dropdownToggle><i class=\"app-icon wi wi-filter-list\"></i></button>\n <ul class=\"matchmode-dropdown dropdown-menu\" *dropdownMenu>\n @for (matchMode of ${pCounter}.matchModeTypesMap['${type}']; track matchMode) {\n <li [ngClass]=\"{active: matchMode === (${pCounter}.rowFilter['${fieldName}'].matchMode || ${pCounter}.matchModeTypesMap['${type}'][0])}\">\n <a href=\"javascript:void(0);\" (click)=\"${pCounter}.onFilterConditionSelect('${fieldName}', matchMode)\" [innerText]=\"${pCounter}.matchModeMsgs[matchMode]\"></a>\n </li>\n }\n </ul>\n </span>\n </div></ng-template>`;\n};\n\nconst getEventsTmpl = attrs => {\n let tmpl = '';\n attrs.forEach((val, key) => {\n if (key.endsWith('.event')) {\n tmpl += `${key}=\"${val}\" `;\n }\n });\n return tmpl;\n};\n\n// Generate inline edit properties template. Properties requiring row instance are generated here.\nconst getInlineEditRowPropsTmpl = attrs => {\n const propAttrs = new Map();\n const props = ['disabled', 'disabled.bind'];\n props.forEach(prop => {\n if (attrs.get(prop)) {\n propAttrs.set(prop, attrs.get(prop));\n attrs.delete(prop);\n }\n });\n return getAttrMarkup(propAttrs);\n};\n\n// get the inline widget template\nconst getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter?) => {\n const options: any = {};\n const fieldName = attrs.get('binding');\n const widget = attrs.get('edit-widget-type') || getEditModeWidget({\n 'type': attrs.get('type'),\n 'related-entity-name': attrs.get('related-entity-name'),\n 'primary-key': attrs.get('primary-key')\n });\n let widgetRef = '';\n let formControl = '';\n let wmFormWidget = '';\n if (widget === FormWidgetType.UPLOAD) {\n options.uploadProps = {\n formName: idGen.nextUid(),\n name: fieldName\n };\n options.counter = pCounter;\n } else {\n widgetRef = isNewRow ? '#inlineWidgetNew' : '#inlineWidget';\n formControl = isNewRow ? `formControlName=\"${fieldName}_new\"` : `formControlName=\"${fieldName}\"`;\n wmFormWidget = 'wmFormWidget';\n }\n options.inputType = 'editinputtype';\n const tmplRef = isNewRow ? '#inlineWidgetTmplNew' : '#inlineWidgetTmpl';\n const eventsTmpl = widget === FormWidgetType.UPLOAD ? '' : getEventsTmpl(attrs);\n const rowPropsTl = getInlineEditRowPropsTmpl(attrs);\n const innerTmpl = `${widgetRef} ${wmFormWidget} key=\"${fieldName}\" data-field-name=\"${fieldName}\" ${formControl} ${eventsTmpl} ${rowPropsTl}`;\n const widgetTmpl = getFormWidgetTemplate(widget, innerTmpl, attrs, options);\n const pendingSpinnerStatus = isNewRow ? 'getPendingSpinnerStatusNew' : 'getPendingSpinnerStatus';\n const validationErrorTmpl = getValiationErrorTemplate(errorstyle);\n /* This element with error message is used to run Automation checks if any error message is present */\n const errorMsgElementForAutomation = '@if(getValidationMessage()){<span class=\"sr-only\" >{{getValidationMessage()}}</span>}';\n\n return `<ng-template ${tmplRef} let-row=\"row\" let-getControl=\"getControl\" let-getValidationMessage=\"getValidationMessage\" let-${pendingSpinnerStatus}=\"${pendingSpinnerStatus}\">\n <div data-col-identifier=\"${fieldName}\" >\n ${widgetTmpl}\n ${validationErrorTmpl}\n @if(${pendingSpinnerStatus}()){\n <div class=\"overlay\"><span aria-hidden=\"true\" class=\"form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback\"></span></div>\n }\n ${errorMsgElementForAutomation}\n </div>\n </ng-template>`;\n};\n\nconst getValiationErrorTemplate = (errorTmplType) => {\n let validationErrorTmpl = '';\n switch (errorTmplType) {\n case 'bottom':\n validationErrorTmpl = `@if(getValidationMessage() && getControl() && getControl().invalid && getControl().touched){<span class=\"help-block text-danger\" >{{getValidationMessage()}}</span>}`;\n break;\n case 'hover':\n default:\n // added app-label class as in foundation.css the default class(app-label) has been written for label tag\n validationErrorTmpl = `@if(getValidationMessage() && getControl() && getControl().invalid && getControl().touched){<span placement=\"top\" container=\"body\" tooltip=\"{{getValidationMessage()}}\" class=\"app-label text-danger wi wi-error\">\n </span>}`;\n }\n return validationErrorTmpl;\n}\n\nconst getFormatExpression = (attrs) => {\n const columnValue = `row.getProperty('${attrs.get('binding')}')`;\n let formatPattern = attrs.get('custompipeformat') || attrs.get('formatpattern');\n let colExpression = '';\n // For date time data types, if format pattern is not applied, Apply default toDate format\n if (isDateTimeType(attrs.get('type')) && (!formatPattern || formatPattern === 'None')) {\n attrs.set('formatpattern', 'toDate');\n attrs.delete('datepattern');\n formatPattern = 'toDate';\n }\n switch (formatPattern) {\n case 'toDate':\n colExpression = `{{${columnValue} | toDate: colDef.datepattern}}`;\n break;\n case 'toCurrency':\n if (attrs.get('currencypattern')) {\n colExpression = `{{${columnValue} | toCurrency: '${attrs.get('currencypattern')}`;\n\n if (attrs.get('fractionsize')) {\n colExpression += `': ${attrs.get('fractionsize')}}}`;\n } else {\n colExpression += `'}}`;\n }\n }\n break;\n case 'numberToString':\n if (attrs.get('fractionsize')) {\n colExpression = `{{${columnValue} | numberToString: '${attrs.get('fractionsize')}'}}`;\n }\n break;\n case 'stringToNumber':\n colExpression = `{{${columnValue} | stringToNumber}}`;\n break;\n case 'timeFromNow':\n colExpression = `{{${columnValue} | timeFromNow}}`;\n break;\n case 'prefix':\n if (attrs.get('prefix')) {\n colExpression = `{{${columnValue} | prefix: '${attrs.get('prefix')}'}}`;\n }\n break;\n case 'suffix':\n if (attrs.get('suffix')) {\n colExpression = `{{${columnValue} | suffix: '${attrs.get('suffix')}'}}`;\n }\n break;\n default:\n if(checkIsCustomPipeExpression(formatPattern)){\n colExpression = `{{${columnValue} | ${formatPattern} : ${`row`}}}` ;\n }\n\n break;\n }\n return colExpression;\n};\n\nregister('wm-table-column', (): IBuildTaskDef => {\n return {\n requires: ['wm-table'],\n template: (node: Element, shared) => {\n if (node.children.length) {\n // If node has children, but an empty text node dont generate custom expression\n if (node.children.length === 1 && node.children[0] instanceof Text && (node.children[0] as Text).value.trim().length === 0) {\n return;\n }\n shared.set('customExpression', true);\n addNgModelStandalone(node.children);\n }\n },\n pre: (attrs, shared, parentTable) => {\n let rowFilterTmpl = '';\n let inlineEditTmpl = '';\n let inlineNewEditTmpl = '';\n let parentForm = '';\n if (parentTable) {\n const pCounter = parentTable.get('table_reference');\n rowFilterTmpl = (parentTable.get('filtermode') === 'multicolumn' && attrs.get('searchable') !== 'false') ? getFilterTemplate(attrs, pCounter) : '';\n const editMode = parentTable.get('editmode');\n const isInlineEdit = (editMode !== EDIT_MODE.DIALOG && editMode !== EDIT_MODE.FORM && attrs.get('readonly') !== 'true');\n inlineEditTmpl = isInlineEdit ? getInlineEditWidgetTmpl(attrs, false, parentTable.get('errorstyle'), pCounter) : '';\n inlineNewEditTmpl = isInlineEdit && editMode === EDIT_MODE.QUICK_EDIT && parentTable.get('shownewrow') !== 'false' ? getInlineEditWidgetTmpl(attrs, true, attrs.get('errorstyle')) : '';\n parentForm = ` [formGroup]=\"${pCounter}.ngform\" `;\n }\n const formatPattern = attrs.get('formatpattern');\n const customExpr = `<ng-template #customExprTmpl let-row=\"row\" let-colDef=\"colDef\" let-editRow=\"editRow\" let-deleteRow=\"deleteRow\" let-addNewRow=\"addNewRow\">`;\n let customExprTmpl = '';\n let formatExprTmpl = '';\n\n if (shared.get('customExpression')) {\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\">`;\n } else if ((formatPattern && formatPattern !== 'None') || isDateTimeType(attrs.get('type'))) {\n formatExprTmpl = getFormatExpression(attrs);\n if (formatExprTmpl) {\n shared.set('customExpression', true);\n attrs.set('customExpression', 'true');\n customExprTmpl = `${customExpr}<div data-col-identifier=\"${attrs.get('binding')}\" title=\"${formatExprTmpl}\">${formatExprTmpl}`;\n }\n }\n\n return `<${tagName} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>\n ${rowFilterTmpl}\n ${inlineEditTmpl}\n ${inlineNewEditTmpl}\n ${customExprTmpl}`;\n },\n post: (attrs, shared) => {\n let customExprTmpl = '';\n\n if (shared.get('customExpression')) {\n customExprTmpl = `</div></ng-template>`;\n }\n return `${customExprTmpl}</${tagName}>`;\n },\n imports: (attrs: Map<String, String>): string[] => {\n const editWidgetType = attrs.get('edit-widget-type');\n const filterWidgetType = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);\n\n const formatpattern = attrs.get('custompipeformat') || attrs.get('formatpattern');\n let pipeImports = [];\n if (!!formatpattern) {\n if(checkIsCustomPipeExpression(formatpattern)){\n pipeImports.push('custom');\n } else {\n pipeImports.push(formatpattern);\n }\n }\n return [getRequiredFormWidget(editWidgetType), getRequiredFormWidget(filterWidgetType), 'wm-table', ...pipeImports];\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getRowExpansionActionTmpl = (attrs) => {\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n const title = attrs.get('expandtitle') || attrs.get('display-name') ||'Collapse/Expand';\n return `<ng-template #rowExpansionActionTmpl let-row=\"row\">\n <${tag} ${directive}\n title=\"${title}\"\n ${getRowActionAttrs(attrs)}\n class=\"${attrs.get('class')} row-expansion-button\"\n iconclass=\"${attrs.get('collapseicon')}\"\n type=\"button\" aria-label=\"${title}\"></${tag}>\n </ng-template>`;\n};\n\nregister('wm-table-row', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n return `<${tagName} wmTableRow ${getAttrMarkup(attrs)}>\n ${getRowExpansionActionTmpl(attrs)}\n <ng-template #rowExpansionTmpl let-row=\"row\" let-rowDef=\"rowDef\" let-containerLoad=\"containerLoad\">\n <div wmContainer partialContainer content.bind=\"rowDef.content\" load.event=\"containerLoad(widget)\"\n [ngStyle]=\"{'height': rowDef.height, 'overflow-y': 'auto'}\">\n @for (param of rowDef.partialParams | keyvalue; track param) {\n <div wmParam hidden\n [name]=\"param.key\" [value]=\"param.value\"></div>\n }`;\n },\n post: () => `</div></ng-template></${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport { getRowActionAttrs } from '@wm/core';\n\nconst tagName = 'div';\n\nconst getSaveCancelTemplate = () => {\n 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=\"{{appLocale?.LABEL_SAVE || 'Save'}}\">\n <i class=\"wi wi-done\" aria-hidden=\"true\"></i>\n </button>\n <button type=\"button\" aria-label=\"Cancel edit icon\" class=\"cancel row-action-button btn app-button btn-transparent cancel-edit-row-button hidden\" title=\"{{appLocale?.LABEL_CANCEL || 'Cancel'}}\">\n <i class=\"wi wi-cancel\" aria-hidden=\"true\"></i>\n </button>`;\n};\n\n// get the inline widget template\nconst getRowActionTmpl = (attrs) => {\n const action = attrs.get('action');\n const actionTmpl = action ? ` click.event.delayed=\"${action}\" ` : '';\n const saveCancelTmpl = action && action.includes('editRow(') ? getSaveCancelTemplate() : '';\n const btnClass = action ? (action.includes('editRow(') ? 'edit edit-row-button' :\n (action.includes('deleteRow(') ? 'delete delete-row-button' : '')) : '';\n const tabIndex = attrs.get('tabindex') ? `tabindex=\"${attrs.get('tabindex')}\"` : '';\n const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';\n const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';\n return `<ng-template #rowActionTmpl let-row=\"row\">\n <${tag} ${directive} data-action-key=\"${attrs.get('key')}\"\n ${getRowActionAttrs(attrs)}\n class=\"row-action row-action-button ${attrs.get('class')} ${btnClass}\"\n iconclass=\"${attrs.get('iconclass')}\"\n ${actionTmpl}\n ${tabIndex}\n type=\"button\"></${tag}>\n ${saveCancelTmpl}\n </ng-template>`;\n};\n\nregister('wm-table-row-action', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmTableRowAction ${getAttrMarkup(attrs)}>\n ${getRowActionTmpl(attrs)}`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element } from '@angular/compiler';\n\nimport { IDGenerator, updateTemplateAttrs } from '@wm/core';\nimport { getAttrMarkup, getBoundToExpr, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst dataSetKey = 'dataset';\nconst idGen = new IDGenerator('table_');\nlet columnIndex = 0;\n\n/**\n * This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order\n * as specified in the configuration.\n * Scenario: ordering the columns when accessrole is specified on column.\n *\n * headerIndex: ID | Name | Street | ==> top level header (ID has index 0, Name 1, Street 2)\n * index: ---- | fname | lname | --- | ==> sub level header ( ID 0, fname 1, lname 2, Street 3)\n * fname will have headerIndex as 1 and colIndex as 1. lname will have headerIndex as 1 and columnIndex as 2.\n * If suppose we have a group in the sub-level-header, then col index will be treated as the header index.\n *\n */\nfunction assignColumnIndex(node, parentIndex?: number) {\n let headerIndex = 0;\n node.forEach((childNode) => {\n const nodeName = (<any>childNode).name;\n const newheaderIndex = parentIndex !== undefined ? parentIndex : headerIndex;\n if (nodeName === 'wm-table-column' || nodeName === 'wm-table-column-group') {\n (childNode as any).attrs.push(new Attribute('index', '' + columnIndex, <any>1, <any>1, <any>1, undefined, undefined));\n (childNode as any).attrs.push(new Attribute('headerIndex', '' + newheaderIndex, <any>1, <any>1, <any>1, undefined, undefined));\n if (nodeName === 'wm-table-column-group') {\n assignColumnIndex(childNode.children, headerIndex);\n }\n columnIndex++;\n headerIndex++;\n }\n });\n}\n\nregister('wm-table', (): IBuildTaskDef => {\n return {\n template: (node: Element, shared) => {\n // If table does not have child columns, set isdynamictable to true\n if (node.children.length) {\n const isColumnsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-column' || (<any>childNode).name === 'wm-table-column-group';\n });\n assignColumnIndex(node.children);\n shared.set('isdynamictable', isColumnsPresent ? 'false' : 'true');\n // If table have row expansion enabled, set isrowexpansionenabled to true\n const isRowsPresent = node.children.some(childNode => {\n return (<any>childNode).name === 'wm-table-row';\n });\n shared.set('isrowexpansionenabled', isRowsPresent ? 'true' : 'false');\n } else {\n shared.set('isdynamictable', 'true');\n }\n\n const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);\n const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');\n\n if (!datasetAttr) {\n return;\n }\n const boundExpr = getBoundToExpr(datasetAttr.value);\n\n if (!boundExpr) {\n return;\n }\n updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');\n },\n pre: (attrs, shared) => {\n const counter = idGen.nextUid();\n shared.set('counter', counter);\n attrs.set('isdynamictable', shared.get('isdynamictable'));\n attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));\n attrs.set('table_reference', counter);\n return `<${tagName} wmTable=\"${counter}\" wmTableFilterSort wmTableCUD #${counter} data-identifier=\"table\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set('table_reference', shared.get('counter'));\n provider.set('filtermode', attrs.get('filtermode'));\n provider.set('errorstyle', attrs.get('errorstyle'));\n provider.set('editmode', attrs.get('editmode'));\n provider.set('shownewrow', attrs.get('shownewrow'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-video', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmVideo ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\nconst SPACING_KEY = 'parentLinearLayout.spacing';\nregister('wm-linearlayout', (): IBuildTaskDef => {\n return {\n requires: ['wm-linearlayout'],\n pre: (attrs, shared, provider) => {\n let spacing = attrs.get('spacing');\n attrs.set('spacing',\n (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);\n return `<${tagName} wmLinearLayout ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`,\n provide: (attrs, shared) => {\n const provider = new Map();\n provider.set(SPACING_KEY, attrs.get('spacing'));\n return provider;\n }\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'div';\n\nregister('wm-linearlayoutitem', (): IBuildTaskDef => {\n return {\n pre: attrs => `<${tagName} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\nimport {IDGenerator} from \"@wm/core\";\n\nconst tagName = 'div';\nconst idGen = new IDGenerator('wm_custom_widget');\n\nregister('wm-custom-widget', (): IBuildTaskDef => {\n return {\n pre: (attrs) => {\n const counter = idGen.nextUid();\n return `<${tagName} wmWidgetContainer customWidgetContainer #${counter}=\"wmWidgetContainer\" ${getAttrMarkup(attrs)}>`;\n },\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","import { Attribute, Element, ParseSourceSpan } from '@angular/compiler';\nimport { getAttrMarkup, IBuildTaskDef, register } from '@wm/transpiler';\n\nconst tagName = 'section';\nconst noSpan = ({} as ParseSourceSpan);\nconst createElement = name => {\n return new Element(name, [], [], [], false, noSpan, noSpan, noSpan, false);\n};\n\nconst addAtrribute = (node: Element, name: string, value: string) => {\n const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);\n node.attrs.push(attr);\n};\nregister('wm-custom-widget-container', (): IBuildTaskDef => {\n return {\n template: (node: Element) => {\n const conditionalNode = createElement('ng-container');\n // addAtrribute(conditionalNode, '*ngIf', 'compileContent');\n conditionalNode.children = conditionalNode.children.concat(node.children);\n node.children.length = 0;\n node.children.push(conditionalNode);\n },\n pre: attrs => `<${tagName} wmCustomWidget data-role=\"widget\" ${getAttrMarkup(attrs)}>`,\n post: () => `</${tagName}>`\n };\n});\n\nexport default () => {};\n","export * as carouselBuild from './advanced/carousel/carousel.build';\nexport * as carouselTemplateBuild from './advanced/carousel/carousel-template/carousel-template.build';\nexport * as loginBuild from './advanced/login/login.build';\nexport * as marqueeBuild from './advanced/marquee/marquee.build';\nexport * as anchorBuild from './basic/anchor/anchor.build';\nexport * as audioBuild from './basic/audio/audio.build';\nexport * as htmlBuild from './basic/html/html.build';\nexport * as iconBuild from './basic/icon/icon.build';\nexport * as iframeBuild from './basic/iframe/iframe.build';\nexport * as labelBuild from './basic/label/label.build';\nexport * as pictureBuild from './basic/picture/picture.build';\nexport * as spinnerBuild from './basic/spinner/spinner.build';\nexport * as progressBarBuild from './basic/progress/progress-bar/progress-bar.build';\nexport * as progressCircleBuild from './basic/progress/progress-circle/progress-circle.build';\nexport * as rteBuild from './basic/rich-text-editor/rich-text-editor.build';\nexport * as searchBuild from './basic/search/search.build';\nexport * as treeBuild from './basic/tree/tree.build';\nexport * as cardBuild from './data/card/card.build';\nexport * as cardContentBuild from './data/card/card-content/card-content.build';\nexport * as cardActionsBuild from './data/card/card-actions/card-actions.build';\nexport * as cardFooterBuild from './data/card/card-footer/card-footer.build';\nexport * as chartBuild from './chart/chart.build';\nexport * as accordionBuild from './containers/accordion/accordion.build';\nexport * as accordionPaneBuild from './containers/accordion/accordion-pane/accordion-pane.build';\nexport * as containerBuild from './containers/container.build';\nexport * as lgcolBuild from './containers/layout-grid/layout-grid-column/layout-grid-column.build';\nexport * as lgrowBuild from './containers/layout-grid/layout-grid-row/layout-grid-row.build';\nexport * as lgBuild from './containers/layout-grid/layout-grid.build';\nexport * as panelBuild from './containers/panel/panel.build';\nexport * as segControlBuild from './containers/segmented-control/segmented-control.build';\nexport * as segContentBuild from './containers/segmented-control/segment-content/segment-content.build';\nexport * as repeatTemplateBuild from './containers/repeat-template.build';\nexport * as tabsBuild from './containers/tabs/tabs.build';\nexport * as tabPaneBuild from './containers/tabs/tab-pane/tab-pane.build';\nexport * as tileBuild from './containers/tile/tile.build';\nexport * as wizardBuild from './containers/wizard/wizard.build';\nexport * as wizardStepBuild from './containers/wizard/wizard-step/wizard-step.build';\nexport * as wizardActionBuild from './containers/wizard/wizard-action/wizard-action.build';\nexport * as barcodeScannerBuild from './device/barcode-scanner/barcode-scanner.build';\nexport * as cameraBuild from './device/camera/camera.build';\nexport * as alertDlgBuild from './dialogs/alert-dialog/alert-dialog.build';\nexport * as confirmDlgBuild from './dialogs/confirm-dialog/confirm-dialog.build';\nexport * as dlgFooterBuild from './dialogs/base/dialog-footer/dialog-footer.build';\nexport * as dlgBuild from './dialogs/design-dialog/dialog.build';\nexport * as iframeDlgBuild from './dialogs/iframe-dialog/iframe-dialog.build';\nexport * as loginDlgBuild from './dialogs/login-dialog/login-dialog.build';\nexport * as partialDlgBuild from './dialogs/partial-dialog/partial-dialog.build';\nexport * as formFieldBuild from './data/form/form-field/form-field.build';\nexport * as formActionBuild from './data/form/form-action/form-action.build';\nexport * as formBuild from './data/form/form.build';\nexport * as calendarBuild from './input/calendar/calendar.build';\nexport * as chipsBuild from './input/chips/chips.build';\nexport * as colorPickerBuild from './input/color-picker/color-picker.build';\nexport * as currencyBuild from './input/currency/currency.build';\nexport * as buttonGroupBuild from './input/default/button-group/button-group.build';\nexport * as buttonBuild from './input/default/button/button.build';\nexport * as checkboxBuild from './input/default/checkbox/checkbox.build';\nexport * as checkboxSetBuild from './input/default/checkboxset/checkboxset.build';\nexport * as compositeBuild from './input/default/composite/composite.build';\nexport * as numberBuild from './input/default/number/number.build';\nexport * as radiosetBuild from './input/default/radioset/radioset.build';\nexport * as selectBuild from './input/default/select/select.build';\nexport * as switchBuild from './input/default/switch/switch.build';\nexport * as textBuild from './input/default/text/text.build';\nexport * as textAreaBuild from './input/default/textarea/textarea.build';\nexport * as dateTimeBuild from './input/epoch/date-time/date-time.build';\nexport * as dateBuild from './input/epoch/date/date.build';\nexport * as timeBuild from './input/epoch/time/time.build';\nexport * as fileUploadBuild from './input/file-upload/file-upload.build';\nexport * as ratingBuild from './input/rating/rating.build';\nexport * as sliderBuild from './input/slider/slider.build';\nexport * as mediaListBuild from './data/media-list/media-list.build';\nexport * as mediaListItemBuild from './data/media-list/media-list-item/media-list-item.build';\nexport * as listBuild from './data/list/list.build';\nexport * as liveTableBuild from './data/live-table/live-table.build';\nexport * as messageBuild from './message/message.build';\nexport * as breadcrumbBuild from './navigation/breadcrumb/breadcrumb.build';\nexport * as menuBuild from './navigation/menu/menu.build';\nexport * as navItemBuild from './navigation/nav/nav-item/nav-item.build';\nexport * as navBuild from './navigation/nav/nav.build';\nexport * as navbarBuild from './navigation/navbar/navbar.build';\nexport * as popoverBuild from './navigation/popover/popover.build';\nexport * as pageBuild from './page/page.build';\nexport * as layoutBuild from './page/layout.build';\nexport * as routerOutletBuild from './page/router-outlet/router-outlet.build';\nexport * as paginationBuild from './data/pagination/pagination.build';\nexport * as contentBuild from './page/content/content.build';\nexport * as footerBuild from './page/footer/footer.build';\nexport * as headerBuild from './page/header/header.build';\nexport * as leftPanelBuild from './page/left-panel/left-panel.build';\nexport * as mobileNavbarBuild from './page/mobile-navbar/mobile-navbar.build';\nexport * as rightPanelBuild from './page/right-panel/right-panel.build';\nexport * as pageContentBuild from './page/page-content/page-content.build';\nexport * as tabBarBuild from './page/tab-bar/tab-bar.build';\nexport * as topNavBuild from './page/top-nav/top-nav.build';\nexport * as partialBuild from './partial/partial.build';\nexport * as partialParamBuild from './partial-param/partial-param.build';\nexport * as prefabBuild from './prefab/prefab.build';\nexport * as prefabContainerBuild from './prefab/prefab-container/prefab-container.build';\nexport * as tableActionBuild from './data/table/table-action/table-action.build';\nexport * as tableColumnGroupBuild from './data/table/table-column-group/table-column-group.build';\nexport * as tableColumnBuild from './data/table/table-column/table-column.build';\nexport * as tableRowBuild from './data/table/table-row/table-row.build';\nexport * as tableRowActionBuild from './data/table/table-row-action/table-row-action.build';\nexport * as tableBuild from './data/table/table.build';\nexport * as videoBuild from './basic/video/video.build';\nexport * as linearLayoutBuild from './containers/linear-layout/linear-layout.build';\nexport * as linearLayoutItemBuild from './containers/linear-layout/linear-layout-item/linear-layout-item.build';\nexport * as customWidgetBuild from './advanced/custom-widget-container/custom-widget-container.build';\nexport * as customWidgetWrapperBuild from './advanced/custom-widget-wrapper/custom-widget-wrapper.build';\nexport * from '@wm/transpiler';\nexport const initComponentsBuildTask = () => {};\n"],"mappings":";;;;;;;;;;;;;;;;AAIA,MAAM,kBAAkB;AACxB,MAAMA,eAAa;AACnB,MAAMC,WAAQ,IAAI,YAAY,kBAAkB;AAEhD,MAAM,qBAAoB,SAAQ,KAAK,MAAM,MAAK,SAAQ,KAAK,SAAS,UAAU,KAAK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