dynamic-mui 1.0.70 → 1.0.71

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.
@@ -165,7 +165,7 @@ function Stepper(_ref) {
165
165
  }, /*#__PURE__*/_react.default.createElement(_material.Button, _extends({
166
166
  variant: "contained",
167
167
  onClick: () => handleStepChange('NEXT_STEP', isScreenChange, index === MuiSteps.length - 1),
168
- disabled: mandatoryIds.some(id => !patch[id]),
168
+ disabled: mandatoryIds.some(id => !response[attributes.id][id]),
169
169
  sx: {
170
170
  mt: 1,
171
171
  mr: 1
@@ -16,21 +16,6 @@ const mui = exports.mui = [{
16
16
  label: 'Select Service Request',
17
17
  mandatoryIds: ['servicetype'],
18
18
  components: [{
19
- id: 'servicetypeselect',
20
- type: 'radio',
21
- props: {
22
- id: 'servicetypeselect',
23
- value: 'Existing',
24
- MuiAttributes: {},
25
- MuiFLabelIcon: {},
26
- MuiFLabel: '',
27
- MuiFCLAttributes: {},
28
- MuiFCLabels: ['Existing', 'New'],
29
- MuiRGAttributes: {
30
- row: true
31
- }
32
- }
33
- }, {
34
19
  type: 'select',
35
20
  props: {
36
21
  id: 'servicetype',
@@ -38,8 +23,17 @@ const mui = exports.mui = [{
38
23
  required: true
39
24
  },
40
25
  options: [{
41
- value: 'New Installation',
42
- label: 'New Installation'
26
+ value: 'After Meter Leaking',
27
+ label: 'After Meter Leaking'
28
+ }, {
29
+ value: 'Align Meter',
30
+ label: 'Align Meter'
31
+ }, {
32
+ value: 'Before Meter Leaking',
33
+ label: 'Before Meter Leaking'
34
+ }, {
35
+ value: 'Billing Concerns',
36
+ label: 'Billing Concerns'
43
37
  }, {
44
38
  value: 'Change Classification',
45
39
  label: 'Change Classification'
@@ -50,14 +44,62 @@ const mui = exports.mui = [{
50
44
  value: 'Change Name',
51
45
  label: 'Change Name'
52
46
  }, {
53
- value: 'Transfer Location',
54
- label: 'Transfer Location'
47
+ value: 'Meter Servicing',
48
+ label: 'Meter Servicing'
55
49
  }, {
56
- value: 'Recheck Read',
57
- label: 'Recheck Read'
50
+ value: 'Disconnection - Involuntary',
51
+ label: 'Disconnection - Involuntary'
58
52
  }, {
59
53
  value: 'Disconnection - Voluntary',
60
54
  label: 'Disconnection - Voluntary'
55
+ }, {
56
+ value: 'Distribution Line Leaking',
57
+ label: 'Distribution Line Leaking'
58
+ }, {
59
+ value: 'Estimate Inner Plumbing',
60
+ label: 'Estimate Inner Plumbing'
61
+ }, {
62
+ value: 'Illegal Activity',
63
+ label: 'Illegal Activity'
64
+ }, {
65
+ value: 'Install Lockwing',
66
+ label: 'Install Lockwing'
67
+ }, {
68
+ value: 'Low Pressure/No Water',
69
+ label: 'Low Pressure/No Water'
70
+ }, {
71
+ value: 'Mainline Leaking',
72
+ label: 'Mainline Leaking'
73
+ }, {
74
+ value: 'Other Complaints',
75
+ label: 'Other Complaints'
76
+ }, {
77
+ value: 'Paid Before Disconnect',
78
+ label: 'Paid Before Disconnect'
79
+ }, {
80
+ value: 'Pull Out Meter',
81
+ label: 'Pull Out Meter'
82
+ }, {
83
+ value: 'Recheck Read',
84
+ label: 'Recheck Read'
85
+ }, {
86
+ value: 'Reconnection',
87
+ label: 'Reconnection'
88
+ }, {
89
+ value: 'Relocation - Change Zone',
90
+ label: 'Relocation - Change Zone'
91
+ }, {
92
+ value: 'Secondaryline Leaking',
93
+ label: 'Secondaryline Leaking'
94
+ }, {
95
+ value: 'Survey',
96
+ label: 'Survey'
97
+ }, {
98
+ value: 'Relocation',
99
+ label: 'Relocation'
100
+ }, {
101
+ value: 'Water Quality Concern',
102
+ label: 'Water Quality Concern'
61
103
  }],
62
104
  MuiBoxAttributes: {}
63
105
  }
@@ -70,9 +112,6 @@ const mui = exports.mui = [{
70
112
  type: 'select',
71
113
  props: {
72
114
  id: 'priority',
73
- MuiAttributes: {
74
- required: true
75
- },
76
115
  options: [{
77
116
  value: 'Emergency',
78
117
  label: 'Emergency'
@@ -124,18 +163,27 @@ const mui = exports.mui = [{
124
163
  }]
125
164
  }, {
126
165
  label: 'Assign User',
127
- mandatoryIds: ['assigntouser'],
166
+ mandatoryIds: ['assignedTo'],
128
167
  components: [{
129
168
  type: 'select',
130
169
  props: {
131
- id: 'assigntouser',
170
+ id: 'assignedTo',
132
171
  MuiAttributes: {},
133
172
  options: [{
134
- value: 'Dinakaran',
135
- label: 'Dinakaran'
173
+ value: 'gwdteller1',
174
+ label: 'gwdteller1'
175
+ }, {
176
+ value: 'gwdreader1',
177
+ label: 'gwdreader1'
178
+ }, {
179
+ value: 'gwdreader2',
180
+ label: 'gwdreader2'
136
181
  }, {
137
- value: 'Thiyagarajan',
138
- label: 'Thiyagarajan'
182
+ value: 'gmrolandobill',
183
+ label: 'gmrolandobill'
184
+ }, {
185
+ value: 'mungGuiuan',
186
+ label: 'mungGuiuan'
139
187
  }],
140
188
  MuiBoxAttributes: {}
141
189
  }
@@ -158,20 +206,23 @@ const mui = exports.mui = [{
158
206
  }
159
207
  }
160
208
  }, {
161
- id: 'cost',
209
+ id: 'serviceCost',
162
210
  type: 'textfield',
163
211
  props: {
164
- id: 'cost',
165
- MuiAttributes: {}
212
+ id: 'serviceCost',
213
+ MuiAttributes: {
214
+ type: 'number'
215
+ },
216
+ value: 0
166
217
  }
167
218
  }]
168
219
  }, {
169
220
  label: 'Description',
170
221
  components: [{
171
- id: 'description',
222
+ id: 'descriptionDetails',
172
223
  type: 'textfield',
173
224
  props: {
174
- id: 'description',
225
+ id: 'descriptionDetails',
175
226
  MuiAttributes: {
176
227
  multiline: true,
177
228
  rows: 3
@@ -181,19 +232,47 @@ const mui = exports.mui = [{
181
232
  }, {
182
233
  label: 'Review'
183
234
  }],
184
- MuiStepAttributes: {},
235
+ MuiStepAttributes: {
236
+ sx: {
237
+ '& .MuiStepLabel-root .Mui-completed': {
238
+ color: 'primary.dark'
239
+ },
240
+ '& .MuiStepLabel-label.Mui-completed.MuiStepLabel-alternativeLabel': {
241
+ color: 'grey.500'
242
+ },
243
+ '& .MuiStepLabel-root .Mui-active': {
244
+ color: 'primary.dark'
245
+ },
246
+ '& .MuiStepLabel-label.Mui-active.MuiStepLabel-alternativeLabel': {
247
+ color: 'common.white'
248
+ },
249
+ '& .MuiStepLabel-root .Mui-active .MuiStepIcon-text': {
250
+ fill: 'common.white'
251
+ }
252
+ }
253
+ },
185
254
  MuiStepLabelAttributes: {},
186
255
  MuiStepContentAttributes: {},
187
256
  MuiButtonAttributes: {
188
- back: {},
257
+ back: {
258
+ sx: {
259
+ color: 'primary.dark',
260
+ mt: 1
261
+ }
262
+ },
189
263
  next: {
190
264
  sx: {
191
- bgcolor: 'primary.dark'
265
+ bgcolor: 'primary.dark',
266
+ mt: 1
192
267
  }
193
268
  },
194
269
  final: {
195
270
  sx: {
196
- bgcolor: 'success.light'
271
+ bgcolor: 'success.light',
272
+ mt: 1,
273
+ '&:hover': {
274
+ bgcolor: 'success.dark'
275
+ }
197
276
  }
198
277
  },
199
278
  backLabel: '',
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "files": {
3
- "main.js": "/DinakaranS/-dynamic-mui/build/bundle.7bf57cc2.js",
3
+ "main.js": "/DinakaranS/-dynamic-mui/build/bundle.8cf75d73.js",
4
4
  "index.html": "/DinakaranS/-dynamic-mui/index.html"
5
5
  },
6
6
  "entrypoints": [
7
- "build/bundle.7bf57cc2.js"
7
+ "build/bundle.8cf75d73.js"
8
8
  ]
9
9
  }