@wavemaker/app-ng-runtime 11.4.3-next.30202 → 11.4.3-rc.125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +1 -1
  2. app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/build-task/esm2015/input/default/button/button.build.js +2 -2
  4. app-ng-runtime/build-task/fesm2015/index.js +1 -1
  5. app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/base/bundles/index.umd.js +21 -3
  7. app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
  8. app-ng-runtime/components/base/esm2015/widgets/common/base/base-field-validations.js +22 -4
  9. app-ng-runtime/components/base/fesm2015/index.js +21 -3
  10. app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
  11. app-ng-runtime/components/basic/search/bundles/index.umd.js +1 -1
  12. app-ng-runtime/components/basic/search/bundles/index.umd.js.map +1 -1
  13. app-ng-runtime/components/basic/search/esm2015/search.component.js +2 -2
  14. app-ng-runtime/components/basic/search/fesm2015/index.js +1 -1
  15. app-ng-runtime/components/basic/search/fesm2015/index.js.map +1 -1
  16. app-ng-runtime/components/basic/search/index.metadata.json +1 -1
  17. app-ng-runtime/components/data/table/bundles/index.umd.js +6 -1
  18. app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
  19. app-ng-runtime/components/data/table/esm2015/table.component.js +7 -2
  20. app-ng-runtime/components/data/table/fesm2015/index.js +6 -1
  21. app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
  22. app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +1 -1
  23. app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js.map +1 -1
  24. app-ng-runtime/components/dialogs/alert-dialog/esm2015/alert-dialog.component.js +2 -2
  25. app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.js +1 -1
  26. app-ng-runtime/components/dialogs/alert-dialog/fesm2015/index.js.map +1 -1
  27. app-ng-runtime/components/dialogs/alert-dialog/index.metadata.json +1 -1
  28. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +2 -2
  29. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js.map +1 -1
  30. app-ng-runtime/components/dialogs/design-dialog/esm2015/dialog.component.js +2 -2
  31. app-ng-runtime/components/dialogs/design-dialog/esm2015/dialog.props.js +2 -2
  32. app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.js +2 -2
  33. app-ng-runtime/components/dialogs/design-dialog/fesm2015/index.js.map +1 -1
  34. app-ng-runtime/components/input/epoch/bundles/index.umd.js +8 -2
  35. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  36. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +7 -1
  37. app-ng-runtime/components/input/epoch/esm2015/date/date.props.js +2 -2
  38. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.props.js +2 -2
  39. app-ng-runtime/components/input/epoch/fesm2015/index.js +8 -2
  40. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  41. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +1 -1
  42. app-ng-runtime/components/navigation/popover/bundles/index.umd.js.map +1 -1
  43. app-ng-runtime/components/navigation/popover/esm2015/popover.props.js +2 -2
  44. app-ng-runtime/components/navigation/popover/fesm2015/index.js +1 -1
  45. app-ng-runtime/components/navigation/popover/fesm2015/index.js.map +1 -1
  46. app-ng-runtime/core/bundles/index.umd.js +3 -1
  47. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  48. app-ng-runtime/core/esm2015/services/state-persistence.service.js +4 -2
  49. app-ng-runtime/core/fesm2015/index.js +3 -1
  50. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  51. app-ng-runtime/http/bundles/index.umd.js +3 -3
  52. app-ng-runtime/http/bundles/index.umd.js.map +1 -1
  53. app-ng-runtime/http/esm2015/http.service.js +4 -4
  54. app-ng-runtime/http/fesm2015/index.js +3 -3
  55. app-ng-runtime/http/fesm2015/index.js.map +1 -1
  56. app-ng-runtime/http/http.service.d.ts +2 -2
  57. app-ng-runtime/package.json +1 -1
  58. app-ng-runtime/scripts/datatable/datatable.js +6 -0
  59. app-ng-runtime/variables/bundles/index.umd.js +1 -0
  60. app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
  61. app-ng-runtime/variables/esm2015/service/variables.service.js +2 -1
  62. app-ng-runtime/variables/fesm2015/index.js +1 -0
  63. 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', { value: true, PROP_BOOLEAN }],
12
+ ['closable', Object.assign({ 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: !toBoolean(modal)
45
+ keyboard: toBoolean(closable) ? true : !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, 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,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,YAAY,kBAAG,KAAK,EAAE,I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B,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;;;;;;"}
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(closable) ? true : !toBoolean(modal)\n\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,kBAAG,KAAK,EAAE,IAAI,IAAK,YAAY,EAAE;QAC5C,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,CAAC,MAAM,EAAE,WAAW,CAAC;QACrB,CAAC,YAAY,kBAAG,KAAK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;;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: false }, base.PROP_BOOLEAN)],
1646
+ ['adaptiveposition', Object.assign({ value: true }, 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,6 +1738,8 @@
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');
1741
1743
  if (this.isEnterPressedOnDateInput) {
1742
1744
  this.isEnterPressedOnDateInput = false;
1743
1745
  return;
@@ -1854,6 +1856,8 @@
1854
1856
  * This is an internal method triggered when pressing key on the date input
1855
1857
  */
1856
1858
  DateComponent.prototype.onDisplayKeydown = function (event) {
1859
+ this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
1860
+ this.updateFormat('datepattern');
1857
1861
  if (this.isDropDownDisplayEnabledOnInput(this.showdropdownon)) {
1858
1862
  event.stopPropagation();
1859
1863
  var action = this.keyEventPlugin.constructor.getEventFullKey(event);
@@ -1891,6 +1895,8 @@
1891
1895
  * This is an internal method triggered when the date selection changes
1892
1896
  */
1893
1897
  DateComponent.prototype.onDateChange = function (newVal) {
1898
+ this.datepattern = this.appDefaults.dateFormat || core$1.getDisplayDateTimeFormat(core$1.FormWidgetType.DATE);
1899
+ this.updateFormat('datepattern');
1894
1900
  /**
1895
1901
  * Ngx-bootstrap upgrade : To avoid the page load datechange event;
1896
1902
  * TODO:
@@ -1960,7 +1966,7 @@
1960
1966
  ['selectfromothermonth', Object.assign({ value: true }, base.PROP_BOOLEAN)],
1961
1967
  ['todaybutton', Object.assign({ value: true }, base.PROP_BOOLEAN)],
1962
1968
  ['clearbutton', Object.assign({ value: true }, base.PROP_BOOLEAN)],
1963
- ['adaptiveposition', Object.assign({ value: false }, base.PROP_BOOLEAN)],
1969
+ ['adaptiveposition', Object.assign({ value: true }, base.PROP_BOOLEAN)],
1964
1970
  ['todaybuttonlabel', Object.assign({ value: 'LABEL_TODAY_DATE' }, base.PROP_STRING)],
1965
1971
  ['clearbuttonlabel', Object.assign({ value: 'LABEL_CLEAR_DATE' }, base.PROP_STRING)]
1966
1972
  ]);