@antcde/component-library 0.1.30 → 0.1.31-rc.1

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.
Files changed (33) hide show
  1. package/dist/build/uno.safelist.d.ts +1 -1
  2. package/dist/build/uno.safelist.js +52 -42
  3. package/dist/index.js +10767 -9039
  4. package/dist/types/components/AntNoticeAlert.vue.d.ts +24 -0
  5. package/dist/types/components/ScriptTrigger/AntDatasetFileSource.vue.d.ts +21 -0
  6. package/dist/types/components/ScriptTrigger/AntDatasetTableSource.vue.d.ts +16 -0
  7. package/dist/types/components/ScriptTrigger/AntPayloadFieldsEditor.vue.d.ts +13 -0
  8. package/dist/types/components/ScriptTrigger/AntRunScriptFields.vue.d.ts +32 -0
  9. package/dist/types/components/ScriptTrigger/AntTransformScriptFields.vue.d.ts +19 -0
  10. package/dist/types/components/ScriptTrigger/AntTriggerExecutionUser.vue.d.ts +10 -0
  11. package/dist/types/components/ScriptTrigger/_DatasetFileColumnList.vue.d.ts +8 -0
  12. package/dist/types/components/ScriptTrigger/_ScriptVersionPicker.vue.d.ts +10 -0
  13. package/dist/types/components/ScriptTrigger/composables/useDatasetColumnMapping.d.ts +43 -0
  14. package/dist/types/components/ScriptTrigger/composables/useDatasetFileColumns.d.ts +51 -0
  15. package/dist/types/components/ScriptTrigger/composables/useDatasetFileProposal.d.ts +96 -0
  16. package/dist/types/components/ScriptTrigger/composables/useFieldIssue.d.ts +16 -0
  17. package/dist/types/components/ScriptTrigger/composables/useScriptSelection.d.ts +68 -0
  18. package/dist/types/components/ScriptTrigger/composables/useTableColumns.d.ts +30 -0
  19. package/dist/types/components/ScriptTrigger/composables/useTableSelection.d.ts +221 -0
  20. package/dist/types/components/ScriptTrigger/context.d.ts +459 -0
  21. package/dist/types/components/ScriptTrigger/messages/de.json.d.ts +151 -0
  22. package/dist/types/components/ScriptTrigger/messages/en.json.d.ts +151 -0
  23. package/dist/types/components/ScriptTrigger/messages/nl.json.d.ts +151 -0
  24. package/dist/types/components/ScriptTrigger/utils/payloadFields.d.ts +6 -0
  25. package/dist/types/components/ScriptTrigger/utils/triggerDataset.d.ts +4 -0
  26. package/dist/types/components/ScriptTrigger/utils/withSavedOption.d.ts +7 -0
  27. package/dist/types/components/form/AntFilterSelect.vue.d.ts +2 -0
  28. package/dist/types/components/form/AntSelect.vue.d.ts +4 -0
  29. package/dist/types/components/form/useMenuSearch.d.ts +12 -0
  30. package/dist/types/index.d.ts +19 -1
  31. package/lib/build/genSafelist.mjs +9 -2
  32. package/lib/build/uno.safelist.ts +52 -42
  33. package/package.json +3 -3
@@ -4,53 +4,63 @@
4
4
  * Every utility class this library's own components use, so a consuming app emits
5
5
  * them even though UnoCSS never scans `dist/index.js`. See the generator for why.
6
6
  *
7
- * 265 classes, from 974 candidates, filtered by asking Uno
7
+ * 326 classes, from 1625 candidates, filtered by asking Uno
8
8
  * which ones actually resolve.
9
9
  */
