@dasidev/dasi-ui 1.0.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/README.md +346 -0
- package/bin/dasi-cli.cjs +184 -0
- package/dist/date-selector-test-BlukYeWl.js +91 -0
- package/dist/favicon.ico +0 -0
- package/dist/html2canvas.esm-CKxSAI8P.js +4886 -0
- package/dist/img/brand/ic_pln.svg +12 -0
- package/dist/img/brand/mapp_power_logo.svg +21 -0
- package/dist/img/common/pltu_ulumbu_flores_ntt.jpeg +0 -0
- package/dist/index-BQSA2aPs.js +126556 -0
- package/dist/index.es-DQWt-PZn.js +5769 -0
- package/dist/index.es.js +11 -0
- package/dist/index.umd.js +8564 -0
- package/dist/informasi-gudang-BmoEy2RL.js +164 -0
- package/dist/informasi-gudang-DXfS46Nh.js +50 -0
- package/dist/purify.es-C-9oolON.js +546 -0
- package/dist/scripts/pdf.worker.min.js +29 -0
- package/dist/scripts/pdf.worker.min.mjs +29 -0
- package/dist/scripts/pdf.worker.mjs +57722 -0
- package/dist/scripts/pdf.worker.mjs.map +1 -0
- package/dist/style.css +1 -0
- package/dist/test-schema-JFghGc0_.js +8 -0
- package/dist/test-schema-uusFsJe4.js +438 -0
- package/dist/types-l0sNRNKZ.js +1 -0
- package/package.json +178 -0
- package/src/App.vue +18 -0
- package/src/__tests__/index.test.ts +9 -0
- package/src/api/api.ts +117 -0
- package/src/assets/app-selector.svg +3 -0
- package/src/assets/dasi.png +0 -0
- package/src/assets/foto_ss.svg +21 -0
- package/src/assets/icons/circle-blue.svg +4 -0
- package/src/assets/icons/circle-gray.svg +15 -0
- package/src/assets/icons/circle-green.svg +4 -0
- package/src/assets/icons/circle-orange.svg +4 -0
- package/src/assets/icons/circle-purple.svg +4 -0
- package/src/assets/icons/circle-red.svg +15 -0
- package/src/assets/icons/harbor.svg +12 -0
- package/src/assets/icons/ic-box-red.svg +8 -0
- package/src/assets/icons/ic-chevron-right.svg +1 -0
- package/src/assets/icons/ic-loading.svg +9 -0
- package/src/assets/icons/ic-reset.svg +16 -0
- package/src/assets/icons/ic-sailing.svg +5 -0
- package/src/assets/icons/icon-app-selector.svg +3 -0
- package/src/assets/icons/icon-browser-check.svg +4 -0
- package/src/assets/icons/icon-calendar.svg +3 -0
- package/src/assets/icons/icon-chart-bar.svg +3 -0
- package/src/assets/icons/icon-chart-doc.svg +16 -0
- package/src/assets/icons/icon-chart-line.svg +10 -0
- package/src/assets/icons/icon-chart-mix.svg +15 -0
- package/src/assets/icons/icon-chart-pie.svg +11 -0
- package/src/assets/icons/icon-continue.svg +12 -0
- package/src/assets/icons/icon-dashboard-2.svg +17 -0
- package/src/assets/icons/icon-dashboard.svg +3 -0
- package/src/assets/icons/icon-data-kelistrikan.svg +19 -0
- package/src/assets/icons/icon-data-sentral.svg +11 -0
- package/src/assets/icons/icon-database.svg +5 -0
- package/src/assets/icons/icon-desktop.svg +3 -0
- package/src/assets/icons/icon-download.svg +13 -0
- package/src/assets/icons/icon-energi-primer.svg +12 -0
- package/src/assets/icons/icon-faba-apk2.svg +11 -0
- package/src/assets/icons/icon-faba.svg +11 -0
- package/src/assets/icons/icon-factory.svg +14 -0
- package/src/assets/icons/icon-globe-doc.svg +19 -0
- package/src/assets/icons/icon-ikk.svg +10 -0
- package/src/assets/icons/icon-kbb.svg +13 -0
- package/src/assets/icons/icon-kos.svg +16 -0
- package/src/assets/icons/icon-kpi-bod.svg +15 -0
- package/src/assets/icons/icon-kss.svg +14 -0
- package/src/assets/icons/icon-map.svg +12 -0
- package/src/assets/icons/icon-monitoring-harian.svg +13 -0
- package/src/assets/icons/icon-notification.svg +4 -0
- package/src/assets/icons/icon-overview.svg +17 -0
- package/src/assets/icons/icon-pltu.svg +13 -0
- package/src/assets/icons/icon-sebaran-sentral.svg +12 -0
- package/src/assets/icons/icon-select-data-kelistrikan.svg +19 -0
- package/src/assets/icons/icon-select-data-sentral.svg +11 -0
- package/src/assets/icons/icon-select-energi-primer.svg +12 -0
- package/src/assets/icons/icon-select-faba-apk2.svg +11 -0
- package/src/assets/icons/icon-select-ikk.svg +10 -0
- package/src/assets/icons/icon-select-kbb.svg +13 -0
- package/src/assets/icons/icon-select-kos.svg +16 -0
- package/src/assets/icons/icon-select-kpi-bod.svg +15 -0
- package/src/assets/icons/icon-select-kss.svg +14 -0
- package/src/assets/icons/icon-select-monitoring-harian.svg +13 -0
- package/src/assets/icons/icon-select-overview.svg +17 -0
- package/src/assets/icons/icon-select-sebaran-sentral.svg +12 -0
- package/src/assets/icons/icon-sentral-white.svg +13 -0
- package/src/assets/icons/icon-shipping.svg +5 -0
- package/src/assets/icons/icon-sort.svg +5 -0
- package/src/assets/icons/icon-tree-box.svg +14 -0
- package/src/assets/icons/icon-warehouse.svg +12 -0
- package/src/assets/icons/pin-green.svg +3 -0
- package/src/assets/icons/pin-orange.svg +3 -0
- package/src/assets/icons/pin-purple.svg +3 -0
- package/src/assets/icons/ship.svg +3 -0
- package/src/assets/icons/shipment/icon-antri.svg +15 -0
- package/src/assets/icons/shipment/icon-bongkar.svg +4 -0
- package/src/assets/icons/shipment/icon-invoice.svg +6 -0
- package/src/assets/icons/shipment/icon-loading.svg +8 -0
- package/src/assets/icons/shipment/icon-pembayaran.svg +13 -0
- package/src/assets/icons/shipment/icon-pengiriman.svg +4 -0
- package/src/assets/icons/shipment/icon-sailing.svg +4 -0
- package/src/assets/icons/shipment/icon-shipment-completed.svg +6 -0
- package/src/assets/icons/shipment/icon-shipment-in-progress.svg +6 -0
- package/src/assets/icons/shipment/icon-shipment-over-sla.svg +6 -0
- package/src/assets/icons/shipment/icon-spt.svg +4 -0
- package/src/assets/icons/shipment/icon-total-shipment.svg +4 -0
- package/src/assets/icons/upload_doc_icon.svg +42 -0
- package/src/assets/icons/upload_icon_blue.svg +14 -0
- package/src/assets/login-bg-day-min.jpg +0 -0
- package/src/assets/login-bg-night-min.jpg +0 -0
- package/src/assets/login-bg.jpg +0 -0
- package/src/assets/login-day.png +0 -0
- package/src/assets/login-night.png +0 -0
- package/src/assets/lucide-circle-plus-blue.svg +1 -0
- package/src/assets/pdf-logo.svg +11 -0
- package/src/assets/pemasok-card-bg.svg +6 -0
- package/src/assets/success_animation.gif +0 -0
- package/src/assets/success_animation.mp4 +0 -0
- package/src/assets/success_animation.webm +0 -0
- package/src/components/button/BtnAddOutline.vue +14 -0
- package/src/components/button/BtnCircle.vue +10 -0
- package/src/components/button/BtnOutline.vue +15 -0
- package/src/components/button/BtnPrimary.vue +25 -0
- package/src/components/button/BtnSecondary.vue +26 -0
- package/src/components/detail/AccountDetailTimeline.vue +144 -0
- package/src/components/detail/ApprovalInfo.vue +288 -0
- package/src/components/detail/DCI2.vue +164 -0
- package/src/components/detail/DetailContentHeader.vue +83 -0
- package/src/components/detail/DetailContentItem.vue +186 -0
- package/src/components/detail/DetailContentItems.vue +388 -0
- package/src/components/detail/DetailContentLoading.vue +12 -0
- package/src/components/detail/DetailContentTablet.vue +10 -0
- package/src/components/detail/DetailSheet.vue +294 -0
- package/src/components/detail/DetailTimeline.vue +191 -0
- package/src/components/detail/DocApprovalDialog.vue +29 -0
- package/src/components/detail/DocViewerContent.vue +991 -0
- package/src/components/dialog/ConfirmDialog.vue +96 -0
- package/src/components/dialog/DialogBase.vue +53 -0
- package/src/components/dialog/DialogSelect.vue +212 -0
- package/src/components/dialog/ErrorDialog.vue +63 -0
- package/src/components/dialog/FormDialog.vue +141 -0
- package/src/components/dialog/FormInputerDialog.vue +91 -0
- package/src/components/dialog/InfoDialog.vue +74 -0
- package/src/components/dialog/SuccessDialog.vue +51 -0
- package/src/components/examples/TestSchemaExample.vue +288 -0
- package/src/components/forms/auth/LoginForm.vue +806 -0
- package/src/components/forms/auth/PwdScore.vue +68 -0
- package/src/components/helper/ApiTester.vue +153 -0
- package/src/components/helper/ChangePwd.vue +150 -0
- package/src/components/helper/CheckboxElement.vue +43 -0
- package/src/components/helper/ConfigSwitcher.vue +54 -0
- package/src/components/helper/Copyright.vue +10 -0
- package/src/components/helper/ErrorScreen.vue +40 -0
- package/src/components/helper/LucideIcon.vue +27 -0
- package/src/components/helper/PdfViewer.vue +103 -0
- package/src/components/helper/PinInputer.vue +205 -0
- package/src/components/helper/PrivacyPolicy.vue +122 -0
- package/src/components/layout/PageActivityHeader.vue +48 -0
- package/src/components/layout/PageHeader.vue +70 -0
- package/src/components/loadings/LoadingDialog.vue +29 -0
- package/src/components/loadings/LoadingDialogSpin.vue +25 -0
- package/src/components/loadings/LoadingIndicator.vue +38 -0
- package/src/components/loadings/LoadingScreen.vue +23 -0
- package/src/components/notif/Notif.vue +103 -0
- package/src/components/notif/NotifItem.vue +41 -0
- package/src/components/pages/Header.vue +431 -0
- package/src/components/pages/Leftbar.vue +417 -0
- package/src/components/pages/PageActivity.vue +108 -0
- package/src/components/pages/PageActivityContent.vue +597 -0
- package/src/components/pages/PageContentTable.vue +589 -0
- package/src/components/pages/PageTab.vue +84 -0
- package/src/components/selector/BaseSelector.vue +1136 -0
- package/src/components/selector/ConfigDataSelector.vue +136 -0
- package/src/components/settings/SettingsItem.vue +38 -0
- package/src/components/tab/TabView.vue +11 -0
- package/src/components/tab/TabViewItem.vue +18 -0
- package/src/components/tab/TabViewItemBar.vue +9 -0
- package/src/components/tables/CellHover.vue +65 -0
- package/src/components/tables/DashboardDataTable.vue +707 -0
- package/src/components/tables/DataStatusTag.vue +52 -0
- package/src/components/tables/DataTable.vue +156 -0
- package/src/components/tables/DataTableAccordion.vue +249 -0
- package/src/components/tables/DataTableActionRow.vue +64 -0
- package/src/components/tables/DataTableCell.vue +272 -0
- package/src/components/tables/DataTableHeader.vue +60 -0
- package/src/components/tables/DataTableRow.vue +213 -0
- package/src/components/tables/ExpandedTable.vue +259 -0
- package/src/components/tables/PageTable.vue +73 -0
- package/src/components/tables/Pagination.vue +98 -0
- package/src/components/tables/dropdown/BaseDropdownTable.vue +140 -0
- package/src/components/tables/dropdown/DropdownTableActivity.vue +33 -0
- package/src/components/tables/dropdown/DropdownTableAsset.vue +30 -0
- package/src/components/tables/dropdown/DropdownTableConfig.vue +30 -0
- package/src/components/tables/dropdown/DropdownTableDataKonektor.vue +31 -0
- package/src/components/tables/dropdown/DropdownTableDataLabel.vue +30 -0
- package/src/components/tables/dropdown/DropdownTableDataSchema.vue +31 -0
- package/src/components/tables/dropdown/DropdownTableFabaPemanfaat.vue +30 -0
- package/src/components/tables/dropdown/DropdownTableGroup.vue +36 -0
- package/src/components/tables/dropdown/DropdownTableHalaman.vue +33 -0
- package/src/components/tables/dropdown/DropdownTableLevel.vue +66 -0
- package/src/components/tables/dropdown/DropdownTableOrganization.vue +47 -0
- package/src/components/tables/dropdown/DropdownTablePengelola.vue +28 -0
- package/src/components/tables/dropdown/DropdownTableQueryLayer.vue +29 -0
- package/src/components/tables/dropdown/DropdownTableSentral.vue +33 -0
- package/src/components/tables/dropdown/DropdownTableWarehouse.vue +30 -0
- package/src/components/tables/dropdown/TableDropdown.vue +52 -0
- package/src/components/ui/accordion/Accordion.vue +19 -0
- package/src/components/ui/accordion/AccordionContent.vue +24 -0
- package/src/components/ui/accordion/AccordionItem.vue +24 -0
- package/src/components/ui/accordion/AccordionTrigger.vue +42 -0
- package/src/components/ui/accordion/index.ts +4 -0
- package/src/components/ui/alert-dialog/AlertDialog.vue +14 -0
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +20 -0
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +20 -0
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +42 -0
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +25 -0
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +21 -0
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +16 -0
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +22 -0
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +11 -0
- package/src/components/ui/alert-dialog/index.ts +9 -0
- package/src/components/ui/avatar/Avatar.vue +24 -0
- package/src/components/ui/avatar/AvatarFallback.vue +11 -0
- package/src/components/ui/avatar/AvatarImage.vue +9 -0
- package/src/components/ui/avatar/UsersAvatar.vue +28 -0
- package/src/components/ui/avatar/index.ts +24 -0
- package/src/components/ui/button/Button.vue +27 -0
- package/src/components/ui/button/index.ts +34 -0
- package/src/components/ui/calendar/Calendar.vue +325 -0
- package/src/components/ui/calendar/index.ts +22 -0
- package/src/components/ui/checkbox/Checkbox.vue +33 -0
- package/src/components/ui/checkbox/index.ts +1 -0
- package/src/components/ui/command/Command.vue +30 -0
- package/src/components/ui/command/CommandDialog.vue +21 -0
- package/src/components/ui/command/CommandEmpty.vue +20 -0
- package/src/components/ui/command/CommandGroup.vue +29 -0
- package/src/components/ui/command/CommandInput.vue +33 -0
- package/src/components/ui/command/CommandItem.vue +26 -0
- package/src/components/ui/command/CommandList.vue +27 -0
- package/src/components/ui/command/CommandSeparator.vue +23 -0
- package/src/components/ui/command/CommandShortcut.vue +14 -0
- package/src/components/ui/command/index.ts +9 -0
- package/src/components/ui/context-menu/ContextMenu.vue +15 -0
- package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +40 -0
- package/src/components/ui/context-menu/ContextMenuContent.vue +36 -0
- package/src/components/ui/context-menu/ContextMenuGroup.vue +11 -0
- package/src/components/ui/context-menu/ContextMenuItem.vue +34 -0
- package/src/components/ui/context-menu/ContextMenuLabel.vue +25 -0
- package/src/components/ui/context-menu/ContextMenuPortal.vue +11 -0
- package/src/components/ui/context-menu/ContextMenuRadioGroup.vue +19 -0
- package/src/components/ui/context-menu/ContextMenuRadioItem.vue +40 -0
- package/src/components/ui/context-menu/ContextMenuSeparator.vue +20 -0
- package/src/components/ui/context-menu/ContextMenuShortcut.vue +14 -0
- package/src/components/ui/context-menu/ContextMenuSub.vue +19 -0
- package/src/components/ui/context-menu/ContextMenuSubContent.vue +35 -0
- package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +34 -0
- package/src/components/ui/context-menu/ContextMenuTrigger.vue +13 -0
- package/src/components/ui/context-menu/index.ts +14 -0
- package/src/components/ui/datetime/DatetimeRangeComponent.vue +52 -0
- package/src/components/ui/dialog/Dialog.vue +14 -0
- package/src/components/ui/dialog/DialogClose.vue +11 -0
- package/src/components/ui/dialog/DialogContent.vue +53 -0
- package/src/components/ui/dialog/DialogDescription.vue +24 -0
- package/src/components/ui/dialog/DialogFooter.vue +19 -0
- package/src/components/ui/dialog/DialogHeader.vue +16 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/src/components/ui/dialog/DialogTitle.vue +29 -0
- package/src/components/ui/dialog/DialogTrigger.vue +11 -0
- package/src/components/ui/dialog/index.ts +9 -0
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +14 -0
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +40 -0
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +38 -0
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +11 -0
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +28 -0
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +24 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +19 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +41 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +22 -0
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +14 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +19 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +30 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +33 -0
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +13 -0
- package/src/components/ui/dropdown-menu/index.ts +16 -0
- package/src/components/ui/form/FormControl.vue +16 -0
- package/src/components/ui/form/FormDescription.vue +20 -0
- package/src/components/ui/form/FormItem.vue +25 -0
- package/src/components/ui/form/FormLabel.vue +23 -0
- package/src/components/ui/form/FormMessage.vue +16 -0
- package/src/components/ui/form/index.ts +6 -0
- package/src/components/ui/form/useFormField.ts +30 -0
- package/src/components/ui/hover-card/HoverCard.vue +14 -0
- package/src/components/ui/hover-card/HoverCardContent.vue +41 -0
- package/src/components/ui/hover-card/HoverCardTrigger.vue +11 -0
- package/src/components/ui/hover-card/index.ts +3 -0
- package/src/components/ui/input/Input.vue +24 -0
- package/src/components/ui/input/index.ts +1 -0
- package/src/components/ui/label/Label.vue +27 -0
- package/src/components/ui/label/index.ts +1 -0
- package/src/components/ui/pagination/PaginationEllipsis.vue +22 -0
- package/src/components/ui/pagination/PaginationFirst.vue +29 -0
- package/src/components/ui/pagination/PaginationLast.vue +29 -0
- package/src/components/ui/pagination/PaginationNext.vue +29 -0
- package/src/components/ui/pagination/PaginationPrev.vue +29 -0
- package/src/components/ui/pagination/index.ts +10 -0
- package/src/components/ui/pin-input/PinInput.vue +23 -0
- package/src/components/ui/pin-input/PinInputGroup.vue +18 -0
- package/src/components/ui/pin-input/PinInputInput.vue +18 -0
- package/src/components/ui/pin-input/PinInputSeparator.vue +15 -0
- package/src/components/ui/pin-input/index.ts +4 -0
- package/src/components/ui/popover/Popover.vue +15 -0
- package/src/components/ui/popover/PopoverContent.vue +48 -0
- package/src/components/ui/popover/PopoverTrigger.vue +11 -0
- package/src/components/ui/popover/index.ts +4 -0
- package/src/components/ui/preview/PreviewPdf.vue +118 -0
- package/src/components/ui/progress/ProgressCircle.vue +27 -0
- package/src/components/ui/progress/SemiCircularProgressBar.vue +83 -0
- package/src/components/ui/progress/TotalCalories.vue +31 -0
- package/src/components/ui/radio-group/RadioGroup.vue +25 -0
- package/src/components/ui/radio-group/RadioGroupItem.vue +37 -0
- package/src/components/ui/radio-group/index.ts +2 -0
- package/src/components/ui/scroll-area/ScrollArea.vue +29 -0
- package/src/components/ui/scroll-area/ScrollBar.vue +30 -0
- package/src/components/ui/scroll-area/index.ts +2 -0
- package/src/components/ui/select/Select.vue +15 -0
- package/src/components/ui/select/SelectContent.vue +52 -0
- package/src/components/ui/select/SelectGroup.vue +19 -0
- package/src/components/ui/select/SelectInline.vue +84 -0
- package/src/components/ui/select/SelectItem.vue +44 -0
- package/src/components/ui/select/SelectItemText.vue +11 -0
- package/src/components/ui/select/SelectLabel.vue +13 -0
- package/src/components/ui/select/SelectScrollDownButton.vue +24 -0
- package/src/components/ui/select/SelectScrollUpButton.vue +24 -0
- package/src/components/ui/select/SelectSeparator.vue +17 -0
- package/src/components/ui/select/SelectTrigger.vue +31 -0
- package/src/components/ui/select/SelectTriggerCustom.vue +23 -0
- package/src/components/ui/select/SelectValue.vue +11 -0
- package/src/components/ui/select/index.ts +12 -0
- package/src/components/ui/separator/Separator.vue +20 -0
- package/src/components/ui/separator/index.ts +1 -0
- package/src/components/ui/sheet/Sheet.vue +14 -0
- package/src/components/ui/sheet/SheetClose.vue +11 -0
- package/src/components/ui/sheet/SheetContent.vue +48 -0
- package/src/components/ui/sheet/SheetDescription.vue +22 -0
- package/src/components/ui/sheet/SheetFooter.vue +19 -0
- package/src/components/ui/sheet/SheetHeader.vue +16 -0
- package/src/components/ui/sheet/SheetTitle.vue +22 -0
- package/src/components/ui/sheet/SheetTrigger.vue +11 -0
- package/src/components/ui/sheet/index.ts +31 -0
- package/src/components/ui/skeleton/Skeleton.vue +28 -0
- package/src/components/ui/skeleton/index.ts +1 -0
- package/src/components/ui/sonner/Sonner.vue +22 -0
- package/src/components/ui/sonner/index.ts +1 -0
- package/src/components/ui/star/StarRating.vue +19 -0
- package/src/components/ui/switch/Switch.vue +37 -0
- package/src/components/ui/switch/index.ts +1 -0
- package/src/components/ui/table/Table.vue +16 -0
- package/src/components/ui/table/TableBody.vue +14 -0
- package/src/components/ui/table/TableCaption.vue +14 -0
- package/src/components/ui/table/TableCell.vue +21 -0
- package/src/components/ui/table/TableEmpty.vue +37 -0
- package/src/components/ui/table/TableFooter.vue +14 -0
- package/src/components/ui/table/TableHead.vue +14 -0
- package/src/components/ui/table/TableHeader.vue +14 -0
- package/src/components/ui/table/TableRow.vue +14 -0
- package/src/components/ui/table/index.ts +8 -0
- package/src/components/ui/tabs/Tabs.vue +15 -0
- package/src/components/ui/tabs/TabsContent.vue +22 -0
- package/src/components/ui/tabs/TabsList.vue +25 -0
- package/src/components/ui/tabs/TabsTrigger.vue +27 -0
- package/src/components/ui/tabs/index.ts +4 -0
- package/src/components/ui/tags-input/TagsInput.vue +22 -0
- package/src/components/ui/tags-input/TagsInputInput.vue +19 -0
- package/src/components/ui/tags-input/TagsInputItem.vue +22 -0
- package/src/components/ui/tags-input/TagsInputItemDelete.vue +24 -0
- package/src/components/ui/tags-input/TagsInputItemText.vue +19 -0
- package/src/components/ui/tags-input/index.ts +5 -0
- package/src/components/ui/textarea/Textarea.vue +24 -0
- package/src/components/ui/textarea/index.ts +1 -0
- package/src/components/ui/tooltip/Tooltip.vue +14 -0
- package/src/components/ui/tooltip/TooltipContent.vue +31 -0
- package/src/components/ui/tooltip/TooltipProvider.vue +11 -0
- package/src/components/ui/tooltip/TooltipTrigger.vue +11 -0
- package/src/components/ui/tooltip/index.ts +4 -0
- package/src/composables/useAppConfig.ts +332 -0
- package/src/composables/useDarkMode.ts +71 -0
- package/src/config/app.config.ts +318 -0
- package/src/config/examples/ecommerce.config.ts +132 -0
- package/src/config/examples/generic.config.ts +132 -0
- package/src/config/menu.config.ts +149 -0
- package/src/config/my-app.config.ts +134 -0
- package/src/config/test-config.ts +32 -0
- package/src/config/theme.config.ts +250 -0
- package/src/docs/index.ts +21 -0
- package/src/docs.scss +403 -0
- package/src/index.d.ts +5 -0
- package/src/index.ts +20 -0
- package/src/layouts/AuthLayout.vue +68 -0
- package/src/layouts/DefaultLayout.vue +119 -0
- package/src/layouts/DocsLayout.vue +681 -0
- package/src/layouts/FormGlobal.vue +50 -0
- package/src/layouts/GlobalDialog.vue +122 -0
- package/src/layouts/RakorConfirmDialog.vue +95 -0
- package/src/layouts/SettingsLayout.vue +115 -0
- package/src/lib/constants.ts +2 -0
- package/src/lib/detail.utils.ts +213 -0
- package/src/lib/form.utils.ts +1009 -0
- package/src/lib/page.flow.utils.ts +81 -0
- package/src/lib/page.utils.ts +865 -0
- package/src/lib/performance.utils.ts +302 -0
- package/src/lib/tablerow.utils.ts +51 -0
- package/src/lib/utils.ts +643 -0
- package/src/main.scss +717 -0
- package/src/main.ts +74 -0
- package/src/menu.ts +78 -0
- package/src/nestedlist_color.scss +161 -0
- package/src/router/index.ts +92 -0
- package/src/stores/auth.ts +117 -0
- package/src/stores/counter.ts +12 -0
- package/src/stores/dialog.ts +168 -0
- package/src/stores/form.ts +103 -0
- package/src/stores/tabs.ts +52 -0
- package/src/tw.scss +419 -0
- package/src/types/form.types.ts +348 -0
- package/src/types/types.ts +7 -0
- package/src/utils/config.utils.ts +149 -0
- package/src/views/NotFound.vue +30 -0
- package/src/views/PageActivity.vue +15 -0
- package/src/views/auth/LoginView.vue +7 -0
- package/src/views/auth/OauthCallback.vue +101 -0
- package/src/views/dashboard/index.vue +16 -0
- package/src/views/settings/AccountSettingsView.vue +70 -0
- package/src/views/settings/AuditLogsSettingsView.vue +116 -0
- package/src/views/settings/DeviceSettingsView.vue +70 -0
- package/src/views/settings/MainSettingsView.vue +12 -0
- package/src/views/settings/ProfileSettingsView.vue +104 -0
- package/src/vueform/config/informasi-gudang.ts +47 -0
- package/src/vueform/config/test-schema.ts +8 -0
- package/src/vueform/config/types.ts +768 -0
- package/src/vueform/customization/classes.js +46 -0
- package/src/vueform/customization/tailwind.classes.js +2117 -0
- package/src/vueform/elements/ConfigDataSelectorElement.vue +50 -0
- package/src/vueform/elements/DateSelectorElement.vue +323 -0
- package/src/vueform/elements/SelectorElement.vue +153 -0
- package/src/vueform/schemas/date-selector-test.ts +103 -0
- package/src/vueform/schemas/informasi-gudang.ts +160 -0
- package/src/vueform/schemas/test-schema.ts +483 -0
- package/src/vueform.config.js +77 -0
- package/src/vueform.validator.ts +77 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Theme Configuration
|
|
3
|
+
* Centralized theme and styling configuration
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface ThemeConfig {
|
|
7
|
+
colors: {
|
|
8
|
+
primary: string
|
|
9
|
+
primaryHover: string
|
|
10
|
+
primaryActive: string
|
|
11
|
+
secondary?: string
|
|
12
|
+
accent?: string
|
|
13
|
+
background: string
|
|
14
|
+
surface: string
|
|
15
|
+
text: string
|
|
16
|
+
textSecondary: string
|
|
17
|
+
border: string
|
|
18
|
+
error: string
|
|
19
|
+
warning: string
|
|
20
|
+
success: string
|
|
21
|
+
info: string
|
|
22
|
+
}
|
|
23
|
+
darkMode: {
|
|
24
|
+
enabled: boolean
|
|
25
|
+
colors: {
|
|
26
|
+
background: string
|
|
27
|
+
surface: string
|
|
28
|
+
text: string
|
|
29
|
+
textSecondary: string
|
|
30
|
+
border: string
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
typography: {
|
|
34
|
+
fontFamily: string
|
|
35
|
+
fontSize: {
|
|
36
|
+
xs: string
|
|
37
|
+
sm: string
|
|
38
|
+
base: string
|
|
39
|
+
lg: string
|
|
40
|
+
xl: string
|
|
41
|
+
'2xl': string
|
|
42
|
+
'3xl': string
|
|
43
|
+
}
|
|
44
|
+
fontWeight: {
|
|
45
|
+
normal: number
|
|
46
|
+
medium: number
|
|
47
|
+
semibold: number
|
|
48
|
+
bold: number
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
spacing: {
|
|
52
|
+
xs: string
|
|
53
|
+
sm: string
|
|
54
|
+
md: string
|
|
55
|
+
lg: string
|
|
56
|
+
xl: string
|
|
57
|
+
'2xl': string
|
|
58
|
+
}
|
|
59
|
+
borderRadius: {
|
|
60
|
+
sm: string
|
|
61
|
+
md: string
|
|
62
|
+
lg: string
|
|
63
|
+
xl: string
|
|
64
|
+
}
|
|
65
|
+
shadows: {
|
|
66
|
+
sm: string
|
|
67
|
+
md: string
|
|
68
|
+
lg: string
|
|
69
|
+
xl: string
|
|
70
|
+
}
|
|
71
|
+
animations: {
|
|
72
|
+
duration: {
|
|
73
|
+
fast: string
|
|
74
|
+
normal: string
|
|
75
|
+
slow: string
|
|
76
|
+
}
|
|
77
|
+
easing: {
|
|
78
|
+
ease: string
|
|
79
|
+
easeIn: string
|
|
80
|
+
easeOut: string
|
|
81
|
+
easeInOut: string
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export const defaultThemeConfig: ThemeConfig = {
|
|
87
|
+
colors: {
|
|
88
|
+
primary: '#2671D9',
|
|
89
|
+
primaryHover: '#297df0',
|
|
90
|
+
primaryActive: '#e8f1fb',
|
|
91
|
+
secondary: '#6c757d',
|
|
92
|
+
accent: '#e8f1fb',
|
|
93
|
+
background: '#ffffff',
|
|
94
|
+
surface: '#f8f9fa',
|
|
95
|
+
text: '#4D5E80',
|
|
96
|
+
textSecondary: '#6c757d',
|
|
97
|
+
border: '#dee2e6',
|
|
98
|
+
error: '#dc3545',
|
|
99
|
+
warning: '#ffc107',
|
|
100
|
+
success: '#28a745',
|
|
101
|
+
info: '#17a2b8'
|
|
102
|
+
},
|
|
103
|
+
darkMode: {
|
|
104
|
+
enabled: true,
|
|
105
|
+
colors: {
|
|
106
|
+
background: '#0a0a0a',
|
|
107
|
+
surface: '#111111',
|
|
108
|
+
text: '#cccccc',
|
|
109
|
+
textSecondary: '#999999',
|
|
110
|
+
border: '#151515'
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
typography: {
|
|
114
|
+
fontFamily: 'Inter, sans-serif',
|
|
115
|
+
fontSize: {
|
|
116
|
+
xs: '0.75rem',
|
|
117
|
+
sm: '0.875rem',
|
|
118
|
+
base: '1rem',
|
|
119
|
+
lg: '1.125rem',
|
|
120
|
+
xl: '1.25rem',
|
|
121
|
+
'2xl': '1.5rem',
|
|
122
|
+
'3xl': '1.875rem'
|
|
123
|
+
},
|
|
124
|
+
fontWeight: {
|
|
125
|
+
normal: 400,
|
|
126
|
+
medium: 500,
|
|
127
|
+
semibold: 600,
|
|
128
|
+
bold: 700
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
spacing: {
|
|
132
|
+
xs: '0.25rem',
|
|
133
|
+
sm: '0.5rem',
|
|
134
|
+
md: '1rem',
|
|
135
|
+
lg: '1.5rem',
|
|
136
|
+
xl: '2rem',
|
|
137
|
+
'2xl': '3rem'
|
|
138
|
+
},
|
|
139
|
+
borderRadius: {
|
|
140
|
+
sm: '0.25rem',
|
|
141
|
+
md: '0.375rem',
|
|
142
|
+
lg: '0.5rem',
|
|
143
|
+
xl: '0.75rem'
|
|
144
|
+
},
|
|
145
|
+
shadows: {
|
|
146
|
+
sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
|
|
147
|
+
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1)',
|
|
148
|
+
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1)',
|
|
149
|
+
xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1)'
|
|
150
|
+
},
|
|
151
|
+
animations: {
|
|
152
|
+
duration: {
|
|
153
|
+
fast: '150ms',
|
|
154
|
+
normal: '300ms',
|
|
155
|
+
slow: '500ms'
|
|
156
|
+
},
|
|
157
|
+
easing: {
|
|
158
|
+
ease: 'ease',
|
|
159
|
+
easeIn: 'ease-in',
|
|
160
|
+
easeOut: 'ease-out',
|
|
161
|
+
easeInOut: 'ease-in-out'
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export const useThemeConfig = () => {
|
|
167
|
+
let themeConfig: ThemeConfig = { ...defaultThemeConfig }
|
|
168
|
+
|
|
169
|
+
const setThemeConfig = (config: Partial<ThemeConfig>) => {
|
|
170
|
+
themeConfig = { ...themeConfig, ...config }
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
const getThemeConfig = (): ThemeConfig => {
|
|
174
|
+
return themeConfig
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const getColor = (colorPath: string): string => {
|
|
178
|
+
const path = colorPath.split('.')
|
|
179
|
+
let color = themeConfig.colors
|
|
180
|
+
|
|
181
|
+
for (const key of path) {
|
|
182
|
+
if (key === 'dark' && path.length > 1) {
|
|
183
|
+
color = themeConfig.darkMode.colors as any
|
|
184
|
+
continue
|
|
185
|
+
}
|
|
186
|
+
color = (color as any)[key]
|
|
187
|
+
if (!color) return '#000000'
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
return typeof color === 'string' ? color : '#000000'
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
const generateCSSVariables = (): Record<string, string> => {
|
|
194
|
+
const variables: Record<string, string> = {}
|
|
195
|
+
|
|
196
|
+
// Light mode colors
|
|
197
|
+
Object.entries(themeConfig.colors).forEach(([key, value]) => {
|
|
198
|
+
variables[`--color-${key}`] = value
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
// Dark mode colors
|
|
202
|
+
if (themeConfig.darkMode.enabled) {
|
|
203
|
+
Object.entries(themeConfig.darkMode.colors).forEach(([key, value]) => {
|
|
204
|
+
variables[`--color-dark-${key}`] = value
|
|
205
|
+
})
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// Typography
|
|
209
|
+
variables['--font-family'] = themeConfig.typography.fontFamily
|
|
210
|
+
Object.entries(themeConfig.typography.fontSize).forEach(([key, value]) => {
|
|
211
|
+
variables[`--font-size-${key}`] = value
|
|
212
|
+
})
|
|
213
|
+
Object.entries(themeConfig.typography.fontWeight).forEach(([key, value]) => {
|
|
214
|
+
variables[`--font-weight-${key}`] = value.toString()
|
|
215
|
+
})
|
|
216
|
+
|
|
217
|
+
// Spacing
|
|
218
|
+
Object.entries(themeConfig.spacing).forEach(([key, value]) => {
|
|
219
|
+
variables[`--spacing-${key}`] = value
|
|
220
|
+
})
|
|
221
|
+
|
|
222
|
+
// Border radius
|
|
223
|
+
Object.entries(themeConfig.borderRadius).forEach(([key, value]) => {
|
|
224
|
+
variables[`--border-radius-${key}`] = value
|
|
225
|
+
})
|
|
226
|
+
|
|
227
|
+
// Shadows
|
|
228
|
+
Object.entries(themeConfig.shadows).forEach(([key, value]) => {
|
|
229
|
+
variables[`--shadow-${key}`] = value
|
|
230
|
+
})
|
|
231
|
+
|
|
232
|
+
// Animations
|
|
233
|
+
Object.entries(themeConfig.animations.duration).forEach(([key, value]) => {
|
|
234
|
+
variables[`--duration-${key}`] = value
|
|
235
|
+
})
|
|
236
|
+
Object.entries(themeConfig.animations.easing).forEach(([key, value]) => {
|
|
237
|
+
variables[`--easing-${key}`] = value
|
|
238
|
+
})
|
|
239
|
+
|
|
240
|
+
return variables
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
return {
|
|
244
|
+
themeConfig,
|
|
245
|
+
setThemeConfig,
|
|
246
|
+
getThemeConfig,
|
|
247
|
+
getColor,
|
|
248
|
+
generateCSSVariables
|
|
249
|
+
}
|
|
250
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const doscMenu = [
|
|
2
|
+
{
|
|
3
|
+
title: 'Panduan Penggunaan',
|
|
4
|
+
code: 'panduan-penggunaan',
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
title: 'Referensi API',
|
|
8
|
+
code: 'referensi-api',
|
|
9
|
+
type: 'api',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
title: 'Akses Pengguna',
|
|
13
|
+
code: 'akses-pengguna',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
title: 'Integrasi Data',
|
|
17
|
+
code: 'integrasi-data',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
export default doscMenu;
|
package/src/docs.scss
ADDED
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
.dasi-docs{
|
|
2
|
+
// Write css for markdown documenation here...
|
|
3
|
+
@media print {
|
|
4
|
+
*,
|
|
5
|
+
*:before,
|
|
6
|
+
*:after {
|
|
7
|
+
background: transparent !important;
|
|
8
|
+
color: #000 !important;
|
|
9
|
+
box-shadow: none !important;
|
|
10
|
+
text-shadow: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
a,
|
|
14
|
+
a:visited {
|
|
15
|
+
text-decoration: underline;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
a[href]:after {
|
|
19
|
+
content: " (" attr(href) ")";
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
abbr[title]:after {
|
|
23
|
+
content: " (" attr(title) ")";
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
a[href^="#"]:after,
|
|
27
|
+
a[href^="javascript:"]:after {
|
|
28
|
+
content: "";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
pre,
|
|
32
|
+
blockquote {
|
|
33
|
+
border: 1px solid #999;
|
|
34
|
+
page-break-inside: avoid;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
thead {
|
|
38
|
+
display: table-header-group;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
tr,
|
|
42
|
+
img {
|
|
43
|
+
page-break-inside: avoid;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
img {
|
|
47
|
+
max-width: 100% !important;
|
|
48
|
+
border-radius: 10px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
p,
|
|
52
|
+
h2,
|
|
53
|
+
h3 {
|
|
54
|
+
orphans: 3;
|
|
55
|
+
widows: 3;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
h2,
|
|
59
|
+
h3 {
|
|
60
|
+
page-break-after: avoid;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Inlinde code
|
|
65
|
+
code {
|
|
66
|
+
background-color: #f5f5fe;
|
|
67
|
+
border: #edc1d4 1px solid;
|
|
68
|
+
padding: 0px 4px 1px;
|
|
69
|
+
border-radius: 4px;
|
|
70
|
+
color: #bf125d;
|
|
71
|
+
}
|
|
72
|
+
// Block code
|
|
73
|
+
pre {
|
|
74
|
+
background-color: #334155;
|
|
75
|
+
color: #fff;
|
|
76
|
+
padding: 30px 0.75rem 10px;
|
|
77
|
+
border-radius: 5px;
|
|
78
|
+
margin-bottom: 6px;
|
|
79
|
+
line-height: 1.25;
|
|
80
|
+
overflow-x: scroll;
|
|
81
|
+
font-size: 15px;
|
|
82
|
+
position: relative;
|
|
83
|
+
&::before{
|
|
84
|
+
content: "";
|
|
85
|
+
background-color: #64748b;
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 0; height: 20px;
|
|
88
|
+
left: 0; right: 0;
|
|
89
|
+
z-index: 1;
|
|
90
|
+
}
|
|
91
|
+
&::after{
|
|
92
|
+
content: "";
|
|
93
|
+
background-color: #334155;
|
|
94
|
+
opacity: .5;
|
|
95
|
+
position: absolute;
|
|
96
|
+
width: 9px; height: 9px;
|
|
97
|
+
border-radius: 50%;
|
|
98
|
+
top: 6px; left: 10px;
|
|
99
|
+
z-index: 1;
|
|
100
|
+
}
|
|
101
|
+
code{
|
|
102
|
+
&::before{
|
|
103
|
+
content: "";
|
|
104
|
+
background-color: #334155;
|
|
105
|
+
opacity: .5;
|
|
106
|
+
position: absolute;
|
|
107
|
+
width: 9px; height: 9px;
|
|
108
|
+
border-radius: 50%;
|
|
109
|
+
top: 6px; left: 23px;
|
|
110
|
+
z-index: 1;
|
|
111
|
+
}
|
|
112
|
+
&::after{
|
|
113
|
+
content: "";
|
|
114
|
+
background-color: #334155;
|
|
115
|
+
opacity: .5;
|
|
116
|
+
position: absolute;
|
|
117
|
+
width: 9px; height: 9px;
|
|
118
|
+
border-radius: 50%;
|
|
119
|
+
top: 6px; left: 37px;
|
|
120
|
+
z-index: 1;
|
|
121
|
+
}
|
|
122
|
+
background: none;
|
|
123
|
+
padding: 0;
|
|
124
|
+
color: inherit;
|
|
125
|
+
border: none;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
hr {
|
|
130
|
+
height: .375em;
|
|
131
|
+
border-radius: 50px;
|
|
132
|
+
background-color: #dedeec;
|
|
133
|
+
border: none;
|
|
134
|
+
margin: 1rem 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
ul {
|
|
138
|
+
padding-left: 20px;
|
|
139
|
+
margin-bottom: 1.3rem;
|
|
140
|
+
li{
|
|
141
|
+
list-style: circle;
|
|
142
|
+
padding: 2px 0;
|
|
143
|
+
padding-left: 4px;
|
|
144
|
+
font-size: 1rem;
|
|
145
|
+
p{
|
|
146
|
+
margin: 0;
|
|
147
|
+
}
|
|
148
|
+
ul, ol{
|
|
149
|
+
margin-bottom: 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
ol {
|
|
154
|
+
padding-left: 30px;
|
|
155
|
+
margin-bottom: 1.3rem;
|
|
156
|
+
li{
|
|
157
|
+
list-style: auto;
|
|
158
|
+
padding: 2px 0;
|
|
159
|
+
padding-left: 4px;
|
|
160
|
+
font-size: 1rem;
|
|
161
|
+
p{
|
|
162
|
+
margin: 0;
|
|
163
|
+
}
|
|
164
|
+
ul, ol{
|
|
165
|
+
margin-bottom: 0;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
a,
|
|
171
|
+
a:visited {
|
|
172
|
+
color: #3498db;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
a:hover,
|
|
176
|
+
a:focus,
|
|
177
|
+
a:active {
|
|
178
|
+
color: #2980b9;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.modest-no-decoration {
|
|
182
|
+
text-decoration: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
html {
|
|
186
|
+
font-size: 12px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media screen and (min-width: 32rem) and (max-width: 48rem) {
|
|
190
|
+
html {
|
|
191
|
+
font-size: 15px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@media screen and (min-width: 48rem) {
|
|
196
|
+
html {
|
|
197
|
+
font-size: 16px;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
body {
|
|
202
|
+
line-height: 1.85;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
p,
|
|
206
|
+
.modest-p {
|
|
207
|
+
font-size: 1rem;
|
|
208
|
+
margin-bottom: 1.3rem;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
h1,
|
|
212
|
+
.modest-h1,
|
|
213
|
+
h2,
|
|
214
|
+
.modest-h2,
|
|
215
|
+
h3,
|
|
216
|
+
.modest-h3,
|
|
217
|
+
h4,
|
|
218
|
+
.modest-h4 {
|
|
219
|
+
margin: 1.414rem 0 .5rem;
|
|
220
|
+
font-weight: inherit;
|
|
221
|
+
line-height: 1.42;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
h1,
|
|
225
|
+
.modest-h1 {
|
|
226
|
+
margin-top: 0;
|
|
227
|
+
font-size: 2.6rem;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
h2,
|
|
231
|
+
.modest-h2 {
|
|
232
|
+
font-size: 1.8rem;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
h3,
|
|
236
|
+
.modest-h3 {
|
|
237
|
+
font-size: 1.4rem;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
h4,
|
|
241
|
+
.modest-h4 {
|
|
242
|
+
font-size: 1.2rem;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
h5,
|
|
246
|
+
.modest-h5 {
|
|
247
|
+
font-size: 1rem;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
h6,
|
|
251
|
+
.modest-h6 {
|
|
252
|
+
font-size: .88rem;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
small,
|
|
256
|
+
.modest-small {
|
|
257
|
+
font-size: .707em;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* https://github.com/mrmrs/fluidity */
|
|
261
|
+
|
|
262
|
+
img,
|
|
263
|
+
canvas,
|
|
264
|
+
iframe,
|
|
265
|
+
video,
|
|
266
|
+
svg,
|
|
267
|
+
select,
|
|
268
|
+
textarea {
|
|
269
|
+
max-width: 100%;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
html {
|
|
273
|
+
font-size: 18px;
|
|
274
|
+
max-width: 100%;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
body {
|
|
278
|
+
color: #444;
|
|
279
|
+
font-weight: 300;
|
|
280
|
+
margin: 0 auto;
|
|
281
|
+
max-width: 48rem;
|
|
282
|
+
line-height: 1.45;
|
|
283
|
+
padding: .25rem;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
h1,
|
|
287
|
+
h2,
|
|
288
|
+
h3,
|
|
289
|
+
h4,
|
|
290
|
+
h5,
|
|
291
|
+
h6 {
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
h2{
|
|
296
|
+
margin-top: 30px;
|
|
297
|
+
}
|
|
298
|
+
h3 {
|
|
299
|
+
margin-top: 20px;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
b, strong{
|
|
303
|
+
font-weight: 600;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
blockquote {
|
|
307
|
+
border-left: 8px solid #54aeff66;
|
|
308
|
+
background-color: #ddf4ff;
|
|
309
|
+
color: #064e8d;
|
|
310
|
+
border-radius: 5px;
|
|
311
|
+
padding: 12px 1rem;
|
|
312
|
+
padding-left: 32px;
|
|
313
|
+
margin-bottom: 6px;
|
|
314
|
+
font-size: 1.25rem;
|
|
315
|
+
position: relative;
|
|
316
|
+
&:before{
|
|
317
|
+
content: "\"";
|
|
318
|
+
font-size: 40px;
|
|
319
|
+
color: #54aeff66;
|
|
320
|
+
position: absolute;
|
|
321
|
+
left: 8px; top: 0;
|
|
322
|
+
}
|
|
323
|
+
p{
|
|
324
|
+
font-size: inherit;
|
|
325
|
+
margin-bottom: 0;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
table {
|
|
330
|
+
width: 100%;
|
|
331
|
+
margin-bottom: 6px;
|
|
332
|
+
text-align: left;
|
|
333
|
+
border-collapse: separate;
|
|
334
|
+
border-spacing: 0;
|
|
335
|
+
th, td{
|
|
336
|
+
border: rgb(156 163 175) 1px solid;
|
|
337
|
+
border-width: 1px 1px 0 0;
|
|
338
|
+
padding: 6px 12px;
|
|
339
|
+
font-size: 1rem;
|
|
340
|
+
vertical-align: top;
|
|
341
|
+
}
|
|
342
|
+
th {
|
|
343
|
+
background-color: #f5f5fe;
|
|
344
|
+
&:first-child{
|
|
345
|
+
border-radius: 5px 0 0 0;
|
|
346
|
+
border-left-width: 1px;
|
|
347
|
+
}
|
|
348
|
+
&:last-child{
|
|
349
|
+
border-radius: 0 5px 0 0;
|
|
350
|
+
border-right-width: 1px;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
td {
|
|
354
|
+
&:first-child{
|
|
355
|
+
border-left-width: 1px;
|
|
356
|
+
}
|
|
357
|
+
&:last-child{
|
|
358
|
+
border-right-width: 1px;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
tr:last-child{
|
|
362
|
+
td{
|
|
363
|
+
border-bottom-width: 1px;
|
|
364
|
+
&:first-child{
|
|
365
|
+
border-radius: 0 0 0 5px;
|
|
366
|
+
}
|
|
367
|
+
&:last-child{
|
|
368
|
+
border-radius: 0 0 5px 0;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.dasi-api-doc{
|
|
376
|
+
table {
|
|
377
|
+
width: 100%;
|
|
378
|
+
text-align: left;
|
|
379
|
+
border-collapse: separate;
|
|
380
|
+
border-spacing: 0;
|
|
381
|
+
th, td{
|
|
382
|
+
padding: 8px 16px;
|
|
383
|
+
font-size: 14px;
|
|
384
|
+
vertical-align: top;
|
|
385
|
+
}
|
|
386
|
+
th {
|
|
387
|
+
font-weight: 500;
|
|
388
|
+
border-bottom: #ddd 2px solid;
|
|
389
|
+
}
|
|
390
|
+
&.table-responses{
|
|
391
|
+
td{
|
|
392
|
+
padding-top: 12px;
|
|
393
|
+
}
|
|
394
|
+
tbody{
|
|
395
|
+
tr:first-child{
|
|
396
|
+
td{
|
|
397
|
+
border-top: none;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
package/src/index.d.ts
ADDED
package/src/index.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Main App Component
|
|
2
|
+
export { default as DasiApp } from './App.vue'
|
|
3
|
+
|
|
4
|
+
// Core Components
|
|
5
|
+
export { default as PageActivity } from './components/pages/PageActivity.vue'
|
|
6
|
+
export { default as DashboardDataTable } from './components/tables/DashboardDataTable.vue'
|
|
7
|
+
export { default as DataTableCell } from './components/tables/DataTableCell.vue'
|
|
8
|
+
|
|
9
|
+
// UI Components
|
|
10
|
+
export { default as BaseSelector } from './components/selector/BaseSelector.vue'
|
|
11
|
+
export { default as DateSelectorElement } from './vueform/elements/DateSelectorElement.vue'
|
|
12
|
+
|
|
13
|
+
// Layout Components
|
|
14
|
+
export { default as Header } from './components/pages/Header.vue'
|
|
15
|
+
|
|
16
|
+
// Composables
|
|
17
|
+
export { useAppConfig } from './composables/useAppConfig'
|
|
18
|
+
|
|
19
|
+
// Styles
|
|
20
|
+
import './main.scss'
|