@transferwise/components 0.0.0-experimental-ff4fa52 → 0.0.0-experimental-1413ac0

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 (129) hide show
  1. package/README.md +14 -1
  2. package/build/i18n/zh-HK.json +2 -2
  3. package/build/index.esm.js +182 -273
  4. package/build/index.esm.js.map +1 -1
  5. package/build/index.js +155 -246
  6. package/build/index.js.map +1 -1
  7. package/build/mocks.esm.js +40 -0
  8. package/build/mocks.esm.js.map +1 -0
  9. package/build/mocks.js +43 -0
  10. package/build/mocks.js.map +1 -0
  11. package/build/types/body/Body.d.ts +1 -1
  12. package/build/types/common/commonProps.d.ts +1 -1
  13. package/build/types/common/commonProps.d.ts.map +1 -1
  14. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts +1 -1
  15. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -1
  16. package/build/types/common/dateUtils/getDayNames/index.d.ts +2 -0
  17. package/build/types/common/dateUtils/getDayNames/index.d.ts.map +1 -0
  18. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts +1 -1
  19. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -1
  20. package/build/types/common/dateUtils/getMonthNames/index.d.ts +2 -0
  21. package/build/types/common/dateUtils/getMonthNames/index.d.ts.map +1 -0
  22. package/build/types/common/dateUtils/index.d.ts +6 -6
  23. package/build/types/common/dateUtils/index.d.ts.map +1 -1
  24. package/build/types/common/dateUtils/isDateValid/index.d.ts +2 -0
  25. package/build/types/common/dateUtils/isDateValid/index.d.ts.map +1 -0
  26. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts +2 -2
  27. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -1
  28. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts +2 -0
  29. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
  30. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +1 -1
  31. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -1
  32. package/build/types/common/dateUtils/isWithinRange/index.d.ts +2 -0
  33. package/build/types/common/dateUtils/isWithinRange/index.d.ts.map +1 -0
  34. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts +1 -1
  35. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -1
  36. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts +2 -0
  37. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts.map +1 -0
  38. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +1 -1
  39. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -1
  40. package/build/types/common/panel/Panel.d.ts +1 -1
  41. package/build/types/common/responsivePanel/ResponsivePanel.d.ts +1 -1
  42. package/build/types/dateInput/DateInput.d.ts +41 -35
  43. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  44. package/build/types/dateInput/DateInput.messages.d.ts +33 -24
  45. package/build/types/dateInput/DateInput.messages.d.ts.map +1 -1
  46. package/build/types/dateInput/index.d.ts +1 -1
  47. package/build/types/dateInput/index.d.ts.map +1 -1
  48. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +1 -1
  49. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -1
  50. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts +1 -1
  51. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -1
  52. package/build/types/dateInput/utils/explodeDate/explodeDate.d.ts +5 -2
  53. package/build/types/dateInput/utils/explodeDate/explodeDate.d.ts.map +1 -1
  54. package/build/types/dateInput/utils/explodeDate/index.d.ts +1 -1
  55. package/build/types/dateInput/utils/explodeDate/index.d.ts.map +1 -1
  56. package/build/types/dateInput/utils/index.d.ts +2 -2
  57. package/build/types/dateInput/utils/index.d.ts.map +1 -1
  58. package/build/types/decision/Decision.d.ts +39 -52
  59. package/build/types/decision/Decision.d.ts.map +1 -1
  60. package/build/types/decision/index.d.ts +1 -2
  61. package/build/types/decision/index.d.ts.map +1 -1
  62. package/build/types/dimmer/Dimmer.d.ts +1 -1
  63. package/build/types/index.d.ts +1 -0
  64. package/build/types/index.d.ts.map +1 -1
  65. package/build/types/mocks.d.ts +9 -0
  66. package/build/types/mocks.d.ts.map +1 -0
  67. package/build/types/promoCard/PromoCard.d.ts +1 -2
  68. package/build/types/promoCard/PromoCard.d.ts.map +1 -1
  69. package/build/types/select/searchBox/SearchBox.d.ts +1 -1
  70. package/build/types/test-utils/window-mock.d.ts.map +1 -1
  71. package/package.json +17 -1
  72. package/src/common/commonProps.ts +1 -1
  73. package/src/common/dateUtils/getDayNames/{getDayNames.ts → getDayNames.js} +2 -5
  74. package/src/common/dateUtils/getDayNames/getDayNames.spec.js +1 -1
  75. package/src/common/dateUtils/getDayNames/index.js +1 -0
  76. package/src/common/dateUtils/getMonthNames/{getMonthNames.ts → getMonthNames.js} +3 -5
  77. package/src/common/dateUtils/getMonthNames/getMonthNames.spec.js +8 -9
  78. package/src/common/dateUtils/getMonthNames/index.js +1 -0
  79. package/src/common/dateUtils/index.js +6 -0
  80. package/src/common/dateUtils/isDateValid/index.js +1 -0
  81. package/src/common/dateUtils/isDateValid/isDateValid.js +6 -0
  82. package/src/common/dateUtils/isDateValid/{isDateValid.spec.ts → isDateValid.spec.js} +1 -1
  83. package/src/common/dateUtils/isMonthAndYearFormat/index.js +1 -0
  84. package/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js +4 -0
  85. package/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.spec.js +7 -3
  86. package/src/common/dateUtils/isWithinRange/index.js +1 -0
  87. package/src/common/dateUtils/isWithinRange/{isWithinRange.ts → isWithinRange.js} +1 -1
  88. package/src/common/dateUtils/isWithinRange/{isWithinRange.spec.ts → isWithinRange.spec.js} +1 -1
  89. package/src/common/dateUtils/moveToWithinRange/index.js +1 -0
  90. package/src/common/dateUtils/moveToWithinRange/{moveToWithinRange.ts → moveToWithinRange.js} +2 -2
  91. package/src/dateInput/{DateInput.tsx → DateInput.js} +97 -120
  92. package/src/dateInput/DateInput.spec.js +55 -6
  93. package/src/dateInput/DateInput.story.tsx +7 -9
  94. package/src/dateInput/utils/convertToLocalMidnight/{convertToLocalMidnight.ts → convertToLocalMidnight.js} +1 -1
  95. package/src/dateInput/utils/explodeDate/{explodeDate.ts → explodeDate.js} +1 -3
  96. package/src/dateLookup/dayCalendar/table/DayCalendarTable.js +0 -1
  97. package/src/decision/Decision.spec.js +53 -59
  98. package/src/decision/{Decision.story.js → Decision.story.tsx} +5 -5
  99. package/src/decision/Decision.tsx +136 -0
  100. package/src/decision/index.ts +1 -0
  101. package/src/i18n/zh-HK.json +2 -2
  102. package/src/index.ts +1 -0
  103. package/src/mocks.ts +48 -0
  104. package/src/promoCard/PromoCard.tsx +1 -2
  105. package/src/test-utils/window-mock.ts +7 -23
  106. package/src/tile/Tile.js +1 -1
  107. package/build/types/decision/decisionEnums.d.ts +0 -9
  108. package/build/types/decision/decisionEnums.d.ts.map +0 -1
  109. package/build/types/sizeSwapper/SizeSwapper.d.ts +0 -3
  110. package/build/types/sizeSwapper/SizeSwapper.d.ts.map +0 -1
  111. package/build/types/sizeSwapper/index.d.ts +0 -2
  112. package/build/types/sizeSwapper/index.d.ts.map +0 -1
  113. package/src/common/dateUtils/index.ts +0 -6
  114. package/src/common/dateUtils/isDateValid/isDateValid.ts +0 -13
  115. package/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.ts +0 -4
  116. package/src/decision/Decision.js +0 -148
  117. package/src/decision/decisionEnums.ts +0 -11
  118. package/src/decision/index.js +0 -2
  119. package/src/sizeSwapper/SizeSwapper.js +0 -69
  120. package/src/sizeSwapper/SizeSwapper.spec.js +0 -100
  121. package/src/sizeSwapper/SizeSwapper.story.js +0 -34
  122. package/src/sizeSwapper/index.js +0 -1
  123. /package/src/dateInput/{DateInput.messages.ts → DateInput.messages.js} +0 -0
  124. /package/src/dateInput/{index.ts → index.js} +0 -0
  125. /package/src/dateInput/utils/convertToLocalMidnight/{convertToLocalMidnight.spec.ts → convertToLocalMidnight.spec.js} +0 -0
  126. /package/src/dateInput/utils/convertToLocalMidnight/{index.ts → index.js} +0 -0
  127. /package/src/dateInput/utils/explodeDate/{explodeDate.spec.ts → explodeDate.spec.js} +0 -0
  128. /package/src/dateInput/utils/explodeDate/{index.ts → index.js} +0 -0
  129. /package/src/dateInput/utils/{index.ts → index.js} +0 -0