10
10
  export const libraryClassSafelist: string[] = [
11
11
  'absolute', 'align-middle', 'align-start', 'ant-cat-chip', 'ant-check', 'ant-check--on',
12
- 'ant-field-label', 'ant-hint-banner', 'ant-icon-button', 'ant-option-row', 'ant-option-row--on', 'ant-pill',
13
- 'ant-pill--sm', 'ant-pill-input', 'ant-pill-input--button', 'ant-pill-menu', 'ant-pill-menu__item', 'ant-pill-menu__item--active',
14
- 'ant-radio', 'ant-radio--on', 'ant-radio__dot', 'ant-save-bar', 'ant-section__header', 'basis-full',
15
- 'bg-ant-inset', 'bg-ant-panel', 'bg-ant-surface', 'bg-error', 'bg-primary', 'bg-primary/4',
16
- 'bg-primary/5', 'bg-success', 'bg-transparent', 'bg-warning', 'bg-white', 'bg-white/12',
17
- 'block', 'border', 'border-0', 'border-2', 'border-ant', 'border-b',
18
- 'border-error', 'border-none', 'border-opacity-50', 'border-primary', 'border-t', 'border-white/20',
19
- 'bottom-0', 'capitalize', 'cursor-help', 'cursor-not-allowed', 'cursor-pointer', 'disabled:cursor-not-allowed',
20
- 'disabled:hover:bg-transparent', 'disabled:opacity-50', 'duration-150', 'duration-200', 'ease-in', 'ease-out',
21
- 'flex', 'flex-1', 'flex-col', 'flex-grow-1', 'flex-shrink-0', 'flex-wrap',
22
- 'focus-visible:border-primary', 'focus-visible:opacity-100', 'focus-visible:outline-2', 'focus-visible:outline-offset-2', 'focus-visible:outline-primary', 'focus-within:border-primary',
23
- 'focus:border-error', 'focus:border-primary', 'focus:outline-none', 'focus:ring-error/10', 'focus:ring-primary/10', 'font-[inherit]',
24
- 'font-medium', 'font-mono', 'font-normal', 'font-semibold', 'gap-0.5', 'gap-1',
25
- 'gap-1.5', 'gap-2', 'gap-3', 'gap-8', 'gap-[5px]', 'gap-[6px]',
26
- 'gap-x-2', 'gap-y-1', 'grid', 'group-hover:bg-primary/4', 'group-hover:border-primary/60', 'h-11',
27
- 'h-2', 'h-4', 'h-7', 'h-8', 'h-[18px]', 'h-[22px]',
28
- 'h-full', 'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-white/10', 'hover:opacity-100',
29
- 'inline-block', 'inline-flex', 'items-baseline', 'items-center', 'items-start', 'justify-between',
30
- 'justify-center', 'justify-end', 'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed',
31
- 'leading-snug', 'leading-tight', 'left-0.5', 'lg:flex-initial', 'lg:min-w-[220px]', 'm-0',
32
- 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]', 'mb-1', 'mb-2', 'mb-2.5',
33
- 'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]', 'md:min-w-[260px]',
34
- 'min-h-11', 'min-w-0', 'min-w-[140px]', 'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]',
35
- 'min-w-[240px]', 'ml-1', 'ml-2', 'mr-1', 'mr-2', 'mr-2.5',
36
- 'ms-auto', 'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
12
+ 'ant-cta', 'ant-cta--tonal', 'ant-empty-icon', 'ant-field-label', 'ant-hint-banner', 'ant-icon-button',
13
+ 'ant-info-box', 'ant-install-another-btn', 'ant-option-row', 'ant-option-row--on', 'ant-pill', 'ant-pill--sm',
14
+ 'ant-pill-input', 'ant-pill-input--button', 'ant-pill-menu', 'ant-pill-menu__item', 'ant-pill-menu__item--active', 'ant-radio',
15
+ 'ant-radio--on', 'ant-radio__dot', 'ant-save-bar', 'ant-section', 'ant-section__header', 'ant-section__row',
16
+ 'ant-warning-box', 'b', 'basis-full', 'bg-ant-inset', 'bg-ant-panel', 'bg-ant-surface',
17
+ 'bg-error', 'bg-error/10', 'bg-info', 'bg-primary', 'bg-primary/10', 'bg-primary/4',
18
+ 'bg-primary/5', 'bg-success', 'bg-success/10', 'bg-transparent', 'bg-warning', 'bg-warning/10',
19
+ 'bg-warning/8', 'bg-white', 'bg-white/12', 'block', 'blur', 'border',
20
+ 'border-0', 'border-2', 'border-ant', 'border-b', 'border-dashed', 'border-error',
21
+ 'border-none', 'border-opacity-50', 'border-primary', 'border-t', 'border-transparent', 'border-warning/40',
22
+ 'border-white/20', 'bottom-0', 'capitalize', 'collapse', 'cursor-help', 'cursor-not-allowed',
23
+ 'cursor-pointer', 'disabled:cursor-not-allowed', 'disabled:hover:bg-transparent', 'disabled:opacity-50', 'duration-150', 'duration-200',
24
+ 'ease', 'ease-in', 'ease-out', 'fixed', 'flex', 'flex-1',
25
+ 'flex-col', 'flex-grow-1', 'flex-shrink-0', 'flex-wrap', 'focus-visible:border-primary', 'focus-visible:opacity-100',
26
+ 'focus-visible:outline-2', 'focus-visible:outline-offset-2', 'focus-visible:outline-primary', 'focus-within:border-primary', 'focus-within:ring-3', 'focus:border-error',
27
+ 'focus:border-primary', 'focus:outline-none', 'focus:ring-error/10', 'focus:ring-primary/10', 'font-[inherit]', 'font-medium',
28
+ 'font-mono', 'font-normal', 'font-semibold', 'gap-0.5', 'gap-1', 'gap-1.5',
29
+ 'gap-2', 'gap-3', 'gap-3.5', 'gap-4', 'gap-5', 'gap-8',
30
+ 'gap-[5px]', 'gap-[6px]', 'gap-x-2', 'gap-y-1', 'grayscale', 'grid',
31
+ 'grid-cols-1', 'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'group-hover:bg-primary/4', 'group-hover:border-primary/60',
32
+ 'h-11', 'h-2', 'h-4', 'h-7', 'h-8', 'h-9',
33
+ 'h-9.5', 'h-[18px]', 'h-[22px]', 'h-full', 'hidden', 'hover:bg-ant-hover',
34
+ 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10', 'hover:opacity-100', 'inline',
35
+ 'inline-block', 'inline-flex', 'inset-0', 'italic', 'items-baseline', 'items-center',
36
+ 'items-start', 'items-stretch', 'justify-between', 'justify-center', 'justify-end', 'justify-start',
37
+ 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug', 'leading-tight', 'left-0.5',
38
+ 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'm-0', 'max-h-[88vh]', 'max-w-[180px]',
39
+ 'max-w-[240px]', 'max-w-[280px]', 'max-w-[320px]', 'max-w-[340px]', 'max-w-[380px]', 'mb-1',
40
+ 'mb-2', 'mb-2.5', 'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1',
41
+ 'md:max-w-[420px]', 'md:min-w-[260px]', 'min-h-0', 'min-h-11', 'min-w-0', 'min-w-[140px]',
42
+ 'min-w-[160px]', 'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1',
43
+ 'ml-2', 'mr-1', 'mr-2', 'mr-2.5', 'ms', 'ms-auto',
44
+ 'mt-0', 'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
37
45
  'mt-px', 'my-1', 'object-cover', 'opacity-0', 'opacity-20', 'opacity-30',
