@agilemotion/oui-react-js 1.3.8 → 1.3.9
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/README.TXT +1 -0
- package/dist/ApplicationContext.js +161 -284
- package/dist/BasicApp.js +1 -1
- package/dist/BasicAppHome.js +17 -4
- package/dist/BusinessPortalApp.js +1 -1
- package/dist/BusinessPortalAppHome.js +10 -39
- package/dist/DynamicJS.js +20 -52
- package/dist/RestUtils.js +83 -108
- package/dist/Utils.js +36 -30
- package/dist/assets/jss/components/authNavbarStyle.js +34 -35
- package/dist/assets/jss/components/cardHeaderStyle.js +12 -12
- package/dist/assets/jss/components/customDropdownStyle.js +26 -26
- package/dist/assets/jss/components/customInputStyle.js +2 -8
- package/dist/assets/jss/components/dropdownStyle.js +10 -15
- package/dist/assets/jss/components/footerStyle.js +12 -18
- package/dist/assets/jss/components/headerLinksStyle.js +7 -13
- package/dist/assets/jss/components/headerStyle.js +24 -25
- package/dist/assets/jss/components/navbarLinksStyle.js +7 -13
- package/dist/assets/jss/components/navbarStyle.js +24 -25
- package/dist/assets/jss/components/sidebarStyle.js +41 -43
- package/dist/assets/jss/components/typographyStyle.js +2 -8
- package/dist/assets/jss/rootStyle.js +32 -47
- package/dist/assets/jss/views/layoutStyle.js +6 -11
- package/dist/assets/jss/views/loginStyle.js +4 -10
- package/dist/assets/lotties/call-loading.json +1 -0
- package/dist/assets/lotties/calling-2.json +1 -0
- package/dist/assets/lotties/calling.json +1 -0
- package/dist/assets/lotties/calling2.json +1 -0
- package/dist/assets/lotties/chat.json +1 -0
- package/dist/assets/lotties/join.json +1 -0
- package/dist/assets/lotties/loading.json +1 -0
- package/dist/assets/lotties/msg2.json +1 -0
- package/dist/assets/lotties/recording.json +1 -0
- package/dist/assets/lotties/waiting.json +1 -0
- package/dist/assets/scss/black-dashboard-react/bootstrap/_card.scss +5 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/_carousel.scss +2 -2
- package/dist/assets/scss/black-dashboard-react/bootstrap/_custom-forms.scss +3 -3
- package/dist/assets/scss/black-dashboard-react/bootstrap/_functions.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_images.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_jumbotron.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_popover.scss +7 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/_tooltip.scss +4 -4
- package/dist/assets/scss/black-dashboard-react/bootstrap/_variables.scss +5 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid-framework.scss +2 -2
- package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid.scss +11 -9
- package/dist/assets/scss/black-dashboard-react/bootstrap/utilities/_embed.scss +6 -4
- package/dist/assets/scss/black-dashboard-react/custom/_variables.scss +1 -1
- package/dist/components/AlertBar.js +39 -80
- package/dist/components/AlertItem.js +4 -26
- package/dist/components/Button.js +24 -36
- package/dist/components/Calendar.js +478 -0
- package/dist/components/Calender.css +244 -0
- package/dist/components/ConfirmationDialog.js +5 -29
- package/dist/components/DataGrid.js +169 -338
- package/dist/components/DataGridColumn.js +5 -28
- package/dist/components/DataGridFilter.js +46 -114
- package/dist/components/DataGridHeading.js +11 -19
- package/dist/components/Dialog.js +27 -121
- package/dist/components/DocumentViewer.js +8 -34
- package/dist/components/DocumentViewerComponent.js +2 -20
- package/dist/components/FileThumb.js +115 -0
- package/dist/components/Graph.js +25 -75
- package/dist/components/GraphNode.js +4 -21
- package/dist/components/HtmlPanel.js +59 -78
- package/dist/components/Icon.js +99 -1
- package/dist/components/LoadingIndicator.js +4 -4
- package/dist/components/LottieIcon.js +134 -0
- package/dist/components/PopupView.js +2 -20
- package/dist/components/RegularButton.js +15 -19
- package/dist/components/SignaturePanel.js +9 -40
- package/dist/components/SocketManager.js +170 -0
- package/dist/components/StepperTitleBar.js +30 -56
- package/dist/components/TabPage.js +6 -9
- package/dist/components/TabPanel.js +41 -98
- package/dist/components/TableCellContent.js +30 -38
- package/dist/components/TemplateDesigner.js +107 -151
- package/dist/components/TemplateItemEventHandler.js +33 -100
- package/dist/components/TemplateTable.js +6 -42
- package/dist/components/TitleBar.js +35 -52
- package/dist/components/Toolbar.js +33 -179
- package/dist/components/Tree.js +27 -64
- package/dist/components/card/Card.js +16 -20
- package/dist/components/card/CardAvatar.js +9 -13
- package/dist/components/card/CardBody.js +13 -17
- package/dist/components/card/CardFooter.js +12 -16
- package/dist/components/card/CardHeader.js +13 -17
- package/dist/components/card/CardIcon.js +6 -10
- package/dist/components/card/CardText.js +6 -10
- package/dist/components/customInput/CustomInput.js +12 -10
- package/dist/components/dashboard/BasicBusinessAppDashboard.js +79 -155
- package/dist/components/dashboard/BusinessPortalAppDashboard.js +30 -75
- package/dist/components/dashboard/components/Header.js +8 -25
- package/dist/components/dashboard/components/LeftDrawer.js +3 -1
- package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +1 -1
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +138 -30
- package/dist/components/footer/Footer.js +6 -18
- package/dist/components/form/AddressSearch.js +32 -66
- package/dist/components/form/AutoComplete.js +160 -0
- package/dist/components/form/BaseField.js +66 -96
- package/dist/components/form/DatePicker.js +3 -21
- package/dist/components/form/FieldSet.js +158 -180
- package/dist/components/form/Form.css +1 -1
- package/dist/components/form/Form.js +137 -471
- package/dist/components/form/GridField.js +46 -146
- package/dist/components/form/IconField.js +35 -0
- package/dist/components/form/ImageEditor.js +19 -57
- package/dist/components/form/LookupField.js +8 -29
- package/dist/components/form/MultiFileUploadField.js +186 -0
- package/dist/components/form/RadioGroup.js +1 -16
- package/dist/components/form/Section.js +31 -92
- package/dist/components/form/SelectItem.js +14 -33
- package/dist/components/form/SignatureTemplateDesignerField.js +0 -1
- package/dist/components/form/Switch.js +53 -0
- package/dist/components/form/TextField.js +10 -17
- package/dist/components/form/TimePicker.js +7 -1
- package/dist/components/form/TransferList.css +2 -2
- package/dist/components/form/TransferList.js +67 -125
- package/dist/components/form/UploadField.js +27 -79
- package/dist/components/form/fieldset.css +8 -0
- package/dist/components/grid/GridContainer.js +5 -9
- package/dist/components/grid/GridItem.js +5 -9
- package/dist/components/layout/CollapsiblePanel.js +11 -33
- package/dist/components/layout/Layout.js +175 -290
- package/dist/components/layout/VC.css +17 -0
- package/dist/components/layout/View.css +17 -1
- package/dist/components/layout/View.js +77 -194
- package/dist/components/loader.css +1 -1
- package/dist/components/media/ClosablePanel.css +37 -0
- package/dist/components/media/ClosablePanel.js +53 -0
- package/dist/components/media/LobbyWaitingList.js +91 -0
- package/dist/components/media/MediaSoupHelper.js +223 -0
- package/dist/components/media/Recorder.js +235 -0
- package/dist/components/media/SideBarContent.css +54 -0
- package/dist/components/media/SideBarContent.js +46 -0
- package/dist/components/media/SocketRequest.js +20 -0
- package/dist/components/media/SocketResponse.js +16 -0
- package/dist/components/media/Timer.css +30 -0
- package/dist/components/media/Timer.js +88 -0
- package/dist/components/media/Toolbar.css +20 -0
- package/dist/components/media/Toolbar.js +470 -0
- package/dist/components/media/Tracks.js +39 -0
- package/dist/components/media/TrainingRoom.js +531 -0
- package/dist/components/media/Transports.js +35 -0
- package/dist/components/media/VCEventManager.js +74 -0
- package/dist/components/media/VCEventType.js +164 -0
- package/dist/components/media/VCParticipantList.css +72 -0
- package/dist/components/media/VCParticipantList.js +56 -0
- package/dist/components/media/VCParticipantListItem.css +73 -0
- package/dist/components/media/VCParticipantListItem.js +319 -0
- package/dist/components/media/VCRoom.css +42 -0
- package/dist/components/media/VCRoom.js +90 -0
- package/dist/components/media/VCRoomParticipant.css +25 -0
- package/dist/components/media/VCRoomParticipant.js +806 -0
- package/dist/components/media/VCRoomWorkspace.css +86 -0
- package/dist/components/media/VCRoomWorkspace.js +653 -0
- package/dist/components/media/Video.css +4 -0
- package/dist/components/media/Video.js +131 -0
- package/dist/components/media/chat/ChatRoom.js +926 -0
- package/dist/components/media/chat/ChatRoomItem.js +83 -0
- package/dist/components/media/chat/ChatRoomList.js +78 -0
- package/dist/components/media/chat/ChatRooms.scss +567 -0
- package/dist/components/menu/CollapsibleMenu.js +2 -19
- package/dist/components/menu/MenuBars.js +6 -33
- package/dist/components/menu/MenuButton.js +7 -35
- package/dist/components/menu/MenuItem.js +3 -20
- package/dist/components/menu/MenuLink.js +18 -12
- package/dist/components/navbars/AuthNavbar.js +5 -18
- package/dist/components/navbars/HomeNavbar.js +3 -5
- package/dist/components/navbars/PortalNavbar.js +4 -22
- package/dist/components/signatures/AgilitySignaturePanel.js +35 -101
- package/dist/components/signatures/AlertItem.js +3 -24
- package/dist/components/signatures/DocumentContainer.js +47 -134
- package/dist/components/signatures/ImageSignatureInput.js +8 -35
- package/dist/components/signatures/MenuButton.js +1 -16
- package/dist/components/signatures/Prompt.js +3 -24
- package/dist/components/signatures/ResponsiveTable.js +42 -83
- package/dist/components/signatures/SearchView.js +13 -50
- package/dist/components/signatures/SignatorySearch.js +83 -99
- package/dist/components/signatures/SignatorySearchForm.js +11 -17
- package/dist/components/signatures/SignatureInput.js +15 -44
- package/dist/components/signatures/SignatureInputProps.js +18 -60
- package/dist/components/signatures/SignatureTemplateDesigner.js +147 -235
- package/dist/components/signatures/Toolbar.js +7 -34
- package/dist/components/signatures/ViewUtils.js +2 -6
- package/dist/components/typography/Danger.js +3 -1
- package/dist/components/typography/Info.js +3 -1
- package/dist/components/typography/Link.js +6 -2
- package/dist/event/ActionHandlers.js +3 -3
- package/dist/event/EventType.js +7 -1
- package/dist/event/LoadDataActionHandler.js +1 -1
- package/dist/event/Observable.js +56 -168
- package/dist/event/RouteActionHandler.js +45 -11
- package/dist/event/ServiceCallActionHandler.js +34 -24
- package/dist/js/Addresses.js +10 -8
- package/dist/js/Media.js +157 -0
- package/dist/redux/store/ConfigureStore.js +3 -9
- package/dist/redux/store/DashboardStore.js +42 -94
- package/dist/redux/store/SecurityStore.js +15 -50
- package/dist/view/Dashboard.js +242 -163
- package/dist/view/security/ChangePasswordBasic.js +23 -76
- package/dist/view/security/ForgotPassword.js +9 -42
- package/dist/view/security/ForgotPasswordBasic.js +8 -41
- package/dist/view/security/Login.js +11 -47
- package/dist/view/security/LoginBasic.js +8 -41
- package/dist/view/security/LoginBusinessPortal.js +8 -41
- package/dist/view/security/ResetPassword.js +9 -47
- package/dist/view/security/ResetPasswordBasic.js +21 -71
- package/dist/view/security/Security.js +1 -0
- package/package.json +29 -13
- package/README.md +0 -1623
- package/dist/components/dashboard/BasicApp.js +0 -140
- package/dist/components/navbars/NavbarLinks.js +0 -212
- package/dist/components/signatures/OLD.js +0 -1138
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
.no-margin {
|
|
2
|
+
margin-left: 0 !important;
|
|
3
|
+
margin-right: 0 !important;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.no-padding {
|
|
7
|
+
padding-left: 0 !important;
|
|
8
|
+
padding-right: 0 !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.app-calendar,
|
|
12
|
+
.fc-view-harness {
|
|
13
|
+
margin: unset !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fc-header-toolbar button:hover {
|
|
17
|
+
transform: scale(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.event-popup {
|
|
21
|
+
background-color: #ffffff;
|
|
22
|
+
height: 100%;
|
|
23
|
+
width: 100%;
|
|
24
|
+
padding: 8px;
|
|
25
|
+
margin-left: 0 !important;
|
|
26
|
+
margin-right: 0 !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fc-popover-body .fc-event-time,
|
|
30
|
+
.fc-popover-body .fc-event-title {
|
|
31
|
+
color: #01476C;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.event-popup .pointer {
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 8px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.event-popup .top-toolbar {
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 48px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.event-popup .top-toolbar .left {
|
|
45
|
+
width: 50%;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: flex-start;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.event-popup .top-toolbar .right {
|
|
51
|
+
width: 50%;
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: flex-end;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.event-popup .summary {
|
|
57
|
+
width: 376px;
|
|
58
|
+
height: calc(100% - 72px);
|
|
59
|
+
padding: 16px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.event-popup .summary .title {
|
|
63
|
+
font-size: 20px;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
text-overflow: ellipsis;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.event-popup .summary .organiser {
|
|
71
|
+
font-size: 16px;
|
|
72
|
+
font-weight: 600;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.event-button {
|
|
76
|
+
width: 50%;
|
|
77
|
+
border-radius: 4px;
|
|
78
|
+
background-color: #01476C;
|
|
79
|
+
color: #ffffff;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.fc-button-group .fc-toolbar-title {
|
|
83
|
+
padding: 8px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.fc-direction-ltr .fc-list-day-text,
|
|
87
|
+
.fc-event-main-frame,
|
|
88
|
+
.fc-header-toolbar .fc-toolbar-chunk:nth-of-type(3) .fc-button-group button {
|
|
89
|
+
border-color: #dfe8ed !important;
|
|
90
|
+
color: #01476C !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.fc .fc-daygrid-event-harness {
|
|
94
|
+
margin: 0 8px 0 4px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.fc .fc-daygrid-event-harness .fc-event:hover {
|
|
98
|
+
background-color: #dfe8ed !important;
|
|
99
|
+
border-color: #dfe8ed !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.fc .fc-toolbar .fc-button-group .fc-button-primary:not(.fc-prev-button):not(.fc-next-button).fc-button-active,
|
|
103
|
+
.fc .fc-toolbar .fc-button-group .fc-button-primary:not(.fc-prev-button):not(.fc-next-button):hover {
|
|
104
|
+
border-color: #dfe8ed !important;
|
|
105
|
+
color: #01476C !important;
|
|
106
|
+
background-color: rgba(1, 71, 108, 0.2) !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.fc .fc-toolbar .fc-next-button .fc-icon,
|
|
110
|
+
.fc .fc-toolbar .fc-prev-button .fc-icon {
|
|
111
|
+
border-color: #dfe8ed !important;
|
|
112
|
+
color: #01476C !important;
|
|
113
|
+
background-color: transparent !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.fc .fc-button-primary {
|
|
117
|
+
background-color: unset !important;
|
|
118
|
+
border-color: unset !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.fc-daygrid-day-top a {
|
|
122
|
+
color: #6e6b7b;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.fc-daygrid-day-top a:hover {
|
|
126
|
+
color: #4BB543;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.app-calendar .fc-day-past .fc-daygrid-day-number,
|
|
130
|
+
.app-calendar .fc-day-future .fc-daygrid-day-number {
|
|
131
|
+
color: #6e6b7b !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.fc .fc-day-other .fc-daygrid-day-top,
|
|
135
|
+
.fc .fc-day-other .fc-daygrid-day-botton {
|
|
136
|
+
opacity: .5;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.fc-button:hover {
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.fc-v-event {
|
|
143
|
+
display: block;
|
|
144
|
+
border: none !important;
|
|
145
|
+
background-color: unset !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.modal-title {
|
|
149
|
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
|
150
|
+
font-style: normal;
|
|
151
|
+
font-weight: 400;
|
|
152
|
+
font-size: 28px;
|
|
153
|
+
line-height: 36px;
|
|
154
|
+
color: #3E435D;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
button:focus {
|
|
158
|
+
outline: none !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.fc-daygrid-day-events a {
|
|
162
|
+
color: #01476C;
|
|
163
|
+
border: 4px solid #dfe8ed;
|
|
164
|
+
background-color: #dfe8ed !important;
|
|
165
|
+
border-radius: 4px !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.fc-daygrid-body table {
|
|
169
|
+
border-bottom: 1px solid #ebe9f1 !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.fc-view-harness,
|
|
173
|
+
.fc-view-harness-active {
|
|
174
|
+
min-height: unset !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.fc-daygrid-dot-event .fc-event-title {
|
|
178
|
+
font-weight: 500 !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.fc .fc-daygrid-event-harness .fc-event {
|
|
182
|
+
width: 100%;
|
|
183
|
+
max-width: 100%;
|
|
184
|
+
white-space: nowrap;
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
text-overflow: ellipsis;
|
|
187
|
+
background-color: #dfe8ed !important;
|
|
188
|
+
font-weight: 500 !important;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
.fc-daygrid-day-events a:hover,
|
|
193
|
+
.fc-daygrid-day-events a:focus {
|
|
194
|
+
color: #01476C !important;
|
|
195
|
+
border-color: #dfe8ed !important;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.fc-daygrid-event-dot {
|
|
199
|
+
border-color: #01476C;
|
|
200
|
+
display: none;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.fc-daygrid-event-dot:hover {
|
|
204
|
+
border-color: #dfe8ed;
|
|
205
|
+
display: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.fc-daygrid-day-events a:hover .fc-daygrid-event-dot {
|
|
209
|
+
border-color: #ffffff !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.fc-sidebarToggle-button {
|
|
213
|
+
display: none !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.fc .fc-list-event-dot {
|
|
217
|
+
border: 5px solid #dfe8ed !important;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.fc-scrollgrid-section-body table {
|
|
221
|
+
background-repeat: no-repeat;
|
|
222
|
+
background-size: 28% auto;
|
|
223
|
+
background-attachment: fixed;
|
|
224
|
+
background-position: center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.fc .fc-daygrid-day.fc-day-today {
|
|
228
|
+
background-color: rgba(234, 223, 213, .5) !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.app-calendar .fc-day-past .fc-daygrid-day-number {
|
|
232
|
+
color: #000000
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.fc .fc-day-other .fc-daygrid-day-top, .fc .fc-day-other .fc-daygrid-day-botton {
|
|
236
|
+
opacity: .5
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/*
|
|
240
|
+
|
|
241
|
+
.fc-day-past {
|
|
242
|
+
color: #6e6b7b
|
|
243
|
+
}
|
|
244
|
+
*/
|
|
@@ -21,38 +21,14 @@ var _DialogTitle = _interopRequireDefault(require("@material-ui/core/DialogTitle
|
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
27
|
-
|
|
28
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
29
|
-
|
|
30
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
24
|
+
const ConfirmationDialog = /*#__PURE__*/_react.default.memo(props => {
|
|
25
|
+
const [open, setOpen] = _react.default.useState(false);
|
|
31
26
|
|
|
32
|
-
|
|
27
|
+
const [message, setMessage] = _react.default.useState(null);
|
|
33
28
|
|
|
34
|
-
|
|
29
|
+
const [title, setTitle] = _react.default.useState(null);
|
|
35
30
|
|
|
36
|
-
const
|
|
37
|
-
const _React$useState = _react.default.useState(false),
|
|
38
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
39
|
-
open = _React$useState2[0],
|
|
40
|
-
setOpen = _React$useState2[1];
|
|
41
|
-
|
|
42
|
-
const _React$useState3 = _react.default.useState(null),
|
|
43
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
44
|
-
message = _React$useState4[0],
|
|
45
|
-
setMessage = _React$useState4[1];
|
|
46
|
-
|
|
47
|
-
const _React$useState5 = _react.default.useState(null),
|
|
48
|
-
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
49
|
-
title = _React$useState6[0],
|
|
50
|
-
setTitle = _React$useState6[1];
|
|
51
|
-
|
|
52
|
-
const _React$useState7 = _react.default.useState(null),
|
|
53
|
-
_React$useState8 = _slicedToArray(_React$useState7, 2),
|
|
54
|
-
callbackHandler = _React$useState8[0],
|
|
55
|
-
setCallbackHandler = _React$useState8[1];
|
|
31
|
+
const [callbackHandler, setCallbackHandler] = _react.default.useState(null);
|
|
56
32
|
|
|
57
33
|
_react.default.useEffect(() => {
|
|
58
34
|
props.controller.openDialog = (message, callbackHandler, title = null) => {
|