8 Commits

Author SHA1 Message Date
mr
857386962a push 2025-04-28 16:43:55 +02:00
mr
76821e757f test 2025-04-28 16:10:34 +02:00
mr
66b4a2b226 ITEM_HOST 2025-04-01 10:07:11 +02:00
mr
752446dd40 dev launch mode 2025-03-06 09:33:32 +01:00
mr
863a35b878 oclib 2025-02-21 11:14:46 +01:00
mr
28510d0ba1 workflow debug 2025-02-19 08:29:03 +01:00
mr
6991283dd4 Fusion debug 2025-02-18 15:05:19 +01:00
mr
6b6da966b6 deps 2025-02-17 10:27:44 +01:00
48 changed files with 301 additions and 1566 deletions

View File

@@ -1,20 +0,0 @@
// Flutter web plugin registrant file.
//
// Generated file. Do not edit.
//
// @dart = 2.13
// ignore_for_file: type=lint
import 'package:device_info_plus/src/device_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:super_native_extensions/super_native_extensions_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
void registerPlugins([final Registrar? pluginRegistrar]) {
final Registrar registrar = pluginRegistrar ?? webPluginRegistrar;
DeviceInfoPlusWebPlugin.registerWith(registrar);
SharedPreferencesPlugin.registerWith(registrar);
SuperNativeExtensionsWeb.registerWith(registrar);
registrar.registerMessageHandler();
}

View File

@@ -1,737 +0,0 @@
{
"configVersion": 2,
"packages": [
{
"name": "alert_banner",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/alert_banner-1.0.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "animated_toggle_switch",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/animated_toggle_switch-0.8.3",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "args",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/args-2.6.0",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "async",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/async-2.11.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "boolean_selector",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "box_transform",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/box_transform-0.4.4",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "characters",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/characters-1.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "clock",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/clock-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/collection-1.18.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "convert",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/convert-3.1.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "cron",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/cron-0.6.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "crypto",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/crypto-3.0.3",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "cupertino_icons",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "dart_earcut",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/dart_earcut-1.1.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "dashed_path",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/dashed_path-1.0.1",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "datetime_picker_formfield",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/datetime_picker_formfield-2.0.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "desktop_window",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/desktop_window-0.4.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "device_info_plus",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/device_info_plus-10.1.2",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "device_info_plus_platform_interface",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/device_info_plus_platform_interface-7.0.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "dio",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/dio-5.7.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "dio_web_adapter",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "dotted_line",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/dotted_line-3.2.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "el_tooltip",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/el_tooltip-2.2.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "fake_async",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/fake_async-1.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "ffi",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/ffi-2.1.3",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "file",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/file-7.0.1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "fixnum",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/fixnum-1.1.1",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "flutter",
"rootUri": "file:///home/mr/snap/flutter/common/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "flutter_advanced_switch",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_advanced_switch-3.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter_box_transform",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_box_transform-0.4.6",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "flutter_colorpicker",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_colorpicker-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "flutter_event_calendar",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter_flow_chart",
"rootUri": "../library/flutter_flow_chart",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "flutter_lints",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "flutter_map",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_map-7.0.2",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "flutter_spinkit",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_spinkit-5.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter_svg",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/flutter_svg-2.0.10+1",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "flutter_test",
"rootUri": "file:///home/mr/snap/flutter/common/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "flutter_web_plugins",
"rootUri": "file:///home/mr/snap/flutter/common/flutter/packages/flutter_web_plugins",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "font_awesome_flutter",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/font_awesome_flutter-10.8.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "get_it",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/get_it-7.7.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "go_router",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/go_router-14.3.0",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "hover_menu",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/hover_menu-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.16"
},
{
"name": "http",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/http-1.2.2",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "http_parser",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/http_parser-4.0.2",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "injectable",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/injectable-2.4.2",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "intl",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/intl-0.19.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "irondash_engine_context",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "irondash_message_channel",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/irondash_message_channel-0.7.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "json_string",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/json_string-3.0.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "json_util",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/json_util-2.0.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "latlong2",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/latlong2-0.9.1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "leak_tracker",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "leak_tracker_flutter_testing",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "leak_tracker_testing",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "lints",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/lints-4.0.0",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "lists",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/lists-1.0.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "localstorage",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/localstorage-5.0.0",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "logger",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/logger-2.4.0",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "logging",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/logging-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "matcher",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/matcher-0.12.16+1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "material_color_utilities",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "meta",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/meta-1.15.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "mgrs_dart",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/mgrs_dart-2.0.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "number_text_input_formatter",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/number_text_input_formatter-1.0.0+8",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path-1.9.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "path_parsing",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path_parsing-1.0.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path_provider",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path_provider-2.1.4",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "path_provider_android",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "path_provider_foundation",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "path_provider_linux",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "path_provider_platform_interface",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "path_provider_windows",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "petitparser",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/petitparser-6.0.2",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "pixel_snap",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/pixel_snap-0.1.5",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "platform",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/platform-3.1.6",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "plugin_platform_interface",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "polylabel",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/polylabel-1.0.1",
"packageUri": "lib/",
"languageVersion": "2.13"
},
{
"name": "proj4dart",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/proj4dart-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "scoped_model",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/scoped_model-2.0.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "shamsi_date",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shamsi_date-0.15.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "shared_preferences",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences-2.2.3",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "shared_preferences_android",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.2",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "shared_preferences_foundation",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.3",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "shared_preferences_linux",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "shared_preferences_platform_interface",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "shared_preferences_web",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.1",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "shared_preferences_windows",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "simple_gesture_detector",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/simple_gesture_detector-0.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
"rootUri": "file:///home/mr/snap/flutter/common/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "source_span",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/source_span-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "sprintf",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/sprintf-7.0.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "stack_trace",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/stack_trace-1.11.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "star_menu",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/star_menu-4.0.1",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "stream_channel",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/stream_channel-2.1.2",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "string_scanner",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/string_scanner-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "super_clipboard",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/super_clipboard-0.8.19",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "super_drag_and_drop",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/super_drag_and_drop-0.8.19",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "super_native_extensions",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/super_native_extensions-0.8.19",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "syncfusion_flutter_calendar",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-27.1.55",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "syncfusion_flutter_core",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_core-27.1.55",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "syncfusion_flutter_datepicker",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-27.1.55",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "table_calendar",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/table_calendar-3.1.2",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "term_glyph",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/term_glyph-1.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test_api",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/test_api-0.7.2",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "timezone",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/timezone-0.9.4",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "typed_data",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/typed_data-1.3.2",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "unicode",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/unicode-0.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "uuid",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/uuid-4.5.1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "vector_graphics",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics-1.1.11+1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "vector_graphics_codec",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.11+1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "vector_graphics_compiler",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "vector_math",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/vector_math-2.1.4",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "vm_service",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/vm_service-14.2.5",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "web",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/web-0.5.1",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "win32",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/win32-5.7.1",
"packageUri": "lib/",
"languageVersion": "3.5"
},
{
"name": "win32_registry",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/win32_registry-1.1.3",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "wkt_parser",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/wkt_parser-2.0.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "xdg_directories",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "xml",
"rootUri": "file:///home/mr/.pub-cache/hosted/pub.dev/xml-6.5.0",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "oc_front",
"rootUri": "../",
"packageUri": "lib/",
"languageVersion": "3.3"
}
],
"generated": "2025-02-17T08:56:44.408862Z",
"generator": "pub",
"generatorVersion": "3.5.3",
"flutterRoot": "file:///home/mr/snap/flutter/common/flutter",
"flutterVersion": "3.24.3",
"pubCache": "file:///home/mr/.pub-cache"
}

View File