@@ -0,0 +1,40 @@
1
+ const defaultStubGlobal = (name, value) => {
2
+ Object.defineProperty(globalThis, name, {
3
+ value,
4
+ writable: true,
5
+ enumerable: true,
6
+ configurable: true
7
+ });
8
+ };
9
+ function mockMatchMedia({
10
+ fn,
11
+ stubGlobal = defaultStubGlobal
12
+ }) {
13
+ stubGlobal('matchMedia', fn(query => {
14
+ const matches = /^\(min-width: (\d+)px\)$/u.exec(query);
15
+ const minWidth = matches != null ? Number(matches[1]) : undefined;
16
+ return {
17
+ matches: minWidth != null ? window.innerWidth >= minWidth : false,
18
+ media: query,
19
+ onchange: null,
20
+ addListener: fn(),
21
+ removeListener: fn(),
22
+ addEventListener: fn(),
23
+ removeEventListener: fn(),
24
+ dispatchEvent: fn()
25
+ };
26
+ }));
27
+ }
28
+ function mockResizeObserver({
29
+ fn,
30
+ stubGlobal = defaultStubGlobal
31
+ }) {
32
+ stubGlobal('ResizeObserver', fn(() => ({
33
+ observe: fn(),
34
+ unobserve: fn(),
35
+ disconnect: fn()
36
+ })));
37
+ }
38
+
39
+ export { mockMatchMedia, mockResizeObserver };
40
+ //# sourceMappingURL=mocks.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocks.esm.js","sources":["../../src/mocks.ts"],"sourcesContent":[null],"names":["defaultStubGlobal","name","value","Object","defineProperty","globalThis","writable","enumerable","configurable"],"mappings":"AAAA,MAAeA,iBAAQ,GAAEA,CAAAC,IAAA,EAAAC,KAAa,KAAK;AAE3CC,EAAAA,MAAU,CAAgBC,cAAA,CAAAC,UAAA,EAAAJ,IAAA,EAAA;IACpBC;AACMI,IAAAA,QAAG,EAAA,IAAA;AACdC,IAAAA,UAAA,EAAA,IAAA;AAWeC,IAAAA,YAAA,EAAA,IAAA;AAoBA,GAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/build/mocks.js ADDED
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ const defaultStubGlobal = (name, value) => {
4
+ Object.defineProperty(globalThis, name, {
5
+ value,
6
+ writable: true,
7
+ enumerable: true,
8
+ configurable: true
9
+ });
10
+ };
11
+ function mockMatchMedia({
12
+ fn,
13
+ stubGlobal = defaultStubGlobal
14
+ }) {
15
+ stubGlobal('matchMedia', fn(query => {
16
+ const matches = /^\(min-width: (\d+)px\)$/u.exec(query);
17
+ const minWidth = matches != null ? Number(matches[1]) : undefined;
18
+ return {
19
+ matches: minWidth != null ? window.innerWidth >= minWidth : false,
20
+ media: query,
21
+ onchange: null,
22
+ addListener: fn(),
23
+ removeListener: fn(),
24
+ addEventListener: fn(),
25
+ removeEventListener: fn(),
26
+ dispatchEvent: fn()
27
+ };
28
+ }));
29
+ }
30
+ function mockResizeObserver({
31
+ fn,
32
+ stubGlobal = defaultStubGlobal
33
+ }) {
34
+ stubGlobal('ResizeObserver', fn(() => ({
35
+ observe: fn(),
36
+ unobserve: fn(),
37
+ disconnect: fn()
38
+ })));
39
+ }
40
+
41
+ exports.mockMatchMedia = mockMatchMedia;
42
+ exports.mockResizeObserver = mockResizeObserver;
43
+ //# sourceMappingURL=mocks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocks.js","sources":["../../src/mocks.ts"],"sourcesContent":[null],"names":["defaultStubGlobal","name","value","Object","defineProperty","globalThis","writable","enumerable","configurable"],"mappings":";;AAAA,MAAeA,iBAAQ,GAAEA,CAAAC,IAAA,EAAAC,KAAa,KAAK;AAE3CC,EAAAA,MAAU,CAAgBC,cAAA,CAAAC,UAAA,EAAAJ,IAAA,EAAA;IACpBC;AACMI,IAAAA,QAAG,EAAA,IAAA;AACdC,IAAAA,UAAA,EAAA,IAAA;AAWeC,IAAAA,YAAA,EAAA,IAAA;AAoBA,GAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -9,6 +9,6 @@ declare const Body: import("react").ForwardRefExoticComponent<HTMLAttributes<HTM
9
9
  * Default value: `div`
