@ember-eui/pikaday 9.0.0 → 10.0.0

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 (178) hide show
  1. package/declarations/core/src/components/eui-accordion.d.ts +1 -1
  2. package/declarations/core/src/components/eui-accordion.d.ts.map +1 -1
  3. package/declarations/core/src/components/eui-avatar.d.ts +1 -1
  4. package/declarations/core/src/components/eui-avatar.d.ts.map +1 -1
  5. package/declarations/core/src/components/eui-badge-group.d.ts +1 -1
  6. package/declarations/core/src/components/eui-badge-group.d.ts.map +1 -1
  7. package/declarations/core/src/components/eui-badge.d.ts +1 -1
  8. package/declarations/core/src/components/eui-badge.d.ts.map +1 -1
  9. package/declarations/core/src/components/eui-beta-badge.d.ts +1 -1
  10. package/declarations/core/src/components/eui-beta-badge.d.ts.map +1 -1
  11. package/declarations/core/src/components/eui-breadcrumbs.d.ts +1 -1
  12. package/declarations/core/src/components/eui-breadcrumbs.d.ts.map +1 -1
  13. package/declarations/core/src/components/eui-button-empty.d.ts +1 -1
  14. package/declarations/core/src/components/eui-button-empty.d.ts.map +1 -1
  15. package/declarations/core/src/components/eui-button-icon.d.ts +1 -1
  16. package/declarations/core/src/components/eui-button-icon.d.ts.map +1 -1
  17. package/declarations/core/src/components/eui-call-out.d.ts +1 -1
  18. package/declarations/core/src/components/eui-call-out.d.ts.map +1 -1
  19. package/declarations/core/src/components/eui-code-block.d.ts +1 -1
  20. package/declarations/core/src/components/eui-code-block.d.ts.map +1 -1
  21. package/declarations/core/src/components/eui-code.d.ts +1 -1
  22. package/declarations/core/src/components/eui-code.d.ts.map +1 -1
  23. package/declarations/core/src/components/eui-collapsible-nav.d.ts +1 -1
  24. package/declarations/core/src/components/eui-collapsible-nav.d.ts.map +1 -1
  25. package/declarations/core/src/components/eui-comment-timeline.d.ts +1 -1
  26. package/declarations/core/src/components/eui-comment-timeline.d.ts.map +1 -1
  27. package/declarations/core/src/components/eui-context-menu-item.d.ts +1 -1
  28. package/declarations/core/src/components/eui-context-menu-item.d.ts.map +1 -1
  29. package/declarations/core/src/components/eui-description-list.d.ts +1 -1
  30. package/declarations/core/src/components/eui-description-list.d.ts.map +1 -1
  31. package/declarations/core/src/components/eui-field-number.d.ts +1 -1
  32. package/declarations/core/src/components/eui-field-number.d.ts.map +1 -1
  33. package/declarations/core/src/components/eui-file-picker.d.ts +1 -1
  34. package/declarations/core/src/components/eui-file-picker.d.ts.map +1 -1
  35. package/declarations/core/src/components/eui-flex-grid.d.ts +1 -1
  36. package/declarations/core/src/components/eui-flex-grid.d.ts.map +1 -1
  37. package/declarations/core/src/components/eui-flex-group.d.ts +1 -1
  38. package/declarations/core/src/components/eui-flex-group.d.ts.map +1 -1
  39. package/declarations/core/src/components/eui-flex-item.d.ts +1 -1
  40. package/declarations/core/src/components/eui-flex-item.d.ts.map +1 -1
  41. package/declarations/core/src/components/eui-flyout.d.ts +1 -1
  42. package/declarations/core/src/components/eui-flyout.d.ts.map +1 -1
  43. package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts +2 -2
  44. package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts.map +1 -1
  45. package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts +2 -2
  46. package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts.map +1 -1
  47. package/declarations/core/src/components/eui-form-row.d.ts +1 -1
  48. package/declarations/core/src/components/eui-form-row.d.ts.map +1 -1
  49. package/declarations/core/src/components/eui-header-links.d.ts +2 -2
  50. package/declarations/core/src/components/eui-header-links.d.ts.map +1 -1
  51. package/declarations/core/src/components/eui-header-section-item-button.d.ts +1 -1
  52. package/declarations/core/src/components/eui-header-section-item-button.d.ts.map +1 -1
  53. package/declarations/core/src/components/eui-header-section-item.d.ts +1 -1
  54. package/declarations/core/src/components/eui-header-section-item.d.ts.map +1 -1
  55. package/declarations/core/src/components/eui-header-section.d.ts +1 -1
  56. package/declarations/core/src/components/eui-header-section.d.ts.map +1 -1
  57. package/declarations/core/src/components/eui-health.d.ts +1 -1
  58. package/declarations/core/src/components/eui-health.d.ts.map +1 -1
  59. package/declarations/core/src/components/eui-hide-for.d.ts +1 -1
  60. package/declarations/core/src/components/eui-hide-for.d.ts.map +1 -1
  61. package/declarations/core/src/components/eui-horizontal-rule.d.ts +1 -1
  62. package/declarations/core/src/components/eui-horizontal-rule.d.ts.map +1 -1
  63. package/declarations/core/src/components/eui-i18n.d.ts +1 -1
  64. package/declarations/core/src/components/eui-icon.d.ts +3 -3
  65. package/declarations/core/src/components/eui-icon.d.ts.map +1 -1
  66. package/declarations/core/src/components/eui-image.d.ts +1 -1
  67. package/declarations/core/src/components/eui-image.d.ts.map +1 -1
  68. package/declarations/core/src/components/eui-list-group-item.d.ts +1 -1
  69. package/declarations/core/src/components/eui-list-group-item.d.ts.map +1 -1
  70. package/declarations/core/src/components/eui-loading-spinner.d.ts +1 -1
  71. package/declarations/core/src/components/eui-loading-spinner.d.ts.map +1 -1
  72. package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts +7 -2
  73. package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts.map +1 -1
  74. package/declarations/core/src/components/eui-markdown-editor.d.ts +2 -2
  75. package/declarations/core/src/components/eui-markdown-editor.d.ts.map +1 -1
  76. package/declarations/core/src/components/eui-markdown-format.d.ts +3 -3
  77. package/declarations/core/src/components/eui-markdown-format.d.ts.map +1 -1
  78. package/declarations/core/src/components/eui-notification-badge.d.ts +1 -1
  79. package/declarations/core/src/components/eui-notification-badge.d.ts.map +1 -1
  80. package/declarations/core/src/components/eui-page-content-body.d.ts +1 -1
  81. package/declarations/core/src/components/eui-page-content-body.d.ts.map +1 -1
  82. package/declarations/core/src/components/eui-page-header-content.d.ts +2 -2
  83. package/declarations/core/src/components/eui-page-header-content.d.ts.map +1 -1
  84. package/declarations/core/src/components/eui-page-header.d.ts +1 -1
  85. package/declarations/core/src/components/eui-page-header.d.ts.map +1 -1
  86. package/declarations/core/src/components/eui-page-side-bar.d.ts +1 -1
  87. package/declarations/core/src/components/eui-page-side-bar.d.ts.map +1 -1
  88. package/declarations/core/src/components/eui-pagination-button.d.ts +1 -1
  89. package/declarations/core/src/components/eui-pagination-button.d.ts.map +1 -1
  90. package/declarations/core/src/components/eui-panel.d.ts +1 -1
  91. package/declarations/core/src/components/eui-panel.d.ts.map +1 -1
  92. package/declarations/core/src/components/eui-popover-footer.d.ts +1 -1
  93. package/declarations/core/src/components/eui-popover-footer.d.ts.map +1 -1
  94. package/declarations/core/src/components/eui-popover-title.d.ts +1 -1
  95. package/declarations/core/src/components/eui-popover-title.d.ts.map +1 -1
  96. package/declarations/core/src/components/eui-popover.d.ts +2 -2
  97. package/declarations/core/src/components/eui-popover.d.ts.map +1 -1
  98. package/declarations/core/src/components/eui-progress.d.ts +1 -1
  99. package/declarations/core/src/components/eui-progress.d.ts.map +1 -1
  100. package/declarations/core/src/components/eui-range-slider.d.ts +1 -1
  101. package/declarations/core/src/components/eui-range-slider.d.ts.map +1 -1
  102. package/declarations/core/src/components/eui-range-track.d.ts +1 -1
  103. package/declarations/core/src/components/eui-show-for.d.ts +1 -1
  104. package/declarations/core/src/components/eui-show-for.d.ts.map +1 -1
  105. package/declarations/core/src/components/eui-side-nav.d.ts +1 -1
  106. package/declarations/core/src/components/eui-side-nav.d.ts.map +1 -1
  107. package/declarations/core/src/components/eui-spacer.d.ts +1 -1
  108. package/declarations/core/src/components/eui-spacer.d.ts.map +1 -1
  109. package/declarations/core/src/components/eui-stat.d.ts +2 -2
  110. package/declarations/core/src/components/eui-stat.d.ts.map +1 -1
  111. package/declarations/core/src/components/eui-step-number.d.ts +1 -1
  112. package/declarations/core/src/components/eui-step-number.d.ts.map +1 -1
  113. package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +1 -1
  114. package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +1 -1
  115. package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts +1 -1
  116. package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +1 -1
  117. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +1 -1
  118. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +1 -1
  119. package/declarations/core/src/components/eui-super-date-picker.d.ts +1 -1
  120. package/declarations/core/src/components/eui-super-date-picker.d.ts.map +1 -1
  121. package/declarations/core/src/components/eui-tabbed-content.d.ts +1 -1
  122. package/declarations/core/src/components/eui-tabbed-content.d.ts.map +1 -1
  123. package/declarations/core/src/components/eui-tabs.d.ts +1 -1
  124. package/declarations/core/src/components/eui-tabs.d.ts.map +1 -1
  125. package/declarations/core/src/components/eui-text-area.d.ts +1 -1
  126. package/declarations/core/src/components/eui-text-area.d.ts.map +1 -1
  127. package/declarations/core/src/components/eui-text.d.ts +3 -3
  128. package/declarations/core/src/components/eui-text.d.ts.map +1 -1
  129. package/declarations/core/src/components/eui-title.d.ts +1 -1
  130. package/declarations/core/src/components/eui-title.d.ts.map +1 -1
  131. package/declarations/core/src/components/eui-tool-tip-popover.d.ts +1 -1
  132. package/declarations/core/src/components/eui-tool-tip-popover.d.ts.map +1 -1
  133. package/declarations/core/src/components.d.ts +148 -148
  134. package/declarations/core/src/components.d.ts.map +1 -1
  135. package/declarations/core/src/helpers/class-names.d.ts +1 -1
  136. package/declarations/core/src/helpers/class-names.d.ts.map +1 -1
  137. package/declarations/core/src/helpers/get-range-tick.d.ts +1 -1
  138. package/declarations/core/src/helpers/get-range-tick.d.ts.map +1 -1
  139. package/declarations/core/src/helpers.d.ts +7 -7
  140. package/declarations/core/src/helpers.d.ts.map +1 -1
  141. package/declarations/core/src/i18n/util.d.ts.map +1 -1
  142. package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts +1 -1
  143. package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts.map +1 -1
  144. package/declarations/core/src/utils/accesibility/index.d.ts +3 -3
  145. package/declarations/core/src/utils/accesibility/index.d.ts.map +1 -1
  146. package/declarations/core/src/utils/browser/index.d.ts +1 -1
  147. package/declarations/core/src/utils/browser/index.d.ts.map +1 -1
  148. package/declarations/core/src/utils/code/utils.d.ts +1 -1
  149. package/declarations/core/src/utils/code/utils.d.ts.map +1 -1
  150. package/declarations/core/src/utils/color/index.d.ts +5 -5
  151. package/declarations/core/src/utils/color/index.d.ts.map +1 -1
  152. package/declarations/core/src/utils/markdown/markdown-actions.d.ts +3 -3
  153. package/declarations/core/src/utils/markdown/markdown-actions.d.ts.map +1 -1
  154. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts +1 -1
  155. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts.map +1 -1
  156. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts +1 -1
  157. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +1 -1
  158. package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts +1 -1
  159. package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +1 -1
  160. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts +4 -4
  161. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +1 -1
  162. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +3 -3
  163. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +1 -1
  164. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +1 -1
  165. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +1 -1
  166. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +1 -1
  167. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +1 -1
  168. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts +2 -2
  169. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +1 -1
  170. package/declarations/core/src/utils/number/index.d.ts +1 -1
  171. package/declarations/core/src/utils/number/index.d.ts.map +1 -1
  172. package/declarations/core/src/utils/predicate/index.d.ts +2 -2
  173. package/declarations/core/src/utils/predicate/index.d.ts.map +1 -1
  174. package/dist/components/eui-pikaday.js +80 -207
  175. package/dist/components/eui-pikaday.js.map +1 -1
  176. package/package.json +10 -8
  177. package/declarations/eui-pikaday.d.ts +0 -58
  178. package/declarations/eui-pikaday.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/code/utils.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAEpD;;GAEG;AAEH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG;IAC5C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAkB,CAAC;AACnD,eAAO,MAAM,gBAAgB,SAAS,CAAC;AAEvC,eAAO,MAAM,sBAAsB,aAAc,MAAM,KAAG,MAEzD,CAAC;AAiBF,MAAM,WAAW,gBAAgB;CAAG;AAEpC,eAAO,MAAM,cAAc,UAAW,aAAa,EAAE;;;CAqGpD,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,aAAa,wBAEG,CAAC;AAWpD,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD,eAAO,MAAM,eAAe,WAAY,MAAM,aAmB7C,CAAC;AAmIF,eAAO,MAAM,eAAe,aAChB,MAAM,YACN,MAAM,QACV,iBAAiB,oBAMxB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/code/utils.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAEpD;;GAEG;AAEH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG;IAC5C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAkB,CAAC;AACnD,eAAO,MAAM,gBAAgB,SAAS,CAAC;AAEvC,eAAO,MAAM,sBAAsB,aAAc,MAAM,KAAG,MAEzD,CAAC;AAiBF,MAAM,WAAW,gBAAgB;CAAG;AAEpC,eAAO,MAAM,cAAc,UAAW,aAAa,EAAE;;;CAqGpD,CAAC;AAEF,eAAO,MAAM,YAAY,SAAU,aAAa,wBAEG,CAAC;AAWpD,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD,eAAO,MAAM,eAAe,WAAY,MAAM,aAmB7C,CAAC;AAmIF,eAAO,MAAM,eAAe,aAChB,MAAM,YACN,MAAM,QACV,iBAAiB,oBAMxB,CAAC"}
