@capillarytech/blaze-ui 6.4.0 → 6.5.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.
- package/CapDateRangePicker/index.d.ts.map +1 -1
- package/CapDateRangePicker/index.js +5 -1
- package/CapDateRangePicker/styles.css +28 -0
- package/CapDateRangePicker/styles.module.scss.js +2 -1
- package/CapDateRangePicker/styles.scss +37 -0
- package/CapDateRangePicker/types.d.ts +5 -0
- package/CapDateRangePicker/types.d.ts.map +1 -1
- package/CapDragAndDrop/index.d.ts +19 -3
- package/CapDragAndDrop/index.d.ts.map +1 -1
- package/CapDragAndDrop/index.js +29 -24
- package/CapDragAndDrop/styles.css +15 -17
- package/CapDragAndDrop/styles.scss +16 -18
- package/CapMobileDateRangePicker/DateRangeInputSelectors.d.ts +7 -0
- package/CapMobileDateRangePicker/DateRangeInputSelectors.d.ts.map +1 -0
- package/CapMobileDateRangePicker/DateRangeInputSelectors.js +68 -0
- package/CapMobileDateRangePicker/ReactMobileDatePickerModule.d.ts.map +1 -1
- package/CapMobileDateRangePicker/ReactMobileDatePickerModule.js +2 -1
- package/CapMobileDateRangePicker/index.d.ts +5 -21
- package/CapMobileDateRangePicker/index.d.ts.map +1 -1
- package/CapMobileDateRangePicker/index.js +256 -309
- package/CapMobileDateRangePicker/messages.d.ts +17 -0
- package/CapMobileDateRangePicker/messages.d.ts.map +1 -0
- package/CapMobileDateRangePicker/messages.js +20 -0
- package/CapMobileDateRangePicker/styles.css +107 -144
- package/CapMobileDateRangePicker/styles.module.scss.js +21 -0
- package/CapMobileDateRangePicker/styles.scss +188 -192
- package/CapMobileDateRangePicker/tests/CapMobileDateRangePicker.mockData.d.ts +18 -0
- package/CapMobileDateRangePicker/tests/CapMobileDateRangePicker.mockData.d.ts.map +1 -0
- package/CapMobileDateRangePicker/types.d.ts +95 -0
- package/CapMobileDateRangePicker/types.d.ts.map +1 -0
- package/CapMobileDateRangePicker/utils.d.ts +3 -0
- package/CapMobileDateRangePicker/utils.d.ts.map +1 -0
- package/CapMobileDateRangePicker/utils.js +5 -0
- package/CapPopoverTree/index.d.ts +3 -40
- package/CapPopoverTree/index.d.ts.map +1 -1
- package/CapPopoverTree/index.js +72 -82
- package/CapPopoverTree/style.d.ts +5 -1
- package/CapPopoverTree/style.d.ts.map +1 -1
- package/CapPopoverTree/styles.css +119 -18
- package/CapPopoverTree/styles.module.scss.js +26 -0
- package/CapPopoverTree/styles.scss +179 -31
- package/CapPopoverTree/tests/CapPopoverTree.mockData.d.ts +22 -0
- package/CapPopoverTree/tests/CapPopoverTree.mockData.d.ts.map +1 -0
- package/CapPopoverTree/types.d.ts +62 -0
- package/CapPopoverTree/types.d.ts.map +1 -0
- package/CapTimeline/CapTimelineCard.d.ts +27 -4
- package/CapTimeline/CapTimelineCard.d.ts.map +1 -1
- package/CapTimeline/CapTimelineCard.js +157 -40
- package/CapTimeline/CapTimelinePanesWrapper.d.ts +25 -4
- package/CapTimeline/CapTimelinePanesWrapper.d.ts.map +1 -1
- package/CapTimeline/CapTimelinePanesWrapper.js +20 -24
- package/CapTimeline/index.d.ts +17 -2
- package/CapTimeline/index.d.ts.map +1 -1
- package/CapTimeline/index.js +23 -62
- package/CapTimeline/styles.css +40 -40
- package/CapTimeline/styles.scss +57 -76
- package/CapVirtualSelect/actions.d.ts +16 -0
- package/CapVirtualSelect/actions.d.ts.map +1 -0
- package/CapVirtualSelect/actions.js +21 -0
- package/CapVirtualSelect/constants.d.ts +13 -0
- package/CapVirtualSelect/constants.d.ts.map +1 -0
- package/CapVirtualSelect/constants.js +26 -0
- package/CapVirtualSelect/index.d.ts +169 -0
- package/CapVirtualSelect/index.d.ts.map +1 -0
- package/CapVirtualSelect/index.js +409 -0
- package/CapVirtualSelect/messages.d.ts +9 -0
- package/CapVirtualSelect/messages.d.ts.map +1 -0
- package/CapVirtualSelect/messages.js +12 -0
- package/CapVirtualSelect/reducer.d.ts +4 -0
- package/CapVirtualSelect/reducer.d.ts.map +1 -0
- package/CapVirtualSelect/reducer.js +63 -0
- package/CapVirtualSelect/saga.d.ts +40 -0
- package/CapVirtualSelect/saga.d.ts.map +1 -0
- package/CapVirtualSelect/saga.js +91 -0
- package/CapVirtualSelect/selectors.d.ts +28 -0
- package/CapVirtualSelect/selectors.d.ts.map +1 -0
- package/CapVirtualSelect/selectors.js +30 -0
- package/CapVirtualSelect/styles.css +110 -0
- package/CapVirtualSelect/styles.scss +106 -0
- package/CapVirtualSelect/tests/mockData.d.ts +7 -0
- package/CapVirtualSelect/tests/mockData.d.ts.map +1 -0
- package/CapVirtualSelect/utils.d.ts +2 -0
- package/CapVirtualSelect/utils.d.ts.map +1 -0
- package/CapVirtualSelect/utils.js +12 -0
- package/index.d.ts +2 -4
- package/index.d.ts.map +1 -1
- package/index.js +97 -99
- package/package.json +1 -1
- package/utils/dayjs.d.ts +29 -0
- package/utils/dayjs.d.ts.map +1 -1
- package/utils/dayjs.js +30 -0
- package/utils/getCapThemeConfig.d.ts.map +1 -1
- package/utils/getCapThemeConfig.js +1 -9
- package/CapDragAndDrop/messages.d.ts +0 -25
- package/CapDragAndDrop/messages.d.ts.map +0 -1
- package/CapDragAndDrop/messages.js +0 -28
- package/CapDragAndDrop/styles.module.scss.js +0 -21
- package/CapDragAndDrop/types.d.ts +0 -17
- package/CapDragAndDrop/types.d.ts.map +0 -1
- package/CapTimeline/messages.d.ts +0 -21
- package/CapTimeline/messages.d.ts.map +0 -1
- package/CapTimeline/messages.js +0 -24
- package/CapTimeline/styles.module.scss.js +0 -30
- package/CapTimeline/tests/CapTimeline.mockData.d.ts +0 -14
- package/CapTimeline/tests/CapTimeline.mockData.d.ts.map +0 -1
- package/CapTimeline/types.d.ts +0 -60
- package/CapTimeline/types.d.ts.map +0 -1
- /package/{CapDragAndDrop → CapMobileDateRangePicker}/types.js +0 -0
- /package/{CapTimeline → CapPopoverTree}/types.js +0 -0
package/utils/dayjs.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
|
+
export declare const RANGE_PICKER: {
|
|
4
|
+
readonly START_DATE: "startDate";
|
|
5
|
+
readonly END_DATE: "endDate";
|
|
6
|
+
};
|
|
3
7
|
export declare const TIME_UNITS: {
|
|
4
8
|
readonly UTC: "UTC";
|
|
5
9
|
readonly LOCAL: "local";
|
|
@@ -47,8 +51,33 @@ export declare const FORMAT_TOKENS: {
|
|
|
47
51
|
readonly DATETIME_LOCALIZED_LONG_TIME: "LLL";
|
|
48
52
|
readonly DATETIME_LOCALIZED_LONG_TIME_WEEKDAY: "LLLL";
|
|
49
53
|
};
|
|
54
|
+
export declare const MONTH_MAP: {
|
|
55
|
+
readonly 1: "Jan";
|
|
56
|
+
readonly 2: "Feb";
|
|
57
|
+
readonly 3: "Mar";
|
|
58
|
+
readonly 4: "Apr";
|
|
59
|
+
readonly 5: "May";
|
|
60
|
+
readonly 6: "Jun";
|
|
61
|
+
readonly 7: "Jul";
|
|
62
|
+
readonly 8: "Aug";
|
|
63
|
+
readonly 9: "Sep";
|
|
64
|
+
readonly 10: "Oct";
|
|
65
|
+
readonly 11: "Nov";
|
|
66
|
+
readonly 12: "Dec";
|
|
67
|
+
};
|
|
68
|
+
export declare const WEEKDAY_MAP: {
|
|
69
|
+
readonly 0: "Sun";
|
|
70
|
+
readonly 1: "Mon";
|
|
71
|
+
readonly 2: "Tue";
|
|
72
|
+
readonly 3: "Wed";
|
|
73
|
+
readonly 4: "Thu";
|
|
74
|
+
readonly 5: "Fri";
|
|
75
|
+
readonly 6: "Sat";
|
|
76
|
+
};
|
|
50
77
|
export type TimeUnit = (typeof TIME_UNITS)[keyof typeof TIME_UNITS];
|
|
51
78
|
export type FormatToken = (typeof FORMAT_TOKENS)[keyof typeof FORMAT_TOKENS];
|
|
79
|
+
export type Month = (typeof MONTH_MAP)[keyof typeof MONTH_MAP];
|
|
80
|
+
export type Weekday = (typeof WEEKDAY_MAP)[keyof typeof WEEKDAY_MAP];
|
|
52
81
|
export declare const DEFAULT_TIMEZONE = "Asia/Kolkata";
|
|
53
82
|
export declare function normalizeDateValue(isConsumerUsingMoment: boolean, parsedValue: dayjs.Dayjs | Moment | null | undefined): dayjs.Dayjs | Moment;
|
|
54
83
|
export declare function isDayjsObject(value: unknown): value is dayjs.Dayjs;
|
package/utils/dayjs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dayjs.d.ts","sourceRoot":"","sources":["../../components/utils/dayjs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAyIhC,eAAO,MAAM,UAAU;;;;;;;;;;;;CAYb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ChB,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AACpE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"dayjs.d.ts","sourceRoot":"","sources":["../../components/utils/dayjs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAyIhC,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;CAYb,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ChB,CAAC;AAEX,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAaZ,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;CAQd,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CA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K,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAqD3F;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,CAAC,KAAK,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,GACxF,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,EAAE,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,SAAS,CAGtD;AAED,eAAe,KAAK,CAAC"}
|
package/utils/dayjs.js
CHANGED
|
@@ -109,6 +109,10 @@ dayjs.extend(weekOfYear);
|
|
|
109
109
|
dayjs.extend(weekYear);
|
|
110
110
|
dayjs.extend(isoWeek);
|
|
111
111
|
dayjs.extend(localeData);
|
|
112
|
+
const RANGE_PICKER = {
|
|
113
|
+
START_DATE: "startDate",
|
|
114
|
+
END_DATE: "endDate"
|
|
115
|
+
};
|
|
112
116
|
const TIME_UNITS = {
|
|
113
117
|
UTC: "UTC",
|
|
114
118
|
LOCAL: "local",
|
|
@@ -161,6 +165,29 @@ const FORMAT_TOKENS = {
|
|
|
161
165
|
DATETIME_LOCALIZED_LONG_TIME: "LLL",
|
|
162
166
|
DATETIME_LOCALIZED_LONG_TIME_WEEKDAY: "LLLL"
|
|
163
167
|
};
|
|
168
|
+
const MONTH_MAP = {
|
|
169
|
+
1: "Jan",
|
|
170
|
+
2: "Feb",
|
|
171
|
+
3: "Mar",
|
|
172
|
+
4: "Apr",
|
|
173
|
+
5: "May",
|
|
174
|
+
6: "Jun",
|
|
175
|
+
7: "Jul",
|
|
176
|
+
8: "Aug",
|
|
177
|
+
9: "Sep",
|
|
178
|
+
10: "Oct",
|
|
179
|
+
11: "Nov",
|
|
180
|
+
12: "Dec"
|
|
181
|
+
};
|
|
182
|
+
const WEEKDAY_MAP = {
|
|
183
|
+
0: "Sun",
|
|
184
|
+
1: "Mon",
|
|
185
|
+
2: "Tue",
|
|
186
|
+
3: "Wed",
|
|
187
|
+
4: "Thu",
|
|
188
|
+
5: "Fri",
|
|
189
|
+
6: "Sat"
|
|
190
|
+
};
|
|
164
191
|
const DEFAULT_TIMEZONE = "Asia/Kolkata";
|
|
165
192
|
function logDevError(message, error) {
|
|
166
193
|
if (process.env.NODE_ENV === "development") {
|
|
@@ -285,7 +312,10 @@ function convertRangeValue(rangeValue) {
|
|
|
285
312
|
export {
|
|
286
313
|
DEFAULT_TIMEZONE,
|
|
287
314
|
FORMAT_TOKENS,
|
|
315
|
+
MONTH_MAP,
|
|
316
|
+
RANGE_PICKER,
|
|
288
317
|
TIME_UNITS,
|
|
318
|
+
WEEKDAY_MAP,
|
|
289
319
|
convertRangeValue,
|
|
290
320
|
dayjsToMoment,
|
|
291
321
|
default2 as default,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCapThemeConfig.d.ts","sourceRoot":"","sources":["../../components/utils/getCapThemeConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmEtC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAGH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,
|
|
1
|
+
{"version":3,"file":"getCapThemeConfig.d.ts","sourceRoot":"","sources":["../../components/utils/getCapThemeConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmEtC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAGH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,CAgU7E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { merge } from "lodash";
|
|
2
|
-
import { CAP_SECONDARY, CAP_PRIMARY, CAP_G09, CAP_WHITE, FONT_COLOR_01,
|
|
2
|
+
import { CAP_SECONDARY, CAP_PRIMARY, CAP_G09, CAP_WHITE, FONT_COLOR_01, CAP_G06, CAP_COLOR_08, CAP_G05, CAP_G07, FONT_COLOR_04, FONT_WEIGHT_MEDIUM, BG_01, CAP_G08, CAP_G01, CAP_G11, CAP_G04, CAP_G03, CAP_G10, CAP_RED, FONT_COLOR_03, FONT_COLOR_02, CAP_COLOR_05, CAP_COLOR_03, CAP_COLOR_02, CAP_COLOR_10, CAP_COLOR_04, CAP_COLOR_11, CAP_COLOR_01, CAP_COLOR_06, FONT_FAMILY, CAP_COLOR_26, CAP_COLOR_15, CAP_COLOR_14, SPACING_32, FONT_SIZE_L, DEFAULT_LINE_HEIGHT, FONT_SIZE_M, SPACING_08, SPACING_24, RADIUS_04, SPACING_16, RADIUS_08, INPUT_HEIGHT, BUTTON_HEIGHT, FONT_SIZE_S, SPACING_12, FONT_SIZE_VL } from "../styles/_variables.js";
|
|
3
3
|
function getRootFontSize() {
|
|
4
4
|
if (typeof window === "undefined" || typeof document === "undefined") {
|
|
5
5
|
return 14;
|
|
@@ -323,14 +323,6 @@ function getCapThemeConfig(options) {
|
|
|
323
323
|
activeBorderColor: CAP_G06,
|
|
324
324
|
activeShadow: "transparent"
|
|
325
325
|
},
|
|
326
|
-
// Timeline component tokens (for CapTimeline)
|
|
327
|
-
Timeline: {
|
|
328
|
-
tailColor: CAP_G07,
|
|
329
|
-
tailWidth: 2,
|
|
330
|
-
dotBorderWidth: 1,
|
|
331
|
-
itemPaddingBottom: 0,
|
|
332
|
-
customDotTop: 20
|
|
333
|
-
},
|
|
334
326
|
// Tree component tokens (for CapTreeView)
|
|
335
327
|
Tree: {
|
|
336
328
|
colorText: FONT_COLOR_01,
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const scope = "app.commonUtils.capUiLibrary.CapDragAndDrop";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
dropboxtext: {
|
|
4
|
-
id: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
selectFilesText: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
};
|
|
11
|
-
droptext: {
|
|
12
|
-
id: string;
|
|
13
|
-
defaultMessage: string;
|
|
14
|
-
};
|
|
15
|
-
invalidFileSelectionText: {
|
|
16
|
-
id: string;
|
|
17
|
-
defaultMessage: string;
|
|
18
|
-
};
|
|
19
|
-
or: {
|
|
20
|
-
id: string;
|
|
21
|
-
defaultMessage: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default _default;
|
|
25
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../components/CapDragAndDrop/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,gDAAgD,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAEnE,wBAqBG"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { defineMessages } from "react-intl";
|
|
2
|
-
const scope = "app.commonUtils.capUiLibrary.CapDragAndDrop";
|
|
3
|
-
const messages = defineMessages({
|
|
4
|
-
dropboxtext: {
|
|
5
|
-
id: `${scope}.dropboxtext`,
|
|
6
|
-
defaultMessage: "Drop here!"
|
|
7
|
-
},
|
|
8
|
-
selectFilesText: {
|
|
9
|
-
id: `${scope}.selectFilesText`,
|
|
10
|
-
defaultMessage: "Select files from your computer"
|
|
11
|
-
},
|
|
12
|
-
droptext: {
|
|
13
|
-
id: `${scope}.droptext`,
|
|
14
|
-
defaultMessage: "Drag and drop files"
|
|
15
|
-
},
|
|
16
|
-
invalidFileSelectionText: {
|
|
17
|
-
id: `${scope}.invalidFileSelectionText`,
|
|
18
|
-
defaultMessage: "Invalid file selection!"
|
|
19
|
-
},
|
|
20
|
-
or: {
|
|
21
|
-
id: `${scope}.or`,
|
|
22
|
-
defaultMessage: "OR"
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
messages as default,
|
|
27
|
-
scope
|
|
28
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import './styles.css';const dragInactiveText = "dragInactiveText";
|
|
2
|
-
const intermediateOR = "intermediateOR";
|
|
3
|
-
const fileUploadImage = "fileUploadImage";
|
|
4
|
-
const styles = {
|
|
5
|
-
"cap-drag-and-drop-v1-main-div": "cap-drag-and-drop-v1-main-div",
|
|
6
|
-
"cap-drag-and-drop-v1-size-r": "cap-drag-and-drop-v1-size-r",
|
|
7
|
-
"cap-drag-and-drop-v1-size-s": "cap-drag-and-drop-v1-size-s",
|
|
8
|
-
dragInactiveText,
|
|
9
|
-
intermediateOR,
|
|
10
|
-
fileUploadImage,
|
|
11
|
-
"cap-drag-and-drop-v1-uploadButton": "cap-drag-and-drop-v1-uploadButton",
|
|
12
|
-
"cap-drag-and-drop-v1-dropBoxText": "cap-drag-and-drop-v1-dropBoxText",
|
|
13
|
-
"drag-active-section": "drag-active-section",
|
|
14
|
-
"cap-drag-and-drop-input": "cap-drag-and-drop-input"
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
styles as default,
|
|
18
|
-
dragInactiveText,
|
|
19
|
-
fileUploadImage,
|
|
20
|
-
intermediateOR
|
|
21
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
export interface CapDragAndDropProps {
|
|
3
|
-
setacceptedfiles: (value: File[] | ((prev: File[]) => File[])) => void;
|
|
4
|
-
setrejectedfiles?: (value: unknown) => void;
|
|
5
|
-
accept?: Record<string, string[]>;
|
|
6
|
-
maxfilesize?: number;
|
|
7
|
-
minfilesize?: number;
|
|
8
|
-
multiple?: boolean;
|
|
9
|
-
dropboxwidth?: string;
|
|
10
|
-
dropboxtext?: string;
|
|
11
|
-
selectFilesText?: string;
|
|
12
|
-
droptext?: string;
|
|
13
|
-
invalidFileSelectionText?: string;
|
|
14
|
-
or?: React.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../components/CapDragAndDrop/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACvE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const scope = "app.commonUtils.capUiLibrary.CapTimelineCard";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
defaultConfiguringMessage: {
|
|
4
|
-
id: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
defaultNotConfiguredMessage: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
};
|
|
11
|
-
toConfigure: {
|
|
12
|
-
id: string;
|
|
13
|
-
defaultMessage: string;
|
|
14
|
-
};
|
|
15
|
-
completePrevSteps: {
|
|
16
|
-
id: string;
|
|
17
|
-
defaultMessage: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
|
21
|
-
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../components/CapTimeline/messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,iDAAiD,CAAC;;;;;;;;;;;;;;;;;;;AAEpE,wBAiBG"}
|
package/CapTimeline/messages.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { defineMessages } from "react-intl";
|
|
2
|
-
const scope = "app.commonUtils.capUiLibrary.CapTimelineCard";
|
|
3
|
-
const messages = defineMessages({
|
|
4
|
-
defaultConfiguringMessage: {
|
|
5
|
-
id: `${scope}.defaultConfiguringMessage`,
|
|
6
|
-
defaultMessage: "Configuring..."
|
|
7
|
-
},
|
|
8
|
-
defaultNotConfiguredMessage: {
|
|
9
|
-
id: `${scope}.defaultNotConfiguredMessage`,
|
|
10
|
-
defaultMessage: "Not configured yet..."
|
|
11
|
-
},
|
|
12
|
-
toConfigure: {
|
|
13
|
-
id: `${scope}.toConfigure`,
|
|
14
|
-
defaultMessage: "To configure "
|
|
15
|
-
},
|
|
16
|
-
completePrevSteps: {
|
|
17
|
-
id: `${scope}.completePrevSteps`,
|
|
18
|
-
defaultMessage: " complete the previous steps."
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
export {
|
|
22
|
-
messages as default,
|
|
23
|
-
scope
|
|
24
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import './styles.css';const styles = {
|
|
2
|
-
"cap-timeline-v1-body": "cap-timeline-v1-body",
|
|
3
|
-
"cap-timeline-card-v1-pane-selected": "cap-timeline-card-v1-pane-selected",
|
|
4
|
-
"cap-timeline-card-v1-card-description": "cap-timeline-card-v1-card-description",
|
|
5
|
-
"cap-timeline-panes-wrapper-v1-active-pane": "cap-timeline-panes-wrapper-v1-active-pane",
|
|
6
|
-
"cap-timeline-panes-wrapper-v1-inactive-pane": "cap-timeline-panes-wrapper-v1-inactive-pane",
|
|
7
|
-
"cap-timeline-panes-wrapper-v1-right-pane-content": "cap-timeline-panes-wrapper-v1-right-pane-content",
|
|
8
|
-
"cap-timeline-panes-wrapper-v1-left-pane-col": "cap-timeline-panes-wrapper-v1-left-pane-col",
|
|
9
|
-
"cap-timeline-panes-wrapper-v1-right-pane-col": "cap-timeline-panes-wrapper-v1-right-pane-col",
|
|
10
|
-
"cap-timeline-panes-wrapper-v1-divider-col": "cap-timeline-panes-wrapper-v1-divider-col",
|
|
11
|
-
"cap-timeline-panes-wrapper-v1-timelinePane-divider": "cap-timeline-panes-wrapper-v1-timelinePane-divider",
|
|
12
|
-
"cap-timeline-card-v1-division": "cap-timeline-card-v1-division",
|
|
13
|
-
"cap-timeline-card-v1-warning-division": "cap-timeline-card-v1-warning-division",
|
|
14
|
-
"cap-timeline-card-v1-disabled-card": "cap-timeline-card-v1-disabled-card",
|
|
15
|
-
"cap-timeline-card-v1-incomplete-card": "cap-timeline-card-v1-incomplete-card",
|
|
16
|
-
"cap-timeline-card-v1-warning-card": "cap-timeline-card-v1-warning-card",
|
|
17
|
-
"cap-timeline-panes-wrapper-v1-pane-wrapper": "cap-timeline-panes-wrapper-v1-pane-wrapper",
|
|
18
|
-
"cap-timeline-card-v1-disabled-timeline-item": "cap-timeline-card-v1-disabled-timeline-item",
|
|
19
|
-
"cap-timeline-card-v1-enabled-timeline-item": "cap-timeline-card-v1-enabled-timeline-item",
|
|
20
|
-
"cap-timeline-card-v1-enabled-card": "cap-timeline-card-v1-enabled-card",
|
|
21
|
-
"cap-timeline-card-v1-icon-parent": "cap-timeline-card-v1-icon-parent",
|
|
22
|
-
"cap-timeline-card-v1-card-body": "cap-timeline-card-v1-card-body",
|
|
23
|
-
"cap-timeline-card-v1-last-pane": "cap-timeline-card-v1-last-pane",
|
|
24
|
-
"cap-timeline-card-v1-completed-tail": "cap-timeline-card-v1-completed-tail",
|
|
25
|
-
"cap-timeline-card-v1-warning-tail": "cap-timeline-card-v1-warning-tail",
|
|
26
|
-
"cap-timeline-card-v1-complete-head": "cap-timeline-card-v1-complete-head"
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
styles as default
|
|
30
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { TimelineItemData, TimelinePaneItem } from '../types';
|
|
2
|
-
export declare const createPane: (overrides?: Partial<TimelinePaneItem>) => TimelinePaneItem;
|
|
3
|
-
export declare const createPanes: () => TimelinePaneItem[];
|
|
4
|
-
export declare const panesWrapperBaseProps: {
|
|
5
|
-
isReviewScreen: boolean;
|
|
6
|
-
activeTab: string;
|
|
7
|
-
timelineLeftPaneContents: {
|
|
8
|
-
tab1: string;
|
|
9
|
-
tab2: string;
|
|
10
|
-
tab3: string;
|
|
11
|
-
};
|
|
12
|
-
timelineRightCards: TimelineItemData[];
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=CapTimeline.mockData.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CapTimeline.mockData.d.ts","sourceRoot":"","sources":["../../../components/CapTimeline/tests/CapTimeline.mockData.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEnE,eAAO,MAAM,UAAU,GAAI,YAAW,OAAO,CAAC,gBAAgB,CAAM,KAAG,gBAerE,CAAC;AAEH,eAAO,MAAM,WAAW,QAAO,gBAAgB,EAgB9C,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;wBAe3B,gBAAgB,EAAE;CACxB,CAAC"}
|
package/CapTimeline/types.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
export interface TimelinePaneItem {
|
|
3
|
-
milestoneHeader?: React.ReactNode;
|
|
4
|
-
milestoneDescription?: React.ReactNode;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
configuringMessage?: string;
|
|
7
|
-
notConfiguredMessage?: string;
|
|
8
|
-
key: string;
|
|
9
|
-
paneKey?: string | number;
|
|
10
|
-
alwaysShowDescription?: boolean;
|
|
11
|
-
complete?: boolean;
|
|
12
|
-
content?: React.ReactNode;
|
|
13
|
-
configError?: boolean;
|
|
14
|
-
edited?: boolean;
|
|
15
|
-
handleClick?: () => void;
|
|
16
|
-
}
|
|
17
|
-
export interface CapTimelineProps {
|
|
18
|
-
className?: string;
|
|
19
|
-
timelinePanes: TimelinePaneItem[];
|
|
20
|
-
activeTab?: string;
|
|
21
|
-
isReviewScreen?: boolean;
|
|
22
|
-
width?: number;
|
|
23
|
-
}
|
|
24
|
-
export interface CapTimelineCardProps {
|
|
25
|
-
className?: string;
|
|
26
|
-
isSelected?: boolean;
|
|
27
|
-
handleClick?: () => void;
|
|
28
|
-
milestoneHeader?: React.ReactNode;
|
|
29
|
-
milestoneDescription?: React.ReactNode;
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
configuringMessage?: string;
|
|
32
|
-
notConfiguredMessage?: string;
|
|
33
|
-
alwaysShowDescription?: boolean;
|
|
34
|
-
complete?: boolean;
|
|
35
|
-
configError?: boolean;
|
|
36
|
-
defaultConfiguringMessage?: string;
|
|
37
|
-
paneKey?: string | number;
|
|
38
|
-
isLastPane?: boolean;
|
|
39
|
-
width?: number;
|
|
40
|
-
defaultNotConfiguredMessage?: string;
|
|
41
|
-
toConfigure?: string;
|
|
42
|
-
completePrevSteps?: string;
|
|
43
|
-
edited?: boolean;
|
|
44
|
-
}
|
|
45
|
-
/** Represents a single antd v5 Timeline item data object */
|
|
46
|
-
export interface TimelineItemData {
|
|
47
|
-
key?: string;
|
|
48
|
-
icon?: React.ReactNode;
|
|
49
|
-
content?: React.ReactNode;
|
|
50
|
-
className?: string;
|
|
51
|
-
}
|
|
52
|
-
export interface CapTimelinePanesWrapperProps {
|
|
53
|
-
className?: string;
|
|
54
|
-
isReviewScreen?: boolean;
|
|
55
|
-
activeTab?: string;
|
|
56
|
-
timelineLeftPaneContents: Record<string, React.ReactNode>;
|
|
57
|
-
timelineRightCards: TimelineItemData[];
|
|
58
|
-
timelineClassName?: string;
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../components/CapTimeline/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,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