@fewangsit/wangsvue-fats 1.0.0-alpha.20 → 1.0.0-alpha.22
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/event-bus/mitt.d.ts +25 -7
- package/package.json +1 -1
- package/plugins/WangsVue.d.ts +184 -16
- package/plugins/formValidation.d.ts +11 -2
- package/plugins/i18n.d.ts +23 -5
- package/utils/addAttachment.util.d.ts +18 -2
- package/utils/date.util.d.ts +33 -4
- package/utils/filterOptions.util.d.ts +4 -2
- package/utils/genPlaceholder.util.d.ts +11 -6
- package/utils/mergePropsWithDefaults.util.d.ts +4 -1
- package/utils/object.util.d.ts +14 -3
- package/utils/role.util.d.ts +5 -32
- package/utils/textFormatter.util.d.ts +15 -3
- package/assets/json/currencies.json.d.ts +0 -1068
- package/assets/lottie/admin/loading-page.lottie +0 -0
- package/assets/lottie/admin/loading-table.lottie +0 -0
- package/assets/lottie/admin/no-data.lottie +0 -0
- package/assets/lottie/supplyasset/loading-page.lottie +0 -0
- package/assets/lottie/supplyasset/loading-table.lottie +0 -0
- package/assets/lottie/supplyasset/no-data.lottie +0 -0
- package/assets/lottie/workspace/loading-page.lottie +0 -0
- package/assets/lottie/workspace/loading-plane.lottie +0 -0
- package/assets/lottie/workspace/loading-table.lottie +0 -0
- package/assets/lottie/workspace/no-data.lottie +0 -0
- package/build-entry.d.ts +0 -14
- package/components/animation/Animation.vue.d.ts +0 -24
- package/components/approverinfo/ApproverInfo.vue.d.ts +0 -51
- package/components/assetinfo/AssetInfo.vue.d.ts +0 -32
- package/components/badge/Badge.vue.d.ts +0 -73
- package/components/badgegroup/BadgeGroup.vue.d.ts +0 -52
- package/components/basecomponent/index.d.ts +0 -28
- package/components/basetree/BaseTree.vue.d.ts +0 -591
- package/components/basetree/TreeNode.vue.d.ts +0 -35
- package/components/breadcrumb/Breadcrumb.vue.d.ts +0 -26
- package/components/button/Button.vue.d.ts +0 -188
- package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +0 -35
- package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +0 -104
- package/components/buttoncopy/ButtonCopy.vue.d.ts +0 -26
- package/components/buttondownload/ButtonDownload.vue.d.ts +0 -49
- package/components/buttonfilter/ButtonFilter.vue.d.ts +0 -12
- package/components/buttonradio/ButtonRadio.vue.d.ts +0 -257
- package/components/buttonscan/ButtonScan.vue.d.ts +0 -201
- package/components/buttonscan/helpers/getErrorCode.helper.d.ts +0 -3
- package/components/buttonscan/helpers/index.d.ts +0 -1
- package/components/buttonscan/workers/scanner.worker.d.ts +0 -1
- package/components/buttonsearch/ButtonSearch.vue.d.ts +0 -38
- package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +0 -200
- package/components/buttonsplit/ButtonSplit.d.ts +0 -350
- package/components/buttonsplit/ButtonSplit.vue.d.ts +0 -34
- package/components/buttonsync/ButtonSync.vue.d.ts +0 -10
- package/components/buttontoggle/ButtonToggle.vue.d.ts +0 -18
- package/components/buttonviewlog/ButtonViewLog.vue.d.ts +0 -17
- package/components/calendar/BaseCalendar.vue.d.ts +0 -86
- package/components/calendar/Calendar.vue.d.ts +0 -570
- package/components/card/Card.vue.d.ts +0 -139
- package/components/checkbox/Checkbox.vue.d.ts +0 -329
- package/components/codesnippet/CodeSnippet.vue.d.ts +0 -14
- package/components/customcolumn/ColumnList.vue.d.ts +0 -27
- package/components/customcolumn/CustomColumn.vue.d.ts +0 -37
- package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -12
- package/components/datatable/DataTable.vue.d.ts +0 -735
- package/components/datatable/MultiRow.vue.d.ts +0 -16
- package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
- package/components/datatable/helpers/filter.helper.d.ts +0 -28
- package/components/datatable/helpers/index.d.ts +0 -3
- package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
- package/components/datatable/store/dataTable.store.d.ts +0 -22
- package/components/dialog/Dialog.vue.d.ts +0 -464
- package/components/dialogconfirm/DialogConfirm.vue.d.ts +0 -164
- package/components/dialogform/DialogForm.vue.d.ts +0 -349
- package/components/dialogselecttree/DialogSelectTree.vue.d.ts +0 -136
- package/components/dropdown/Dropdown.vue.d.ts +0 -264
- package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
- package/components/editor/Editor.vue.d.ts +0 -191
- package/components/editor/EditorButton.vue.d.ts +0 -15
- package/components/editor/MentionList.vue.d.ts +0 -35
- package/components/editor/MentionSection.vue.d.ts +0 -92
- package/components/editor/codeSnippetExtension.d.ts +0 -3
- package/components/editor/mentionSectionExtension.d.ts +0 -3
- package/components/editor/suggestion.d.ts +0 -2
- package/components/fieldwrapper/FieldWrapper.vue.d.ts +0 -69
- package/components/fileupload/FileUpload.vue.d.ts +0 -169
- package/components/filtercontainer/FilterContainer.vue.d.ts +0 -182
- package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -5
- package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +0 -7
- package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
- package/components/form/Form.vue.d.ts +0 -316
- package/components/gallerypreview/GalleryPreview.vue.d.ts +0 -31
- package/components/hardwaresync/store/device.store.d.ts +0 -36
- package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
- package/components/helpers/index.d.ts +0 -2
- package/components/helpers/label.d.ts +0 -15
- package/components/icon/Icon.vue.d.ts +0 -256
- package/components/image/Image.vue.d.ts +0 -403
- package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
- package/components/imagecompressor/ImageCompressor.vue.d.ts +0 -229
- package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -32
- package/components/index.d.ts +0 -69
- package/components/inlinemessage/InlineMessage.vue.d.ts +0 -167
- package/components/inputbadge/InputBadge.vue.d.ts +0 -122
- package/components/inputcurrency/InputCurrency.vue.d.ts +0 -170
- package/components/inputcurrency/helpers/currency.helper.d.ts +0 -4
- package/components/inputemail/InputEmail.vue.d.ts +0 -25
- package/components/inputgroup/InputGroup.vue.d.ts +0 -141
- package/components/inputnumber/InputNumber.vue.d.ts +0 -282
- package/components/inputpassword/InputPassword.vue.d.ts +0 -32
- package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +0 -99
- package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
- package/components/inputrangenumber/InputRangeNumber.vue.d.ts +0 -120
- package/components/inputsearch/InputSearch.vue.d.ts +0 -32
- package/components/inputtext/InputText.vue.d.ts +0 -352
- package/components/inputurl/InputURL.vue.d.ts +0 -39
- package/components/invisiblefield/InvisibleField.vue.d.ts +0 -36
- package/components/languagedropdown/LanguageDropdown.vue.d.ts +0 -47
- package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
- package/components/languageswitcher/LanguageSwitcher.vue.d.ts +0 -15
- package/components/litedropdown/LiteDropdown.vue.d.ts +0 -96
- package/components/loading/Loading.vue.d.ts +0 -47
- package/components/loading/store/loading.store.d.ts +0 -8
- package/components/menu/Menu.vue.d.ts +0 -390
- package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
- package/components/menu/helpers/index.d.ts +0 -1
- package/components/menuitem/MenuItem.vue.d.ts +0 -19
- package/components/menuitem/index.d.ts +0 -106
- package/components/multiselect/MultiSelect.vue.d.ts +0 -192
- package/components/overlaypanel/OverlayPanel.vue.d.ts +0 -301
- package/components/passthrough/index.d.ts +0 -16
- package/components/progressbar/ProgressBar.vue.d.ts +0 -72
- package/components/quickfilter/QuickFilter.vue.d.ts +0 -25
- package/components/tabmenu/TabMenu.vue.d.ts +0 -288
- package/components/tagtype/TagType.vue.d.ts +0 -21
- package/components/textarea/Textarea.vue.d.ts +0 -170
- package/components/timeline/Timeline.vue.d.ts +0 -121
- package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
- package/components/toast/Toast.vue.d.ts +0 -367
- package/components/toggleswitch/ToggleSwitch.vue.d.ts +0 -281
- package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
- package/components/tree/Tree.vue.d.ts +0 -148
- package/components/tree/helpers/filterNodeKeys.helper.d.ts +0 -16
- package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +0 -6
- package/components/tree/helpers/index.d.ts +0 -3
- package/components/treesearchinput/TreeSearchInput.vue.d.ts +0 -16
- package/components/ts-helpers.d.ts +0 -83
- package/components/usergroup/UserGroup.vue.d.ts +0 -57
- package/components/username/UserName.vue.d.ts +0 -113
- package/components/userwithicon/UserWithIcon.vue.d.ts +0 -21
- package/components/validatormessage/ValidatorMessage.vue.d.ts +0 -12
- package/config/defaultProps.d.ts +0 -3
- package/config/index.d.ts +0 -3
- package/config/locale.d.ts +0 -3
- package/loading-page-BrQattYE.js +0 -1
- package/loading-page-CgfbWppy.js +0 -1
- package/loading-page-CoC9UhfC.js +0 -4
- package/loading-page-CoXtqoc9.js +0 -4
- package/loading-page-DbLuqCHa.js +0 -1
- package/loading-page-f8D03l3G.js +0 -4
- package/loading-plane-CgfbWppy.js +0 -1
- package/loading-plane-CoXtqoc9.js +0 -4
- package/loading-table-Bdr9ZhtP.js +0 -1
- package/loading-table-ByUoWqUo.js +0 -4
- package/loading-table-BygEMzFM.js +0 -4
- package/loading-table-BzrSQlA0.js +0 -1
- package/loading-table-D9bw9OcI.js +0 -4
- package/loading-table-chOgXi94.js +0 -1
- package/main.d.ts +0 -2
- package/no-data-CTKux8RI.js +0 -4
- package/no-data-Cgze_Rvp.js +0 -1
- package/no-data-DLHO1L_u.js +0 -4
- package/no-data-Dep79CBh.js +0 -1
- package/no-data-g0dJCy2p.js +0 -4
- package/no-data-y1X5WtcQ.js +0 -1
- package/plugins/i18n-extension.d.ts +0 -4
- package/style.css +0 -1
- package/types/options.type.d.ts +0 -16
- package/utils/getSeverityByAssetStatus.util.d.ts +0 -3
- package/utils/index.d.ts +0 -22
- package/utils/listenSidebarChanges.util.d.ts +0 -11
- package/wangsvue-fats.es.js +0 -133302
- package/wangsvue-fats.system.js +0 -489
package/types/options.type.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { WangsIcons } from '../components/icon/Icon.vue.d';
|
|
2
|
-
export type OptionValue = string | number | boolean | Record<string, any>;
|
|
3
|
-
export type DropdownOption = {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: OptionValue;
|
|
6
|
-
visible?: boolean;
|
|
7
|
-
icon?: WangsIcons;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
10
|
-
export type MultiSelectOption = {
|
|
11
|
-
label?: string;
|
|
12
|
-
value?: OptionValue;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
icon?: WangsIcons;
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
};
|
package/utils/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export * from '.././components/tree/helpers/filterNodeKeys.helper';
|
|
2
|
-
export * from '.././utils';
|
|
3
|
-
export { checkRouteAccess } from './role.util';
|
|
4
|
-
export { default as exportToExcel } from './exportToExcel.util';
|
|
5
|
-
export { default as filterOptions } from './filterOptions.util';
|
|
6
|
-
export { default as flattenTreeNodeChildren } from '.././components/tree/helpers/flattenTreeNodeChildren.helper';
|
|
7
|
-
export { default as getAttachmentIcon } from './getAttachmentIcon.util';
|
|
8
|
-
export { default as mergePropsWithDefaults } from './mergePropsWithDefaults.util';
|
|
9
|
-
export { default as useToast } from './toast.util';
|
|
10
|
-
export { formatDate } from './date.util';
|
|
11
|
-
export { formatDate, formatDateReadable } from './date.util';
|
|
12
|
-
export { formatISODate } from './date.util';
|
|
13
|
-
export { formatUserName, getInititalName } from './textFormatter.util';
|
|
14
|
-
export { genPlaceholder } from './genPlaceholder.util';
|
|
15
|
-
export { getFileType, formatFile, validateFileSize, validateFileType, } from './addAttachment.util';
|
|
16
|
-
export { getTransactionRole, getSystemRole, hasTransactionRole, hasApprovalRole, hasSystemRole, checkRouteAccess, hasManagerRole, hasAnyManagerRole, hasMonitoringReportRole, hasAnyMonitoringReportRole, hasStaffRole, type UserLogin, type TransactionAttribute, type SystemRoleAttribute, type SystemRole, type TransactionRole, } from './role.util';
|
|
17
|
-
export { setNestedPropertyValue, getNestedPropertyValue, isEmptyObject, } from './object.util';
|
|
18
|
-
export { unListenSidebarChanges, listenSidebarChanges, } from './listenSidebarChanges.util';
|
|
19
|
-
export { ZIndexUtils } from 'primevue/utils';
|
|
20
|
-
export type { FileType, FormattedFile } from './addAttachment.util';
|
|
21
|
-
export type { ITable } from './exportToExcel.util';
|
|
22
|
-
export type { ToastParams, ToastMethod, UseToastConfig } from './toast.util';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TreeNode } from '.././components/basetree/BaseTree.vue.d';
|
|
2
|
-
export type SidebarEvent = CustomEvent<{
|
|
3
|
-
/**
|
|
4
|
-
* Stringified keys array.
|
|
5
|
-
*/
|
|
6
|
-
keys: string;
|
|
7
|
-
node: TreeNode;
|
|
8
|
-
}>;
|
|
9
|
-
declare const listenSidebarChanges: (type: "group" | "category", callback: (e: SidebarEvent) => any) => void;
|
|
10
|
-
declare const unListenSidebarChanges: (type: "group" | "category", callback: (e: SidebarEvent) => any) => void;
|
|
11
|
-
export { unListenSidebarChanges, listenSidebarChanges };
|