@breadstone/mosaik-elements-foundation 0.1.47 → 0.1.48

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 (86) hide show
  1. package/Controls/Components/Overlays/Drawer/DrawerContainerElement.d.ts +19 -0
  2. package/Controls/Components/Overlays/Drawer/DrawerContainerElement.d.ts.map +1 -1
  3. package/Controls/Components/Overlays/Drawer/DrawerContainerElement.js +44 -1
  4. package/Controls/Components/Overlays/Drawer/DrawerContainerElement.js.map +1 -1
  5. package/Controls/Components/Overlays/Drawer/DrawerContentElement.d.ts +12 -7
  6. package/Controls/Components/Overlays/Drawer/DrawerContentElement.d.ts.map +1 -1
  7. package/Controls/Components/Overlays/Drawer/DrawerContentElement.js +24 -19
  8. package/Controls/Components/Overlays/Drawer/DrawerContentElement.js.map +1 -1
  9. package/Controls/Components/Overlays/Drawer/DrawerElement.d.ts +5 -0
  10. package/Controls/Components/Overlays/Drawer/DrawerElement.d.ts.map +1 -1
  11. package/Controls/Components/Overlays/Drawer/DrawerElement.js +9 -0
  12. package/Controls/Components/Overlays/Drawer/DrawerElement.js.map +1 -1
  13. package/Controls/Components/Overlays/Drawer/IDrawerContainerElementProps.d.ts +7 -0
  14. package/Controls/Components/Overlays/Drawer/IDrawerContainerElementProps.d.ts.map +1 -1
  15. package/Controls/Components/Overlays/Drawer/IDrawerContentElementProps.d.ts +1 -1
  16. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Cosmopolitan.d.ts.map +1 -1
  17. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Cosmopolitan.js +2 -1
  18. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Cosmopolitan.js.map +1 -1
  19. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Joy.d.ts.map +1 -1
  20. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Joy.js +2 -1
  21. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Joy.js.map +1 -1
  22. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Memphis.d.ts.map +1 -1
  23. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Memphis.js +2 -1
  24. package/Controls/Components/Overlays/Drawer/Themes/DrawerContainerElement.Memphis.js.map +1 -1
  25. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.d.ts.map +1 -1
  26. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.js +10 -3
  27. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.js.map +1 -1
  28. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.d.ts.map +1 -1
  29. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.js +10 -3
  30. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.js.map +1 -1
  31. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.d.ts.map +1 -1
  32. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.js +10 -3
  33. package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.js.map +1 -1
  34. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.d.ts.map +1 -1
  35. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.js +4 -0
  36. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.js.map +1 -1
  37. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.d.ts.map +1 -1
  38. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.js +4 -0
  39. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.js.map +1 -1
  40. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.d.ts.map +1 -1
  41. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.js +4 -0
  42. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.js.map +1 -1
  43. package/Controls/Components/Primitives/Paginator/IPaginatorElementProps.d.ts +38 -0
  44. package/Controls/Components/Primitives/Paginator/IPaginatorElementProps.d.ts.map +1 -1
  45. package/Controls/Components/Primitives/Paginator/IPaginatorElementProps.js +10 -1
  46. package/Controls/Components/Primitives/Paginator/IPaginatorElementProps.js.map +1 -1
  47. package/Controls/Components/Primitives/Paginator/PaginatorElement.d.ts +104 -8
  48. package/Controls/Components/Primitives/Paginator/PaginatorElement.d.ts.map +1 -1
  49. package/Controls/Components/Primitives/Paginator/PaginatorElement.js +288 -32
  50. package/Controls/Components/Primitives/Paginator/PaginatorElement.js.map +1 -1
  51. package/Controls/Components/Primitives/Paginator/PaginatorElementTemplate.d.ts.map +1 -1
  52. package/Controls/Components/Primitives/Paginator/PaginatorElementTemplate.js +35 -28
  53. package/Controls/Components/Primitives/Paginator/PaginatorElementTemplate.js.map +1 -1
  54. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Cosmopolitan.d.ts.map +1 -1
  55. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Cosmopolitan.js +28 -2
  56. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Cosmopolitan.js.map +1 -1
  57. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Joy.d.ts.map +1 -1
  58. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Joy.js +28 -2
  59. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Joy.js.map +1 -1
  60. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Memphis.d.ts.map +1 -1
  61. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Memphis.js +28 -2
  62. package/Controls/Components/Primitives/Paginator/Themes/PaginatorElement.Memphis.js.map +1 -1
  63. package/Controls/Components/Primitives/Paginator/intl/PaginatorElementIntl.d.ts +9 -0
  64. package/Controls/Components/Primitives/Paginator/intl/PaginatorElementIntl.d.ts.map +1 -1
  65. package/Controls/Components/Primitives/Paginator/intl/PaginatorElementIntl.js +14 -0
  66. package/Controls/Components/Primitives/Paginator/intl/PaginatorElementIntl.js.map +1 -1
  67. package/Controls/Components/Shell/AppElement.d.ts +17 -8
  68. package/Controls/Components/Shell/AppElement.d.ts.map +1 -1
  69. package/Controls/Components/Shell/AppElement.js +19 -10
  70. package/Controls/Components/Shell/AppElement.js.map +1 -1
  71. package/Controls/Components/Shell/AppElementTemplate.d.ts.map +1 -1
  72. package/Controls/Components/Shell/AppElementTemplate.js +8 -6
  73. package/Controls/Components/Shell/AppElementTemplate.js.map +1 -1
  74. package/Controls/Components/Shell/Themes/AppElement.Cosmopolitan.d.ts.map +1 -1
  75. package/Controls/Components/Shell/Themes/AppElement.Cosmopolitan.js +37 -19
  76. package/Controls/Components/Shell/Themes/AppElement.Cosmopolitan.js.map +1 -1
  77. package/Controls/Components/Shell/Themes/AppElement.Joy.d.ts.map +1 -1
  78. package/Controls/Components/Shell/Themes/AppElement.Joy.js +38 -20
  79. package/Controls/Components/Shell/Themes/AppElement.Joy.js.map +1 -1
  80. package/Controls/Components/Shell/Themes/AppElement.Memphis.d.ts.map +1 -1
  81. package/Controls/Components/Shell/Themes/AppElement.Memphis.js +37 -19
  82. package/Controls/Components/Shell/Themes/AppElement.Memphis.js.map +1 -1
  83. package/Controls/events/PaginatorEvents.d.ts +20 -0
  84. package/Controls/events/PaginatorEvents.d.ts.map +1 -1
  85. package/custom-elements.json +325 -37
  86. package/package.json +3 -3