38
46
  'opacity-40', 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60', 'opacity-70',
39
- 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5', 'pa-2',
40
- 'pa-3', 'pb-0', 'pb-1', 'pb-2', 'pb-5', 'pl-1',
41
- 'pointer-events-none', 'position-relative', 'pr-1', 'pr-1.5', 'pt-1', 'pt-1.5',
42
- 'pt-2', 'pt-3', 'pt-5', 'px-0', 'px-1.5', 'px-15',
43
- 'px-2', 'px-3', 'px-3.5', 'px-4', 'px-5', 'px-5.5',
44
- 'py-0', 'py-0.5', 'py-1', 'py-1.5', 'py-2', 'py-2.5',
45
- 'py-3', 'py-4', 'py-5', 'py-6', 'relative', 'resize-y',
46
- 'right-0', 'rounded', 'rounded-2xl', 'rounded-[12px]', 'rounded-[20px]', 'rounded-full',
47
- 'rounded-xl', 'select-none', 'shadow', 'shadow-sm', 'shrink-0', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]',
48
- 'tabular-nums', 'text-[10px]', 'text-[11.5px]', 'text-[11px]', 'text-[12.5px]', 'text-[13.5px]',
49
- 'text-[13px]', 'text-black', 'text-body', 'text-center', 'text-error', 'text-heading',
50
- 'text-left', 'text-lg', 'text-muted', 'text-primary', 'text-sm', 'text-truncate',
51
- 'text-warning', 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap', 'text-xs',
52
- 'top-0.5', 'tracking-[0.16em]', 'transition-[border-color]', 'transition-all', 'transition-colors', 'transition-opacity',
47
+ 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5', 'p-5',
48
+ 'pa-2', 'pa-3', 'pb-0', 'pb-1', 'pb-10', 'pb-2',
49
+ 'pb-5', 'pb-6', 'pl-1', 'pointer-events-none', 'position-relative', 'pr-1',
50
+ 'pr-1.5', 'pt-1', 'pt-1.5', 'pt-2', 'pt-3', 'pt-5',
51
+ 'px', 'px-0', 'px-1.5', 'px-15', 'px-2', 'px-3',
52
+ 'px-3.5', 'px-4', 'px-5', 'px-5.5', 'px-6', 'py-0',
53
+ 'py-0.5', 'py-1', 'py-1.5', 'py-2', 'py-2.5', 'py-3',
54
+ 'py-4', 'py-5', 'py-6', 'py-7', 'relative', 'resize',
55
+ 'resize-y', 'right-0', 'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]',
56
+ 'rounded-[20px]', 'rounded-full', 'rounded-xl', 'select-none', 'shadow', 'shadow-sm',
57
+ 'shrink-0', 'sm:grid-cols-2', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]',
58
+ 'text-[11.5px]', 'text-[11px]', 'text-[12.5px]', 'text-[13.5px]', 'text-[13px]', 'text-black',
59
+ 'text-body', 'text-center', 'text-error', 'text-heading', 'text-left', 'text-lg',
60
+ 'text-muted', 'text-primary', 'text-sm', 'text-success', 'text-truncate', 'text-warning',
61
+ 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap', 'text-xs', 'top-0.5',
62
+ 'tracking-[0.16em]', 'transform', 'transition-[border-color]', 'transition-all', 'transition-colors', 'transition-opacity',
53
63
  'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4', 'truncate', 'uppercase',
54
- 'w-2', 'w-4', 'w-[18px]', 'w-[38px]', 'w-full', 'whitespace-normal',
55
- 'whitespace-nowrap',
64
+ 'w-2', 'w-4', 'w-[18px]', 'w-[34%]', 'w-[38px]', 'w-full',
65
+ 'whitespace-normal', 'whitespace-nowrap',
56
66
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antcde/component-library",
3
3
  "type": "module",
4
- "version": "0.1.30",
4
+ "version": "0.1.31-rc.1",
5
5
  "description": "Helper to use ant components in Vue 3",
6
6
  "author": "CollaborAll",
7
7
  "exports": {
@@ -208,8 +208,8 @@
208
208
  "vue-i18n": "^11.4.12"
209
209
  },
210
210
  "devDependencies": {
211
- "@antcde/connect-ts": "0.4.32",
212
- "@antcde/vue-utils": "0.2.27",
211
+ "@antcde/connect-ts": "0.4.33-rc.1",
212
+ "@antcde/vue-utils": "0.2.28-rc.1",
213
213
  "@iconify-json/mdi": "^1.2.3",
214
214
  "@iconify/vue": "^5.0.3",
215
215
  "@intlify/unplugin-vue-i18n": "^11.2.5",