10
10
  */
11
11
  as?: "div" | "p" | "span" | undefined;
12
- } & import("react").RefAttributes<HTMLSpanElement | HTMLDivElement | HTMLParagraphElement>>;
12
+ } & import("react").RefAttributes<HTMLSpanElement | HTMLParagraphElement | HTMLDivElement>>;
13
13
  export default Body;
14
14
  //# sourceMappingURL=Body.d.ts.map
@@ -13,7 +13,7 @@ export type AriaLabelProperty = {
13
13
  };
14
14
  export type LinkProps = {
15
15
  href: string;
16
- target?: '_blank' | '_self' | '_parent' | '_top';
16
+ target?: React.HTMLAttributeAnchorTarget;
17
17
  onClick?: React.MouseEventHandler<HTMLElement>;
18
18
  };
19
19
  export type Heading = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -1 +1 @@
1
- {"version":3,"file":"commonProps.d.ts","sourceRoot":"","sources":["../../../src/common/commonProps.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACjD,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"commonProps.d.ts","sourceRoot":"","sources":["../../../src/common/commonProps.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC;IACzC,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare function getDayNames(locale?: string | undefined, format?: 'short' | 'long' | 'narrow' | undefined): string[];
1
+ export function getDayNames(locale: any, format?: string): string[];
2
2
  //# sourceMappingURL=getDayNames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDayNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getDayNames/getDayNames.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CACzB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,EAC3B,MAAM,GAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAmB,YAS1D"}
1
+ {"version":3,"file":"getDayNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getDayNames/getDayNames.js"],"names":[],"mappings":"AAEA,oEAQC"}
@@ -0,0 +1,2 @@
1
+ export { getDayNames } from "./getDayNames";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getDayNames/index.js"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export declare const getMonthNames: (locale: string | undefined, format?: 'numeric' | 'long' | 'short' | '2-digit' | 'narrow' | undefined) => string[];
1
+ export function getMonthNames(locale: any, format?: string): string[];
2
2
  //# sourceMappingURL=getMonthNames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMonthNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getMonthNames/getMonthNames.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,WAChB,MAAM,GAAG,SAAS,WAClB,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,KACtE,MAAM,EASR,CAAC"}
1
+ {"version":3,"file":"getMonthNames.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getMonthNames/getMonthNames.js"],"names":[],"mappings":"AAEO,sEAUN"}
@@ -0,0 +1,2 @@
1
+ export { getMonthNames } from "./getMonthNames";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/getMonthNames/index.js"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
- export { getDayNames } from './getDayNames/getDayNames';
2
- export { moveToWithinRange } from './moveToWithinRange/moveToWithinRange';
3
- export { isWithinRange } from './isWithinRange/isWithinRange';
4
- export { getMonthNames } from './getMonthNames/getMonthNames';
5
- export { isDateValid } from './isDateValid/isDateValid';
6
- export { isMonthAndYearFormat } from './isMonthAndYearFormat/isMonthAndYearFormat';
1
+ export { getDayNames } from "./getDayNames";
2
+ export { moveToWithinRange } from "./moveToWithinRange";
3
+ export { isWithinRange } from "./isWithinRange";
4
+ export { getMonthNames } from "./getMonthNames";
5
+ export { isDateValid } from "./isDateValid";
6
+ export { isMonthAndYearFormat } from "./isMonthAndYearFormat";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/dateUtils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/dateUtils/index.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { isDateValid, validDateString } from "./isDateValid";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isDateValid/index.js"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- export declare const isDateValid: (date: Date | string | null) => boolean;
2
- export declare const validDateString: (dateString: string) => boolean;
1
+ export function isDateValid(date: any): boolean;
2
+ export function validDateString(dateString: any): boolean;
3
3
  //# sourceMappingURL=isDateValid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isDateValid.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isDateValid/isDateValid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,SAAU,IAAI,GAAG,MAAM,GAAG,IAAI,YAQrD,CAAC;AAEF,eAAO,MAAM,eAAe,eAAgB,MAAM,YAA0C,CAAC"}
