@wavemaker/app-ng-runtime 12.0.0-next.45032 → 12.0.0-next.45503
Sign up to get free protection for your applications and to get access to all the features.
- app-ng-runtime/build-task/bundles/index.umd.js +405 -451
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +2 -3
- app-ng-runtime/build-task/esm2022/public_api.mjs +1 -3
- app-ng-runtime/build-task/fesm2022/index.mjs +406 -454
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/public_api.d.ts +0 -2
- app-ng-runtime/components/base/bundles/index.umd.js +14 -62
- app-ng-runtime/components/base/components.module.d.ts +11 -12
- app-ng-runtime/components/base/esm2022/components.module.mjs +1 -5
- app-ng-runtime/components/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/components/base/esm2022/widgets/common/base/base.component.mjs +15 -25
- app-ng-runtime/components/base/fesm2022/index.mjs +15 -62
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/public_api.d.ts +0 -1
- app-ng-runtime/components/base/widgets/common/base/base.component.d.ts +5 -10
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +17 -0
- app-ng-runtime/components/containers/wizard/esm2022/wizard.component.mjs +18 -1
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs +17 -0
- app-ng-runtime/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +1 -0
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +1 -3
- app-ng-runtime/components/data/form/fesm2022/index.mjs +0 -2
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +11 -0
- app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +12 -1
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +11 -0
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +63 -39
- app-ng-runtime/components/input/default/checkboxset/checkboxset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +5 -8
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +5 -8
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +57 -29
- app-ng-runtime/components/input/default/esm2022/text/base/base-input.mjs +1 -4
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +4 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +63 -39
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/radioset/radioset.component.d.ts +0 -1
- app-ng-runtime/components/input/default/select/select.component.d.ts +2 -4
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +3 -2
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +3 -0
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +3 -0
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +31 -5
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +34 -8
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +32 -6
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +6 -2
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +6 -16
- app-ng-runtime/core/enums/enums.d.ts +1 -2
- app-ng-runtime/core/esm2022/enums/enums.mjs +1 -2
- app-ng-runtime/core/esm2022/types/types.mjs +1 -4
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +1 -6
- app-ng-runtime/core/esm2022/utils/utils.mjs +4 -3
- app-ng-runtime/core/fesm2022/index.mjs +4 -12
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/types/types.d.ts +1 -5
- app-ng-runtime/core/utils/utils.d.ts +1 -0
- app-ng-runtime/mobile/core/bundles/index.umd.js +18 -2
- app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +19 -3
- app-ng-runtime/mobile/core/fesm2022/index.mjs +18 -2
- app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +5 -288
- app-ng-runtime/runtime/base/esm2022/public_api.mjs +1 -2
- app-ng-runtime/runtime/base/esm2022/runtime-base.module.mjs +1 -6
- app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
- app-ng-runtime/runtime/base/esm2022/types/types.mjs +1 -2
- app-ng-runtime/runtime/base/fesm2022/index.mjs +4 -287
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/public_api.d.ts +0 -1
- app-ng-runtime/runtime/base/runtime-base.module.d.ts +8 -9
- app-ng-runtime/runtime/base/types/types.d.ts +1 -2
- app-ng-runtime/runtime/dynamic/bundles/index.umd.js +9 -27
- app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +2 -5
- app-ng-runtime/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +7 -23
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +7 -26
- app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +6 -3
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +2 -3
- app-ng-runtime/transpiler/bundles/index.umd.js +0 -5
- app-ng-runtime/transpiler/esm2022/build.mjs +1 -4
- app-ng-runtime/transpiler/esm2022/imports.mjs +1 -3
- app-ng-runtime/transpiler/fesm2022/index.mjs +0 -5
- app-ng-runtime/transpiler/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/build-task/advanced/custom-widget-container/custom-widget-container.build.d.ts +0 -2
- app-ng-runtime/build-task/advanced/custom-widget-wrapper/custom-widget-wrapper.build.d.ts +0 -2
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs +0 -15
- app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs +0 -26
- app-ng-runtime/components/advanced/custom/.npmignore +0 -2
- app-ng-runtime/components/advanced/custom/bundles/index.umd.js +0 -232
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget-container.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget-container/custom-widget.props.d.ts +0 -2
- app-ng-runtime/components/advanced/custom/custom-widget-prop.d.ts +0 -1
- app-ng-runtime/components/advanced/custom/custom-widget.directive.d.ts +0 -19
- app-ng-runtime/components/advanced/custom/custom-widget.module.d.ts +0 -10
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget-container.directive.mjs +0 -102
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-container/custom-widget.props.mjs +0 -12
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget-prop.mjs +0 -8
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.directive.mjs +0 -68
- app-ng-runtime/components/advanced/custom/esm2022/custom-widget.module.mjs +0 -32
- app-ng-runtime/components/advanced/custom/esm2022/index.mjs +0 -5
- app-ng-runtime/components/advanced/custom/esm2022/public_api.mjs +0 -4
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs +0 -215
- app-ng-runtime/components/advanced/custom/fesm2022/index.mjs.map +0 -1
- app-ng-runtime/components/advanced/custom/index.d.ts +0 -5
- app-ng-runtime/components/advanced/custom/package.json +0 -23
- app-ng-runtime/components/advanced/custom/public_api.d.ts +0 -3
- app-ng-runtime/components/base/esm2022/widgets/common/base/custom-widget-container.directive.mjs +0 -39
- app-ng-runtime/components/base/widgets/common/base/custom-widget-container.directive.d.ts +0 -14
- app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +0 -72
- app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +0 -288
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../projects/transpiler/src/imports.ts","../../../projects/transpiler/src/build.ts","../../../projects/transpiler/src/index.ts"],"sourcesContent":["import { ImportDef } from './build';\n\nconst NG_FORM_MODULE: ImportDef[] = [{from: '@angular/forms', name: 'FormsModule', as: 'ngFormsModule'}];\nconst NG_REACTIVE_FORM_MODULE: ImportDef[] = [{from: '@angular/forms', name: 'ReactiveFormsModule', as: 'ngReactiveFormsModule'}];\nconst NGX_BS_DATE_PICKER: ImportDef[] = [{from: 'ngx-bootstrap/datepicker', name: 'BsDatepickerModule', as: 'ngx_BsDatepickerModule'}];\nconst NGX_CAROUSEL_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/carousel', name: 'CarouselModule', as: 'ngxCarouselModule', forRoot: true}];\nconst NGX_COLOR_PICKER_MODULE: ImportDef[] = [{from: 'ngx-color-picker', name: 'ColorPickerModule', as: 'ngx_ColorPickerModule'}];\nconst NGX_DROP_DOWN_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/dropdown', name: 'BsDropdownModule', as: 'ngxBsDropdownModule', forRoot: true}];\nconst NGX_MODAL_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/modal', name: 'ModalModule', as: 'ngx_ModalModule'}];\nconst NGX_PAGINATION_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/pagination', name: 'PaginationModule', as: 'ngxPaginationModule', forRoot: true}];\nconst NGX_POPOVER_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/popover', name: 'PopoverModule', as: 'ngxPopoverModule', forRoot: true}];\nconst NGX_TIME_PICKER: ImportDef[] = [{from: 'ngx-bootstrap/timepicker', name: 'TimepickerModule', as: 'ngx_TimepickerModule', forRoot: true}];\nconst NGX_TOOL_TIP_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/tooltip', name: 'TooltipModule', as: 'ngxTooltipModule', forRoot: true}];\nconst NGX_TYPE_HEAD_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/typeahead', name: 'TypeaheadModule', as: 'ngxTypeaheadModule', forRoot: true}];\nconst PROGRESS_MODULE: ImportDef[] = [{from: '@wm/components/basic/progress', name: 'ProgressModule'}];\n\n\nconst MOBILE_BASIC_MODULE: ImportDef[] = [...PROGRESS_MODULE, {from: '@wm/mobile/components/basic', name: 'BasicModule', as: 'WM_MobileBasicModule', platformType: 'MOBILE'}];\nconst MOBILE_FILE_UPLOAD_MODULE: ImportDef[] = [{from: '@wm/mobile/components/input/file-upload', name: 'FileUploadModule', as: 'WM_MobileFileUploadModule', platformType: 'MOBILE'}];\nconst PAGE_MODULE: ImportDef[] = [{from: '@wm/components/page', name: 'PageModule'},\n {from: '@wm/mobile/components/page', name: 'PageModule', as: 'WM_MobilePageModule', platformType: 'MOBILE'}];\nconst BASIC_MODULE: ImportDef[] = [{from: '@wm/components/basic', name: 'BasicModule'}, ...MOBILE_BASIC_MODULE];\nconst INPUT_MODULE: ImportDef[] = [...NG_FORM_MODULE, {from: '@wm/components/input', name: 'InputModule'}];\nconst DIALOG_MODULE: ImportDef[] = [...NGX_MODAL_MODULE, ...INPUT_MODULE, {from: '@wm/components/dialogs', name: 'DialogModule'}];\nconst PAGINATION_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_PAGINATION_MODULE, {from: '@wm/components/data/pagination', name: 'PaginationModule'}];\nconst SEARCH_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_TYPE_HEAD_MODULE, {from: '@wm/components/basic/search', name: 'SearchModule'}];\n\nconst ACCORDION_MODULE: ImportDef[] = [{from: '@wm/components/containers/accordion', name: 'AccordionModule'}];\nconst LINEAR_LAYOUT_MODULE: ImportDef[] = [{from: '@wm/components/containers/linear-layout', name: 'LinearLayoutModule'}];\nconst ALERT_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/alert-dialog', name: 'AlertDialogModule'}];\nconst BARCODE_SCANNER_MODULE: ImportDef[] = [{from: '@wm/mobile/components/device/barcode-scanner', name: 'BarcodeScannerModule'}];\nconst MENU_MODULE: ImportDef[] = [...BASIC_MODULE, ...NGX_DROP_DOWN_MODULE, ...INPUT_MODULE, {from: '@wm/components/navigation/menu', name: 'MenuModule'}];\nconst BREAD_CRUMB_MODULE: ImportDef[] = [...MENU_MODULE, {from: '@wm/components/navigation/breadcrumb', name: 'BreadcrumbModule'}];\nconst CAMERA_MODULE: ImportDef[] = [{from: '@wm/mobile/components/device/camera', name: 'CameraModule'}];\nconst CALENDAR_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_BS_DATE_PICKER, {from: '@wm/components/input/calendar', name: 'CalendarModule'}];\nconst CAROUSEL_MODULE: ImportDef[] = [...NGX_CAROUSEL_MODULE, {from: '@wm/components/advanced/carousel', name: 'CarouselModule'}];\nconst CHART_MODULE: ImportDef[] = [...BASIC_MODULE, {from: '@wm/components/chart', name: 'ChartModule'}];\nconst CHIPS_MODULE: ImportDef[] = [...SEARCH_MODULE, {from: '@wm/components/input/chips', name: 'ChipsModule'}];\nconst COLOR_PICKER_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_COLOR_PICKER_MODULE, {from: '@wm/components/input/color-picker', name: 'ColorPickerModule'}];\nconst CONFIRM_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/confirm-dialog', name: 'ConfirmDialogModule'}];\nconst CONTENT_MODULE: ImportDef[] = [{from: '@wm/components/page', name: 'PageModule'}];\nconst CURRENCY_MODULE: ImportDef[] = [...INPUT_MODULE, {from: '@wm/components/input/currency', name: 'CurrencyModule'}];\nconst DESIGN_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/design-dialog', name: 'DesignDialogModule'}];\nconst EPOCH_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_BS_DATE_PICKER, ...NGX_TIME_PICKER, ...NGX_DROP_DOWN_MODULE, {from: '@wm/components/input/epoch', name: 'EpochModule'}];\nconst FILE_UPLOAD_MODULE: ImportDef[] = [...MOBILE_FILE_UPLOAD_MODULE, {from: '@wm/components/input/file-upload', name: 'FileUploadModule'}];\nconst FOOTER_MODULE: ImportDef[] = [{from: '@wm/components/page/footer', name: 'FooterModule'}];\nconst HEADER_MODULE: ImportDef[] = [{from: '@wm/components/page/header', name: 'HeaderModule'}];\nconst IFRAME_DIALOG_MODULE: ImportDef[] = [...BASIC_MODULE, ...DIALOG_MODULE, {from: '@wm/components/dialogs/iframe-dialog', name: 'IframeDialogModule'}];\nconst LAYOUT_GRID_MODULE: ImportDef[] = [{from: '@wm/components/containers/layout-grid', name: 'LayoutGridModule'}];\nconst LOGIN_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/login-dialog', name: 'LoginDialogModule'}];\nconst CARD_MODULE: ImportDef[] = [...NGX_DROP_DOWN_MODULE, ...MENU_MODULE, ...BASIC_MODULE, {from: '@wm/components/data/card', name: 'CardModule'}];\nconst MARQUEE_MODULE: ImportDef[] = [{from: '@wm/components/advanced/marquee', name: 'MarqueeModule'}];\nconst LEFT_PANEL_MODULE: ImportDef[] = [{from: '@wm/components/page/left-panel', name: 'LeftPanelModule'},\n {from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE'}];\nconst LIST_MODULE: ImportDef[] = [...PAGINATION_MODULE, ...INPUT_MODULE, {from: '@wm/components/data/list', name: 'ListModule'}];\nconst LOGIN_MODULE: ImportDef[] = [{from: '@wm/components/advanced/login', name: 'LoginModule'}];\nconst CUSTOM_MODULE: ImportDef[] = [{from: '@wm/components/advanced/custom', name: 'CustomModule'}];\nconst MOBILE_NAV_BAR_MODULE: ImportDef[] = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, {from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule'}];\nconst MEDIA_LIST_MODULE: ImportDef[] = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, {from: '@wm/mobile/components/data/media-list', name: 'MediaListModule'}];\nconst MOBILE_TAB_BAR_MODULE: ImportDef[] = [{from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule'}];\nconst NAVBAR_MODULE: ImportDef[] = [{from: '@wm/components/navigation/navbar', name: 'NavbarModule'}];\nconst POPOVER_MODULE: ImportDef[] = [...NGX_POPOVER_MODULE, ...BASIC_MODULE, {from: '@wm/components/navigation/popover', name: 'PopoverModule'}];\nconst PANEL_MODULE: ImportDef[] = [...MENU_MODULE, {from: '@wm/components/containers/panel', name: 'PanelModule'}];\nconst PARTIAL_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/partial-dialog', name: 'PartialDialogModule'}];\nconst PREFAB_MODULE: ImportDef[] = [{from: '@wm/components/prefab', name: 'PrefabModule'}];\nconst RATING_MODULE: ImportDef[] = [{from: '@wm/components/input/rating', name: 'RatingModule'}];\nconst RICH_TEXT_EDITOR_MODULE: ImportDef[] = [{from: '@wm/components/basic/rich-text-editor', name: 'RichTextEditorModule'}];\nconst RIGHT_PANEL_MODULE: ImportDef[] = [{from: '@wm/components/page/right-panel', name: 'RightPanelModule'}];\nconst SEGMENTED_CONTROL_MODULE: ImportDef[] = [{from: '@wm/mobile/components/containers/segmented-control', name: 'SegmentedControlModule'}];\nconst SLIDER_MODULE: ImportDef[] = [...NG_FORM_MODULE, {from: '@wm/components/input/slider', name: 'SliderModule'}];\nconst TABS_MODULE: ImportDef[] = [{from: '@wm/components/containers/tabs', name: 'TabsModule'}];\nconst TABLE_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NG_REACTIVE_FORM_MODULE, ...PAGINATION_MODULE, ...MENU_MODULE, ...BASIC_MODULE, ...INPUT_MODULE, ...NGX_TOOL_TIP_MODULE, ...LIST_MODULE, {from: '@wm/components/data/table', name: 'TableModule'}];\nconst TILE_MODULE: ImportDef[] = [{from: '@wm/components/containers/tile', name: 'TileModule'}];\nconst TOP_NAV_MODULE: ImportDef[] = [{from: '@wm/components/page/top-nav', name: 'TopNavModule'}];\nconst TREE_MODULE: ImportDef[] = [{from: '@wm/components/basic/tree', name: 'TreeModule'}];\nconst WIZARD_MODULE: ImportDef[] = [...NG_FORM_MODULE, {from: '@wm/components/containers/wizard', name: 'WizardModule'}];\n\n\nconst LIVE_TABLE_MODULE: ImportDef[] = [...TABLE_MODULE, {from: '@wm/components/data/live-table', name: 'LiveTableModule'}];\nconst FORM_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NG_REACTIVE_FORM_MODULE, ...BASIC_MODULE, ...INPUT_MODULE, ...PAGE_MODULE, ...DESIGN_DIALOG_MODULE, {from: '@wm/components/data/form', name: 'FormModule'}];\n\nexport const WIDGET_IMPORTS: Map<string, ImportDef[]> = new Map([\n ['wm-accordion', ACCORDION_MODULE],\n ['wm-accordionpane', ACCORDION_MODULE],\n ['wm-anchor', BASIC_MODULE],\n ['wm-alertdialog', ALERT_DIALOG_MODULE],\n ['wm-audio', BASIC_MODULE],\n ['wm-barcodescanner', BARCODE_SCANNER_MODULE],\n ['wm-button', INPUT_MODULE],\n ['wm-buttongroup', INPUT_MODULE],\n ['wm-breadcrumb', BREAD_CRUMB_MODULE],\n ['wm-camera', CAMERA_MODULE],\n ['wm-calendar', CALENDAR_MODULE],\n ['wm-card', CARD_MODULE],\n ['wm-card-actions', CARD_MODULE],\n ['wm-card-content', CARD_MODULE],\n ['wm-card-footer', CARD_MODULE],\n ['wm-carousel', CAROUSEL_MODULE],\n ['wm-carousel-content', CAROUSEL_MODULE],\n ['wm-carousel-template', CAROUSEL_MODULE],\n ['wm-chart', CHART_MODULE],\n ['wm-checkbox', INPUT_MODULE],\n ['wm-checkboxset', INPUT_MODULE],\n ['wm-chips', CHIPS_MODULE],\n ['wm-colorpicker', COLOR_PICKER_MODULE],\n ['wm-confirmdialog', CONFIRM_DIALOG_MODULE],\n ['wm-content', CONTENT_MODULE],\n ['wm-currency', CURRENCY_MODULE],\n ['wm-date', EPOCH_MODULE],\n ['wm-datetime', EPOCH_MODULE],\n ['wm-dialog', DESIGN_DIALOG_MODULE],\n ['wm-footer', FOOTER_MODULE],\n ['wm-form', FORM_MODULE],\n ['wm-form-action', FORM_MODULE],\n ['wm-form-field', FORM_MODULE],\n ['wm-filter-field', FORM_MODULE],\n ['wm-fileupload', FILE_UPLOAD_MODULE],\n ['wm-gridrow', LAYOUT_GRID_MODULE],\n ['wm-gridcolumn', LAYOUT_GRID_MODULE],\n ['wm-header', HEADER_MODULE],\n ['wm-html', BASIC_MODULE],\n ['wm-icon', BASIC_MODULE],\n ['wm-iframe', BASIC_MODULE],\n ['wm-iframedialog', IFRAME_DIALOG_MODULE],\n ['wm-label', BASIC_MODULE],\n ['wm-layoutgrid', LAYOUT_GRID_MODULE],\n ['wm-left-panel', LEFT_PANEL_MODULE],\n ['wm-linearlayout', LINEAR_LAYOUT_MODULE],\n ['wm-linearlayoutitem', LINEAR_LAYOUT_MODULE],\n ['wm-list', LIST_MODULE],\n ['wm-livetable', LIVE_TABLE_MODULE],\n ['wm-login', LOGIN_MODULE],\n ['wm-custom', CUSTOM_MODULE],\n ['wm-logindialog', LOGIN_DIALOG_MODULE],\n ['wm-marquee', MARQUEE_MODULE],\n ['wm-menu', MENU_MODULE],\n ['wm-media-list', MEDIA_LIST_MODULE],\n ['wm-mobile-navbar', MOBILE_NAV_BAR_MODULE],\n ['wm-mobile-tabbar', MOBILE_TAB_BAR_MODULE],\n ['wm-nav', MENU_MODULE],\n ['wm-navbar', NAVBAR_MODULE],\n ['wm-nav-item', MENU_MODULE],\n ['wm-network-info-toaster', BASIC_MODULE],\n ['wm-number', INPUT_MODULE],\n ['wm-page', PAGE_MODULE],\n ['wm-layout', PAGE_MODULE],\n ['wm-page-content', PAGE_MODULE],\n ['wm-pagedialog', PARTIAL_DIALOG_MODULE],\n ['wm-pagination', PAGINATION_MODULE],\n ['wm-panel', PANEL_MODULE],\n ['wm-panel-footer', PANEL_MODULE],\n ['wm-picture', BASIC_MODULE],\n ['wm-popover', POPOVER_MODULE],\n ['wm-progress-bar', PROGRESS_MODULE],\n ['wm-prefab', PREFAB_MODULE],\n ['wm-prefab-container', PREFAB_MODULE],\n ['wm-progress-circle', PROGRESS_MODULE],\n ['wm-radioset', INPUT_MODULE],\n ['wm-rating', RATING_MODULE],\n ['wm-richtexteditor', RICH_TEXT_EDITOR_MODULE],\n ['wm-right-panel', RIGHT_PANEL_MODULE],\n ['wm-select', INPUT_MODULE],\n ['wm-search', SEARCH_MODULE],\n ['wm-segmented-content', SEGMENTED_CONTROL_MODULE],\n ['wm-segmented-control', SEGMENTED_CONTROL_MODULE],\n ['wm-slider', SLIDER_MODULE],\n ['wm-spinner', BASIC_MODULE],\n ['wm-switch', INPUT_MODULE],\n ['wm-table', TABLE_MODULE],\n ['wm-tabs', TABS_MODULE],\n ['wm-tabpane', TABS_MODULE],\n ['wm-text', INPUT_MODULE],\n ['wm-textarea', INPUT_MODULE],\n ['wm-time', EPOCH_MODULE],\n ['wm-tile', TILE_MODULE],\n ['wm-top-nav', TOP_NAV_MODULE],\n ['wm-tree', TREE_MODULE],\n ['wm-video', BASIC_MODULE],\n ['wm-wizard', WIZARD_MODULE],\n ['wm-wizardstep', WIZARD_MODULE],\n]);\n\n\n","import {\n HtmlParser,\n Element,\n Text,\n Comment,\n getHtmlTagDefinition, ParseSourceSpan\n} from '@angular/compiler';\nimport { WIDGET_IMPORTS } from './imports';\nimport { isMobileApp } from '@wm/core';\nimport {find, isEqual, isFunction, remove, sortBy, uniqWith} from \"lodash-es\";\n\nconst CSS_REGEX = {\n COMMENTS_FORMAT : /\\/\\*((?!\\*\\/).|\\n)+\\*\\//g,\n SELECTOR_FORMAT : /[^\\{\\}]*\\{/gi,\n SELECTOR_EXCLUDE_FORMAT : /(@keyframes|@media|@font-face|@comment[0-9]+|from|to|[0-9]+%)\\b/i\n};\n\nconst isString = v => typeof v === 'string';\n\ninterface IProviderInfo {\n nodeName: string;\n provide: Map<string, any>;\n}\n\nconst OVERRIDES = {\n 'accessroles': '*accessroles',\n 'ng-if': '*ngIf',\n 'showindevice': '*wmShowInDevice',\n 'ng-class': '[ngClass]',\n 'data-ng-class': '[ngClass]',\n 'data-ng-src': 'src',\n 'ng-src': 'src',\n 'data-ng-href': 'href',\n 'ng-href': 'href',\n 'ng-disabled': 'disabled',\n 'data-ng-disabled': 'disabled',\n 'ng-model': '[ngModelOptions]=\"{standalone: true}\" [(ngModel)]'\n};\n\nconst selfClosingTags = new Set(['img']);\n\nexport const getBoundToExpr = (value: string) => {\n if (!value) {\n return null;\n }\n\n value = value.trim();\n if (value.startsWith('bind:')) {\n return value.substr(5);\n }\n};\n\nconst quoteAttr = v => {\n return ('' + v) /* Forces the conversion to string. */\n .replace(/&/g, '&') /* This MUST be the 1st replacement. */\n .replace(/'/g, ''') /* The 4 other predefined entities, required. */\n .replace(/\"/g, '"')\n .replace(/</g, '<')\n .replace(/>/g, '>');\n};\n\nconst registry = new Map<string, any>();\nconst htmlParser = new HtmlParser();\nconst ignoreComments = true;\n\nconst empty = () => '';\n\nconst isEvent = name => name[0] === 'o' && name[1] === 'n' && name[2] === '-';\n\nconst getEventName = key => key.substr(3);\n\nconst processBinding = (attr, expr) => [`${attr.name}.bind`, quoteAttr(expr)];\n\nconst processEvent = attr => {\n const evtName = getEventName(attr.name);\n return [`${evtName}.event`, attr.value];\n};\n\n/**\n * Wraps the string with single quotes.\n * @param val\n */\nconst wrapWithApos = (val: string) => {\n return `'${val.replace(/&apos/g, '"').replace(/"/g, '\\\\"')}'`;\n};\nconst ELE_PREFIX = '.wm-app';\n\nconst processAttr = attr => {\n let overridden = OVERRIDES[attr.name];\n const value = attr.valueSpan ? attr.value : undefined;\n\n // do not append showInDevice attribute for mobile application.\n if (attr.name === 'showindevice' && isMobileApp()) {\n overridden = '';\n }\n if (overridden) {\n /**\n * wrap value for accessroles with ''.\n * since accessroles is a structural directive, it will be transpiled to [accessroles]\n * hence, the value against it should be a computed string\n */\n if (attr.name === 'accessroles' || attr.name === 'showindevice') {\n return [overridden, `'${value}'`];\n }\n return [overridden, quoteAttr(value)];\n }\n\n if (isEvent(attr.name)) {\n return processEvent(attr);\n }\n\n const boundExpr = getBoundToExpr(attr.value);\n if (boundExpr) {\n return processBinding(attr, boundExpr);\n }\n\n return [attr.name, quoteAttr(value)];\n};\n\nexport const getDataSource = (dataSetExpr: string): string => {\n const parts = dataSetExpr.split('.');\n if (parts[0] === 'Variables' || parts[0] === 'Widgets') {\n return `${parts[0]}.${parts[1]}`;\n }\n};\n\nconst widgetChildAttrs = (() => {\n const childAttrs = new Map();\n const validChildAttrs = [\n `required`\n ];\n return {\n set: attrs => {\n attrs.forEach((val, key) => {\n validChildAttrs.includes(key) && (childAttrs.set(key, val));\n });\n },\n get: attrs => {\n const fltrAttrs = new Map();\n childAttrs.forEach((val, key) => {\n !attrs.get(key) && fltrAttrs.set(key, val);\n });\n return fltrAttrs;\n },\n clear: () => {\n childAttrs.clear();\n }\n };\n})();\nexport const setChildAttrs = attrs => {\n widgetChildAttrs.set(attrs);\n return '';\n};\nexport const getChildAttrs = attrs => {\n return getAttrMarkup(widgetChildAttrs.get(attrs));\n};\nexport const clearChildAttrs = () => {\n widgetChildAttrs.clear();\n return '';\n};\nexport const getFormMarkupAttr = attrs => {\n if (attrs.get('datavalue.bind')) {\n const onDataValueBinding = getDataSource(attrs.get('datavalue.bind'));\n attrs.set('datavaluesource.bind', onDataValueBinding);\n }\n return getAttrMarkup(attrs);\n};\n\nconst getAttrMap = attrs => {\n const attrMap = new Map<string, string>();\n attrs.forEach(attr => {\n let [attrName, attrValue] = processAttr(attr);\n attrMap.set(attrName, attrValue);\n });\n\n if (attrMap.get('dataset.bind')) {\n const dataSource = getDataSource(attrMap.get('dataset.bind'));\n if (dataSource) {\n attrMap.set('datasource.bind', dataSource);\n }\n }\n\n return attrMap;\n};\n\nexport const getAttrMarkup = (attrs: Map<string, string>) => {\n let attrMarkup = '';\n attrs.forEach((v, k) => {\n attrMarkup += ` ${k}`;\n if (v) {\n v = v.trim();\n if (k === '[ngClass]' && v.startsWith('{')) {\n v = v.replace(/\"/g, `'`);\n }\n if (k === 'show.bind' && attrs.get('deferload') === 'true') {\n v = v + `\" *lazyLoad=\"${wrapWithApos(v)}`;\n }\n attrMarkup += `=\"${v}\"`;\n\n if (k === 'showindevice' && v !== 'all') {\n const condition = [];\n if (v.includes('xs')) {\n condition.push('Viewport.isMobileType');\n }\n if (v.includes('sm')) {\n condition.push('(Viewport.isTabletType && Viewport.orientation.isPortrait)');\n }\n if (v.includes('md')) {\n condition.push('(Viewport.isTabletType && Viewport.orientation.isLandscape)');\n }\n attrMarkup += ` *ngIf=\"${condition.join(' || ')}\"`;\n }\n }\n });\n\n return attrMarkup;\n};\n\nconst getRequiredProviders = (nodeDef: IBuildTaskDef, providers: Array<IProviderInfo>, nodeAttrs) => {\n if (!nodeDef.requires) {\n return [];\n }\n\n let requires = nodeDef.requires as any;\n\n if (isString(requires)) {\n requires = [requires];\n }\n\n if (!Array.isArray(requires)) {\n return [];\n }\n\n return requires.map(require => {\n // for dynamic table assigning parent provide map to the child,\n for (let i = nodeAttrs.length - 1; i >= 0; i-- ) {\n if (nodeAttrs[i].name === 'tableName') {\n return nodeDef[nodeAttrs[i].value];\n }\n }\n\n for (let i = providers.length - 1; i >= 0; i-- ) {\n if (providers[i].nodeName === require) {\n return providers[i].provide;\n }\n }\n });\n};\n\nconst DIMENSION_PROPS = ['padding', 'borderwidth', 'margin'];\n\nconst SEPARATOR = ' ', UNSET = 'unset';\n\nconst setDimensionProp = (cssObj, key, nv) => {\n let cssKey = key, val, top, right, bottom, left, suffix = '';\n\n function setVal(prop, value) {\n // if the value is UNSET, reset the existing value\n if (value === UNSET) {\n value = '';\n }\n cssObj[cssKey + prop + suffix] = value;\n }\n\n if (key === 'borderwidth') {\n suffix = 'width';\n cssKey = 'border';\n }\n\n val = nv;\n\n if (val.indexOf(UNSET) !== -1) {\n val = val.split(SEPARATOR);\n\n top = val[0];\n right = val[1] || val[0];\n bottom = val[2] || val[0];\n left = val[3] || val[1] || val[0];\n\n setVal('top', top);\n setVal('right', right);\n setVal('bottom', bottom);\n setVal('left', left);\n } else {\n if (key === 'borderwidth') {\n cssKey = 'borderwidth';\n }\n cssObj[cssKey] = nv;\n }\n};\n\nconst processDimensionAttributes = attrMap => {\n const attrKeys = Array.from(attrMap.keys());\n attrKeys.forEach((attrKey: any) => {\n if (DIMENSION_PROPS.includes(attrKey)) {\n const cssObj = {},\n attrValue = attrMap.get(attrKey);\n attrMap.delete(attrKey);\n setDimensionProp(cssObj, attrKey, attrValue);\n Object.keys(cssObj).forEach(key => {\n if (cssObj[key]) {\n attrMap.set(key, cssObj[key]);\n }\n });\n }\n });\n};\n\n// replace <:svg:svg> -> <svg>, <:svg:*> -> <svg:*>\nconst getNodeName = name => name.replace(':svg:svg', 'svg').replace(':svg:', 'svg:');\n\nexport const processNode = (node, importCollector: (i: ImportDef[]) => void, providers?: Array<IProviderInfo>) => {\n const nodeDef = registry.get(node.name);\n\n let pre, post, template;\n\n if (nodeDef) {\n pre = nodeDef.pre || empty;\n post = nodeDef.post || empty;\n template = nodeDef.template || empty;\n }\n\n let markup = '';\n let attrMap;\n let requiredProviders;\n let shared;\n\n if (!providers) {\n providers = [];\n }\n\n const isElementType = node instanceof Element;\n\n if (isElementType) {\n let provideInfo: IProviderInfo;\n\n if (nodeDef) {\n requiredProviders = getRequiredProviders(nodeDef, providers, node.attrs);\n shared = new Map();\n template(node, shared, ...requiredProviders);\n }\n\n attrMap = getAttrMap(node.attrs);\n processDimensionAttributes(attrMap);\n\n const nodeName = getNodeName(node.name);\n\n if (nodeDef) {\n markup = (<any>pre)(attrMap, shared, ...requiredProviders);\n if (nodeDef.provide) {\n provideInfo = {\n nodeName: node.name,\n provide: isFunction(nodeDef.provide) ? nodeDef.provide(attrMap, shared, ...requiredProviders) : nodeDef.provide\n };\n // For table node, assigning parent provide map to the child, as child requires some parent provide attrs.\n if (node.name === 'wm-table') {\n const tableColNodeDefn = registry.get('wm-table-column');\n tableColNodeDefn[find(node.attrs, (el) => el.name === 'name').value + provideInfo.provide.get('table_reference')] = provideInfo.provide;\n registry.set('wm-table-column', tableColNodeDefn);\n }\n providers.push(provideInfo);\n }\n } else {\n markup = `<${nodeName} ${getAttrMarkup(attrMap)}>`;\n }\n\n node.children.forEach((child: Node | any) => {\n if(child.attrs) {\n let showInDeviceAttr, accessRolesAttr, deferLoadAttr, showAttr;\n child.attrs.forEach(function(attr){\n if (attr.name === 'showindevice') {\n showInDeviceAttr = attr;\n } else if (attr.name === 'accessroles') {\n accessRolesAttr = attr;\n } else if (attr.name === 'deferload') {\n deferLoadAttr = attr;\n } else if (attr.name === 'show') {\n showAttr = attr;\n }\n });\n if((showInDeviceAttr && accessRolesAttr) || (showInDeviceAttr && deferLoadAttr) || (accessRolesAttr && deferLoadAttr)) {\n /* If more than one out of showindevice, accessroles and deferload exist for a widget, add ng-container wrappers to fix angular limitation\n of applying only one structural directive to an element.\n * */\n const noSpan = ({} as ParseSourceSpan);\n const showInDeviceContainer:any = showInDeviceAttr ? new Element('ng-container', [], [], noSpan, noSpan, noSpan) : '';\n const accessRolesContainer:any = accessRolesAttr ? new Element('ng-container', [], [], noSpan, noSpan, noSpan) : '';\n const deferLoadContainer:any = deferLoadAttr ? new Element('ng-container', [], [], noSpan, noSpan, noSpan) : '';\n if (showInDeviceContainer) {\n showInDeviceContainer.attrs.push(showInDeviceAttr);\n }\n if (accessRolesContainer) {\n accessRolesContainer.attrs.push(accessRolesAttr);\n }\n if (deferLoadContainer) {\n deferLoadContainer.attrs.push(deferLoadAttr);\n if (showAttr) {\n deferLoadContainer.attrs.push(showAttr);\n }\n }\n remove(child.attrs, function (attr) {\n // @ts-ignore\n return attr.name === 'showindevice' || attr.name === 'accessroles' || attr.name === 'deferload'\n });\n let childContainer, parentContainer;\n if (showInDeviceAttr && accessRolesAttr) {\n childContainer = showInDeviceContainer;\n parentContainer = accessRolesContainer;\n } else if (showInDeviceAttr && deferLoadAttr) {\n childContainer = showInDeviceContainer;\n parentContainer = deferLoadContainer;\n } else if (accessRolesAttr && deferLoadAttr) {\n childContainer = deferLoadContainer;\n parentContainer = accessRolesContainer;\n }\n // wrap current node elements inside first ng-container(childContainer) and that container's elements inside another ng-container(parentContainer)\n childContainer.children = [child];\n parentContainer.children = [childContainer];\n // if all three directives exist, create another wrapper for third ng-container(grandParentContainer)\n if (showInDeviceAttr && accessRolesAttr && deferLoadAttr) {\n const grandParentContainer = deferLoadContainer;\n grandParentContainer.children = [parentContainer];\n child = grandParentContainer;\n } else {\n child = parentContainer;\n }\n\n }\n }\n return markup += processNode(child, importCollector, providers);\n });\n\n if (nodeDef) {\n if (provideInfo) {\n providers.splice(providers.indexOf(provideInfo), 1);\n }\n markup += (<any>post)(attrMap, shared, ...requiredProviders);\n } else {\n if (node.endSourceSpan && !getHtmlTagDefinition(node.name).isVoid) {\n markup += `</${nodeName}>`;\n }\n }\n } else if (node instanceof Text) {\n markup += node.value;\n } else if (node instanceof Comment) {\n if (!ignoreComments) {\n markup += node.value;\n }\n }\n importCollector(WIDGET_IMPORTS.get(node.name));\n if (nodeDef && nodeDef.imports) {\n let imports = [];\n if (typeof nodeDef.imports === 'function') {\n imports = nodeDef.imports(attrMap);\n } else {\n imports = nodeDef.imports;\n }\n imports.forEach( i => {\n importCollector(WIDGET_IMPORTS.get(i));\n });\n }\n return markup;\n};\n\nexport const transpile = (markup: string = '') => {\n if (!markup.length) {\n return;\n }\n let requiredWMComponents = [];\n const nodes = htmlParser.parse(markup, '');\n\n if (nodes.errors.length) {\n return;\n }\n\n let output = '';\n for (const node of nodes.rootNodes) {\n output += processNode(node, (imports: ImportDef[]) => {\n if (imports) {\n requiredWMComponents = requiredWMComponents.concat(imports);\n }\n });\n }\n requiredWMComponents = uniqWith(requiredWMComponents, isEqual);\n requiredWMComponents = sortBy(requiredWMComponents, ['from', 'name']);\n return {\n markup: output,\n requiredWMComponents: requiredWMComponents\n };\n};\n\nexport const register = (nodeName: string, nodeDefFn: () => IBuildTaskDef) => registry.set(nodeName, nodeDefFn());\n\nexport interface ImportDef {\n from: string;\n name: string;\n as?: string;\n forRoot?: boolean;\n platformType?: string;\n}\n\nexport interface IBuildTaskDef {\n requires?: string | Array<string>;\n template?: (node: Element | Text | Comment, shared?: Map<any, any>, ...requires: Array<Map<any, any>>) => void;\n pre: (attrs: Map<string, string>, shared ?: Map<any, any>, ...requires: Array<Map<any, any>>) => string;\n provide?: (attrs: Map<string, string>, shared ?: Map<any, any>, ...requires: Array<Map<any, any>>) => Map<any, any>;\n post?: (attrs: Map<string, string>, shared ?: Map<any, any>, ...requires: Array<Map<any, any>>) => string;\n imports?: string[] | ((attrs: Map<string, string>) => string[]);\n}\n\nexport const scopeComponentStyles = (componentName, componentType, styles = '') => {\n componentName = componentName.toLowerCase();\n const comments = {};\n let commentCount = 0;\n if (styles.startsWith('/*DISABLE_SCOPING*/')) {\n return styles;\n }\n styles = styles.replace(CSS_REGEX.COMMENTS_FORMAT, comment => {\n const key = `@comment${commentCount++}{`;\n comments[key] = comment;\n return key;\n });\n styles = styles.replace(CSS_REGEX.SELECTOR_FORMAT, (selector) => {\n if (!CSS_REGEX.SELECTOR_EXCLUDE_FORMAT.test(selector)) {\n const firstNonSpaceCharIndex = selector.match(/\\S/).index;\n let prefixSpaceCharSeq = '';\n if (firstNonSpaceCharIndex > 0) {\n prefixSpaceCharSeq = selector.substring(0, firstNonSpaceCharIndex);\n selector = selector.substring(firstNonSpaceCharIndex);\n }\n if (!selector.startsWith('/*') && selector.trim().length > 0) {\n // splits the selector by commas and we iterate over the array and add page level scoping and join it.\n selector = selector.split(',').map(s => {\n let prefix = ELE_PREFIX;\n s = s.trim();\n const spaceIndex = s.indexOf(' ');\n if (s.startsWith(ELE_PREFIX)) {\n if (spaceIndex > 0) {\n prefix = s.substring(0, spaceIndex);\n s = s.substring(spaceIndex + 1);\n } else {\n return s;\n }\n }\n\n if (componentType === 0 || componentType === 'PAGE') {\n s = `${prefix} app-page-${componentName} ${s}`;\n } else if (componentType === 1 || componentType === 'PREFAB') {\n s = `${prefix} app-prefab-${componentName} ${s}`;\n } else if (componentType === 2 || componentType === 'PARTIAL') {\n s = `${prefix} app-partial-${componentName} ${s}`;\n } else if(componentType === 3 || componentType === 'WIDGET'){\n s = `${prefix} app-custom-${componentName} ${s}`;\n }\n return s;\n }).join(',');\n }\n selector = prefixSpaceCharSeq + selector;\n }\n return selector;\n });\n for (const key in comments) {\n styles = styles.replace(key, comments[key]);\n }\n return styles;\n};\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAEA,MAAM,cAAc,GAAgB,CAAC,EAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,EAAE,eAAe,EAAC,CAAC,CAAC;AACzG,MAAM,uBAAuB,GAAgB,CAAC,EAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,qBAAqB,EAAE,EAAE,EAAE,uBAAuB,EAAC,CAAC,CAAC;AAClI,MAAM,kBAAkB,GAAgB,CAAC,EAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,oBAAoB,EAAE,EAAE,EAAE,wBAAwB,EAAC,CAAC,CAAC;AACvI,MAAM,mBAAmB,GAAgB,CAAC,EAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,EAAE,mB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,KAAK,CAAC,IAAI,aAAa,KAAK,MAAM,EAAE;wBACjD,CAAC,GAAG,GAAG,MAAM,CAAA,UAAA,EAAa,aAAa,CAAI,CAAA,EAAA,CAAC,EAAE,CAAC;qBAClD;yBAAM,IAAI,aAAa,KAAK,CAAC,IAAI,aAAa,KAAK,QAAQ,EAAE;wBAC1D,CAAC,GAAG,GAAG,MAAM,CAAA,YAAA,EAAe,aAAa,CAAI,CAAA,EAAA,CAAC,EAAE,CAAC;qBACpD;yBAAM,IAAI,aAAa,KAAK,CAAC,IAAI,aAAa,KAAK,SAAS,EAAE;wBAC3D,CAAC,GAAG,GAAG,MAAM,CAAA,aAAA,EAAgB,aAAa,CAAI,CAAA,EAAA,CAAC,EAAE,CAAC;qBACrD;yBAAM,IAAG,aAAa,KAAK,CAAC,IAAI,aAAa,KAAK,QAAQ,EAAC;wBACxD,CAAC,GAAG,GAAG,MAAM,CAAA,YAAA,EAAe,aAAa,CAAI,CAAA,EAAA,CAAC,EAAE,CAAC;qBACpD;AACD,oBAAA,OAAO,CAAC,CAAC;AACb,iBAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aAChB;AACD,YAAA,QAAQ,GAAG,kBAAkB,GAAG,QAAQ,CAAC;SAC5C;AACD,QAAA,OAAO,QAAQ,CAAC;AACpB,KAAC,CAAC,CAAC;AACH,IAAA,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE;AACxB,QAAA,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;KAC/C;AACD,IAAA,OAAO,MAAM,CAAC;AAClB;;ACrjBA;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../projects/transpiler/src/imports.ts","../../../projects/transpiler/src/build.ts","../../../projects/transpiler/src/index.ts"],"sourcesContent":["import { ImportDef } from './build';\n\nconst NG_FORM_MODULE: ImportDef[] = [{from: '@angular/forms', name: 'FormsModule', as: 'ngFormsModule'}];\nconst NG_REACTIVE_FORM_MODULE: ImportDef[] = [{from: '@angular/forms', name: 'ReactiveFormsModule', as: 'ngReactiveFormsModule'}];\nconst NGX_BS_DATE_PICKER: ImportDef[] = [{from: 'ngx-bootstrap/datepicker', name: 'BsDatepickerModule', as: 'ngx_BsDatepickerModule'}];\nconst NGX_CAROUSEL_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/carousel', name: 'CarouselModule', as: 'ngxCarouselModule', forRoot: true}];\nconst NGX_COLOR_PICKER_MODULE: ImportDef[] = [{from: 'ngx-color-picker', name: 'ColorPickerModule', as: 'ngx_ColorPickerModule'}];\nconst NGX_DROP_DOWN_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/dropdown', name: 'BsDropdownModule', as: 'ngxBsDropdownModule', forRoot: true}];\nconst NGX_MODAL_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/modal', name: 'ModalModule', as: 'ngx_ModalModule'}];\nconst NGX_PAGINATION_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/pagination', name: 'PaginationModule', as: 'ngxPaginationModule', forRoot: true}];\nconst NGX_POPOVER_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/popover', name: 'PopoverModule', as: 'ngxPopoverModule', forRoot: true}];\nconst NGX_TIME_PICKER: ImportDef[] = [{from: 'ngx-bootstrap/timepicker', name: 'TimepickerModule', as: 'ngx_TimepickerModule', forRoot: true}];\nconst NGX_TOOL_TIP_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/tooltip', name: 'TooltipModule', as: 'ngxTooltipModule', forRoot: true}];\nconst NGX_TYPE_HEAD_MODULE: ImportDef[] = [{from: 'ngx-bootstrap/typeahead', name: 'TypeaheadModule', as: 'ngxTypeaheadModule', forRoot: true}];\nconst PROGRESS_MODULE: ImportDef[] = [{from: '@wm/components/basic/progress', name: 'ProgressModule'}];\n\n\nconst MOBILE_BASIC_MODULE: ImportDef[] = [...PROGRESS_MODULE, {from: '@wm/mobile/components/basic', name: 'BasicModule', as: 'WM_MobileBasicModule', platformType: 'MOBILE'}];\nconst MOBILE_FILE_UPLOAD_MODULE: ImportDef[] = [{from: '@wm/mobile/components/input/file-upload', name: 'FileUploadModule', as: 'WM_MobileFileUploadModule', platformType: 'MOBILE'}];\nconst PAGE_MODULE: ImportDef[] = [{from: '@wm/components/page', name: 'PageModule'},\n {from: '@wm/mobile/components/page', name: 'PageModule', as: 'WM_MobilePageModule', platformType: 'MOBILE'}];\nconst BASIC_MODULE: ImportDef[] = [{from: '@wm/components/basic', name: 'BasicModule'}, ...MOBILE_BASIC_MODULE];\nconst INPUT_MODULE: ImportDef[] = [...NG_FORM_MODULE, {from: '@wm/components/input', name: 'InputModule'}];\nconst DIALOG_MODULE: ImportDef[] = [...NGX_MODAL_MODULE, ...INPUT_MODULE, {from: '@wm/components/dialogs', name: 'DialogModule'}];\nconst PAGINATION_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_PAGINATION_MODULE, {from: '@wm/components/data/pagination', name: 'PaginationModule'}];\nconst SEARCH_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_TYPE_HEAD_MODULE, {from: '@wm/components/basic/search', name: 'SearchModule'}];\n\nconst ACCORDION_MODULE: ImportDef[] = [{from: '@wm/components/containers/accordion', name: 'AccordionModule'}];\nconst LINEAR_LAYOUT_MODULE: ImportDef[] = [{from: '@wm/components/containers/linear-layout', name: 'LinearLayoutModule'}];\nconst ALERT_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/alert-dialog', name: 'AlertDialogModule'}];\nconst BARCODE_SCANNER_MODULE: ImportDef[] = [{from: '@wm/mobile/components/device/barcode-scanner', name: 'BarcodeScannerModule'}];\nconst MENU_MODULE: ImportDef[] = [...BASIC_MODULE, ...NGX_DROP_DOWN_MODULE, ...INPUT_MODULE, {from: '@wm/components/navigation/menu', name: 'MenuModule'}];\nconst BREAD_CRUMB_MODULE: ImportDef[] = [...MENU_MODULE, {from: '@wm/components/navigation/breadcrumb', name: 'BreadcrumbModule'}];\nconst CAMERA_MODULE: ImportDef[] = [{from: '@wm/mobile/components/device/camera', name: 'CameraModule'}];\nconst CALENDAR_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_BS_DATE_PICKER, {from: '@wm/components/input/calendar', name: 'CalendarModule'}];\nconst CAROUSEL_MODULE: ImportDef[] = [...NGX_CAROUSEL_MODULE, {from: '@wm/components/advanced/carousel', name: 'CarouselModule'}];\nconst CHART_MODULE: ImportDef[] = [...BASIC_MODULE, {from: '@wm/components/chart', name: 'ChartModule'}];\nconst CHIPS_MODULE: ImportDef[] = [...SEARCH_MODULE, {from: '@wm/components/input/chips', name: 'ChipsModule'}];\nconst COLOR_PICKER_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_COLOR_PICKER_MODULE, {from: '@wm/components/input/color-picker', name: 'ColorPickerModule'}];\nconst CONFIRM_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/confirm-dialog', name: 'ConfirmDialogModule'}];\nconst CONTENT_MODULE: ImportDef[] = [{from: '@wm/components/page', name: 'PageModule'}];\nconst CURRENCY_MODULE: ImportDef[] = [...INPUT_MODULE, {from: '@wm/components/input/currency', name: 'CurrencyModule'}];\nconst DESIGN_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/design-dialog', name: 'DesignDialogModule'}];\nconst EPOCH_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NGX_BS_DATE_PICKER, ...NGX_TIME_PICKER, ...NGX_DROP_DOWN_MODULE, {from: '@wm/components/input/epoch', name: 'EpochModule'}];\nconst FILE_UPLOAD_MODULE: ImportDef[] = [...MOBILE_FILE_UPLOAD_MODULE, {from: '@wm/components/input/file-upload', name: 'FileUploadModule'}];\nconst FOOTER_MODULE: ImportDef[] = [{from: '@wm/components/page/footer', name: 'FooterModule'}];\nconst HEADER_MODULE: ImportDef[] = [{from: '@wm/components/page/header', name: 'HeaderModule'}];\nconst IFRAME_DIALOG_MODULE: ImportDef[] = [...BASIC_MODULE, ...DIALOG_MODULE, {from: '@wm/components/dialogs/iframe-dialog', name: 'IframeDialogModule'}];\nconst LAYOUT_GRID_MODULE: ImportDef[] = [{from: '@wm/components/containers/layout-grid', name: 'LayoutGridModule'}];\nconst LOGIN_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/login-dialog', name: 'LoginDialogModule'}];\nconst CARD_MODULE: ImportDef[] = [...NGX_DROP_DOWN_MODULE, ...MENU_MODULE, ...BASIC_MODULE, {from: '@wm/components/data/card', name: 'CardModule'}];\nconst MARQUEE_MODULE: ImportDef[] = [{from: '@wm/components/advanced/marquee', name: 'MarqueeModule'}];\nconst LEFT_PANEL_MODULE: ImportDef[] = [{from: '@wm/components/page/left-panel', name: 'LeftPanelModule'},\n {from: '@wm/mobile/components/page/left-panel', name: 'LeftPanelModule', as: 'WM_MobileLeftPanelModule', platformType: 'MOBILE'}];\nconst LIST_MODULE: ImportDef[] = [...PAGINATION_MODULE, ...INPUT_MODULE, {from: '@wm/components/data/list', name: 'ListModule'}];\nconst LOGIN_MODULE: ImportDef[] = [{from: '@wm/components/advanced/login', name: 'LoginModule'}];\nconst MOBILE_NAV_BAR_MODULE: ImportDef[] = [...LEFT_PANEL_MODULE, ...SEARCH_MODULE, ...PAGE_MODULE, {from: '@wm/mobile/components/page/mobile-navbar', name: 'MobileNavbarModule'}];\nconst MEDIA_LIST_MODULE: ImportDef[] = [...BASIC_MODULE, ...PAGE_MODULE, ...MOBILE_NAV_BAR_MODULE, {from: '@wm/mobile/components/data/media-list', name: 'MediaListModule'}];\nconst MOBILE_TAB_BAR_MODULE: ImportDef[] = [{from: '@wm/mobile/components/page/tab-bar', name: 'TabBarModule'}];\nconst NAVBAR_MODULE: ImportDef[] = [{from: '@wm/components/navigation/navbar', name: 'NavbarModule'}];\nconst POPOVER_MODULE: ImportDef[] = [...NGX_POPOVER_MODULE, ...BASIC_MODULE, {from: '@wm/components/navigation/popover', name: 'PopoverModule'}];\nconst PANEL_MODULE: ImportDef[] = [...MENU_MODULE, {from: '@wm/components/containers/panel', name: 'PanelModule'}];\nconst PARTIAL_DIALOG_MODULE: ImportDef[] = [...DIALOG_MODULE, {from: '@wm/components/dialogs/partial-dialog', name: 'PartialDialogModule'}];\nconst PREFAB_MODULE: ImportDef[] = [{from: '@wm/components/prefab', name: 'PrefabModule'}];\nconst RATING_MODULE: ImportDef[] = [{from: '@wm/components/input/rating', name: 'RatingModule'}];\nconst RICH_TEXT_EDITOR_MODULE: ImportDef[] = [{from: '@wm/components/basic/rich-text-editor', name: 'RichTextEditorModule'}];\nconst RIGHT_PANEL_MODULE: ImportDef[] = [{from: '@wm/components/page/right-panel', name: 'RightPanelModule'}];\nconst SEGMENTED_CONTROL_MODULE: ImportDef[] = [{from: '@wm/mobile/components/containers/segmented-control', name: 'SegmentedControlModule'}];\nconst SLIDER_MODULE: ImportDef[] = [...NG_FORM_MODULE, {from: '@wm/components/input/slider', name: 'SliderModule'}];\nconst TABS_MODULE: ImportDef[] = [{from: '@wm/components/containers/tabs', name: 'TabsModule'}];\nconst TABLE_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NG_REACTIVE_FORM_MODULE, ...PAGINATION_MODULE, ...MENU_MODULE, ...BASIC_MODULE, ...INPUT_MODULE, ...NGX_TOOL_TIP_MODULE, ...LIST_MODULE, {from: '@wm/components/data/table', name: 'TableModule'}];\nconst TILE_MODULE: ImportDef[] = [{from: '@wm/components/containers/tile', name: 'TileModule'}];\nconst TOP_NAV_MODULE: ImportDef[] = [{from: '@wm/components/page/top-nav', name: 'TopNavModule'}];\nconst TREE_MODULE: ImportDef[] = [{from: '@wm/components/basic/tree', name: 'TreeModule'}];\nconst WIZARD_MODULE: ImportDef[] = [...NG_FORM_MODULE, {from: '@wm/components/containers/wizard', name: 'WizardModule'}];\n\n\nconst LIVE_TABLE_MODULE: ImportDef[] = [...TABLE_MODULE, {from: '@wm/components/data/live-table', name: 'LiveTableModule'}];\nconst FORM_MODULE: ImportDef[] = [...NG_FORM_MODULE, ...NG_REACTIVE_FORM_MODULE, ...BASIC_MODULE, ...INPUT_MODULE, ...PAGE_MODULE, ...DESIGN_DIALOG_MODULE, {from: '@wm/components/data/form', name: 'FormModule'}];\n\nexport const WIDGET_IMPORTS: Map<string, ImportDef[]> = new Map([\n ['wm-accordion', ACCORDION_MODULE],\n ['wm-accordionpane', ACCORDION_MODULE],\n ['wm-anchor', BASIC_MODULE],\n ['wm-alertdialog', ALERT_DIALOG_MODULE],\n ['wm-audio', BASIC_MODULE],\n ['wm-barcodescanner', BARCODE_SCANNER_MODULE],\n ['wm-button', INPUT_MODULE],\n ['wm-buttongroup', INPUT_MODULE],\n ['wm-breadcrumb', BREAD_CRUMB_MODULE],\n ['wm-camera', CAMERA_MODULE],\n ['wm-calendar', CALENDAR_MODULE],\n ['wm-card', CARD_MODULE],\n ['wm-card-actions', CARD_MODULE],\n ['wm-card-content', CARD_MODULE],\n ['wm-card-footer', CARD_MODULE],\n ['wm-carousel', CAROUSEL_MODULE],\n ['wm-carousel-content', CAROUSEL_MODULE],\n ['wm-carousel-template', CAROUSEL_MODULE],\n ['wm-chart', CHART_MODULE],\n ['wm-checkbox', INPUT_MODULE],\n ['wm-checkboxset', INPUT_MODULE],\n ['wm-chips', CHIPS_MODULE],\n ['wm-colorpicker', COLOR_PICKER_MODULE],\n ['wm-confirmdialog', CONFIRM_DIALOG_MODULE],\n ['wm-content', CONTENT_MODULE],\n ['wm-currency', CURRENCY_MODULE],\n ['wm-date', EPOCH_MODULE],\n ['wm-datetime', EPOCH_MODULE],\n ['wm-dialog', DESIGN_DIALOG_MODULE],\n ['wm-footer', FOOTER_MODULE],\n ['wm-form', FORM_MODULE],\n ['wm-form-action', FORM_MODULE],\n ['wm-form-field', FORM_MODULE],\n ['wm-filter-field', FORM_MODULE],\n ['wm-fileupload', FILE_UPLOAD_MODULE],\n ['wm-gridrow', LAYOUT_GRID_MODULE],\n ['wm-gridcolumn', LAYOUT_GRID_MODULE],\n ['wm-header', HEADER_MODULE],\n ['wm-html', BASIC_MODULE],\n ['wm-icon', BASIC_MODULE],\n ['wm-iframe', BASIC_MODULE],\n ['wm-iframedialog', IFRAME_DIALOG_MODULE],\n ['wm-label', BASIC_MODULE],\n ['wm-layoutgrid', LAYOUT_GRID_MODULE],\n ['wm-left-panel', LEFT_PANEL_MODULE],\n ['wm-linearlayout', LINEAR_LAYOUT_MODULE],\n ['wm-linearlayoutitem', LINEAR_LAYOUT_MODULE],\n ['wm-list', LIST_MODULE],\n ['wm-livetable', LIVE_TABLE_MODULE],\n ['wm-login', LOGIN_MODULE],\n ['wm-logindialog', LOGIN_DIALOG_MODULE],\n ['wm-marquee', MARQUEE_MODULE],\n ['wm-menu', MENU_MODULE],\n ['wm-media-list', MEDIA_LIST_MODULE],\n ['wm-mobile-navbar', MOBILE_NAV_BAR_MODULE],\n ['wm-mobile-tabbar', MOBILE_TAB_BAR_MODULE],\n ['wm-nav', MENU_MODULE],\n ['wm-navbar', NAVBAR_MODULE],\n ['wm-nav-item', MENU_MODULE],\n ['wm-network-info-toaster', BASIC_MODULE],\n ['wm-number', INPUT_MODULE],\n ['wm-page', PAGE_MODULE],\n ['wm-layout', PAGE_MODULE],\n ['wm-page-content', PAGE_MODULE],\n ['wm-pagedialog', PARTIAL_DIALOG_MODULE],\n ['wm-pagination', PAGINATION_MODULE],\n ['wm-panel', PANEL_MODULE],\n ['wm-panel-footer', PANEL_MODULE],\n ['wm-picture', BASIC_MODULE],\n ['wm-popover', POPOVER_MODULE],\n ['wm-progress-bar', PROGRESS_MODULE],\n ['wm-prefab', PREFAB_MODULE],\n ['wm-prefab-container', PREFAB_MODULE],\n ['wm-progress-circle', PROGRESS_MODULE],\n ['wm-radioset', INPUT_MODULE],\n ['wm-rating', RATING_MODULE],\n ['wm-richtexteditor', RICH_TEXT_EDITOR_MODULE],\n ['wm-right-panel', RIGHT_PANEL_MODULE],\n ['wm-select', INPUT_MODULE],\n ['wm-search', SEARCH_MODULE],\n ['wm-segmented-content', SEGMENTED_CONTROL_MODULE],\n ['wm-segmented-control', SEGMENTED_CONTROL_MODULE],\n ['wm-slider', SLIDER_MODULE],\n ['wm-spinner', BASIC_MODULE],\n ['wm-switch', INPUT_MODULE],\n ['wm-table', TABLE_MODULE],\n ['wm-tabs', TABS_MODULE],\n ['wm-tabpane', TABS_MODULE],\n ['wm-text', INPUT_MODULE],\n ['wm-textarea', INPUT_MODULE],\n ['wm-time', EPOCH_MODULE],\n ['wm-tile', TILE_MODULE],\n ['wm-top-nav', TOP_NAV_MODULE],\n ['wm-tree', TREE_MODULE],\n ['wm-video', BASIC_MODULE],\n ['wm-wizard', WIZARD_MODULE],\n ['wm-wizardstep', WIZARD_MODULE],\n]);\n\n\n","import {\n HtmlParser,\n Element,\n Text,\n Comment,\n getHtmlTagDefinition, ParseSourceSpan\n} from '@angular/compiler';\nimport { WIDGET_IMPORTS } from './imports';\nimport { isMobileApp } from '@wm/core';\nimport {find, isEqual, isFunction, remove, sortBy, uniqWith} from \"lodash-es\";\n\nconst CSS_REGEX = {\n COMMENTS_FORMAT : /\\/\\*((?!\\*\\/).|\\n)+\\*\\//g,\n SELECTOR_FORMAT : /[^\\{\\}]*\\{/gi,\n SELECTOR_EXCLUDE_FORMAT : /(@keyframes|@media|@font-face|@comment[0-9]+|from|to|[0-9]+%)\\b/i\n};\n\nconst isString = v => typeof v === 'string';\n\ninterface IProviderInfo {\n nodeName: string;\n provide: Map<string, any>;\n}\n\nconst OVERRIDES = {\n 'accessroles': '*accessroles',\n 'ng-if': '*ngIf',\n 'showindevice': '*wmShowInDevice',\n 'ng-class': '[ngClass]',\n 'data-ng-class': '[ngClass]',\n 'data-ng-src': 'src',\n 'ng-src': 'src',\n 'data-ng-href': 'href',\n 'ng-href': 'href',\n 'ng-disabled': 'disabled',\n 'data-ng-disabled': 'disabled',\n 'ng-model': '[ngModelOptions]=\"{standalone: true}\" [(ngModel)]'\n};\n\nconst selfClosingTags = new Set(['img']);\n\nexport const getBoundToExpr = (value: string) => {\n if (!value) {\n return null;\n }\n\n value = value.trim();\n if (value.startsWith('bind:')) {\n return value.substr(5);\n }\n};\n\nconst quoteAttr = v => {\n return ('' + v) /* Forces the conversion to string. */\n .replace(/&/g, '&') /* This MUST be the 1st replacement. */\n .replace(/'/g, ''') /* The 4 other predefined entities, required. */\n .replace(/\"/g, '"')\n .replace(/</g, '<')\n .replace(/>/g, '>');\n};\n\nconst registry = new Map<string, any>();\nconst htmlParser = new HtmlParser();\nconst ignoreComments = true;\n\nconst empty = () => '';\n\nconst isEvent = name => name[0] === 'o' && name[1] === 'n' && name[2] === '-';\n\nconst getEventName = key => key.substr(3);\n\nconst processBinding = (attr, expr) => [`${attr.name}.bind`, quoteAttr(expr)];\n\nconst processEvent = attr => {\n const evtName = getEventName(attr.name);\n return [`${evtName}.event`, attr.value];\n};\n\n/**\n * Wraps the string with single quotes.\n * @param val\n */\nconst wrapWithApos = (val: string) => {\n return `'${val.replace(/&apos/g, '"').replace(/"/g, '\\\\"')}'`;\n};\nconst ELE_PREFIX = '.wm-app';\n\nconst processAttr = attr => {\n let overridden = OVERRIDES[attr.name];\n const value = attr.valueSpan ? attr.value : undefined;\n\n // do not append showInDevice attribute for mobile application.\n if (attr.name === 'showindevice' && isMobileApp()) {\n overridden = '';\n }\n if (overridden) {\n /**\n * wrap value for accessroles with ''.\n * since accessroles is a structural directive, it will be transpiled to [accessroles]\n * hence, the value against it should be a computed string\n */\n if (attr.name === 'accessroles' || attr.name === 'showindevice') {\n return [overridden, `'${value}'`];\n }\n return [overridden, quoteAttr(value)];\n }\n\n if (isEvent(attr.name)) {\n return processEvent(attr);\n }\n\n const boundExpr = getBoundToExpr(attr.value);\n if (boundExpr) {\n return processBinding(attr, boundExpr);\n }\n\n return [attr.name, quoteAttr(value)];\n};\n\nexport const getDataSource = (dataSetExpr: string): string => {\n const parts = dataSetExpr.split('.');\n if (parts[0] === 'Variables' || parts[0] === 'Widgets') {\n return `${parts[0]}.${parts[1]}`;\n }\n};\n\nconst widgetChildAttrs = (() => {\n const childAttrs = new Map();\n const validChildAttrs = [\n `required`\n ];\n return {\n set: attrs => {\n attrs.forEach((val, key) => {\n validChildAttrs.includes(key) && (childAttrs.set(key, val));\n });\n },\n get: attrs => {\n const fltrAttrs = new Map();\n childAttrs.forEach((val, key) => {\n !attrs.get(key) && fltrAttrs.set(key, val);\n });\n return fltrAttrs;\n },\n clear: () => {\n childAttrs.clear();\n }\n };\n})();\nexport const setChildAttrs = attrs => {\n widgetChildAttrs.set(attrs);\n return '';\n};\nexport const getChildAttrs = attrs => {\n return getAttrMarkup(widgetChildAttrs.get(attrs));\n};\nexport const clearChildAttrs = () => {\n widgetChildAttrs.clear();\n return '';\n};\nexport const getFormMarkupAttr = attrs => {\n if (attrs.get('datavalue.bind')) {\n const onDataValueBinding = getDataSource(attrs.get('datavalue.bind'));\n attrs.set('datavaluesource.bind', onDataValueBinding);\n }\n return getAttrMarkup(attrs);\n};\n\nconst getAttrMap = attrs => {\n const attrMap = new Map<string, string>();\n attrs.forEach(attr => {\n let [attrName, attrValue] = processAttr(attr);\n attrMap.set(attrName, attrValue);\n });\n\n if (attrMap.get('dataset.bind')) {\n const dataSource = getDataSource(attrMap.get('dataset.bind'));\n if (dataSource) {\n attrMap.set('datasource.bind', dataSource);\n }\n }\n\n return attrMap;\n};\n\nexport const getAttrMarkup = (attrs: Map<string, string>) => {\n let attrMarkup = '';\n attrs.forEach((v, k) => {\n attrMarkup += ` ${k}`;\n if (v) {\n v = v.trim();\n if (k === '[ngClass]' && v.startsWith('{')) {\n v = v.replace(/\"/g, `'`);\n }\n if (k === 'show.bind' && attrs.get('deferload') === 'true') {\n v = v + `\" *lazyLoad=\"${wrapWithApos(v)}`;\n }\n attrMarkup += `=\"${v}\"`;\n\n if (k === 'showindevice' && v !== 'all') {\n const condition = [];\n if (v.includes('xs')) {\n condition.push('Viewport.isMobileType');\n }\n if (v.includes('sm')) {\n condition.push('(Viewport.isTabletType && Viewport.orientation.isPortrait)');\n }\n if (v.includes('md')) {\n condition.push('(Viewport.isTabletType && Viewport.orientation.isLandscape)');\n }\n attrMarkup += ` *ngIf=\"${condition.join(' || ')}\"`;\n }\n }\n });\n\n return attrMarkup;\n};\n\nconst getRequiredProviders = (nodeDef: IBuildTaskDef, providers: Array<IProviderInfo>, nodeAttrs) => {\n if (!nodeDef.requires) {\n return [];\n }\n\n let requires = nodeDef.requires as any;\n\n if (isString(requires)) {\n requires = [requires];\n }\n\n if (!Array.isArray(requires)) {\n return [];\n }\n\n return requires.map(require => {\n // for dynamic table assigning parent provide map to the child,\n for (let i = nodeAttrs.length - 1; i >= 0; i-- ) {\n if (nodeAttrs[i].name === 'tableName') {\n return nodeDef[nodeAttrs[i].value];\n }\n }\n\n for (let i = providers.length - 1; i >= 0; i-- ) {\n if (providers[i].nodeName === require) {\n return providers[i].provide;\n }\n }\n });\n};\n\nconst DIMENSION_PROPS = ['padding', 'borderwidth', 'margin'];\n\nconst SEPARATOR = ' ', UNSET = 'unset';\n\nconst setDimensionProp = (cssObj, key, nv) => {\n let cssKey = key, val, top, right, bottom, left, suffix = '';\n\n function setVal(prop, value) {\n // if the value is UNSET, reset the existing value\n if (value === UNSET) {\n value = '';\n }\n cssObj[cssKey + prop + suffix] = value;\n }\n\n if (key === 'borderwidth') {\n suffix = 'width';\n cssKey = 'border';\n }\n\n val = nv;\n\n if (val.indexOf(UNSET) !== -1) {\n val = val.split(SEPARATOR);\n\n top = val[0];\n right = val[1] || val[0];\n bottom = val[2] || val[0];\n left = val[3] || val[1] || val[0];\n\n setVal('top', top);\n setVal('right', right);\n setVal('bottom', bottom);\n setVal('left', left);\n } else {\n if (key === 'borderwidth') {\n cssKey = 'borderwidth';\n }\n cssObj[cssKey] = nv;\n }\n};\n\nconst processDimensionAttributes = attrMap => {\n const attrKeys = Array.from(attrMap.keys());\n attrKeys.forEach((attrKey: any) => {\n if (DIMENSION_PROPS.includes(attrKey)) {\n const cssObj = {},\n attrValue = attrMap.get(attrKey);\n attrMap.delete(attrKey);\n setDimensionProp(cssObj, attrKey, attrValue);\n Object.keys(cssObj).forEach(key => {\n if (cssObj[key]) {\n attrMap.set(key, cssObj[key]);\n }\n });\n }\n });\n};\n\n// replace <:svg:svg> -> <svg>, <:svg:*> -> <svg:*>\nconst getNodeName = name => name.replace(':svg:svg', 'svg').replace(':svg:', 'svg:');\n\nexport const processNode = (node, importCollector: (i: ImportDef[]) => void, providers?: Array<IProviderInfo>) => {\n const nodeDef = registry.get(node.name);\n\n let pre, post, template;\n\n if (nodeDef) {\n pre = nodeDef.pre || empty;\n post = nodeDef.post || empty;\n template = nodeDef.template || empty;\n }\n\n let markup = '';\n let attrMap;\n let requiredProviders;\n let shared;\n\n if (!providers) {\n providers = [];\n }\n\n const isElementType = node instanceof Element;\n\n if (isElementType) {\n let provideInfo: IProviderInfo;\n\n if (nodeDef) {\n requiredProviders = getRequiredProviders(nodeDef, providers, node.attrs);\n shared = new Map();\n template(node, shared, ...requiredProviders);\n }\n\n attrMap = getAttrMap(node.attrs);\n processDimensionAttributes(attrMap);\n\n const nodeName = getNodeName(node.name);\n\n if (nodeDef) {\n markup = (<any>pre)(attrMap, shared, ...requiredProviders);\n if (nodeDef.provide) {\n provideInfo = {\n nodeName: node.name,\n provide: isFunction(nodeDef.provide) ? nodeDef.provide(attrMap, shared, ...requiredProviders) : nodeDef.provide\n };\n // For table node, assigning parent provide map to the child, as child requires some parent provide attrs.\n if (node.name === 'wm-table') {\n const tableColNodeDefn = registry.get('wm-table-column');\n tableColNodeDefn[find(node.attrs, (el) => el.name === 'name').value + provideInfo.provide.get('table_reference')] = provideInfo.provide;\n registry.set('wm-table-column', tableColNodeDefn);\n }\n providers.push(provideInfo);\n }\n } else {\n markup = `<${nodeName} ${getAttrMarkup(attrMap)}>`;\n }\n\n node.children.forEach((child: Node | any) => {\n if(child.attrs) {\n let showInDeviceAttr, accessRolesAttr, deferLoadAttr, showAttr;\n child.attrs.forEach(function(attr){\n if (attr.name === 'showindevice') {\n showInDeviceAttr = attr;\n } else if (attr.name === 'accessroles') {\n accessRolesAttr = attr;\n } else if (attr.name === 'deferload') {\n deferLoadAttr = attr;\n } else if (attr.name === 'show') {\n showAttr = attr;\n }\n });\n if((showInDeviceAttr && accessRolesAttr) || (showInDeviceAttr && deferLoadAttr) || (accessRolesAttr && deferLoadAttr)) {\n /* If more than one out of showindevice, accessroles and deferload exist for a widget, add ng-container wrappers to fix angular limitation\n of applying only one structural directive to an element.\n * */\n const noSpan = ({} as ParseSourceSpan);\n const showInDeviceContainer:any = showInDeviceAttr ? new Element('ng-container', [], [], noSpan, noSpan, noSpan) : '';\n const accessRolesContainer:any = accessRolesAttr ? new Element('ng-container', [], [], noSpan, noSpan, noSpan) : '';\n const deferLoadContainer:any = deferLoadAttr ? new Element('ng-container', [], [], noSpan, noSpan, noSpan) : '';\n if (showInDeviceContainer) {\n showInDeviceContainer.attrs.push(showInDeviceAttr);\n }\n if (accessRolesContainer) {\n accessRolesContainer.attrs.push(accessRolesAttr);\n }\n if (deferLoadContainer) {\n deferLoadContainer.attrs.push(deferLoadAttr);\n if (showAttr) {\n deferLoadContainer.attrs.push(showAttr);\n }\n }\n remove(child.attrs, function (attr) {\n // @ts-ignore\n return attr.name === 'showindevice' || attr.name === 'accessroles' || attr.name === 'deferload'\n });\n let childContainer, parentContainer;\n if (showInDeviceAttr && accessRolesAttr) {\n childContainer = showInDeviceContainer;\n parentContainer = accessRolesContainer;\n } else if (showInDeviceAttr && deferLoadAttr) {\n childContainer = showInDeviceContainer;\n parentContainer = deferLoadContainer;\n } else if (accessRolesAttr && deferLoadAttr) {\n childContainer = deferLoadContainer;\n parentContainer = accessRolesContainer;\n }\n // wrap current node elements inside first ng-container(childContainer) and that container's elements inside another ng-container(parentContainer)\n childContainer.children = [child];\n parentContainer.children = [childContainer];\n // if all three directives exist, create another wrapper for third ng-container(grandParentContainer)\n if (showInDeviceAttr && accessRolesAttr && deferLoadAttr) {\n const grandParentContainer = deferLoadContainer;\n grandParentContainer.children = [parentContainer];\n child = grandParentContainer;\n } else {\n child = parentContainer;\n }\n\n }\n }\n return markup += processNode(child, importCollector, providers);\n });\n\n if (nodeDef) {\n if (provideInfo) {\n providers.splice(providers.indexOf(provideInfo), 1);\n }\n markup += (<any>post)(attrMap, shared, ...requiredProviders);\n } else {\n if (node.endSourceSpan && !getHtmlTagDefinition(node.name).isVoid) {\n markup += `</${nodeName}>`;\n }\n }\n } else if (node instanceof Text) {\n markup += node.value;\n } else if (node instanceof Comment) {\n if (!ignoreComments) {\n markup += node.value;\n }\n }\n importCollector(WIDGET_IMPORTS.get(node.name));\n if (nodeDef && nodeDef.imports) {\n let imports = [];\n if (typeof nodeDef.imports === 'function') {\n imports = nodeDef.imports(attrMap);\n } else {\n imports = nodeDef.imports;\n }\n imports.forEach( i => {\n importCollector(WIDGET_IMPORTS.get(i));\n });\n }\n return markup;\n};\n\nexport const transpile = (markup: string = '') => {\n if (!markup.length) {\n return;\n }\n let requiredWMComponents = [];\n const nodes = htmlParser.parse(markup, '');\n\n if (nodes.errors.length) {\n return;\n }\n\n let output = '';\n for (const node of nodes.rootNodes) {\n output += processNode(node, (imports: ImportDef[]) => {\n if (imports) {\n requiredWMComponents = requiredWMComponents.concat(imports);\n }\n });\n }\n requiredWMComponents = uniqWith(requiredWMComponents, isEqual);\n requiredWMComponents = sortBy(requiredWMComponents, ['from', 'name']);\n return {\n markup: output,\n requiredWMComponents: requiredWMComponents\n };\n};\n\nexport const register = (nodeName: string, nodeDefFn: () => IBuildTaskDef) => registry.set(nodeName, nodeDefFn());\n\nexport interface ImportDef {\n from: string;\n name: string;\n as?: string;\n forRoot?: boolean;\n platformType?: string;\n}\n\nexport interface IBuildTaskDef {\n requires?: string | Array<string>;\n template?: (node: Element | Text | Comment, shared?: Map<any, any>, ...requires: Array<Map<any, any>>) => void;\n pre: (attrs: Map<string, string>, shared ?: Map<any, any>, ...requires: Array<Map<any, any>>) => string;\n provide?: (attrs: Map<string, string>, shared ?: Map<any, any>, ...requires: Array<Map<any, any>>) => Map<any, any>;\n post?: (attrs: Map<string, string>, shared ?: Map<any, any>, ...requires: Array<Map<any, any>>) => string;\n imports?: string[] | ((attrs: Map<string, string>) => string[]);\n}\n\nexport const scopeComponentStyles = (componentName, componentType, styles = '') => {\n componentName = componentName.toLowerCase();\n const comments = {};\n let commentCount = 0;\n if (styles.startsWith('/*DISABLE_SCOPING*/')) {\n return styles;\n }\n styles = styles.replace(CSS_REGEX.COMMENTS_FORMAT, comment => {\n const key = `@comment${commentCount++}{`;\n comments[key] = comment;\n return key;\n });\n styles = styles.replace(CSS_REGEX.SELECTOR_FORMAT, (selector) => {\n if (!CSS_REGEX.SELECTOR_EXCLUDE_FORMAT.test(selector)) {\n const firstNonSpaceCharIndex = selector.match(/\\S/).index;\n let prefixSpaceCharSeq = '';\n if (firstNonSpaceCharIndex > 0) {\n prefixSpaceCharSeq = selector.substring(0, firstNonSpaceCharIndex);\n selector = selector.substring(firstNonSpaceCharIndex);\n }\n if (!selector.startsWith('/*') && selector.trim().length > 0) {\n // splits the selector by commas and we iterate over the array and add page level scoping and join it.\n selector = selector.split(',').map(s => {\n let prefix = ELE_PREFIX;\n s = s.trim();\n const spaceIndex = s.indexOf(' ');\n if (s.startsWith(ELE_PREFIX)) {\n if (spaceIndex > 0) {\n prefix = s.substring(0, spaceIndex);\n s = s.substring(spaceIndex + 1);\n } else {\n return s;\n }\n }\n\n if (componentType === 0 || componentType === 'PAGE') {\n s = `${prefix} app-page-${componentName} ${s}`;\n } else if (componentType === 1 || componentType === 'PREFAB') {\n s = `${prefix} app-prefab-${componentName} ${s}`;\n } else if (componentType === 2 || componentType === 'PARTIAL') {\n s = `${prefix} app-partial-${componentName} ${s}`;\n }\n return s;\n }).join(',');\n }\n selector = prefixSpaceCharSeq + selector;\n }\n return selector;\n });\n for (const key in comments) {\n styles = styles.replace(key, comments[key]);\n }\n return styles;\n};\n\n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AAC;KAC/C;AACD,IAAA,OAAO,MAAM,CAAC;AAClB;;ACnjBA;;AAEG;;;;"}
|
app-ng-runtime/build-task/esm2022/advanced/custom-widget-container/custom-widget-container.build.mjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { getAttrMarkup, register } from '@wm/transpiler';
|
2
|
-
import { IDGenerator } from "@wm/core";
|
3
|
-
const tagName = 'div';
|
4
|
-
const idGen = new IDGenerator('wm_custom_widget');
|
5
|
-
register('wm-custom-widget', () => {
|
6
|
-
return {
|
7
|
-
pre: (attrs) => {
|
8
|
-
const counter = idGen.nextUid();
|
9
|
-
return `<${tagName} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
|
10
|
-
},
|
11
|
-
post: () => `</${tagName}>`
|
12
|
-
};
|
13
|
-
});
|
14
|
-
export default () => { };
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXdpZGdldC1jb250YWluZXIuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3RyYW5zcGlsZS9zcmMvYWR2YW5jZWQvY3VzdG9tLXdpZGdldC1jb250YWluZXIvY3VzdG9tLXdpZGdldC1jb250YWluZXIuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGFBQWEsRUFBaUIsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEUsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLFVBQVUsQ0FBQztBQUVyQyxNQUFNLE9BQU8sR0FBRyxLQUFLLENBQUM7QUFDdEIsTUFBTSxLQUFLLEdBQUcsSUFBSSxXQUFXLENBQUMsa0JBQWtCLENBQUMsQ0FBQztBQUVsRCxRQUFRLENBQUMsa0JBQWtCLEVBQUUsR0F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05hbWV9PmBcbiAgICB9O1xufSk7XG5cbmV4cG9ydCBkZWZhdWx0ICgpID0+IHt9O1xuIl19
|
app-ng-runtime/build-task/esm2022/advanced/custom-widget-wrapper/custom-widget-wrapper.build.mjs
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
import { Attribute, Element } from '@angular/compiler';
|
2
|
-
import { getAttrMarkup, register } from '@wm/transpiler';
|
3
|
-
const tagName = 'section';
|
4
|
-
const noSpan = {};
|
5
|
-
const createElement = name => {
|
6
|
-
return new Element(name, [], [], noSpan, noSpan, noSpan);
|
7
|
-
};
|
8
|
-
const addAtrribute = (node, name, value) => {
|
9
|
-
const attr = new Attribute(name, value, noSpan, noSpan, noSpan, undefined, undefined);
|
10
|
-
node.attrs.push(attr);
|
11
|
-
};
|
12
|
-
register('wm-custom-widget-container', () => {
|
13
|
-
return {
|
14
|
-
template: (node) => {
|
15
|
-
const conditionalNode = createElement('ng-container');
|
16
|
-
// addAtrribute(conditionalNode, '*ngIf', 'compileContent');
|
17
|
-
conditionalNode.children = conditionalNode.children.concat(node.children);
|
18
|
-
node.children.length = 0;
|
19
|
-
node.children.push(conditionalNode);
|
20
|
-
},
|
21
|
-
pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
|
22
|
-
post: () => `</${tagName}>`
|
23
|
-
};
|
24
|
-
});
|
25
|
-
export default () => { };
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXdpZGdldC13cmFwcGVyLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy90cmFuc3BpbGUvc3JjL2FkdmFuY2VkL2N1c3RvbS13aWRnZXQtd3JhcHBlci9jdXN0b20td2lkZ2V0LXdyYXBwZXIuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFB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ICAgIG5vZGUuYXR0cnMucHVzaChhdHRyKTtcbn07XG5yZWdpc3Rlcignd20tY3VzdG9tLXdpZGdldC1jb250YWluZXInLCAoKTogSUJ1aWxkVGFza0RlZiA9PiB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgdGVtcGxhdGU6IChub2RlOiBFbGVtZW50KSAgPT4ge1xuICAgICAgICAgICAgY29uc3QgY29uZGl0aW9uYWxOb2RlID0gY3JlYXRlRWxlbWVudCgnbmctY29udGFpbmVyJyk7XG4gICAgICAgICAgICAvLyBhZGRBdHJyaWJ1dGUoY29uZGl0aW9uYWxOb2RlLCAnKm5nSWYnLCAnY29tcGlsZUNvbnRlbnQnKTtcbiAgICAgICAgICAgIGNvbmRpdGlvbmFsTm9kZS5jaGlsZHJlbiA9IGNvbmRpdGlvbmFsTm9kZS5jaGlsZHJlbi5jb25jYXQobm9kZS5jaGlsZHJlbik7XG4gICAgICAgICAgICBub2RlLmNoaWxkcmVuLmxlbmd0aCA9IDA7XG4gICAgICAgICAgICBub2RlLmNoaWxkcmVuLnB1c2goY29uZGl0aW9uYWxOb2RlKTtcbiAgICAgICAgfSxcbiAgICAgICAgcHJlOiBhdHRycyA9PiBgPCR7dGFnTmFtZX0gd21DdXN0b21XaWRnZXQgZGF0YS1yb2xlPVwid2lkZ2V0XCIgJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+YCxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5leHBvcnQgZGVmYXVsdCAoKSA9PiB7fTtcbiJdfQ==
|
@@ -1,232 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@wm/components/base'), require('@wm/core'), require('lodash-es')) :
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@wm/components/base', '@wm/core', 'lodash-es'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.advanced = global.wm.components.advanced || {}, global.wm.components.advanced.custom = {}), global.ng.core, global.ng.common, global.wm.components.base, global.wm.core, global._));
|
5
|
-
})(this, (function (exports, i0, common, base, i1, lodashEs) { 'use strict';
|
6
|
-
|
7
|
-
function _interopNamespaceDefault(e) {
|
8
|
-
var n = Object.create(null);
|
9
|
-
if (e) {
|
10
|
-
Object.keys(e).forEach(function (k) {
|
11
|
-
if (k !== 'default') {
|
12
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
13
|
-
Object.defineProperty(n, k, d.get ? d : {
|
14
|
-
enumerable: true,
|
15
|
-
get: function () { return e[k]; }
|
16
|
-
});
|
17
|
-
}
|
18
|
-
});
|
19
|
-
}
|
20
|
-
n.default = e;
|
21
|
-
return Object.freeze(n);
|
22
|
-
}
|
23
|
-
|
24
|
-
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
25
|
-
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
26
|
-
|
27
|
-
const customWidgetProps = new Map([
|
28
|
-
['class', base.PROP_STRING],
|
29
|
-
['hint', base.PROP_STRING],
|
30
|
-
['name', base.PROP_STRING],
|
31
|
-
['widgetname', base.PROP_STRING],
|
32
|
-
['show', { value: true, ...base.PROP_BOOLEAN }]
|
33
|
-
]);
|
34
|
-
const registerProps$1 = () => {
|
35
|
-
base.register('wm-custom-widget', customWidgetProps);
|
36
|
-
};
|
37
|
-
|
38
|
-
const registeredPropsSet = new Set();
|
39
|
-
let customWidgetPropsMap = {};
|
40
|
-
const DEFAULT_CLS$1 = 'app-html-container';
|
41
|
-
class CustomWidgetContainerDirective extends base.StylableComponent {
|
42
|
-
static { this.initializeProps = registerProps$1(); }
|
43
|
-
constructor(inj, elRef, widgetname) {
|
44
|
-
const widgetType = `wm-custom-${widgetname}`;
|
45
|
-
const WIDGET_CONFIG = { widgetType, hostClass: DEFAULT_CLS$1 };
|
46
|
-
let resolveFn = i1.noop;
|
47
|
-
super(inj, WIDGET_CONFIG, undefined, new Promise(res => resolveFn = res));
|
48
|
-
this.props = {};
|
49
|
-
this.propsReady = resolveFn;
|
50
|
-
this.widgetType = widgetType;
|
51
|
-
this.name = elRef.nativeElement.getAttribute('name');
|
52
|
-
base.styler(this.nativeElement, this);
|
53
|
-
// Call on property change on name to set name attribute on element.
|
54
|
-
this.registerReadyStateListener(() => {
|
55
|
-
super.onPropertyChange('name', this.name);
|
56
|
-
});
|
57
|
-
this.registerPropertyChangeListener(((key, nv, ov) => {
|
58
|
-
if (!key.startsWith('prop-'))
|
59
|
-
return;
|
60
|
-
const propName = key.slice(5);
|
61
|
-
if (this.props.hasOwnProperty(propName) && this.props[propName] !== nv) {
|
62
|
-
this.props[propName] = nv;
|
63
|
-
}
|
64
|
-
}));
|
65
|
-
}
|
66
|
-
setBaseWidgetName(baseWidgetType) {
|
67
|
-
let splitArr = baseWidgetType.split('-'), modifiedArr = [];
|
68
|
-
modifiedArr = splitArr.map((item) => {
|
69
|
-
item = item !== 'wm' ? lodashEs.capitalize(item) : item;
|
70
|
-
return item;
|
71
|
-
});
|
72
|
-
this.baseWidgetName = modifiedArr.join('');
|
73
|
-
}
|
74
|
-
setProps(config, resolveFn) {
|
75
|
-
this.setBaseWidgetName(config.widgetType);
|
76
|
-
if (!config || !config.properties) {
|
77
|
-
return;
|
78
|
-
}
|
79
|
-
if (!registeredPropsSet.has(this.widgetType)) {
|
80
|
-
base.register(this.widgetType, this.prepareProps(config.properties));
|
81
|
-
}
|
82
|
-
else {
|
83
|
-
this.props = Object.assign(this.props, lodashEs.cloneDeep(customWidgetPropsMap[this.widgetType]));
|
84
|
-
}
|
85
|
-
this.propsReady(resolveFn);
|
86
|
-
}
|
87
|
-
prepareProps(props = {}) {
|
88
|
-
const propsMap = new Map(customWidgetProps);
|
89
|
-
Object.entries(props).forEach(([k, v]) => {
|
90
|
-
let type = base.PROP_TYPE.STRING;
|
91
|
-
if (v.type === 'boolean') {
|
92
|
-
type = base.PROP_TYPE.BOOLEAN;
|
93
|
-
}
|
94
|
-
else if (v.type === 'number') {
|
95
|
-
type = base.PROP_TYPE.NUMBER;
|
96
|
-
}
|
97
|
-
else if (v.type !== 'string') {
|
98
|
-
type = v.type;
|
99
|
-
}
|
100
|
-
// Do not set the 'bind:*' values
|
101
|
-
propsMap.set(`prop-${k}`, { type, value: _.startsWith(v.value, 'bind:') ? undefined : v.value });
|
102
|
-
this.props[k] = v.value;
|
103
|
-
});
|
104
|
-
registeredPropsSet.add(this.widgetType);
|
105
|
-
customWidgetPropsMap[this.widgetType] = this.props;
|
106
|
-
return propsMap;
|
107
|
-
}
|
108
|
-
updateData(key, value) {
|
109
|
-
let modifiedKey = key.replace('base-', '');
|
110
|
-
this[this.baseWidgetName][modifiedKey] = value;
|
111
|
-
this.nativeElement.childNodes[0]['widget'].viewParent[this.baseWidgetName][modifiedKey] = value;
|
112
|
-
this[this.baseWidgetName].initDatasetItems();
|
113
|
-
}
|
114
|
-
static { this.ɵfac = function CustomWidgetContainerDirective_Factory(t) { return new (t || CustomWidgetContainerDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵinjectAttribute('widgetname')); }; }
|
115
|
-
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CustomWidgetContainerDirective, selectors: [["", "wmWidgetContainer", ""]], exportAs: ["wmWidgetContainer"], features: [i0__namespace.ɵɵProvidersFeature([
|
116
|
-
base.provideAsWidgetRef(CustomWidgetContainerDirective)
|
117
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
118
|
-
}
|
119
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CustomWidgetContainerDirective, [{
|
120
|
-
type: i0.Directive,
|
121
|
-
args: [{
|
122
|
-
selector: '[wmWidgetContainer]',
|
123
|
-
providers: [
|
124
|
-
base.provideAsWidgetRef(CustomWidgetContainerDirective)
|
125
|
-
],
|
126
|
-
exportAs: 'wmWidgetContainer'
|
127
|
-
}]
|
128
|
-
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.ElementRef }, { type: undefined, decorators: [{
|
129
|
-
type: i0.Attribute,
|
130
|
-
args: ['widgetname']
|
131
|
-
}] }], null); })();
|
132
|
-
|
133
|
-
const registerProps = () => {
|
134
|
-
base.register('wm-custom-widget-container', new Map([
|
135
|
-
['name', base.PROP_STRING],
|
136
|
-
['class', base.PROP_STRING]
|
137
|
-
]));
|
138
|
-
};
|
139
|
-
|
140
|
-
const DEFAULT_CLS = 'app-custom-widget-container clearfix';
|
141
|
-
const WIDGET_CONFIG = { widgetType: 'wm-custom-widget-container', hostClass: DEFAULT_CLS };
|
142
|
-
class CustomWidgetDirective extends base.StylableComponent {
|
143
|
-
static { this.initializeProps = registerProps(); }
|
144
|
-
constructor(inj, viewport) {
|
145
|
-
super(inj, WIDGET_CONFIG);
|
146
|
-
this.viewport = viewport;
|
147
|
-
this.registerDestroyListener(this.viewport.subscribe("resize" /* ViewportEvent.RESIZE */, data => this.callback('resize', data)));
|
148
|
-
this.registerDestroyListener(this.viewport.subscribe("orientationchange" /* ViewportEvent.ORIENTATION_CHANGE */, data => this.callback('orientationchange', data)));
|
149
|
-
}
|
150
|
-
ngAfterContentInit() {
|
151
|
-
let customWidget = this.nativeElement.closest('[customwidgetcontainer]'), inheritedProps = {}, customWidgetProps = Array.from(base.getWidgetPropsByType("wm-custom-widget-container").keys());
|
152
|
-
for (let i = 0; i < customWidget.attributes.length; i++) {
|
153
|
-
let attr = customWidget.attributes.item(i);
|
154
|
-
if (attr.value && attr.value !== '' && !customWidgetProps.includes(attr.name))
|
155
|
-
inheritedProps[attr.name] = attr.value;
|
156
|
-
}
|
157
|
-
this.processChildren(this.nativeElement.children, inheritedProps);
|
158
|
-
}
|
159
|
-
processChildren(children, inheritedProps) {
|
160
|
-
Array.from(children).forEach((child) => {
|
161
|
-
if (!child.hasAttribute('base-widget'))
|
162
|
-
this.processChildren(child.children, inheritedProps);
|
163
|
-
else {
|
164
|
-
for (const [key, value] of Object.entries(inheritedProps)) {
|
165
|
-
if (key.includes(".event") || key.includes('.bind'))
|
166
|
-
this.processAttr(key, value, { widget: child.widget, nativeElement: child });
|
167
|
-
else
|
168
|
-
child.widget[key] = value;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
});
|
172
|
-
}
|
173
|
-
callback(eventName, locals) {
|
174
|
-
locals = _.assign({ widget: this }, locals);
|
175
|
-
this.invokeEventCallback(eventName, locals);
|
176
|
-
}
|
177
|
-
ngOnAttach() {
|
178
|
-
this.callback('attach');
|
179
|
-
}
|
180
|
-
ngOnDetach() {
|
181
|
-
this.callback('detach');
|
182
|
-
}
|
183
|
-
ngOnDestroy() {
|
184
|
-
this.callback('destroy');
|
185
|
-
super.ngOnDestroy();
|
186
|
-
}
|
187
|
-
static { this.ɵfac = function CustomWidgetDirective_Factory(t) { return new (t || CustomWidgetDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i1__namespace.Viewport)); }; }
|
188
|
-
static { this.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: CustomWidgetDirective, selectors: [["", "wmCustomWidget", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
189
|
-
base.provideAsWidgetRef(CustomWidgetDirective)
|
190
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature] }); }
|
191
|
-
}
|
192
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CustomWidgetDirective, [{
|
193
|
-
type: i0.Directive,
|
194
|
-
args: [{
|
195
|
-
selector: '[wmCustomWidget]',
|
196
|
-
providers: [
|
197
|
-
base.provideAsWidgetRef(CustomWidgetDirective)
|
198
|
-
]
|
199
|
-
}]
|
200
|
-
}], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.Viewport }], null); })();
|
201
|
-
|
202
|
-
const components = [
|
203
|
-
CustomWidgetContainerDirective,
|
204
|
-
CustomWidgetDirective
|
205
|
-
];
|
206
|
-
class CustomModule {
|
207
|
-
static { this.ɵfac = function CustomModule_Factory(t) { return new (t || CustomModule)(); }; }
|
208
|
-
static { this.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: CustomModule }); }
|
209
|
-
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [common.CommonModule,
|
210
|
-
base.WmComponentsModule] }); }
|
211
|
-
}
|
212
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CustomModule, [{
|
213
|
-
type: i0.NgModule,
|
214
|
-
args: [{
|
215
|
-
imports: [
|
216
|
-
common.CommonModule,
|
217
|
-
base.WmComponentsModule
|
218
|
-
],
|
219
|
-
declarations: [...components],
|
220
|
-
exports: [...components]
|
221
|
-
}]
|
222
|
-
}], null, null); })();
|
223
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CustomModule, { declarations: [CustomWidgetContainerDirective,
|
224
|
-
CustomWidgetDirective], imports: [common.CommonModule,
|
225
|
-
base.WmComponentsModule], exports: [CustomWidgetContainerDirective,
|
226
|
-
CustomWidgetDirective] }); })();
|
227
|
-
|
228
|
-
exports.CustomModule = CustomModule;
|
229
|
-
exports.CustomWidgetContainerDirective = CustomWidgetContainerDirective;
|
230
|
-
exports.CustomWidgetDirective = CustomWidgetDirective;
|
231
|
-
|
232
|
-
}));
|