@@ -1,485 +0,0 @@
alert_banner
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/alert_banner-1.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/alert_banner-1.0.1/lib/
animated_toggle_switch
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/animated_toggle_switch-0.8.3/
file:///home/mr/.pub-cache/hosted/pub.dev/animated_toggle_switch-0.8.3/lib/
args
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/args-2.6.0/
file:///home/mr/.pub-cache/hosted/pub.dev/args-2.6.0/lib/
async
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/async-2.11.0/
file:///home/mr/.pub-cache/hosted/pub.dev/async-2.11.0/lib/
boolean_selector
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/
file:///home/mr/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/lib/
box_transform
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/box_transform-0.4.4/
file:///home/mr/.pub-cache/hosted/pub.dev/box_transform-0.4.4/lib/
characters
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/characters-1.3.0/
file:///home/mr/.pub-cache/hosted/pub.dev/characters-1.3.0/lib/
clock
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/clock-1.1.1/
file:///home/mr/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/
collection
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/collection-1.18.0/
file:///home/mr/.pub-cache/hosted/pub.dev/collection-1.18.0/lib/
convert
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/convert-3.1.1/
file:///home/mr/.pub-cache/hosted/pub.dev/convert-3.1.1/lib/
cron
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/cron-0.6.1/
file:///home/mr/.pub-cache/hosted/pub.dev/cron-0.6.1/lib/
crypto
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/crypto-3.0.3/
file:///home/mr/.pub-cache/hosted/pub.dev/crypto-3.0.3/lib/
cupertino_icons
3.1
file:///home/mr/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/
file:///home/mr/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/lib/
dart_earcut
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/dart_earcut-1.1.0/
file:///home/mr/.pub-cache/hosted/pub.dev/dart_earcut-1.1.0/lib/
dashed_path
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/dashed_path-1.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/dashed_path-1.0.1/lib/
datetime_picker_formfield
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/datetime_picker_formfield-2.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/datetime_picker_formfield-2.0.1/lib/
desktop_window
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/desktop_window-0.4.1/
file:///home/mr/.pub-cache/hosted/pub.dev/desktop_window-0.4.1/lib/
device_info_plus
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/device_info_plus-10.1.2/
file:///home/mr/.pub-cache/hosted/pub.dev/device_info_plus-10.1.2/lib/
device_info_plus_platform_interface
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/device_info_plus_platform_interface-7.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/device_info_plus_platform_interface-7.0.1/lib/
dio
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/dio-5.7.0/
file:///home/mr/.pub-cache/hosted/pub.dev/dio-5.7.0/lib/
dio_web_adapter
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/
dotted_line
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/dotted_line-3.2.3/
file:///home/mr/.pub-cache/hosted/pub.dev/dotted_line-3.2.3/lib/
el_tooltip
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/el_tooltip-2.2.1/
file:///home/mr/.pub-cache/hosted/pub.dev/el_tooltip-2.2.1/lib/
fake_async
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/fake_async-1.3.1/
file:///home/mr/.pub-cache/hosted/pub.dev/fake_async-1.3.1/lib/
ffi
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/ffi-2.1.3/
file:///home/mr/.pub-cache/hosted/pub.dev/ffi-2.1.3/lib/
file
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/file-7.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/file-7.0.1/lib/
fixnum
3.1
file:///home/mr/.pub-cache/hosted/pub.dev/fixnum-1.1.1/
file:///home/mr/.pub-cache/hosted/pub.dev/fixnum-1.1.1/lib/
flutter_advanced_switch
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_advanced_switch-3.1.0/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_advanced_switch-3.1.0/lib/
flutter_box_transform
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_box_transform-0.4.6/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_box_transform-0.4.6/lib/
flutter_colorpicker
2.14
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_colorpicker-1.1.0/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_colorpicker-1.1.0/lib/
flutter_event_calendar
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/lib/
flutter_lints
3.1
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0/lib/
flutter_map
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_map-7.0.2/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_map-7.0.2/lib/
flutter_spinkit
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_spinkit-5.2.1/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_spinkit-5.2.1/lib/
flutter_svg
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_svg-2.0.10+1/
file:///home/mr/.pub-cache/hosted/pub.dev/flutter_svg-2.0.10+1/lib/
font_awesome_flutter
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/font_awesome_flutter-10.8.0/
file:///home/mr/.pub-cache/hosted/pub.dev/font_awesome_flutter-10.8.0/lib/
get_it
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/get_it-7.7.0/
file:///home/mr/.pub-cache/hosted/pub.dev/get_it-7.7.0/lib/
go_router
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/go_router-14.3.0/
file:///home/mr/.pub-cache/hosted/pub.dev/go_router-14.3.0/lib/
hover_menu
2.16
file:///home/mr/.pub-cache/hosted/pub.dev/hover_menu-1.1.1/
file:///home/mr/.pub-cache/hosted/pub.dev/hover_menu-1.1.1/lib/
http
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/http-1.2.2/
file:///home/mr/.pub-cache/hosted/pub.dev/http-1.2.2/lib/
http_parser
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/http_parser-4.0.2/
file:///home/mr/.pub-cache/hosted/pub.dev/http_parser-4.0.2/lib/
injectable
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/injectable-2.4.2/
file:///home/mr/.pub-cache/hosted/pub.dev/injectable-2.4.2/lib/
intl
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/intl-0.19.0/
file:///home/mr/.pub-cache/hosted/pub.dev/intl-0.19.0/lib/
irondash_engine_context
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/
file:///home/mr/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/lib/
irondash_message_channel
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/irondash_message_channel-0.7.0/
file:///home/mr/.pub-cache/hosted/pub.dev/irondash_message_channel-0.7.0/lib/
json_string
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/json_string-3.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/json_string-3.0.1/lib/
json_util
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/json_util-2.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/json_util-2.0.0/lib/
latlong2
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/latlong2-0.9.1/
file:///home/mr/.pub-cache/hosted/pub.dev/latlong2-0.9.1/lib/
leak_tracker
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/
file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/
leak_tracker_flutter_testing
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/
file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/lib/
leak_tracker_testing
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/
lints
3.1
file:///home/mr/.pub-cache/hosted/pub.dev/lints-4.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/lints-4.0.0/lib/
lists
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/lists-1.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/lists-1.0.1/lib/
localstorage
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/localstorage-5.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/localstorage-5.0.0/lib/
logger
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/logger-2.4.0/
file:///home/mr/.pub-cache/hosted/pub.dev/logger-2.4.0/lib/
logging
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/logging-1.2.0/
file:///home/mr/.pub-cache/hosted/pub.dev/logging-1.2.0/lib/
matcher
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/
file:///home/mr/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/lib/
material_color_utilities
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1/
file:///home/mr/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1/lib/
meta
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/meta-1.15.0/
file:///home/mr/.pub-cache/hosted/pub.dev/meta-1.15.0/lib/
mgrs_dart
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/mgrs_dart-2.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/mgrs_dart-2.0.0/lib/
number_text_input_formatter
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/number_text_input_formatter-1.0.0+8/
file:///home/mr/.pub-cache/hosted/pub.dev/number_text_input_formatter-1.0.0+8/lib/
path
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/path-1.9.0/
file:///home/mr/.pub-cache/hosted/pub.dev/path-1.9.0/lib/
path_parsing
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/path_parsing-1.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/path_parsing-1.0.1/lib/
path_provider
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider-2.1.4/
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider-2.1.4/lib/
path_provider_android
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/lib/
path_provider_foundation
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/lib/
path_provider_linux
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/lib/
path_provider_platform_interface
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/lib/
path_provider_windows
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
file:///home/mr/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/lib/
petitparser
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/petitparser-6.0.2/
file:///home/mr/.pub-cache/hosted/pub.dev/petitparser-6.0.2/lib/
pixel_snap
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/pixel_snap-0.1.5/
file:///home/mr/.pub-cache/hosted/pub.dev/pixel_snap-0.1.5/lib/
platform
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/platform-3.1.6/
file:///home/mr/.pub-cache/hosted/pub.dev/platform-3.1.6/lib/
plugin_platform_interface
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8/
file:///home/mr/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8/lib/
polylabel
2.13
file:///home/mr/.pub-cache/hosted/pub.dev/polylabel-1.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/polylabel-1.0.1/lib/
proj4dart
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/proj4dart-2.1.0/
file:///home/mr/.pub-cache/hosted/pub.dev/proj4dart-2.1.0/lib/
scoped_model
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/scoped_model-2.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/scoped_model-2.0.0/lib/
shamsi_date
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/shamsi_date-0.15.0/
file:///home/mr/.pub-cache/hosted/pub.dev/shamsi_date-0.15.0/lib/
shared_preferences
3.1
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences-2.2.3/
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences-2.2.3/lib/
shared_preferences_android
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.2/
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.2/lib/
shared_preferences_foundation
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.3/
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.3/lib/
shared_preferences_linux
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/lib/
shared_preferences_platform_interface
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1/
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1/lib/
shared_preferences_web
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.1/
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.1/lib/
shared_preferences_windows
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/
file:///home/mr/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/lib/
simple_gesture_detector
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/simple_gesture_detector-0.2.1/
file:///home/mr/.pub-cache/hosted/pub.dev/simple_gesture_detector-0.2.1/lib/
source_span
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/source_span-1.10.0/
file:///home/mr/.pub-cache/hosted/pub.dev/source_span-1.10.0/lib/
sprintf
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/sprintf-7.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/sprintf-7.0.0/lib/
stack_trace
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/
file:///home/mr/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/lib/
star_menu
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/star_menu-4.0.1/
file:///home/mr/.pub-cache/hosted/pub.dev/star_menu-4.0.1/lib/
stream_channel
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/
file:///home/mr/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/
string_scanner
2.18
file:///home/mr/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/
file:///home/mr/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/
super_clipboard
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/super_clipboard-0.8.19/
file:///home/mr/.pub-cache/hosted/pub.dev/super_clipboard-0.8.19/lib/
super_drag_and_drop
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/super_drag_and_drop-0.8.19/
file:///home/mr/.pub-cache/hosted/pub.dev/super_drag_and_drop-0.8.19/lib/
super_native_extensions
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/super_native_extensions-0.8.19/
file:///home/mr/.pub-cache/hosted/pub.dev/super_native_extensions-0.8.19/lib/
syncfusion_flutter_calendar
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-27.1.55/
file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_calendar-27.1.55/lib/
syncfusion_flutter_core
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_core-27.1.55/
file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_core-27.1.55/lib/
syncfusion_flutter_datepicker
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-27.1.55/
file:///home/mr/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-27.1.55/lib/
table_calendar
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/table_calendar-3.1.2/
file:///home/mr/.pub-cache/hosted/pub.dev/table_calendar-3.1.2/lib/
term_glyph
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/
file:///home/mr/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/
test_api
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/test_api-0.7.2/
file:///home/mr/.pub-cache/hosted/pub.dev/test_api-0.7.2/lib/
timezone
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/timezone-0.9.4/
file:///home/mr/.pub-cache/hosted/pub.dev/timezone-0.9.4/lib/
typed_data
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/typed_data-1.3.2/
file:///home/mr/.pub-cache/hosted/pub.dev/typed_data-1.3.2/lib/
unicode
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/unicode-0.3.1/
file:///home/mr/.pub-cache/hosted/pub.dev/unicode-0.3.1/lib/
uuid
3.0
file:///home/mr/.pub-cache/hosted/pub.dev/uuid-4.5.1/
file:///home/mr/.pub-cache/hosted/pub.dev/uuid-4.5.1/lib/
vector_graphics
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics-1.1.11+1/
file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics-1.1.11+1/lib/
vector_graphics_codec
2.17
file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.11+1/
file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.11+1/lib/
vector_graphics_compiler
2.19
file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1/
file:///home/mr/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1/lib/
vector_math
2.14
file:///home/mr/.pub-cache/hosted/pub.dev/vector_math-2.1.4/
file:///home/mr/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/
vm_service
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/vm_service-14.2.5/
file:///home/mr/.pub-cache/hosted/pub.dev/vm_service-14.2.5/lib/
web
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/web-0.5.1/
file:///home/mr/.pub-cache/hosted/pub.dev/web-0.5.1/lib/
win32
3.5
file:///home/mr/.pub-cache/hosted/pub.dev/win32-5.7.1/
file:///home/mr/.pub-cache/hosted/pub.dev/win32-5.7.1/lib/
win32_registry
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/win32_registry-1.1.3/
file:///home/mr/.pub-cache/hosted/pub.dev/win32_registry-1.1.3/lib/
wkt_parser
2.12
file:///home/mr/.pub-cache/hosted/pub.dev/wkt_parser-2.0.0/
file:///home/mr/.pub-cache/hosted/pub.dev/wkt_parser-2.0.0/lib/
xdg_directories
3.3
file:///home/mr/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0/
file:///home/mr/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0/lib/
xml
3.2
file:///home/mr/.pub-cache/hosted/pub.dev/xml-6.5.0/
file:///home/mr/.pub-cache/hosted/pub.dev/xml-6.5.0/lib/
oc_front
3.3
file:///home/mr/Documents/OC/oc-front/
file:///home/mr/Documents/OC/oc-front/lib/
flutter_flow_chart
3.3
file:///home/mr/Documents/OC/oc-front/library/flutter_flow_chart/
file:///home/mr/Documents/OC/oc-front/library/flutter_flow_chart/lib/
sky_engine
3.2
file:///home/mr/snap/flutter/common/flutter/bin/cache/pkg/sky_engine/
file:///home/mr/snap/flutter/common/flutter/bin/cache/pkg/sky_engine/lib/
flutter
3.3
file:///home/mr/snap/flutter/common/flutter/packages/flutter/
file:///home/mr/snap/flutter/common/flutter/packages/flutter/lib/
flutter_test
3.3
file:///home/mr/snap/flutter/common/flutter/packages/flutter_test/
file:///home/mr/snap/flutter/common/flutter/packages/flutter_test/lib/
flutter_web_plugins
3.2
file:///home/mr/snap/flutter/common/flutter/packages/flutter_web_plugins/
file:///home/mr/snap/flutter/common/flutter/packages/flutter_web_plugins/lib/
2

View File

@@ -1 +0,0 @@
3.24.3

View File

