@mixd-id/web-scaffold 0.1.230406034 → 0.1.230406036

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406034",
4
+ "version": "0.1.230406036",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -183,7 +183,7 @@ export default{
183
183
  }
184
184
 
185
185
  .variant-secondary{
186
- @apply bg-secondary text-white rounded-md border-[2px] border-secondary;
186
+ @apply bg-secondary text-white rounded-md border-[2px] border-secondary-600;
187
187
  }
188
188
  .variant-secondary:hover{
189
189
  @apply bg-secondary-600 border-secondary-600;
@@ -259,4 +259,4 @@ export default{
259
259
  @apply animate-spin h-5 w-5;
260
260
  }
261
261
 
262
- </style>
262
+ </style>
@@ -50,7 +50,7 @@ export default{
50
50
  placeholder: [ String, Number ],
51
51
  readonly: undefined,
52
52
  maxlength: String,
53
- type: String,
53
+ type: String // text, tel, password, number,
54
54
 
55
55
  },
56
56
 
@@ -187,4 +187,4 @@ export default{
187
187
  @apply text-right
188
188
  }
189
189
 
190
- </style>
190
+ </style>
@@ -74,6 +74,10 @@ const plugin = Plugin(function({ addBase, config, theme }) {
74
74
  "--primary-50": '24, 34, 51',
75
75
  "--primary-100": '28, 38, 59',
76
76
  "--primary-200": '27, 44, 74',
77
+
78
+ "--secondary": '55, 59, 65',
79
+ "--secondary-500": '55, 59, 65',
80
+ "--secondary-600": '68, 74, 83',
77
81
  },
78
82
 
79
83
  'body': {
@@ -197,4 +201,4 @@ const plugin = Plugin(function({ addBase, config, theme }) {
197
201
  }
198
202
  })
199
203
 
200
- module.exports = plugin
204
+ module.exports = plugin
@@ -275,4 +275,4 @@ module.exports = {
275
275
  sequelizeChunk,
276
276
  getPresetSortWhereParams,
277
277
  unflatten
278
- }
278
+ }
@@ -153,7 +153,9 @@ const importRequest = async(req) => {
153
153
  const key = keys[idx]
154
154
  if(key.value && columnAddress[key.value]){
155
155
  const cell = row.getCell(columnAddress[key.value])
156
- obj[key.key] = cell.formulaType === 1 ? cell.result : cell.value
156
+ let value = cell.formulaType === 1 ? cell.result : cell.value
157
+ if(value && value.error) value = ''
158
+ obj[key.key] = value
157
159
  }
158
160
  }
159
161
 
@@ -177,4 +179,4 @@ const importRequest = async(req) => {
177
179
  module.exports = {
178
180
  analyseRequest,
179
181
  importRequest
180
- }
182
+ }