@@ -21,6 +21,10 @@ export function drawerContentElementCosmopolitanStyle() {
21
21
  --drawer-content-font-text-transform: unset;
22
22
  --drawer-content-font-weight: unset;
23
23
  --drawer-content-gap: unset;
24
+ --drawer-content-inset-bottom: unset;
25
+ --drawer-content-inset-left: unset;
26
+ --drawer-content-inset-right: unset;
27
+ --drawer-content-inset-top: unset;
24
28
  --drawer-content-padding-bottom: unset;
25
29
  --drawer-content-padding-left: unset;
26
30
  --drawer-content-padding-right: unset;
@@ -64,10 +68,13 @@ export function drawerContentElementCosmopolitanStyle() {
64
68
  }
65
69
 
66
70
  :host {
71
+ margin-left: var(--drawer-content-inset-left);
72
+ margin-right: var(--drawer-content-inset-right);
73
+ margin-top: var(--drawer-content-inset-top);
74
+ margin-bottom: var(--drawer-content-inset-bottom);
75
+ height: calc(100% - var(--drawer-content-inset-top) - var(--drawer-content-inset-bottom));
67
76
  z-index: 1;
68
- height: 100%;
69
- padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
70
- transition-property: transform, margin-left, margin-right;
77
+ transition-property: transform, margin-left, margin-right, margin-top, margin-bottom;
71
78
  transition-duration: .4s;
72
79
  transition-timing-function: cubic-bezier(.25, .8, .25, 1);
73
80
  display: block;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerContentElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qCAAqC;IACjD,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgET,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DrawerContentElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qCAAqC;IACjD,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuET,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerContentElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,SAAS,CAkExD"}
1
+ {"version":3,"file":"DrawerContentElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,SAAS,CAyExD"}
@@ -21,6 +21,10 @@ export function drawerContentElementJoyStyle() {
21
21
  --drawer-content-font-text-transform: unset;
22
22
  --drawer-content-font-weight: unset;
23
23
  --drawer-content-gap: var(--joy-layout-space);
24
+ --drawer-content-inset-bottom: var(--joy-layout-space);
25
+ --drawer-content-inset-left: unset;
26
+ --drawer-content-inset-right: var(--joy-layout-space);
27
+ --drawer-content-inset-top: var(--joy-layout-space);
24
28
  --drawer-content-padding-bottom: unset;
25
29
  --drawer-content-padding-left: unset;
26
30
  --drawer-content-padding-right: unset;
@@ -64,10 +68,13 @@ export function drawerContentElementJoyStyle() {
64
68
  }
65
69
 
66
70
  :host {
71
+ margin-left: var(--drawer-content-inset-left);
72
+ margin-right: var(--drawer-content-inset-right);
73
+ margin-top: var(--drawer-content-inset-top);
74
+ margin-bottom: var(--drawer-content-inset-bottom);
75
+ height: calc(100% - var(--drawer-content-inset-top) - var(--drawer-content-inset-bottom));
67
76
  z-index: 1;
68
- height: 100%;
69
- padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
70
- transition-property: transform, margin-left, margin-right;
77
+ transition-property: transform, margin-left, margin-right, margin-top, margin-bottom;
71
78
  transition-duration: .4s;
72
79
  transition-timing-function: cubic-bezier(.25, .8, .25, 1);
73
80
  display: block;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerContentElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,4BAA4B;IACxC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgET,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DrawerContentElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,4BAA4B;IACxC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuET,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerContentElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,gCAAgC,IAAI,SAAS,CAkE5D"}
1
+ {"version":3,"file":"DrawerContentElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,gCAAgC,IAAI,SAAS,CAyE5D"}
@@ -21,6 +21,10 @@ export function drawerContentElementMemphisStyle() {
21
21
  --drawer-content-font-text-transform: unset;
22
22
  --drawer-content-font-weight: unset;
23
23
  --drawer-content-gap: var(--memphis-layout-space);
24
+ --drawer-content-inset-bottom: unset;
25
+ --drawer-content-inset-left: unset;
26
+ --drawer-content-inset-right: unset;
27
+ --drawer-content-inset-top: unset;
24
28
  --drawer-content-padding-bottom: unset;
25
29
  --drawer-content-padding-left: unset;
26
30
  --drawer-content-padding-right: unset;
@@ -64,10 +68,13 @@ export function drawerContentElementMemphisStyle() {
64
68
  }
65
69
 
66
70
  :host {
71
+ margin-left: var(--drawer-content-inset-left);
72
+ margin-right: var(--drawer-content-inset-right);
73
+ margin-top: var(--drawer-content-inset-top);
74
+ margin-bottom: var(--drawer-content-inset-bottom);
75
+ height: calc(100% - var(--drawer-content-inset-top) - var(--drawer-content-inset-bottom));
67
76
  z-index: 1;
68
- height: 100%;
69
- padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
70
- transition-property: transform, margin-left, margin-right;
77
+ transition-property: transform, margin-left, margin-right, margin-top, margin-bottom;
71
78
  transition-duration: .4s;
72
79
  transition-timing-function: cubic-bezier(.25, .8, .25, 1);
73
80
  display: block;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerContentElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,gCAAgC;IAC5C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgET,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DrawerContentElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,gCAAgC;IAC5C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuET,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,SAAS,CAsP1D"}
1
+ {"version":3,"file":"DrawerElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,SAAS,CA0P1D"}
@@ -95,8 +95,12 @@ export function drawerElementCosmopolitanStyle() {
95
95
  transition-duration: var(--drawer-transition-duration);
96
96
  transition-timing-function: var(--drawer-transition-mode);
97
97
  transition-property: var(--drawer-transition-property);
98
+ padding: 0;
99
+ padding-top: env(safe-area-inset-top);
100
+ padding-bottom: env(safe-area-inset-bottom);
98
101
  border-radius: 0;
99
102
  flex-direction: column;
103
+ margin: 0;
100
104
  display: flex;
101
105
  position: absolute;
102
106
  overflow: hidden;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,8BAA8B;IAC1C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoPT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DrawerElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,8BAA8B;IAC1C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwPT,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,CA6PjD"}
1
+ {"version":3,"file":"DrawerElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,CAiQjD"}
@@ -95,8 +95,12 @@ export function drawerElementJoyStyle() {
95
95
  transition-duration: var(--drawer-transition-duration);
96
96
  transition-timing-function: var(--drawer-transition-mode);
97
97
  transition-property: var(--drawer-transition-property);
98
+ padding: 0;
99
+ padding-top: env(safe-area-inset-top);
100
+ padding-bottom: env(safe-area-inset-bottom);
98
101
  border-radius: 0;
99
102
  flex-direction: column;
103
+ margin: 0;
100
104
  display: flex;
101
105
  position: absolute;
102
106
  overflow: hidden;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACjC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2PT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DrawerElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACjC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+PT,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,CA0PrD"}
1
+ {"version":3,"file":"DrawerElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,CA8PrD"}
@@ -95,8 +95,12 @@ export function drawerElementMemphisStyle() {
95
95
  transition-duration: var(--drawer-transition-duration);
96
96
  transition-timing-function: var(--drawer-transition-mode);
97
97
  transition-property: var(--drawer-transition-property);
98
+ padding: 0;
99
+ padding-top: env(safe-area-inset-top);
100
+ padding-bottom: env(safe-area-inset-bottom);
98
101
  border-radius: 0;
99
102
  flex-direction: column;
103
+ margin: 0;
100
104
  display: flex;
101
105
  position: absolute;
102
106
  overflow: hidden;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwPT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"DrawerElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4PT,CAAC;AACN,CAAC"}
@@ -11,10 +11,18 @@ export interface IPaginatorElementProps extends IDisableableProps, IVariantableP
11
11
  * The length of the total number of items that are being paginated. Defaulted to 0.
12
12
  */
13
13
  total: number;
14
+ /**
15
+ * Number of total records. Alias for {@link total}.
16
+ */
17
+ totalRecords: number;
14
18
  /**
15
19
  * Number of items to display on a page. By default set to 20.
16
20
  */
17
21
  size: number;
22
+ /**
23
+ * Data count to display per page. Alias for {@link size}.
24
+ */
25
+ rows: number;
18
26
  /**
19
27
  * The set of provided page size options to display to the user.
20
28
  */
@@ -27,10 +35,40 @@ export interface IPaginatorElementProps extends IDisableableProps, IVariantableP
27
35
  * The current page index (0-based). Defaulted to 0.
28
36
  */
29
37
  currentPage: number;
38
+ /**
39
+ * Zero-relative number of the first row to be displayed.
40
+ */
41
+ first: number;
42
+ /**
43
+ * Number of page links to display.
44
+ */
45
+ pageLinkSize: number;
46
+ /**
47
+ * Whether to show the paginator when there is only one page.
48
+ */
49
+ alwaysShow: boolean;
50
+ /**
51
+ * Whether to display page number links.
52
+ */
53
+ showPageLinks: boolean;
54
+ /**
55
+ * Whether to show first and last page navigation icons.
56
+ */
57
+ showFirstLastIcon: boolean;
30
58
  /**
31
59
  * Whether to show the first and last page navigation buttons. Defaulted to true.
60
+ *
61
+ * @deprecated Use {@link showFirstLastIcon}.
32
62
  */
33
63
  showFirstLastButtons: boolean;
64
+ /**
65
+ * Whether to display the current page report.
66
+ */
67
+ showCurrentPageReport: boolean;
68
+ /**
69
+ * Template for the current page report.
70
+ */
71
+ currentPageReportTemplate: string;
34
72
  }
35
73
  /**
36
74
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"IPaginatorElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Primitives/Paginator/IPaginatorElementProps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAInE;;;;GAIG;AACH,MAAM,WAAW,sBACb,SAAQ,iBAAiB,EAAE,iBAAiB,EAAE,oBAAoB;IAIlE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,oBAAoB,EAAE,OAAO,CAAC;CAIjC;AAED;;GAEG;AACH,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,QAAQ,EAAE,sBAUtB,CAAC;CACL"}
1
+ {"version":3,"file":"IPaginatorElementProps.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Primitives/Paginator/IPaginatorElementProps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAInE;;;;GAIG;AACH,MAAM,WAAW,sBACb,SAAQ,iBAAiB,EAAE,iBAAiB,EAAE,oBAAoB;IAIlE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;CAIrC;AAED;;GAEG;AACH,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,QAAQ,EAAE,sBAmBtB,CAAC;CACL"}
@@ -12,11 +12,20 @@ export var IPaginatorElementProps;
12
12
  variant: IVariantableProps.DEFAULTS.variant,
13
13
  appearance: IAppearanceableProps.DEFAULTS.appearance,
14
14
  total: 0,
15
+ totalRecords: 0,
15
16
  size: 20,
17
+ rows: 20,
16
18
  sizes: [20, 50, 100],
17
19
  showSizes: false,
18
20
  currentPage: 0,
19
- showFirstLastButtons: true
21
+ first: 0,
22
+ pageLinkSize: 5,
23
+ alwaysShow: true,
24
+ showPageLinks: true,
25
+ showFirstLastIcon: true,
26
+ showFirstLastButtons: true,
27
+ showCurrentPageReport: false,
28
+ currentPageReportTemplate: '{currentPage} of {totalPages}'
20
29
  };
21
30
  })(IPaginatorElementProps || (IPaginatorElementProps = {}));
22
31
  //# sourceMappingURL=IPaginatorElementProps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IPaginatorElementProps.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Primitives/Paginator/IPaginatorElementProps.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAgDnE;;GAEG;AACH,MAAM,KAAW,sBAAsB,CAYtC;AAZD,WAAiB,sBAAsB;IACtB,+BAAQ,GAA2B;QAC5C,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,CAAC,QAAQ;QAC7C,OAAO,EAAE,iBAAiB,CAAC,QAAQ,CAAC,OAAO;QAC3C,UAAU,EAAE,oBAAoB,CAAC,QAAQ,CAAC,UAAU;QACpD,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC;QACpB,SAAS,EAAE,KAAK;QAChB,WAAW,EAAE,CAAC;QACd,oBAAoB,EAAE,IAAI;KAC7B,CAAC;AACN,CAAC,EAZgB,sBAAsB,KAAtB,sBAAsB,QAYtC"}
1
+ {"version":3,"file":"IPaginatorElementProps.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Primitives/Paginator/IPaginatorElementProps.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA+FnE;;GAEG;AACH,MAAM,KAAW,sBAAsB,CAqBtC;AArBD,WAAiB,sBAAsB;IACtB,+BAAQ,GAA2B;QAC5C,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,CAAC,QAAQ;QAC7C,OAAO,EAAE,iBAAiB,CAAC,QAAQ,CAAC,OAAO;QAC3C,UAAU,EAAE,oBAAoB,CAAC,QAAQ,CAAC,UAAU;QACpD,KAAK,EAAE,CAAC;QACR,YAAY,EAAE,CAAC;QACf,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC;QACpB,SAAS,EAAE,KAAK;QAChB,WAAW,EAAE,CAAC;QACd,KAAK,EAAE,CAAC;QACR,YAAY,EAAE,CAAC;QACf,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,IAAI;QACnB,iBAAiB,EAAE,IAAI;QACvB,oBAAoB,EAAE,IAAI;QAC1B,qBAAqB,EAAE,KAAK;QAC5B,yBAAyB,EAAE,+BAA+B;KAC7D,CAAC;AACN,CAAC,EArBgB,sBAAsB,KAAtB,sBAAsB,QAqBtC"}
@@ -13,17 +13,17 @@ declare const PaginatorElement_base: (abstract new (...args: Array<any>) => impo
13
13
  * @element mosaik-paginator
14
14
  * @category UI Components
15
15
  *
16
- * @csspart container - The main container element.
16
+ * @csspart container navigation-container - The container navigation-container part.
17
17
  * @csspart first - The first page button.
18
18
  * @csspart last - The last page button.
19
19
  * @csspart next - The next page button.
20
- * @csspart page - Individual page button.
21
- * @csspart pages-container - The container for the page number buttons.
20
+ * @csspart current-page-report - The current page report text.
21
+ * @csspart pages-container page-links - The pages-container page-links part.
22
22
  * @csspart previous - The previous page button.
23
- * @csspart range - The range display showing current page range.
24
- * @csspart range-container - The container for the page range display.
23
+ * @csspart range current-page-report - The range current-page-report part.
24
+ * @csspart range-container report-container - The range-container report-container part.
25
25
  * @csspart size-selector - The page size selector itself.
26
- * @csspart size-selector-container - The container for the page size selector.
26
+ * @csspart size-selector-container page-size-container - The size-selector-container page-size-container part.
27
27
  *
28
28
  * @cssprop {Color} --paginator-background-color - The background-color property for the paginator.
29
29
  * @cssprop {String} --paginator-font-family - The font-family property for the paginator text.
@@ -55,7 +55,6 @@ declare const PaginatorElement_base: (abstract new (...args: Array<any>) => impo
55
55
  * @dependency mosaik-button - The Button element.
56
56
  * @dependency mosaik-select - The Select element.
57
57
  * @dependency mosaik-select-item - The Select Item element.
58
- * @dependency mosaik-stack - The Stack element.
59
58
  * @dependency mosaik-text - The Text element.
60
59
  *
61
60
  * @example
@@ -85,7 +84,12 @@ export declare class PaginatorElement extends PaginatorElement_base implements I
85
84
  private _sizes;
86
85
  private _showSizes;
87
86
  private _currentPage;
88
- private _showFirstLastButtons;
87
+ private _pageLinkSize;
88
+ private _alwaysShow;
89
+ private _showPageLinks;
90
+ private _showFirstLastIcon;
91
+ private _showCurrentPageReport;
92
+ private _currentPageReportTemplate;
89
93
  /**
90
94
  * @public
91
95
  */
@@ -107,6 +111,14 @@ export declare class PaginatorElement extends PaginatorElement_base implements I
107
111
  */
108
112
  get total(): number;
109
113
  set total(value: number);
114
+ /**
115
+ * Gets or sets the `totalRecords` property.
116
+ *
117
+ * @public
118
+ * @attr
119
+ */
120
+ get totalRecords(): number;
121
+ set totalRecords(value: number);
110
122
  /**
111
123
  * Gets or sets the `size` property.
112
124
  *
@@ -115,6 +127,14 @@ export declare class PaginatorElement extends PaginatorElement_base implements I
115
127
  */
116
128
  get size(): number;
117
129
  set size(value: number);
130
+ /**
131
+ * Gets or sets the `rows` property.
132
+ *
133
+ * @public
134
+ * @attr
135
+ */
136
+ get rows(): number;
137
+ set rows(value: number);
118
138
  /**
119
139
  * Gets or sets the `sizes` property.
120
140
  *
@@ -146,14 +166,71 @@ export declare class PaginatorElement extends PaginatorElement_base implements I
146
166
  */
147
167
  get currentPage(): number;
148
168
  set currentPage(value: number);
169
+ /**
170
+ * Gets or sets the `first` property.
171
+ *
172
+ * @public
173
+ * @attr
174
+ */
175
+ get first(): number;
176
+ set first(value: number);
177
+ /**
178
+ * Gets or sets the `pageLinkSize` property.
179
+ *
180
+ * @public
181
+ * @attr
182
+ */
183
+ get pageLinkSize(): number;
184
+ set pageLinkSize(value: number);
185
+ /**
186
+ * Gets or sets the `alwaysShow` property.
187
+ *
188
+ * @public
189
+ * @attr
190
+ */
191
+ get alwaysShow(): boolean;
192
+ set alwaysShow(value: boolean);
193
+ /**
194
+ * Gets or sets the `showPageLinks` property.
195
+ *
196
+ * @public
197
+ * @attr
198
+ */
199
+ get showPageLinks(): boolean;
200
+ set showPageLinks(value: boolean);
201
+ /**
202
+ * Gets or sets the `showFirstLastIcon` property.
203
+ *
204
+ * @public
205
+ * @attr
206
+ */
207
+ get showFirstLastIcon(): boolean;
208
+ set showFirstLastIcon(value: boolean);
149
209
  /**
150
210
  * Gets or sets the `showFirstLastButtons` property.
151
211
  *
152
212
  * @public
153
213
  * @attr
214
+ * @deprecated Use {@link showFirstLastIcon}.
154
215
  */
155
216
  get showFirstLastButtons(): boolean;
156
217
  set showFirstLastButtons(value: boolean);
218
+ /**
219
+ * Gets or sets the `showCurrentPageReport` property.
220
+ *
221
+ * @public
222
+ * @attr
223
+ */
224
+ get showCurrentPageReport(): boolean;
225
+ set showCurrentPageReport(value: boolean);
226
+ /**
227
+ * Gets or sets the `currentPageReportTemplate` property.
228
+ *
229
+ * @public
230
+ * @attr
231
+ */
232
+ get currentPageReportTemplate(): string;
233
+ set currentPageReportTemplate(value: string);
157
234
  /**
158
235
  * Gets the total number of pages.
159
236
  *
@@ -189,6 +266,20 @@ export declare class PaginatorElement extends PaginatorElement_base implements I
189
266
  * @readonly
190
267
  */
191
268
  get hasNextPage(): boolean;
269
+ /**
270
+ * Gets a value indicating whether the paginator should be rendered.
271
+ *
272
+ * @public
273
+ * @readonly
274
+ */
275
+ get isVisible(): boolean;
276
+ /**
277
+ * Gets the current page report text.
278
+ *
279
+ * @public
280
+ * @readonly
281
+ */
282
+ get currentPageReport(): string;
192
283
  /**
193
284
  * Called when the page changes.
194
285
  * Provides reference to the `IEventEmitter` as event argument.
@@ -255,6 +346,11 @@ export declare class PaginatorElement extends PaginatorElement_base implements I
255
346
  * @returns An array of page numbers.
256
347
  */
257
348
  calculatePages(total: number, size: number): Array<number>;
349
+ private get currentPageNumber();
350
+ private clampCurrentPage;
351
+ private normalizeNonNegativeNumber;
352
+ private normalizePageIndex;
353
+ private createPaginatedEventDetail;
258
354
  }
259
355
  /**
260
356
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatorElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Primitives/Paginator/PaginatorElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAU1F,OAAO,KAAK,EAAE,qBAAqB,EA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C;KACxC;CACJ"}
1
+ {"version":3,"file":"PaginatorElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Primitives/Paginator/PaginatorElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAU1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;;AAQnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,qBAca,gBACT,SAAQ,qBACR,YAAW,sBAAsB;IAIjC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuC;IAC7D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAuC;IACpE,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAuC;IACxE,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,UAAU,CAAU;IAC5B,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,cAAc,CAAU;IAChC,OAAO,CAAC,kBAAkB,CAAU;IACpC,OAAO,CAAC,sBAAsB,CAAU;IACxC,OAAO,CAAC,0BAA0B,CAAS;IAM3C;;OAEG;;IA4BH;;;;;;;OAOG;IACH,WAAkB,EAAE,IAAI,MAAM,CAE7B;IAED;;;;;OAKG;IACH,IACW,KAAK,IAAI,MAAM,CAEzB;IACD,IAAW,KAAK,CAAC,KAAK,EAAE,MAAM,EAQ7B;IAED;;;;;OAKG;IACH,IACW,YAAY,IA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