@castlabs/ui 7.16.0 → 7.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@castlabs/ui",
3
- "version": "7.16.0",
3
+ "version": "7.17.0",
4
4
  "repository": "https://github.com/castlabs/ui-styleguide",
5
5
  "private": false,
6
6
  "description": "A vanilla HTML/CS/JS & Vue.js component library for Castlabs.",
@@ -42,20 +42,20 @@
42
42
  "simplebar": "6.3.3"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@rollup/rollup-linux-x64-gnu": "4.59.0"
45
+ "@rollup/rollup-linux-x64-gnu": "4.60.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@castlabs/ui-editor": "file:../castlabs-ui-editor",
49
49
  "@tsconfig/node22": "22.0.5",
50
- "@types/jsdom": "28.0.0",
51
- "@types/node": "25.3.3",
52
- "@vitejs/plugin-vue": "6.0.4",
53
- "@vitest/eslint-plugin": "1.6.9",
50
+ "@types/jsdom": "28.0.1",
51
+ "@types/node": "25.5.0",
52
+ "@vitejs/plugin-vue": "6.0.5",
53
+ "@vitest/eslint-plugin": "1.6.13",
54
54
  "@vue/eslint-config-prettier": "10.2.0",
55
55
  "@vue/eslint-config-typescript": "14.7.0",
56
56
  "@vue/test-utils": "2.4.6",
57
- "@vue/tsconfig": "0.9.0",
58
- "core-js": "3.48.0",
57
+ "@vue/tsconfig": "0.9.1",
58
+ "core-js": "3.49.0",
59
59
  "dree": "5.1.5",
60
60
  "eslint-plugin-import": "2.32.0",
61
61
  "eslint-plugin-n": "17.24.0",
@@ -65,19 +65,19 @@
65
65
  "gulp-concat": "2.6.1",
66
66
  "gulp-replace": "1.1.4",
67
67
  "gulp": "5.0.1",
68
- "jsdom": "28.1.0",
68
+ "jsdom": "29.0.1",
69
69
  "npm-run-all": "4.1.5",
70
- "sass": "1.97.3",
70
+ "sass": "1.98.0",
71
71
  "stylelint-config-sass-guidelines": "13.0.0",
72
72
  "stylelint-config-standard-vue": "1.0.0",
73
73
  "stylelint-config-standard": "40.0.0",
74
- "stylelint-order": "7.0.1",
74
+ "stylelint-order": "8.1.1",
75
75
  "stylelint-scss": "7.0.0",
76
76
  "typescript": "5.9.3",
77
- "vite": "7.3.1",
78
- "vitest": "4.0.18",
79
- "vue-tsc": "3.2.5",
80
- "vue": "3.5.29"
77
+ "vite": "8.0.3",
78
+ "vitest": "4.1.1",
79
+ "vue-tsc": "3.2.6",
80
+ "vue": "3.5.31"
81
81
  },
