@antcde/component-library 0.1.30-rc.1 → 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.
- package/dist/build/uno.safelist.d.ts +1 -1
- package/dist/build/uno.safelist.js +52 -42
- package/dist/index.js +10767 -9039
- package/dist/types/components/AntNoticeAlert.vue.d.ts +24 -0
- package/dist/types/components/ScriptTrigger/AntDatasetFileSource.vue.d.ts +21 -0
- package/dist/types/components/ScriptTrigger/AntDatasetTableSource.vue.d.ts +16 -0
- package/dist/types/components/ScriptTrigger/AntPayloadFieldsEditor.vue.d.ts +13 -0
- package/dist/types/components/ScriptTrigger/AntRunScriptFields.vue.d.ts +32 -0
- package/dist/types/components/ScriptTrigger/AntTransformScriptFields.vue.d.ts +19 -0
- package/dist/types/components/ScriptTrigger/AntTriggerExecutionUser.vue.d.ts +10 -0
- package/dist/types/components/ScriptTrigger/_DatasetFileColumnList.vue.d.ts +8 -0
- package/dist/types/components/ScriptTrigger/_ScriptVersionPicker.vue.d.ts +10 -0
- package/dist/types/components/ScriptTrigger/composables/useDatasetColumnMapping.d.ts +43 -0
- package/dist/types/components/ScriptTrigger/composables/useDatasetFileColumns.d.ts +51 -0
- package/dist/types/components/ScriptTrigger/composables/useDatasetFileProposal.d.ts +96 -0
- package/dist/types/components/ScriptTrigger/composables/useFieldIssue.d.ts +16 -0
- package/dist/types/components/ScriptTrigger/composables/useScriptSelection.d.ts +68 -0
- package/dist/types/components/ScriptTrigger/composables/useTableColumns.d.ts +30 -0
- package/dist/types/components/ScriptTrigger/composables/useTableSelection.d.ts +221 -0
- package/dist/types/components/ScriptTrigger/context.d.ts +459 -0
- package/dist/types/components/ScriptTrigger/messages/de.json.d.ts +151 -0
- package/dist/types/components/ScriptTrigger/messages/en.json.d.ts +151 -0
- package/dist/types/components/ScriptTrigger/messages/nl.json.d.ts +151 -0
- package/dist/types/components/ScriptTrigger/utils/payloadFields.d.ts +6 -0
- package/dist/types/components/ScriptTrigger/utils/triggerDataset.d.ts +4 -0
- package/dist/types/components/ScriptTrigger/utils/withSavedOption.d.ts +7 -0
- package/dist/types/components/form/AntFilterSelect.vue.d.ts +2 -0
- package/dist/types/components/form/AntSelect.vue.d.ts +4 -0
- package/dist/types/components/form/useMenuSearch.d.ts +12 -0
- package/dist/types/index.d.ts +19 -1
- package/lib/build/genSafelist.mjs +9 -2
- package/lib/build/uno.safelist.ts +52 -42
- 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
|
-
*
|
|
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-
|
|
13
|
-
'ant-
|
|
14
|
-
'ant-
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'
|
|
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', '
|
|
40
|
-
'pa-
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'px
|
|
44
|
-
'
|
|
45
|
-
'py-
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'text-
|
|
51
|
-
'text-
|
|
52
|
-
'
|
|
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-[
|
|
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.
|
|
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.
|
|
212
|
-
"@antcde/vue-utils": "0.2.
|
|
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",
|