oksy 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/.github/logo.svg +9 -0
- package/LICENCE.md +9 -0
- package/README.md +15 -0
- package/boot.js +19 -0
- package/library.js +1 -0
- package/package.json +23 -0
- package/public/assets/index.28af5a18.js +78 -0
- package/public/assets/index.4f053b26.js +78 -0
- package/public/assets/index.89a90711.css +1 -0
- package/public/index.html +41 -0
- package/tailwindcss/input.css +2 -0
- package/tailwindcss/tailwind.config.js +10 -0
- package/tsconfig.json +16 -0
- package/types/lang/en.d.ts +54 -0
- package/types/src/Bootstrap/BootstrapDatabase.d.ts +3 -0
- package/types/src/Bootstrap/BuildFrontend.d.ts +3 -0
- package/types/src/Bootstrap/GenerateModelsFile.d.ts +2 -0
- package/types/src/Bootstrap/GetDatabaseMapFromSqlite.d.ts +4 -0
- package/types/src/Bootstrap/OrganizeSqlTables.d.ts +6 -0
- package/types/src/Bootstrap/ReadFileSystemFilesToTsFiles.d.ts +5 -0
- package/types/src/Bootstrap/ScafoldFiles.d.ts +1 -0
- package/types/src/Bootstrap/SqliteClient.d.ts +27 -0
- package/types/src/Bootstrap/TsFilesToBlueprint/AstWalker.d.ts +7 -0
- package/types/src/Bootstrap/TsFilesToBlueprint/Blueprint.d.ts +41 -0
- package/types/src/Bootstrap/TsFilesToBlueprint/GetLineNumberOfCharPos.d.ts +1 -0
- package/types/src/Bootstrap/TsFilesToBlueprint/TsFilesToBlueprints.d.ts +3 -0
- package/types/src/Frontend/Controllers/ForgotPasswordController.d.ts +6 -0
- package/types/src/Frontend/Controllers/LoginController.d.ts +15 -0
- package/types/src/Frontend/Controllers/PageController.d.ts +24 -0
- package/types/src/Frontend/Controllers/RegisterController.d.ts +20 -0
- package/types/src/Frontend/Controllers/ResetPasswordController.d.ts +15 -0
- package/types/src/Frontend/Controllers/ResumeSessionController.d.ts +10 -0
- package/types/src/Frontend/Exceptions.d.ts +3 -0
- package/types/src/Frontend/FrontendConfig.d.ts +2 -0
- package/types/src/Frontend/GoogleIcons.d.ts +2 -0
- package/types/src/Frontend/View/BasePage.d.ts +22 -0
- package/types/src/Frontend/View/Components/Button.d.ts +29 -0
- package/types/src/Frontend/View/Components/Container.d.ts +22 -0
- package/types/src/Frontend/View/Components/DataTable.d.ts +51 -0
- package/types/src/Frontend/View/Components/FileUpload.d.ts +26 -0
- package/types/src/Frontend/View/Components/FlatOrFunc.d.ts +5 -0
- package/types/src/Frontend/View/Components/Input.d.ts +22 -0
- package/types/src/Frontend/View/Components/Layout/DarkSidebar.d.ts +29 -0
- package/types/src/Frontend/View/Components/Select.d.ts +45 -0
- package/types/src/Frontend/View/Components/Text.d.ts +16 -0
- package/types/src/Frontend/View/Components/Toggle.d.ts +20 -0
- package/types/src/Frontend/View/UI.d.ts +23 -0
- package/types/src/Helper/AsyncGlob.d.ts +1 -0
- package/types/src/Helper/CallStack.d.ts +8 -0
- package/types/src/Helper/DateTime.d.ts +5 -0
- package/types/src/Helper/ExecAsync.d.ts +1 -0
- package/types/src/Helper/Fingerprint.d.ts +1 -0
- package/types/src/Helper/FormatBytes.d.ts +1 -0
- package/types/src/Helper/Hash.d.ts +1 -0
- package/types/src/Helper/IsEmpty.d.ts +1 -0
- package/types/src/Helper/Log.d.ts +1 -0
- package/types/src/Helper/MemoryUsage.d.ts +3 -0
- package/types/src/Helper/MergeObjects.d.ts +1 -0
- package/types/src/Helper/PasswordResetLink.d.ts +2 -0
- package/types/src/Helper/Print.d.ts +1 -0
- package/types/src/Helper/Search.d.ts +3 -0
- package/types/src/Helper/Seeder.d.ts +8 -0
- package/types/src/Helper/SnakeCase.d.ts +1 -0
- package/types/src/Helper/StringToSlug.d.ts +1 -0
- package/types/src/Helper/UUID.d.ts +2 -0
- package/types/src/Helper/WatchFolder.d.ts +1 -0
- package/types/src/Mailer/GetMailInstance.d.ts +3 -0
- package/types/src/Mailer/IMailer.d.ts +7 -0
- package/types/src/Mailer/JsToEmail.d.ts +11 -0
- package/types/src/Mailer/LogMailer.d.ts +8 -0
- package/types/src/Mailer/SMTPMailer.d.ts +11 -0
- package/types/src/ReactiveStore/BaseEntity.d.ts +47 -0
- package/types/src/ReactiveStore/HydrateReactiveStore.d.ts +5 -0
- package/types/src/ReactiveStore/Many.d.ts +25 -0
- package/types/src/ReactiveStore/ModelMaker.d.ts +16 -0
- package/types/src/ReactiveStore/ModelValidator.d.ts +3 -0
- package/types/src/ReactiveStore/Proxify.d.ts +4 -0
- package/types/src/ReactiveStore/ReactiveStore.d.ts +57 -0
- package/types/src/ReactiveStore/Validators/EmailValidator.d.ts +7 -0
- package/types/src/ReactiveStore/Validators/IValidator.d.ts +4 -0
- package/types/src/ReactiveStore/Validators/MinLengthValidator.d.ts +8 -0
- package/types/src/Server/RegisterFileUploader.d.ts +3 -0
- package/types/src/Server/RegisterSPA.d.ts +2 -0
- package/types/src/Server/RegisterSocketServer.d.ts +5 -0
- package/types/src/Server/Socket/BaseCommunicator.d.ts +43 -0
- package/types/src/Server/Socket/PageManager.d.ts +22 -0
- package/types/src/Server/Socket/SessionManager.d.ts +25 -0
- package/types/src/Server/Socket/WebSocketClient.d.ts +6 -0
- package/types/src/Server/Socket/WebSocketServerClient.d.ts +12 -0
- package/types/src/Server/StartWebServer.d.ts +4 -0
- package/types/src/SqlQueue/SqlQueue.d.ts +12 -0
- package/types/src/boot.d.ts +1 -0
- package/types/src/default.config.d.ts +2 -0
- package/types/src/library.d.ts +9 -0
- package/types/src/library.pub.d.ts +55 -0
- package/types/types/config.d.ts +18 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const googleIcons: readonly ["search", "home", "menu", "close", "settings", "expand_more", "done", "check_circle", "favorite", "add", "delete", "arrow_back", "star", "chevron_right", "logout", "arrow_forward_ios", "add_circle", "cancel", "arrow_back_ios", "file_download", "arrow_forward", "arrow_drop_down", "more_vert", "check", "check_box", "toggle_on", "grade", "open_in_new", "check_box_outline_blank", "refresh", "login", "chevron_left", "expand_less", "radio_button_unchecked", "more_horiz", "arrow_right_alt", "apps", "radio_button_checked", "file_upload", "download", "remove", "toggle_off", "bolt", "arrow_upward", "filter_list", "delete_forever", "autorenew", "key", "sort", "arrow_downward", "add_box", "sync", "block", "arrow_back_ios_new", "restart_alt", "menu_open", "shopping_cart_checkout", "expand_circle_down", "backspace", "arrow_circle_right", "undo", "done_all", "arrow_right", "do_not_disturb_on", "open_in_full", "double_arrow", "manage_search", "sync_alt", "zoom_in", "done_outline", "drag_indicator", "fullscreen", "keyboard_double_arrow_right", "star_half", "settings_accessibility", "ios_share", "arrow_drop_up", "reply", "exit_to_app", "unfold_more", "library_add", "cached", "select_check_box", "terminal", "disabled_by_default", "change_circle", "swap_horiz", "swap_vert", "arrow_circle_left", "download_for_offline", "app_registration", "arrow_circle_up", "close_fullscreen", "file_open", "minimize", "keyboard_double_arrow_left", "open_with", "keyboard_double_arrow_down", "dataset", "add_task", "start", "create_new_folder", "keyboard_voice", "forward", "settings_applications", "downloading", "compare_arrows", "zoom_out", "redo", "arrow_left", "publish", "html", "token", "switch_access_shortcut", "arrow_circle_down", "fullscreen_exit", "delete_sweep", "sort_by_alpha", "indeterminate_check_box", "first_page", "keyboard_double_arrow_up", "view_timeline", "arrow_drop_down_circle", "settings_backup_restore", "assistant_navigation", "clear_all", "sync_problem", "density_medium", "filter_alt_off", "last_page", "heart_plus", "expand", "subdirectory_arrow_right", "download_done", "unfold_less", "arrow_outward", "swipe_left", "123", "saved_search", "auto_mode", "place_item", "system_update_alt", "maximize", "javascript", "search_off", "select_all", "output", "swipe_up", "fit_screen", "dynamic_form", "hide_source", "swipe_right", "switch_access_shortcut_add", "css", "browse_gallery", "density_small", "assistant_direction", "file_download_done", "youtube_searched_for", "check_small", "move_up", "swap_horizontal_circle", "data_thresholding", "install_mobile", "move_down", "restore_from_trash", "dataset_linked", "abc", "enable", "install_desktop", "keyboard_command_key", "view_kanban", "reply_all", "switch_left", "browse_activity", "compress", "swipe_down", "swap_vertical_circle", "remove_done", "filter_list_off", "apps_outage", "switch_right", "hide", "swipe_vertical", "more_up", "keyboard_control_key", "pinch", "sync_disabled", "eject", "key_off", "php", "subdirectory_arrow_left", "star_rate", "view_cozy", "send_time_extension", "do_not_disturb_off", "width_normal", "transcribe", "heart_minus", "view_comfy_alt", "width_full", "share_reviews", "view_compact_alt", "unfold_more_double", "file_download_off", "extension_off", "open_in_new_off", "vpn_key_off", "more_down", "check_indeterminate_small", "width_wide", "repartition", "swipe_left_alt", "density_large", "swipe_down_alt", "swipe_right_alt", "swipe_up_alt", "unfold_less_double", "keyboard_option_key", "hls", "hls_off", "file_upload_off", "cycle", "rebase", "empty_dashboard", "rebase_edit", "expand_content", "magnification_large", "magnification_small", "arrow_insert", "person", "group", "share", "thumb_up", "groups", "person_add", "public", "support_agent", "handshake", "face", "sentiment_satisfied", "rocket_launch", "group_add", "workspace_premium", "psychology", "person_filled", "water_drop", "emoji_objects", "eco", "pets", "diversity_3", "travel_explore", "mood", "sunny", "quiz", "health_and_safety", "sentiment_dissatisfied", "sentiment_very_satisfied", "military_tech", "recycling", "thumb_down", "gavel", "diamond", "monitor_heart", "emoji_people", "vaccines", "workspaces", "diversity_1", "compost", "forest", "recommend", "waving_hand", "person_remove", "wc", "medication", "group_work", "sentiment_very_dissatisfied", "sentiment_neutral", "diversity_2", "front_hand", "man", "cruelty_free", "medical_information", "coronavirus", "rocket", "psychology_alt", "add_reaction", "female", "potted_plant", "emoji_nature", "rainy", "person_off", "woman", "connect_without_contact", "cookie", "male", "mood_bad", "solar_power", "bedtime", "thunderstorm", "communication", "groups_2", "partly_cloudy_day", "cloudy", "thumbs_up_down", "masks", "emoji_flags", "hive", "heart_broken", "sentiment_extremely_dissatisfied", "clear_day", "boy", "whatshot", "emoji_food_beverage", "emoji_transportation", "wind_power", "elderly", "face_6", "vpn_lock", "reduce_capacity", "sick", "pregnant_woman", "bloodtype", "group_remove", "medication_liquid", "egg", "face_3", "co2", "weight", "groups_3", "follow_the_signs", "skull", "transgender", "oil_barrel", "elderly_woman", "face_4", "clean_hands", "sanitizer", "bring_your_own_ip", "person_2", "cloudy_filled", "social_distance", "public_off", "sign_language", "face_2", "south_america", "sunny_snowing", "routine", "emoji_symbols", "garden_cart", "flood", "egg_alt", "face_5", "cyclone", "girl", "person_4", "dentistry", "tsunami", "outdoor_garden", "group_off", "partly_cloudy_night", "snowing", "severe_cold", "person_3", "tornado", "vaping_rooms", "landslide", "foggy", "safety_divider", "woman_2", "no_adult_content", "volcano", "man_2", "18_up_rating", "blind", "6_ft_apart", "vape_free", "not_accessible", "man_4", "radiology", "rib_cage", "bedtime_off", "hand_bones", "rheumatology", "man_3", "orthopedics", "tibia", "skeleton", "humerus", "agender", "femur", "tibia_alt", "femur_alt", "foot_bones", "humerus_alt", "ulna_radius", "ulna_radius_alt", "specific_gravity", "diversity_4", "breastfeeding", "prayer_times", "account_circle", "info", "visibility", "calendar_month", "schedule", "help", "language", "lock", "warning", "error", "visibility_off", "verified", "manage_accounts", "task_alt", "history", "event", "bookmark", "calendar_today", "tips_and_updates", "question_mark", "fingerprint", "lightbulb", "category", "update", "lock_open", "priority_high", "code", "date_range", "build", "upload_file", "supervisor_account", "event_available", "ads_click", "today", "settings_suggest", "touch_app", "preview", "pending", "stars", "account_box", "new_releases", "celebration", "how_to_reg", "push_pin", "alarm", "edit_calendar", "bug_report", "edit_square", "label", "event_note", "extension", "rate_review", "hourglass_empty", "record_voice_over", "web", "published_with_changes", "support", "notification_important", "help_center", "bookmarks", "upload", "accessibility_new", "pan_tool_alt", "supervised_user_circle", "collections_bookmark", "interests", "dangerous", "all_inclusive", "rule", "change_history", "priority", "event_upcoming", "build_circle", "pan_tool", "wysiwyg", "circle_notifications", "hotel_class", "api", "manage_history", "accessible", "web_asset", "upgrade", "lock_reset", "bookmark_add", "input", "event_busy", "flutter_dash", "more_time", "save_as", "backup", "accessibility", "dynamic_feed", "alarm_on", "pageview", "model_training", "perm_contact_calendar", "label_important", "history_toggle_off", "square_foot", "more", "swipe", "approval", "component_exchange", "event_repeat", "assistant", "bookmark_added", "app_shortcut", "open_in_browser", "unpublished", "offline_bolt", "notification_add", "no_accounts", "free_cancellation", "background_replace", "running_with_errors", "anchor", "3d_rotation", "hourglass_full", "lock_person", "new_label", "lock_clock", "auto_delete", "accessible_forward", "add_alert", "domain_verification", "smart_button", "outbound", "settings_power", "tab", "hand_gesture", "chrome_reader_mode", "online_prediction", "gesture", "edit_notifications", "generating_tokens", "find_replace", "lightbulb_circle", "backup_table", "wifi_protected_setup", "offline_pin", "ad_units", "http", "bookmark_remove", "alarm_add", "pinch_zoom_out", "on_device_training", "snooze", "code_off", "batch_prediction", "pinch_zoom_in", "commit", "hourglass_disabled", "settings_overscan", "person_add_disabled", "voice_over_off", "alarm_off", "update_disabled", "time_auto", "timer_10_alt_1", "rounded_corner", "all_out", "label_off", "timer_3_alt_1", "tab_unselected", "rsvp", "web_asset_off", "pin_invoke", "pin_end", "approval_delegation", "code_blocks", "settings_account_box", "mail", "call", "notifications", "send", "chat", "link", "forum", "inventory_2", "phone_in_talk", "contact_support", "chat_bubble", "notifications_active", "alternate_email", "sms", "comment", "power_settings_new", "hub", "person_search", "import_contacts", "contact_mail", "contacts", "live_help", "forward_to_inbox", "mark_email_unread", "lan", "contact_phone", "mode_comment", "reviews", "hourglass_top", "inbox", "drafts", "outgoing_mail", "hourglass_bottom", "mark_email_read", "sms_failed", "link_off", "calendar_add_on", "phone_enabled", "add_comment", "speaker_notes", "perm_phone_msg", "co_present", "topic", "call_end", "notifications_off", "cell_tower", "mark_chat_unread", "schedule_send", "dialpad", "call_made", "mark_unread_chat_alt", "unarchive", "satellite_alt", "3p", "cancel_presentation", "mark_as_unread", "move_to_inbox", "attach_email", "phonelink_ring", "next_plan", "unsubscribe", "phone_callback", "call_received", "settings_phone", "call_split", "present_to_all", "add_call", "markunread_mailbox", "all_inbox", "voice_chat", "phone_forwarded", "mail_lock", "voicemail", "attribution", "duo", "contact_emergency", "mark_chat_read", "upcoming", "outbox", "swap_calls", "phone_disabled", "spoke", "phonelink_lock", "cancel_schedule_send", "ring_volume", "notifications_paused", "quickreply", "picture_in_picture_alt", "comment_bank", "phone_missed", "send_and_archive", "chat_add_on", "settings_bluetooth", "phonelink_erase", "picture_in_picture", "comments_disabled", "video_chat", "pause_presentation", "score", "speaker_phone", "speaker_notes_off", "cell_wifi", "auto_read_play", "mms", "play_for_work", "call_merge", "call_missed_outgoing", "wifi_channel", "call_missed", "calendar_apps_script", "phone_paused", "rtt", "auto_read_pause", "phone_locked", "wifi_calling", "dialer_sip", "chat_apps_script", "nat", "sip", "phone_bluetooth_speaker", "e911_avatar", "inbox_customize", "edit", "photo_camera", "filter_alt", "image", "navigate_next", "tune", "timer", "picture_as_pdf", "circle", "palette", "auto_awesome", "add_a_photo", "photo_library", "magic_button", "navigate_before", "auto_stories", "add_photo_alternate", "brush", "imagesmode", "nature", "flash_on", "wb_sunny", "camera", "straighten", "looks_one", "landscape", "timelapse", "slideshow", "rotate_right", "grid_on", "crop_square", "style", "adjust", "crop_free", "aspect_ratio", "brightness_6", "photo", "nature_people", "filter_vintage", "crop", "image_search", "blur_on", "movie_filter", "contrast", "center_focus_strong", "face_retouching_natural", "looks_two", "rotate_left", "compare", "colorize", "flare", "wb_incandescent", "filter_none", "filter_drama", "healing", "looks_3", "brightness_5", "wb_twilight", "invert_colors", "lens", "opacity", "animation", "incomplete_circle", "broken_image", "filter_center_focus", "add_to_photos", "flip", "flash_off", "brightness_4", "center_focus_weak", "auto_awesome_motion", "lens_blur", "mic_external_on", "details", "flip_camera_android", "no_photography", "grain", "panorama", "image_not_supported", "web_stories", "dehaze", "flaky", "loupe", "exposure_plus_1", "gif_box", "settings_brightness", "texture", "auto_awesome_mosaic", "looks_4", "filter_1", "flip_camera_ios", "timer_off", "camera_enhance", "panorama_fish_eye", "view_compact", "filter", "brightness_1", "control_point_duplicate", "photo_album", "photo_camera_front", "brightness_7", "view_comfy", "linked_camera", "crop_16_9", "transform", "hide_image", "looks", "looks_5", "exposure", "rotate_90_degrees_ccw", "photo_filter", "brightness_3", "filter_hdr", "gif", "crop_7_5", "leak_add", "gradient", "hdr_strong", "vrpano", "blur_circular", "crop_portrait", "hdr_auto", "camera_roll", "rotate_90_degrees_cw", "motion_photos_auto", "brightness_2", "photo_size_select_small", "looks_6", "shutter_speed", "camera_front", "flash_auto", "crop_landscape", "filter_2", "filter_tilt_shift", "monochrome_photos", "deblur", "crop_5_4", "hdr_weak", "filter_4", "motion_photos_paused", "night_sight_auto", "astrophotography_auto", "crop_3_2", "filter_3", "crop_rotate", "tonality", "switch_camera", "photo_frame", "exposure_zero", "photo_size_select_large", "filter_frames", "party_mode", "fluorescent", "ev_shadow", "motion_blur", "exposure_plus_2", "blur_linear", "exposure_neg_1", "photo_camera_back", "wb_iridescent", "filter_b_and_w", "panorama_horizontal", "motion_photos_off", "switch_video", "blur_medium", "filter_5", "raw_on", "invert_colors_off", "filter_7", "burst_mode", "face_retouching_off", "panorama_photosphere", "grid_off", "hdr_on", "filter_9_plus", "blur_short", "filter_8", "filter_9", "timer_10", "wb_shade", "dirty_lens", "no_flash", "trail_length", "image_aspect_ratio", "filter_6", "exposure_neg_2", "vignette", "timer_3", "leak_remove", "60fps_select", "30fps_select", "blur_off", "mic_external_off", "perm_camera_mic", "trail_length_medium", "panorama_vertical", "trail_length_short", "autofps_select", "camera_rear", "night_sight_auto_off", "panorama_wide_angle", "mp", "hdr_enhanced_select", "24mp", "hdr_on_select", "auto_fix_high", "hdr_off", "22mp", "10mp", "18mp", "12mp", "astrophotography_off", "wb_auto", "9mp", "hdr_auto_select", "hdr_plus", "13mp", "raw_off", "15mp", "auto_fix_normal", "hdr_off_select", "16mp", "20mp", "7mp", "19mp", "auto_fix", "hevc", "14mp", "5mp", "6mp", "8mp", "11mp", "23mp", "2mp", "3mp", "21mp", "17mp", "4mp", "auto_fix_off", "settings_night_sight", "motion_mode", "settings_motion_mode", "settings_panorama", "settings_photo_camera", "shopping_cart", "payments", "shopping_bag", "monitoring", "credit_card", "receipt_long", "attach_money", "storefront", "sell", "trending_up", "account_balance", "database", "work", "paid", "account_balance_wallet", "analytics", "insights", "query_stats", "store", "savings", "monetization_on", "calculate", "qr_code_scanner", "bar_chart", "add_shopping_cart", "account_tree", "receipt", "redeem", "currency_exchange", "trending_flat", "shopping_basket", "qr_code_2", "domain", "qr_code", "leaderboard", "precision_manufacturing", "corporate_fare", "timeline", "currency_rupee", "insert_chart", "euro", "wallet", "show_chart", "work_history", "credit_score", "meeting_room", "barcode_scanner", "pie_chart", "loyalty", "copyright", "barcode", "conversion_path", "track_changes", "auto_graph", "euro_symbol", "trending_down", "price_check", "add_business", "schema", "add_card", "card_membership", "currency_bitcoin", "price_change", "production_quantity_limits", "donut_large", "tenancy", "data_exploration", "donut_small", "bubble_chart", "money", "contactless", "stacked_line_chart", "toll", "stacked_bar_chart", "money_off", "cases", "currency_yen", "currency_pound", "area_chart", "remove_shopping_cart", "room_preferences", "add_chart", "shop", "card_travel", "domain_add", "grouped_bar_chart", "legend_toggle", "scatter_plot", "credit_card_off", "ssid_chart", "mediation", "candlestick_chart", "currency_ruble", "waterfall_chart", "full_stacked_bar_chart", "domain_disabled", "shop_two", "strikethrough_s", "next_week", "atm", "multiline_chart", "currency_lira", "currency_yuan", "no_meeting_room", "currency_franc", "autopay", "contactless_off", "pin_drop", "location_on", "map", "home_pin", "explore", "restaurant", "flag", "my_location", "local_fire_department", "person_pin_circle", "local_mall", "near_me", "where_to_vote", "business_center", "east", "restaurant_menu", "handyman", "factory", "local_library", "medical_services", "home_work", "layers", "local_activity", "share_location", "emergency", "north_east", "add_location", "fastfood", "warehouse", "person_pin", "navigation", "local_parking", "home_repair_service", "local_hospital", "south", "local_police", "zoom_out_map", "location_searching", "local_florist", "location_away", "west", "crisis_alert", "local_gas_station", "maps_ugc", "park", "cleaning_services", "local_atm", "package", "360", "electrical_services", "north", "add_location_alt", "flag_circle", "fmd_bad", "theater_comedy", "directions", "local_drink", "local_pizza", "local_post_office", "location_home", "wine_bar", "not_listed_location", "beenhere", "local_convenience_store", "signpost", "alt_route", "location_automation", "tour", "church", "trip_origin", "traffic", "local_laundry_service", "ev_station", "takeout_dining", "safety_check", "moving", "zoom_in_map", "soup_kitchen", "stadium", "transfer_within_a_station", "location_off", "connecting_airports", "multiple_stop", "pest_control", "edit_location", "wrong_location", "plumbing", "mode_of_travel", "minor_crash", "south_east", "local_pharmacy", "add_road", "fire_truck", "dry_cleaning", "castle", "set_meal", "baby_changing_station", "layers_clear", "mosque", "edit_location_alt", "north_west", "local_car_wash", "edit_attributes", "run_circle", "transit_enterexit", "satellite", "sos", "edit_road", "south_west", "add_home", "kebab_dining", "streetview", "airline_stops", "fire_hydrant", "local_see", "assist_walker", "add_home_work", "flight_class", "no_meals", "remove_road", "synagogue", "fort", "temple_buddhist", "location_disabled", "compass_calibration", "temple_hindu", "explore_off", "pest_control_rodent", "near_me_disabled", "directions_alt", "pergola", "directions_off", "directions_alt_off", "description", "content_copy", "dashboard", "edit_note", "menu_book", "grid_view", "list", "folder", "list_alt", "inventory", "folder_open", "article", "fact_check", "attach_file", "format_list_bulleted", "assignment", "task", "checklist", "cloud_upload", "draft", "summarize", "feed", "draw", "cloud", "newspaper", "view_list", "file_copy", "note_add", "border_color", "book", "history_edu", "design_services", "pending_actions", "format_quote", "post_add", "request_quote", "cloud_download", "drag_handle", "contact_page", "table", "space_dashboard", "archive", "content_paste", "percent", "attachment", "assignment_ind", "format_list_numbered", "assignment_turned_in", "tag", "table_chart", "sticky_note_2", "dashboard_customize", "reorder", "text_fields", "integration_instructions", "format_bold", "find_in_page", "note", "text_snippet", "document_scanner", "checklist_rtl", "note_alt", "cloud_sync", "edit_document", "table_rows", "perm_media", "title", "cloud_done", "table_view", "content_cut", "notes", "data_object", "cut", "subject", "functions", "format_italic", "content_paste_search", "format_color_fill", "plagiarism", "folder_shared", "horizontal_rule", "file_present", "folder_copy", "format_align_left", "ballot", "team_dashboard", "format_paint", "add_link", "read_more", "difference", "view_column", "cloud_off", "view_agenda", "format_size", "format_underlined", "vertical_align_top", "toc", "height", "vertical_align_bottom", "copy_all", "format_color_text", "view_week", "view_module", "assignment_late", "assignment_return", "format_align_center", "low_priority", "folder_special", "segment", "calendar_view_month", "polyline", "folder_zip", "square", "breaking_news_alt_1", "format_align_right", "grading", "view_headline", "view_quilt", "edit_off", "linear_scale", "view_carousel", "request_page", "text_increase", "view_sidebar", "pages", "text_format", "format_align_justify", "calendar_view_week", "hexagon", "numbers", "docs_add_on", "folder_delete", "format_shapes", "forms_add_on", "imagesearch_roller", "calendar_view_day", "join_full", "video_file", "cloud_queue", "format_list_numbered_rtl", "font_download", "content_paste_go", "restore_page", "join_inner", "rectangle", "format_color_reset", "vertical_split", "view_stream", "rule_folder", "cloud_circle", "format_indent_increase", "spellcheck", "assignment_returned", "data_array", "align_horizontal_left", "text_decrease", "pivot_table_chart", "deselect", "vertical_align_center", "space_bar", "view_day", "flip_to_front", "format_strikethrough", "merge_type", "pentagon", "border_all", "join_left", "short_text", "shape_line", "format_line_spacing", "line_weight", "horizontal_split", "format_indent_decrease", "align_horizontal_center", "join_right", "snippet_folder", "subtitles_off", "align_vertical_bottom", "folder_off", "align_horizontal_right", "glyphs", "format_clear", "insert_page_break", "content_paste_off", "vertical_distribute", "superscript", "horizontal_distribute", "line_axis", "line_style", "function", "flip_to_back", "align_vertical_center", "align_vertical_top", "margin", "clarify", "view_array", "wrap_text", "subscript", "border_clear", "border_style", "border_outer", "type_specimen", "text_rotate_vertical", "padding", "amp_stories", "forms_apps_script", "border_vertical", "text_rotation_none", "format_textdirection_l_to_r", "format_overline", "docs_apps_script", "border_horizontal", "font_download_off", "format_textdirection_r_to_l", "text_rotation_angleup", "border_bottom", "border_top", "border_left", "text_rotation_down", "border_inner", "text_rotation_angledown", "text_rotate_up", "border_right", "format_h1", "assignment_add", "finance_chip", "format_underlined_squiggle", "format_h2", "format_paragraph", "format_image_left", "format_list_bulleted_add", "view_column_2", "join", "format_h3", "format_h5", "format_h6", "format_image_right", "format_h4", "location_chip", "process_chart", "voting_chip", "variables", "business_chip", "attach_file_add", "play_arrow", "play_circle", "mic", "videocam", "volume_up", "pause", "music_note", "library_books", "movie", "skip_next", "speed", "replay", "volume_off", "view_in_ar", "pause_circle", "fiber_manual_record", "skip_previous", "stop_circle", "stop", "equalizer", "subscriptions", "video_library", "fast_forward", "playlist_add", "video_call", "repeat", "volume_mute", "shuffle", "mic_off", "library_music", "playlist_add_check", "podcasts", "hearing", "fast_rewind", "queue_music", "sound_detection_dog_barking", "video_camera_front", "subtitles", "volume_down", "album", "play_pause", "radio", "discover_tune", "av_timer", "library_add_check", "videocam_off", "closed_caption", "stream", "forward_10", "replay_circle_filled", "not_started", "playlist_play", "replay_10", "fiber_new", "branding_watermark", "recent_actors", "playlist_remove", "text_to_speech", "interpreter_mode", "slow_motion_video", "frame_person", "playlist_add_check_circle", "settings_voice", "video_settings", "featured_play_list", "audio_file", "lyrics", "sound_detection_loud_sound", "play_lesson", "hd", "repeat_one", "call_to_action", "add_to_queue", "music_off", "high_quality", "video_camera_back", "spatial_audio_off", "shuffle_on", "playlist_add_circle", "volume_down_alt", "hearing_disabled", "featured_video", "replay_5", "repeat_on", "queue_play_next", "art_track", "spatial_audio", "airplay", "explicit", "forward_5", "4k", "music_video", "forward_30", "speech_to_text", "replay_30", "spatial_tracking", "control_camera", "closed_caption_disabled", "digital_out_of_home", "video_label", "fiber_smart_record", "repeat_one_on", "play_disabled", "sd", "broadcast_on_personal", "missed_video_call", "surround_sound", "10k", "sound_detection_glass_break", "remove_from_queue", "fiber_pin", "60fps", "broadcast_on_home", "fiber_dvr", "30fps", "4k_plus", "video_stable", "8k", "1k", "privacy", "2k", "8k_plus", "1k_plus", "7k", "9k_plus", "9k", "5k", "2k_plus", "5k_plus", "6k", "6k_plus", "3k", "7k_plus", "3k_plus", "cinematic_blur", "auto_detect_voice", "media_link", "video_camera_front_off", "movie_edit", "local_shipping", "directions_car", "flight", "directions_run", "directions_walk", "flight_takeoff", "directions_bus", "directions_bike", "train", "airport_shuttle", "pedal_bike", "directions_boat", "two_wheeler", "agriculture", "local_taxi", "sailing", "electric_car", "flight_land", "hail", "no_crash", "commute", "motorcycle", "car_crash", "tram", "departure_board", "subway", "electric_moped", "turn_right", "electric_scooter", "fork_right", "directions_subway", "tire_repair", "electric_bike", "rv_hookup", "bus_alert", "turn_left", "transportation", "airlines", "taxi_alert", "u_turn_left", "directions_railway", "electric_rickshaw", "turn_slight_right", "fork_left", "u_turn_right", "railway_alert", "bike_scooter", "turn_slight_left", "turn_sharp_right", "no_transfer", "snowmobile", "turn_sharp_left", "school", "campaign", "construction", "engineering", "volunteer_activism", "science", "sports_esports", "confirmation_number", "real_estate_agent", "cake", "sports_soccer", "self_improvement", "air", "biotech", "water", "hiking", "architecture", "personal_injury", "sports_score", "sports_basketball", "waves", "theaters", "sports_tennis", "switch_account", "nights_stay", "sports_gymnastics", "backpack", "sports_motorsports", "sports_kabaddi", "surfing", "piano", "how_to_vote", "sports", "toys", "sports_volleyball", "sports_martial_arts", "sports_baseball", "camping", "downhill_skiing", "kayaking", "swords", "scoreboard", "phishing", "sports_handball", "sports_football", "skateboarding", "sports_golf", "sports_cricket", "nordic_walking", "toys_fan", "roller_skating", "kitesurfing", "rowing", "scuba_diving", "sports_mma", "storm", "paragliding", "sports_hockey", "snowboarding", "ice_skating", "snowshoeing", "sports_rugby", "sledding", "piano_off", "no_backpack", "cake_add", "phone_iphone", "save", "smartphone", "print", "keyboard_arrow_down", "computer", "devices", "desktop_windows", "smart_display", "dns", "keyboard_backspace", "headphones", "smart_toy", "keyboard_arrow_right", "phone_android", "memory", "live_tv", "keyboard", "headset_mic", "laptop_mac", "keyboard_arrow_up", "tv", "device_thermostat", "mouse", "balance", "route", "point_of_sale", "keyboard_arrow_left", "keyboard_return", "laptop_chromebook", "power", "laptop_windows", "router", "developer_board", "display_settings", "watch", "book_online", "scale", "fax", "developer_mode", "cast", "cast_for_education", "videogame_asset", "device_hub", "straight", "screen_search_desktop", "desktop_mac", "settings_ethernet", "settings_input_antenna", "mobile_friendly", "monitor", "important_devices", "tablet_mac", "settings_remote", "send_to_mobile", "system_update", "devices_other", "monitor_weight", "screen_rotation", "screen_share", "settings_input_component", "keyboard_alt", "speaker", "power_off", "keyboard_tab", "sim_card", "vibration", "merge", "remember_me", "screenshot_monitor", "connected_tv", "browser_updated", "tablet", "security_update_good", "sd_card", "device_unknown", "cast_connected", "charging_station", "tablet_android", "punch_clock", "phonelink_setup", "scanner", "screenshot", "settings_input_hdmi", "stay_current_portrait", "print_disabled", "tap_and_play", "keyboard_hide", "security_update_warning", "disc_full", "keyboard_capslock", "app_blocking", "speaker_group", "mobile_screen_share", "aod", "tty", "sd_card_alert", "lift_to_talk", "add_to_home_screen", "earbuds", "stop_screen_share", "perm_device_information", "headset_off", "mobile_off", "reset_tv", "adf_scanner", "desktop_access_disabled", "offline_share", "headphones_battery", "roundabout_right", "screen_lock_portrait", "settings_input_svideo", "settop_component", "dock", "watch_off", "smart_screen", "stay_current_landscape", "settings_cell", "earbuds_battery", "power_input", "chromecast_device", "no_sim", "screen_lock_landscape", "home_max", "roundabout_left", "stay_primary_portrait", "stay_primary_landscape", "developer_board_off", "tv_off", "ramp_right", "home_mini", "phonelink_off", "ramp_left", "screen_lock_rotation", "videogame_asset_off", "aod_tablet", "dark_mode", "light_mode", "wifi", "signal_cellular_alt", "password", "widgets", "pin", "rss_feed", "storage", "battery_full", "wifi_off", "bluetooth", "dvr", "battery_charging_full", "thermostat", "graphic_eq", "nightlight", "battery_5_bar", "signal_wifi_4_bar", "gpp_maybe", "cable", "gpp_bad", "data_usage", "battery_4_bar", "battery_full_alt", "signal_cellular_4_bar", "airplanemode_active", "radar", "cameraswitch", "battery_0_bar", "signal_disconnected", "wallpaper", "flashlight_on", "network_check", "battery_6_bar", "charger", "wifi_tethering", "usb", "sim_card_download", "splitscreen", "battery_3_bar", "battery_1_bar", "network_wifi_3_bar", "adb", "battery_low", "battery_alert", "bluetooth_searching", "network_wifi", "bluetooth_connected", "battery_2_bar", "5g", "brightness_high", "network_cell", "nfc", "data_saver_on", "pattern", "signal_wifi_statusbar_not_connected", "bluetooth_disabled", "noise_control_off", "signal_wifi_bad", "signal_cellular_3_bar", "network_wifi_2_bar", "mode_standby", "signal_wifi_off", "network_wifi_1_bar", "brightness_medium", "brightness_low", "battery_very_low", "mobiledata_off", "grid_4x4", "signal_wifi_0_bar", "battery_charging_20", "battery_charging_80", "battery_charging_90", "battery_saver", "flashlight_off", "signal_wifi_statusbar_null", "settings_system_daydream", "battery_charging_50", "battery_unknown", "signal_cellular_2_bar", "screen_rotation_alt", "badge_critical_battery", "wifi_calling_3", "4g_mobiledata", "signal_cellular_1_bar", "noise_aware", "battery_charging_60", "nearby_error", "wifi_lock", "do_not_disturb_on_total_silence", "battery_20", "signal_cellular_connected_no_internet_0_bar", "signal_cellular_0_bar", "network_ping", "battery_charging_30", "edgesensor_high", "wifi_tethering_error", "wifi_2_bar", "brightness_auto", "battery_30", "battery_50", "airplanemode_inactive", "lte_mobiledata", "wifi_calling_1", "grid_3x3", "signal_cellular_alt_2_bar", "perm_data_setting", "signal_cellular_connected_no_internet_4_bar", "1x_mobiledata", "battery_60", "bluetooth_drive", "battery_90", "4g_plus_mobiledata", "perm_scan_wifi", "wifi_calling_2", "media_bluetooth_on", "signal_cellular_nodata", "signal_cellular_off", "network_locked", "battery_80", "timer_10_select", "signal_cellular_alt_1_bar", "wifi_tethering_off", "devices_fold", "edgesensor_low", "usb_off", "wifi_1_bar", "apk_install", "signal_cellular_null", "3g_mobiledata", "lte_plus_mobiledata", "grid_goldenratio", "g_mobiledata", "portable_wifi_off", "noise_control_on", "media_bluetooth_off", "timer_3_select", "e_mobiledata", "apk_document", "h_mobiledata", "nearby_off", "r_mobiledata", "h_plus_mobiledata", "badge", "verified_user", "admin_panel_settings", "report", "security", "vpn_key", "shield", "policy", "exclamation", "privacy_tip", "assured_workload", "disabled_visible", "e911_emergency", "enhanced_encryption", "private_connectivity", "add_moderator", "no_encryption", "sync_lock", "wifi_password", "key_visualizer", "remove_moderator", "report_off", "apartment", "location_city", "fitness_center", "lunch_dining", "spa", "cottage", "local_cafe", "hotel", "family_restroom", "beach_access", "local_bar", "other_houses", "pool", "luggage", "liquor", "airplane_ticket", "casino", "sports_bar", "bakery_dining", "ramen_dining", "nightlife", "local_dining", "holiday_village", "icecream", "escalator_warning", "dinner_dining", "museum", "food_bank", "night_shelter", "festival", "attractions", "golf_course", "stairs", "villa", "smoke_free", "smoking_rooms", "car_rental", "airline_seat_recline_normal", "elevator", "gite", "child_friendly", "airline_seat_recline_extra", "breakfast_dining", "car_repair", "cabin", "carpenter", "brunch_dining", "no_food", "houseboat", "do_not_touch", "rice_bowl", "tapas", "wheelchair_pickup", "bento", "no_drinks", "do_not_step", "airline_seat_flat", "bungalow", "airline_seat_individual_suite", "escalator", "chalet", "no_luggage", "airline_seat_legroom_extra", "airline_seat_flat_angled", "airline_seat_legroom_reduced", "airline_seat_legroom_normal", "no_stroller", "house", "bed", "ac_unit", "chair", "coffee", "electric_bolt", "sensors", "child_care", "checkroom", "back_hand", "grass", "emergency_home", "shower", "mode_fan", "kitchen", "mop", "room_service", "styler", "thermometer", "yard", "bathtub", "king_bed", "roofing", "energy_savings_leaf", "window", "cooking", "valve", "garage_home", "door_front", "light", "foundation", "garage", "outdoor_grill", "table_restaurant", "dining", "deck", "weekend", "coffee_maker", "sensor_occupied", "flatware", "humidity_high", "fireplace", "highlight", "mode_night", "electric_meter", "humidity_low", "humidity_mid", "tv_gen", "bedroom_parent", "chair_alt", "blender", "microwave", "oven_gen", "scene", "single_bed", "heat_pump", "bedroom_baby", "bathroom", "in_home_mode", "hot_tub", "mode_off_on", "hardware", "sprinkler", "table_bar", "gas_meter", "crib", "soap", "countertops", "living", "mode_cool", "propane_tank", "fire_extinguisher", "home_iot_device", "remote_gen", "outlet", "sensor_door", "event_seat", "gate", "faucet", "airware", "dishwasher_gen", "energy_program_saving", "balcony", "air_freshener", "wash", "water_damage", "camera_indoor", "bedroom_child", "house_siding", "microwave_gen", "switch", "door_sliding", "detector_smoke", "iron", "energy_program_time_used", "water_heater", "desk", "umbrella", "dresser", "door_back", "doorbell", "mode_fan_off", "fence", "hvac", "camera_outdoor", "kettle", "air_purifier_gen", "emergency_heat", "stroller", "emergency_share", "curtains", "multicooker", "sensors_off", "shield_moon", "mode_heat_cool", "thermostat_auto", "emergency_recording", "smart_outlet", "blinds", "controller_gen", "roller_shades", "dry", "blinds_closed", "roller_shades_closed", "propane", "sensor_window", "thermostat_carbon", "range_hood", "blanket", "doorbell_3p", "tv_with_assistant", "vertical_shades_closed", "mode_heat_off", "vertical_shades", "curtains_closed", "mode_cool_off", "tamper_detection_off", "stadia_controller", "temp_preferences_custom", "door_open", "power_rounded", "nest_eco_leaf", "nest_clock_farsight_analog", "device_reset", "nest_remote_comfort_sensor", "laundry", "battery_horiz_075", "shield_with_heart", "temp_preferences_eco", "familiar_face_and_zone", "tools_power_drill", "airwave", "productivity", "battery_horiz_050", "nest_heat_link_gen_3", "weather_snowy", "activity_zone", "ev_charger", "cleaning_bucket", "nest_remote", "settings_alert", "nest_display", "arrows_more_up", "nest_cam_indoor", "nest_heat_link_e", "nest_multi_room", "home_storage", "nest_secure_alarm", "battery_horiz_000", "light_group", "mfg_nest_yale_lock", "nest_thermostat_gen_3", "nest_cam_outdoor", "detection_and_zone", "tools_pliers_wire_stripper", "nest_cam_iq_outdoor", "tools_ladder", "floor_lamp", "detector_alarm", "early_on", "nest_cam_iq", "nest_clock_farsight_digital", "auto_schedule", "auto_activity_zone", "home_speaker", "nest_mini", "nest_hello_doorbell", "house_with_shield", "home_max_dots", "zone_person_urgent", "nest_audio", "cool_to_dry", "nest_wifi_router", "nest_farsight_weather", "motion_sensor_active", "shield_with_house", "nest_display_max", "window_closed", "heat_pump_balance", "chromecast_2", "nest_found_savings", "arming_countdown", "battery_vert_050", "battery_profile", "detector_status", "window_open", "self_care", "arrows_more_down", "nest_true_radiant", "tools_level", "nest_thermostat_zirconium_eu", "climate_mini_split", "zone_person_alert", "nest_cam_wired_stand", "nest_detect", "detector", "quiet_time", "door_sensor", "nest_wifi_point", "nest_doorbell_visitor", "tools_installation_kit", "battery_vert_020", "nest_thermostat_sensor_eu", "nest_wifi_mistral", "nest_tag", "nest_connect", "tools_phillips", "nest_thermostat_sensor", "nest_sunblock", "nest_wifi_point_vento", "battery_vert_005", "nest_cam_floodlight", "nest_wifi_gale", "nest_thermostat_e_eu", "doorbell_chime", "detector_battery", "detector_co", "tools_flat_head", "nest_wake_on_approach", "nest_wake_on_press", "window_sensor", "motion_sensor_alert", "motion_sensor_urgent", "nest_cam_magnet_mount", "tamper_detection_on", "zone_person_idle", "quiet_time_active", "table_lamp", "nest_cam_stand", "detector_offline", "wall_lamp", "nest_cam_wall_mount", "nest_locator_tag", "motion_sensor_idle", "translate", "drive_file_rename_outline", "android", "g_translate", "home_app_logo", "cloudy_snowing", "view_in_ar_new", "tools_wrench", "webhook", "drive_folder_upload", "clear_night", "drive_file_move", "mode_heat", "atr", "error_circle_rounded", "quick_phrases", "add_to_drive", "wifi_find", "polymer", "logo_dev", "drive_file_move_outline", "youtube_activity", "matter", "drive_file_move_rtl", "macro_off", "google_wifi", "thumb_up_off", "google_plus_reshare", "thumb_down_off", "phone_in_talk_watchface_indicator", "star_rate_half"];
|
|
2
|
+
export declare type GoogleIconType = typeof googleIcons[number];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Database } from '@src/ReactiveStore/ReactiveStore';
|
|
2
|
+
import { WebSocketServerClient } from '@src/Server/Socket/WebSocketServerClient';
|
|
3
|
+
import { watch as VueWatch, WatchStopHandle } from 'vue';
|
|
4
|
+
import { BaseUser, BaseWorkspace } from '../../ReactiveStore/BaseEntity';
|
|
5
|
+
import { UI } from './UI';
|
|
6
|
+
export declare abstract class BasePage {
|
|
7
|
+
authUser: BaseUser;
|
|
8
|
+
database: Database;
|
|
9
|
+
workspace: BaseWorkspace;
|
|
10
|
+
client: WebSocketServerClient;
|
|
11
|
+
visitedUrl: string;
|
|
12
|
+
URL: string;
|
|
13
|
+
abstract view(...args: any[]): any[];
|
|
14
|
+
init?(...args: any[]): boolean;
|
|
15
|
+
watchStoppers: WatchStopHandle[];
|
|
16
|
+
state: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
UI: UI;
|
|
20
|
+
constructor(authUser: BaseUser, database: Database, workspace: BaseWorkspace, client: WebSocketServerClient, visitedUrl: string);
|
|
21
|
+
watch(...args: Parameters<typeof VueWatch>): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
|
3
|
+
import { GoogleIconType } from '@src/Frontend/GoogleIcons';
|
|
4
|
+
export declare type ButtonType = {
|
|
5
|
+
id: string;
|
|
6
|
+
type: 'BUTTON';
|
|
7
|
+
labelId: string;
|
|
8
|
+
sizeInit: 'sm' | 'md';
|
|
9
|
+
ghostInit: boolean;
|
|
10
|
+
iconInit: null | string;
|
|
11
|
+
typeInit: 'primary' | 'secondary' | 'tertiary' | 'danger';
|
|
12
|
+
disabledId: string;
|
|
13
|
+
onClickId: string;
|
|
14
|
+
classInit: string;
|
|
15
|
+
};
|
|
16
|
+
declare type ButtonOptions = {
|
|
17
|
+
label: FlatOrFunc<() => string>;
|
|
18
|
+
onClick: () => void;
|
|
19
|
+
class?: string;
|
|
20
|
+
type?: 'primary' | 'secondary' | 'tertiary' | 'danger';
|
|
21
|
+
size?: 'sm' | 'md';
|
|
22
|
+
ghost?: boolean;
|
|
23
|
+
icon?: null | GoogleIconType;
|
|
24
|
+
disabled?: FlatOrFunc<() => boolean>;
|
|
25
|
+
};
|
|
26
|
+
export declare function UseButton(page: BasePage): {
|
|
27
|
+
Button: (options: ButtonOptions) => ButtonType;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { ButtonType } from './Button';
|
|
3
|
+
import { TextType } from './Text';
|
|
4
|
+
import { DataTableType } from './DataTable';
|
|
5
|
+
import { FileUploadType } from './FileUpload';
|
|
6
|
+
import { SelectOneType, SelectManyType } from './Select';
|
|
7
|
+
import { InputType } from './Input';
|
|
8
|
+
export declare type Element = ContainerType | ButtonType | TextType | DataTableType | FileUploadType | SelectManyType | SelectOneType | InputType;
|
|
9
|
+
export declare type ContainerType = {
|
|
10
|
+
id: string;
|
|
11
|
+
type: 'CONTAINER';
|
|
12
|
+
itemsId: string;
|
|
13
|
+
classInit: string;
|
|
14
|
+
};
|
|
15
|
+
declare type ContainerOptions = {
|
|
16
|
+
class?: string;
|
|
17
|
+
items: () => any[];
|
|
18
|
+
};
|
|
19
|
+
export declare function UseContainer(page: BasePage): {
|
|
20
|
+
Container: (options: ContainerOptions) => ContainerType;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
|
3
|
+
import { GoogleIconType } from '@src/Frontend/GoogleIcons';
|
|
4
|
+
import { Dayjs } from 'dayjs';
|
|
5
|
+
export declare type DataTableType = {
|
|
6
|
+
id: string;
|
|
7
|
+
type: 'DATATABLE';
|
|
8
|
+
selectable: boolean;
|
|
9
|
+
disabledId: string;
|
|
10
|
+
actionsId: string;
|
|
11
|
+
refreshId: string;
|
|
12
|
+
classInit: string;
|
|
13
|
+
pageId: string;
|
|
14
|
+
columnsId: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type DataTablePage = {
|
|
17
|
+
from: number;
|
|
18
|
+
to: number;
|
|
19
|
+
totalWithoutFilter: number;
|
|
20
|
+
totalWithFilter: number;
|
|
21
|
+
rows: any[];
|
|
22
|
+
};
|
|
23
|
+
export declare type DataTableAction = {
|
|
24
|
+
icon: GoogleIconType;
|
|
25
|
+
bulkAction: boolean;
|
|
26
|
+
label: string;
|
|
27
|
+
onClick: (options: {
|
|
28
|
+
refresh: () => void;
|
|
29
|
+
selectedIds: string[];
|
|
30
|
+
}) => any;
|
|
31
|
+
};
|
|
32
|
+
declare type DataTableOptions<T> = {
|
|
33
|
+
class?: string;
|
|
34
|
+
disabled?: FlatOrFunc<() => boolean>;
|
|
35
|
+
perPage?: number;
|
|
36
|
+
data: () => T[];
|
|
37
|
+
selectable?: boolean;
|
|
38
|
+
columns: (item: T) => {
|
|
39
|
+
name: string;
|
|
40
|
+
view: (options: {
|
|
41
|
+
refresh: () => void;
|
|
42
|
+
}) => any[];
|
|
43
|
+
search?: () => string;
|
|
44
|
+
sort?: () => null | string | number | boolean | Dayjs;
|
|
45
|
+
}[];
|
|
46
|
+
actions?: DataTableAction[];
|
|
47
|
+
};
|
|
48
|
+
export declare function UseDataTable(page: BasePage): {
|
|
49
|
+
DataTable: <T>(options: DataTableOptions<T>) => DataTableType;
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseFile, BasePage } from 'oksy';
|
|
2
|
+
export declare type FileUploadType = {
|
|
3
|
+
id: string;
|
|
4
|
+
type: 'FILE_UPLOAD';
|
|
5
|
+
labelInit: string;
|
|
6
|
+
filesId: string;
|
|
7
|
+
onUploadedId: string;
|
|
8
|
+
onRemoveId: string;
|
|
9
|
+
};
|
|
10
|
+
declare type FileUploadOptions = {
|
|
11
|
+
label: string;
|
|
12
|
+
files: () => BaseFile[];
|
|
13
|
+
onUploaded: (file: any) => void;
|
|
14
|
+
onRemove: (file: any) => void;
|
|
15
|
+
};
|
|
16
|
+
export declare type FlatFile = {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
size: number;
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
export declare function UseFileUpload(page: BasePage): {
|
|
24
|
+
FileUpload: (options: FileUploadOptions) => FileUploadType;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare type FlatOrFunc<T extends (...args: any[]) => any> = T | ReturnType<T>;
|
|
2
|
+
export declare function toFunc<T extends (...args: any[]) => any>(flatOrFunc: FlatOrFunc<T>, flatType: 'string' | 'boolean' | 'number', defaultValue?: any): {
|
|
3
|
+
wasFunc: boolean;
|
|
4
|
+
func: T;
|
|
5
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
|
3
|
+
export declare type InputType = {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'INPUT';
|
|
6
|
+
disabledId: string;
|
|
7
|
+
getterId: string;
|
|
8
|
+
setterId: string;
|
|
9
|
+
classInit: string;
|
|
10
|
+
typeInit: 'number' | 'text';
|
|
11
|
+
};
|
|
12
|
+
declare type InputOptions = {
|
|
13
|
+
setter: (val: string) => void;
|
|
14
|
+
getter: () => string;
|
|
15
|
+
disabled?: FlatOrFunc<() => boolean>;
|
|
16
|
+
class?: string;
|
|
17
|
+
type?: 'number' | 'text';
|
|
18
|
+
};
|
|
19
|
+
export declare function UseInput(page: BasePage): {
|
|
20
|
+
Input: (options: InputOptions) => InputType;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { GoogleIconType } from '@src/Frontend/GoogleIcons';
|
|
2
|
+
import { BasePage } from 'oksy';
|
|
3
|
+
import { ContainerType } from '../Container';
|
|
4
|
+
declare type SidebarMenuItem = {
|
|
5
|
+
name: string;
|
|
6
|
+
href: string;
|
|
7
|
+
icon: GoogleIconType;
|
|
8
|
+
current: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare type ProfileMenuItem = {
|
|
11
|
+
name: string;
|
|
12
|
+
href: string;
|
|
13
|
+
};
|
|
14
|
+
export declare type DarkSidebarType = {
|
|
15
|
+
id: string;
|
|
16
|
+
type: 'DARK_SIDEBAR';
|
|
17
|
+
sidebarMenuItemsInit: SidebarMenuItem[];
|
|
18
|
+
profileMenuItemsInit: ProfileMenuItem[];
|
|
19
|
+
container: ContainerType;
|
|
20
|
+
};
|
|
21
|
+
declare type DarkSidebarOptions = {
|
|
22
|
+
menu: Omit<SidebarMenuItem, 'current'>[];
|
|
23
|
+
profileMenu?: ProfileMenuItem[];
|
|
24
|
+
view: () => any[];
|
|
25
|
+
};
|
|
26
|
+
export declare function UseDarkSidebar(page: BasePage): {
|
|
27
|
+
DarkSidebar: (options: DarkSidebarOptions) => DarkSidebarType;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
|
3
|
+
export declare type SelectItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type SelectRequest = {
|
|
8
|
+
totalWithoutFilter: number;
|
|
9
|
+
items: SelectItem[];
|
|
10
|
+
};
|
|
11
|
+
declare type SelectType = {
|
|
12
|
+
id: string;
|
|
13
|
+
disabledId: string;
|
|
14
|
+
optionsId: string;
|
|
15
|
+
selectedId: string;
|
|
16
|
+
onSelectId: string;
|
|
17
|
+
classInit: string;
|
|
18
|
+
};
|
|
19
|
+
export declare type SelectOneType = SelectType & {
|
|
20
|
+
type: 'SELECT_ONE';
|
|
21
|
+
};
|
|
22
|
+
export declare type SelectManyType = SelectType & {
|
|
23
|
+
type: 'SELECT_MANY';
|
|
24
|
+
onDeselectId: string;
|
|
25
|
+
};
|
|
26
|
+
declare type SelectOptions = {
|
|
27
|
+
class?: string;
|
|
28
|
+
disabled?: FlatOrFunc<() => boolean>;
|
|
29
|
+
options: () => SelectItem[];
|
|
30
|
+
onSelect: (item: null | SelectItem) => void;
|
|
31
|
+
perPage?: number;
|
|
32
|
+
};
|
|
33
|
+
declare type SelectOneOptions = SelectOptions & {
|
|
34
|
+
selected: () => null | SelectItem;
|
|
35
|
+
};
|
|
36
|
+
declare type SelectManyOptions = SelectOptions & {
|
|
37
|
+
selected: () => SelectItem[];
|
|
38
|
+
onSelect: (item: SelectItem) => void;
|
|
39
|
+
onDeselect: (item: SelectItem) => void;
|
|
40
|
+
};
|
|
41
|
+
export declare function UseSelect(page: BasePage): {
|
|
42
|
+
SelectOne: (options: SelectOneOptions) => SelectOneType;
|
|
43
|
+
SelectMany: (options: SelectManyOptions) => SelectManyType;
|
|
44
|
+
};
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
|
3
|
+
export declare type TextType = {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'TEXT';
|
|
6
|
+
labelId: string;
|
|
7
|
+
classInit: string;
|
|
8
|
+
};
|
|
9
|
+
declare type TextOptions = {
|
|
10
|
+
label: FlatOrFunc<() => string>;
|
|
11
|
+
class?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function UseText(page: BasePage): {
|
|
14
|
+
Text: (options: TextOptions) => TextType;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { FlatOrFunc } from './FlatOrFunc';
|
|
3
|
+
export declare type ToggleType = {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'TOGGLE';
|
|
6
|
+
stateId: string;
|
|
7
|
+
disabledId: string;
|
|
8
|
+
onToggleId: string;
|
|
9
|
+
classInit: string;
|
|
10
|
+
};
|
|
11
|
+
declare type ToggleOptions = {
|
|
12
|
+
state: () => boolean;
|
|
13
|
+
onToggle: (state: boolean) => void;
|
|
14
|
+
class?: string;
|
|
15
|
+
disabled?: FlatOrFunc<() => boolean>;
|
|
16
|
+
};
|
|
17
|
+
export declare function UseToggle(page: BasePage): {
|
|
18
|
+
Toggle: (options: ToggleOptions) => ToggleType;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BasePage } from 'oksy';
|
|
2
|
+
import { UseButton } from './Components/Button';
|
|
3
|
+
import { UseContainer } from './Components/Container';
|
|
4
|
+
import { UseFileUpload } from './Components/FileUpload';
|
|
5
|
+
import { UseDarkSidebar } from './Components/Layout/DarkSidebar';
|
|
6
|
+
import { UseSelect } from './Components/Select';
|
|
7
|
+
import { UseText } from './Components/Text';
|
|
8
|
+
import { UseInput } from './Components/Input';
|
|
9
|
+
import { UseToggle } from './Components/Toggle';
|
|
10
|
+
import { UseDataTable } from './Components/DataTable';
|
|
11
|
+
export declare class UI {
|
|
12
|
+
Button: ReturnType<typeof UseButton>['Button'];
|
|
13
|
+
Input: ReturnType<typeof UseInput>['Input'];
|
|
14
|
+
Container: ReturnType<typeof UseContainer>['Container'];
|
|
15
|
+
FileUpload: ReturnType<typeof UseFileUpload>['FileUpload'];
|
|
16
|
+
SelectOne: ReturnType<typeof UseSelect>['SelectOne'];
|
|
17
|
+
SelectMany: ReturnType<typeof UseSelect>['SelectMany'];
|
|
18
|
+
DataTable: ReturnType<typeof UseDataTable>['DataTable'];
|
|
19
|
+
DarkSidebar: ReturnType<typeof UseDarkSidebar>['DarkSidebar'];
|
|
20
|
+
Text: ReturnType<typeof UseText>['Text'];
|
|
21
|
+
Toggle: ReturnType<typeof UseToggle>['Toggle'];
|
|
22
|
+
constructor(page: BasePage);
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function asyncGlob(pattern: string): Promise<string[]>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import dayjs, { Dayjs } from 'dayjs';
|
|
2
|
+
export declare function nowAsUtc(): dayjs.Dayjs;
|
|
3
|
+
export declare function toSqlDateTime(date: null | Dayjs): null | string;
|
|
4
|
+
export declare function parseFromSqlFormat(date: null | string): dayjs.Dayjs | null;
|
|
5
|
+
export declare function isExpired(date: null | Dayjs): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function execAsync(command: string): Promise<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Fingerprint(userAgent: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FormatBytes(bytes: number, decimals?: number): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hash(password: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isEmpty(data: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function LogToFile(logType: 'info' | 'error', payload: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function mergeObjects(fullObj: any, partialObj: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function print(message: string, color?: 'black' | 'green' | 'red'): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SqliteClient } from '@src/Bootstrap/SqliteClient';
|
|
2
|
+
import { ReactiveStore } from '@src/ReactiveStore/ReactiveStore';
|
|
3
|
+
declare type SeederParams = {
|
|
4
|
+
reactiveStore: ReactiveStore;
|
|
5
|
+
sqliteClient: SqliteClient;
|
|
6
|
+
};
|
|
7
|
+
export declare function seed(seeder: (seederParams: SeederParams) => void): (seederParams: SeederParams) => void;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function snakeCase(str: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function stringToSlug(str: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function WatchFolder(dir: string, callback: () => void): Promise<void>;
|