82
82
  "overrides": {
83
83
  "glob": "^13"
@@ -1,3 +1,3 @@
1
1
  :root {
2
- #{'--cl-version'}: 'v7.16.0';
2
+ #{'--cl-version'}: 'v7.17.0';
3
3
  }
package/types/index.d.ts CHANGED
@@ -106,13 +106,13 @@ export function clTableSorter (
106
106
  initialOrder?: string
107
107
  ): any
108
108
  export function clTableSorterObjects<Type> (dataCallback: () => Type[], keys: string[], initialCol?: number, pageNoCallback?: () => number, pageSizeCallback?: () => number): {
109
- col: number,
110
- order: 'ASC' | 'DESC' | 'NONE',
111
- set: (col: number, order: string) => void,
112
- get: (col: number) => string,
113
- sorted: Type[],
114
- sorter: () => any,
115
- sort: (col?: number, order?: string) => 'ASC' | 'DESC' | 'NONE',
109
+ col: number
110
+ order: 'ASC' | 'DESC' | 'NONE'
111
+ set: (col: number, order: string) => void
112
+ get: (col: number) => string
113
+ sorted: Type[]
114
+ sorter: () => any
115
+ sort: (col?: number, order?: string) => 'ASC' | 'DESC' | 'NONE'
116
116
  }
117
117
  export function clDebounce (callback: any, ms?: number, key?: string): void
118
118
  export function clSanitizeId (id: string): string
@@ -283,12 +283,130 @@ type CsNavEntry = {
283
283
  badge: string | undefined
284
284
  }
285
285
 
286
+ type STATE = {
287
+ UNKNOWN: null,
288
+ ACTIVE: number
289
+ PENDING: number
290
+ DELETED: number
291
+ SUSPENDED: number
292
+ }
293
+
286
294
  export const CS: {
287
- SERVICE: Record<string, string>
288
- ROLE: Record<string, string>
289
- STATE: Record<string, number | null>
290
- LICENSE_STATE: Record<string, number | null>
291
- PLAN: Record<string, number | null>
295
+ SERVICE: {
296
+ CP: string
297
+ CP_TAGLINE: string
298
+ CP_URN: string
299
+ CS: string
300
+ CS_TAGLINE: string
301
+ CS_URN: string
302
+ DT: string
303
+ DT_TAGLINE: string
304
+ DT_URN: string
305
+ DTO: string
306
+ DTO_TAGLINE: string
307
+ DTO_URN: string
308
+ DTS: string
309
+ DTS_TAGLINE: string
310
+ DTS_URN: string
311
+ PP: string
312
+ PP_TAGLINE: string
313
+ PP_URN: string
314
+ PP_URN_ANDROID: string
315
+ PP_URN_BROWSER: string
316
+ PP_URN_GSTREAMER: string
317
+ PP_URN_IOS: string
318
+ PP_URN_REACTNATIVE: string
319
+ PP_URN_WEBRTC: string
320
+ VTK: string
321
+ VTK_TAGLINE: string
322
+ VTK_URN: string
323
+ WM: string
324
+ WM_TAGLINE: string
325
+ WM_URN: string
326
+ }
327
+ ROLE: {
328
+ CS_READONLY: string
329
+ CS_READONLY_URN: string
330
+
331
+ CS_ADMIN: string
332
+ CS_ADMIN_URN: string
333
+ CS_BILLING: string
334
+ CS_BILLING_URN: string
335
+ CS_REPORTS: string
336
+ CS_REPORTS_URN: string
337
+
338
+ PP_ADMIN: string
339
+ PP_ADMIN_URN: string
340
+ PP_USER: string
341
+ PP_USER_URN: string
342
+
343
+ DT_MEMBERS: string
344
+ DT_MEMBERS_URN: string
345
+ DT_SUBORGS: string
346
+ DT_SUBORGS_URN: string
347
+ DT_CONFIGURATION: string
348
+ DT_CONFIGURATION_URN: string
349
+ DT_KEYS_DELETE: string
350
+ DT_KEYS_DELETE_URN: string
351
+ DT_KEYS_INGEST: string
352
+ DT_KEYS_INGEST_URN: string
353
+ DT_ASSETS: string
354
+ DT_ASSETS_URN: string
355
+ DT_DELIVERIES: string
356
+ DT_DELIVERIES_URN: string
357
+
358
+ DTO_DEVICES: string
359
+ DTO_DEVICES_URN: string
360
+ DTO_KEYBOX: string
361
+ DTO_KEYBOX_URN: string
362
+ DTO_DOWNLOAD: string
363
+ DTO_DOWNLOAD_URN: string
364
+ DTO_REPORTS: string
365
+ DTO_REPORTS_URN: string
366
+ DTO_CONFIGURATION: string
367
+ DTO_CONFIGURATION_URN: string
368
+
369
+ DTS_MEMBERS: string
370
+ DTS_MEMBERS_URN: string
371
+ DTS_SUBORGS: string
372
+ DTS_SUBORGS_URN: string
373
+ DTS_CONFIGURATION: string
374
+ DTS_CONFIGURATION_URN: string
375
+ DTS_KEYS_DELETE: string
376
+ DTS_KEYS_DELETE_URN: string
377
+ DTS_KEYS_INGEST: string
378
+ DTS_KEYS_INGEST_URN: string
379
+ DTS_ASSETS: string
380
+ DTS_ASSETS_URN: string
381
+ DTS_DELIVERIES: string
382
+ DTS_DELIVERIES_URN: string
383
+
384
+ VTK_ADMIN: string
385
+ VTK_ADMIN_URN: string
386
+ VTK_USER: string
387
+ VTK_USER_URN: string
388
+
389
+ CP_USER: string
390
+ CP_USER_URN: string
391
+
392
+ WM_DEMO: string
393
+ WM_DEMO_URN: string
394
+ WM_EXTRACTION: string
395
+ WM_EXTRACTION_URN: string
396
+ }
397
+ STATE: STATE
398
+ LICENSE_STATE: {
399
+ APPROVAL_REQUIRED: number
400
+ APPROVAL_DENIED: number
401
+ APPROVAL_REVOKED: number
402
+ } & STATE
403
+ PLAN: {
404
+ UNKNOWN: null,
405
+ TRIAL: number
406
+ STARTER: number
407
+ ENTERPRISE: number
408
+ CUSTOM: number
409
+ }
292
410
  APPS: Record<string, CsApp>
293
411
  }
294
412