1
+ {"version":3,"file":"isDateValid.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isDateValid/isDateValid.js"],"names":[],"mappings":"AAAO,gDAA4E;AAE5E,0DACkE"}
@@ -0,0 +1,2 @@
1
+ export { isMonthAndYearFormat } from "./isMonthAndYearFormat";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isMonthAndYearFormat/index.js"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export declare const isMonthAndYearFormat: (dateString: string) => boolean;
1
+ export function isMonthAndYearFormat(dateString: any): boolean;
2
2
  //# sourceMappingURL=isMonthAndYearFormat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isMonthAndYearFormat.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,eAAgB,MAAM,YACU,CAAC"}
1
+ {"version":3,"file":"isMonthAndYearFormat.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js"],"names":[],"mappings":"AAEO,+DAC0D"}
@@ -0,0 +1,2 @@
1
+ export { isWithinRange } from "./isWithinRange";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/index.js"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export declare function isWithinRange(date?: Date, min?: Date, max?: Date): boolean;
1
+ export function isWithinRange(date: any, min: any, max: any): boolean;
2
2
  //# sourceMappingURL=isWithinRange.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/isWithinRange.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,IAAI,WAEhE"}
1
+ {"version":3,"file":"isWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/isWithinRange.js"],"names":[],"mappings":"AAAA,sEAEC"}
@@ -0,0 +1,2 @@
1
+ export { moveToWithinRange } from "./moveToWithinRange";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/index.js"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export declare function moveToWithinRange(date: Date, min: Date, max: Date): Date;
1
+ export function moveToWithinRange(date: any, min: any, max: any): any;
2
2
  //# sourceMappingURL=moveToWithinRange.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"moveToWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/moveToWithinRange.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,QAEjE"}