@@ -1,16 +0,0 @@
# This is a generated file; do not edit or check into version control.
desktop_window=/home/mr/.pub-cache/hosted/pub.dev/desktop_window-0.4.1/
device_info_plus=/home/mr/.pub-cache/hosted/pub.dev/device_info_plus-10.1.2/
irondash_engine_context=/home/mr/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/
path_provider=/home/mr/.pub-cache/hosted/pub.dev/path_provider-2.1.4/
path_provider_android=/home/mr/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/
path_provider_foundation=/home/mr/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/
path_provider_linux=/home/mr/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
path_provider_windows=/home/mr/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
shared_preferences=/home/mr/.pub-cache/hosted/pub.dev/shared_preferences-2.2.3/
shared_preferences_android=/home/mr/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.2/
shared_preferences_foundation=/home/mr/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.3/
shared_preferences_linux=/home/mr/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/
shared_preferences_web=/home/mr/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.1/
shared_preferences_windows=/home/mr/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/
super_native_extensions=/home/mr/.pub-cache/hosted/pub.dev/super_native_extensions-0.8.19/

File diff suppressed because one or more lines are too long

View File

@@ -1,19 +1,13 @@
# Environemnt to install flutter and build web
FROM debian:latest AS build-env
ARG HOST=${HOST:-"http://localhost:8000"}
ARG AUTH_MODE=true
# install all needed stuff
RUN apt-get update
RUN apt-get install -y curl git unzip
ARG WORKSPACE_HOST="http://localhost:8089/oc"
ARG WORKFLOW_HOST="http://localhost:8088/oc"
ARG ITEM_HOST="http://localhost:8087/oc"
ARG SCHEDULER_HOST="http://localhost:8090/oc"
ARG LOGS_HOST="http://localhost:3100"
ARG PEER_HOST="http://localhost:8093/oc"
ARG DATACENTER_HOST="http://localhost:8092/oc"
ARG COLLABORATIVE_AREA_HOST="http://localhost:8091/oc"
ARG AUTH_MODE=true
# define variables
ARG FLUTTER_SDK=/usr/local/flutter
ARG FLUTTER_VERSION=3.19.6
@@ -43,14 +37,8 @@ RUN flutter clean
RUN flutter pub get
RUN flutter build web \
--dart-define=AUTH_MODE=$AUTH_MODE \
--dart-define=WORKSPACE_HOST=$WORKSPACE_HOST \
--dart-define=WORKFLOW_HOST=$WORKFLOW_HOST \
--dart-define=PEER_HOST=$PEER_HOST \
--dart-define=COLLABORATIVE_AREA_HOST=$COLLABORATIVE_AREA_HOST \
--dart-define=SCHEDULER_HOST=$SCHEDULER_HOST \
--dart-define=LOGS_HOST=$LOGS_HOST \
--dart-define=ITEM_HOST=$ITEM_HOST \
--dart-define=DATACENTER_HOST=$DATACENTER_HOST
--dart-define=HOST=$HOST
# once heare the app will be compiled and ready to deploy
# use nginx to deploy

View File

@@ -2,6 +2,18 @@
all: clean docker publish-kind publish-registry
linux:
./local_run.sh
purge:
lsof -t -i:8080 | xargs kill | true
run-dev:
flutter run -d linux --dart-define=AUTH_MODE=true
dev: purge run-dev
run:
flutter run
@@ -15,7 +27,7 @@ clean:
flutter clean
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-front:0.0.1 -f Dockerfile .
DOCKER_BUILDKIT=1 docker build -t oc/oc-front:0.0.1 --build-arg HOST=$(HOST) -f Dockerfile .
docker tag oc/oc-front:0.0.1 oc/oc-front:latest
publish-kind:

View File

@@ -31,6 +31,11 @@ At the root of the project :
- `flutter clean`
- `flutter pub get`
OR
make linux-traefik
| make linux
## Run
### Run locally (dev mode)
@@ -41,7 +46,7 @@ At the root of the project : `flutter run`
For development purpose open a chrome without CORS : `google-chrome --disable-web-security`
At the root of the project :
- `docker build . -t oc-front`
if localisation services change : `docker build -t oc-front --build-arg WORKSPACE_HOST=<SERVICE URL> --build-arg WORKFLOW_HOST=<SERVICE URL> --build-arg SEARCH_HOST=<SERVICE URL> --build-arg ITEM_HOST=<SERVICE URL> .`
if localisation services change : `docker build -t oc-front --build-arg WORKSPACE_HOST=<SERVICE URL> --build-arg WORKFLOW_HOST=<SERVICE URL> --build-arg SEARCH_HOST=<SERVICE URL> --build-arg CATALOG_HOST=<SERVICE URL> .`
- `docker-compose up -d --build --force-recreate`

View File

@@ -1,12 +1,10 @@
{
"WORKSPACE_HOST": "http://localhost:8089/oc",
"WORKFLOW_HOST": "http://localhost:8088/oc",
"ITEM_HOST": "http://localhost:8087/oc",
"SCHEDULER_HOST": "http://localhost:8090/oc",
"LOGS_HOST": "http://localhost:3100",
"PEER_HOST": "http://localhost:8093/oc",
"DATACENTER_HOST": "http://localhost:8092/oc",
"COLLABORATIVE_AREA_HOST": "http://localhost:8091/oc",
"HOST": "http://localhost:8089/oc",
"AUTH_HOST": "http://localhost:8080/auth"
"WORKSPACE_HOST": "workspace",
"WORKFLOW_HOST": "workflow",
"CATALOG_HOST": "catalog",
"SCHEDULER_HOST": "scheduler",
"PEER_HOST": "peer",
"DATACENTER_HOST": "datacenter",
"COLLABORATIVE_AREA_HOST": "shared",
"AUTH_HOST": "auth"
}

View File

@@ -1,12 +0,0 @@
{
"WORKSPACE_HOST": "http://beta.opencloud.com/workspace/oc",
"WORKFLOW_HOST": "http://beta.opencloud.com/workflow/oc",
"ITEM_HOST": "http://beta.opencloud.com/catalog/oc",
"SCHEDULER_HOST": "http://beta.opencloud.com/scheduler/oc",
"LOGS_HOST": "http://localhost:3100",
"PEER_HOST": "http://beta.opencloud.com/peers/oc",
"DATACENTER_HOST": "http://beta.opencloud.com/datacenter/oc",
"COLLABORATIVE_AREA_HOST": "http://beta.opencloud.com/shared/oc",
"HOST": "http://beta.opencloud.com/oc",
"AUTH_HOST": "http://beta.opencloud.com/auth/oc"
}

View File

@@ -8,6 +8,14 @@ services:
- 8080:80
networks:
- catalog
labels:
- "traefik.enable=true"
- "traefik.http.routers.front.entrypoints=web"
- "traefik.http.routers.front.rule=PathPrefix(`/`)"
- "traefik.http.services.front.loadbalancer.server.port=80"
- "traefik.http.middlewares.front-stripprefix.stripprefix.prefixes=/"
- "traefik.http.routers.front.middlewares=front-stripprefix"
- "traefik.http.middlewares.front.forwardauth.address=http://oc-auth:8080/oc/forward"
networks:
catalog:
external: true

4
env.env Normal file
View File

@@ -0,0 +1,4 @@
KUBERNETES_SERVICE_HOST=192.168.1.169
KUBE_CA="LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkekNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTWpNeE1USXdNell3SGhjTk1qUXdPREE0TVRBeE16VTJXaGNOTXpRd09EQTJNVEF4TXpVMgpXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTWpNeE1USXdNell3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFTVlk3ZHZhNEdYTVdkMy9jMlhLN3JLYjlnWXgyNSthaEE0NmkyNVBkSFAKRktQL2UxSVMyWVF0dzNYZW1TTUQxaStZdzJSaVppNUQrSVZUamNtNHdhcnFvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVWtlUVJpNFJiODduME5yRnZaWjZHClc2SU55NnN3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUlnRXA5ck04WmdNclRZSHYxZjNzOW5DZXZZeWVVa3lZUk4KWjUzazdoaytJS1FDSVFDbk05TnVGKzlTakIzNDFacGZ5ays2NEpWdkpSM3BhcmVaejdMd2lhNm9kdz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
KUBE_CERT="LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJrVENDQVRlZ0F3SUJBZ0lJWUxWNkFPQkdrU1F3Q2dZSUtvWkl6ajBFQXdJd0l6RWhNQjhHQTFVRUF3d1kKYXpOekxXTnNhV1Z1ZEMxallVQXhOekl6TVRFeU1ETTJNQjRYRFRJME1EZ3dPREV3TVRNMU5sb1hEVEkxTURndwpPREV3TVRNMU5sb3dNREVYTUJVR0ExVUVDaE1PYzNsemRHVnRPbTFoYzNSbGNuTXhGVEFUQmdOVkJBTVRESE41CmMzUmxiVHBoWkcxcGJqQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDlBd0VIQTBJQUJGQ2Q1MFdPeWdlQ2syQzcKV2FrOWY4MVAvSkJieVRIajRWOXBsTEo0ck5HeHFtSjJOb2xROFYxdUx5RjBtOTQ2Nkc0RmRDQ2dqaXFVSk92Swp3NVRPNnd5alNEQkdNQTRHQTFVZER3RUIvd1FFQXdJRm9EQVRCZ05WSFNVRUREQUtCZ2dyQmdFRkJRY0RBakFmCkJnTlZIU01FR0RBV2dCVFJkOFI5cXVWK2pjeUVmL0ovT1hQSzMyS09XekFLQmdncWhrak9QUVFEQWdOSUFEQkYKQWlFQTArbThqTDBJVldvUTZ0dnB4cFo4NVlMalF1SmpwdXM0aDdnSXRxS3NmUVVDSUI2M2ZNdzFBMm5OVWU1TgpIUGZOcEQwSEtwcVN0Wnk4djIyVzliYlJUNklZCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0KLS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlRENDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdFkyeHAKWlc1MExXTmhRREUzTWpNeE1USXdNell3SGhjTk1qUXdPREE0TVRBeE16VTJXaGNOTXpRd09EQTJNVEF4TXpVMgpXakFqTVNFd0h3WURWUVFEREJock0zTXRZMnhwWlc1MExXTmhRREUzTWpNeE1USXdNell3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFRc3hXWk9pbnIrcVp4TmFEQjVGMGsvTDF5cE01VHAxOFRaeU92ektJazQKRTFsZWVqUm9STW0zNmhPeVljbnN3d3JoNnhSUnBpMW5RdGhyMzg0S0Z6MlBvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVTBYZkVmYXJsZm8zTWhIL3lmemx6Cnl0OWlqbHN3Q2dZSUtvWkl6ajBFQXdJRFNRQXdSZ0loQUxJL2dNYnNMT3MvUUpJa3U2WHVpRVMwTEE2cEJHMXgKcnBlTnpGdlZOekZsQWlFQW1wdjBubjZqN3M0MVI0QzFNMEpSL0djNE53MHdldlFmZWdEVGF1R2p3cFk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
KUBE_DATA="LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSU5ZS1BFb1dhd1NKUzJlRW5oWmlYMk5VZlY1ZlhKV2krSVNnV09TNFE5VTlvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFVUozblJZN0tCNEtUWUx0WnFUMS96VS84a0Z2Sk1lUGhYMm1Vc25pczBiR3FZblkyaVZEeApYVzR2SVhTYjNqcm9iZ1YwSUtDT0twUWs2OHJEbE03ckRBPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo="

