@capillarytech/blaze-ui 1.0.3-alpha.8 → 1.1.0-alpha.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/{CapAlert → dist/CapAlert}/index.js +9 -85
- package/dist/CapAlert/index.js.map +1 -0
- package/{CapButton → dist/CapButton}/index.js +78 -104
- package/dist/CapButton/index.js.map +1 -0
- package/{CapCard → dist/CapCard}/index.js +9 -85
- package/dist/CapCard/index.js.map +1 -0
- package/{CapCheckbox → dist/CapCheckbox}/index.js +10 -86
- package/dist/CapCheckbox/index.js.map +1 -0
- package/{CapColumn → dist/CapColumn}/index.js +9 -85
- package/dist/CapColumn/index.js.map +1 -0
- package/{CapDivider → dist/CapDivider}/index.js +9 -85
- package/dist/CapDivider/index.js.map +1 -0
- package/{CapDropdown → dist/CapDropdown}/index.js +9 -85
- package/dist/CapDropdown/index.js.map +1 -0
- package/{CapForm → dist/CapForm}/index.js +9 -85
- package/dist/CapForm/index.js.map +1 -0
- package/{CapFormItem → dist/CapFormItem}/index.js +9 -85
- package/dist/CapFormItem/index.js.map +1 -0
- package/{CapIcon → dist/CapIcon}/index.js +77 -103
- package/dist/CapIcon/index.js.map +1 -0
- package/{CapLabel → dist/CapLabel}/index.js +9 -85
- package/dist/CapLabel/index.js.map +1 -0
- package/{CapMenu → dist/CapMenu}/index.js +9 -85
- package/dist/CapMenu/index.js.map +1 -0
- package/{CapRadio → dist/CapRadio}/index.js +10 -86
- package/dist/CapRadio/index.js.map +1 -0
- package/{CapRow → dist/CapRow}/index.js +9 -85
- package/dist/CapRow/index.js.map +1 -0
- package/{CapSwitch → dist/CapSwitch}/index.js +9 -85
- package/dist/CapSwitch/index.js.map +1 -0
- package/{CapTab → dist/CapTab}/index.js +9 -85
- package/dist/CapTab/index.js.map +1 -0
- package/dist/CapTable/index.js +1115 -0
- package/dist/CapTable/index.js.map +1 -0
- package/{CapTooltip → dist/CapTooltip}/index.js +9 -85
- package/dist/CapTooltip/index.js.map +1 -0
- package/{CapTooltipWithInfo → dist/CapTooltipWithInfo}/index.js +79 -105
- package/dist/CapTooltipWithInfo/index.js.map +1 -0
- package/{CapUnifiedSelect → dist/CapUnifiedSelect}/index.js +148 -1346
- package/dist/CapUnifiedSelect/index.js.map +1 -0
- package/dist/index.js +5872 -0
- package/dist/index.js.map +1 -0
- package/{utils → dist/utils}/index.js.map +1 -1
- package/package.json +112 -160
- package/.DS_Store +0 -0
- package/CapAlert/CapAlert.d.ts +0 -12
- package/CapAlert/CapAlert.d.ts.map +0 -1
- package/CapAlert/CapAlert.test.d.ts +0 -2
- package/CapAlert/CapAlert.test.d.ts.map +0 -1
- package/CapAlert/index.d.ts +0 -3
- package/CapAlert/index.d.ts.map +0 -1
- package/CapAlert/index.js.map +0 -1
- package/CapButton/CapButton.d.ts +0 -11
- package/CapButton/CapButton.d.ts.map +0 -1
- package/CapButton/CapButton.test.d.ts +0 -2
- package/CapButton/CapButton.test.d.ts.map +0 -1
- package/CapButton/index.d.ts +0 -3
- package/CapButton/index.d.ts.map +0 -1
- package/CapButton/index.js.map +0 -1
- package/CapCard/CapCard.d.ts +0 -9
- package/CapCard/CapCard.d.ts.map +0 -1
- package/CapCard/CapCard.test.d.ts +0 -2
- package/CapCard/CapCard.test.d.ts.map +0 -1
- package/CapCard/index.d.ts +0 -3
- package/CapCard/index.d.ts.map +0 -1
- package/CapCard/index.js.map +0 -1
- package/CapCheckbox/CapCheckbox.d.ts +0 -17
- package/CapCheckbox/CapCheckbox.d.ts.map +0 -1
- package/CapCheckbox/CapCheckbox.test.d.ts +0 -2
- package/CapCheckbox/CapCheckbox.test.d.ts.map +0 -1
- package/CapCheckbox/index.d.ts +0 -3
- package/CapCheckbox/index.d.ts.map +0 -1
- package/CapCheckbox/index.js.map +0 -1
- package/CapColumn/CapColumn.d.ts +0 -9
- package/CapColumn/CapColumn.d.ts.map +0 -1
- package/CapColumn/CapColumn.test.d.ts +0 -2
- package/CapColumn/CapColumn.test.d.ts.map +0 -1
- package/CapColumn/index.d.ts +0 -3
- package/CapColumn/index.d.ts.map +0 -1
- package/CapColumn/index.js.map +0 -1
- package/CapDivider/CapDivider.d.ts +0 -9
- package/CapDivider/CapDivider.d.ts.map +0 -1
- package/CapDivider/CapDivider.test.d.ts +0 -2
- package/CapDivider/CapDivider.test.d.ts.map +0 -1
- package/CapDivider/index.d.ts +0 -3
- package/CapDivider/index.d.ts.map +0 -1
- package/CapDivider/index.js.map +0 -1
- package/CapDropdown/CapDropdown.d.ts +0 -20
- package/CapDropdown/CapDropdown.d.ts.map +0 -1
- package/CapDropdown/CapDropdown.test.d.ts +0 -2
- package/CapDropdown/CapDropdown.test.d.ts.map +0 -1
- package/CapDropdown/index.d.ts +0 -3
- package/CapDropdown/index.d.ts.map +0 -1
- package/CapDropdown/index.js.map +0 -1
- package/CapForm/CapForm.d.ts +0 -10
- package/CapForm/CapForm.d.ts.map +0 -1
- package/CapForm/CapForm.test.d.ts +0 -2
- package/CapForm/CapForm.test.d.ts.map +0 -1
- package/CapForm/index.d.ts +0 -3
- package/CapForm/index.d.ts.map +0 -1
- package/CapForm/index.js.map +0 -1
- package/CapFormItem/CapFormItem.d.ts +0 -13
- package/CapFormItem/CapFormItem.d.ts.map +0 -1
- package/CapFormItem/CapFormItem.test.d.ts +0 -2
- package/CapFormItem/CapFormItem.test.d.ts.map +0 -1
- package/CapFormItem/index.d.ts +0 -3
- package/CapFormItem/index.d.ts.map +0 -1
- package/CapFormItem/index.js.map +0 -1
- package/CapIcon/CapIcon.d.ts +0 -31
- package/CapIcon/CapIcon.d.ts.map +0 -1
- package/CapIcon/CapIcon.test.d.ts +0 -2
- package/CapIcon/CapIcon.test.d.ts.map +0 -1
- package/CapIcon/index.d.ts +0 -3
- package/CapIcon/index.d.ts.map +0 -1
- package/CapIcon/index.js.map +0 -1
- package/CapInput/CapInput.d.ts +0 -11
- package/CapInput/CapInput.d.ts.map +0 -1
- package/CapInput/CapInput.test.d.ts +0 -2
- package/CapInput/CapInput.test.d.ts.map +0 -1
- package/CapInput/Number.d.ts +0 -9
- package/CapInput/Number.d.ts.map +0 -1
- package/CapInput/Number.test.d.ts +0 -2
- package/CapInput/Number.test.d.ts.map +0 -1
- package/CapInput/Search.d.ts +0 -9
- package/CapInput/Search.d.ts.map +0 -1
- package/CapInput/Search.test.d.ts +0 -2
- package/CapInput/Search.test.d.ts.map +0 -1
- package/CapInput/TextArea.d.ts +0 -9
- package/CapInput/TextArea.d.ts.map +0 -1
- package/CapInput/TextArea.test.d.ts +0 -2
- package/CapInput/TextArea.test.d.ts.map +0 -1
- package/CapInput/index.d.ts +0 -9
- package/CapInput/index.d.ts.map +0 -1
- package/CapLabel/CapLabel.d.ts +0 -23
- package/CapLabel/CapLabel.d.ts.map +0 -1
- package/CapLabel/CapLabel.test.d.ts +0 -2
- package/CapLabel/CapLabel.test.d.ts.map +0 -1
- package/CapLabel/index.d.ts +0 -3
- package/CapLabel/index.d.ts.map +0 -1
- package/CapLabel/index.js.map +0 -1
- package/CapMenu/CapMenu.d.ts +0 -27
- package/CapMenu/CapMenu.d.ts.map +0 -1
- package/CapMenu/CapMenu.test.d.ts +0 -2
- package/CapMenu/CapMenu.test.d.ts.map +0 -1
- package/CapMenu/index.d.ts +0 -3
- package/CapMenu/index.d.ts.map +0 -1
- package/CapMenu/index.js.map +0 -1
- package/CapRadio/CapRadio.d.ts +0 -18
- package/CapRadio/CapRadio.d.ts.map +0 -1
- package/CapRadio/CapRadio.test.d.ts +0 -2
- package/CapRadio/CapRadio.test.d.ts.map +0 -1
- package/CapRadio/index.d.ts +0 -3
- package/CapRadio/index.d.ts.map +0 -1
- package/CapRadio/index.js.map +0 -1
- package/CapRow/CapRow.d.ts +0 -27
- package/CapRow/CapRow.d.ts.map +0 -1
- package/CapRow/CapRow.test.d.ts +0 -2
- package/CapRow/CapRow.test.d.ts.map +0 -1
- package/CapRow/index.d.ts +0 -3
- package/CapRow/index.d.ts.map +0 -1
- package/CapRow/index.js.map +0 -1
- package/CapSkeleton/CapSkeleton.d.ts +0 -8
- package/CapSkeleton/CapSkeleton.d.ts.map +0 -1
- package/CapSkeleton/CapSkeleton.test.d.ts +0 -2
- package/CapSkeleton/CapSkeleton.test.d.ts.map +0 -1
- package/CapSkeleton/index.d.ts +0 -3
- package/CapSkeleton/index.d.ts.map +0 -1
- package/CapSpin/CapSpin.d.ts +0 -8
- package/CapSpin/CapSpin.d.ts.map +0 -1
- package/CapSpin/CapSpin.test.d.ts +0 -2
- package/CapSpin/CapSpin.test.d.ts.map +0 -1
- package/CapSpin/index.d.ts +0 -3
- package/CapSpin/index.d.ts.map +0 -1
- package/CapSwitch/CapSwitch.d.ts +0 -12
- package/CapSwitch/CapSwitch.d.ts.map +0 -1
- package/CapSwitch/CapSwitch.test.d.ts +0 -2
- package/CapSwitch/CapSwitch.test.d.ts.map +0 -1
- package/CapSwitch/index.d.ts +0 -3
- package/CapSwitch/index.d.ts.map +0 -1
- package/CapSwitch/index.js.map +0 -1
- package/CapTab/CapTab.d.ts +0 -21
- package/CapTab/CapTab.d.ts.map +0 -1
- package/CapTab/CapTab.test.d.ts +0 -2
- package/CapTab/CapTab.test.d.ts.map +0 -1
- package/CapTab/index.d.ts +0 -3
- package/CapTab/index.d.ts.map +0 -1
- package/CapTab/index.js.map +0 -1
- package/CapTable/CapTable.d.ts +0 -27
- package/CapTable/CapTable.d.ts.map +0 -1
- package/CapTable/CapTable.test.d.ts +0 -2
- package/CapTable/CapTable.test.d.ts.map +0 -1
- package/CapTable/index.d.ts +0 -3
- package/CapTable/index.d.ts.map +0 -1
- package/CapTable/index.js +0 -18315
- package/CapTable/index.js.map +0 -1
- package/CapTable/loadable.d.ts +0 -5
- package/CapTable/loadable.d.ts.map +0 -1
- package/CapTable/loadable.test.d.ts +0 -2
- package/CapTable/loadable.test.d.ts.map +0 -1
- package/CapTestSelect/CapTestSelect.d.ts +0 -24
- package/CapTestSelect/CapTestSelect.d.ts.map +0 -1
- package/CapTestSelect/CapTestSelect.test.d.ts +0 -2
- package/CapTestSelect/CapTestSelect.test.d.ts.map +0 -1
- package/CapTestSelect/index.d.ts +0 -3
- package/CapTestSelect/index.d.ts.map +0 -1
- package/CapTooltip/CapTooltip.d.ts +0 -10
- package/CapTooltip/CapTooltip.d.ts.map +0 -1
- package/CapTooltip/CapTooltip.test.d.ts +0 -2
- package/CapTooltip/CapTooltip.test.d.ts.map +0 -1
- package/CapTooltip/index.d.ts +0 -3
- package/CapTooltip/index.d.ts.map +0 -1
- package/CapTooltip/index.js.map +0 -1
- package/CapTooltipWithInfo/CapTooltipWithInfo.d.ts +0 -18
- package/CapTooltipWithInfo/CapTooltipWithInfo.d.ts.map +0 -1
- package/CapTooltipWithInfo/CapTooltipWithInfo.test.d.ts +0 -2
- package/CapTooltipWithInfo/CapTooltipWithInfo.test.d.ts.map +0 -1
- package/CapTooltipWithInfo/index.d.ts +0 -3
- package/CapTooltipWithInfo/index.d.ts.map +0 -1
- package/CapTooltipWithInfo/index.js.map +0 -1
- package/CapUnifiedSelect/CapUnifiedSelect.d.ts +0 -144
- package/CapUnifiedSelect/CapUnifiedSelect.d.ts.map +0 -1
- package/CapUnifiedSelect/CapUnifiedSelect.test.d.ts +0 -2
- package/CapUnifiedSelect/CapUnifiedSelect.test.d.ts.map +0 -1
- package/CapUnifiedSelect/constants.d.ts +0 -57
- package/CapUnifiedSelect/constants.d.ts.map +0 -1
- package/CapUnifiedSelect/index.d.ts +0 -3
- package/CapUnifiedSelect/index.d.ts.map +0 -1
- package/CapUnifiedSelect/index.js.map +0 -1
- package/CapUnifiedSelect/messages.d.ts +0 -24
- package/CapUnifiedSelect/messages.d.ts.map +0 -1
- package/CapUnifiedSelect/testData.d.ts +0 -107
- package/CapUnifiedSelect/testData.d.ts.map +0 -1
- package/LocaleHoc/index.d.ts +0 -9
- package/LocaleHoc/index.d.ts.map +0 -1
- package/LocaleHoc/index.test.d.ts +0 -2
- package/LocaleHoc/index.test.d.ts.map +0 -1
- package/index.d.ts +0 -54
- package/index.d.ts.map +0 -1
- package/index.js +0 -24149
- package/index.js.map +0 -1
- package/styled/variables.d.ts +0 -150
- package/styled/variables.d.ts.map +0 -1
- package/utils/fonts.d.ts +0 -49
- package/utils/fonts.d.ts.map +0 -1
- package/utils/fonts.test.d.ts +0 -2
- package/utils/fonts.test.d.ts.map +0 -1
- package/utils/index.d.ts +0 -44
- package/utils/index.d.ts.map +0 -1
- package/utils/styles.d.ts +0 -19
- package/utils/styles.d.ts.map +0 -1
- /package/{CapInput → dist/CapInput}/index.js +0 -0
- /package/{CapInput → dist/CapInput}/index.js.map +0 -0
- /package/{CapSkeleton → dist/CapSkeleton}/index.js +0 -0
- /package/{CapSkeleton → dist/CapSkeleton}/index.js.map +0 -0
- /package/{CapSpin → dist/CapSpin}/index.js +0 -0
- /package/{CapSpin → dist/CapSpin}/index.js.map +0 -0
- /package/{CapTestSelect → dist/CapTestSelect}/index.js +0 -0
- /package/{CapTestSelect → dist/CapTestSelect}/index.js.map +0 -0
- /package/{LocaleHoc → dist/LocaleHoc}/index.js +0 -0
- /package/{LocaleHoc → dist/LocaleHoc}/index.js.map +0 -0
- /package/{assets → dist/assets}/upload.svg +0 -0
- /package/{styled → dist/styled}/variables.scss +0 -0
- /package/{utils → dist/utils}/index.js +0 -0
|
@@ -0,0 +1,1115 @@
|
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ var __webpack_modules__ = ({
|
|
3
|
+
|
|
4
|
+
/***/ 26:
|
|
5
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.__esModule = true;
|
|
11
|
+
exports["default"] = void 0;
|
|
12
|
+
var _default = exports["default"] = {
|
|
13
|
+
CapMultiSelect: {
|
|
14
|
+
noResultsFoundText: "No results found",
|
|
15
|
+
selectText: "Select",
|
|
16
|
+
closeText: "Close",
|
|
17
|
+
searchPlaceholder: "Search",
|
|
18
|
+
selectedText: "selected",
|
|
19
|
+
selectAllText: "Select all",
|
|
20
|
+
selectAllSearchResultsText: "Select all searched results",
|
|
21
|
+
moreText: "more"
|
|
22
|
+
},
|
|
23
|
+
CapModal: {
|
|
24
|
+
okText: 'Yes',
|
|
25
|
+
closeText: 'No'
|
|
26
|
+
},
|
|
27
|
+
CapMultiSelectWithTree: {
|
|
28
|
+
noResultsFoundText: "No results found",
|
|
29
|
+
selectText: "Select",
|
|
30
|
+
closeText: "Close",
|
|
31
|
+
searchPlaceholder: "Search",
|
|
32
|
+
selectedText: "selected",
|
|
33
|
+
selectAllText: "Select all",
|
|
34
|
+
selectAllSearchResultsText: "Select all searched results",
|
|
35
|
+
moreText: "more",
|
|
36
|
+
storeUploadsText: "Store IDs are uploaded already"
|
|
37
|
+
},
|
|
38
|
+
CapCustomSelect: {
|
|
39
|
+
searchPlaceholder: 'Search',
|
|
40
|
+
selectPlaceholder: 'Select Option'
|
|
41
|
+
},
|
|
42
|
+
CapMultiSelectDatePicker: {
|
|
43
|
+
lastDayText: 'Last day of month'
|
|
44
|
+
},
|
|
45
|
+
CapTable: {
|
|
46
|
+
loadMoreData: 'Loading more data...'
|
|
47
|
+
},
|
|
48
|
+
CapIllustration: {
|
|
49
|
+
accessForbiddenMsg: 'Action cannot be performed due to insufficient permission'
|
|
50
|
+
},
|
|
51
|
+
CapNavigation: {
|
|
52
|
+
businessProcesses: 'Workbench',
|
|
53
|
+
wecrm: 'Wecrm',
|
|
54
|
+
loyaltyProgram: 'Loyalty+',
|
|
55
|
+
storePerformance: 'Store Performance',
|
|
56
|
+
memberCare: 'Member Care',
|
|
57
|
+
storeCare: 'Store Care',
|
|
58
|
+
insights: 'Insights+',
|
|
59
|
+
connectPlus: 'Connect+',
|
|
60
|
+
settingsLabel: 'Settings',
|
|
61
|
+
campaign: 'Engage+',
|
|
62
|
+
selectOrganization: 'Select Organization',
|
|
63
|
+
organization: 'Organization',
|
|
64
|
+
noResultText: 'No results found',
|
|
65
|
+
selectProduct: 'Select Product'
|
|
66
|
+
},
|
|
67
|
+
InfoNote: {
|
|
68
|
+
noteText: 'Note'
|
|
69
|
+
},
|
|
70
|
+
SomethingWentWrong: {
|
|
71
|
+
title: 'Sorry, something went wrong.',
|
|
72
|
+
description: 'Please try again. If this issue occurs again, please reach out to Capillary support team.',
|
|
73
|
+
reloadText: 'Try refreshing again'
|
|
74
|
+
},
|
|
75
|
+
CapBlock: {
|
|
76
|
+
deleteBlockMsg: 'Delete',
|
|
77
|
+
expandBlockMsg: 'Expand',
|
|
78
|
+
collapseBlockMsg: 'Collapse'
|
|
79
|
+
},
|
|
80
|
+
CapMultiplePath: {
|
|
81
|
+
notUniqueMsg: 'Not Unique',
|
|
82
|
+
deleteConfirmationTitleMsg: 'Confirm delete path',
|
|
83
|
+
deleteConfirmationTextMsg: 'Are you sure you wish to delete path',
|
|
84
|
+
deleteConfirmationWarningMsg: 'This action cannot be undone.',
|
|
85
|
+
deleteButtonTextMsg: 'Yes, Delete',
|
|
86
|
+
yesMsg: 'Yes',
|
|
87
|
+
noMsg: 'No',
|
|
88
|
+
pathMsg: 'Path',
|
|
89
|
+
addPathMessage: 'Add Path'
|
|
90
|
+
},
|
|
91
|
+
CapCondition: {
|
|
92
|
+
includeMsg: 'include',
|
|
93
|
+
excludeMsg: 'exclude',
|
|
94
|
+
equalMsg: 'equal to',
|
|
95
|
+
greaterThanMsg: 'greater than',
|
|
96
|
+
lessThanMsg: 'less than',
|
|
97
|
+
greaterThanOrEqualMsg: 'greater than or equal to',
|
|
98
|
+
lessThanorEqualMsg: 'less than or equal',
|
|
99
|
+
inRangeMsg: 'in range',
|
|
100
|
+
notEqualMsg: 'not equal to',
|
|
101
|
+
whoseMsg: 'Whose',
|
|
102
|
+
isMsg: 'is',
|
|
103
|
+
andMsg: 'and',
|
|
104
|
+
ANDMsg: 'AND',
|
|
105
|
+
containsMsg: 'contains',
|
|
106
|
+
startsWithMsg: 'starts with',
|
|
107
|
+
endsWithMsg: 'ends with',
|
|
108
|
+
exactMsg: 'exact',
|
|
109
|
+
conditionStringInputPlaceholderMsg: 'Enter min. 3 characters',
|
|
110
|
+
lineItemMsg: 'only for lineitems with',
|
|
111
|
+
withMsg: 'with',
|
|
112
|
+
additionalFieldsMsg: 'Additional condition',
|
|
113
|
+
plusMinus: '+/-',
|
|
114
|
+
inMsg: 'in',
|
|
115
|
+
notInMsg: 'not in',
|
|
116
|
+
uploadFailedError: 'Upload failed',
|
|
117
|
+
uploadLimitExceeded: 'Please do not upload more than 1000 store codes',
|
|
118
|
+
uploadReqLoader: 'Uploading stores',
|
|
119
|
+
or: 'OR',
|
|
120
|
+
search: 'Search',
|
|
121
|
+
searchWithExact: 'Search with exact keyword',
|
|
122
|
+
customFieldsTag: 'custom fields',
|
|
123
|
+
storeSearchMsg: 'Enter min. 3 characters to search',
|
|
124
|
+
uploadInProgressMsg: 'Upload in progress',
|
|
125
|
+
unsupportedCsvHeaderMsg: "The CSV header must be 'Store code' or 'Store id'",
|
|
126
|
+
csvFileNoEntryTxt: "Please upload a file with atleast one entry",
|
|
127
|
+
downloadedMsg: "downloaded",
|
|
128
|
+
reuploadFileMsg: 'Reupload file',
|
|
129
|
+
storeIdsMsg: 'Store IDs',
|
|
130
|
+
downloadStoreIdMsg: 'Download Store ID',
|
|
131
|
+
downloadStoreIdCodeNameMsg: 'Download Store ID, code & name',
|
|
132
|
+
downloadInProgressMsg: 'Download in progress, might take a while'
|
|
133
|
+
},
|
|
134
|
+
CapConditionPreview: {
|
|
135
|
+
includeMsg: 'Include',
|
|
136
|
+
excludeMsg: 'Exclude',
|
|
137
|
+
equalMsg: 'equal to',
|
|
138
|
+
greaterThanMsg: 'greater than',
|
|
139
|
+
lessThanMsg: 'less than',
|
|
140
|
+
greaterThanOrEqualMsg: 'greater than or equal to',
|
|
141
|
+
lessThanorEqualMsg: 'less than or equal',
|
|
142
|
+
inRangeMsg: 'in range',
|
|
143
|
+
notEqualMsg: 'not equal to',
|
|
144
|
+
whoseMsg: 'whose',
|
|
145
|
+
isMsg: 'is',
|
|
146
|
+
andMsg: 'and',
|
|
147
|
+
ANDMsg: 'AND',
|
|
148
|
+
lineItemMsg: 'only for lineitems with',
|
|
149
|
+
withMsg: 'with',
|
|
150
|
+
addedSKUsMsg: 'Added SKUs',
|
|
151
|
+
skuFileName: 'SKU.csv',
|
|
152
|
+
uploadedMsg: 'uploaded',
|
|
153
|
+
inMsg: 'in',
|
|
154
|
+
notInMsg: 'not in',
|
|
155
|
+
storesMsg: 'Stores',
|
|
156
|
+
viewMoreMsg: 'View more',
|
|
157
|
+
uploadInProgressMsg: 'Upload in progress',
|
|
158
|
+
uploadFailedErrorMsg: 'Upload failed',
|
|
159
|
+
uploadInvalidErrorMsg: 'Invalid file uploaded'
|
|
160
|
+
},
|
|
161
|
+
CapPopoverTree: {
|
|
162
|
+
emptyDataMessage: 'No data found',
|
|
163
|
+
searchPlaceholder: 'Search'
|
|
164
|
+
},
|
|
165
|
+
CapGraphBlockNode: {
|
|
166
|
+
configureText: 'Configure',
|
|
167
|
+
replaceEngagementBlockMsg: 'Replace engagement block'
|
|
168
|
+
},
|
|
169
|
+
CapStaticTemplates: {
|
|
170
|
+
strategyTitleMsg: 'Select the strategy',
|
|
171
|
+
strategyDescriptionMsg: 'Use strategy driven pre-defined marketing use-cases or build your own strategy',
|
|
172
|
+
comingSoonMsg: 'Coming soon',
|
|
173
|
+
blankCategoryLabel: 'Custom',
|
|
174
|
+
blankTemplateLabel: 'Build from scratch',
|
|
175
|
+
blankTemplateDescription: 'Create your own journey from scratch',
|
|
176
|
+
searchPlaceholderMsg: 'Search strategy'
|
|
177
|
+
},
|
|
178
|
+
CapProductSelection: {
|
|
179
|
+
lineItem: 'Line items',
|
|
180
|
+
selectAttribute: 'Select Attribute',
|
|
181
|
+
brand: 'Brand',
|
|
182
|
+
brandInfo: 'Brand',
|
|
183
|
+
category: 'Category',
|
|
184
|
+
categoryInfo: 'Category',
|
|
185
|
+
product: 'Product',
|
|
186
|
+
productInfo: 'Product',
|
|
187
|
+
SKU: 'SKU',
|
|
188
|
+
uploadSKU: 'Upload SKU',
|
|
189
|
+
uploadSKUInfo: 'Upload SKU',
|
|
190
|
+
changeSelection: 'Change the selection',
|
|
191
|
+
description: 'Changing the attribute of additional condition will result in lose of previously defined additional condition',
|
|
192
|
+
okText: 'Yes, change',
|
|
193
|
+
cancelText: 'Cancel',
|
|
194
|
+
comingSoon: 'Coming soon',
|
|
195
|
+
selectValues: 'Select value(s)',
|
|
196
|
+
atleast1Attribute: 'At least 1 attribute is required'
|
|
197
|
+
},
|
|
198
|
+
CapTruncateList: {
|
|
199
|
+
more: 'more'
|
|
200
|
+
},
|
|
201
|
+
CapSKUUploader: {
|
|
202
|
+
validatingSKUs: 'Validating SKUs',
|
|
203
|
+
invalid: 'invalid',
|
|
204
|
+
invalidSKUs: 'Invalid SKUs',
|
|
205
|
+
valid: 'valid',
|
|
206
|
+
addedSKUsMsg: 'Added SKUs',
|
|
207
|
+
skuFileName: 'SKU.csv',
|
|
208
|
+
invalidSKUFilename: 'invalidSKU.csv',
|
|
209
|
+
uploadedMsg: 'uploaded'
|
|
210
|
+
},
|
|
211
|
+
CapDndGraph: {
|
|
212
|
+
deleteBlockModalHeaderText: 'Delete block',
|
|
213
|
+
deleteBlockModalDescriptionText: 'Are you sure you want to delete this block?',
|
|
214
|
+
yesDeleteButtonText: 'Yes, delete',
|
|
215
|
+
noButtonText: 'No',
|
|
216
|
+
joinDropErrorText: "Join block can only be added at the end of the path",
|
|
217
|
+
jumpDropErrorText: "Jump block can only be added at the end of the path",
|
|
218
|
+
theText: 'The',
|
|
219
|
+
endText: 'End',
|
|
220
|
+
blockIsLinkedText: 'block is linked to the',
|
|
221
|
+
blockText: 'block.',
|
|
222
|
+
disconnectText: 'Deleting this block will disconnect the join.',
|
|
223
|
+
areYouSureText: 'Are you sure?'
|
|
224
|
+
},
|
|
225
|
+
CapDragAndDrop: {
|
|
226
|
+
dropboxtext: 'Drop here!',
|
|
227
|
+
selectFilesText: 'Select files from your computer',
|
|
228
|
+
invalidFileSelectionText: 'Invalid file selection!',
|
|
229
|
+
or: 'OR',
|
|
230
|
+
droptext: 'Drag and drop files'
|
|
231
|
+
},
|
|
232
|
+
CapRoadMap: {
|
|
233
|
+
defaultRoadMapDisabledMessage: "Not configured yet"
|
|
234
|
+
},
|
|
235
|
+
CapTimelineCard: {
|
|
236
|
+
defaultConfiguringMessage: 'Configuring...',
|
|
237
|
+
defaultNotConfiguredMessage: 'Not configured yet...',
|
|
238
|
+
toConfigure: 'To configure ',
|
|
239
|
+
completePrevSteps: ' complete the previous steps.'
|
|
240
|
+
},
|
|
241
|
+
CapTimelineNestedCard: {
|
|
242
|
+
defaultConfiguringMessage: 'Configuring...',
|
|
243
|
+
defaultNotConfiguredMessage: 'Not configured yet...',
|
|
244
|
+
toConfigure: 'To configure ',
|
|
245
|
+
completePrevSteps: ' complete the previous steps.'
|
|
246
|
+
},
|
|
247
|
+
NestedCardParent: {
|
|
248
|
+
defaultNestedTitle: 'Triggers',
|
|
249
|
+
toConfigure: 'To configure ',
|
|
250
|
+
completePrevSteps: ' complete the previous steps.'
|
|
251
|
+
},
|
|
252
|
+
'CapAskAira.DocumentationBot': {
|
|
253
|
+
textAskYourQuestion: "Ask your question here",
|
|
254
|
+
textVisitDocs: "Visit Capillary Documentation",
|
|
255
|
+
textNeedHelp: "Need more help?",
|
|
256
|
+
textHowMayIHelp: "How may AI help you?",
|
|
257
|
+
textAira: "AiRA Documentation Bot",
|
|
258
|
+
textLinks: "Links",
|
|
259
|
+
textWasHelpful: "Was this response helpful?",
|
|
260
|
+
textConfidence: "confidence",
|
|
261
|
+
textTooltip: "Need help? Ask Aira",
|
|
262
|
+
textCantConnect: "Can't connect to the server."
|
|
263
|
+
},
|
|
264
|
+
'CapAskAira.RuleGenerationBot': {
|
|
265
|
+
textTypeAMessage: 'Type a message above and ask AiRA to recommend the best content',
|
|
266
|
+
textError: "An error occurred while generating rule. Try again.",
|
|
267
|
+
textAiraTitle: "AiRA Rule Generation",
|
|
268
|
+
textAiraTooltip: "AiRA, our proprietary AI tool, generates rule expressions based on text query.",
|
|
269
|
+
textCopy: "Copy",
|
|
270
|
+
textCopied: "Copied",
|
|
271
|
+
textRulePlaceholder: "Enter query...",
|
|
272
|
+
textRuleLoading: "Rule is loading... Hang tight!",
|
|
273
|
+
textThank: 'Thank you for your response!',
|
|
274
|
+
textWarn: 'Aira responses may be inaccurate or misleading. Help us to improve!',
|
|
275
|
+
textAddCommentPlaceholder: 'Add comment'
|
|
276
|
+
},
|
|
277
|
+
'CapAskAira.ContentGenerationBot': {
|
|
278
|
+
textTypeAMessage: 'Type a message above and ask AiRA to recommend the best content',
|
|
279
|
+
textRecommendationsLoading: "Recommendations loading... Hang tight!",
|
|
280
|
+
textError: "An error occurred while loading recommendations. Try again.",
|
|
281
|
+
textAiraTitle: "AiRA Content Recommendations",
|
|
282
|
+
textAiraTooltip: "AiRA, our proprietary AI tool, recommends tailored language to effectively engage customers and prompt desired actions.",
|
|
283
|
+
textLoading: "loading...",
|
|
284
|
+
textCharacters: "characters",
|
|
285
|
+
textReplaceWithThis: "Replace with this",
|
|
286
|
+
textReplaced: 'Replaced',
|
|
287
|
+
textResetToDefault: "Reset to default",
|
|
288
|
+
textMoreLikeThis: "More like this",
|
|
289
|
+
textGenerateMore: "Generate more"
|
|
290
|
+
},
|
|
291
|
+
'CapAskAira.ConfigurationBot': {
|
|
292
|
+
textAiraTitle: 'Aira Configuration Bot',
|
|
293
|
+
textAiraTooltip: "Aira, our proprietary AI tool, helps you configure promotions, campaigns, and more.",
|
|
294
|
+
textTypeAMessage: 'Type a message above and ask AiRA to recommend the best content',
|
|
295
|
+
textUser: 'Hello!',
|
|
296
|
+
textPilot: "I'm your Copilot. I can create all type of promotions (milestones, streaks, etc.) on your behalf. Meanwhile, you can sit back, relax, and enjoy a cup of chai.",
|
|
297
|
+
textCouponTile: 'Milestone on GS',
|
|
298
|
+
textCouponDescription: 'Customer has to do 1000/- gross sales in a month, and can get 100 points.',
|
|
299
|
+
textPromotionTitle: 'Milestone on count',
|
|
300
|
+
textPromotionDescription: 'Eligible customers get points on every 5 transactions.',
|
|
301
|
+
textStreakTitle: 'Reward on referral',
|
|
302
|
+
textStreakDescription: 'Award customer 150 points if they refer 3 users in a month. Promotion starts on July 1 and runs for 5 months.',
|
|
303
|
+
textPromptHere: 'Enter a prompt here...',
|
|
304
|
+
textCouponPrompt: 'If customer does 1000 gross sales in a month, award them 100 points that expire in 20 days. Promotion runs from 1 July to 1 December.',
|
|
305
|
+
textPromotionPrompt: 'After every 5 transactions I want to award customer with 200 points. Only customers with more than 2000 lifetime points are eligible. Promotion runs from 1 July to 1 December',
|
|
306
|
+
textStreakPrompt: 'Award customer 150 points if they refer 3 users in a month. Promotion starts on July 1 and runs for 5 months. ',
|
|
307
|
+
textCantConnect: "Can't connect to the server.",
|
|
308
|
+
textCreate: 'Create',
|
|
309
|
+
textCancel: 'Cancel',
|
|
310
|
+
textGeneratingResponse: 'Generating response'
|
|
311
|
+
},
|
|
312
|
+
'CapAskAira.DocumentationChatBot': {
|
|
313
|
+
textBotPlaceholder: 'Ask Aira about anything on our CRM platform',
|
|
314
|
+
textChatBotLoader: 'Hang tight, analyzing your query...',
|
|
315
|
+
textChatBotDesc: 'Ask any doubts about our CRM platform and Aira will do its best to find answers',
|
|
316
|
+
textChatBot: 'Documentation Chat Bot'
|
|
317
|
+
},
|
|
318
|
+
'CapAskAira.CapAiMediaGeneration': {
|
|
319
|
+
textImageBotPlaceholder: 'Ask Aira to generate an image',
|
|
320
|
+
textChatBotLoader: 'Hang tight, analyzing your query...',
|
|
321
|
+
textImageBotDesc: 'Enter a prompt that describes your image.',
|
|
322
|
+
textImageBot: 'Aira Media Generator',
|
|
323
|
+
textImageFooter: 'Dragging and dropping generated images is only supported in the basic email builder.',
|
|
324
|
+
textTipsGenerate: 'Tips to generate better images:',
|
|
325
|
+
textCopy: 'Copy image',
|
|
326
|
+
textCopied: 'Copied',
|
|
327
|
+
textDownload: 'Download',
|
|
328
|
+
textImageDownload: 'Image downloaded successfully!',
|
|
329
|
+
textComingSoon: 'Coming soon',
|
|
330
|
+
textGenerateMore: 'Generate more'
|
|
331
|
+
},
|
|
332
|
+
'CapAskAira.RuleSummarizationBot': {
|
|
333
|
+
textRuleBotPlaceholder: 'Ask Aira to write an expression',
|
|
334
|
+
textSummarizeBotPlaceholder: 'Ask Aira to explain an expression',
|
|
335
|
+
textRuleChatBotLoader: 'Hang tight, analyzing your query...',
|
|
336
|
+
textRuleChatBotDesc: 'Write your detailed rule in simple english and Aira will write the expression for you',
|
|
337
|
+
textSummarizeChatBotDesc: 'Enter the expression and Aira will generate a summary in plain english',
|
|
338
|
+
textRuleChatBot: 'Aira Expression Translator'
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
/***/ }),
|
|
343
|
+
|
|
344
|
+
/***/ 540:
|
|
345
|
+
/***/ ((module) => {
|
|
346
|
+
|
|
347
|
+
"use strict";
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
/* istanbul ignore next */
|
|
351
|
+
function insertStyleElement(options) {
|
|
352
|
+
var element = document.createElement("style");
|
|
353
|
+
options.setAttributes(element, options.attributes);
|
|
354
|
+
options.insert(element, options.options);
|
|
355
|
+
return element;
|
|
356
|
+
}
|
|
357
|
+
module.exports = insertStyleElement;
|
|
358
|
+
|
|
359
|
+
/***/ }),
|
|
360
|
+
|
|
361
|
+
/***/ 845:
|
|
362
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
363
|
+
|
|
364
|
+
"use strict";
|
|
365
|
+
__webpack_require__.r(__webpack_exports__);
|
|
366
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
367
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
368
|
+
/* harmony export */ });
|
|
369
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
370
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
371
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
372
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
373
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
374
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
375
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
376
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
377
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
378
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
379
|
+
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3366);
|
|
380
|
+
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
|
|
381
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
382
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
|
|
383
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
var options = {};
|
|
396
|
+
|
|
397
|
+
;
|
|
398
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
399
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
400
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
401
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
402
|
+
|
|
403
|
+
var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
/***/ }),
|
|
412
|
+
|
|
413
|
+
/***/ 1020:
|
|
414
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
415
|
+
|
|
416
|
+
"use strict";
|
|
417
|
+
/**
|
|
418
|
+
* @license React
|
|
419
|
+
* react-jsx-runtime.production.min.js
|
|
420
|
+
*
|
|
421
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
422
|
+
*
|
|
423
|
+
* This source code is licensed under the MIT license found in the
|
|
424
|
+
* LICENSE file in the root directory of this source tree.
|
|
425
|
+
*/
|
|
426
|
+
var f=__webpack_require__(9206),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
|
|
427
|
+
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
/***/ }),
|
|
431
|
+
|
|
432
|
+
/***/ 1601:
|
|
433
|
+
/***/ ((module) => {
|
|
434
|
+
|
|
435
|
+
"use strict";
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
module.exports = function (i) {
|
|
439
|
+
return i[1];
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
/***/ }),
|
|
443
|
+
|
|
444
|
+
/***/ 2551:
|
|
445
|
+
/***/ ((module) => {
|
|
446
|
+
|
|
447
|
+
"use strict";
|
|
448
|
+
module.exports = require("lodash");
|
|
449
|
+
|
|
450
|
+
/***/ }),
|
|
451
|
+
|
|
452
|
+
/***/ 2678:
|
|
453
|
+
/***/ ((module) => {
|
|
454
|
+
|
|
455
|
+
"use strict";
|
|
456
|
+
module.exports = require("classnames");
|
|
457
|
+
|
|
458
|
+
/***/ }),
|
|
459
|
+
|
|
460
|
+
/***/ 3366:
|
|
461
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
462
|
+
|
|
463
|
+
// Imports
|
|
464
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
465
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
466
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
467
|
+
// Module
|
|
468
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-table-v2 .ant-table{border:.071rem solid #dfe2e7}.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr>th{color:#091e42;font-size:.857rem;line-height:1.143rem;background-color:#fafbfc;text-align:left;padding:1.143rem 1.714rem}.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr>th .ant-table-column-sorter{vertical-align:unset}.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-up.active,.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-down.active{color:#091e42}.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-up:not(.active),.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-down:not(.active){color:#b3bac5}.blaze-ui-cap-table-v2 .ant-table .ant-table-tbody>tr>td{padding:1.143rem 1.714rem;border-bottom:.071rem solid #dfe2e7}.blaze-ui-cap-table-v2 .ant-table .ant-table-tbody>tr:last-child>td{border-bottom:none}.blaze-ui-cap-table-v2 .ant-table .ant-table-tbody>tr.ant-table-row-hover:not(.ant-table-expanded-row)>td,.blaze-ui-cap-table-v2 .ant-table .ant-table-tbody>tr:hover:not(.ant-table-expanded-row)>td{background-color:#f4f5f7}.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr.ant-table-row-hover:not(.ant-table-expanded-row)>td,.blaze-ui-cap-table-v2 .ant-table .ant-table-thead>tr:hover:not(.ant-table-expanded-row)>td{background-color:#f4f5f7}.blaze-ui-cap-table-v2 .ant-table .ant-table-body table{table-layout:fixed;width:100%}.blaze-ui-cap-table-v2 a{color:#091e42}.blaze-ui-cap-table-v2.blaze-ui-show-loader .ant-table-body>table>tbody::after{content:"Loading...";display:flex;justify-content:center;position:absolute;width:100%;align-items:center;height:4.286rem;text-align:center;font-size:1.143rem;color:cap-g04;border-top:.071rem solid #dfe2e7}`, ""]);
|
|
469
|
+
// Exports
|
|
470
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
471
|
+
"cap-table-v2": `blaze-ui-cap-table-v2`,
|
|
472
|
+
"show-loader": `blaze-ui-show-loader`
|
|
473
|
+
};
|
|
474
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/***/ }),
|
|
478
|
+
|
|
479
|
+
/***/ 4273:
|
|
480
|
+
/***/ ((module) => {
|
|
481
|
+
|
|
482
|
+
"use strict";
|
|
483
|
+
module.exports = require("antd-v5");
|
|
484
|
+
|
|
485
|
+
/***/ }),
|
|
486
|
+
|
|
487
|
+
/***/ 4284:
|
|
488
|
+
/***/ ((module) => {
|
|
489
|
+
|
|
490
|
+
"use strict";
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
/* istanbul ignore next */
|
|
494
|
+
var replaceText = function replaceText() {
|
|
495
|
+
var textStore = [];
|
|
496
|
+
return function replace(index, replacement) {
|
|
497
|
+
textStore[index] = replacement;
|
|
498
|
+
return textStore.filter(Boolean).join("\n");
|
|
499
|
+
};
|
|
500
|
+
}();
|
|
501
|
+
|
|
502
|
+
/* istanbul ignore next */
|
|
503
|
+
function apply(styleElement, index, remove, obj) {
|
|
504
|
+
var css;
|
|
505
|
+
if (remove) {
|
|
506
|
+
css = "";
|
|
507
|
+
} else {
|
|
508
|
+
css = "";
|
|
509
|
+
if (obj.supports) {
|
|
510
|
+
css += "@supports (".concat(obj.supports, ") {");
|
|
511
|
+
}
|
|
512
|
+
if (obj.media) {
|
|
513
|
+
css += "@media ".concat(obj.media, " {");
|
|
514
|
+
}
|
|
515
|
+
var needLayer = typeof obj.layer !== "undefined";
|
|
516
|
+
if (needLayer) {
|
|
517
|
+
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
518
|
+
}
|
|
519
|
+
css += obj.css;
|
|
520
|
+
if (needLayer) {
|
|
521
|
+
css += "}";
|
|
522
|
+
}
|
|
523
|
+
if (obj.media) {
|
|
524
|
+
css += "}";
|
|
525
|
+
}
|
|
526
|
+
if (obj.supports) {
|
|
527
|
+
css += "}";
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
// For old IE
|
|
532
|
+
/* istanbul ignore if */
|
|
533
|
+
if (styleElement.styleSheet) {
|
|
534
|
+
styleElement.styleSheet.cssText = replaceText(index, css);
|
|
535
|
+
} else {
|
|
536
|
+
var cssNode = document.createTextNode(css);
|
|
537
|
+
var childNodes = styleElement.childNodes;
|
|
538
|
+
if (childNodes[index]) {
|
|
539
|
+
styleElement.removeChild(childNodes[index]);
|
|
540
|
+
}
|
|
541
|
+
if (childNodes.length) {
|
|
542
|
+
styleElement.insertBefore(cssNode, childNodes[index]);
|
|
543
|
+
} else {
|
|
544
|
+
styleElement.appendChild(cssNode);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
var singletonData = {
|
|
549
|
+
singleton: null,
|
|
550
|
+
singletonCounter: 0
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
/* istanbul ignore next */
|
|
554
|
+
function domAPI(options) {
|
|
555
|
+
if (typeof document === "undefined") return {
|
|
556
|
+
update: function update() {},
|
|
557
|
+
remove: function remove() {}
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
// eslint-disable-next-line no-undef,no-use-before-define
|
|
561
|
+
var styleIndex = singletonData.singletonCounter++;
|
|
562
|
+
var styleElement =
|
|
563
|
+
// eslint-disable-next-line no-undef,no-use-before-define
|
|
564
|
+
singletonData.singleton || (
|
|
565
|
+
// eslint-disable-next-line no-undef,no-use-before-define
|
|
566
|
+
singletonData.singleton = options.insertStyleElement(options));
|
|
567
|
+
return {
|
|
568
|
+
update: function update(obj) {
|
|
569
|
+
apply(styleElement, styleIndex, false, obj);
|
|
570
|
+
},
|
|
571
|
+
remove: function remove(obj) {
|
|
572
|
+
apply(styleElement, styleIndex, true, obj);
|
|
573
|
+
}
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
module.exports = domAPI;
|
|
577
|
+
|
|
578
|
+
/***/ }),
|
|
579
|
+
|
|
580
|
+
/***/ 4481:
|
|
581
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
582
|
+
|
|
583
|
+
"use strict";
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
exports.__esModule = true;
|
|
587
|
+
exports["default"] = void 0;
|
|
588
|
+
var _antdV = __webpack_require__(4273);
|
|
589
|
+
var _classnames = _interopRequireDefault(__webpack_require__(2678));
|
|
590
|
+
var _lodash = __webpack_require__(2551);
|
|
591
|
+
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
592
|
+
var _LocaleHoc = _interopRequireDefault(__webpack_require__(9879));
|
|
593
|
+
var _styles = _interopRequireDefault(__webpack_require__(845));
|
|
594
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
595
|
+
const _excluded = ["id", "className", "children", "infiniteScroll", "pagination", "dataSource", "offset_limit", "setPagination", "scroll", "showLoader"];
|
|
596
|
+
/**
|
|
597
|
+
* CapTable - Migrated to Ant Design v5
|
|
598
|
+
* A table component that supports:
|
|
599
|
+
* - Infinite scrolling with virtualization
|
|
600
|
+
* - Sequential data loading
|
|
601
|
+
* - Optimized scroll performance
|
|
602
|
+
*/
|
|
603
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
604
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
605
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
606
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
607
|
+
const SCROLL_THRESHOLD = 80; // Percentage of scroll to trigger load
|
|
608
|
+
const DEBOUNCE_DELAY = 250; // ms to wait between scroll events
|
|
609
|
+
const DEFAULT_SCROLL_HEIGHT = 400;
|
|
610
|
+
const CapTable = _ref => {
|
|
611
|
+
let {
|
|
612
|
+
id,
|
|
613
|
+
className,
|
|
614
|
+
children,
|
|
615
|
+
infiniteScroll,
|
|
616
|
+
dataSource,
|
|
617
|
+
offset_limit,
|
|
618
|
+
setPagination,
|
|
619
|
+
scroll,
|
|
620
|
+
showLoader
|
|
621
|
+
} = _ref,
|
|
622
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
623
|
+
const scrollRef = (0, _react.useRef)(null);
|
|
624
|
+
const [hasMore, setHasMore] = (0, _react.useState)(true);
|
|
625
|
+
const currentOffsetRef = (0, _react.useRef)(0);
|
|
626
|
+
const loadMore = (0, _react.useCallback)(() => {
|
|
627
|
+
if (!showLoader && hasMore && setPagination && offset_limit) {
|
|
628
|
+
const nextOffset = currentOffsetRef.current + 1;
|
|
629
|
+
const newOffsetLimit = _extends({}, offset_limit, {
|
|
630
|
+
offset: nextOffset
|
|
631
|
+
});
|
|
632
|
+
currentOffsetRef.current = nextOffset;
|
|
633
|
+
setPagination(newOffsetLimit);
|
|
634
|
+
}
|
|
635
|
+
}, [showLoader, hasMore, setPagination, offset_limit]);
|
|
636
|
+
const handleScroll = (0, _react.useCallback)((0, _lodash.debounce)(event => {
|
|
637
|
+
const target = event.target;
|
|
638
|
+
if (!target || !infiniteScroll || !hasMore || showLoader) return;
|
|
639
|
+
const scrollTop = Math.ceil(target.scrollTop);
|
|
640
|
+
const visibleHeight = target.clientHeight;
|
|
641
|
+
const totalHeight = target.scrollHeight;
|
|
642
|
+
const scrolledPercentage = (scrollTop + visibleHeight) / totalHeight * 100;
|
|
643
|
+
if (scrolledPercentage >= SCROLL_THRESHOLD) {
|
|
644
|
+
loadMore();
|
|
645
|
+
}
|
|
646
|
+
}, DEBOUNCE_DELAY), [infiniteScroll, showLoader, hasMore, loadMore]);
|
|
647
|
+
|
|
648
|
+
// Setup scroll listener and handle initial load
|
|
649
|
+
(0, _react.useEffect)(() => {
|
|
650
|
+
const rootElement = document.getElementById(id);
|
|
651
|
+
if (!rootElement) return;
|
|
652
|
+
const tableBody = rootElement.querySelector('.ant-table-body');
|
|
653
|
+
if (!tableBody) return;
|
|
654
|
+
scrollRef.current = tableBody;
|
|
655
|
+
tableBody.addEventListener('scroll', handleScroll, {
|
|
656
|
+
passive: true
|
|
657
|
+
});
|
|
658
|
+
|
|
659
|
+
// Check if initial load needed
|
|
660
|
+
const shouldLoadInitially = tableBody.scrollHeight <= tableBody.clientHeight && !showLoader && hasMore;
|
|
661
|
+
if (shouldLoadInitially) {
|
|
662
|
+
currentOffsetRef.current = 0;
|
|
663
|
+
loadMore();
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
// Cleanup
|
|
667
|
+
return () => {
|
|
668
|
+
var _scrollRef$current;
|
|
669
|
+
(_scrollRef$current = scrollRef.current) == null || _scrollRef$current.removeEventListener('scroll', handleScroll);
|
|
670
|
+
handleScroll.cancel();
|
|
671
|
+
};
|
|
672
|
+
}, [id, handleScroll, showLoader, hasMore, loadMore]);
|
|
673
|
+
|
|
674
|
+
// Handle data changes
|
|
675
|
+
(0, _react.useEffect)(() => {
|
|
676
|
+
if (!(dataSource != null && dataSource.length)) {
|
|
677
|
+
currentOffsetRef.current = 0;
|
|
678
|
+
setHasMore(true);
|
|
679
|
+
} else {
|
|
680
|
+
setHasMore(true);
|
|
681
|
+
}
|
|
682
|
+
}, [dataSource]);
|
|
683
|
+
const tableClassName = (0, _classnames.default)(_styles.default['cap-table-v2'], className, {
|
|
684
|
+
[_styles.default['show-loader']]: showLoader
|
|
685
|
+
});
|
|
686
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Table, _extends({
|
|
687
|
+
id: id,
|
|
688
|
+
className: tableClassName,
|
|
689
|
+
dataSource: dataSource,
|
|
690
|
+
pagination: false,
|
|
691
|
+
scroll: {
|
|
692
|
+
x: scroll == null ? void 0 : scroll.x,
|
|
693
|
+
y: (scroll == null ? void 0 : scroll.y) || DEFAULT_SCROLL_HEIGHT,
|
|
694
|
+
scrollToFirstRowOnChange: false
|
|
695
|
+
},
|
|
696
|
+
virtual: infiniteScroll
|
|
697
|
+
}, rest, {
|
|
698
|
+
children: children
|
|
699
|
+
}));
|
|
700
|
+
};
|
|
701
|
+
var _default = exports["default"] = (0, _LocaleHoc.default)(CapTable, {
|
|
702
|
+
key: 'CapTable'
|
|
703
|
+
});
|
|
704
|
+
|
|
705
|
+
/***/ }),
|
|
706
|
+
|
|
707
|
+
/***/ 4848:
|
|
708
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
709
|
+
|
|
710
|
+
"use strict";
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
if (true) {
|
|
714
|
+
module.exports = __webpack_require__(1020);
|
|
715
|
+
} else // removed by dead control flow
|
|
716
|
+
{}
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
/***/ }),
|
|
720
|
+
|
|
721
|
+
/***/ 5056:
|
|
722
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
723
|
+
|
|
724
|
+
"use strict";
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
/* istanbul ignore next */
|
|
728
|
+
function setAttributesWithoutAttributes(styleElement) {
|
|
729
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
730
|
+
if (nonce) {
|
|
731
|
+
styleElement.setAttribute("nonce", nonce);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
module.exports = setAttributesWithoutAttributes;
|
|
735
|
+
|
|
736
|
+
/***/ }),
|
|
737
|
+
|
|
738
|
+
/***/ 5072:
|
|
739
|
+
/***/ ((module) => {
|
|
740
|
+
|
|
741
|
+
"use strict";
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
var stylesInDOM = [];
|
|
745
|
+
function getIndexByIdentifier(identifier) {
|
|
746
|
+
var result = -1;
|
|
747
|
+
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
748
|
+
if (stylesInDOM[i].identifier === identifier) {
|
|
749
|
+
result = i;
|
|
750
|
+
break;
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
return result;
|
|
754
|
+
}
|
|
755
|
+
function modulesToDom(list, options) {
|
|
756
|
+
var idCountMap = {};
|
|
757
|
+
var identifiers = [];
|
|
758
|
+
for (var i = 0; i < list.length; i++) {
|
|
759
|
+
var item = list[i];
|
|
760
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
761
|
+
var count = idCountMap[id] || 0;
|
|
762
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
763
|
+
idCountMap[id] = count + 1;
|
|
764
|
+
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
765
|
+
var obj = {
|
|
766
|
+
css: item[1],
|
|
767
|
+
media: item[2],
|
|
768
|
+
sourceMap: item[3],
|
|
769
|
+
supports: item[4],
|
|
770
|
+
layer: item[5]
|
|
771
|
+
};
|
|
772
|
+
if (indexByIdentifier !== -1) {
|
|
773
|
+
stylesInDOM[indexByIdentifier].references++;
|
|
774
|
+
stylesInDOM[indexByIdentifier].updater(obj);
|
|
775
|
+
} else {
|
|
776
|
+
var updater = addElementStyle(obj, options);
|
|
777
|
+
options.byIndex = i;
|
|
778
|
+
stylesInDOM.splice(i, 0, {
|
|
779
|
+
identifier: identifier,
|
|
780
|
+
updater: updater,
|
|
781
|
+
references: 1
|
|
782
|
+
});
|
|
783
|
+
}
|
|
784
|
+
identifiers.push(identifier);
|
|
785
|
+
}
|
|
786
|
+
return identifiers;
|
|
787
|
+
}
|
|
788
|
+
function addElementStyle(obj, options) {
|
|
789
|
+
var api = options.domAPI(options);
|
|
790
|
+
api.update(obj);
|
|
791
|
+
var updater = function updater(newObj) {
|
|
792
|
+
if (newObj) {
|
|
793
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
794
|
+
return;
|
|
795
|
+
}
|
|
796
|
+
api.update(obj = newObj);
|
|
797
|
+
} else {
|
|
798
|
+
api.remove();
|
|
799
|
+
}
|
|
800
|
+
};
|
|
801
|
+
return updater;
|
|
802
|
+
}
|
|
803
|
+
module.exports = function (list, options) {
|
|
804
|
+
options = options || {};
|
|
805
|
+
list = list || [];
|
|
806
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
807
|
+
return function update(newList) {
|
|
808
|
+
newList = newList || [];
|
|
809
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
810
|
+
var identifier = lastIdentifiers[i];
|
|
811
|
+
var index = getIndexByIdentifier(identifier);
|
|
812
|
+
stylesInDOM[index].references--;
|
|
813
|
+
}
|
|
814
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
815
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
816
|
+
var _identifier = lastIdentifiers[_i];
|
|
817
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
818
|
+
if (stylesInDOM[_index].references === 0) {
|
|
819
|
+
stylesInDOM[_index].updater();
|
|
820
|
+
stylesInDOM.splice(_index, 1);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
lastIdentifiers = newLastIdentifiers;
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
/***/ }),
|
|
828
|
+
|
|
829
|
+
/***/ 6314:
|
|
830
|
+
/***/ ((module) => {
|
|
831
|
+
|
|
832
|
+
"use strict";
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
/*
|
|
836
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
837
|
+
Author Tobias Koppers @sokra
|
|
838
|
+
*/
|
|
839
|
+
module.exports = function (cssWithMappingToString) {
|
|
840
|
+
var list = [];
|
|
841
|
+
|
|
842
|
+
// return the list of modules as css string
|
|
843
|
+
list.toString = function toString() {
|
|
844
|
+
return this.map(function (item) {
|
|
845
|
+
var content = "";
|
|
846
|
+
var needLayer = typeof item[5] !== "undefined";
|
|
847
|
+
if (item[4]) {
|
|
848
|
+
content += "@supports (".concat(item[4], ") {");
|
|
849
|
+
}
|
|
850
|
+
if (item[2]) {
|
|
851
|
+
content += "@media ".concat(item[2], " {");
|
|
852
|
+
}
|
|
853
|
+
if (needLayer) {
|
|
854
|
+
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
855
|
+
}
|
|
856
|
+
content += cssWithMappingToString(item);
|
|
857
|
+
if (needLayer) {
|
|
858
|
+
content += "}";
|
|
859
|
+
}
|
|
860
|
+
if (item[2]) {
|
|
861
|
+
content += "}";
|
|
862
|
+
}
|
|
863
|
+
if (item[4]) {
|
|
864
|
+
content += "}";
|
|
865
|
+
}
|
|
866
|
+
return content;
|
|
867
|
+
}).join("");
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
// import a list of modules into the list
|
|
871
|
+
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
872
|
+
if (typeof modules === "string") {
|
|
873
|
+
modules = [[null, modules, undefined]];
|
|
874
|
+
}
|
|
875
|
+
var alreadyImportedModules = {};
|
|
876
|
+
if (dedupe) {
|
|
877
|
+
for (var k = 0; k < this.length; k++) {
|
|
878
|
+
var id = this[k][0];
|
|
879
|
+
if (id != null) {
|
|
880
|
+
alreadyImportedModules[id] = true;
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
for (var _k = 0; _k < modules.length; _k++) {
|
|
885
|
+
var item = [].concat(modules[_k]);
|
|
886
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
887
|
+
continue;
|
|
888
|
+
}
|
|
889
|
+
if (typeof layer !== "undefined") {
|
|
890
|
+
if (typeof item[5] === "undefined") {
|
|
891
|
+
item[5] = layer;
|
|
892
|
+
} else {
|
|
893
|
+
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
894
|
+
item[5] = layer;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
if (media) {
|
|
898
|
+
if (!item[2]) {
|
|
899
|
+
item[2] = media;
|
|
900
|
+
} else {
|
|
901
|
+
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
902
|
+
item[2] = media;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
if (supports) {
|
|
906
|
+
if (!item[4]) {
|
|
907
|
+
item[4] = "".concat(supports);
|
|
908
|
+
} else {
|
|
909
|
+
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
910
|
+
item[4] = supports;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
list.push(item);
|
|
914
|
+
}
|
|
915
|
+
};
|
|
916
|
+
return list;
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
/***/ }),
|
|
920
|
+
|
|
921
|
+
/***/ 6407:
|
|
922
|
+
/***/ ((module) => {
|
|
923
|
+
|
|
924
|
+
"use strict";
|
|
925
|
+
module.exports = require("react-intl");
|
|
926
|
+
|
|
927
|
+
/***/ }),
|
|
928
|
+
|
|
929
|
+
/***/ 7659:
|
|
930
|
+
/***/ ((module) => {
|
|
931
|
+
|
|
932
|
+
"use strict";
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
var memo = {};
|
|
936
|
+
|
|
937
|
+
/* istanbul ignore next */
|
|
938
|
+
function getTarget(target) {
|
|
939
|
+
if (typeof memo[target] === "undefined") {
|
|
940
|
+
var styleTarget = document.querySelector(target);
|
|
941
|
+
|
|
942
|
+
// Special case to return head of iframe instead of iframe itself
|
|
943
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
944
|
+
try {
|
|
945
|
+
// This will throw an exception if access to iframe is blocked
|
|
946
|
+
// due to cross-origin restrictions
|
|
947
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
948
|
+
} catch (e) {
|
|
949
|
+
// istanbul ignore next
|
|
950
|
+
styleTarget = null;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
memo[target] = styleTarget;
|
|
954
|
+
}
|
|
955
|
+
return memo[target];
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
/* istanbul ignore next */
|
|
959
|
+
function insertBySelector(insert, style) {
|
|
960
|
+
var target = getTarget(insert);
|
|
961
|
+
if (!target) {
|
|
962
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
963
|
+
}
|
|
964
|
+
target.appendChild(style);
|
|
965
|
+
}
|
|
966
|
+
module.exports = insertBySelector;
|
|
967
|
+
|
|
968
|
+
/***/ }),
|
|
969
|
+
|
|
970
|
+
/***/ 9206:
|
|
971
|
+
/***/ ((module) => {
|
|
972
|
+
|
|
973
|
+
"use strict";
|
|
974
|
+
module.exports = require("react");
|
|
975
|
+
|
|
976
|
+
/***/ }),
|
|
977
|
+
|
|
978
|
+
/***/ 9879:
|
|
979
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
980
|
+
|
|
981
|
+
"use strict";
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
exports.__esModule = true;
|
|
985
|
+
exports["default"] = void 0;
|
|
986
|
+
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
987
|
+
var _reactIntl = __webpack_require__(6407);
|
|
988
|
+
var _en = _interopRequireDefault(__webpack_require__(26));
|
|
989
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
990
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
991
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
992
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
993
|
+
const prefix = "blaze.components";
|
|
994
|
+
const LocaleHoc = (WrapperComponent, customProps) => {
|
|
995
|
+
const Wrapper = props => {
|
|
996
|
+
const componentName = customProps.key;
|
|
997
|
+
const translatedDefaults = _en.default[componentName];
|
|
998
|
+
const {
|
|
999
|
+
intl
|
|
1000
|
+
} = props;
|
|
1001
|
+
const translatedProps = (0, _react.useMemo)(() => {
|
|
1002
|
+
if (!translatedDefaults) return {};
|
|
1003
|
+
return Object.keys(translatedDefaults).reduce((acc, key) => {
|
|
1004
|
+
const id = prefix + "." + componentName + "." + key;
|
|
1005
|
+
const defaultMessage = translatedDefaults[key];
|
|
1006
|
+
try {
|
|
1007
|
+
acc[key] = intl.formatMessage({
|
|
1008
|
+
id,
|
|
1009
|
+
defaultMessage
|
|
1010
|
+
});
|
|
1011
|
+
} catch (_err) {
|
|
1012
|
+
acc[key] = defaultMessage;
|
|
1013
|
+
}
|
|
1014
|
+
return acc;
|
|
1015
|
+
}, {});
|
|
1016
|
+
}, [translatedDefaults, intl]);
|
|
1017
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(WrapperComponent, _extends({}, translatedProps, props));
|
|
1018
|
+
};
|
|
1019
|
+
return (0, _reactIntl.injectIntl)(Wrapper);
|
|
1020
|
+
};
|
|
1021
|
+
var _default = exports["default"] = LocaleHoc;
|
|
1022
|
+
|
|
1023
|
+
/***/ })
|
|
1024
|
+
|
|
1025
|
+
/******/ });
|
|
1026
|
+
/************************************************************************/
|
|
1027
|
+
/******/ // The module cache
|
|
1028
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1029
|
+
/******/
|
|
1030
|
+
/******/ // The require function
|
|
1031
|
+
/******/ function __webpack_require__(moduleId) {
|
|
1032
|
+
/******/ // Check if module is in cache
|
|
1033
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1034
|
+
/******/ if (cachedModule !== undefined) {
|
|
1035
|
+
/******/ return cachedModule.exports;
|
|
1036
|
+
/******/ }
|
|
1037
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1038
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1039
|
+
/******/ id: moduleId,
|
|
1040
|
+
/******/ // no module.loaded needed
|
|
1041
|
+
/******/ exports: {}
|
|
1042
|
+
/******/ };
|
|
1043
|
+
/******/
|
|
1044
|
+
/******/ // Execute the module function
|
|
1045
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
1046
|
+
/******/
|
|
1047
|
+
/******/ // Return the exports of the module
|
|
1048
|
+
/******/ return module.exports;
|
|
1049
|
+
/******/ }
|
|
1050
|
+
/******/
|
|
1051
|
+
/************************************************************************/
|
|
1052
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
1053
|
+
/******/ (() => {
|
|
1054
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
1055
|
+
/******/ __webpack_require__.n = (module) => {
|
|
1056
|
+
/******/ var getter = module && module.__esModule ?
|
|
1057
|
+
/******/ () => (module['default']) :
|
|
1058
|
+
/******/ () => (module);
|
|
1059
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
1060
|
+
/******/ return getter;
|
|
1061
|
+
/******/ };
|
|
1062
|
+
/******/ })();
|
|
1063
|
+
/******/
|
|
1064
|
+
/******/ /* webpack/runtime/define property getters */
|
|
1065
|
+
/******/ (() => {
|
|
1066
|
+
/******/ // define getter functions for harmony exports
|
|
1067
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
1068
|
+
/******/ for(var key in definition) {
|
|
1069
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
1070
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1071
|
+
/******/ }
|
|
1072
|
+
/******/ }
|
|
1073
|
+
/******/ };
|
|
1074
|
+
/******/ })();
|
|
1075
|
+
/******/
|
|
1076
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1077
|
+
/******/ (() => {
|
|
1078
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
1079
|
+
/******/ })();
|
|
1080
|
+
/******/
|
|
1081
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
1082
|
+
/******/ (() => {
|
|
1083
|
+
/******/ // define __esModule on exports
|
|
1084
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
1085
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1086
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1087
|
+
/******/ }
|
|
1088
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1089
|
+
/******/ };
|
|
1090
|
+
/******/ })();
|
|
1091
|
+
/******/
|
|
1092
|
+
/******/ /* webpack/runtime/nonce */
|
|
1093
|
+
/******/ (() => {
|
|
1094
|
+
/******/ __webpack_require__.nc = undefined;
|
|
1095
|
+
/******/ })();
|
|
1096
|
+
/******/
|
|
1097
|
+
/************************************************************************/
|
|
1098
|
+
var __webpack_exports__ = {};
|
|
1099
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
1100
|
+
(() => {
|
|
1101
|
+
"use strict";
|
|
1102
|
+
var exports = __webpack_exports__;
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
exports.__esModule = true;
|
|
1106
|
+
exports["default"] = void 0;
|
|
1107
|
+
var _CapTable = _interopRequireDefault(__webpack_require__(4481));
|
|
1108
|
+
exports["default"] = _CapTable.default;
|
|
1109
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1110
|
+
})();
|
|
1111
|
+
|
|
1112
|
+
module.exports = __webpack_exports__;
|
|
1113
|
+
/******/ })()
|
|
1114
|
+
;
|
|
1115
|
+
//# sourceMappingURL=index.js.map
|