wok-ui-ext 0.1.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/LICENSE +21 -0
- package/README.en.md +75 -0
- package/README.md +75 -0
- package/dist/alert/index.d.ts +10 -0
- package/dist/alert/index.js +48 -0
- package/dist/alert/style.css +116 -0
- package/dist/avatar/index.d.ts +9 -0
- package/dist/avatar/index.js +30 -0
- package/dist/avatar/style.css +32 -0
- package/dist/badge/index.d.ts +32 -0
- package/dist/badge/index.js +61 -0
- package/dist/badge/style.css +68 -0
- package/dist/breadcrumb/index.d.ts +25 -0
- package/dist/breadcrumb/index.js +47 -0
- package/dist/breadcrumb/style.css +35 -0
- package/dist/button/index.d.ts +34 -0
- package/dist/button/index.js +57 -0
- package/dist/button/style.css +133 -0
- package/dist/card/index.d.ts +25 -0
- package/dist/card/index.js +29 -0
- package/dist/card/style.css +23 -0
- package/dist/collapse/index.d.ts +89 -0
- package/dist/collapse/index.js +213 -0
- package/dist/collapse/style.css +76 -0
- package/dist/context-menu/context-menu.d.ts +113 -0
- package/dist/context-menu/context-menu.js +150 -0
- package/dist/context-menu/index.d.ts +30 -0
- package/dist/context-menu/index.js +42 -0
- package/dist/context-menu/style.css +46 -0
- package/dist/date-picker/calendar-panel.d.ts +44 -0
- package/dist/date-picker/calendar-panel.js +180 -0
- package/dist/date-picker/date-picker.d.ts +29 -0
- package/dist/date-picker/date-picker.js +81 -0
- package/dist/date-picker/date-utils.d.ts +63 -0
- package/dist/date-picker/date-utils.js +130 -0
- package/dist/date-picker/index.d.ts +7 -0
- package/dist/date-picker/index.js +5 -0
- package/dist/date-picker/layer.d.ts +19 -0
- package/dist/date-picker/layer.js +36 -0
- package/dist/date-picker/range-picker.d.ts +30 -0
- package/dist/date-picker/range-picker.js +117 -0
- package/dist/date-picker/style.css +161 -0
- package/dist/description-list/index.d.ts +37 -0
- package/dist/description-list/index.js +145 -0
- package/dist/description-list/style.css +63 -0
- package/dist/divider/index.d.ts +29 -0
- package/dist/divider/index.js +29 -0
- package/dist/divider/style.css +50 -0
- package/dist/drawer/index.d.ts +51 -0
- package/dist/drawer/index.js +183 -0
- package/dist/drawer/style.css +100 -0
- package/dist/dropdown/index.d.ts +38 -0
- package/dist/dropdown/index.js +97 -0
- package/dist/dropdown/style.css +39 -0
- package/dist/empty/index.d.ts +11 -0
- package/dist/empty/index.js +20 -0
- package/dist/empty/style.css +19 -0
- package/dist/floating-layer/index.d.ts +109 -0
- package/dist/floating-layer/index.js +337 -0
- package/dist/floating-layer/style.css +5 -0
- package/dist/form/form-item/index.d.ts +26 -0
- package/dist/form/form-item/index.js +21 -0
- package/dist/form/form-item/style.css +33 -0
- package/dist/form/form-modal/index.d.ts +18 -0
- package/dist/form/form-modal/index.js +38 -0
- package/dist/form/form.d.ts +21 -0
- package/dist/form/form.js +28 -0
- package/dist/form/index.d.ts +4 -0
- package/dist/form/index.js +4 -0
- package/dist/form/select/index.d.ts +48 -0
- package/dist/form/select/index.js +94 -0
- package/dist/form/select/style.css +29 -0
- package/dist/global.css +71 -0
- package/dist/i18n/de-DE.d.ts +2 -0
- package/dist/i18n/de-DE.js +36 -0
- package/dist/i18n/en-US.d.ts +2 -0
- package/dist/i18n/en-US.js +36 -0
- package/dist/i18n/es-ES.d.ts +2 -0
- package/dist/i18n/es-ES.js +36 -0
- package/dist/i18n/fr-FR.d.ts +2 -0
- package/dist/i18n/fr-FR.js +36 -0
- package/dist/i18n/index.d.ts +12 -0
- package/dist/i18n/index.js +39 -0
- package/dist/i18n/ja-JP.d.ts +2 -0
- package/dist/i18n/ja-JP.js +36 -0
- package/dist/i18n/ko-KR.d.ts +2 -0
- package/dist/i18n/ko-KR.js +36 -0
- package/dist/i18n/messages.d.ts +40 -0
- package/dist/i18n/messages.js +1 -0
- package/dist/i18n/wok-ui/de-DE.d.ts +2 -0
- package/dist/i18n/wok-ui/de-DE.js +20 -0
- package/dist/i18n/wok-ui/es-ES.d.ts +2 -0
- package/dist/i18n/wok-ui/es-ES.js +20 -0
- package/dist/i18n/wok-ui/fr-FR.d.ts +2 -0
- package/dist/i18n/wok-ui/fr-FR.js +20 -0
- package/dist/i18n/wok-ui/ja-JP.d.ts +2 -0
- package/dist/i18n/wok-ui/ja-JP.js +20 -0
- package/dist/i18n/wok-ui/ko-KR.d.ts +2 -0
- package/dist/i18n/wok-ui/ko-KR.js +20 -0
- package/dist/i18n/wok-ui/zh-TW.d.ts +2 -0
- package/dist/i18n/wok-ui/zh-TW.js +20 -0
- package/dist/i18n/zh-CN.d.ts +2 -0
- package/dist/i18n/zh-CN.js +36 -0
- package/dist/i18n/zh-TW.d.ts +2 -0
- package/dist/i18n/zh-TW.js +36 -0
- package/dist/icons.d.ts +88 -0
- package/dist/icons.js +176 -0
- package/dist/image/index.d.ts +38 -0
- package/dist/image/index.js +97 -0
- package/dist/image/style.css +72 -0
- package/dist/image-preview/index.d.ts +26 -0
- package/dist/image-preview/index.js +134 -0
- package/dist/image-preview/style.css +96 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.js +45 -0
- package/dist/list/index.d.ts +32 -0
- package/dist/list/index.js +42 -0
- package/dist/list/list-item.d.ts +27 -0
- package/dist/list/list-item.js +51 -0
- package/dist/list/style.css +20 -0
- package/dist/loading/index.d.ts +10 -0
- package/dist/loading/index.js +46 -0
- package/dist/loading/style.css +48 -0
- package/dist/menu/index.d.ts +38 -0
- package/dist/menu/index.js +62 -0
- package/dist/menu/leaf-item.d.ts +12 -0
- package/dist/menu/leaf-item.js +41 -0
- package/dist/menu/style.css +117 -0
- package/dist/menu/sub-menu.d.ts +21 -0
- package/dist/menu/sub-menu.js +85 -0
- package/dist/menu/types.d.ts +36 -0
- package/dist/menu/types.js +1 -0
- package/dist/menu/utils.d.ts +11 -0
- package/dist/menu/utils.js +24 -0
- package/dist/modal/index.d.ts +23 -0
- package/dist/modal/index.js +79 -0
- package/dist/modal/modal.d.ts +76 -0
- package/dist/modal/modal.js +188 -0
- package/dist/modal/style.css +90 -0
- package/dist/pagination/index.d.ts +31 -0
- package/dist/pagination/index.js +215 -0
- package/dist/pagination/style.css +50 -0
- package/dist/popconfirm/api.d.ts +43 -0
- package/dist/popconfirm/api.js +77 -0
- package/dist/popconfirm/component.d.ts +47 -0
- package/dist/popconfirm/component.js +48 -0
- package/dist/popconfirm/index.d.ts +3 -0
- package/dist/popconfirm/index.js +3 -0
- package/dist/popconfirm/style.css +22 -0
- package/dist/popover/api.d.ts +36 -0
- package/dist/popover/api.js +61 -0
- package/dist/popover/component.d.ts +38 -0
- package/dist/popover/component.js +51 -0
- package/dist/popover/index.d.ts +3 -0
- package/dist/popover/index.js +3 -0
- package/dist/popover/style.css +102 -0
- package/dist/progress/index.d.ts +34 -0
- package/dist/progress/index.js +70 -0
- package/dist/progress/style.css +37 -0
- package/dist/quick-input/index.d.ts +2 -0
- package/dist/quick-input/index.js +2 -0
- package/dist/quick-input/number.d.ts +35 -0
- package/dist/quick-input/number.js +68 -0
- package/dist/quick-input/text.d.ts +20 -0
- package/dist/quick-input/text.js +61 -0
- package/dist/result/index.d.ts +39 -0
- package/dist/result/index.js +71 -0
- package/dist/result/style.css +41 -0
- package/dist/search-box/index.d.ts +26 -0
- package/dist/search-box/index.js +60 -0
- package/dist/search-box/style.css +22 -0
- package/dist/segmented/index.d.ts +42 -0
- package/dist/segmented/index.js +61 -0
- package/dist/segmented/style.css +28 -0
- package/dist/skeleton/index.d.ts +22 -0
- package/dist/skeleton/index.js +68 -0
- package/dist/skeleton/style.css +31 -0
- package/dist/steps/index.d.ts +46 -0
- package/dist/steps/index.js +95 -0
- package/dist/steps/style.css +181 -0
- package/dist/switch/index.d.ts +32 -0
- package/dist/switch/index.js +74 -0
- package/dist/switch/style.css +52 -0
- package/dist/table/body.d.ts +21 -0
- package/dist/table/body.js +35 -0
- package/dist/table/column.d.ts +78 -0
- package/dist/table/column.js +113 -0
- package/dist/table/header.d.ts +13 -0
- package/dist/table/header.js +15 -0
- package/dist/table/index.d.ts +41 -0
- package/dist/table/index.js +84 -0
- package/dist/table/row.d.ts +25 -0
- package/dist/table/row.js +74 -0
- package/dist/table/style.css +98 -0
- package/dist/tabs/index.d.ts +49 -0
- package/dist/tabs/index.js +76 -0
- package/dist/tabs/style.css +41 -0
- package/dist/tag/index.d.ts +53 -0
- package/dist/tag/index.js +100 -0
- package/dist/tag/style.css +134 -0
- package/dist/text/index.d.ts +104 -0
- package/dist/text/index.js +143 -0
- package/dist/text/style.css +113 -0
- package/dist/theme/index.d.ts +14 -0
- package/dist/theme/index.js +94 -0
- package/dist/theme/themes.d.ts +3 -0
- package/dist/theme/themes.js +323 -0
- package/dist/theme/types.d.ts +58 -0
- package/dist/theme/types.js +1 -0
- package/dist/timeline/index.d.ts +28 -0
- package/dist/timeline/index.js +35 -0
- package/dist/timeline/style.css +53 -0
- package/dist/toast/index.d.ts +53 -0
- package/dist/toast/index.js +131 -0
- package/dist/toast/style.css +76 -0
- package/dist/tooltip/api.d.ts +44 -0
- package/dist/tooltip/api.js +103 -0
- package/dist/tooltip/component.d.ts +28 -0
- package/dist/tooltip/component.js +35 -0
- package/dist/tooltip/index.d.ts +3 -0
- package/dist/tooltip/index.js +3 -0
- package/dist/tooltip/style.css +46 -0
- package/dist/tree/dragging-img.d.ts +13 -0
- package/dist/tree/dragging-img.js +23 -0
- package/dist/tree/index.d.ts +180 -0
- package/dist/tree/index.js +385 -0
- package/dist/tree/node-info.d.ts +63 -0
- package/dist/tree/node-info.js +128 -0
- package/dist/tree/node.d.ts +132 -0
- package/dist/tree/node.js +264 -0
- package/dist/tree/style.css +99 -0
- package/dist/upload/index.d.ts +48 -0
- package/dist/upload/index.js +141 -0
- package/dist/upload/style.css +41 -0
- package/package.json +51 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const jaJP = {
|
|
2
|
+
'alert-warning': '警告',
|
|
3
|
+
'alert-ok': 'OK',
|
|
4
|
+
'empty-text': 'データがありません',
|
|
5
|
+
'file-picker-max-size': 'ファイル {} のサイズが {} を超えています',
|
|
6
|
+
'form-modal-confirm': '確認',
|
|
7
|
+
'img-picker-crop': '画像を切り抜く',
|
|
8
|
+
'img-picker-cancel': 'キャンセル',
|
|
9
|
+
'img-picker-confirm': '確認',
|
|
10
|
+
'img-picker-format-error': '画像ファイルのみ選択可能です',
|
|
11
|
+
'img-picker-crop-failed': '切り抜きに失敗しました',
|
|
12
|
+
'loading-text': '読み込み中...',
|
|
13
|
+
'modal-confirm': '確認',
|
|
14
|
+
'modal-cancel': 'キャンセル',
|
|
15
|
+
'modal-warning': '警告',
|
|
16
|
+
'modal-close': '閉じる',
|
|
17
|
+
'pagination-total': '全 {} 件',
|
|
18
|
+
'pagination-prev-page': '前のページ',
|
|
19
|
+
'pagination-next-page': '次のページ',
|
|
20
|
+
'pagination-page': '{} ページ',
|
|
21
|
+
'pagination-simple-format': '{} / {}',
|
|
22
|
+
'search-box-placeholder': '検索',
|
|
23
|
+
'table-empty': 'データがありません',
|
|
24
|
+
'toast-close': '閉じる',
|
|
25
|
+
'tree-max-selected': '最大 {} 個まで選択できます',
|
|
26
|
+
'tree-max-level': '階層は {} を超えられません',
|
|
27
|
+
'upload-hint': 'クリックまたはドラッグしてファイルをアップロード',
|
|
28
|
+
'upload-hint-secondary': '',
|
|
29
|
+
'upload-max-size': 'ファイル {} のサイズが {} を超えています',
|
|
30
|
+
'upload-max-count': '最大 {} 個のファイルまで選択できます',
|
|
31
|
+
'upload-before-upload-rejected': 'アップロード前の検証に失敗しました',
|
|
32
|
+
'upload-type-not-allowed': 'ファイル {} のタイプはサポートされていません',
|
|
33
|
+
'upload-size-b': '{} B',
|
|
34
|
+
'upload-size-kb': '{} KB',
|
|
35
|
+
'upload-size-mb': '{} MB'
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const koKR = {
|
|
2
|
+
'alert-warning': '경고',
|
|
3
|
+
'alert-ok': '확인',
|
|
4
|
+
'empty-text': '데이터가 없습니다',
|
|
5
|
+
'file-picker-max-size': '파일 {} 크기가 {}를 초과했습니다',
|
|
6
|
+
'form-modal-confirm': '확인',
|
|
7
|
+
'img-picker-crop': '이미지 자르기',
|
|
8
|
+
'img-picker-cancel': '취소',
|
|
9
|
+
'img-picker-confirm': '확인',
|
|
10
|
+
'img-picker-format-error': '이미지 파일만 선택할 수 있습니다',
|
|
11
|
+
'img-picker-crop-failed': '자르기 실패',
|
|
12
|
+
'loading-text': '로딩 중...',
|
|
13
|
+
'modal-confirm': '확인',
|
|
14
|
+
'modal-cancel': '취소',
|
|
15
|
+
'modal-warning': '경고',
|
|
16
|
+
'modal-close': '닫기',
|
|
17
|
+
'pagination-total': '총 {} 개',
|
|
18
|
+
'pagination-prev-page': '이전 페이지',
|
|
19
|
+
'pagination-next-page': '다음 페이지',
|
|
20
|
+
'pagination-page': '{} 페이지',
|
|
21
|
+
'pagination-simple-format': '{} / {}',
|
|
22
|
+
'search-box-placeholder': '검색',
|
|
23
|
+
'table-empty': '내용이 없습니다',
|
|
24
|
+
'toast-close': '닫기',
|
|
25
|
+
'tree-max-selected': '최대 {} 개까지 선택할 수 있습니다',
|
|
26
|
+
'tree-max-level': '계층은 {}을(를) 초과할 수 없습니다',
|
|
27
|
+
'upload-hint': '클릭하거나 파일을 끌어서 업로드',
|
|
28
|
+
'upload-hint-secondary': '',
|
|
29
|
+
'upload-max-size': '파일 {} 크기가 {}를 초과했습니다',
|
|
30
|
+
'upload-max-count': '최대 {} 개의 파일까지 선택할 수 있습니다',
|
|
31
|
+
'upload-before-upload-rejected': '업로드 전 검증에 실패했습니다',
|
|
32
|
+
'upload-type-not-allowed': '파일 {} 유형은 지원되지 않습니다',
|
|
33
|
+
'upload-size-b': '{} B',
|
|
34
|
+
'upload-size-kb': '{} KB',
|
|
35
|
+
'upload-size-mb': '{} MB'
|
|
36
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* wok-ui-ext 扩展国际化消息定义。
|
|
3
|
+
* 使用方可以通过 extend 机制继续扩展这些消息。
|
|
4
|
+
*/
|
|
5
|
+
export interface WokUiExtI18nMessages {
|
|
6
|
+
'alert-warning': string;
|
|
7
|
+
'alert-ok': string;
|
|
8
|
+
'empty-text': string;
|
|
9
|
+
'file-picker-max-size': string;
|
|
10
|
+
'form-modal-confirm': string;
|
|
11
|
+
'img-picker-crop': string;
|
|
12
|
+
'img-picker-cancel': string;
|
|
13
|
+
'img-picker-confirm': string;
|
|
14
|
+
'img-picker-format-error': string;
|
|
15
|
+
'img-picker-crop-failed': string;
|
|
16
|
+
'loading-text': string;
|
|
17
|
+
'modal-confirm': string;
|
|
18
|
+
'modal-cancel': string;
|
|
19
|
+
'modal-warning': string;
|
|
20
|
+
'modal-close': string;
|
|
21
|
+
'pagination-total': string;
|
|
22
|
+
'pagination-prev-page': string;
|
|
23
|
+
'pagination-next-page': string;
|
|
24
|
+
'pagination-page': string;
|
|
25
|
+
'pagination-simple-format': string;
|
|
26
|
+
'search-box-placeholder': string;
|
|
27
|
+
'table-empty': string;
|
|
28
|
+
'toast-close': string;
|
|
29
|
+
'tree-max-selected': string;
|
|
30
|
+
'tree-max-level': string;
|
|
31
|
+
'upload-hint': string;
|
|
32
|
+
'upload-hint-secondary': string;
|
|
33
|
+
'upload-max-size': string;
|
|
34
|
+
'upload-max-count': string;
|
|
35
|
+
'upload-before-upload-rejected': string;
|
|
36
|
+
'upload-type-not-allowed': string;
|
|
37
|
+
'upload-size-b': string;
|
|
38
|
+
'upload-size-kb': string;
|
|
39
|
+
'upload-size-mb': string;
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const deDE = {
|
|
2
|
+
cancel: 'Abbrechen',
|
|
3
|
+
confirm: 'OK',
|
|
4
|
+
information: 'Information',
|
|
5
|
+
confirmation: 'Bestätigung',
|
|
6
|
+
'choose-file': 'Datei auswählen',
|
|
7
|
+
'form-err-required': 'Dieses Feld ist erforderlich',
|
|
8
|
+
'form-err-must-check': 'Bitte aktivieren Sie dieses Kontrollkästchen',
|
|
9
|
+
'form-err-number': 'Bitte geben Sie eine Zahl ein',
|
|
10
|
+
'form-err-min': 'Darf nicht kleiner als {} sein',
|
|
11
|
+
'form-err-max': 'Darf nicht größer als {} sein',
|
|
12
|
+
'form-err-max-select': 'Sie können maximal {} Optionen auswählen',
|
|
13
|
+
'form-err-min-select': 'Bitte wählen Sie mindestens {} Optionen aus',
|
|
14
|
+
'form-err-max-length': 'Sie können maximal {} Zeichen eingeben',
|
|
15
|
+
'form-err-min-length': 'Bitte geben Sie mindestens {} Zeichen ein',
|
|
16
|
+
'form-err-min-size': 'Die Dateigröße muss größer als {} sein',
|
|
17
|
+
'form-err-max-size': 'Die Dateigröße darf {} nicht überschreiten',
|
|
18
|
+
'form-err-max-files-select': 'Sie können maximal {} Dateien auswählen',
|
|
19
|
+
'form-err-min-files-select': 'Bitte wählen Sie mindestens {} Dateien aus'
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const esES = {
|
|
2
|
+
cancel: 'Cancelar',
|
|
3
|
+
confirm: 'Aceptar',
|
|
4
|
+
information: 'Información',
|
|
5
|
+
confirmation: 'Confirmación',
|
|
6
|
+
'choose-file': 'Seleccionar archivo',
|
|
7
|
+
'form-err-required': 'Complete este campo',
|
|
8
|
+
'form-err-must-check': 'Marque esta casilla',
|
|
9
|
+
'form-err-number': 'Ingrese un número',
|
|
10
|
+
'form-err-min': 'No debe ser inferior a {}',
|
|
11
|
+
'form-err-max': 'No debe ser superior a {}',
|
|
12
|
+
'form-err-max-select': 'Puede seleccionar como máximo {} opciones',
|
|
13
|
+
'form-err-min-select': 'Seleccione al menos {} opciones',
|
|
14
|
+
'form-err-max-length': 'Puede ingresar como máximo {} caracteres',
|
|
15
|
+
'form-err-min-length': 'Ingrese al menos {} caracteres',
|
|
16
|
+
'form-err-min-size': 'El tamaño del archivo debe ser mayor que {}',
|
|
17
|
+
'form-err-max-size': 'El tamaño del archivo no debe exceder {}',
|
|
18
|
+
'form-err-max-files-select': 'Puede seleccionar como máximo {} archivos',
|
|
19
|
+
'form-err-min-files-select': 'Seleccione al menos {} archivos'
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const frFR = {
|
|
2
|
+
cancel: 'Annuler',
|
|
3
|
+
confirm: 'OK',
|
|
4
|
+
information: 'Information',
|
|
5
|
+
confirmation: 'Confirmation',
|
|
6
|
+
'choose-file': 'Choisir un fichier',
|
|
7
|
+
'form-err-required': 'Veuillez remplir ce champ',
|
|
8
|
+
'form-err-must-check': 'Veuillez cocher cette case',
|
|
9
|
+
'form-err-number': 'Veuillez saisir un nombre',
|
|
10
|
+
'form-err-min': 'Ne doit pas être inférieur à {}',
|
|
11
|
+
'form-err-max': 'Ne doit pas dépasser {}',
|
|
12
|
+
'form-err-max-select': 'Vous pouvez sélectionner au maximum {} options',
|
|
13
|
+
'form-err-min-select': 'Veuillez sélectionner au moins {} options',
|
|
14
|
+
'form-err-max-length': 'Vous pouvez saisir au maximum {} caractères',
|
|
15
|
+
'form-err-min-length': 'Veuillez saisir au moins {} caractères',
|
|
16
|
+
'form-err-min-size': 'La taille du fichier doit être supérieure à {}',
|
|
17
|
+
'form-err-max-size': 'La taille du fichier ne doit pas dépasser {}',
|
|
18
|
+
'form-err-max-files-select': 'Vous pouvez sélectionner au maximum {} fichiers',
|
|
19
|
+
'form-err-min-files-select': 'Veuillez sélectionner au moins {} fichiers'
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const jaJP = {
|
|
2
|
+
cancel: 'キャンセル',
|
|
3
|
+
confirm: 'OK',
|
|
4
|
+
information: '情報',
|
|
5
|
+
confirmation: '確認',
|
|
6
|
+
'choose-file': 'ファイルを選択',
|
|
7
|
+
'form-err-required': 'この項目は必須です',
|
|
8
|
+
'form-err-must-check': 'この項目にチェックしてください',
|
|
9
|
+
'form-err-number': '数字を入力してください',
|
|
10
|
+
'form-err-min': '{} 以上である必要があります',
|
|
11
|
+
'form-err-max': '{} 以下である必要があります',
|
|
12
|
+
'form-err-max-select': '最大 {} つまで選択できます',
|
|
13
|
+
'form-err-min-select': '少なくとも {} つ選択してください',
|
|
14
|
+
'form-err-max-length': '最大 {} 文字まで入力できます',
|
|
15
|
+
'form-err-min-length': '少なくとも {} 文字入力してください',
|
|
16
|
+
'form-err-min-size': 'ファイルサイズは {} 以上である必要があります',
|
|
17
|
+
'form-err-max-size': 'ファイルサイズは {} を超えてはいけません',
|
|
18
|
+
'form-err-max-files-select': '最大 {} 個のファイルまで選択できます',
|
|
19
|
+
'form-err-min-files-select': '少なくとも {} 個のファイルを選択してください'
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const koKR = {
|
|
2
|
+
cancel: '취소',
|
|
3
|
+
confirm: '확인',
|
|
4
|
+
information: '정보',
|
|
5
|
+
confirmation: '확인',
|
|
6
|
+
'choose-file': '파일 선택',
|
|
7
|
+
'form-err-required': '이 항목을 입력해 주세요',
|
|
8
|
+
'form-err-must-check': '이 항목을 체크해 주세요',
|
|
9
|
+
'form-err-number': '숫자를 입력해 주세요',
|
|
10
|
+
'form-err-min': '{} 이상이어야 합니다',
|
|
11
|
+
'form-err-max': '{} 이하여야 합니다',
|
|
12
|
+
'form-err-max-select': '최대 {} 개까지 선택할 수 있습니다',
|
|
13
|
+
'form-err-min-select': '최소 {} 개 이상 선택해 주세요',
|
|
14
|
+
'form-err-max-length': '최대 {} 자까지 입력할 수 있습니다',
|
|
15
|
+
'form-err-min-length': '최소 {} 자 이상 입력해 주세요',
|
|
16
|
+
'form-err-min-size': '파일 크기는 {} 이상이어야 합니다',
|
|
17
|
+
'form-err-max-size': '파일 크기는 {} 를 초과할 수 없습니다',
|
|
18
|
+
'form-err-max-files-select': '최대 {} 개의 파일까지 선택할 수 있습니다',
|
|
19
|
+
'form-err-min-files-select': '최소 {} 개의 파일을 선택해 주세요'
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const zhTW = {
|
|
2
|
+
cancel: '取消',
|
|
3
|
+
confirm: '確定',
|
|
4
|
+
information: '提示信息',
|
|
5
|
+
confirmation: '請確認',
|
|
6
|
+
'choose-file': '請選擇文件',
|
|
7
|
+
'form-err-required': '請填寫此項',
|
|
8
|
+
'form-err-must-check': '必須勾選此項',
|
|
9
|
+
'form-err-number': '請輸入一個數字',
|
|
10
|
+
'form-err-min': '不得小於 {}',
|
|
11
|
+
'form-err-max': '不得大於 {}',
|
|
12
|
+
'form-err-max-select': '最多可以選擇 {} 個選項',
|
|
13
|
+
'form-err-min-select': '請至少選擇 {} 個選項',
|
|
14
|
+
'form-err-max-length': '最多可以填寫 {} 個字元',
|
|
15
|
+
'form-err-min-length': '請填寫至少 {} 個字元',
|
|
16
|
+
'form-err-min-size': '文件大小不得小於 {}',
|
|
17
|
+
'form-err-max-size': '文件大小不得大於 {}',
|
|
18
|
+
'form-err-max-files-select': '最多可以選擇 {} 個文件',
|
|
19
|
+
'form-err-min-files-select': '請至少選擇 {} 個文件'
|
|
20
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const zhCN = {
|
|
2
|
+
'alert-warning': '警告',
|
|
3
|
+
'alert-ok': '确定',
|
|
4
|
+
'empty-text': '暂无数据,请稍后重试',
|
|
5
|
+
'file-picker-max-size': '文件 {} 大小超过 {}',
|
|
6
|
+
'form-modal-confirm': '确定',
|
|
7
|
+
'img-picker-crop': '裁剪图片',
|
|
8
|
+
'img-picker-cancel': '取消',
|
|
9
|
+
'img-picker-confirm': '确定',
|
|
10
|
+
'img-picker-format-error': '只能选择图片文件',
|
|
11
|
+
'img-picker-crop-failed': '裁剪失败',
|
|
12
|
+
'loading-text': '加载中...',
|
|
13
|
+
'modal-confirm': '确认',
|
|
14
|
+
'modal-cancel': '取消',
|
|
15
|
+
'modal-warning': '警告',
|
|
16
|
+
'modal-close': '关闭',
|
|
17
|
+
'pagination-total': '共 {} 条',
|
|
18
|
+
'pagination-prev-page': '上一页',
|
|
19
|
+
'pagination-next-page': '下一页',
|
|
20
|
+
'pagination-page': '第 {} 页',
|
|
21
|
+
'pagination-simple-format': '{} / {}',
|
|
22
|
+
'search-box-placeholder': '搜索',
|
|
23
|
+
'table-empty': '暂无内容',
|
|
24
|
+
'toast-close': '关闭',
|
|
25
|
+
'tree-max-selected': '最多只能选择 {} 个',
|
|
26
|
+
'tree-max-level': '层级不得超过 {}',
|
|
27
|
+
'upload-hint': '点击或拖拽文件上传',
|
|
28
|
+
'upload-hint-secondary': '',
|
|
29
|
+
'upload-max-size': '文件 {} 大小超过 {}',
|
|
30
|
+
'upload-max-count': '最多只能选择 {} 个文件',
|
|
31
|
+
'upload-before-upload-rejected': '上传前校验未通过',
|
|
32
|
+
'upload-type-not-allowed': '文件 {} 类型不支持',
|
|
33
|
+
'upload-size-b': '{} B',
|
|
34
|
+
'upload-size-kb': '{} KB',
|
|
35
|
+
'upload-size-mb': '{} MB'
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const zhTW = {
|
|
2
|
+
'alert-warning': '警告',
|
|
3
|
+
'alert-ok': '確定',
|
|
4
|
+
'empty-text': '暫無數據,請稍後重試',
|
|
5
|
+
'file-picker-max-size': '檔案 {} 大小超過 {}',
|
|
6
|
+
'form-modal-confirm': '確定',
|
|
7
|
+
'img-picker-crop': '裁剪圖片',
|
|
8
|
+
'img-picker-cancel': '取消',
|
|
9
|
+
'img-picker-confirm': '確定',
|
|
10
|
+
'img-picker-format-error': '只能選擇圖片檔案',
|
|
11
|
+
'img-picker-crop-failed': '裁剪失敗',
|
|
12
|
+
'loading-text': '載入中...',
|
|
13
|
+
'modal-confirm': '確定',
|
|
14
|
+
'modal-cancel': '取消',
|
|
15
|
+
'modal-warning': '警告',
|
|
16
|
+
'modal-close': '關閉',
|
|
17
|
+
'pagination-total': '共 {} 條',
|
|
18
|
+
'pagination-prev-page': '上一頁',
|
|
19
|
+
'pagination-next-page': '下一頁',
|
|
20
|
+
'pagination-page': '第 {} 頁',
|
|
21
|
+
'pagination-simple-format': '{} / {}',
|
|
22
|
+
'search-box-placeholder': '搜尋',
|
|
23
|
+
'table-empty': '暫無內容',
|
|
24
|
+
'toast-close': '關閉',
|
|
25
|
+
'tree-max-selected': '最多只能選擇 {} 個',
|
|
26
|
+
'tree-max-level': '層級不得超過 {}',
|
|
27
|
+
'upload-hint': '點擊或拖拽檔案上傳',
|
|
28
|
+
'upload-hint-secondary': '',
|
|
29
|
+
'upload-max-size': '檔案 {} 大小超過 {}',
|
|
30
|
+
'upload-max-count': '最多只能選擇 {} 個檔案',
|
|
31
|
+
'upload-before-upload-rejected': '上傳前校驗未通過',
|
|
32
|
+
'upload-type-not-allowed': '檔案 {} 類型不支援',
|
|
33
|
+
'upload-size-b': '{} B',
|
|
34
|
+
'upload-size-kb': '{} KB',
|
|
35
|
+
'upload-size-mb': '{} MB'
|
|
36
|
+
};
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { SvgIcon, RemoteSvgIcon, ConvertibleModule } from 'wok-ui';
|
|
2
|
+
/**
|
|
3
|
+
* 图标输入类型。
|
|
4
|
+
* 组件接收图标时统一使用此类型,支持:
|
|
5
|
+
* - `SvgIcon` / `RemoteSvgIcon` 实例:已有封装好的图标
|
|
6
|
+
* - `string`:CSS class 字符串(如 `"fa fa-user"`)、内联 SVG 标记(如 `<svg>...</svg>`)、或图片 URL
|
|
7
|
+
*/
|
|
8
|
+
export type IconInput = SvgIcon | RemoteSvgIcon | string;
|
|
9
|
+
/**
|
|
10
|
+
* 将图标输入解析为可挂载的模块类型。
|
|
11
|
+
* - SvgIcon / RemoteSvgIcon 实例:直接返回
|
|
12
|
+
* - 以 `<svg` 开头的字符串:创建 SvgIcon 实例
|
|
13
|
+
* - 以 `http://`、`https://`、`/`、`data:` 开头的字符串:返回 `<img>` 元素配置
|
|
14
|
+
* - 其他字符串:返回 `<i class="xxx">` 元素配置
|
|
15
|
+
*/
|
|
16
|
+
export declare function resolveIcon(icon: IconInput): ConvertibleModule;
|
|
17
|
+
export declare class IconTimes extends SvgIcon {
|
|
18
|
+
constructor();
|
|
19
|
+
}
|
|
20
|
+
export declare class IconSearch extends SvgIcon {
|
|
21
|
+
constructor();
|
|
22
|
+
}
|
|
23
|
+
export declare class IconChevronLeft extends SvgIcon {
|
|
24
|
+
constructor();
|
|
25
|
+
}
|
|
26
|
+
export declare class IconChevronRight extends SvgIcon {
|
|
27
|
+
constructor();
|
|
28
|
+
}
|
|
29
|
+
export declare class IconChevronDown extends SvgIcon {
|
|
30
|
+
constructor();
|
|
31
|
+
}
|
|
32
|
+
export declare class IconInfoCircle extends SvgIcon {
|
|
33
|
+
constructor();
|
|
34
|
+
}
|
|
35
|
+
export declare class IconCheckCircle extends SvgIcon {
|
|
36
|
+
constructor();
|
|
37
|
+
}
|
|
38
|
+
export declare class IconExclamationCircle extends SvgIcon {
|
|
39
|
+
constructor();
|
|
40
|
+
}
|
|
41
|
+
export declare class IconExclamationTriangle extends SvgIcon {
|
|
42
|
+
constructor();
|
|
43
|
+
}
|
|
44
|
+
export declare class IconTimesCircle extends SvgIcon {
|
|
45
|
+
constructor();
|
|
46
|
+
}
|
|
47
|
+
export declare class IconQuestionCircle extends SvgIcon {
|
|
48
|
+
constructor();
|
|
49
|
+
}
|
|
50
|
+
export declare class IconEdit extends SvgIcon {
|
|
51
|
+
constructor();
|
|
52
|
+
}
|
|
53
|
+
export declare class IconTag extends SvgIcon {
|
|
54
|
+
constructor();
|
|
55
|
+
}
|
|
56
|
+
export declare class IconEllipsisH extends SvgIcon {
|
|
57
|
+
constructor();
|
|
58
|
+
}
|
|
59
|
+
export declare class IconUser extends SvgIcon {
|
|
60
|
+
constructor();
|
|
61
|
+
}
|
|
62
|
+
export declare class IconInbox extends SvgIcon {
|
|
63
|
+
constructor();
|
|
64
|
+
}
|
|
65
|
+
export declare class IconFolderOpen extends SvgIcon {
|
|
66
|
+
constructor();
|
|
67
|
+
}
|
|
68
|
+
export declare class IconFolder extends SvgIcon {
|
|
69
|
+
constructor();
|
|
70
|
+
}
|
|
71
|
+
export declare class IconLock extends SvgIcon {
|
|
72
|
+
constructor();
|
|
73
|
+
}
|
|
74
|
+
export declare class IconAngleRight extends SvgIcon {
|
|
75
|
+
constructor();
|
|
76
|
+
}
|
|
77
|
+
export declare class IconCloudUpload extends SvgIcon {
|
|
78
|
+
constructor();
|
|
79
|
+
}
|
|
80
|
+
export declare class IconImage extends SvgIcon {
|
|
81
|
+
constructor();
|
|
82
|
+
}
|
|
83
|
+
export declare class IconBell extends SvgIcon {
|
|
84
|
+
constructor();
|
|
85
|
+
}
|
|
86
|
+
export declare class IconCircleNotch extends SvgIcon {
|
|
87
|
+
constructor();
|
|
88
|
+
}
|
package/dist/icons.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { SvgIcon, RemoteSvgIcon } from 'wok-ui';
|
|
2
|
+
/**
|
|
3
|
+
* 将图标输入解析为可挂载的模块类型。
|
|
4
|
+
* - SvgIcon / RemoteSvgIcon 实例:直接返回
|
|
5
|
+
* - 以 `<svg` 开头的字符串:创建 SvgIcon 实例
|
|
6
|
+
* - 以 `http://`、`https://`、`/`、`data:` 开头的字符串:返回 `<img>` 元素配置
|
|
7
|
+
* - 其他字符串:返回 `<i class="xxx">` 元素配置
|
|
8
|
+
*/
|
|
9
|
+
export function resolveIcon(icon) {
|
|
10
|
+
if (icon instanceof SvgIcon || icon instanceof RemoteSvgIcon) {
|
|
11
|
+
return icon;
|
|
12
|
+
}
|
|
13
|
+
if (typeof icon === 'string') {
|
|
14
|
+
if (icon.startsWith('<svg')) {
|
|
15
|
+
return new SvgIcon(icon);
|
|
16
|
+
}
|
|
17
|
+
if (icon.startsWith('http://') ||
|
|
18
|
+
icon.startsWith('https://') ||
|
|
19
|
+
icon.startsWith('/') ||
|
|
20
|
+
icon.startsWith('data:')) {
|
|
21
|
+
return { tag: 'img', attrs: { src: icon, alt: '' } };
|
|
22
|
+
}
|
|
23
|
+
return { tag: 'i', classNames: icon };
|
|
24
|
+
}
|
|
25
|
+
return icon;
|
|
26
|
+
}
|
|
27
|
+
// ===== 可实例化的图标类(推荐用法) =====
|
|
28
|
+
// 每次 new 创建独立实例,避免多组件复用时 "已存在父模块" 错误
|
|
29
|
+
export class IconTimes extends SvgIcon {
|
|
30
|
+
constructor() {
|
|
31
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class IconSearch extends SvgIcon {
|
|
35
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
36
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
37
|
+
constructor() {
|
|
38
|
+
super('<svg viewBox="0 0 512 512" fill="currentColor"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/></svg>');
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class IconChevronLeft extends SvgIcon {
|
|
42
|
+
constructor() {
|
|
43
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"></polyline></svg>');
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
export class IconChevronRight extends SvgIcon {
|
|
47
|
+
constructor() {
|
|
48
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>');
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export class IconChevronDown extends SvgIcon {
|
|
52
|
+
constructor() {
|
|
53
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export class IconInfoCircle extends SvgIcon {
|
|
57
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
58
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
59
|
+
constructor() {
|
|
60
|
+
super('<svg viewBox="0 0 512 512" fill="currentColor"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"/></svg>');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export class IconCheckCircle extends SvgIcon {
|
|
64
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
65
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
66
|
+
constructor() {
|
|
67
|
+
super('<svg viewBox="0 0 512 512" fill="currentColor"><path d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"/></svg>');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export class IconExclamationCircle extends SvgIcon {
|
|
71
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
72
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
73
|
+
constructor() {
|
|
74
|
+
super('<svg viewBox="0 0 576 512" fill="currentColor"><path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/></svg>');
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export class IconExclamationTriangle extends SvgIcon {
|
|
78
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
79
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
80
|
+
constructor() {
|
|
81
|
+
super('<svg viewBox="0 0 576 512" fill="currentColor"><path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/></svg>');
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
export class IconTimesCircle extends SvgIcon {
|
|
85
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
86
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
87
|
+
constructor() {
|
|
88
|
+
super('<svg viewBox="0 0 512 512" fill="currentColor"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"/></svg>');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
export class IconQuestionCircle extends SvgIcon {
|
|
92
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
93
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
94
|
+
constructor() {
|
|
95
|
+
super('<svg viewBox="0 0 512 512" fill="currentColor"><path d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"/></svg>');
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class IconEdit extends SvgIcon {
|
|
99
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
100
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
101
|
+
constructor() {
|
|
102
|
+
super('<svg viewBox="0 0 576 512" fill="currentColor"><path d="M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z"/></svg>');
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export class IconTag extends SvgIcon {
|
|
106
|
+
constructor() {
|
|
107
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line></svg>');
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class IconEllipsisH extends SvgIcon {
|
|
111
|
+
constructor() {
|
|
112
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg>');
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export class IconUser extends SvgIcon {
|
|
116
|
+
constructor() {
|
|
117
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
export class IconInbox extends SvgIcon {
|
|
121
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
122
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
123
|
+
constructor() {
|
|
124
|
+
super('<svg viewBox="0 0 576 512" fill="currentColor"><path d="M567.938 243.908L462.25 85.374A48.003 48.003 0 0 0 422.311 64H153.689a48 48 0 0 0-39.938 21.374L8.062 243.908A47.994 47.994 0 0 0 0 270.533V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V270.533a47.994 47.994 0 0 0-8.062-26.625zM162.252 128h251.497l85.333 128H376l-32 64H232l-32-64H76.918l85.334-128z"/></svg>');
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
export class IconFolderOpen extends SvgIcon {
|
|
128
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
129
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
130
|
+
constructor() {
|
|
131
|
+
super('<svg viewBox="0 0 576 512" fill="currentColor"><path d="M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z"/></svg>');
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export class IconFolder extends SvgIcon {
|
|
135
|
+
constructor() {
|
|
136
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path></svg>');
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
export class IconLock extends SvgIcon {
|
|
140
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
141
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
142
|
+
constructor() {
|
|
143
|
+
super('<svg viewBox="0 0 448 512" fill="currentColor"><path d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"/></svg>');
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class IconAngleRight extends SvgIcon {
|
|
147
|
+
constructor() {
|
|
148
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>');
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
export class IconCloudUpload extends SvgIcon {
|
|
152
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
153
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
154
|
+
constructor() {
|
|
155
|
+
super('<svg viewBox="0 0 640 512" fill="currentColor"><path d="M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z"/></svg>');
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
export class IconImage extends SvgIcon {
|
|
159
|
+
constructor() {
|
|
160
|
+
super('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg>');
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
export class IconBell extends SvgIcon {
|
|
164
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
165
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
166
|
+
constructor() {
|
|
167
|
+
super('<svg viewBox="0 0 448 512" fill="currentColor"><path d="M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"/></svg>');
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export class IconCircleNotch extends SvgIcon {
|
|
171
|
+
// Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
172
|
+
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
173
|
+
constructor() {
|
|
174
|
+
super('<svg viewBox="0 0 512 512" fill="currentColor"><path d="M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"/></svg>');
|
|
175
|
+
}
|
|
176
|
+
}
|