1
+ {"version":3,"file":"moveToWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/moveToWithinRange.js"],"names":[],"mappings":"AAGA,sEAEC"}
@@ -16,7 +16,7 @@ declare const Panel: import("react").ForwardRefExoticComponent<{
16
16
  altAxis?: boolean | undefined;
17
17
  open?: boolean | undefined;
18
18
  onClose?: ((event: Event | SyntheticEvent) => void) | undefined;
19
- position?: "left" | "right" | "bottom" | "top" | undefined;
19
+ position?: "top" | "bottom" | "left" | "right" | undefined;
20
20
  anchorRef: RefObject<Element>;
21
21
  anchorWidth?: boolean | undefined;
22
22
  } & {
@@ -5,7 +5,7 @@ declare const ResponsivePanel: import("react").ForwardRefExoticComponent<{
5
5
  altAxis?: boolean | undefined;
6
6
  open?: boolean | undefined;
7
7
  onClose?: ((event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
8
- position?: "left" | "right" | "bottom" | "top" | undefined;
8
+ position?: "top" | "bottom" | "left" | "right" | undefined;
9
9
  anchorRef: import("react").RefObject<Element>;
10
10
  anchorWidth?: boolean | undefined;
11
11
  } & {
@@ -1,35 +1,41 @@
1
- import React from 'react';
2
- import { SelectInputProps } from '..';
3
- import { Size, DateMode, MonthFormat } from '../common';
4
- export interface ExplodedDate {
5
- year: number | null;
6
- month: number | null;
7
- day: number | null;
8
- }
9
- export interface DateInputProps {
10
- 'aria-label'?: string;
11
- 'aria-labelledby'?: string;
12
- disabled?: boolean;
13
- size?: Size.SMALL | Size.MEDIUM | Size.LARGE;
14
- value?: Date | string | null;
15
- onChange: (value: string | null) => void;
16
- onFocus?: React.FocusEventHandler<HTMLInputElement>;
17
- onBlur?: React.FocusEventHandler<HTMLInputElement>;
18
- dayLabel?: string;
19
- dayAutoComplete?: string;
20
- monthLabel?: string;
21
- yearLabel?: string;
22
- yearAutoComplete?: string;
23
- monthFormat?: MonthFormat;
24
- mode?: DateMode;
25
- placeholders?: {
26
- day?: string;
27
- month?: string;
28
- year?: string;
29
- };
30
- id?: string;
31
- selectProps?: Partial<SelectInputProps<number>>;
32
- }
33
- declare const DateInput: ({ "aria-labelledby": ariaLabelledBy, "aria-label": ariaLabel, disabled, size, value, dayLabel, dayAutoComplete, monthLabel, yearLabel, yearAutoComplete, monthFormat, mode, onChange, onFocus, onBlur, placeholders, id, selectProps, }: DateInputProps) => React.JSX.Element;
34
- export default DateInput;
35
- //# sourceMappingURL=DateInput.d.ts.map
1
+ import * as React from 'react';
2
+
3
+ export type DateInputSize = "sm" | "md" | "lg";
4
+
5
+ export type DateInputValue = string | Date;
6
+
7
+ export type DateInputMonthFormat = "long" | "short";
8
+
9
+ export type DateInputMode = "day-month-year" | "month-year";
10
+
11
+ export interface DateInputPlaceholders {
12
+ day?: React.ReactNode;
13
+ month?: React.ReactNode;
14
+ year?: React.ReactNode;
15
+ }
16
+
17
+ export interface DateInputProps {
18
+ "aria-label"?: string;
19
+ "aria-labelledby"?: string;
20
+ disabled?: boolean;
21
+ size?: DateInputSize;
22
+ value?: DateInputValue;
23
+ onChange: (...args: any[])=>any;
24
+ onFocus?: (...args: any[])=>any;
25
+ onBlur?: (...args: any[])=>any;
26
+ dayLabel?: string;
27
+ dayAutoComplete?: string;
28
+ monthLabel?: string;
29
+ yearLabel?: string;
30
+ yearAutoComplete?: string;
31
+ monthFormat?: DateInputMonthFormat;
32
+ mode?: DateInputMode;
33
+ placeholders?: DateInputPlaceholders;
34
+ id?: string;
35
+ selectProps?: Object;
36
+ }
37
+
38
+ declare const DateInput: React.FC<DateInputProps>;
39
+
40
+ export default DateInput;
41
+
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/dateInput/DateInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAGL,gBAAgB,EAGjB,MAAM,IAAI,CAAC;AACZ,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AASxD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC;IAC7C,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACpD,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,YAAY,CAAC,EAAE;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;CACjD;AAED,QAAA,MAAM,SAAS,4OAmBZ,cAAc,sBAyQhB,CAAC;AA8BF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/dateInput/DateInput.js"],"names":[],"mappings":";AAeA;;;;;;;;;;;;;;;;;;;gCA0QC"}
@@ -1,26 +1,35 @@
1
- declare const _default: {
2
- monthLabel: {
3
- id: string;
4
- defaultMessage: string;
5
- };
6
- dayLabel: {
7
- id: string;
8
- defaultMessage: string;
9
- };
10
- yearLabel: {
11
- id: string;
12
- defaultMessage: string;
13
- };
14
- dayPlaceholder: {
15
- id: string;
16
- defaultMessage: string;
17
- description: string;
18
- };
19
- yearPlaceholder: {
20
- id: string;
21
- defaultMessage: string;
22
- description: string;
23
- };
24
- };
1
+ declare namespace _default {
2
+ namespace monthLabel {
3
+ const id: string;
4
+ const defaultMessage: string;
5
+ }
6
+ namespace dayLabel {
7
+ const id_1: string;
8
+ export { id_1 as id };
9
+ const defaultMessage_1: string;
10
+ export { defaultMessage_1 as defaultMessage };
11
+ }
12
+ namespace yearLabel {
13
+ const id_2: string;
14
+ export { id_2 as id };
15
+ const defaultMessage_2: string;
16
+ export { defaultMessage_2 as defaultMessage };
17
+ }
18
+ namespace dayPlaceholder {
19
+ const id_3: string;
20
+ export { id_3 as id };
21
+ const defaultMessage_3: string;
22
+ export { defaultMessage_3 as defaultMessage };
23
+ export const description: string;
24
+ }
25
+ namespace yearPlaceholder {
26
+ const id_4: string;
27
+ export { id_4 as id };
28
+ const defaultMessage_4: string;
29
+ export { defaultMessage_4 as defaultMessage };
30
+ const description_1: string;
31
+ export { description_1 as description };
32
+ }
33
+ }
25
34
  export default _default;
26
35
  //# sourceMappingURL=DateInput.messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.messages.d.ts","sourceRoot":"","sources":["../../../src/dateInput/DateInput.messages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAuBG"}
1
+ {"version":3,"file":"DateInput.messages.d.ts","sourceRoot":"","sources":["../../../src/dateInput/DateInput.messages.js"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- import DateInput from './DateInput';
2
1
  export default DateInput;
2
+ import DateInput from "./DateInput";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dateInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dateInput/index.js"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export declare const convertToLocalMidnight: (date: string) => Date;
1
+ export function convertToLocalMidnight(date: any): Date;
2
2
  //# sourceMappingURL=convertToLocalMidnight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convertToLocalMidnight.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,SAAU,MAAM,SAIlD,CAAC"}
1
+ {"version":3,"file":"convertToLocalMidnight.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js"],"names":[],"mappings":"AAAO,wDAIN"}
@@ -1,2 +1,2 @@
1
- export { convertToLocalMidnight } from './convertToLocalMidnight';
1
+ export { convertToLocalMidnight } from "./convertToLocalMidnight";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/convertToLocalMidnight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/convertToLocalMidnight/index.js"],"names":[],"mappings":""}
@@ -1,3 +1,6 @@
1
- import { ExplodedDate } from '../../DateInput';
2
- export declare const explodeDate: (date: Date) => ExplodedDate;
1
+ export function explodeDate(date: any): {
2
+ year: any;
3
+ month: any;
4
+ day: any;
5
+ };
3
6
  //# sourceMappingURL=explodeDate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"explodeDate.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/explodeDate/explodeDate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,WAAW,SAAU,IAAI,KAAG,YAMxC,CAAC"}
1
+ {"version":3,"file":"explodeDate.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/explodeDate/explodeDate.js"],"names":[],"mappings":"AAAO;;;;EAMN"}
@@ -1,2 +1,2 @@
1
- export { explodeDate } from './explodeDate';
1
+ export { explodeDate } from "./explodeDate";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/explodeDate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateInput/utils/explodeDate/index.js"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- export { explodeDate } from './explodeDate';
2
- export { convertToLocalMidnight } from './convertToLocalMidnight';
1
+ export { explodeDate } from "./explodeDate";
2
+ export { convertToLocalMidnight } from "./convertToLocalMidnight";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateInput/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateInput/utils/index.js"],"names":[],"mappings":""}
@@ -1,52 +1,39 @@
1
- import * as React from 'react';
2
-
3
- export interface DecisionOptions {
4
- description?: React.ReactNode;
5
- disabled?: boolean;
6
- href?: string;
7
- target?: "_self" | "_blank" | "_parent" | "_top";
8
- media?: {
9
- block: React.ReactNode;
10
- list: React.ReactNode;
11
- };
12
- onClick?: (...args: any[])=>any;
13
- title: React.ReactNode;
14
- }
15
-
16
- export type DecisionPresentation = "LIST" | "LIST_BLOCK" | "LIST_BLOCK_GRID";
17
-
18
- export type DecisionSize = "sm" | "md";
19
-
20
- export type DecisionType = "NAVIGATION";
21
-
22
- export interface DecisionProps {
23
- /**
24
- * A list of elements to be rendered
25
- */
26
- options: DecisionOptions[];
27
- /**
28
- * Handles the display mode of the component
29
- */
30
- presentation?: DecisionPresentation;
31
- /**
32
- * Size currently affects only Tile dimension
33
- */
34
- size?: DecisionSize;
35
- /**
36
- * Decide which kind of element type needs to be rendered ex: Navigation Options or in the future Radio or Checkbox Options
37
- */
38
- type?: DecisionType;
39
- /**
40
- * Display media in a circle in list presentation
41
- */
42
- showMediaCircleInList?: boolean;
43
- /**
44
- * Sets navigation options to be aligned with the parent container
45
- */
46
- isContainerAligned?: boolean;
47
- }
48
-
49
- declare const Decision: React.FC<DecisionProps>;
50
-
51
- export default Decision;
52
-
1
+ /// <reference types="react" />
2
+ import { SizeSmall, SizeMedium } from '../common';
3
+ interface DecisionOption {
4
+ description?: React.ReactNode;
5
+ disabled?: boolean;
6
+ href?: string;
7
+ target?: React.HTMLAttributeAnchorTarget;
8
+ media: {
9
+ block: React.ReactNode;
10
+ list: React.ReactNode;
11
+ };
12
+ onClick?: React.MouseEventHandler<HTMLElement>;
13
+ title: React.ReactNode;
14
+ }
15
+ export declare enum DecisionPresentation {
16
+ LIST = "LIST",
17
+ LIST_BLOCK = "LIST_BLOCK",
18
+ LIST_BLOCK_GRID = "LIST_BLOCK_GRID"
19
+ }
20
+ export declare enum DecisionType {
21
+ NAVIGATION = "NAVIGATION"
22
+ }
23
+ export interface DecisionProps {
24
+ /** A list of elements to be rendered */
25
+ options: DecisionOption[];
26
+ /** Handles the display mode of the component */
27
+ presentation?: `${DecisionPresentation}`;
28
+ /** Size currently affects only Tile dimension */
29
+ size?: SizeSmall | SizeMedium;
30
+ /** Decide which kind of element type needs to be rendered ex: Navigation Options or in the future Radio or Checkbox Options */
31
+ type?: `${DecisionType}`;
32
+ /** Display media in a circle in list presentation */
33
+ showMediaCircleInList?: boolean;
34
+ /** Sets navigation options to be aligned with the parent container */
35
+ isContainerAligned?: boolean;
36
+ }
37
+ declare const Decision: ({ options, presentation, size, type, showMediaCircleInList, isContainerAligned, }: DecisionProps) => import("react").JSX.Element | null;
38
+ export default Decision;
39
+ //# sourceMappingURL=Decision.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Decision.d.ts","sourceRoot":"","sources":["../../../src/decision/Decision.js"],"names":[],"mappings":";AAUA;;;;;;;QAiGC"}
1
+ {"version":3,"file":"Decision.d.ts","sourceRoot":"","sources":["../../../src/decision/Decision.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAoB,SAAS,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAKpE,UAAU,cAAc;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC;IACzC,KAAK,EAAE;QACL,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;KACvB,CAAC;IACF,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAC/C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,eAAe,oBAAoB;CACpC;AAED,oBAAY,YAAY;IACtB,UAAU,eAAe;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,yCAAyC;IACzC,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,iDAAiD;IACjD,YAAY,CAAC,EAAE,GAAG,oBAAoB,EAAE,CAAC;IACzC,iDAAiD;IACjD,IAAI,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC9B,+HAA+H;IAC/H,IAAI,CAAC,EAAE,GAAG,YAAY,EAAE,CAAC;IAEzB,qDAAqD;IACrD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,QAAA,MAAM,QAAQ,sFAOX,aAAa,uCA+Ef,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,3 +1,2 @@
1
- export { default } from "./Decision";
2
- export { Presentation as DecisionPresentation, Type as DecisionType } from "./decisionEnums";
1
+ export { default, DecisionPresentation, DecisionType } from './Decision';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decision/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/decision/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC"}