@@ -1,6 +1,6 @@
1
- export { hexToRgb } from '../../helpers/hex-to-rgb';
2
- export { isColorDark } from '../../helpers/is-color-dark';
3
- export { isValidHex } from '../../helpers/is-valid-hex';
4
- export { colorPalette } from './color_palette';
5
- export { euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteComplimentary, euiPaletteCool, euiPaletteForDarkBackground, euiPaletteForLightBackground, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteGray, euiPaletteNegative, euiPalettePositive, euiPaletteWarm } from './eui_palettes';
1
+ export { hexToRgb } from '../../helpers/hex-to-rgb.ts';
2
+ export { isColorDark } from '../../helpers/is-color-dark.ts';
3
+ export { isValidHex } from '../../helpers/is-valid-hex.ts';
4
+ export { colorPalette } from './color_palette.ts';
5
+ export { euiPaletteColorBlind, euiPaletteColorBlindBehindText, euiPaletteComplimentary, euiPaletteCool, euiPaletteForDarkBackground, euiPaletteForLightBackground, euiPaletteForStatus, euiPaletteForTemperature, euiPaletteGray, euiPaletteNegative, euiPalettePositive, euiPaletteWarm } from './eui_palettes.ts';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/color/index.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,oBAAoB,EACpB,8BAA8B,EAC9B,uBAAuB,EACvB,cAAc,EACd,2BAA2B,EAC3B,4BAA4B,EAC5B,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EAAC,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/color/index.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,oBAAoB,EACpB,8BAA8B,EAC9B,uBAAuB,EACvB,cAAc,EACd,2BAA2B,EAC3B,4BAA4B,EAC5B,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACf,MAAM,mBAAmB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EuiMarkdownEditorUiPlugin, EuiMarkdownFormatting } from './markdown-types';
1
+ import type { EuiMarkdownEditorUiPlugin, EuiMarkdownFormatting } from './markdown-types.ts';
2
2
  /**
3
3
  * Class for applying styles to a text editor. Accepts the HTML ID for the textarea
4
4
  * desired, and exposes the `.do(ACTION)` method for manipulating the text.
@@ -21,10 +21,10 @@ declare class MarkdownActions {
21
21
  name: string;
22
22
  button: {
23
23
  label: string;
24
- iconType: import("../../components/eui-icon").IconType;
24
+ iconType: import("../../components/eui-icon.ts").IconType;
25
25
  };
26
26
  helpText?: import("@glimmer/component").default<unknown> | undefined;
27
- } & import("./markdown-types").PluginWithDelayedFormatting<any>) | undefined;
27
+ } & import("./markdown-types.ts").PluginWithDelayedFormatting<any>) | undefined;
28
28
  /**
29
29
  * Sets the default styling object and then superimposes the changes to make on top of
30
30
  * it. Calls the `styleSelectedText` helper function that does the heavy lifting.
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-actions.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/markdown/markdown-actions.ts"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAE1B;;;;;;GAMG;AACH,cAAM,eAAe;IACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;IAClD,QAAQ,EAAE,MAAM,CAAM;gBAEV,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,yBAAyB,EAAE;IA4FpE;;;;;;OAMG;IACH,EAAE,CAAC,UAAU,EAAE,MAAM;;;;;;;;IAYrB;;;;;;;OAOG;IACH,UAAU,CAAC,aAAa,EAAE,qBAAqB;CA4BhD;AAaD,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAqDD,wBAAgB,UAAU,CACxB,QAAQ,EAAE,mBAAmB,EAC7B,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,cAAc,QAmDvD;AA0UD,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"markdown-actions.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/markdown/markdown-actions.ts"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;GAMG;AACH,cAAM,eAAe;IACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;IAClD,QAAQ,EAAE,MAAM,CAAM;gBAEV,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,yBAAyB,EAAE;IA4FpE;;;;;;OAMG;IACH,EAAE,CAAC,UAAU,EAAE,MAAM;;;;;;;;IAYrB;;;;;;;OAOG;IACH,UAAU,CAAC,aAAa,EAAE,qBAAqB;CA4BhD;AAaD,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAqDD,wBAAgB,UAAU,CACxB,QAAQ,EAAE,mBAAmB,EAC7B,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,cAAc,QAmDvD;AA0UD,eAAe,eAAe,CAAC"}
@@ -1,3 +1,3 @@
1
- import { processor, visit } from './processor';
1
+ import { processor, visit } from './processor.ts';
2
2
  export { processor, visit };
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-add-components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAC,KAAK,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAC,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-add-components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAC,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAC,KAAK,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { RehypeNode } from '../../markdown-types';
1
+ import type { RehypeNode } from '../../markdown-types.ts';
2
2
  type Visitor = (node: RehypeNode) => RehypeNode;
3
3
  export declare const visit: (node: RehypeNode, visitor: Visitor) => RehypeNode;
4
4
  export declare const processor: () => (tree: RehypeNode) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"processor.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-add-components/processor.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,KAAK,OAAO,GAAG,CAAC,IAAI,EAAE,UAAU,KAAK,UAAU,CAAC;AAEhD,eAAO,MAAM,KAAK,SAAU,UAAU,WAAW,OAAO,eAmBvD,CAAC;AAEF,eAAO,MAAM,SAAS,eACd,UAAU,KACb,IAuDJ,CAAC"}
1
+ {"version":3,"file":"processor.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-add-components/processor.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,KAAK,OAAO,GAAG,CAAC,IAAI,EAAE,UAAU,KAAK,UAAU,CAAC;AAEhD,eAAO,MAAM,KAAK,SAAU,UAAU,WAAW,OAAO,eAmBvD,CAAC;AAEF,eAAO,MAAM,SAAS,eACd,UAAU,KACb,IAuDJ,CAAC"}
@@ -1,2 +1,2 @@
1
- export { CheckboxParser as parser } from './parser';
1
+ export { CheckboxParser as parser } from './parser.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-checkbox/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-checkbox/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
- export * from './parsing-plugins';
2
- export * from './plugins';
3
- export * from './processing-plugins';
4
- export * from './ui-plugins';
1
+ export * from './parsing-plugins.ts';
2
+ export * from './plugins.ts';
3
+ export * from './processing-plugins.ts';
4
+ export * from './ui-plugins.ts';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { DefaultEuiMarkdownParsingPlugins } from './parsing-plugins';
2
- import type { DefaultEuiMarkdownProcessingPlugins } from './processing-plugins';
3
- import type { DefaultEuiMarkdownUiPlugins } from './ui-plugins';
1
+ import type { DefaultEuiMarkdownParsingPlugins } from './parsing-plugins.ts';
2
+ import type { DefaultEuiMarkdownProcessingPlugins } from './processing-plugins.ts';
3
+ import type { DefaultEuiMarkdownUiPlugins } from './ui-plugins.ts';
4
4
  export declare const getDefaultEuiMarkdownPlugins: (config: undefined | {
5
5
  exclude?: 'tooltip'[];
6
6
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/plugins.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAEhE,eAAO,MAAM,4BAA4B,WAC/B,SAAS,GAAG;IAAE,OAAO,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,KAC5C;IACD,cAAc,EAAE,gCAAgC,CAAC;IACjD,iBAAiB,EAAE,mCAAmC,CAAC;IACvD,SAAS,EAAE,2BAA2B,CAAC;CAKvC,CAAC"}
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/plugins.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAEnE,eAAO,MAAM,4BAA4B,WAC/B,SAAS,GAAG;IAAE,OAAO,CAAC,EAAE,SAAS,EAAE,CAAA;CAAE,KAC5C;IACD,cAAc,EAAE,gCAAgC,CAAC;IACjD,iBAAiB,EAAE,mCAAmC,CAAC;IACvD,SAAS,EAAE,2BAA2B,CAAC;CAKvC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import remark2Rehype from 'remark-rehype';
2
- import * as MarkdownAddComponents from '../markdown-add-components';
2
+ import * as MarkdownAddComponents from '../markdown-add-components/index.ts';
3
3
  import type { Options as Remark2RehypeOptions } from 'mdast-util-to-hast';
4
4
  import type { PluggableList } from 'unified';
5
5
  export interface Rehype2ReactOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"processing-plugins.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.ts"],"names":[],"mappings":"AAwBA,OAAO,aAAa,MAAM,eAAe,CAAC;AAE1C,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE,OAAO,KAAK,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAO7C,MAAM,WAAW,mBAAmB;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,MAAM,mCAAmC,GAAG;IAChD;QAAC,OAAO,aAAa;QAAE,oBAAoB;KAAC;IAC5C;QAAC,OAAO,qBAAqB,CAAC,SAAS;QAAE,mBAAmB;KAAC;IAC7D,GAAG,aAAa;CACjB,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,GAWpD,CAAC;AAEF,eAAO,MAAM,wBAAwB,KACK,CAAC"}
1
+ {"version":3,"file":"processing-plugins.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.ts"],"names":[],"mappings":"AAwBA,OAAO,aAAa,MAAM,eAAe,CAAC;AAE1C,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAE7E,OAAO,KAAK,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAO7C,MAAM,WAAW,mBAAmB;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,MAAM,mCAAmC,GAAG;IAChD;QAAC,OAAO,aAAa;QAAE,oBAAoB;KAAC;IAC5C;QAAC,OAAO,qBAAqB,CAAC,SAAS;QAAE,mBAAmB;KAAC;IAC7D,GAAG,aAAa;CACjB,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,GAWpD,CAAC;AAEF,eAAO,MAAM,wBAAwB,KACK,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { EuiMarkdownEditorUiPlugin } from '../../markdown-types';
1
+ import type { EuiMarkdownEditorUiPlugin } from '../../markdown-types.ts';
2
2
  export type DefaultEuiMarkdownUiPlugins = EuiMarkdownEditorUiPlugin[];
3
3
  export declare const getDefaultEuiMarkdownUiPlugins: ({ exclude }?: {
4
4
  exclude?: "tooltip"[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ui-plugins.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,MAAM,2BAA2B,GAAG,yBAAyB,EAAE,CAAC;AAEtE,eAAO,MAAM,8BAA8B;;iCAa1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAAmC,CAAC"}
1
+ {"version":3,"file":"ui-plugins.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,MAAM,MAAM,2BAA2B,GAAG,yBAAyB,EAAE,CAAC;AAEtE,eAAO,MAAM,8BAA8B;;iCAa1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAAmC,CAAC"}
@@ -1,3 +1,3 @@
1
- export { TooltipParser as parser } from './parser';
2
- export { tooltipPlugin as plugin } from './plugin';
1
+ export { TooltipParser as parser } from './parser.ts';
2
+ export { tooltipPlugin as plugin } from './plugin.ts';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/utils/markdown/plugins/markdown-tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './number';
1
+ export * from './number.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/number/index.ts"],"names":[],"mappings":"AAmBA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/number/index.ts"],"names":[],"mappings":"AAmBA,cAAc,aAAa,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './common_predicates';
2
- export * from './lodash_predicates';
1
+ export * from './common_predicates.ts';
2
+ export * from './lodash_predicates.ts';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/predicate/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../core/src/utils/predicate/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
@@ -1,187 +1,21 @@
1
- import { setComponentTemplate } from '@ember/component';
2
- import { precompileTemplate } from '@ember/template-compilation';
3
1
  import Component from '@glimmer/component';
4
- import { fn } from '@ember/helper';
5
- import { on } from '@ember/modifier';
6
2
  import { action } from '@ember/object';
7
- import didInsert from '@ember/render-modifiers/modifiers/did-insert';
8
- import { EuiFieldText } from '@ember-eui/core/components';
9
- import { argOrDefault } from '@ember-eui/core/helpers';
10
- import optional from 'ember-composable-helpers/helpers/optional';
11
3
  import pikaday from 'ember-pikaday-prysmex/modifiers/pikaday';
4
+ import { n } from 'decorator-transforms/runtime';
12
5
  import { and, not } from 'ember-truth-helpers';
6
+ import { argOrDefault } from '@ember-eui/core/helpers';
13
7
  import randomId from '../-private/random-id.js';
8
+ import { EuiFieldText } from '@ember-eui/core/components';
9
+ import { fn } from '@ember/helper';
10
+ import optional from 'ember-composable-helpers/helpers/optional';
11
+ import { on } from '@ember/modifier';
12
+ import didInsert from '@ember/render-modifiers/modifiers/did-insert';
13
+ import { precompileTemplate } from '@ember/template-compilation';
14
+ import { setComponentTemplate } from '@ember/component';
14
15
 
15
- function _toPrimitive(t, r) {
16
- if ("object" != typeof t || !t) return t;
17
- var e = t[Symbol.toPrimitive];
18
- if (void 0 !== e) {
19
- var i = e.call(t, r || "default");
20
- if ("object" != typeof i) return i;
21
- throw new TypeError("@@toPrimitive must return a primitive value.");
22
- }
23
- return ("string" === r ? String : Number)(t);
24
- }
25
- function _toPropertyKey(t) {
26
- var i = _toPrimitive(t, "string");
27
- return "symbol" == typeof i ? i : String(i);
28
- }
29
- function _defineProperty(obj, key, value) {
30
- key = _toPropertyKey(key);
31
- if (key in obj) {
32
- Object.defineProperty(obj, key, {
33
- value: value,
34
- enumerable: true,
35
- configurable: true,
36
- writable: true
37
- });
38
- } else {
39
- obj[key] = value;
40
- }
41
- return obj;
42
- }
43
- function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
44
- var desc = {};
45
- Object.keys(descriptor).forEach(function (key) {
46
- desc[key] = descriptor[key];
47
- });
48
- desc.enumerable = !!desc.enumerable;
49
- desc.configurable = !!desc.configurable;
50
- if ('value' in desc || desc.initializer) {
51
- desc.writable = true;
52
- }
53
- desc = decorators.slice().reverse().reduce(function (desc, decorator) {
54
- return decorator(target, property, desc) || desc;
55
- }, desc);
56
- if (context && desc.initializer !== void 0) {
57
- desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
58
- desc.initializer = undefined;
59
- }
60
- if (desc.initializer === void 0) {
61
- Object.defineProperty(target, property, desc);
62
- desc = null;
63
- }
64
- return desc;
65
- }
66
- function _classPrivateFieldGet(receiver, privateMap) {
67
- var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
68
- return _classApplyDescriptorGet(receiver, descriptor);
69
- }
70
- function _classPrivateFieldSet(receiver, privateMap, value) {
71
- var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set");
72
- _classApplyDescriptorSet(receiver, descriptor, value);
73
- return value;
74
- }
75
- function _classExtractFieldDescriptor(receiver, privateMap, action) {
76
- if (!privateMap.has(receiver)) {
77
- throw new TypeError("attempted to " + action + " private field on non-instance");
78
- }
79
- return privateMap.get(receiver);
80
- }
81
- function _classApplyDescriptorGet(receiver, descriptor) {
82
- if (descriptor.get) {
83
- return descriptor.get.call(receiver);
84
- }
85
- return descriptor.value;
86
- }
87
- function _classApplyDescriptorSet(receiver, descriptor, value) {
88
- if (descriptor.set) {
89
- descriptor.set.call(receiver, value);
90
- } else {
91
- if (!descriptor.writable) {
92
- throw new TypeError("attempted to set read only private field");
93
- }
94
- descriptor.value = value;
95
- }
96
- }
97
- function _checkPrivateRedeclaration(obj, privateCollection) {
98
- if (privateCollection.has(obj)) {
99
- throw new TypeError("Cannot initialize the same private elements twice on an object");
100
- }
101
- }
102
- function _classPrivateFieldInitSpec(obj, privateMap, value) {
103
- _checkPrivateRedeclaration(obj, privateMap);
104
- privateMap.set(obj, value);
105
- }
106
-
107
- var _class, _heardValue;
108
- let EuiPikadayComponent = setComponentTemplate(precompileTemplate(`
109
- {{#let
110
- (and (not (argOrDefault @isFakePrependBlock false)) (has-block "prepend"))
111
- (and (not (argOrDefault @isFakeAppendBlock false)) (has-block "append"))
112
- (argOrDefault @id (randomId))
113
- as |hasPrepend hasAppend inputId|
114
- }}
115
- <EuiFieldText
116
- @icon={{if @icon @icon "calendar"}}
117
- @fullWidth={{@fullWidth}}
118
- @isLoading={{@isLoading}}
119
- @readOnly={{@readOnly}}
120
- @inputRef={{@inputRef}}
121
- @controlOnly={{@controlOnly}}
122
- @compressed={{@compressed}}
123
- @id={{inputId}}
124
- @clear={{if @clear (fn (optional @clear) null)}}
125
- @isFakePrependBlock={{hasPrepend}}
126
- @isFakeAppendBlock={{hasAppend}}
127
- @disabled={{@disabled}}
128
- @isInvalid={{@isInvalid}}
129
- ...attributes
130
- {{pikaday
131
- value=this.value
132
- onSelect=this.onSelect
133
- setDefaultDate=true
134
- defaultDate=@defaultDate
135
- onOpen=this.onOpen
136
- onDraw=this.onDraw
137
- onClose=this.onClose
138
- format=this.format
139
- minDate=@minDate
140
- maxDate=@maxDate
141
- theme=@theme
142
- yearRange=this.yearRange
143
- i18n=this.i18n
144
- firstDay=this.firstDay
145
- container=@container
146
- bound=@bound
147
- register=this.registerPikaday
148
- moment=@moment
149
- }}
150
- {{on "change" this.didChange}}
151
- {{didInsert this.registerField}}
152
- >
153
- <:prepend as |classes inputId|>
154
- {{yield classes inputId to="prepend"}}
155
- </:prepend>
156
- <:append as |classes inputId|>
157
- {{yield classes inputId to="append"}}
158
- </:append>
159
- </EuiFieldText>
160
- {{/let}}
161
- `, {
162
- strictMode: true,
163
- scope: () => ({
164
- and,
165
- not,
166
- argOrDefault,
167
- randomId,
168
- EuiFieldText,
169
- fn,
170
- optional,
171
- pikaday,
172
- on,
173
- didInsert
174
- })
175
- }), (_class = (_heardValue = /*#__PURE__*/new WeakMap(), class EuiPikadayComponent extends Component {
176
- constructor(...args) {
177
- super(...args);
178
- _defineProperty(this, "field", null);
179
- _defineProperty(this, "pikaday", void 0);
180
- _classPrivateFieldInitSpec(this, _heardValue, {
181
- writable: true,
182
- value: void 0
183
- });
184
- }
16
+ class EuiPikadayComponent extends Component {
17
+ field = null;
18
+ pikaday;
185
19
  get format() {
186
20
  return this.args.format || 'DD.MM.YYYY';
187
21
  }
@@ -189,74 +23,113 @@ let EuiPikadayComponent = setComponentTemplate(precompileTemplate(`
189
23
  return this.args.value;
190
24
  }
191
25
  get yearRange() {
192
- const yearRange = this.args.yearRange;
193
- if (!yearRange) {
26
+ const yearRange1 = this.args.yearRange;
27
+ if (!yearRange1) {
194
28
  return 10;
195
29
  }
196
- if (yearRange.indexOf(',') > -1) {
197
- const yearArray = yearRange.split(',');
198
- if (yearArray[1] === 'currentYear') {
199
- yearArray[1] = new Date().getFullYear();
30
+ if (yearRange1.indexOf(',') > -1) {
31
+ const yearArray1 = yearRange1.split(',');
32
+ if (yearArray1[1] === 'currentYear') {
33
+ yearArray1[1] = new Date().getFullYear();
200
34
  }
201
- return yearArray;
35
+ return yearArray1;
202
36
  } else {
203
- return yearRange;
37
+ return yearRange1;
204
38
  }
205
39
  }
206
40
  get i18n() {
207
- let i18n = this.args.i18n;
208
- if (!i18n) {
41
+ let i18n1 = this.args.i18n;
42
+ if (!i18n1) {
209
43
  return undefined;
210
44
  }
211
- if (!i18n.t) {
212
- return i18n;
45
+ if (!i18n1.t) {
46
+ return i18n1;
213
47
  }
214
48
  return {
215
- previousMonth: i18n.t('previousMonth').toString(),
216
- nextMonth: i18n.t('nextMonth').toString(),
217
- months: i18n.t('months').toString().split(','),
218
- weekdays: i18n.t('weekdays').toString().split(','),
219
- weekdaysShort: i18n.t('weekdaysShort').toString().split(',')
49
+ previousMonth: i18n1.t('previousMonth').toString(),
50
+ nextMonth: i18n1.t('nextMonth').toString(),
51
+ months: i18n1.t('months').toString().split(','),
52
+ weekdays: i18n1.t('weekdays').toString().split(','),
53
+ weekdaysShort: i18n1.t('weekdaysShort').toString().split(',')
220
54
  };
221
55
  }
222
56
  get firstDay() {
223
57
  return this.args.firstDay == null ? 1 : parseInt(this.args.firstDay, 10);
224
58
  }
225
- registerField(field) {
226
- this.field = field;
59
+ registerField(field1) {
60
+ this.field = field1;
61
+ }
62
+ static {
63
+ n(this.prototype, "registerField", [action]);
227
64
  }
228
- registerPikaday(pikaday) {
229
- this.pikaday = pikaday;
230
- this.args.register?.(pikaday);
65
+ registerPikaday(pikaday1) {
66
+ this.pikaday = pikaday1;
67
+ this.args.register?.(pikaday1);
68
+ }
69
+ static {
70
+ n(this.prototype, "registerPikaday", [action]);
231
71
  }
232
72
  onClose() {
233
73
  if (this.isDestroying) {
234
74
  return;
235
75
  }
236
- if (!_classPrivateFieldGet(this, _heardValue)) {
76
+ if (!this.#heardValue) {
237
77
  this.onSelect(null);
238
78
  }
239
79
  this.args.onClose?.();
240
80
  }
81
+ static {
82
+ n(this.prototype, "onClose", [action]);
83
+ }
241
84
  onOpen() {
242
85
  if (this.isDestroying) {
243
86
  return;
244
87
  }
245
88
  this.args.onOpen?.();
246
89
  }
90
+ static {
91
+ n(this.prototype, "onOpen", [action]);
92
+ }
93
+ #heardValue;
247
94
  onDraw() {
248
95
  // this is here because apparently the classic behavior is to pass no
249
96
  // arguments to the onDraw callback, but Pikaday's own ownDraw has an
250
97
  // argument.
251
98
  this.args.onDraw?.();
252
99
  }
253
- didChange(event) {
254
- _classPrivateFieldSet(this, _heardValue, event.target.value);
100
+ static {
101
+ n(this.prototype, "onDraw", [action]);
102
+ }
103
+ didChange(event1) {
104
+ this.#heardValue = event1.target.value;
105
+ }
106
+ static {
107
+ n(this.prototype, "didChange", [action]);
108
+ }
109
+ onSelect(date1) {
110
+ this.args.onSelection?.(date1);
111
+ }
112
+ static {
113
+ n(this.prototype, "onSelect", [action]);
114
+ }
115
+ static {
116
+ setComponentTemplate(precompileTemplate("\n {{#let (and (not (argOrDefault @isFakePrependBlock false)) (has-block \"prepend\")) (and (not (argOrDefault @isFakeAppendBlock false)) (has-block \"append\")) (argOrDefault @id (randomId)) as |hasPrepend hasAppend inputId|}}\n <EuiFieldText @icon={{if @icon @icon \"calendar\"}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @readOnly={{@readOnly}} @inputRef={{@inputRef}} @controlOnly={{@controlOnly}} @compressed={{@compressed}} @id={{inputId}} @clear={{if @clear (fn (optional @clear) null)}} @isFakePrependBlock={{hasPrepend}} @isFakeAppendBlock={{hasAppend}} @disabled={{@disabled}} @isInvalid={{@isInvalid}} ...attributes {{pikaday value=this.value onSelect=this.onSelect setDefaultDate=true defaultDate=@defaultDate onOpen=this.onOpen onDraw=this.onDraw onClose=this.onClose format=this.format minDate=@minDate maxDate=@maxDate theme=@theme yearRange=this.yearRange i18n=this.i18n firstDay=this.firstDay container=@container bound=@bound register=this.registerPikaday moment=@moment}} {{on \"change\" this.didChange}} {{didInsert this.registerField}}>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n {{/let}}\n ", {
117
+ scope: () => ({
118
+ and,
119
+ not,
120
+ argOrDefault,
121
+ randomId,
122
+ EuiFieldText,
123
+ fn,
124
+ optional,
125
+ pikaday,
126
+ on,
127
+ didInsert
128
+ }),
129
+ strictMode: true
130
+ }), this);
255
131
  }
256
- onSelect(date) {
257
- this.args.onSelection?.(date);
258
- }
259
- }), (_applyDecoratedDescriptor(_class.prototype, "registerField", [action], Object.getOwnPropertyDescriptor(_class.prototype, "registerField"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "registerPikaday", [action], Object.getOwnPropertyDescriptor(_class.prototype, "registerPikaday"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onClose", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onClose"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onOpen", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onOpen"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onDraw", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onDraw"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "didChange", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didChange"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onSelect", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onSelect"), _class.prototype)), _class));
132
+ }
260
133
 
261
134
  export { EuiPikadayComponent as default };
262
135
  //# sourceMappingURL=eui-pikaday.js.map