View File

@@ -12,7 +12,6 @@ class AppConfig {
Future<void> loadConfig() async {
final response = await rootBundle.loadString('assets/config/front.json');
_config = Map<String, String>.from(json.decode(response));
print('Config loaded: $_config');
}
String get(String key, {String defaultValue = ''}) {

View File

@@ -1,3 +1,5 @@
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:oc_front/core/sections/end_drawer.dart';
import 'package:oc_front/core/sections/header/header.dart';
@@ -27,6 +29,7 @@ class WorkspaceLocal {
static List<AbstractItem> items = [];
static Future<void> init(BuildContext? context, bool changeCurrent) async {
WorkspaceLocal.createWorkspace("default workspace", null);
var value = await _service.all(context);
if (value.data != null && value.data!.values.isNotEmpty ) {
var vals = value.data!.values;
@@ -45,8 +48,6 @@ class WorkspaceLocal {
fill();
HeaderConstants.headerKey.currentState?.setState(() {});
}
} else {
await WorkspaceLocal.createWorkspace("default workspace", null);
}
}
@@ -106,7 +107,7 @@ class WorkspaceLocal {
WorkflowFactory.key.currentState?.setState(() {});
HeaderConstants.headerKey.currentState?.setState(() {});
}
});
}).catchError( (e) {});
}
static void changeWorkspaceByName(String name) {

View File

@@ -18,7 +18,7 @@ class APIService<T extends SerializerDeserializer> {
Dio _dio = Dio(
BaseOptions(
baseUrl: const String.fromEnvironment('HOST', defaultValue: 'http://localhost:8080'), // you can keep this blank
baseUrl: AppConfig().get('HOST', defaultValue: 'http://localhost:8000'), // you can keep this blank
headers: { 'Content-Type': 'application/json; charset=UTF-8', 'Access-Control-Allow-Origin': '*' },
),
)..interceptors.add(LogInterceptor(
@@ -105,9 +105,9 @@ class APIService<T extends SerializerDeserializer> {
BuildContext? context, Options? options) async {
var err = "";
try {
var type = localStorage.getItem('tokenType') ?? "bearer";
_dio.options.headers["Authorization"] = "${type[0].toUpperCase() + type.substring(1)} ${localStorage.getItem('accessToken') ?? ""}";
_dio.options.headers["Authorization"] = "Bearer ${localStorage.getItem('accessToken') ?? ""}";
_dio.interceptors.clear();
print("${_dio.options.baseUrl}$url" );
var response = await _request(url, method, body, options);
if (response.statusCode != null && response.statusCode! < 400) {
if (method == "delete") { cache.remove(url); return APIResponse<T>(); }
@@ -145,9 +145,8 @@ class APIService<T extends SerializerDeserializer> {
var err = "";
if (url != "") {
try {
var type = localStorage.getItem('tokenType') ?? "bearer";
_dio.options.headers["Authorization"] =
"${type[0].toUpperCase() + type.substring(1)} ${localStorage.getItem('accessToken') ?? ""}";
"Bearer ${localStorage.getItem('accessToken') ?? ""}";
_dio.interceptors.clear();
var response = await _request(url, method, body, null);
if (response.statusCode != null && response.statusCode! < 400) {

View File

@@ -6,13 +6,14 @@ import 'package:oc_front/main.dart';
import 'package:oc_front/models/response.dart';
class AuthService {
static var isAuth = const bool.fromEnvironment('AUTH_MODE', defaultValue: false);
static var conf = AppConfig();
static var isAuth = const bool.fromEnvironment('AUTH_MODE', defaultValue: true);
static const _clientID = String.fromEnvironment('CLIENT_ID', defaultValue: 'test-client');
static APIService<SimpleData> service = APIService(
baseURL: AppConfig().get('AUTH_HOST', defaultValue: 'http://localhost:8080/auth'),
);
static APIService<SimpleData>? service;
static Future<void> init() async {
service ??= APIService<SimpleData>(baseURL:
const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + conf.get('AUTH_HOST', defaultValue: '/auth'));
if (!isAuth) {
return;
}
@@ -48,7 +49,7 @@ class AuthService {
}
static Future<void> login(String username, String password) async {
var token = await service.post("/login?client_id=$_clientID", <String, dynamic> {
var token = await service!.post("/login?client_id=$_clientID", <String, dynamic> {
"username": username,
"password": password
}, null);
@@ -66,7 +67,7 @@ class AuthService {
}
static Future<void> logout() async {
var token = await service.delete("/logout?client_id=$_clientID", null);
var token = await service!.delete("/logout?client_id=$_clientID", null);
if (token.code == 200) {
localStorage.setItem('accessToken', '');
localStorage.setItem('username', '');
@@ -80,14 +81,14 @@ class AuthService {
return false;
}
// ignore: invalid_return_type_for_catch_error
var isIntrospected = await service.get("/introspect", true, null).catchError((e) => mainKey?.currentState?.setState(() {}));
var isIntrospected = await service!.get("/introspect", true, null).catchError((e) => mainKey?.currentState?.setState(() {}));
return isIntrospected.code == 200;
}
static Future<void> refresh(
String accessToken, String username, Duration duration) async {
Future.delayed(duration, () {
service.post("/refresh?client_id=$_clientID", <String, dynamic> {
service!.post("/refresh?client_id=$_clientID", <String, dynamic> {
"access_token": accessToken,
"username": username
}, null).then((token) {

View File

@@ -1,11 +1,10 @@
import 'package:oc_front/core/conf/conf_reader.dart';
import 'package:oc_front/models/response.dart';
import 'package:oc_front/core/services/api_service.dart';
class EnumService {
static final APIService<EnumData> _service = APIService<EnumData>(
baseURL: const String.fromEnvironment('ITEM_HOST',
defaultValue: 'http://localhost:8080/catalog')
);
static var conf = AppConfig();
static APIService<EnumData>? _service;
static String subPath = "/enum/";
static Map<String, Map<String,dynamic>> enums = {};
@@ -24,6 +23,10 @@ class EnumService {
}
static void init() {
_service = _service ?? APIService<EnumData>(
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + conf.get('CATALOG_HOST',
defaultValue: '/catalog')
);
_load("infrastructure");
_load("storage/type");
_load("storage/size");
@@ -40,7 +43,7 @@ class EnumService {
}
static void _load(String name) {
_service.get("$subPath$name", false, null).then((response) {
_service!.get("$subPath$name", false, null).then((response) {
if (response.code == 200) {
enums[name] = response.data!.value;
}

View File

@@ -71,7 +71,6 @@ class PermsService {
try {
var what = json.decode(foo);
what = what["session"]["access_token"] as Map<String, dynamic>;
for (var w in perms.keys) {
if (what.keys.contains(perms[w])) {
_perms[w] = true;

View File

@@ -1,3 +1,5 @@
import 'dart:convert';
import 'package:oc_front/core/sections/header/header.dart';
import 'package:oc_front/main.dart';
import 'package:oc_front/pages/abstract_page.dart';
@@ -42,7 +44,8 @@ class RouterItem {
void go(BuildContext context, Map<String, String> params) {
AppRouter.currentRoute = this;
var newPath = "$path";
var newPath = path;
AppRouter.setRouteCookie(newPath, params, context);
for (var arg in args) { newPath = newPath.replaceAll(":$arg", params[arg] ?? ""); }
Future.delayed( const Duration(seconds: 1), () {
HeaderConstants.setTitle(null);
@@ -87,6 +90,29 @@ class AppRouter {
});
}
static verifyRoute(context) async {
var url = await getRouteCookie();
if (url != null && url != "") {
for (var zone in zones) {
print("URL: $url ${zone.route}");
if (zone.route == url.replaceAll("/", "")) {
Map<String, String> params = {};
var srcParams = await getRouteParamsCookie();
for (var key in srcParams.keys) {
params[key] = "${srcParams[key]}";
}
zone.go(context, params);
return;
}
}
}
}
static Future<Map<String,dynamic>> getRouteParamsCookie() async {
final SharedPreferences prefs = await SharedPreferences.getInstance();
return prefs.getString("params") != null && prefs.getString("params") != "" ? json.decode(prefs.getString("params")!) : {};
}
static Future<String?> getRouteCookie() async {
final SharedPreferences prefs = await SharedPreferences.getInstance();
return prefs.getString("url") != "" ? prefs.getString("url") : null;
@@ -95,11 +121,13 @@ class AppRouter {
static removeRouteCookie() async {
final SharedPreferences prefs = await SharedPreferences.getInstance();
prefs.remove("url");
prefs.remove("params");
}
static setRouteCookie( String path , BuildContext context ) async {
static setRouteCookie( String path, Map<String, String> params, BuildContext context ) async {
final SharedPreferences prefs = await SharedPreferences.getInstance();
prefs.setString("url", path);
prefs.setString("params", params.toString());
if (realHistory.isNotEmpty && realHistory.last != path || realHistory.isEmpty) {
try {
var index = history.indexOf(realHistory.last);
@@ -122,7 +150,6 @@ class AppRouter {
final SharedPreferences prefs = await SharedPreferences.getInstance();
prefs.setString("url", realHistory.last);
prefs.setString("history", realHistory.join(","));
var splitted = realHistory.last.split(":");
routerKey.currentState?.setState(() { });
scaffoldKey.currentState?.setState(() {});
}
@@ -139,7 +166,6 @@ class AppRouter {
realHistory.add(history[index + 1]);
final SharedPreferences prefs = await SharedPreferences.getInstance();
prefs.setString("url", realHistory.last);
var splitted = realHistory.last.split(":");
prefs.setString("history", realHistory.join(","));
routerKey.currentState?.setState(() { });
scaffoldKey.currentState?.setState(() {});

View File

@@ -5,9 +5,13 @@ import 'package:oc_front/models/response.dart';
import 'package:oc_front/models/workflow.dart';
class BookingExecutionService extends AbstractService<WorkflowExecution> {
@override APIService<WorkflowExecution> service = APIService<WorkflowExecution>(
baseURL: const String.fromEnvironment('DATACENTER_HOST', defaultValue: 'http://localhost:8080/datacenter')
);
@override late final APIService<WorkflowExecution> service;
BookingExecutionService() {
service = APIService<WorkflowExecution>(
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('BOOKING_HOST',
defaultValue: '/booking'));
}
@override String subPath = "/booking/";
@override Future<APIResponse<WorkflowExecution>> search(BuildContext? context, List<String> words, Map<String, dynamic> params) {

View File

@@ -1,53 +0,0 @@
import 'package:flutter/widgets.dart';
import 'package:oc_front/core/services/api_service.dart';
import 'package:oc_front/core/services/specialized_services/abstract_service.dart';
import 'package:oc_front/models/response.dart';
import 'package:oc_front/models/workflow.dart';
class CheckService extends AbstractService<Check> {
@override
late final APIService<Check> service;
@override
String subPath = "/check/";
CheckService() {
service = APIService<Check>(
baseURL: super
.conf
.get('CHECK_HOST', defaultValue: 'http://localhost:8080/check'));
}
Future<APIResponse<Check>> search(
BuildContext? context, List<String> words, Map<String, dynamic> params) {
return service.get("$subPath${words.join("/")}", true, context);
}
@override
Future<APIResponse<RawData>> all(BuildContext? context) {
throw UnimplementedError();
}
@override
Future<APIResponse<Check>> get(BuildContext? context, String id) {
throw UnimplementedError();
}
@override
Future<APIResponse<Check>> post(BuildContext? context,
Map<String, dynamic> body, Map<String, String> params) {
throw UnimplementedError();
}
@override
Future<APIResponse<Check>> put(BuildContext? context, String id,
Map<String, dynamic> body, Map<String, String> params) {
throw UnimplementedError();
}
@override
Future<APIResponse<Check>> delete(
BuildContext? context, String id, Map<String, String> params) {
throw UnimplementedError();
}
}

View File

@@ -5,9 +5,13 @@ import 'package:oc_front/models/resources/resources.dart';
import 'package:oc_front/models/response.dart';
class DatacenterService extends AbstractService<Resource> {
@override APIService<Resource> service = APIService<Resource>(
baseURL: const String.fromEnvironment('DATACENTER_HOST', defaultValue: 'http://localhost:8080/datacenter')
);
@override late final APIService<Resource> service;
DatacenterService() {
service = APIService<Resource>(
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('DATACENTER_HOST',
defaultValue: '/datacenter'));
}
@override String subPath = "/";
@override Future<APIResponse<Resource>> search(BuildContext? context, List<String> words, Map<String, dynamic> params) {

View File

@@ -9,25 +9,16 @@ class LogsService extends AbstractService<LogsResult> {
late final APIService<LogsResult> service;
@override
String subPath = "/loki/api/v1/";
String subPath = "/loki";
LogService() {
LogsService() {
service = APIService<LogsResult>(
baseURL:
super.conf.get('LOGS_HOST', defaultValue: 'http://localhost:3100'));
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('SCHEDULER_HOST', defaultValue: '/scheduler'));
}
@override
Future<APIResponse<LogsResult>> search(
BuildContext? context, List<String> words, Map<String, dynamic> params) {
List<String> v = [];
for (var p in params.keys) {
if (p == "start" || p == "end") {
continue;
}
v.add("$p=\"${params[p]}\"");
}
return service.get("${subPath}query_range?query={${v.join(", ")}}&start=${params["start"].toString().substring(0, 10)}&end=${params["end"].toString().substring(0, 10)}", false, context);
Future<APIResponse<LogsResult>> search(BuildContext? context, List<String> words, Map<String, dynamic> params) {
return service.post(subPath, params, context);
}
@override

View File

@@ -10,8 +10,8 @@ class PeerService extends AbstractService<Peer> {
PeerService() {
service = APIService<Peer>(
baseURL: super
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super
.conf
.get('PEER_HOST', defaultValue: 'http://localhost:8080/peer'));
.get('PEER_HOST', defaultValue: '/peer'));
}
}

View File

@@ -13,9 +13,9 @@ class ResourceService extends AbstractService<Resource> {
ResourceService() {
service = APIService<Resource>(
baseURL: super
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super
.conf
.get('ITEM_HOST', defaultValue: 'http://localhost:8080/catalog'));
.get('CATALOG_HOST', defaultValue: '/catalog'));
}
@override

View File

@@ -13,8 +13,8 @@ class SharedService extends AbstractService<CollaborativeArea> {
SharedService() {
service = APIService<CollaborativeArea>(
baseURL: super.conf.get('COLLABORATIVE_AREA_HOST',
defaultValue: 'http://localhost:8080/shared'));
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('COLLABORATIVE_AREA_HOST',
defaultValue: '/shared'));
}
Future<APIResponse<CollaborativeArea>> addWorkspace(

View File

@@ -5,15 +5,13 @@ import 'package:oc_front/models/response.dart';
import 'package:oc_front/models/workflow.dart';
class WorkflowExecutionService extends AbstractService<WorkflowExecutions> {
@override APIService<WorkflowExecutions> service = APIService<WorkflowExecutions>(
baseURL: const String.fromEnvironment('SCHEDULER_HOST', defaultValue: 'http://localhost:8080/scheduler')
);
@override late final APIService<WorkflowExecutions> service;
@override String subPath = "/execution/";
WorkflowExecutionService() {
service = APIService<WorkflowExecutions>(
baseURL: super.conf.get('SCHEDULER_HOST',
defaultValue: 'http://localhost:8080/scheduler'));
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('SCHEDULER_HOST',
defaultValue: '/scheduler'));
}
@override
Future<APIResponse<WorkflowExecutions>> search(

View File

@@ -4,25 +4,28 @@ import 'package:oc_front/core/services/specialized_services/abstract_service.dar
import 'package:oc_front/models/response.dart';
import 'package:oc_front/models/workflow.dart';
class SchedulerService extends AbstractService<WorkflowExecution> {
@override APIService<WorkflowExecution> service = APIService<WorkflowExecution>(
baseURL: const String.fromEnvironment('SCHEDULER_HOST', defaultValue: 'http://localhost:8080/scheduler')
);
class SchedulerService extends AbstractService<WorkflowExecutions> {
@override late final APIService<WorkflowExecutions> service;
SchedulerService() {
service = APIService<WorkflowExecutions>(
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('SCHEDULER_HOST',
defaultValue: '/scheduler'));
}
@override String subPath = "/";
Future<APIResponse<WorkflowExecution>> schedule(BuildContext? context, String id, Map<String, dynamic> body, Map<String, dynamic> params) {
print("$subPath$id");
Future<APIResponse<WorkflowExecutions>> schedule(BuildContext? context, String id, Map<String, dynamic> body, Map<String, dynamic> params) {
return service.post("$subPath$id", body, context);
}
@override Future<APIResponse<WorkflowExecution>> search(BuildContext? context, List<String> words, Map<String, dynamic> params) {
@override Future<APIResponse<WorkflowExecutions>> search(BuildContext? context, List<String> words, Map<String, dynamic> params) {
return throw UnimplementedError();
}
@override Future<APIResponse<WorkflowExecution>> post(BuildContext? context, Map<String, dynamic> body, Map<String, String> params) {
@override Future<APIResponse<WorkflowExecutions>> post(BuildContext? context, Map<String, dynamic> body, Map<String, String> params) {
return throw UnimplementedError();
}
@override Future<APIResponse<WorkflowExecution>> put(BuildContext? context, String id, Map<String, dynamic> body, Map<String, String> params) {
@override Future<APIResponse<WorkflowExecutions>> put(BuildContext? context, String id, Map<String, dynamic> body, Map<String, String> params) {
return throw UnimplementedError();
}
}

View File

@@ -1,8 +1,11 @@
import 'package:flutter/material.dart';
import 'package:oc_front/core/services/api_service.dart';
import 'package:oc_front/core/services/specialized_services/abstract_service.dart';
import 'package:oc_front/models/response.dart';
import 'package:oc_front/models/workflow.dart';
class WorflowService extends AbstractService<Workflow> {
late final APIService<Check> serviceCheck;
@override
late final APIService<Workflow> service;
@override
@@ -10,7 +13,15 @@ class WorflowService extends AbstractService<Workflow> {
WorflowService() {
service = APIService<Workflow>(
baseURL: super.conf.get('WORKFLOW_HOST',
defaultValue: 'http://localhost:8080/workflow'));
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('WORKFLOW_HOST',
defaultValue: '/workflow'));
serviceCheck = APIService<Check>(
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('WORKFLOW_HOST',
defaultValue: '/workflow'));
}
Future<APIResponse<Check>> check(
BuildContext? context, List<String> words, Map<String, dynamic> params) {
return serviceCheck.get("${subPath}check/${words.join("/")}", true, context);
}
}

View File

@@ -11,7 +11,7 @@ class WorkspaceService extends AbstractService<Workspace> {
WorkspaceService() {
service = APIService<Workspace>(
baseURL: super.conf.get('WORKSPACE_HOST',
defaultValue: 'http://localhost:8080/workspace'));
baseURL: const String.fromEnvironment("HOST", defaultValue: "http://localhost:8000") + super.conf.get('WORKSPACE_HOST',
defaultValue: '/workspace'));
}
}

View File

@@ -1,9 +1,10 @@
import 'dart:async';
import 'dart:ui';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:go_router/go_router.dart';
import 'package:localstorage/localstorage.dart';
import 'package:oc_front/core/models/shared_workspace_local.dart';
import 'package:oc_front/core/models/workspace_local.dart';
import 'package:oc_front/core/sections/header/header.dart';
import 'package:oc_front/core/sections/header/menu.dart';
@@ -13,15 +14,8 @@ import 'package:oc_front/core/services/enum_service.dart';
import 'package:oc_front/core/services/router.dart';
import 'package:oc_front/core/sections/end_drawer.dart';
import 'package:oc_front/widgets/dialog/login.dart';
import 'package:oc_front/core/conf/conf_reader.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
// Load configuration before running the app
final appConfig = AppConfig();
await appConfig.loadConfig();
// Run `LinuxWebViewPlugin.initialize()` first before creating a WebView.
await initLocalStorage();
runApp(const MyApp());
@@ -35,6 +29,7 @@ class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
// Future.delayed(Duration(seconds: 2), () => AppRouter.verifyRoute(context));
AuthService.init();
EnumService.init();
SearchConstants.clear();
@@ -88,7 +83,6 @@ double getMainWidth(BuildContext context) {
}
bool loginIsSet = false;
class MainPageState extends State<MainPage> {
bool isCtrl = false;
final FocusNode node = FocusNode();
@override
void initState() {
@@ -106,13 +100,13 @@ class MainPageState extends State<MainPage> {
// fast, so that you can just rebuild anything that needs updating rather
// than having to individually change instances of widgets.i
scaffoldKey = GlobalKey<ScaffoldState>();
isCtrl = false;
if (!AuthService.isConnected() && !loginIsSet) {
Future.delayed(const Duration(milliseconds: 500), () {
loginIsSet = true;
showDialog(
barrierDismissible: false,
context: context ?? context, builder: (context) {
// ignore: use_build_context_synchronously
context: context, builder: (context) {
return AlertDialog(
insetPadding: EdgeInsets.zero,
backgroundColor: Colors.white,
@@ -137,23 +131,20 @@ class MainPageState extends State<MainPage> {
Container( padding: const EdgeInsets.symmetric(vertical: 30),
decoration: BoxDecoration( color: darkColor),
width: 50, height: getHeight(context) - 50,
child: SingleChildScrollView( child: LeftMenuWidget() )),
child: const SingleChildScrollView( child: LeftMenuWidget() )),
SizedBox( width: getMainWidth(context), height: getHeight(context) - 50,
child: KeyboardListener(
focusNode: node,
onKeyEvent: (event) async {
if ( event.logicalKey == LogicalKeyboardKey.controlLeft ) {
isCtrl = (event is KeyDownEvent);
node.requestFocus();
} else if( (event is KeyDownEvent) && event.logicalKey == LogicalKeyboardKey.enter) {
AppRouter.currentRoute.factory.search(context, isCtrl);
if( (event is KeyDownEvent) && event.logicalKey == LogicalKeyboardKey.enter) {
AppRouter.currentRoute.factory.search(context, false);
node.requestFocus();
}
},
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
HeaderWidget(),
const HeaderWidget(),
widget.page ?? Container() // CatalogPageWidget(),
],
),

View File

@@ -72,6 +72,7 @@ class Log extends SerializerDeserializer<Log> {
String getMessage(String mess) {
var jsonString = mess;
print(mess);
try {
var j = JsonString(mess.replaceAll("\\", "")).decodedValue as Map<String, dynamic>;
map = j;
@@ -87,9 +88,8 @@ class Log extends SerializerDeserializer<Log> {
@override deserialize(dynamic json) {
try { json = json as List<dynamic>;
} catch (e) { return Log(); }
var l = Log(
timestamp: json.isNotEmpty ? DateTime.fromMillisecondsSinceEpoch(int.parse(json[0]) ~/ 1000) : null,
} catch (e) { return Log(); } var l = Log(
timestamp: json.isNotEmpty ? DateTime.fromMillisecondsSinceEpoch(int.parse(json[0]) ~/ 1000, isUtc : true) : null,
message: json.length > 1 ? getMessage(json[1].toString()) : null,
rawMessage : json.length > 1 ? json[1].toString() : null,
);

View File

@@ -42,7 +42,7 @@ class MapPageWidgetState extends State<MapPageWidget> {
return FutureBuilder(future: widget._service.all(context), builder: (BuildContext context, AsyncSnapshot snapshot) {
Map<String, Map<AbstractItem, LatLng>> coordinates = {};
List<Marker> markerCoordinates = [];
if (snapshot.data != null&& snapshot.data!.data != null && snapshot.data!.data!.values.isNotEmpty) {
if (snapshot.data != null&& snapshot.data!.data != null) {
for (var element in snapshot.data!.data!.values) {
if (element["type"] == "storage") {
StorageItem resource = StorageItem().deserialize(element);
@@ -67,9 +67,9 @@ class MapPageWidgetState extends State<MapPageWidget> {
height: 30,
point: coordinates[topic]![coord]!,
child: HoverMenu( width: 110, title: Container( alignment: Alignment.center,
constraints: BoxConstraints( maxHeight: 100, maxWidth: 100 ),
constraints: const BoxConstraints( maxHeight: 100, maxWidth: 100 ),
child: Icon(FontAwesomeIcons.locationDot,
shadows: <Shadow>[Shadow(color: Color.fromRGBO(0, 0, 0, 1), blurRadius: 10.0)],
shadows: const <Shadow>[Shadow(color: Color.fromRGBO(0, 0, 0, 1), blurRadius: 10.0)],
color: getColor(topic)) ),
items: [ Container(color: Colors.white,
child: ItemRowWidget(low: true, contextWidth: 290, item: coord)) ]

View File

@@ -95,15 +95,15 @@ final WorflowService _service = WorflowService();
var instance = objAbs as ComputeItem;
if (instance.infrastructureEnum != null) {
if (instance.infrastructureEnum == 0) {
return Icon(FontAwesomeIcons.docker, size: 16);
return const Icon(FontAwesomeIcons.docker, size: 16);
} else if (instance.infrastructureEnum == 1) {
return Icon(FontAwesomeIcons.lifeRing, size: 16);
return const Icon(FontAwesomeIcons.lifeRing, size: 16);
} else if (instance.infrastructureEnum == 2) {
return Icon(FontAwesomeIcons.cubes, size: 16);
return const Icon(FontAwesomeIcons.cubes, size: 16);
} else if (instance.infrastructureEnum == 3) {
return Icon(FontAwesomeIcons.hardDrive, size: 16);
return const Icon(FontAwesomeIcons.hardDrive, size: 16);
} else if (instance.infrastructureEnum == 4) {
return Icon(FontAwesomeIcons.v, size: 16);
return const Icon(FontAwesomeIcons.v, size: 16);
}
}
}
@@ -114,15 +114,15 @@ final WorflowService _service = WorflowService();
var objAbs = obj as AbstractItem?;
if (objAbs == null) { return null; }
if (objAbs.topic == "processing" ) {
return Icon(FontAwesomeIcons.gear, size: 16);
return const Icon(FontAwesomeIcons.gear, size: 16);
} else if (objAbs.topic == "data" ) {
return Icon(FontAwesomeIcons.file, size: 16);
return const Icon(FontAwesomeIcons.file, size: 16);
} else if (objAbs.topic == "storage" ) {
return Icon(FontAwesomeIcons.database, size: 16);
return const Icon(FontAwesomeIcons.database, size: 16);
} else if (objAbs.topic == "compute" ) {
return Icon(FontAwesomeIcons.microchip, size: 16);
return const Icon(FontAwesomeIcons.microchip, size: 16);
} else if (objAbs.topic == "workflows" ) {
return Icon(FontAwesomeIcons.diagramProject, size: 16);
return const Icon(FontAwesomeIcons.diagramProject, size: 16);
}
return null;
}
@@ -169,11 +169,11 @@ final WorflowService _service = WorflowService();
var updateW = Workflow(
name: dash.name,
graph: Graph(),
data: datas.map((e) => e.id).toSet().toList(),
compute: compute.map((e) => e.id).toSet().toList(),
storage: storage.map((e) => e.id).toSet().toList(),
processing: processing.map((e) => e.id).toSet().toList(),
workflows: workflows.map((e) => e.id).toSet().toList(),
data: datas.map((e) => e.element?.getID()).toSet().toList(),
compute: compute.map((e) => e.element?.getID()).toSet().toList(),
storage: storage.map((e) => e.element?.getID()).toSet().toList(),
processing: processing.map((e) => e.element?.getID()).toSet().toList(),
workflows: workflows.map((e) => e.element?.getID()).toSet().toList(),
);
updateW.fromDashboard(dash.serialize());
for (var item in (updateW.graph?.items.values ?? [] as List<GraphItem>)) {
@@ -213,13 +213,13 @@ final WorflowService _service = WorflowService();
}
Widget onDashboardMenu(Dashboard dash) {
return Container( padding: EdgeInsets.only(left: 50),
decoration: BoxDecoration( border: Border( left: BorderSide( color: Colors.white ))),
return Container( padding: const EdgeInsets.only(left: 50),
decoration: const BoxDecoration( border: Border( left: BorderSide( color: Colors.white ))),
child: ShallowDropdownInputWidget(
filled: lightColor,
hintColor: Colors.grey.shade200,
color: Colors.white,
prefixIcon: Padding( padding: EdgeInsets.only(right: 10), child: Icon(Icons.shopping_cart, color: Colors.grey.shade200)),
prefixIcon: Padding( padding: const EdgeInsets.only(right: 10), child: Icon(Icons.shopping_cart, color: Colors.grey.shade200)),
current: WorkspaceLocal.current,
width: 300,
all: () async => WorkspaceLocal.getWorkspacesShallow(),

View File

@@ -18,7 +18,6 @@ import 'package:flutter_flow_chart/flutter_flow_chart.dart';
import 'package:oc_front/widgets/inputs/shallow_text_input.dart';
import 'package:oc_front/core/models/shared_workspace_local.dart';
import 'package:datetime_picker_formfield/datetime_picker_formfield.dart';
import 'package:oc_front/core/services/specialized_services/check_service.dart';
import 'package:oc_front/core/services/specialized_services/workflow_service.dart';
// ignore: must_be_immutable
@@ -40,9 +39,8 @@ class SchedulerFormsWidget extends StatefulWidget {
@override SchedulerFormsWidgetState createState() => SchedulerFormsWidgetState();
}
class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
CheckService check = CheckService();
WorflowService check = WorflowService();
void save(List<GlobalKey<FormFieldState>> formKeys) {
print("save");
widget.error = null;
widget.errorEndDate = null;
widget.errorCron = null;
@@ -84,7 +82,11 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
}
}
Duration durationBefore = widget.schedule.start!.difference(DateTime.now().toUtc()) + Duration(seconds: 5);
widget._schedulerService.schedule(context, widget.item.id ?? "", widget.schedule.serialize(), {}).then((value) {
widget._schedulerService.schedule(context, widget.item.id ?? "", widget.schedule.serialize(), {}).catchError( (e) {
setState(() {
widget.error = e.toString();
});
}).then((value) {
setState(() { widget.valid = true; });
Future.delayed(durationBefore, () {
try {
@@ -110,7 +112,7 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
} else {
e = widget.schedule.end!.toUtc().toIso8601String();
}
check.search(context, [widget.item.id ?? "", s.substring(0, 19), e.substring(0, 19)], {}).then(
check.check(context, [widget.item.id ?? "", s.substring(0, 19), e.substring(0, 19)], {}).then(
(v) {
if (v.data == null) { return; }
widget.booking = v.data!.isAvailable;
@@ -215,12 +217,11 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
);
});
} : null,
);
shallow.change =(p0) => Future.delayed( const Duration(seconds: 2), () async {
if (shallow.compare == p0) {
await WorflowService().put(context, widget.item.id ?? "", { "name" : p0 }, {});
} else {
shallow.compare = p0;
);
shallow.change =(p0) => Future.delayed( const Duration(milliseconds: 100), () async {
if (shallow.current == p0) {
dash.name = p0 ?? dash.name;
await WorflowService().put(context, widget.item.id ?? "", { "name" : dash.name }, {});
}
});
return Column( children: [
@@ -236,7 +237,7 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
bottom: const BorderSide(color: Colors.grey))),
child: shallow ),
const SizedBox(height: 20, width: 200 ),
isService ? Text("Warning a processing is a service, if no end execution it will run forever.") : Container(),
isService ? const Text("Warning a processing is a service, if no end execution it will run forever.") : Container(),
Tooltip( message: "start executions",
child: Container( height: 40, margin: const EdgeInsets.only(top: 5),
padding: const EdgeInsets.symmetric(vertical: 5, horizontal: 10),
@@ -494,12 +495,11 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
onTap: () { PermsService.getPerm(Perms.WORKFLOW_BOOKING) ? checkBooking(formKeys, null) : null;
}, child: Container( margin: const EdgeInsets.only(bottom: 5, left: 10, right: 10),
decoration: BoxDecoration(borderRadius: BorderRadius.circular(5),
border: Border.all(color: widget.booking == null ? (
PermsService.getPerm(Perms.WORKFLOW_BOOKING) && PermsService.getPerm(Perms.WORKFLOW_EDIT) ? Colors.black : Colors.grey) : (
border: Border.all(color: widget.booking == null ? Colors.black : (
widget.booking == true ? Colors.green : redColor), width: 1)),
width: 200, height: 30,
child: Icon( Icons.verified_outlined,
color: widget.booking == null ? Colors.black : (widget.booking == true ? Colors.green : redColor)),
color: widget.booking == null ? Colors.black : (widget.booking == true ? Colors.green : redColor)),
))
): Container(),
PermsService.getPerm(Perms.WORKFLOW_BOOKING) ? Tooltip( message: "book", child: InkWell( mouseCursor: SystemMouseCursors.click,
@@ -507,7 +507,7 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
setState(() { save(formKeys); });
}, child: Container( margin: const EdgeInsets.only(top: 5, bottom: 10, left: 10, right: 10),
decoration: BoxDecoration(borderRadius: BorderRadius.circular(5),
border: Border.all(color: dash.error != null ? Colors.red : ( PermsService.getPerm(Perms.WORKFLOW_BOOKING) ?(widget.valid ? Colors.green : Colors.black) : Colors.grey ))),
border: Border.all(color: dash.error != null ? Colors.red : (widget.valid ? Colors.green : Colors.black) )),
width: 200, height: 30,
child: Icon(Icons.schedule_send, color: dash.error != null ? Colors.red : (widget.valid ? Colors.green : Colors.black)),
))

View File

@@ -27,8 +27,8 @@ class LogsWidgetState extends State<LogsWidget> {
try { setState(() { });
} catch (e) { /**/ }
});
return Container( height: getMainHeight(context) - 100,
child: Center( child: CircularProgressIndicator()) );
return SizedBox( height: getMainHeight(context) - 100,
child: const Center( child: CircularProgressIndicator()) );
}
if (widget.exec == null) {
return Container();
@@ -53,11 +53,7 @@ class LogsWidgetState extends State<LogsWidget> {
end = (DateTime.parse(widget.exec!.startDate!).add( const Duration(days: 14)).microsecondsSinceEpoch).toString();
}
} catch(e) { /* */ }
Future.delayed(const Duration(minutes: 1), () {
try { setState(() {});
} catch (e) { /**/ }
});
return FutureBuilder(future: LogsService().search(context, [], {
return FutureBuilder(future: LogsService().search(null, [], {
"workflow_execution_id": widget.exec!.id,
"start": start,
"end": end

View File

@@ -44,6 +44,7 @@ class ScheduleWidgetState extends State<ScheduleWidget> {
"${widget.end.year}-${widget.end.month > 9 ? widget.end.month : "0${widget.end.month}"}-${widget.end.day > 9 ? widget.end.day : "0${widget.end.day}"}"], {}),
builder: (ctx, as) {
Map<String, List<WorkflowExecution>> data = {};
DateTime? firstDate;
if (as.hasData && as.data!.data != null) {
for (var element in as.data!.data!.executions) {
if (element.startDate == null) { continue; }
@@ -55,6 +56,17 @@ class ScheduleWidgetState extends State<ScheduleWidget> {
data[str]!.sort((a, b) => DateTime.parse(a.startDate!).compareTo(DateTime.parse(b.startDate!)));
}
}
List<WorkflowExecution> vals = [];
for (var val in data.values) {
vals.addAll(val);
}
if (vals.isNotEmpty) {
try {
Future.delayed(const Duration(minutes: 1), () {
setState(() {});
});
} catch (e) { /* */ }
}
bool isInfo = getMainWidth(context) <= 600 && selected != null && widget.isBox;
double w = selected != null && widget.isBox ? getMainWidth(context) - menuSize : getMainWidth(context);
List<Widget> children = [];

View File

@@ -24,7 +24,10 @@ class SchedulerItemWidgetState extends State<SchedulerItemWidget> {
for (var element in widget.data.keys.toList()..sort((a, b) => DateTime.parse(a).compareTo(DateTime.parse(b)))) {
List<Widget> widgets = [];
for (var ev in widget.data[element] ?? ([] as List<WorkflowExecution>)) {
widget.keys[ev.startDate!] = GlobalKey();
Duration durationBefore = DateTime.parse(ev.startDate!).difference(DateTime.now().toUtc()) + Duration(seconds: 5);
Future.delayed(durationBefore, () {
widget.parent?.setState(() { });
});
var d2 = DateTime.parse(ev.startDate!).toLocal();
DateTime? d3;
try { d3 = DateTime.parse(ev.endDate!).toLocal();
@@ -34,7 +37,6 @@ class SchedulerItemWidgetState extends State<SchedulerItemWidget> {
selected = selected != element || ev.startDate != selectedReal ? element : null;
widget.parent!.widget.selectedID = selected;
selectedReal = selected == null ? null : ev.startDate;
print("there");
if (selectedReal == null) {
widget.parent!.widget.isDayPlanner = true;
}

View File

@@ -9,7 +9,6 @@ import 'package:flutter/foundation.dart';
import 'package:flutter_flow_chart/flutter_flow_chart.dart';
import 'package:flutter_flow_chart/src/flow_chart_menu.dart';
import 'package:flutter_flow_chart/src/flow_chart_selected_menu.dart';
import 'package:flutter_flow_chart/src/ui/draw_arrow.dart';
import 'package:flutter_flow_chart/src/ui/segment_handler.dart';
/// Listener definition for a new connection
@@ -163,7 +162,6 @@ class Dashboard extends ChangeNotifier {
}
void copyFromMap(Map<String, dynamic> map) {
debugPrintStack(stackTrace: StackTrace.current, label: 'my_label', maxFrames: 5);
defaultArrowStyle = ArrowStyle.values[map['arrowStyle'] as int? ?? 0];
defaultDashSpace = map['defaultDashSpace'] as double? ?? 0;
defaultDashWidth = map['defaultDashWidth'] as double? ?? 0;
@@ -843,7 +841,6 @@ class Dashboard extends ChangeNotifier {
}
if (found == 0) {
debugPrint('Element with $destId id not found!');
return;
}
if (notify) {

View File

@@ -296,9 +296,9 @@ class HoverMenuState extends State<HoverMenu> {
}
}
bool isCtrl = false;
class FlowChartState<T extends FlowData> extends State<FlowChart> {
var node = FocusNode();
bool isCtrl = false;
@override
void initState() {
node.requestFocus();
@@ -316,24 +316,30 @@ class FlowChartState<T extends FlowData> extends State<FlowChart> {
if (!widget.dashboard.isOpened && widget.onDashboardAlertOpened != null ) {
if (widget.dashboard.id != null) {
widget.dashboard.isOpened = true;
Future.delayed(Duration(milliseconds: 100), () => widget.dashboard.load!(widget.dashboard.id!) );
Future.delayed(const Duration(milliseconds: 100), () => widget.dashboard.load!(widget.dashboard.id!) );
} else {
Future.delayed(Duration(milliseconds: 100), () {
if (!widget.dashboard.inDialog) {
widget.dashboard.inDialog = true;
showDialog(
barrierDismissible: false,
context: context, builder: (context) {
return AlertDialog(
titlePadding: EdgeInsets.zero,
insetPadding: EdgeInsets.zero,
backgroundColor: Colors.white,
shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(0)),
title: widget.onDashboardAlertOpened!(context, widget.dashboard));
try {
Future.delayed(const Duration(milliseconds: 100), () {
if (!widget.dashboard.inDialog) {
widget.dashboard.inDialog = true;
showDialog(
barrierDismissible: false,
context: context, builder: (context) {
return AlertDialog(
titlePadding: EdgeInsets.zero,
insetPadding: EdgeInsets.zero,
backgroundColor: Colors.white,
shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(0)),
title: widget.onDashboardAlertOpened!(context, widget.dashboard));
});
}
});
});
}
});
} catch (e) {
widget.dashboard.id = null;
widget.dashboard.name = "";
widget.dashboard.isOpened = false;
}
}
} else {
widget.dashboard.isOpened = true;
@@ -358,15 +364,20 @@ class FlowChartState<T extends FlowData> extends State<FlowChart> {
autofocus: true,
onKeyEvent: (event) {
bool change = false;
if (event.logicalKey == LogicalKeyboardKey.controlLeft) {
isCtrl = event is KeyDownEvent || event is KeyRepeatEvent;
if (event.logicalKey == LogicalKeyboardKey.controlLeft && event is KeyDownEvent) {
print("CTRL true");
isCtrl = true;
}
/*if ((event is KeyDownEvent || event.logicalKey == LogicalKeyboardKey.keyZ) && isCtrl) {
if (event.logicalKey == LogicalKeyboardKey.controlLeft && event is KeyUpEvent) {
print("CTRL false");
isCtrl = false;
}
if ((event is KeyDownEvent || event.logicalKey == LogicalKeyboardKey.keyZ) && isCtrl) {
widget.dashboard.back();
}
if ((event is KeyDownEvent || event.logicalKey == LogicalKeyboardKey.keyY) && isCtrl) {
widget.dashboard.forward();
}*/
}
if (event is KeyDownEvent && event.logicalKey == LogicalKeyboardKey.add) {
change = true;
for (var el in widget.dashboard.elementSelected) {
@@ -411,7 +422,7 @@ class FlowChartState<T extends FlowData> extends State<FlowChart> {
children: [
Stack(children: [
// Draw the grid
Container( child: DragTarget<T>(
DragTarget<T>(
builder: (
BuildContext context,
List<dynamic> accepted,
@@ -468,7 +479,7 @@ class FlowChartState<T extends FlowData> extends State<FlowChart> {
);
widget.dashboard.addElement(el, context);
},
))]
)]
),
widget.dashboard.isMenu ? Positioned(top: 50, child: FlowChartSelectedMenu(
key: widget.dashboard.selectedMenuKey,
@@ -722,9 +733,10 @@ class ChartWidgetState<T extends FlowData> extends State<ChartWidget> {
final gridKey = GlobalKey();
var tapDownPos = Offset.zero;
var secondaryTapDownPos = Offset.zero;
for (int i = 0; i < widget.dashboard.elements.length; i++)
for (int i = 0; i < widget.dashboard.elements.length; i++) {
widget.dashboard.elements[i].next.removeWhere((element) =>
widget.dashboard.findElementIndexById(element.destElementId) < 0);
}
return Stack( children: [
Positioned.fill(
child: GestureDetector(
@@ -816,9 +828,9 @@ class ChartWidgetState<T extends FlowData> extends State<ChartWidget> {
for (int i = 0; i < widget.dashboard.elements.length; i++)
ElementWidget<T>(
key: UniqueKey(),
bottomLeftBadge: widget.flowChart.widget.itemLeftBottomBadges != null ?
bottomLeftBadge: widget.flowChart.widget.itemLeftBottomBadges != null && widget.dashboard.elements[i].element != null ?
widget.flowChart.widget.itemLeftBottomBadges!(widget.dashboard.elements[i].element as T) : null,
topRightBadge: widget.flowChart.widget.itemrightTopBadges != null ?
topRightBadge: widget.flowChart.widget.itemrightTopBadges != null && widget.dashboard.elements[i].element != null ?
widget.flowChart.widget.itemrightTopBadges!(widget.dashboard.elements[i].element as T) : null,
dashboard: widget.dashboard,
element: widget.dashboard.elements.elementAt(i),

View File

@@ -23,19 +23,19 @@ class FlowChartMenuState extends State<FlowChartMenu> {
return Row( mainAxisAlignment: MainAxisAlignment.end, children : [ Container( // SHORTCUT
width: widget.width,
height: 50,
padding: EdgeInsets.only(left: 20),
padding: const EdgeInsets.only(left: 20),
color: widget.dashboard.dashColor,
child: Row( children : [ Expanded(flex: 2, child: Row( children: [
widget.chart.widget.flowChart.widget.onDashboardAlertOpened == null ? Container() : Container(
decoration: BoxDecoration(
decoration: const BoxDecoration(
border: Border(right: BorderSide(color: Colors.white, width: 1))
),
child: Row( children: [
Tooltip( message: "open file", child:Container( child:
Padding( padding: EdgeInsets.only(right: 15),
Tooltip( message: "open file", child: Padding( padding: const EdgeInsets.only(right: 15),
child: InkWell( mouseCursor: SystemMouseCursors.click,
onTap: () {
widget.dashboard.name = "graph_${DateTime.now().toString().replaceAll(" ", "_").substring(0, DateTime.now().toString().length - 7)}";
widget.dashboard.id = null;
widget.dashboard.name = "";
widget.dashboard.isOpened = true;
if (!widget.dashboard.inDialog) {
widget.dashboard.inDialog = true;
@@ -52,7 +52,7 @@ class FlowChartMenuState extends State<FlowChartMenu> {
});
}
},
child: Icon(Icons.folder, color: Colors.white))))),
child: Icon(Icons.folder, color: Colors.white)))),
])),
InkWell( mouseCursor: SystemMouseCursors.click, child: Container(
decoration: BoxDecoration(
@@ -240,12 +240,12 @@ class FlowChartMenuState extends State<FlowChartMenu> {
])),
Expanded(
child: Padding( child: Text("current workflow : ${widget.dashboard.name}", overflow: TextOverflow.ellipsis,
style: TextStyle(color: Colors.white, fontSize: 14), textAlign: TextAlign.start),
padding: EdgeInsets.symmetric(horizontal: 20))),
child: Padding( padding: const EdgeInsets.symmetric(horizontal: 20),
child: Text("current workflow : ${widget.dashboard.name}", overflow: TextOverflow.ellipsis,
style: const TextStyle(color: Colors.white, fontSize: 14), textAlign: TextAlign.start))),
])),
widget.menuExtension != null && widget.chart.widget.flowChart.widget.width > 600 ? Container(
decoration: BoxDecoration(
decoration: const BoxDecoration(
border: Border(left: BorderSide(color: Colors.white, width: 1))
),
child: widget.menuExtension

View File

@@ -3,8 +3,6 @@ import 'dart:convert';
import 'dart:ui' as ui;
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_flow_chart/flutter_flow_chart.dart';
import 'package:flutter_flow_chart/src/ui/segment_handler.dart';
@@ -257,6 +255,7 @@ class DrawingArrow extends ChangeNotifier {
/// Draw arrow from [srcElement] to [destElement]
/// using [arrowParams] parameters
// ignore: must_be_immutable
class DrawArrow extends StatefulWidget {
ChartWidgetState flow;
///
@@ -377,14 +376,15 @@ class DrawArrowState extends State<DrawArrow> {
}
}
// ignore: must_be_immutable
class GraphParamsWidget extends StatefulWidget {
ChartWidgetState comp;
bool isShowed = false;
Offset? position;
FlowElement element;
int index;
GraphParamsWidget({ Key? key, required this.element, required this.comp,
required this.index }): super(key: key);
GraphParamsWidget({ super.key, required this.element, required this.comp,
required this.index });
@override GraphParamsWidgetState createState() => GraphParamsWidgetState();
}
class GraphParamsWidgetState extends State<GraphParamsWidget> {
@@ -393,32 +393,32 @@ class GraphParamsWidgetState extends State<GraphParamsWidget> {
top: (widget.position?.dy ?? 0) - 5, left: (widget.position?.dx ?? 0) - 5,
child: MouseRegion( cursor: SystemMouseCursors.click,
onHover: (event) => setState(() { widget.isShowed = true; }),
child: Container(
child: Row(children: [
IconButton(onPressed: () {
widget.comp.setState(() {
widget.comp.widget.dashboard.removeArrows((el) => el.fromID == "${widget.element.id}${widget.index}", context);
widget.element.next.removeAt(widget.index);
});
}, icon: Icon(Icons.delete))
],))));
}, icon: const Icon(Icons.delete))
],)));
}
}
// ignore: must_be_immutable
class ArrowInfoWidget extends StatefulWidget {
Dashboard dashboard;
ArrowInfoWidget ({ Key? key, required this.dashboard }): super(key: key);
ArrowInfoWidget ({ super.key, required this.dashboard });
@override ArrowInfoWidgetState createState() => ArrowInfoWidgetState();
}
class ArrowInfoWidgetState extends State<ArrowInfoWidget> {
@override Widget build(BuildContext context) {
return SingleChildScrollView( child: Column(children: [
Container(height: 50,
decoration: BoxDecoration(color: widget.dashboard.midDashColor, border: Border(bottom: BorderSide(color: Colors.grey, width: 1))),
child: Center( child: Text("<Arrow> Style", style: TextStyle(fontSize: 20)))),
decoration: BoxDecoration(color: widget.dashboard.midDashColor, border: const Border(bottom: BorderSide(color: Colors.grey, width: 1))),
child: const Center( child: Text("<Arrow> Style", style: TextStyle(fontSize: 20)))),
Container(height: 50,
decoration: BoxDecoration(color: widget.dashboard.midDashColor, border: Border(bottom: BorderSide(color: Colors.grey, width: 1))),
child: Row(children: [],)
decoration: BoxDecoration(color: widget.dashboard.midDashColor, border: const Border(bottom: BorderSide(color: Colors.grey, width: 1))),
child: const Row(children: [],)
),
],) );
}

View File

@@ -136,32 +136,27 @@ class ElementWidgetState<T extends FlowData> extends State<ElementWidget> {
if (widget.element.widget == null) { element = RectangleWidget(element: widget.element);
} else { element = AnyWidget(element: widget.element); }
}
var tapLocation = Offset.zero;
var secondaryTapDownPos = Offset.zero;
Widget w = GestureDetector(
Widget w = InkWell(
onTapDown: (details) => tapLocation = details.globalPosition,
onSecondaryTapDown: (details) =>
secondaryTapDownPos = details.globalPosition,
onTap: () {
setState(() {
if (!(widget.dashboard.flutterChartKey.currentState?.isCtrl ?? true)) {
if (!isCtrl) {
for (var element in widget.dashboard.elements) {
element.isSelected = false;
element.dashboard.chartKey.currentState?. setState(() { });
widget.dashboard.selectedMenuKey.currentState?. setState(() { });
}
}
Future.delayed(Duration(milliseconds: 100), () {
DrawingArrow.instance.notifyListeners();
widget.element.isSelected = !widget.element.isSelected;
for (var sel in widget.dashboard.arrows) { sel.isSelected = false; }
widget.dashboard.selectedMenuKey.currentState?. setState(() { });
});
DrawingArrow.instance.notifyListeners();
widget.isHovered = false;
widget.element.isSelected = !widget.element.isSelected;
for (var sel in widget.dashboard.arrows) { sel.isSelected = false; }
widget.dashboard.selectedMenuKey.currentState?. setState(() { });
});
widget.onElementPressed?.call(context, tapLocation);
},
onSecondaryTap: () {
widget.onElementSecondaryTapped?.call(context, secondaryTapDownPos);
@@ -169,9 +164,9 @@ class ElementWidgetState<T extends FlowData> extends State<ElementWidget> {
onLongPress: () {
widget.onElementLongPressed?.call(context, tapLocation);
},
onSecondaryLongPress: () {
/*onSecondaryLongPress: () {
widget.onElementSecondaryLongTapped?.call(context, secondaryTapDownPos);
},
},*/
child: Listener(
onPointerDown: (event) {
delta = event.localPosition;
@@ -198,7 +193,7 @@ class ElementWidgetState<T extends FlowData> extends State<ElementWidget> {
onHandlerLongPressed: widget.onHandlerLongPressed,
onHandlerSecondaryLongTapped: widget.onHandlerSecondaryLongTapped,
child: Container(
margin: EdgeInsets.all(10), // why some change
margin: const EdgeInsets.all(10), // why some change
decoration: BoxDecoration(
border: Border.all(color: widget.element.isSelected ? Colors.red : widget.dashboard.midDashColor,
width: widget.element.isSelected ? 2 : 1),

View File

@@ -195,7 +195,6 @@ class _GridBackgroundPainter extends CustomPainter {
@override
bool shouldRepaint(_GridBackgroundPainter oldDelegate) {
debugPrint('shouldRepaint ${oldDelegate.dx} $dx ${oldDelegate.dy} $dy');
return oldDelegate.dx != dx || oldDelegate.dy != dy;
}
}

View File

@@ -2,9 +2,8 @@
WORKSPACE_HOST='http://localhost:8089/oc'
WORKFLOW_HOST='http://localhost:8088/oc'
ITEM_HOST='http://localhost:8087/oc'
CATALOG_HOST='http://localhost:8087/oc'
SCHEDULER_HOST='http://localhost:8090/oc'
LOGS_HOST='http://localhost:3100'
PEER_HOST='http://localhost:8093/oc'
COLLABORATIVE_AREA_HOST='http://localhost:8091/oc'
AUTH_HOST='http://localhost:8094/oc'
@@ -12,4 +11,4 @@ DATACENTER_HOST='http://localhost:8092/oc'
AUTH_MODE=true
flutter run -d linux --dart-define=AUTH_MODE=$AUTH_MODE --dart-define=DATACENTER_HOST=$DATACENTER_HOST --dart-define=AUTH_HOST=$AUTH_HOST --dart-define=WORKSPACE_HOST=$WORKSPACE_HOST --dart-define=WORKFLOW_HOST=$WORKFLOW_HOST --dart-define=PEER_HOST=$PEER_HOST --dart-define=COLLABORATIVE_AREA_HOST=$COLLABORATIVE_AREA_HOST --dart-define=SCHEDULER_HOST=$SCHEDULER_HOST --dart-define=LOGS_HOST=$LOGS_HOST --dart-define=ITEM_HOST=$ITEM_HOST
flutter run -d linux --dart-define=AUTH_MODE=$AUTH_MODE --dart-define=DATACENTER_HOST=$DATACENTER_HOST --dart-define=AUTH_HOST=$AUTH_HOST --dart-define=WORKSPACE_HOST=$WORKSPACE_HOST --dart-define=WORKFLOW_HOST=$WORKFLOW_HOST --dart-define=PEER_HOST=$PEER_HOST --dart-define=COLLABORATIVE_AREA_HOST=$COLLABORATIVE_AREA_HOST --dart-define=SCHEDULER_HOST=$SCHEDULER_HOST --dart-define=CATALOG_HOST=$CATALOG_HOST

4
local_run_traefik.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
AUTH_MODE=true
flutter run -d linux --dart-define=AUTH_MODE=$AUTH_MODE

View File

@@ -98,7 +98,6 @@ flutter:
- assets/images/logo.svg
- assets/images/icon.svg
- assets/config/front.json
- assets/config/front_k8s.json
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg