@a2simcode/ui 0.0.298 → 0.0.300

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.
@@ -3,8 +3,7 @@ export default {
3
3
  {
4
4
  "name": "modelValue",
5
5
  "description": "输入值",
6
- "type": "string | number | boolean | any[] | Record<string, any> | symbol",
7
- "default": "MODEL_VALUE_UNSET"
6
+ "type": "string | number | boolean | any[] | Record<string, any>"
8
7
  },
9
8
  {
10
9
  "name": "id",
@@ -179,6 +179,24 @@ const columns = ref([
179
179
  placeholder: '输入标签,回车添加',
180
180
  },
181
181
  },
182
+ {
183
+ id: 'birthday',
184
+ type: 'j-date', // 日期选择
185
+ config: {
186
+ label: '生日',
187
+ width: 150,
188
+ placeholder: '请选择生日',
189
+ },
190
+ },
191
+ {
192
+ id: 'workTime',
193
+ type: 'j-time', // 时间选择
194
+ config: {
195
+ label: '上班时间',
196
+ width: 130,
197
+ placeholder: '请选择时间',
198
+ },
199
+ },
182
200
  ])
183
201
 
184
202
  // 表格数据
@@ -197,6 +215,8 @@ const records = ref([
197
215
  rating: 4.5,
198
216
  volume: 70,
199
217
  tags: '技术专家,团队领导',
218
+ birthday: '1997-03-15',
219
+ workTime: '09:00:00',
200
220
  },
201
221
  {
202
222
  name: '李四',
@@ -212,6 +232,8 @@ const records = ref([
212
232
  rating: 4,
213
233
  volume: 50,
214
234
  tags: '产品专家',
235
+ birthday: '1993-08-22',
236
+ workTime: '09:30:00',
215
237
  },
216
238
  {
217
239
  name: '王五',
@@ -227,6 +249,8 @@ const records = ref([
227
249
  rating: 5,
228
250
  volume: 80,
229
251
  tags: '设计师,创意',
252
+ birthday: '2000-11-05',
253
+ workTime: '10:00:00',
230
254
  },
231
255
  {
232
256
  name: '赵六',
@@ -242,6 +266,8 @@ const records = ref([
242
266
  rating: 3.5,
243
267
  volume: 60,
244
268
  tags: '市场,管理',
269
+ birthday: '1990-06-18',
270
+ workTime: '08:30:00',
245
271
  },
246
272
  {
247
273
  name: '钱七',
@@ -257,6 +283,8 @@ const records = ref([
257
283
  rating: 4,
258
284
  volume: 40,
259
285
  tags: '后端,架构',
286
+ birthday: '1996-01-28',
287
+ workTime: '09:15:00',
260
288
  },
261
289
  ])
262
290
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2simcode/ui",
3
- "version": "0.0.298",
3
+ "version": "0.0.300",
4
4
  "description": "A Vue 3 UI Component Library",
5
5
  "type": "module",
6
6
  "main": "./dist/simcode-ui.umd.js",