@wavemaker/app-ng-runtime 11.5.0-next.1417087 → 11.5.0-next.141918
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.
- app-ng-runtime/build-task/bundles/index.umd.js +1 -1
- app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
- app-ng-runtime/build-task/esm2015/input/default/button/button.build.js +2 -2
- app-ng-runtime/build-task/fesm2015/index.js +1 -1
- app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +3 -21
- app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/base/esm2015/widgets/common/base/base-field-validations.js +4 -22
- app-ng-runtime/components/base/fesm2015/index.js +3 -21
- app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/basic/search/esm2015/search.component.js +2 -2
- app-ng-runtime/components/basic/search/fesm2015/index.js +1 -1
- app-ng-runtime/components/basic/search/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/basic/search/index.metadata.json +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +1 -6
- app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/table/esm2015/table.component.js +2 -7
- app-ng-runtime/components/data/table/fesm2015/index.js +1 -6
- app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/esm2015/alert-dialog.component.js +2 -2
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.js +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/dialogs/alert-dialog/index.metadata.json +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +2 -2
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/esm2015/dialog.component.js +2 -2
- app-ng-runtime/components/dialogs/design-dialog/esm2015/dialog.props.js +2 -2
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.js +2 -2
- app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +2 -8
- app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +1 -7
- app-ng-runtime/components/input/epoch/esm2015/date/date.props.js +2 -2
- app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.props.js +2 -2
- app-ng-runtime/components/input/epoch/fesm2015/index.js +2 -8
- app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +1 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/navigation/popover/esm2015/popover.props.js +2 -2
- app-ng-runtime/components/navigation/popover/fesm2015/index.js +1 -1
- app-ng-runtime/components/navigation/popover/fesm2015/index.js.map +1 -1
- app-ng-runtime/http/bundles/index.umd.js +3 -3
- app-ng-runtime/http/bundles/index.umd.js.map +1 -1
- app-ng-runtime/http/esm2015/http.service.js +4 -4
- app-ng-runtime/http/fesm2015/index.js +3 -3
- app-ng-runtime/http/fesm2015/index.js.map +1 -1
- app-ng-runtime/http/http.service.d.ts +2 -2
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/variables/bundles/index.umd.js +0 -1
- app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
- app-ng-runtime/variables/esm2015/service/variables.service.js +1 -2
- app-ng-runtime/variables/fesm2015/index.js +0 -1
- app-ng-runtime/variables/fesm2015/index.js.map +1 -1
|
@@ -9,7 +9,7 @@ const registerProps = () => {
|
|
|
9
9
|
register('wm-dialog', new Map([
|
|
10
10
|
['animation', PROP_STRING],
|
|
11
11
|
['class', PROP_STRING],
|
|
12
|
-
['closable',
|
|
12
|
+
['closable', { value: true, PROP_BOOLEAN }],
|
|
13
13
|
['iconclass', { value: 'wi wi-file-text', PROP_STRING }],
|
|
14
14
|
['iconheight', PROP_STRING],
|
|
15
15
|
['iconmargin', PROP_STRING],
|
|
@@ -42,7 +42,7 @@ class DialogComponent extends BaseDialog {
|
|
|
42
42
|
super(inj, WIDGET_INFO, {
|
|
43
43
|
class: `${DIALOG_CLS} ${dialogClass || ''}`,
|
|
44
44
|
backdrop,
|
|
45
|
-
keyboard:
|
|
45
|
+
keyboard: !toBoolean(modal)
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
getTemplateRef() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../projects/components/widgets/dialogs/design-dialog/src/dialog.props.ts","../../../../../projects/components/widgets/dialogs/design-dialog/src/dialog.component.ts","../../../../../projects/components/widgets/dialogs/design-dialog/src/design-dialog.module.ts","../../../../../projects/components/widgets/dialogs/design-dialog/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-dialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../projects/components/widgets/dialogs/design-dialog/src/dialog.props.ts","../../../../../projects/components/widgets/dialogs/design-dialog/src/dialog.component.ts","../../../../../projects/components/widgets/dialogs/design-dialog/src/design-dialog.module.ts","../../../../../projects/components/widgets/dialogs/design-dialog/src/index.ts"],"sourcesContent":["import { PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, register } from '@wm/components/base';\n\nexport const registerProps = () => {\n register(\n 'wm-dialog',\n new Map(\n [\n ['animation', PROP_STRING],\n ['class', PROP_STRING],\n ['closable', {value: true, PROP_BOOLEAN}],\n ['iconclass', {value: 'wi wi-file-text', PROP_STRING}],\n ['iconheight', PROP_STRING],\n ['iconmargin', PROP_STRING],\n ['iconurl', PROP_STRING],\n ['iconwidth', PROP_STRING],\n ['modal', {value: true, ...PROP_BOOLEAN}],\n ['name', PROP_STRING],\n ['showheader', {value: true, ...PROP_BOOLEAN}],\n ['tabindex', {value: 0, ...PROP_NUMBER}],\n ['title', {value: 'Information', ...PROP_STRING}],\n ['eventsource', PROP_ANY]\n ]\n )\n );\n};\n","import { Attribute, Component, ContentChild, Inject, Injector, OnInit, Self, TemplateRef, ViewChild } from '@angular/core';\n\nimport { toBoolean } from '@wm/core';\nimport { Context, provideAsDialogRef, provideAsWidgetRef } from '@wm/components/base';\nimport { BaseDialog } from '@wm/components/dialogs';\n\nimport { registerProps } from './dialog.props';\n\nconst DIALOG_CLS = 'app-dialog modal-dialog';\n\nconst WIDGET_INFO = {widgetType: 'wm-dialog'};\n\n@Component({\n selector: 'div[wmDialog]',\n templateUrl: './dialog.component.html',\n providers: [\n provideAsWidgetRef(DialogComponent),\n provideAsDialogRef(DialogComponent),\n {provide: Context, useValue: {}, multi: true}\n ]\n})\nexport class DialogComponent extends BaseDialog implements OnInit {\n static initializeProps = registerProps();\n\n @ViewChild('dialogTemplate', { static: true, read: TemplateRef }) dialogTemplate: TemplateRef<any>;\n @ContentChild('dialogBody', /* TODO: add static flag */ { read: TemplateRef }) dialogBody: TemplateRef<any>;\n @ContentChild('dialogFooter', /* TODO: add static flag */ { read: TemplateRef }) dialogFooter: TemplateRef<any>;\n\n constructor(\n inj: Injector,\n @Attribute('class') dialogClass: string,\n @Attribute('modal') modal: string | boolean,\n @Attribute('closable') closable: string | boolean,\n @Self() @Inject(Context) contexts: Array<any>\n ) {\n if (modal === null || modal === undefined) {\n modal = true;\n }\n\n if (closable === null || closable === undefined) {\n closable = true;\n }\n\n // contexts[0] will refer to the self context provided by this component\n contexts[0].closeDialog = () => this.close();\n\n // setting the backdrop to 'static' will not close the dialog on backdrop click\n const backdrop: boolean | 'static' = toBoolean(modal) ? 'static' : true;\n\n super(\n inj,\n WIDGET_INFO,\n {\n class: `${DIALOG_CLS} ${dialogClass || ''}`,\n backdrop,\n keyboard: !toBoolean(modal)\n }\n );\n }\n\n protected getTemplateRef(): TemplateRef<any> {\n return this.dialogTemplate;\n }\n\n ngOnInit() {\n super.ngOnInit();\n this.register(this.viewParent);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { WmComponentsModule } from '@wm/components/base';\nimport { DialogModule } from '@wm/components/dialogs';\nimport { InputModule } from '@wm/components/input';\n\nimport { DialogComponent } from './dialog.component';\n\nconst components = [\n DialogComponent\n];\n\n@NgModule({\n imports: [\n CommonModule,\n DialogModule,\n InputModule,\n WmComponentsModule\n ],\n declarations: [...components],\n exports: [...components],\n entryComponents: []\n})\nexport class DesignDialogModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {registerProps as ɵa} from './dialog.props';"],"names":[],"mappings":";;;;;;;MAEa,aAAa,GAAG;IACzB,QAAQ,CACJ,WAAW,EACX,IAAI,GAAG,CACH;QACI,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,EAAE,WAAW,CAAC;QACtB,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,IAAI,EAAE,YAAY,EAAC,CAAC;QACzC,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAC,CAAC;QACtD,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,YAAY,EAAE,WAAW,CAAC;QAC3B,CAAC,SAAS,EAAE,WAAW,CAAC;QACxB,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,OAAO,kBAAG,KAAK,EAAE,IAAI,IAAK,YAAY,EAAE;QACzC,CAA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a,EAAE,CAAC;;YAV5C,SAAS,SAAC;gBACP,QAAQ,EAAE,eAAe;gBACzB,4jBAAsC;gBACtC,SAAS,EAAE;oBACP,kBAAkB,CAAC,eAAe,CAAC;oBACnC,kBAAkB,CAAC,eAAe,CAAC;oBACnC,EAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC;iBAChD;aACJ;;;YApBoD,QAAQ;yCA8BpD,SAAS,SAAC,OAAO;4CACjB,SAAS,SAAC,OAAO;4CACjB,SAAS,SAAC,UAAU;YACc,KAAK,uBAAvC,IAAI,YAAI,MAAM,SAAC,OAAO;;;6BAT1B,SAAS,SAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE;yBAC/D,YAAY,SAAC,YAAY,8BAA8B,EAAE,IAAI,EAAE,WAAW,EAAE;2BAC5E,YAAY,SAAC,cAAc,8BAA8B,EAAE,IAAI,EAAE,WAAW,EAAE;;;ACjBnF,MAAM,UAAU,GAAG;IACf,eAAe;CAClB,CAAC;MAaW,kBAAkB;;;YAX9B,QAAQ,SAAC;gBACN,OAAO,EAAE;oBACL,YAAY;oBACZ,YAAY;oBACZ,WAAW;oBACX,kBAAkB;iBACrB;gBACD,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;gBAC7B,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;gBACxB,eAAe,EAAE,EAAE;aACtB;;;ACvBD;;;;;;"}
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
['selectfromothermonth', Object.assign({ value: true }, base.PROP_BOOLEAN)],
|
|
1644
1644
|
['todaybutton', Object.assign({ value: true }, base.PROP_BOOLEAN)],
|
|
1645
1645
|
['clearbutton', Object.assign({ value: true }, base.PROP_BOOLEAN)],
|
|
1646
|
-
['adaptiveposition', Object.assign({ value:
|
|
1646
|
+
['adaptiveposition', Object.assign({ value: false }, base.PROP_BOOLEAN)],
|
|
1647
1647
|
['todaybuttonlabel', Object.assign({ value: 'LABEL_TODAY_DATE' }, base.PROP_STRING)],
|
|
1648
1648
|
['clearbuttonlabel', Object.assign({ value: 'LABEL_CLEAR_DATE' }, base.PROP_STRING)]
|
|
1649
1649
|
]);
|
|
@@ -1738,8 +1738,6 @@
|
|
|
1738
1738
|
*/
|
|
1739
1739
|
DateComponent.prototype.onDisplayDateChange = function ($event, isNativePicker) {
|
|
1740
1740
|
if (isNativePicker === void 0) { isNativePicker = false; }
|
|
1741
|
-
this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
|
|
1742
|
-
this.updateFormat('datepattern');
|
|
1743
1741
|
if (this.isEnterPressedOnDateInput) {
|
|
1744
1742
|
this.isEnterPressedOnDateInput = false;
|
|
1745
1743
|
return;
|
|
@@ -1856,8 +1854,6 @@
|
|
|
1856
1854
|
* This is an internal method triggered when pressing key on the date input
|
|
1857
1855
|
*/
|
|
1858
1856
|
DateComponent.prototype.onDisplayKeydown = function (event) {
|
|
1859
|
-
this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
|
|
1860
|
-
this.updateFormat('datepattern');
|
|
1861
1857
|
if (this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
|
|
1862
1858
|
event.stopPropagation();
|
|
1863
1859
|
var action = this.keyEventPlugin.constructor.getEventFullKey(event);
|
|
@@ -1895,8 +1891,6 @@
|
|
|
1895
1891
|
* This is an internal method triggered when the date selection changes
|
|
1896
1892
|
*/
|
|
1897
1893
|
DateComponent.prototype.onDateChange = function (newVal) {
|
|
1898
|
-
this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
|
|
1899
|
-
this.updateFormat('datepattern');
|
|
1900
1894
|
/**
|
|
1901
1895
|
* Ngx-bootstrap upgrade : To avoid the page load datechange event;
|
|
1902
1896
|
* TODO:
|
|
@@ -1966,7 +1960,7 @@
|
|
|
1966
1960
|
['selectfromothermonth', Object.assign({ value: true }, base.PROP_BOOLEAN)],
|
|
1967
1961
|
['todaybutton', Object.assign({ value: true }, base.PROP_BOOLEAN)],
|
|
1968
1962
|
['clearbutton', Object.assign({ value: true }, base.PROP_BOOLEAN)],
|
|
1969
|
-
['adaptiveposition', Object.assign({ value:
|
|
1963
|
+
['adaptiveposition', Object.assign({ value: false }, base.PROP_BOOLEAN)],
|
|
1970
1964
|
['todaybuttonlabel', Object.assign({ value: 'LABEL_TODAY_DATE' }, base.PROP_STRING)],
|
|
1971
1965
|
['clearbuttonlabel', Object.assign({ value: 'LABEL_CLEAR_DATE' }, base.PROP_STRING)]
|
|
1972
1966
|
]);
|