dmart 1.4.35__py3-none-any.whl → 1.4.37__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dmart/__init__.py +7 -0
- dmart/alembic/README +1 -0
- dmart/alembic/notes.txt +11 -0
- dmart/alembic/script.py.mako +28 -0
- dmart/alembic.ini +117 -0
- dmart/config.env.sample +27 -0
- dmart/conftest.py +13 -0
- dmart/curl.sh +196 -0
- cxb/assets/EntryRenderer-25YDhRen.js → dmart/cxb/assets/EntryRenderer-DwSsr_qX.js +1 -1
- cxb/assets/ListView-BpAycA2h.js → dmart/cxb/assets/ListView-DDE5x83t.js +1 -1
- cxb/assets/_module-CEW0D5oI.js → dmart/cxb/assets/_module-BNXXWMkB.js +1 -1
- cxb/assets/_module-Bfk8MiCs.js → dmart/cxb/assets/_module-_Y_1Ib3l.js +1 -1
- cxb/assets/index-CTxJ-lDp.js → dmart/cxb/assets/index-Br_OAS0Q.js +1 -1
- cxb/assets/index-iYkH7C67.js → dmart/cxb/assets/index-DwORvtKk.js +1 -1
- cxb/assets/index-Cd-F5j_k.js → dmart/cxb/assets/index-NksiCXM3.js +1 -1
- cxb/assets/index-C6cPO4op.js → dmart/cxb/assets/index-WkeaPz7c.js +1 -1
- cxb/assets/index-ac-Buu_H.js → dmart/cxb/assets/index-ZWZ_PIBi.js +2 -2
- cxb/assets/index-D742rwaM.js → dmart/cxb/assets/index-skKdyGa2.js +1 -1
- {cxb → dmart/cxb}/index.html +1 -1
- dmart.py → dmart/dmart.py +4 -7
- dmart/hypercorn_config.toml +3 -0
- dmart/info.json +1 -0
- dmart/login_creds.sh +7 -0
- dmart/login_creds.sh.sample +7 -0
- dmart/manifest.sh +12 -0
- dmart/plugins/action_log/config.json +13 -0
- dmart/plugins/admin_notification_sender/config.json +13 -0
- dmart/plugins/ldap_manager/config.json +12 -0
- dmart/plugins/ldap_manager/dmart.schema +146 -0
- dmart/plugins/ldap_manager/slapd.conf +53 -0
- dmart/plugins/local_notification/config.json +13 -0
- dmart/plugins/realtime_updates_notifier/config.json +12 -0
- dmart/plugins/redis_db_update/config.json +13 -0
- dmart/plugins/resource_folders_creation/config.json +12 -0
- dmart/plugins/system_notification_sender/config.json +13 -0
- dmart/plugins/update_access_controls/config.json +12 -0
- dmart/publish.sh +57 -0
- dmart/pylint.sh +16 -0
- dmart/pyrightconfig.json +7 -0
- dmart/redis_connections.sh +13 -0
- dmart/reload.sh +56 -0
- dmart/run.sh +3 -0
- dmart/test_utils.py +34 -0
- {utils → dmart/utils}/settings.py +50 -5
- {dmart-1.4.35.dist-info → dmart-1.4.37.dist-info}/METADATA +1 -1
- dmart-1.4.37.dist-info/RECORD +285 -0
- dmart-1.4.37.dist-info/entry_points.txt +2 -0
- dmart-1.4.37.dist-info/top_level.txt +1 -0
- dmart-1.4.35.dist-info/RECORD +0 -264
- dmart-1.4.35.dist-info/entry_points.txt +0 -2
- dmart-1.4.35.dist-info/top_level.txt +0 -24
- pytests/api_user_models_erros_test.py +0 -16
- pytests/api_user_models_requests_test.py +0 -98
- pytests/archive_test.py +0 -72
- pytests/base_test.py +0 -300
- pytests/get_settings_test.py +0 -14
- pytests/json_to_db_migration_test.py +0 -237
- pytests/service_test.py +0 -26
- pytests/test_info.py +0 -55
- pytests/test_status.py +0 -15
- utils/__init__.py +0 -0
- {alembic → dmart/alembic}/__init__.py +0 -0
- {alembic → dmart/alembic}/env.py +0 -0
- {alembic → dmart/alembic}/scripts/__init__.py +0 -0
- {alembic → dmart/alembic}/scripts/calculate_checksums.py +0 -0
- {alembic → dmart/alembic}/scripts/migration_f7a4949eed19.py +0 -0
- {alembic → dmart/alembic}/versions/0f3d2b1a7c21_add_authz_materialized_views.py +0 -0
- {alembic → dmart/alembic}/versions/10d2041b94d4_last_checksum_history.py +0 -0
- {alembic → dmart/alembic}/versions/1cf4e1ee3cb8_ext_permission_with_filter_fields_values.py +0 -0
- {alembic → dmart/alembic}/versions/26bfe19b49d4_rm_failedloginattempts.py +0 -0
- {alembic → dmart/alembic}/versions/3c8bca2219cc_add_otp_table.py +0 -0
- {alembic → dmart/alembic}/versions/6675fd9dfe42_remove_unique_from_sessions_table.py +0 -0
- {alembic → dmart/alembic}/versions/71bc1df82e6a_adding_user_last_login_at.py +0 -0
- {alembic → dmart/alembic}/versions/74288ccbd3b5_initial.py +0 -0
- {alembic → dmart/alembic}/versions/7520a89a8467_rm_activesession_table.py +0 -0
- {alembic → dmart/alembic}/versions/848b623755a4_make_created_nd_updated_at_required.py +0 -0
- {alembic → dmart/alembic}/versions/8640dcbebf85_add_notes_to_users.py +0 -0
- {alembic → dmart/alembic}/versions/91c94250232a_adding_fk_on_owner_shortname.py +0 -0
- {alembic → dmart/alembic}/versions/98ecd6f56f9a_ext_meta_with_owner_group_shortname.py +0 -0
- {alembic → dmart/alembic}/versions/9aae9138c4ef_indexing_created_at_updated_at.py +0 -0
- {alembic → dmart/alembic}/versions/__init__.py +0 -0
- {alembic → dmart/alembic}/versions/b53f916b3f6d_json_to_jsonb.py +0 -0
- {alembic → dmart/alembic}/versions/eb5f1ec65156_adding_user_locked_to_device.py +0 -0
- {alembic → dmart/alembic}/versions/f7a4949eed19_adding_query_policies_to_meta.py +0 -0
- {api → dmart/api}/__init__.py +0 -0
- {api → dmart/api}/info/__init__.py +0 -0
- {api → dmart/api}/info/router.py +0 -0
- {api → dmart/api}/managed/__init__.py +0 -0
- {api → dmart/api}/managed/router.py +0 -0
- {api → dmart/api}/managed/utils.py +0 -0
- {api → dmart/api}/public/__init__.py +0 -0
- {api → dmart/api}/public/router.py +0 -0
- {api → dmart/api}/qr/__init__.py +0 -0
- {api → dmart/api}/qr/router.py +0 -0
- {api → dmart/api}/user/__init__.py +0 -0
- {api → dmart/api}/user/model/__init__.py +0 -0
- {api → dmart/api}/user/model/errors.py +0 -0
- {api → dmart/api}/user/model/requests.py +0 -0
- {api → dmart/api}/user/model/responses.py +0 -0
- {api → dmart/api}/user/router.py +0 -0
- {api → dmart/api}/user/service.py +0 -0
- /bundler.py → /dmart/bundler.py +0 -0
- {config → dmart/config}/__init__.py +0 -0
- {config → dmart/config}/channels.json +0 -0
- {config → dmart/config}/notification.json +0 -0
- {cxb → dmart/cxb}/__init__.py +0 -0
- {cxb → dmart/cxb}/assets/@codemirror-Rn7_6DkE.js +0 -0
- {cxb → dmart/cxb}/assets/@edraj-CS4NwVbD.js +0 -0
- {cxb → dmart/cxb}/assets/@floating-ui-BwwcF-xh.js +0 -0
- {cxb → dmart/cxb}/assets/@formatjs-yKEsAtjs.js +0 -0
- {cxb → dmart/cxb}/assets/@fortawesome-DRW1UCdr.js +0 -0
- {cxb → dmart/cxb}/assets/@jsonquerylang-laKNoFFq.js +0 -0
- {cxb → dmart/cxb}/assets/@lezer-za4Q-8Ew.js +0 -0
- {cxb → dmart/cxb}/assets/@marijn-DXwl3gUT.js +0 -0
- {cxb → dmart/cxb}/assets/@popperjs-l0sNRNKZ.js +0 -0
- {cxb → dmart/cxb}/assets/@replit--ERk53eB.js +0 -0
- {cxb → dmart/cxb}/assets/@roxi-CGMFK4i8.js +0 -0
- {cxb → dmart/cxb}/assets/@typewriter-cCzskkIv.js +0 -0
- {cxb → dmart/cxb}/assets/@zerodevx-BlBZjKxu.js +0 -0
- {cxb → dmart/cxb}/assets/@zerodevx-CVEpe6WZ.css +0 -0
- {cxb → dmart/cxb}/assets/BreadCrumbLite-DAhOx38v.js +0 -0
- {cxb → dmart/cxb}/assets/EntryRenderer-DXytdFp9.css +0 -0
- {cxb → dmart/cxb}/assets/ListView-U8of-_c-.css +0 -0
- {cxb → dmart/cxb}/assets/Prism--hMplq-p.js +0 -0
- {cxb → dmart/cxb}/assets/Prism-Uh6uStUw.css +0 -0
- {cxb → dmart/cxb}/assets/Table2Cols-BsbwicQm.js +0 -0
- {cxb → dmart/cxb}/assets/_..-BvT6vdHa.css +0 -0
- {cxb → dmart/cxb}/assets/_...404_-fuLH_rX9.js +0 -0
- {cxb → dmart/cxb}/assets/_...fallback_-Ba_NLmAE.js +0 -0
- {cxb → dmart/cxb}/assets/_module-Dgq0ZVtz.js +0 -0
- {cxb → dmart/cxb}/assets/ajv-Cpj98o6Y.js +0 -0
- {cxb → dmart/cxb}/assets/axios-CG2WSiiR.js +0 -0
- {cxb → dmart/cxb}/assets/clsx-B-dksMZM.js +0 -0
- {cxb → dmart/cxb}/assets/codemirror-wrapped-line-indent-DPhKvljI.js +0 -0
- {cxb → dmart/cxb}/assets/compare-C3AjiGFR.js +0 -0
- {cxb → dmart/cxb}/assets/compute-scroll-into-view-Bl8rNFhg.js +0 -0
- {cxb → dmart/cxb}/assets/consolite-DlCuI0F9.js +0 -0
- {cxb → dmart/cxb}/assets/crelt-C8TCjufn.js +0 -0
- {cxb → dmart/cxb}/assets/date-fns-l0sNRNKZ.js +0 -0
- {cxb → dmart/cxb}/assets/deepmerge-rn4rBaHU.js +0 -0
- {cxb → dmart/cxb}/assets/dmart_services-AL6-IdDE.js +0 -0
- {cxb → dmart/cxb}/assets/downloadFile-D08i0YDh.js +0 -0
- {cxb → dmart/cxb}/assets/easy-signal-BiPFIK3O.js +0 -0
- {cxb → dmart/cxb}/assets/esm-env-rsSWfq8L.js +0 -0
- {cxb → dmart/cxb}/assets/export-OF_rTiXu.js +0 -0
- {cxb → dmart/cxb}/assets/fast-deep-equal-l0sNRNKZ.js +0 -0
- {cxb → dmart/cxb}/assets/fast-diff-C-IidNf4.js +0 -0
- {cxb → dmart/cxb}/assets/fast-uri-l0sNRNKZ.js +0 -0
- {cxb → dmart/cxb}/assets/flowbite-svelte-BLvjb-sa.js +0 -0
- {cxb → dmart/cxb}/assets/flowbite-svelte-CD54FDqW.css +0 -0
- {cxb → dmart/cxb}/assets/flowbite-svelte-icons-BI8GVhw_.js +0 -0
- {cxb → dmart/cxb}/assets/github-slugger-CQ4oX9Ud.js +0 -0
- {cxb → dmart/cxb}/assets/global-igKv-1g9.js +0 -0
- {cxb → dmart/cxb}/assets/hookar-BMRD9G9H.js +0 -0
- {cxb → dmart/cxb}/assets/immutable-json-patch-DtRO2E_S.js +0 -0
- {cxb → dmart/cxb}/assets/import-1vE3gBat.js +0 -0
- {cxb → dmart/cxb}/assets/index-B-eTh-ZX.js +0 -0
- {cxb → dmart/cxb}/assets/index-BVyxzKtH.js +0 -0
- {cxb → dmart/cxb}/assets/index-BdeNM69f.js +0 -0
- {cxb → dmart/cxb}/assets/index-CC-A1ipE.js +0 -0
- {cxb → dmart/cxb}/assets/index-DTfhnhwd.js +0 -0
- {cxb → dmart/cxb}/assets/index-DdXRK7n9.js +0 -0
- {cxb → dmart/cxb}/assets/index-DtiCmB4o.js +0 -0
- {cxb → dmart/cxb}/assets/index-NBrXBlLA.css +0 -0
- {cxb → dmart/cxb}/assets/info-B986lRiM.js +0 -0
- {cxb → dmart/cxb}/assets/intl-messageformat-Dc5UU-HB.js +0 -0
- {cxb → dmart/cxb}/assets/jmespath-l0sNRNKZ.js +0 -0
- {cxb → dmart/cxb}/assets/json-schema-traverse-l0sNRNKZ.js +0 -0
- {cxb → dmart/cxb}/assets/json-source-map-DRgZidqy.js +0 -0
- {cxb → dmart/cxb}/assets/jsonpath-plus-l0sNRNKZ.js +0 -0
- {cxb → dmart/cxb}/assets/jsonrepair-B30Dx381.js +0 -0
- {cxb → dmart/cxb}/assets/lodash-es-DZVAA2ox.js +0 -0
- {cxb → dmart/cxb}/assets/marked-DKjyhwJX.js +0 -0
- {cxb → dmart/cxb}/assets/marked-gfm-heading-id-U5zO829x.js +0 -0
- {cxb → dmart/cxb}/assets/marked-mangle-CDMeiHC6.js +0 -0
- {cxb → dmart/cxb}/assets/memoize-one-BdPwpGay.js +0 -0
- {cxb → dmart/cxb}/assets/natural-compare-lite-Bg2Xcf-o.js +0 -0
- {cxb → dmart/cxb}/assets/pagination-svelte-D5CyoiE_.js +0 -0
- {cxb → dmart/cxb}/assets/pagination-svelte-v10nAbbM.css +0 -0
- {cxb → dmart/cxb}/assets/plantuml-encoder-C47mzt9T.js +0 -0
- {cxb → dmart/cxb}/assets/prismjs-DTUiLGJu.js +0 -0
- {cxb → dmart/cxb}/assets/profile-BUf-tKMe.js +0 -0
- {cxb → dmart/cxb}/assets/query-CNmXTsgf.js +0 -0
- {cxb → dmart/cxb}/assets/queryHelpers-C9iBWwqe.js +0 -0
- {cxb → dmart/cxb}/assets/scroll-into-view-if-needed-KR58zyjF.js +0 -0
- {cxb → dmart/cxb}/assets/spaces-0oyGvpii.js +0 -0
- {cxb → dmart/cxb}/assets/style-mod-Bs6eFhZE.js +0 -0
- {cxb → dmart/cxb}/assets/svelte-B2XmcTi_.js +0 -0
- {cxb → dmart/cxb}/assets/svelte-awesome-COLlx0DN.css +0 -0
- {cxb → dmart/cxb}/assets/svelte-awesome-DhnMA6Q_.js +0 -0
- {cxb → dmart/cxb}/assets/svelte-datatables-net-CY7LBj6I.js +0 -0
- {cxb → dmart/cxb}/assets/svelte-floating-ui-BlS3sOAQ.js +0 -0
- {cxb → dmart/cxb}/assets/svelte-i18n-CT2KkQaN.js +0 -0
- {cxb → dmart/cxb}/assets/svelte-jsoneditor-BzfX6Usi.css +0 -0
- {cxb → dmart/cxb}/assets/svelte-jsoneditor-CUGSvWId.js +0 -0
- {cxb → dmart/cxb}/assets/svelte-select-CegQKzqH.css +0 -0
- {cxb → dmart/cxb}/assets/svelte-select-CjHAt_85.js +0 -0
- {cxb → dmart/cxb}/assets/tailwind-merge-CJvxXMcu.js +0 -0
- {cxb → dmart/cxb}/assets/tailwind-variants-Cj20BoQ3.js +0 -0
- {cxb → dmart/cxb}/assets/toast-B9WDyfyI.js +0 -0
- {cxb → dmart/cxb}/assets/tslib-pJfR_DrR.js +0 -0
- {cxb → dmart/cxb}/assets/typewriter-editor-DkTVIJdm.js +0 -0
- {cxb → dmart/cxb}/assets/user-DeK_NB5v.js +0 -0
- {cxb → dmart/cxb}/assets/vanilla-picker-l5rcX3cq.js +0 -0
- {cxb → dmart/cxb}/assets/w3c-keyname-Vcq4gwWv.js +0 -0
- {cxb → dmart/cxb}/config.json +0 -0
- {cxb → dmart/cxb}/config.sample.json +0 -0
- {cxb → dmart/cxb}/favicon.ico +0 -0
- {cxb → dmart/cxb}/favicon.png +0 -0
- {data_adapters → dmart/data_adapters}/__init__.py +0 -0
- {data_adapters → dmart/data_adapters}/adapter.py +0 -0
- {data_adapters → dmart/data_adapters}/base_data_adapter.py +0 -0
- {data_adapters → dmart/data_adapters}/file/__init__.py +0 -0
- {data_adapters → dmart/data_adapters}/file/adapter.py +0 -0
- {data_adapters → dmart/data_adapters}/file/adapter_helpers.py +0 -0
- {data_adapters → dmart/data_adapters}/file/archive.py +0 -0
- {data_adapters → dmart/data_adapters}/file/create_index.py +0 -0
- {data_adapters → dmart/data_adapters}/file/create_users_folders.py +0 -0
- {data_adapters → dmart/data_adapters}/file/custom_validations.py +0 -0
- {data_adapters → dmart/data_adapters}/file/drop_index.py +0 -0
- {data_adapters → dmart/data_adapters}/file/health_check.py +0 -0
- {data_adapters → dmart/data_adapters}/file/redis_services.py +0 -0
- {data_adapters → dmart/data_adapters}/helpers.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/__init__.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/adapter.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/adapter_helpers.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/create_tables.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/create_users_folders.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/db_to_json_migration.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/health_check_sql.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/json_to_db_migration.py +0 -0
- {data_adapters → dmart/data_adapters}/sql/update_query_policies.py +0 -0
- /data_generator.py → /dmart/data_generator.py +0 -0
- /get_settings.py → /dmart/get_settings.py +0 -0
- {languages → dmart/languages}/__init__.py +0 -0
- {languages → dmart/languages}/arabic.json +0 -0
- {languages → dmart/languages}/english.json +0 -0
- {languages → dmart/languages}/kurdish.json +0 -0
- {languages → dmart/languages}/loader.py +0 -0
- /main.py → /dmart/main.py +0 -0
- /migrate.py → /dmart/migrate.py +0 -0
- {models → dmart/models}/__init__.py +0 -0
- {models → dmart/models}/api.py +0 -0
- {models → dmart/models}/core.py +0 -0
- {models → dmart/models}/enums.py +0 -0
- /password_gen.py → /dmart/password_gen.py +0 -0
- {plugins → dmart/plugins}/__init__.py +0 -0
- {plugins → dmart/plugins}/action_log/__init__.py +0 -0
- {plugins → dmart/plugins}/action_log/plugin.py +0 -0
- {plugins → dmart/plugins}/admin_notification_sender/__init__.py +0 -0
- {plugins → dmart/plugins}/admin_notification_sender/plugin.py +0 -0
- {plugins → dmart/plugins}/ldap_manager/__init__.py +0 -0
- {plugins → dmart/plugins}/ldap_manager/plugin.py +0 -0
- {plugins → dmart/plugins}/local_notification/__init__.py +0 -0
- {plugins → dmart/plugins}/local_notification/plugin.py +0 -0
- {plugins → dmart/plugins}/realtime_updates_notifier/__init__.py +0 -0
- {plugins → dmart/plugins}/realtime_updates_notifier/plugin.py +0 -0
- {plugins → dmart/plugins}/redis_db_update/__init__.py +0 -0
- {plugins → dmart/plugins}/redis_db_update/plugin.py +0 -0
- {plugins → dmart/plugins}/resource_folders_creation/__init__.py +0 -0
- {plugins → dmart/plugins}/resource_folders_creation/plugin.py +0 -0
- {plugins → dmart/plugins}/system_notification_sender/__init__.py +0 -0
- {plugins → dmart/plugins}/system_notification_sender/plugin.py +0 -0
- {plugins → dmart/plugins}/update_access_controls/__init__.py +0 -0
- {plugins → dmart/plugins}/update_access_controls/plugin.py +0 -0
- /run_notification_campaign.py → /dmart/run_notification_campaign.py +0 -0
- /scheduled_notification_handler.py → /dmart/scheduled_notification_handler.py +0 -0
- /schema_migration.py → /dmart/schema_migration.py +0 -0
- /schema_modulate.py → /dmart/schema_modulate.py +0 -0
- /set_admin_passwd.py → /dmart/set_admin_passwd.py +0 -0
- /sync.py → /dmart/sync.py +0 -0
- {pytests → dmart/utils}/__init__.py +0 -0
- {utils → dmart/utils}/access_control.py +0 -0
- {utils → dmart/utils}/async_request.py +0 -0
- {utils → dmart/utils}/exporter.py +0 -0
- {utils → dmart/utils}/firebase_notifier.py +0 -0
- {utils → dmart/utils}/generate_email.py +0 -0
- {utils → dmart/utils}/helpers.py +0 -0
- {utils → dmart/utils}/hypercorn_config.py +0 -0
- {utils → dmart/utils}/internal_error_code.py +0 -0
- {utils → dmart/utils}/jwt.py +0 -0
- {utils → dmart/utils}/logger.py +0 -0
- {utils → dmart/utils}/middleware.py +0 -0
- {utils → dmart/utils}/notification.py +0 -0
- {utils → dmart/utils}/password_hashing.py +0 -0
- {utils → dmart/utils}/plugin_manager.py +0 -0
- {utils → dmart/utils}/query_policies_helper.py +0 -0
- {utils → dmart/utils}/regex.py +0 -0
- {utils → dmart/utils}/repository.py +0 -0
- {utils → dmart/utils}/router_helper.py +0 -0
- {utils → dmart/utils}/sms_notifier.py +0 -0
- {utils → dmart/utils}/social_sso.py +0 -0
- {utils → dmart/utils}/templates/activation.html.j2 +0 -0
- {utils → dmart/utils}/templates/reminder.html.j2 +0 -0
- {utils → dmart/utils}/ticket_sys_utils.py +0 -0
- {utils → dmart/utils}/web_notifier.py +0 -0
- /websocket.py → /dmart/websocket.py +0 -0
- {dmart-1.4.35.dist-info → dmart-1.4.37.dist-info}/WHEEL +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{p as Y,L as h,i as Z,B as n,E as e,F as o,j as rr,R as T,k as s,l as tr,H as er,aj as or,h as w,I as ar,c as sr,ag as ir,a6 as lr,U,q as nr}from"./svelte-B2XmcTi_.js";import{B as E,A as x,D as mr,a as b,b as dr}from"./flowbite-svelte-BLvjb-sa.js";import{g as cr}from"./@roxi-CGMFK4i8.js";import{u as pr,s as vr}from"./user-DeK_NB5v.js";import{g as ur}from"./dmart_services-AL6-IdDE.js";import{s as fr}from"./index-
|
|
1
|
+
import{p as Y,L as h,i as Z,B as n,E as e,F as o,j as rr,R as T,k as s,l as tr,H as er,aj as or,h as w,I as ar,c as sr,ag as ir,a6 as lr,U,q as nr}from"./svelte-B2XmcTi_.js";import{B as E,A as x,D as mr,a as b,b as dr}from"./flowbite-svelte-BLvjb-sa.js";import{g as cr}from"./@roxi-CGMFK4i8.js";import{u as pr,s as vr}from"./user-DeK_NB5v.js";import{g as ur}from"./dmart_services-AL6-IdDE.js";import{s as fr}from"./index-ZWZ_PIBi.js";import{H as gr,T as _r,U as $r,O as hr}from"./flowbite-svelte-icons-BI8GVhw_.js";import{$ as xr}from"./svelte-i18n-CT2KkQaN.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./@floating-ui-BwwcF-xh.js";import"./tailwind-variants-Cj20BoQ3.js";import"./tailwind-merge-CJvxXMcu.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";import"./@edraj-CS4NwVbD.js";import"./spaces-0oyGvpii.js";import"./toast-B9WDyfyI.js";import"./@zerodevx-BlBZjKxu.js";import"./deepmerge-rn4rBaHU.js";import"./ajv-Cpj98o6Y.js";import"./intl-messageformat-Dc5UU-HB.js";import"./tslib-pJfR_DrR.js";import"./@formatjs-yKEsAtjs.js";var br=n('<div class="flex items-center gap-2"><!> Dashboard</div>'),wr=n('<div class="flex items-center gap-2"><!> My Profile</div>'),yr=n('<div class="flex items-center gap-2 text-red-600"><!> Logout</div>'),kr=n("<!> <!> <!> <!>",1),Dr=n('<!> <span class="text-sm"> </span> <!>',1),Pr=n('<div class="flex items-center justify-between border-b border-gray-200 px-5"><ul class="flex flex-row mr-auto"><li><a href="/" class="flex items-center p-0 my-3"><!> <span>Dmart</span></a></li></ul> <div class="flex items-center gap-4"><div class="flex rounded-full bg-gray-100 p-1"><button>EN</button> <button>AR</button></div> <!></div></div>');function zr(v,u){Y(u,!1);const i=()=>h(cr,"$goto",f),d=()=>h(xr,"$locale",f),m=()=>h(pr,"$user",f),[f,I]=er();i();function y(r){fr(r)}function S(r){r.preventDefault(),r.stopPropagation(),i()("/management/profile")}function q(r){r.preventDefault(),r.stopPropagation(),vr()}Z();var k=Pr(),D=e(k),F=e(D),M=e(F),N=e(M);gr(N,{size:"lg"});var C=o(D,2),P=e(C),g=e(P);g.__click=()=>y("en");var z=o(g,2);z.__click=()=>y("ar");var G=o(P,2);{var J=r=>{E(r,{class:"bg-primary",onclick:()=>i()("/management"),children:(_,Q)=>{var p=or("Login");s(_,p)},$$slots:{default:!0}})},K=r=>{E(r,{pill:!0,color:"light",class:"flex items-center gap-2 py-1 px-3",children:(_,Q)=>{var p=Dr(),H=w(p);ar(H,()=>ur(m().shortname),l=>{x(l,{src:null,size:"xs",class:"ring-2 ring-white"})},(l,$)=>{x(l,{get src(){return sr($)},size:"xs",class:"ring-2 ring-white"})},(l,$)=>{x(l,{src:null,size:"xs",class:"ring-2 ring-white"})});var j=o(H,2),V=e(j),W=o(j,2);mr(W,{simple:!0,children:(l,$)=>{var L=kr(),A=w(L);b(A,{onclick:t=>i()("/management"),children:(t,R)=>{var a=br(),c=e(a);_r(c,{size:"md"}),s(t,a)},$$slots:{default:!0}});var O=o(A,2);b(O,{onclick:t=>S(t),children:(t,R)=>{var a=wr(),c=e(a);$r(c,{size:"md"}),s(t,a)},$$slots:{default:!0}});var B=o(O,2);dr(B,{});var X=o(B,2);b(X,{onclick:t=>q(t),children:(t,R)=>{var a=yr(),c=e(a);hr(c,{size:"md"}),s(t,a)},$$slots:{default:!0}}),s(l,L)},$$slots:{default:!0}}),T(()=>lr(V,m().shortname)),s(_,p)},$$slots:{default:!0}})};rr(G,r=>{!m()||!m().signedin?r(J):r(K,!1)})}T(()=>{U(g,1,`w-8 h-8 flex items-center justify-center rounded-full text-sm font-medium transition-all
|
|
2
2
|
${d()==="en"?"bg-white border-2 border-primary shadow-sm":"text-gray-600 hover:color-primary"}`),U(z,1,`w-8 h-8 flex items-center justify-center rounded-full text-sm font-medium transition-all
|
|
3
3
|
${d()==="ar"?"bg-white border-2 border-primary shadow-sm":"text-gray-600 hover:color-primary"}`)}),s(v,k),tr(),I()}ir(["click"]);var Hr=n("<!> <!>",1);function Zr(v,u){var i=Hr(),d=w(i);zr(d,{});var m=o(d,2);nr(m,u,"default",{},null),s(v,i)}export{Zr as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as h,i as d,f as m,h as i,J as g,k as e,l,H as v,j as k,L as $}from"./svelte-B2XmcTi_.js";import{Q as w}from"./@edraj-CS4NwVbD.js";import{L as b}from"./ListView-
|
|
1
|
+
import{p as h,i as d,f as m,h as i,J as g,k as e,l,H as v,j as k,L as $}from"./svelte-B2XmcTi_.js";import{Q as w}from"./@edraj-CS4NwVbD.js";import{L as b}from"./ListView-DDE5x83t.js";import{p as L}from"./@roxi-CGMFK4i8.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./svelte-datatables-net-CY7LBj6I.js";import"./pagination-svelte-D5CyoiE_.js";import"./Prism--hMplq-p.js";import"./prismjs-DTUiLGJu.js";import"./ajv-Cpj98o6Y.js";import"./compare-C3AjiGFR.js";import"./flowbite-svelte-BLvjb-sa.js";import"./@floating-ui-BwwcF-xh.js";import"./tailwind-variants-Cj20BoQ3.js";import"./tailwind-merge-CJvxXMcu.js";import"./spaces-0oyGvpii.js";import"./dmart_services-AL6-IdDE.js";import"./toast-B9WDyfyI.js";import"./@zerodevx-BlBZjKxu.js";import"./flowbite-svelte-icons-BI8GVhw_.js";import"./global-igKv-1g9.js";import"./svelte-jsoneditor-CUGSvWId.js";import"./json-source-map-DRgZidqy.js";import"./immutable-json-patch-DtRO2E_S.js";import"./jsonrepair-B30Dx381.js";import"./lodash-es-DZVAA2ox.js";import"./@jsonquerylang-laKNoFFq.js";import"./@fortawesome-DRW1UCdr.js";import"./svelte-awesome-DhnMA6Q_.js";import"./svelte-select-CjHAt_85.js";import"./svelte-floating-ui-BlS3sOAQ.js";import"./natural-compare-lite-Bg2Xcf-o.js";import"./memoize-one-BdPwpGay.js";import"./@lezer-za4Q-8Ew.js";import"./@codemirror-Rn7_6DkE.js";import"./crelt-C8TCjufn.js";import"./@marijn-DXwl3gUT.js";import"./style-mod-Bs6eFhZE.js";import"./w3c-keyname-Vcq4gwWv.js";import"./@replit--ERk53eB.js";import"./codemirror-wrapped-line-indent-DPhKvljI.js";import"./@typewriter-cCzskkIv.js";import"./fast-diff-C-IidNf4.js";import"./typewriter-editor-DkTVIJdm.js";import"./easy-signal-BiPFIK3O.js";import"./marked-DKjyhwJX.js";import"./marked-mangle-CDMeiHC6.js";import"./marked-gfm-heading-id-U5zO829x.js";import"./github-slugger-CQ4oX9Ud.js";import"./downloadFile-D08i0YDh.js";import"./user-DeK_NB5v.js";import"./svelte-i18n-CT2KkQaN.js";import"./deepmerge-rn4rBaHU.js";import"./intl-messageformat-Dc5UU-HB.js";import"./tslib-pJfR_DrR.js";import"./@formatjs-yKEsAtjs.js";import"./index-ZWZ_PIBi.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";const Q={key:"shortname",name:"shortname",type:"string",width:"25%"},T={key:"resource_type",name:"Resource type",type:"string",width:"15%"},j={key:"attributes.request",name:"Event",type:"string",width:"15%"},q={key:"attributes.timestamp",title:"Timestamp",type:"string",width:"15%"},x={shortname:Q,resource_type:T,event:j,timestamp:q};function zt(s,a){h(a,!1);const t=()=>$(L,"$params",n),[n,c]=v();d();var p=m(),u=i(p);g(u,()=>t().space_name,_=>{var o=m(),y=i(o);{var f=r=>{b(r,{get type(){return w.events},get space_name(){return t().space_name},subpath:"/",get folderColumns(){return x}})};k(y,r=>{t().space_name&&r(f)})}e(_,o)}),e(s,p),l(),c()}export{zt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as R,i as k,f,h as l,j as A,L as T,k as i,l as j,H as D,I as O,B as n,R as u,c as _,M as q,O as z,al as B,F,a6 as v,E as h}from"./svelte-B2XmcTi_.js";import{p as H}from"./@roxi-CGMFK4i8.js";import{R as d,D as I}from"./@edraj-CS4NwVbD.js";import{E as J}from"./EntryRenderer-
|
|
1
|
+
import{p as R,i as k,f,h as l,j as A,L as T,k as i,l as j,H as D,I as O,B as n,R as u,c as _,M as q,O as z,al as B,F,a6 as v,E as h}from"./svelte-B2XmcTi_.js";import{p as H}from"./@roxi-CGMFK4i8.js";import{R as d,D as I}from"./@edraj-CS4NwVbD.js";import{E as J}from"./EntryRenderer-DwSsr_qX.js";import{T as L}from"./flowbite-svelte-BLvjb-sa.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";import"./ListView-DDE5x83t.js";import"./svelte-datatables-net-CY7LBj6I.js";import"./pagination-svelte-D5CyoiE_.js";import"./Prism--hMplq-p.js";import"./prismjs-DTUiLGJu.js";import"./ajv-Cpj98o6Y.js";import"./compare-C3AjiGFR.js";import"./spaces-0oyGvpii.js";import"./dmart_services-AL6-IdDE.js";import"./toast-B9WDyfyI.js";import"./@zerodevx-BlBZjKxu.js";import"./flowbite-svelte-icons-BI8GVhw_.js";import"./tailwind-merge-CJvxXMcu.js";import"./global-igKv-1g9.js";import"./svelte-jsoneditor-CUGSvWId.js";import"./json-source-map-DRgZidqy.js";import"./immutable-json-patch-DtRO2E_S.js";import"./jsonrepair-B30Dx381.js";import"./lodash-es-DZVAA2ox.js";import"./@jsonquerylang-laKNoFFq.js";import"./@fortawesome-DRW1UCdr.js";import"./svelte-awesome-DhnMA6Q_.js";import"./svelte-select-CjHAt_85.js";import"./@floating-ui-BwwcF-xh.js";import"./svelte-floating-ui-BlS3sOAQ.js";import"./natural-compare-lite-Bg2Xcf-o.js";import"./memoize-one-BdPwpGay.js";import"./@lezer-za4Q-8Ew.js";import"./@codemirror-Rn7_6DkE.js";import"./crelt-C8TCjufn.js";import"./@marijn-DXwl3gUT.js";import"./style-mod-Bs6eFhZE.js";import"./w3c-keyname-Vcq4gwWv.js";import"./@replit--ERk53eB.js";import"./codemirror-wrapped-line-indent-DPhKvljI.js";import"./@typewriter-cCzskkIv.js";import"./fast-diff-C-IidNf4.js";import"./typewriter-editor-DkTVIJdm.js";import"./easy-signal-BiPFIK3O.js";import"./marked-DKjyhwJX.js";import"./marked-mangle-CDMeiHC6.js";import"./marked-gfm-heading-id-U5zO829x.js";import"./github-slugger-CQ4oX9Ud.js";import"./downloadFile-D08i0YDh.js";import"./user-DeK_NB5v.js";import"./svelte-i18n-CT2KkQaN.js";import"./deepmerge-rn4rBaHU.js";import"./intl-messageformat-Dc5UU-HB.js";import"./tslib-pJfR_DrR.js";import"./@formatjs-yKEsAtjs.js";import"./index-ZWZ_PIBi.js";import"./Table2Cols-BsbwicQm.js";import"./axios-CG2WSiiR.js";import"./BreadCrumbLite-DAhOx38v.js";import"./plantuml-encoder-C47mzt9T.js";import"./tailwind-variants-Cj20BoQ3.js";var M=n('<p style="color: red"> </p>'),N=n('<div class="flex flex-col w-full"></div>'),P=n("<h4>We shouldn't be here ...</h4> <pre> </pre>",1);function rt(y,g){R(g,!1);const r=()=>T(H,"$params",b),[b,x]=D();k();var c=f(),$=l(c);{var w=o=>{var a=f(),s=l(a);O(s,()=>I.retrieveEntry({resource_type:d[r().resource_type],space_name:r().space_name,subpath:r().subpath.replaceAll("-","/"),shortname:r().shortname,retrieve_json_payload:!0,retrieve_attachments:!0,validate_schema:r().validate_schema!=="false"}),e=>{var t=N();z(t,4,()=>Array(5),B,(p,m)=>{L(p,{class:"m-5",size:"lg",style:"width: 100vw"})}),i(e,t)},(e,t)=>{{let p=q(()=>{var m;return(m=r().subpath)==null?void 0:m.replaceAll("-","/")});J(e,{get entry(){return _(t)},get resource_type(){return d[r().resource_type]},get space_name(){return r().space_name},get subpath(){return _(p)}})}},(e,t)=>{var p=M(),m=h(p);u(()=>v(m,_(t).message)),i(e,p)}),i(o,a)},E=o=>{var a=P(),s=F(l(a),2),e=h(s);u(t=>v(e,t),[()=>JSON.stringify(r())]),i(o,a)};A($,o=>{r().space_name&&r().subpath&&r().shortname?o(w):o(E,!1)})}i(y,c),j(),x()}export{rt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as O,L as I,i as P,B as i,F as n,E as e,k as l,R as C,l as E,H as F,a6 as H}from"./svelte-B2XmcTi_.js";import{C as d}from"./flowbite-svelte-BLvjb-sa.js";import{g as q}from"./@roxi-CGMFK4i8.js";import{W as z,X as A,G as D,Y as G,Z as M}from"./flowbite-svelte-icons-BI8GVhw_.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./@floating-ui-BwwcF-xh.js";import"./tailwind-variants-Cj20BoQ3.js";import"./tailwind-merge-CJvxXMcu.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";var N=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-primary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">INFORMATION</h3> <p class="text-gray-600">Get information about connected instance of Dmart.</p></div>'),R=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-secondary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Events</h3> <p class="text-gray-600">Check all Dmart instance events.</p></div>'),S=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-tertiary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Query</h3> <p class="text-gray-600">Perform queries against connected dmart instance.</p></div>'),T=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-tertiary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Import</h3> <p class="text-gray-600">Import entries based on zip file.</p></div>'),B=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-tertiary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Export</h3> <p class="text-gray-600">Export entries as zip file.</p></div>'),L=i('<div class="container mx-auto p-8"><p class="text-2xl mb-5"> </p> <div class="grid grid-cols-1 md:grid-cols-3 gap-6"><!> <!> <!> <!> <!></div></div>');function et(u,g){O(g,!1);const a=()=>I(q,"$goto",_),[_,$]=F();a();let b="
|
|
1
|
+
import{p as O,L as I,i as P,B as i,F as n,E as e,k as l,R as C,l as E,H as F,a6 as H}from"./svelte-B2XmcTi_.js";import{C as d}from"./flowbite-svelte-BLvjb-sa.js";import{g as q}from"./@roxi-CGMFK4i8.js";import{W as z,X as A,G as D,Y as G,Z as M}from"./flowbite-svelte-icons-BI8GVhw_.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./@floating-ui-BwwcF-xh.js";import"./tailwind-variants-Cj20BoQ3.js";import"./tailwind-merge-CJvxXMcu.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";var N=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-primary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">INFORMATION</h3> <p class="text-gray-600">Get information about connected instance of Dmart.</p></div>'),R=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-secondary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Events</h3> <p class="text-gray-600">Check all Dmart instance events.</p></div>'),S=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-tertiary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Query</h3> <p class="text-gray-600">Perform queries against connected dmart instance.</p></div>'),T=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-tertiary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Import</h3> <p class="text-gray-600">Import entries based on zip file.</p></div>'),B=i('<div class="flex flex-col items-center text-center"><div class="p-3 bg-tertiary-100 rounded-full mb-4"><!></div> <h3 class="text-xl font-bold mb-2">Export</h3> <p class="text-gray-600">Export entries as zip file.</p></div>'),L=i('<div class="container mx-auto p-8"><p class="text-2xl mb-5"> </p> <div class="grid grid-cols-1 md:grid-cols-3 gap-6"><!> <!> <!> <!> <!></div></div>');function et(u,g){O(g,!1);const a=()=>I(q,"$goto",_),[_,$]=F();a();let b="ae38bb2c";P();var v=L(),p=e(v),y=e(p),w=n(p,2),m=e(w);d(m,{class:"p-4 hover:shadow-lg transition-shadow cursor-pointer",onclick:()=>a()("/management/tools/info"),children:(s,c)=>{var t=N(),r=e(t),o=e(r);z(o,{class:"w-12 h-12 text-primary-600"}),l(s,t)},$$slots:{default:!0}});var x=n(m,2);d(x,{class:"p-4 hover:shadow-lg transition-shadow cursor-pointer",onclick:()=>a()("/management/tools/events"),children:(s,c)=>{var t=R(),r=e(t),o=e(r);A(o,{class:"w-12 h-12 text-secondary-600"}),l(s,t)},$$slots:{default:!0}});var f=n(x,2);d(f,{class:"p-4 hover:shadow-lg transition-shadow cursor-pointer",onclick:()=>a()("/management/tools/query"),children:(s,c)=>{var t=S(),r=e(t),o=e(r);D(o,{class:"w-12 h-12 text-tertiary-600"}),l(s,t)},$$slots:{default:!0}});var h=n(f,2);d(h,{class:"p-4 hover:shadow-lg transition-shadow cursor-pointer",onclick:()=>a()("/management/tools/import"),children:(s,c)=>{var t=T(),r=e(t),o=e(r);G(o,{class:"w-12 h-12 text-tertiary-600"}),l(s,t)},$$slots:{default:!0}});var k=n(h,2);d(k,{class:"p-4 hover:shadow-lg transition-shadow cursor-pointer",onclick:()=>a()("/management/tools/export"),children:(s,c)=>{var t=B(),r=e(t),o=e(r);M(o,{class:"w-12 h-12 text-tertiary-600"}),l(s,t)},$$slots:{default:!0}}),C(()=>H(y,`HASH: ${b}`)),l(u,v),E(),$()}export{et as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as L,f as d,h as _,j as P,L as z,k as i,l as B,H,I,B as f,aj as J,R as h,E as c,c as t,a2 as l,F as N,a6 as g}from"./svelte-B2XmcTi_.js";import{p as O}from"./@roxi-CGMFK4i8.js";import{R as b,D as S}from"./@edraj-CS4NwVbD.js";import{E as T}from"./EntryRenderer-
|
|
1
|
+
import{p as L,f as d,h as _,j as P,L as z,k as i,l as B,H,I,B as f,aj as J,R as h,E as c,c as t,a2 as l,F as N,a6 as g}from"./svelte-B2XmcTi_.js";import{p as O}from"./@roxi-CGMFK4i8.js";import{R as b,D as S}from"./@edraj-CS4NwVbD.js";import{E as T}from"./EntryRenderer-DwSsr_qX.js";import{g as q,h as C}from"./flowbite-svelte-BLvjb-sa.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";import"./ListView-DDE5x83t.js";import"./svelte-datatables-net-CY7LBj6I.js";import"./pagination-svelte-D5CyoiE_.js";import"./Prism--hMplq-p.js";import"./prismjs-DTUiLGJu.js";import"./ajv-Cpj98o6Y.js";import"./compare-C3AjiGFR.js";import"./spaces-0oyGvpii.js";import"./dmart_services-AL6-IdDE.js";import"./toast-B9WDyfyI.js";import"./@zerodevx-BlBZjKxu.js";import"./flowbite-svelte-icons-BI8GVhw_.js";import"./tailwind-merge-CJvxXMcu.js";import"./global-igKv-1g9.js";import"./svelte-jsoneditor-CUGSvWId.js";import"./json-source-map-DRgZidqy.js";import"./immutable-json-patch-DtRO2E_S.js";import"./jsonrepair-B30Dx381.js";import"./lodash-es-DZVAA2ox.js";import"./@jsonquerylang-laKNoFFq.js";import"./@fortawesome-DRW1UCdr.js";import"./svelte-awesome-DhnMA6Q_.js";import"./svelte-select-CjHAt_85.js";import"./@floating-ui-BwwcF-xh.js";import"./svelte-floating-ui-BlS3sOAQ.js";import"./natural-compare-lite-Bg2Xcf-o.js";import"./memoize-one-BdPwpGay.js";import"./@lezer-za4Q-8Ew.js";import"./@codemirror-Rn7_6DkE.js";import"./crelt-C8TCjufn.js";import"./@marijn-DXwl3gUT.js";import"./style-mod-Bs6eFhZE.js";import"./w3c-keyname-Vcq4gwWv.js";import"./@replit--ERk53eB.js";import"./codemirror-wrapped-line-indent-DPhKvljI.js";import"./@typewriter-cCzskkIv.js";import"./fast-diff-C-IidNf4.js";import"./typewriter-editor-DkTVIJdm.js";import"./easy-signal-BiPFIK3O.js";import"./marked-DKjyhwJX.js";import"./marked-mangle-CDMeiHC6.js";import"./marked-gfm-heading-id-U5zO829x.js";import"./github-slugger-CQ4oX9Ud.js";import"./downloadFile-D08i0YDh.js";import"./user-DeK_NB5v.js";import"./svelte-i18n-CT2KkQaN.js";import"./deepmerge-rn4rBaHU.js";import"./intl-messageformat-Dc5UU-HB.js";import"./tslib-pJfR_DrR.js";import"./@formatjs-yKEsAtjs.js";import"./index-ZWZ_PIBi.js";import"./Table2Cols-BsbwicQm.js";import"./axios-CG2WSiiR.js";import"./BreadCrumbLite-DAhOx38v.js";import"./plantuml-encoder-C47mzt9T.js";import"./tailwind-variants-Cj20BoQ3.js";var G=f('<div class="w-full"><!></div>'),K=f('<div class="flex flex-col w-full"><!></div>'),M=f("<h4>For some reason ... params doesn't have the needed info</h4> <pre> </pre>",1);function ar(x,y){L(y,!0);const o=()=>z(O,"$params",$),[$,w]=H();let s=l(()=>o().subpath.split("-")),j=l(()=>t(s).slice(0,t(s).length-1).join("/")||"__root__"),E=l(()=>t(s)[t(s).length-1]);var u=d(),R=_(u);{var k=p=>{var m=d(),n=_(m);I(n,()=>S.retrieveEntry({resource_type:b.folder,space_name:o().space_name,subpath:t(j),shortname:t(E),retrieve_json_payload:!0,retrieve_attachments:!0,validate_schema:!0}),e=>{var r=K(),a=c(r);C(a,{class:"m-5",size:"lg",style:"width: 100vw"}),i(e,r)},(e,r)=>{{let a=l(()=>o().subpath.replaceAll("-","/"));T(e,{get entry(){return t(r)},get resource_type(){return b.folder},get space_name(){return o().space_name},get subpath(){return t(a)}})}},(e,r)=>{var a=G(),D=c(a);q(D,{color:"red",class:"text-lg flex h-12 m-6 p-3 flex-row justify-center items-center",children:(F,Q)=>{var v=J();h(()=>g(v,t(r))),i(F,v)},$$slots:{default:!0}}),i(e,a)}),i(p,m)},A=p=>{var m=M(),n=N(_(m),2),e=c(n);h(r=>g(e,r),[()=>JSON.stringify(o(),null,2)]),i(p,m)};P(R,p=>{o().space_name?p(k):p(A,!1)})}i(x,u),B(),w()}export{ar as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_module-
|
|
2
|
-
import{d as w,w as L,p as R,a7 as S,B as T,I as O,k as M,l as q,H as V,L as b,E as C,c as j,F as N,aH as z}from"./svelte-B2XmcTi_.js";import{_ as o,R as F,c as H}from"./@roxi-CGMFK4i8.js";import{S as Z}from"./@zerodevx-BlBZjKxu.js";import{a as k,$ as h,i as B,g as Q}from"./svelte-i18n-CT2KkQaN.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";import"./deepmerge-rn4rBaHU.js";import"./ajv-Cpj98o6Y.js";import"./intl-messageformat-Dc5UU-HB.js";import"./tslib-pJfR_DrR.js";import"./@formatjs-yKEsAtjs.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))_(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const i of c.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&_(i)}).observe(document,{childList:!0,subtree:!0});function a(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function _(s){if(s.ep)return;s.ep=!0;const c=a(s);fetch(s.href,c)}})();const p={meta:{},id:"_default",name:"",file:{path:"src/routes/_module.svelte",dir:"src/routes",base:"_module.svelte",ext:".svelte",name:"_module"},asyncModule:()=>o(()=>import("./_module-Bfk8MiCs.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25])),rootName:"default",routifyDir:import.meta.url,children:[{meta:{isDefault:!0},id:"_default_index_md",name:"index",file:{path:"src/routes/index.md",dir:"src/routes",base:"index.md",ext:".md",name:"index"},asyncModule:()=>o(()=>import("./index-DdXRK7n9.js"),__vite__mapDeps([26,1,2,3,25,7])),children:[]},{meta:{isDefault:!0},id:"_default_index_svelte",name:"index",file:{path:"src/routes/index.svelte",dir:"src/routes",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-CC-A1ipE.js"),__vite__mapDeps([27,1,2,3])),children:[]},{meta:{reset:!0},id:"_default_management",name:"management",file:{path:"src/routes/management/_module.svelte",dir:"src/routes/management",base:"_module.svelte",ext:".svelte",name:"_module"},asyncModule:()=>o(()=>import("./_module-CEW0D5oI.js"),__vite__mapDeps([28,1,2,3,9,10,11,13,29,4,5,6,7,8,12,14,15,16,17,18,19,25,20,21,22,23,24])),children:[{meta:{dynamic:!0,order:!1,dynamicSpread:!0},id:"_default_management_____fallback__svelte",name:"[...fallback]",file:{path:"src/routes/management/[...fallback].svelte",dir:"src/routes/management",base:"[...fallback].svelte",ext:".svelte",name:"[...fallback]"},asyncModule:()=>o(()=>import("./_...fallback_-Ba_NLmAE.js"),__vite__mapDeps([30,1,2,3])),children:[]},{meta:{},id:"_default_management_content",name:"content",module:!1,file:{path:"src/routes/management/content",dir:"src/routes/management",base:"content",ext:"",name:"content"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name_",name:"[space_name]",file:{path:"src/routes/management/content/[space_name]/_module.svelte",dir:"src/routes/management/content/[space_name]",base:"_module.svelte",ext:".svelte",name:"_module"},asyncModule:()=>o(()=>import("./_module-Dgq0ZVtz.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,32,33,16,34,35,36,37,38,39,40,9,10,11,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,13,22,23,24,20,21,58,59,25])),children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name___subpath_",name:"[subpath]",module:!1,file:{path:"src/routes/management/content/[space_name]/[subpath]",dir:"src/routes/management/content/[space_name]",base:"[subpath]",ext:"",name:"[subpath]"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name___subpath___shortname_",name:"[shortname]",module:!1,file:{path:"src/routes/management/content/[space_name]/[subpath]/[shortname]",dir:"src/routes/management/content/[space_name]/[subpath]",base:"[shortname]",ext:"",name:"[shortname]"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name___subpath___shortname___resource_type_",name:"[resource_type]",module:!1,file:{path:"src/routes/management/content/[space_name]/[subpath]/[shortname]/[resource_type]",dir:"src/routes/management/content/[space_name]/[subpath]/[shortname]",base:"[resource_type]",ext:"",name:"[resource_type]"},children:[{meta:{isDefault:!0},id:"_default_management_content__space_name___subpath___shortname___resource_type__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/[subpath]/[shortname]/[resource_type]/index.svelte",dir:"src/routes/management/content/[space_name]/[subpath]/[shortname]/[resource_type]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-iYkH7C67.js"),__vite__mapDeps([60,1,2,3,9,10,11,13,61,62,63,64,65,55,56,16,57,58,4,5,6,7,8,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75,76,29,77,78,79])),children:[]}]}]},{meta:{isDefault:!0},id:"_default_management_content__space_name___subpath__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/[subpath]/index.svelte",dir:"src/routes/management/content/[space_name]/[subpath]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-C6cPO4op.js"),__vite__mapDeps([80,1,2,3,9,10,11,13,61,62,63,64,65,55,56,16,57,58,4,5,6,7,8,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75,76,29,77,78,79])),children:[]}]},{meta:{},id:"_default_management_content__space_name__health_check",name:"health_check",module:!1,file:{path:"src/routes/management/content/[space_name]/health_check",dir:"src/routes/management/content/[space_name]",base:"health_check",ext:"",name:"health_check"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name__health_check__space_name_health_",name:"[space_name_health]",module:!1,file:{path:"src/routes/management/content/[space_name]/health_check/[space_name_health]",dir:"src/routes/management/content/[space_name]/health_check",base:"[space_name_health]",ext:"",name:"[space_name_health]"},children:[{meta:{isDefault:!0},id:"_default_management_content__space_name__health_check__space_name_health__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/health_check/[space_name_health]/index.svelte",dir:"src/routes/management/content/[space_name]/health_check/[space_name_health]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-BVyxzKtH.js"),__vite__mapDeps([81,1,2,3,9,10,11,4,5,6,7,8,13,77,25])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_content__space_name__health_check_index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/health_check/index.svelte",dir:"src/routes/management/content/[space_name]/health_check",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-BdeNM69f.js"),__vite__mapDeps([82,1,2,3,21,4,5,6,7,8,9,10,11])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_content__space_name__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/index.svelte",dir:"src/routes/management/content/[space_name]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-D742rwaM.js"),__vite__mapDeps([83,1,2,3,9,10,11,13,4,5,6,7,8,61,62,63,64,65,55,56,16,57,58,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75,76,29,77,78,79])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_content_index_svelte",name:"index",file:{path:"src/routes/management/content/index.svelte",dir:"src/routes/management/content",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-B-eTh-ZX.js"),__vite__mapDeps([84,1,2,3,21,4,5,6,7,8,32,33,16,34,35,36,37,38,39,40,9,10,11,41,42,43,44,45,46,47,48,49,50,51,52,53,54,58,13,20,22,23,24,55,56,57,25])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_index_svelte",name:"index",file:{path:"src/routes/management/index.svelte",dir:"src/routes/management",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-DTfhnhwd.js"),__vite__mapDeps([85,1,2,3,9,10,11])),children:[]},{meta:{},id:"_default_management_profile_svelte",name:"profile",file:{path:"src/routes/management/profile.svelte",dir:"src/routes/management",base:"profile.svelte",ext:".svelte",name:"profile"},asyncModule:()=>o(()=>import("./profile-BUf-tKMe.js"),__vite__mapDeps([86,1,2,3,13,4,5,6,7,8,20,21,22,23,24])),children:[]},{meta:{},id:"_default_management_tools",name:"tools",module:!1,file:{path:"src/routes/management/tools",dir:"src/routes/management",base:"tools",ext:"",name:"tools"},children:[{meta:{},id:"_default_management_tools_events",name:"events",module:!1,file:{path:"src/routes/management/tools/events",dir:"src/routes/management/tools",base:"events",ext:"",name:"events"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_tools_events__space_name_",name:"[space_name]",module:!1,file:{path:"src/routes/management/tools/events/[space_name]",dir:"src/routes/management/tools/events",base:"[space_name]",ext:"",name:"[space_name]"},children:[{meta:{isDefault:!0},id:"_default_management_tools_events__space_name__index_svelte",name:"index",file:{path:"src/routes/management/tools/events/[space_name]/index.svelte",dir:"src/routes/management/tools/events/[space_name]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-CTxJ-lDp.js"),__vite__mapDeps([87,1,2,3,13,62,63,64,65,55,56,16,57,9,10,11,58,4,5,6,7,8,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_tools_events_index_svelte",name:"index",file:{path:"src/routes/management/tools/events/index.svelte",dir:"src/routes/management/tools/events",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-DtiCmB4o.js"),__vite__mapDeps([88,1,2,3,21,4,5,6,7,8,9,10,11])),children:[]}]},{meta:{},id:"_default_management_tools_export_svelte",name:"export",file:{path:"src/routes/management/tools/export.svelte",dir:"src/routes/management/tools",base:"export.svelte",ext:".svelte",name:"export"},asyncModule:()=>o(()=>import("./export-OF_rTiXu.js"),__vite__mapDeps([89,1,2,3,14,15,16,17,18,19,74,22,23,24,13,20,21,4,5,6,7,8,55,56,57,90])),children:[]},{meta:{},id:"_default_management_tools_import_svelte",name:"import",file:{path:"src/routes/management/tools/import.svelte",dir:"src/routes/management/tools",base:"import.svelte",ext:".svelte",name:"import"},asyncModule:()=>o(()=>import("./import-1vE3gBat.js"),__vite__mapDeps([91,1,2,3,14,15,16,17,18,19,22,23,24,13,4,5,6,7,8,25])),children:[]},{meta:{isDefault:!0},id:"_default_management_tools_index_svelte",name:"index",file:{path:"src/routes/management/tools/index.svelte",dir:"src/routes/management/tools",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-Cd-F5j_k.js"),__vite__mapDeps([92,1,2,3,4,5,6,7,8,9,10,11,25])),children:[]},{meta:{},id:"_default_management_tools_info_svelte",name:"info",file:{path:"src/routes/management/tools/info.svelte",dir:"src/routes/management/tools",base:"info.svelte",ext:".svelte",name:"info"},asyncModule:()=>o(()=>import("./info-B986lRiM.js"),__vite__mapDeps([93,1,2,3,13,76,4,5,6,7,8,25])),children:[]},{meta:{},id:"_default_management_tools_query_svelte",name:"query",file:{path:"src/routes/management/tools/query.svelte",dir:"src/routes/management/tools",base:"query.svelte",ext:".svelte",name:"query"},asyncModule:()=>o(()=>import("./query-CNmXTsgf.js"),__vite__mapDeps([94,1,2,3,14,15,16,17,18,19,74,22,23,24,13,20,21,4,5,6,7,8,25,55,56,57,90])),children:[]}]}]},{meta:{dynamic:!0,dynamicSpread:!0,order:!1,inline:!1},name:"[...404]",file:{path:".routify/components/[...404].svelte",dir:".routify/components",base:"[...404].svelte",ext:".svelte",name:"[...404]"},asyncModule:()=>o(()=>import("./_...404_-fuLH_rX9.js"),__vite__mapDeps([95,1,2,3,96])),children:[]}]},U=async()=>{try{const r="/cxb/config.json".replace("//","/"),a=await fetch(r);if(!a.ok)throw new Error(`Failed to load config: ${a.status} ${a.statusText}`);return await a.json()}catch(e){return console.error("Error loading configuration:",e),{title:"DMART Unified Data Platform",footer:"dmart.cc unified data platform",short_name:"dmart",display_name:"dmart",description:"dmart unified data platform",default_language:"ar",languages:{ar:"العربية",en:"English"},backend:"http://localhost:8282",websocket:"ws://0.0.0.0:8484/ws",backend_timeout:3e4,delay_total_count:!1}}};let m={default_language:"ar",languages:{ar:"العربية",en:"English"},backend:"http://localhost:8282",backend_timeout:3e4,delay_total_count:!1};U().then(e=>{m=e});const W="{ts, date, full} - الساعة {ts, time, ::hh} ",J="الرئيسة",K="توثيقات",G="اللغة",X="عن الموقع",Y="منشورات",ee="المؤلف",te="المحرر",ne="مُلحقات",se="العلاقات",oe="ردود",ae="تفاعلات",ce="المزيد",re="وسوم",ie="المُلَخّص",le="شخصي",_e="رسائل",me="تذاكر",de="إشراف",ue="تنبيهات",pe="مهام",fe="جهات اتصال",he="تقويم",ge="اشتراكات",$e="أخبار",ve="صفحة شخصية",ye="محتوى",be="وسائط متعددة",xe="بيانات",we="طلبات",ke="صفحات شخصية",Ee="فضاءات أخرى",Pe="تعريفات",De="منتدى",Ae="موقع",Ie="صفحات",Le="نماذج",Re="ترجمة",Se="الشجرة_الجانبية",Te="مكونات",Oe="إشراف",Me="حِسابات",qe="أدوار وصلاحيات",Ve="فهرس",Ce="إصدارات",je="إضافات",Ne="بحث",ze="ما الذي تبحث عنه؟",Fe="مَلَفُّ المُستَخدِم",He="ولوج",Ze="اسم المُستخدم أو كلمة المرور غير صحيحة",Be="خروج",Qe="استعلام",Ue="سِجلّات الأحداث",We="العام",Je="الأعضاء",Ke="عودة",Ge="تنبيه",Xe="احذف المختارات",Ye="تحرير",et="تفعيل",tt="تحميل",nt="تحميل",st="استعراض",ot="مصدر",at="تاريخ",ct="حفظ",rt="كلمة المرور",it="اسم المُستخدم",lt="استعلامات",_t="الدخول إلى قِسم الأعضاء",mt="نسخ احتياطي",dt="تعليقات",ut="تفاعلات",pt="مشاركات",ft="تحقق",ht="أدخل الرمز هنا",gt="abcdefghijklmnopqrstuvwxyz",$t="تحميل البيانات ... ",vt="الاسم",yt="البريد الإلكتروني",bt="الموضوع",xt="نموذج الاتصال",wt="الرسالة",kt="إرسال",Et="الاتصال",Pt="غ.م.",Dt="نموذج الاستعلام",At="مسار جزئي",It="عشوائي",Lt="نوع الاستعلام",Rt="أنواع الموارد",St="منشور",Tt="مجلد",Ot="سيرة",Mt="جهة اتصال",qt="وسائط",Vt="الكمية",Ct="الإزاحة",jt="حُررت في",Nt="سجلات الأحداث",zt="أهلا بـ",Ft="إعدادات",Ht="الاسم المُختَصر",Zt="اسم العرض",Bt="نوع المَورِد",Qt="المحتوى",Ut="نوع المحتوى",Wt="هتمل",Jt="نص مُنَسّق",Kt="جيسون",Gt="خام",Xt="مُجَدوَل",Yt="الوصف",en="تفاصيل",tn="تعريف",nn="عندك تعليق؟",sn="التعليق",on="مُشاركات",an="نشاطات",cn="تشكيلات",rn="الأحدث",ln="المكتبة",_n="قاعدة المعرفة",mn="أسئلة متكررة",dn="المُصطلحات",un="مقولة",pn="imx.sh",fn="روابط",hn="مُختارات",gn="غيمة الوسوم",$n="إصدارات",vn="لا توجد أي نتائج لعرضها هنا",yn="العناصر المُتبقية ({count}) اضغط هُنا لتحميل المزيد منها.",bn=" اكتمل عرض كافة العناصر وعددها ({count}).",xn="إلغاء",wn="قبول",kn="تحرير المحتوى",En="إنشاء محتوى جديد",Pn="إنشاء ملف جديد",Dn="إنشاء محتوى ",An="اسم العرض بالإنجليزية",In="اسم العرض بالعربية",Ln="الوصف بالإنجليزية",Rn="الوصف بالعربية",Sn="إنشاء",Tn="تحديث",On="الصفحة {page} من {total}",Mn="المُدخلات المفتوحة",qn="المناظر",Vn="منظر",Cn="الإجراءات",jn="إجراءات مجملة",Nn="الحالة",zn="بالقرب منك",Fn="فعال؟",Hn="أدوات",Zn="تحليلات",Bn="مُحاوِرَة",Qn="آخر الأخبار",Un="إغلاق",Wn="مُجلدات",Jn="اسماء قصيرة",Kn="نَوع المحتوى",Gn="المسار",Xn="مُدخلات الـ",Yn="تبديل حالة النشر",es="اختر مُدخلة من <strong>القائمة</strong> على اليمين.",ts='Are you sure you want to delete the attachment "{shortname}|{displayname}"?',ns=`هناك تعديلات لم تُحفظ بعد.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_module-_Y_1Ib3l.js","assets/svelte-B2XmcTi_.js","assets/clsx-B-dksMZM.js","assets/esm-env-rsSWfq8L.js","assets/flowbite-svelte-BLvjb-sa.js","assets/@floating-ui-BwwcF-xh.js","assets/tailwind-variants-Cj20BoQ3.js","assets/tailwind-merge-CJvxXMcu.js","assets/flowbite-svelte-CD54FDqW.css","assets/@roxi-CGMFK4i8.js","assets/hookar-BMRD9G9H.js","assets/consolite-DlCuI0F9.js","assets/user-DeK_NB5v.js","assets/@edraj-CS4NwVbD.js","assets/svelte-i18n-CT2KkQaN.js","assets/deepmerge-rn4rBaHU.js","assets/ajv-Cpj98o6Y.js","assets/intl-messageformat-Dc5UU-HB.js","assets/tslib-pJfR_DrR.js","assets/@formatjs-yKEsAtjs.js","assets/dmart_services-AL6-IdDE.js","assets/spaces-0oyGvpii.js","assets/toast-B9WDyfyI.js","assets/@zerodevx-BlBZjKxu.js","assets/@zerodevx-CVEpe6WZ.css","assets/flowbite-svelte-icons-BI8GVhw_.js","assets/index-DdXRK7n9.js","assets/index-CC-A1ipE.js","assets/_module-BNXXWMkB.js","assets/axios-CG2WSiiR.js","assets/_...fallback_-Ba_NLmAE.js","assets/_module-Dgq0ZVtz.js","assets/svelte-jsoneditor-CUGSvWId.js","assets/json-source-map-DRgZidqy.js","assets/immutable-json-patch-DtRO2E_S.js","assets/jsonrepair-B30Dx381.js","assets/lodash-es-DZVAA2ox.js","assets/@jsonquerylang-laKNoFFq.js","assets/@fortawesome-DRW1UCdr.js","assets/svelte-awesome-DhnMA6Q_.js","assets/svelte-awesome-COLlx0DN.css","assets/svelte-select-CjHAt_85.js","assets/svelte-floating-ui-BlS3sOAQ.js","assets/svelte-select-CegQKzqH.css","assets/natural-compare-lite-Bg2Xcf-o.js","assets/memoize-one-BdPwpGay.js","assets/@lezer-za4Q-8Ew.js","assets/@codemirror-Rn7_6DkE.js","assets/crelt-C8TCjufn.js","assets/@marijn-DXwl3gUT.js","assets/style-mod-Bs6eFhZE.js","assets/w3c-keyname-Vcq4gwWv.js","assets/@replit--ERk53eB.js","assets/codemirror-wrapped-line-indent-DPhKvljI.js","assets/svelte-jsoneditor-BzfX6Usi.css","assets/Prism--hMplq-p.js","assets/prismjs-DTUiLGJu.js","assets/Prism-Uh6uStUw.css","assets/compare-C3AjiGFR.js","assets/global-igKv-1g9.js","assets/index-DwORvtKk.js","assets/EntryRenderer-DwSsr_qX.js","assets/ListView-DDE5x83t.js","assets/svelte-datatables-net-CY7LBj6I.js","assets/pagination-svelte-D5CyoiE_.js","assets/pagination-svelte-v10nAbbM.css","assets/@typewriter-cCzskkIv.js","assets/fast-diff-C-IidNf4.js","assets/typewriter-editor-DkTVIJdm.js","assets/easy-signal-BiPFIK3O.js","assets/marked-DKjyhwJX.js","assets/marked-mangle-CDMeiHC6.js","assets/marked-gfm-heading-id-U5zO829x.js","assets/github-slugger-CQ4oX9Ud.js","assets/downloadFile-D08i0YDh.js","assets/ListView-U8of-_c-.css","assets/Table2Cols-BsbwicQm.js","assets/BreadCrumbLite-DAhOx38v.js","assets/plantuml-encoder-C47mzt9T.js","assets/EntryRenderer-DXytdFp9.css","assets/index-WkeaPz7c.js","assets/index-BVyxzKtH.js","assets/index-BdeNM69f.js","assets/index-skKdyGa2.js","assets/index-B-eTh-ZX.js","assets/index-DTfhnhwd.js","assets/profile-BUf-tKMe.js","assets/index-Br_OAS0Q.js","assets/index-DtiCmB4o.js","assets/export-OF_rTiXu.js","assets/queryHelpers-C9iBWwqe.js","assets/import-1vE3gBat.js","assets/index-NksiCXM3.js","assets/info-B986lRiM.js","assets/query-CNmXTsgf.js","assets/_...404_-fuLH_rX9.js","assets/_..-BvT6vdHa.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as w,w as L,p as R,a7 as S,B as T,I as O,k as M,l as q,H as V,L as b,E as C,c as j,F as N,aH as z}from"./svelte-B2XmcTi_.js";import{_ as o,R as F,c as H}from"./@roxi-CGMFK4i8.js";import{S as Z}from"./@zerodevx-BlBZjKxu.js";import{a as k,$ as h,i as B,g as Q}from"./svelte-i18n-CT2KkQaN.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";import"./deepmerge-rn4rBaHU.js";import"./ajv-Cpj98o6Y.js";import"./intl-messageformat-Dc5UU-HB.js";import"./tslib-pJfR_DrR.js";import"./@formatjs-yKEsAtjs.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))_(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const i of c.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&_(i)}).observe(document,{childList:!0,subtree:!0});function a(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function _(s){if(s.ep)return;s.ep=!0;const c=a(s);fetch(s.href,c)}})();const p={meta:{},id:"_default",name:"",file:{path:"src/routes/_module.svelte",dir:"src/routes",base:"_module.svelte",ext:".svelte",name:"_module"},asyncModule:()=>o(()=>import("./_module-_Y_1Ib3l.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25])),rootName:"default",routifyDir:import.meta.url,children:[{meta:{isDefault:!0},id:"_default_index_md",name:"index",file:{path:"src/routes/index.md",dir:"src/routes",base:"index.md",ext:".md",name:"index"},asyncModule:()=>o(()=>import("./index-DdXRK7n9.js"),__vite__mapDeps([26,1,2,3,25,7])),children:[]},{meta:{isDefault:!0},id:"_default_index_svelte",name:"index",file:{path:"src/routes/index.svelte",dir:"src/routes",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-CC-A1ipE.js"),__vite__mapDeps([27,1,2,3])),children:[]},{meta:{reset:!0},id:"_default_management",name:"management",file:{path:"src/routes/management/_module.svelte",dir:"src/routes/management",base:"_module.svelte",ext:".svelte",name:"_module"},asyncModule:()=>o(()=>import("./_module-BNXXWMkB.js"),__vite__mapDeps([28,1,2,3,9,10,11,13,29,4,5,6,7,8,12,14,15,16,17,18,19,25,20,21,22,23,24])),children:[{meta:{dynamic:!0,order:!1,dynamicSpread:!0},id:"_default_management_____fallback__svelte",name:"[...fallback]",file:{path:"src/routes/management/[...fallback].svelte",dir:"src/routes/management",base:"[...fallback].svelte",ext:".svelte",name:"[...fallback]"},asyncModule:()=>o(()=>import("./_...fallback_-Ba_NLmAE.js"),__vite__mapDeps([30,1,2,3])),children:[]},{meta:{},id:"_default_management_content",name:"content",module:!1,file:{path:"src/routes/management/content",dir:"src/routes/management",base:"content",ext:"",name:"content"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name_",name:"[space_name]",file:{path:"src/routes/management/content/[space_name]/_module.svelte",dir:"src/routes/management/content/[space_name]",base:"_module.svelte",ext:".svelte",name:"_module"},asyncModule:()=>o(()=>import("./_module-Dgq0ZVtz.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,32,33,16,34,35,36,37,38,39,40,9,10,11,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,13,22,23,24,20,21,58,59,25])),children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name___subpath_",name:"[subpath]",module:!1,file:{path:"src/routes/management/content/[space_name]/[subpath]",dir:"src/routes/management/content/[space_name]",base:"[subpath]",ext:"",name:"[subpath]"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name___subpath___shortname_",name:"[shortname]",module:!1,file:{path:"src/routes/management/content/[space_name]/[subpath]/[shortname]",dir:"src/routes/management/content/[space_name]/[subpath]",base:"[shortname]",ext:"",name:"[shortname]"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name___subpath___shortname___resource_type_",name:"[resource_type]",module:!1,file:{path:"src/routes/management/content/[space_name]/[subpath]/[shortname]/[resource_type]",dir:"src/routes/management/content/[space_name]/[subpath]/[shortname]",base:"[resource_type]",ext:"",name:"[resource_type]"},children:[{meta:{isDefault:!0},id:"_default_management_content__space_name___subpath___shortname___resource_type__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/[subpath]/[shortname]/[resource_type]/index.svelte",dir:"src/routes/management/content/[space_name]/[subpath]/[shortname]/[resource_type]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-DwORvtKk.js"),__vite__mapDeps([60,1,2,3,9,10,11,13,61,62,63,64,65,55,56,16,57,58,4,5,6,7,8,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75,76,29,77,78,79])),children:[]}]}]},{meta:{isDefault:!0},id:"_default_management_content__space_name___subpath__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/[subpath]/index.svelte",dir:"src/routes/management/content/[space_name]/[subpath]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-WkeaPz7c.js"),__vite__mapDeps([80,1,2,3,9,10,11,13,61,62,63,64,65,55,56,16,57,58,4,5,6,7,8,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75,76,29,77,78,79])),children:[]}]},{meta:{},id:"_default_management_content__space_name__health_check",name:"health_check",module:!1,file:{path:"src/routes/management/content/[space_name]/health_check",dir:"src/routes/management/content/[space_name]",base:"health_check",ext:"",name:"health_check"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_content__space_name__health_check__space_name_health_",name:"[space_name_health]",module:!1,file:{path:"src/routes/management/content/[space_name]/health_check/[space_name_health]",dir:"src/routes/management/content/[space_name]/health_check",base:"[space_name_health]",ext:"",name:"[space_name_health]"},children:[{meta:{isDefault:!0},id:"_default_management_content__space_name__health_check__space_name_health__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/health_check/[space_name_health]/index.svelte",dir:"src/routes/management/content/[space_name]/health_check/[space_name_health]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-BVyxzKtH.js"),__vite__mapDeps([81,1,2,3,9,10,11,4,5,6,7,8,13,77,25])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_content__space_name__health_check_index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/health_check/index.svelte",dir:"src/routes/management/content/[space_name]/health_check",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-BdeNM69f.js"),__vite__mapDeps([82,1,2,3,21,4,5,6,7,8,9,10,11])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_content__space_name__index_svelte",name:"index",file:{path:"src/routes/management/content/[space_name]/index.svelte",dir:"src/routes/management/content/[space_name]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-skKdyGa2.js"),__vite__mapDeps([83,1,2,3,9,10,11,13,4,5,6,7,8,61,62,63,64,65,55,56,16,57,58,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75,76,29,77,78,79])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_content_index_svelte",name:"index",file:{path:"src/routes/management/content/index.svelte",dir:"src/routes/management/content",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-B-eTh-ZX.js"),__vite__mapDeps([84,1,2,3,21,4,5,6,7,8,32,33,16,34,35,36,37,38,39,40,9,10,11,41,42,43,44,45,46,47,48,49,50,51,52,53,54,58,13,20,22,23,24,55,56,57,25])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_index_svelte",name:"index",file:{path:"src/routes/management/index.svelte",dir:"src/routes/management",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-DTfhnhwd.js"),__vite__mapDeps([85,1,2,3,9,10,11])),children:[]},{meta:{},id:"_default_management_profile_svelte",name:"profile",file:{path:"src/routes/management/profile.svelte",dir:"src/routes/management",base:"profile.svelte",ext:".svelte",name:"profile"},asyncModule:()=>o(()=>import("./profile-BUf-tKMe.js"),__vite__mapDeps([86,1,2,3,13,4,5,6,7,8,20,21,22,23,24])),children:[]},{meta:{},id:"_default_management_tools",name:"tools",module:!1,file:{path:"src/routes/management/tools",dir:"src/routes/management",base:"tools",ext:"",name:"tools"},children:[{meta:{},id:"_default_management_tools_events",name:"events",module:!1,file:{path:"src/routes/management/tools/events",dir:"src/routes/management/tools",base:"events",ext:"",name:"events"},children:[{meta:{dynamic:!0,order:!1},id:"_default_management_tools_events__space_name_",name:"[space_name]",module:!1,file:{path:"src/routes/management/tools/events/[space_name]",dir:"src/routes/management/tools/events",base:"[space_name]",ext:"",name:"[space_name]"},children:[{meta:{isDefault:!0},id:"_default_management_tools_events__space_name__index_svelte",name:"index",file:{path:"src/routes/management/tools/events/[space_name]/index.svelte",dir:"src/routes/management/tools/events/[space_name]",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-Br_OAS0Q.js"),__vite__mapDeps([87,1,2,3,13,62,63,64,65,55,56,16,57,9,10,11,58,4,5,6,7,8,21,20,22,23,24,25,59,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,66,67,68,69,70,71,72,73,74,12,14,15,17,18,19,75])),children:[]}]},{meta:{isDefault:!0},id:"_default_management_tools_events_index_svelte",name:"index",file:{path:"src/routes/management/tools/events/index.svelte",dir:"src/routes/management/tools/events",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-DtiCmB4o.js"),__vite__mapDeps([88,1,2,3,21,4,5,6,7,8,9,10,11])),children:[]}]},{meta:{},id:"_default_management_tools_export_svelte",name:"export",file:{path:"src/routes/management/tools/export.svelte",dir:"src/routes/management/tools",base:"export.svelte",ext:".svelte",name:"export"},asyncModule:()=>o(()=>import("./export-OF_rTiXu.js"),__vite__mapDeps([89,1,2,3,14,15,16,17,18,19,74,22,23,24,13,20,21,4,5,6,7,8,55,56,57,90])),children:[]},{meta:{},id:"_default_management_tools_import_svelte",name:"import",file:{path:"src/routes/management/tools/import.svelte",dir:"src/routes/management/tools",base:"import.svelte",ext:".svelte",name:"import"},asyncModule:()=>o(()=>import("./import-1vE3gBat.js"),__vite__mapDeps([91,1,2,3,14,15,16,17,18,19,22,23,24,13,4,5,6,7,8,25])),children:[]},{meta:{isDefault:!0},id:"_default_management_tools_index_svelte",name:"index",file:{path:"src/routes/management/tools/index.svelte",dir:"src/routes/management/tools",base:"index.svelte",ext:".svelte",name:"index"},asyncModule:()=>o(()=>import("./index-NksiCXM3.js"),__vite__mapDeps([92,1,2,3,4,5,6,7,8,9,10,11,25])),children:[]},{meta:{},id:"_default_management_tools_info_svelte",name:"info",file:{path:"src/routes/management/tools/info.svelte",dir:"src/routes/management/tools",base:"info.svelte",ext:".svelte",name:"info"},asyncModule:()=>o(()=>import("./info-B986lRiM.js"),__vite__mapDeps([93,1,2,3,13,76,4,5,6,7,8,25])),children:[]},{meta:{},id:"_default_management_tools_query_svelte",name:"query",file:{path:"src/routes/management/tools/query.svelte",dir:"src/routes/management/tools",base:"query.svelte",ext:".svelte",name:"query"},asyncModule:()=>o(()=>import("./query-CNmXTsgf.js"),__vite__mapDeps([94,1,2,3,14,15,16,17,18,19,74,22,23,24,13,20,21,4,5,6,7,8,25,55,56,57,90])),children:[]}]}]},{meta:{dynamic:!0,dynamicSpread:!0,order:!1,inline:!1},name:"[...404]",file:{path:".routify/components/[...404].svelte",dir:".routify/components",base:"[...404].svelte",ext:".svelte",name:"[...404]"},asyncModule:()=>o(()=>import("./_...404_-fuLH_rX9.js"),__vite__mapDeps([95,1,2,3,96])),children:[]}]},U=async()=>{try{const r="/cxb/config.json".replace("//","/"),a=await fetch(r);if(!a.ok)throw new Error(`Failed to load config: ${a.status} ${a.statusText}`);return await a.json()}catch(e){return console.error("Error loading configuration:",e),{title:"DMART Unified Data Platform",footer:"dmart.cc unified data platform",short_name:"dmart",display_name:"dmart",description:"dmart unified data platform",default_language:"ar",languages:{ar:"العربية",en:"English"},backend:"http://localhost:8282",websocket:"ws://0.0.0.0:8484/ws",backend_timeout:3e4,delay_total_count:!1}}};let m={default_language:"ar",languages:{ar:"العربية",en:"English"},backend:"http://localhost:8282",backend_timeout:3e4,delay_total_count:!1};U().then(e=>{m=e});const W="{ts, date, full} - الساعة {ts, time, ::hh} ",J="الرئيسة",K="توثيقات",G="اللغة",X="عن الموقع",Y="منشورات",ee="المؤلف",te="المحرر",ne="مُلحقات",se="العلاقات",oe="ردود",ae="تفاعلات",ce="المزيد",re="وسوم",ie="المُلَخّص",le="شخصي",_e="رسائل",me="تذاكر",de="إشراف",ue="تنبيهات",pe="مهام",fe="جهات اتصال",he="تقويم",ge="اشتراكات",$e="أخبار",ve="صفحة شخصية",ye="محتوى",be="وسائط متعددة",xe="بيانات",we="طلبات",ke="صفحات شخصية",Ee="فضاءات أخرى",Pe="تعريفات",De="منتدى",Ae="موقع",Ie="صفحات",Le="نماذج",Re="ترجمة",Se="الشجرة_الجانبية",Te="مكونات",Oe="إشراف",Me="حِسابات",qe="أدوار وصلاحيات",Ve="فهرس",Ce="إصدارات",je="إضافات",Ne="بحث",ze="ما الذي تبحث عنه؟",Fe="مَلَفُّ المُستَخدِم",He="ولوج",Ze="اسم المُستخدم أو كلمة المرور غير صحيحة",Be="خروج",Qe="استعلام",Ue="سِجلّات الأحداث",We="العام",Je="الأعضاء",Ke="عودة",Ge="تنبيه",Xe="احذف المختارات",Ye="تحرير",et="تفعيل",tt="تحميل",nt="تحميل",st="استعراض",ot="مصدر",at="تاريخ",ct="حفظ",rt="كلمة المرور",it="اسم المُستخدم",lt="استعلامات",_t="الدخول إلى قِسم الأعضاء",mt="نسخ احتياطي",dt="تعليقات",ut="تفاعلات",pt="مشاركات",ft="تحقق",ht="أدخل الرمز هنا",gt="abcdefghijklmnopqrstuvwxyz",$t="تحميل البيانات ... ",vt="الاسم",yt="البريد الإلكتروني",bt="الموضوع",xt="نموذج الاتصال",wt="الرسالة",kt="إرسال",Et="الاتصال",Pt="غ.م.",Dt="نموذج الاستعلام",At="مسار جزئي",It="عشوائي",Lt="نوع الاستعلام",Rt="أنواع الموارد",St="منشور",Tt="مجلد",Ot="سيرة",Mt="جهة اتصال",qt="وسائط",Vt="الكمية",Ct="الإزاحة",jt="حُررت في",Nt="سجلات الأحداث",zt="أهلا بـ",Ft="إعدادات",Ht="الاسم المُختَصر",Zt="اسم العرض",Bt="نوع المَورِد",Qt="المحتوى",Ut="نوع المحتوى",Wt="هتمل",Jt="نص مُنَسّق",Kt="جيسون",Gt="خام",Xt="مُجَدوَل",Yt="الوصف",en="تفاصيل",tn="تعريف",nn="عندك تعليق؟",sn="التعليق",on="مُشاركات",an="نشاطات",cn="تشكيلات",rn="الأحدث",ln="المكتبة",_n="قاعدة المعرفة",mn="أسئلة متكررة",dn="المُصطلحات",un="مقولة",pn="imx.sh",fn="روابط",hn="مُختارات",gn="غيمة الوسوم",$n="إصدارات",vn="لا توجد أي نتائج لعرضها هنا",yn="العناصر المُتبقية ({count}) اضغط هُنا لتحميل المزيد منها.",bn=" اكتمل عرض كافة العناصر وعددها ({count}).",xn="إلغاء",wn="قبول",kn="تحرير المحتوى",En="إنشاء محتوى جديد",Pn="إنشاء ملف جديد",Dn="إنشاء محتوى ",An="اسم العرض بالإنجليزية",In="اسم العرض بالعربية",Ln="الوصف بالإنجليزية",Rn="الوصف بالعربية",Sn="إنشاء",Tn="تحديث",On="الصفحة {page} من {total}",Mn="المُدخلات المفتوحة",qn="المناظر",Vn="منظر",Cn="الإجراءات",jn="إجراءات مجملة",Nn="الحالة",zn="بالقرب منك",Fn="فعال؟",Hn="أدوات",Zn="تحليلات",Bn="مُحاوِرَة",Qn="آخر الأخبار",Un="إغلاق",Wn="مُجلدات",Jn="اسماء قصيرة",Kn="نَوع المحتوى",Gn="المسار",Xn="مُدخلات الـ",Yn="تبديل حالة النشر",es="اختر مُدخلة من <strong>القائمة</strong> على اليمين.",ts='Are you sure you want to delete the attachment "{shortname}|{displayname}"?',ns=`هناك تعديلات لم تُحفظ بعد.
|
|
3
3
|
هل تريد التخلص منها؟`,ss='هل تريد حذف "{displayname}|{shortname}" تحت {data.subpath}?',os='هل تريد حذف "{shortname}|{displayname}" تحت {data.subpath}?',as='المُدخلة "{shortname}|{data.displayname}" حاليا {current} هل تريد جَعلَها {new}؟',cs="فعّالة",rs="غير فعّالة",is="الوقت",ls="الحَدَث",_s="التوصيفات",ms="المُدة",ds="السابق",us="الحالي",ps="التهشير",fs="أحداث",hs="طرفية",gs="تحت التطوير",$s="اسم الفضاء",vs="مخطط",ys="جودة البيانات",bs="تنزيل ملف csv",xs="تنزيل ملف zip",ws="من",ks="إلى",Es="استرداد المرفقات",Ps="استرداد حمولة json",Ds="سيؤدي هذا الإجراء إلى استبدال جميع البيانات الموجودة. يرجى التأكد من وجود نسخة احتياطية قبل المتابعة.",As="اختر ملف ZIP",Is="الملف المحدد",Ls="معامل إضافي",Rs="اختياري",Ss="أدخل معامل إضافي",Ts="رفع واستيراد",Os="جاري الرفع",Ms="يرجى اختيار ملف ZIP",qs="نوع ملف غير صالح. يرجى اختيار ملف ZIP.",Vs="تم الاستيراد بنجاح",Cs="فشل في الاستيراد. يرجى المحاولة مرة أخرى.",E={datetime:W,home:J,docs:K,language:G,about:X,posts:Y,author:ee,editor:te,attachments:ne,relationships:se,replies:oe,reactions:ae,more:ce,tags:re,dashboard:ie,personal:le,messages:_e,tickets:me,sysadmin:de,notifications:ue,tasks:pe,contacts:fe,calendar:he,subscriptions:ge,news:$e,profile:ve,content:ye,multimedia:be,data:xe,submissions:we,profiles:ke,other_spaces:Ee,definitions:Pe,forum:De,site:Ae,pages:Ie,forms:Le,translation:Re,sidebar_tree:Se,components:Te,admin:Oe,accounts:Me,roles_and_permissions:qe,index:Ve,version_control:Ce,extensions:je,search:Ne,searching_for_what:ze,memberprofile:Fe,login:He,login_error:Ze,logout:Be,query:Qe,logs:Ue,published:We,managed:Je,back:Ke,warning:Ge,delete:"حذف",delete_selected:Xe,edit:Ye,activate:et,download:tt,upload:nt,preview:st,source:ot,history:at,save:ct,password:rt,username:it,queries:lt,login_to_members:_t,archive_and_backup:mt,comments:dt,interactions:ut,shares:pt,verfication:ft,enter_code_here:ht,captcha_chars:gt,loading_data:$t,name:vt,email:yt,subject:bt,contact_form:xt,message:wt,submit:kt,contact_us:Et,not_applicable:Pt,query_form:Dt,subpath:At,random:It,query_type:Lt,resource_types:Rt,post:St,folder:Tt,biography:Ot,contact:Mt,media:qt,limit:Vt,offset:Ct,edited_at:jt,activity_logs:Nt,hey:zt,settings:Ft,shortname:Ht,displayname:Zt,resource_type:Bt,payload:Qt,payload_type:Ut,text_html:Wt,text_markdown:Jt,text_json:Kt,raw:Gt,tabular:Xt,description:Yt,details:en,term:tn,write_a_reply:nn,reply:sn,contributions:on,activities:an,sampled:cn,latest:rn,library:ln,knowledgebase:_n,faq:mn,glossary:dn,maqola:un,wwwimx:pn,bookmarks:fn,picks:hn,tag_cloud:gn,publications:$n,not_found:vn,x_items_left_click_for_more:yn,all_x_items_are_loaded:bn,cancel:xn,accept:wn,edit_entry:kn,create_entry:En,create_folder:Pn,create_subentry:Dn,displayname_en:An,displayname_ar:In,description_en:Ln,description_ar:Rn,create:Sn,refresh:Tn,page_of_total:On,open_tabs:Mn,views:qn,view:Vn,actions:Cn,bulk_actions:jn,status:Nn,near_by:zn,is_active:Fn,tools:Hn,analytics:Zn,console:Bn,newsfeed:Qn,close:Un,folders:Wn,shortnames:Jn,content_type:Kn,path:Gn,entries_of:Xn,toggle_active_state:Yn,select_entry_from_sidebar:es,cofrirm_deleting_attachment:ts,confirm_discarding_changes:ns,confirm_deleting:ss,confirm_deleting_folder:os,confirm_toggling_active:as,active:cs,inactive:rs,time:is,event:ls,attributes:_s,duration:ms,previous:ds,current:us,hash:ps,events:fs,terminal:hs,under_development:gs,space_name:$s,schema_shortname:vs,qatool:ys,download_csv:bs,download_zip:xs,from:ws,to:ks,retrieve_attachments:Es,retrieve_json_payload:Ps,import_warning_message:Ds,select_zip_file:As,selected_file:Is,extra_parameter:Ls,optional:Rs,enter_extra_parameter:Ss,upload_and_import:Ts,uploading:Os,please_select_zip_file:Ms,invalid_file_type:qs,import_successful:Vs,import_failed:Cs},js="{ts, date, full} - at {ts, time, ::hh} ",Ns="Home",zs="Docs",Fs="Language",Hs="About",Zs="Posts",Bs="Author",Qs="Editor",Us="Attachments",Ws="Relationships",Js="Replies",Ks="Reactions",Gs="more",Xs="Tags",Ys="Dashboard",eo="Personal",to="Messages",no="Tickets",so="Sys admin",oo="Notifications",ao="Tasks",co="Contacts",ro="Calendar",io="Subscriptions",lo="News",_o="Profile",mo="Content",uo="Multimedia",po="Data",fo="Submissions",ho="Profiles",go="Space name",$o="Other spaces",vo="Definitions",yo="Forum",bo="Site",xo="Pages",wo="Forms",ko="Translation",Eo="Sidebar tree",Po="Components",Do="Admin",Ao="Accounts",Io="Roles and permissions",Lo="Index",Ro="Version control",So="Extensions",To="Search",Oo="Searching for?",Mo="Member profile",qo="Login",Vo="Wrong username or password",Co="Logout",jo="Query",No="Logs",zo="Published",Fo="Managed",Ho="Back",Zo="Warning",Bo="Delete Selected Items",Qo="Edit",Uo="Activate",Wo="Preview",Jo="Source",Ko="History",Go="Save",Xo="Password",Yo="Username",ea="Queries",ta="Login to members section",na="Backup and archive",sa="Comments",oa="Ineractions",aa="Shares",ca="Verfication",ra="Enter code here",ia="abcdefghijklmnopqrstuvwxyz",la="Loading data ...",_a="Name",ma="Email",da="Subject",ua="Contact form",pa="Message",fa="Submit",ha="Contact us",ga="N/A",$a="Query form",va="Subpath",ya="Random",ba="Query type",xa="Resource types",wa="Post",ka="Folder",Ea="Biography",Pa="Contact",Da="Media",Aa="Limit",Ia="Offset",La="Edited at",Ra="Activity logs",Sa="Hey ",Ta="Settings",Oa="Shortname",Ma="Displayname",qa="Resource type",Va="Payload",Ca="Payload type",ja="Html",Na="Markdown",za="Json",Fa="Raw",Ha="Tabular",Za="Description",Ba="Details",Qa="Term",Ua="Write a reply",Wa="Reply",Ja="Upload",Ka="Contributions",Ga="Activities",Xa="Sampled",Ya="Latest",ec="Library",tc="Knowledgebase",nc="FAQ",sc="Glossary",oc="Maqola",ac="imx.sh",cc="Bookmarks",rc="Picks",ic="Tag Cloud",lc="Publications",_c="Not Found",mc="({count}) items left, click here to load more",dc="All ({count}) itmes have been loaded.",uc="Cancel",pc="Accept",fc="Edit Entry",hc="Create Entry",gc="Create Folder",$c="Create sub-entry",vc="English Displayname",yc="Arabic Displayname",bc="English Description",xc="Arabic Description",wc="Create",kc="refresh",Ec="Page {page} of {total}",Pc="Open tabs",Dc="Views",Ac="View",Ic="Actions",Lc="Bulk",Rc="Status",Sc="Near by",Tc="Is active?",Oc="Tools",Mc="Analytics",qc="Console",Vc="News feed",Cc="Close",jc="Folders",Nc="Shortnames",zc="Content type",Fc="Path",Hc="Entries of",Zc="Toggle active state",Bc="Select entry from the <strong>sidebar</strong> on the left.",Qc='Are you sure you want to delete the attachment "{shortname}|{displayname}"?',Uc=`Changes haven't been saved.
|
|
4
4
|
Do you want to discard them?`,Wc='Are you sure you want to delete "{displayname}|{shortname}" under {data.subpath}?',Jc='Are you sure you want to delete the folder "{shortname}|{displayname}" under {data.subpath}?',Kc='Entry "{shortname}|{data.displayname}" is currently {current} are you sure you want to set it to {new}?',Gc="active",Xc="Download",Yc="inactive",er="Time",tr="Event",nr="Attributes",sr="Duration",or="Previous",ar="Current",cr="Hash",rr="Events",ir="Terminal",lr="Under development",_r="Schema",mr="Data Quality",dr="Download CSV",ur="Download ZIP",pr="From",fr="To",hr="Retrieve attachments",gr="Retrieve json payload",$r="This action will replace all existing data. Please make sure you have a backup before proceeding.",vr="Select ZIP file",yr="Selected file",br="Extra parameter",xr="optional",wr="Enter extra parameter",kr="Upload and Import",Er="Uploading",Pr="Please select a ZIP file",Dr="Invalid file type. Please select a ZIP file.",Ar="Import completed successfully",Ir="Import failed. Please try again.",P={datetime:js,home:Ns,docs:zs,language:Fs,about:Hs,posts:Zs,author:Bs,editor:Qs,attachments:Us,relationships:Ws,replies:Js,reactions:Ks,more:Gs,tags:Xs,dashboard:Ys,personal:eo,messages:to,tickets:no,sysadmin:so,notifications:oo,tasks:ao,contacts:co,calendar:ro,subscriptions:io,news:lo,profile:_o,content:mo,multimedia:uo,data:po,submissions:fo,profiles:ho,space_name:go,other_spaces:$o,definitions:vo,forum:yo,site:bo,pages:xo,forms:wo,translation:ko,sidebar_tree:Eo,components:Po,admin:Do,accounts:Ao,roles_and_permissions:Io,index:Lo,version_control:Ro,extensions:So,search:To,searching_for_what:Oo,memberprofile:Mo,login:qo,login_error:Vo,logout:Co,query:jo,logs:No,published:zo,managed:Fo,back:Ho,warning:Zo,delete:"Delete",delete_selected:Bo,edit:Qo,activate:Uo,preview:Wo,source:Jo,history:Ko,save:Go,password:Xo,username:Yo,queries:ea,login_to_members:ta,archive_and_backup:na,comments:sa,interactions:oa,shares:aa,verfication:ca,enter_code_here:ra,captcha_chars:ia,loading_data:la,name:_a,email:ma,subject:da,contact_form:ua,message:pa,submit:fa,contact_us:ha,not_applicable:ga,query_form:$a,subpath:va,random:ya,query_type:ba,resource_types:xa,post:wa,folder:ka,biography:Ea,contact:Pa,media:Da,limit:Aa,offset:Ia,edited_at:La,activity_logs:Ra,hey:Sa,settings:Ta,shortname:Oa,displayname:Ma,resource_type:qa,payload:Va,payload_type:Ca,text_html:ja,text_markdown:Na,text_json:za,raw:Fa,tabular:Ha,description:Za,details:Ba,term:Qa,write_a_reply:Ua,reply:Wa,upload:Ja,contributions:Ka,activities:Ga,sampled:Xa,latest:Ya,library:ec,knowledgebase:tc,faq:nc,glossary:sc,maqola:oc,wwwimx:ac,bookmarks:cc,picks:rc,tag_cloud:ic,publications:lc,not_found:_c,x_items_left_click_for_more:mc,all_x_items_are_loaded:dc,cancel:uc,accept:pc,edit_entry:fc,create_entry:hc,create_folder:gc,create_subentry:$c,displayname_en:vc,displayname_ar:yc,description_en:bc,description_ar:xc,create:wc,refresh:kc,page_of_total:Ec,open_tabs:Pc,views:Dc,view:Ac,actions:Ic,bulk_actions:Lc,status:Rc,near_by:Sc,is_active:Tc,tools:Oc,analytics:Mc,console:qc,newsfeed:Vc,close:Cc,folders:jc,shortnames:Nc,content_type:zc,path:Fc,entries_of:Hc,toggle_active_state:Zc,select_entry_from_sidebar:Bc,cofrirm_deleting_attachment:Qc,confirm_discarding_changes:Uc,confirm_deleting:Wc,confirm_deleting_folder:Jc,confirm_toggling_active:Kc,active:Gc,download:Xc,inactive:Yc,time:er,event:tr,attributes:nr,duration:sr,previous:or,current:ar,hash:cr,events:rr,terminal:ir,under_development:lr,schema_shortname:_r,qatool:mr,download_csv:dr,download_zip:ur,from:pr,to:fr,retrieve_attachments:hr,retrieve_json_payload:gr,import_warning_message:$r,select_zip_file:vr,selected_file:yr,extra_parameter:br,optional:xr,enter_extra_parameter:wr,upload_and_import:kr,uploading:Er,please_select_zip_file:Pr,invalid_file_type:Dr,import_successful:Ar,import_failed:Ir};k("ar",E);k("en",P);let Lr={ar:E,en:P},Rr=["ar","en"];Rr.filter(e=>e in m.languages);function Yr(e){e in m.languages||(e=m.default_language),typeof localStorage<"u"&&localStorage.setItem("preferred_locale",JSON.stringify(e)),h.set(e)}function Sr(){let e='"en"';if(typeof localStorage<"u"&&(e=localStorage.getItem("preferred_locale")),typeof e=="string")return JSON.parse(e);let r="",a=Q(),_=!1;for(const s in m.languages)r.trim().length>0&&(r=s),!_&&a&&a.startsWith(s)&&(a=s,_=!0);return _||(a=r),a||(a="en"),typeof localStorage<"u"&&localStorage.setItem("preferred_locale",JSON.stringify(a)),a}function Tr(){let e=Sr();!(e in Lr)&&m.default_language&&(e=m.default_language),B({initialLocale:e,fallbackLocale:m.default_language})}const Or=["ar","fa","ur","ku"],Mr=w(h,e=>Or.indexOf(e||"")>=0?"rtl":"ltr");w(h,e=>typeof e=="string");let x=L(!1);const qr={subscribe:x.subscribe,refresh:()=>x.update(e=>e=!e)},g="cxb",Vr={duration:2500,initial:1,next:0,pausable:!1,dismissable:!0,reversed:!1,intro:{x:256},theme:{"--toastColor":"mintcream"},classes:["custom-toast"]};var Cr=T('<div id="routify-app"><!> <!></div>');function jr(e,r){R(r,!0);const a=()=>b(h,"$locale",s),_=()=>b(Mr,"$dir",s),[s,c]=V();function i(t,d,n){if(d.length===0)return t;const[u,...l]=d,y=t.children.find(I=>I.name===`${u}`);return y?i(y,l):null}var f=null;async function D(){return f||(f=H({routes:p,urlRewrite:{toInternal:t=>{if(t.startsWith(`/${g}`)&&(t=t.replace(`/${g}`,"")),t=t===""?"/":t,t.startsWith("/management"))return t;const d=a(),n=t.split("/");n.shift();let u=n[n.length-1];if(u===""&&(u="index"),![".en",".ar",".ku"].includes(u)){n[n.length-1]=`${u}.${d}`;let l=i(p,n);if(l===null)if(n[n.length-1]=u,l=i(p,n),l===null)if(n[n.length-1]=`index.${d}`,l=i(p,n),l===null){if(n[n.length-1]="index",l=i(p,n),l!==null)return t.split("/").slice(0,t.split("/").length-1).join("/")+`/${n[n.length-1]}`}else return t.split("/").slice(0,t.split("/").length-1).join("/")+`/${n[n.length-1]}`;else return t.split("/").slice(0,t.split("/").length-1).join("/")+`/${n[n.length-1]}`;else return t.split("/").slice(0,t.split("/").length-1).join("/")+`/${n[n.length-1]}`}return t},toExternal:t=>`/${g}${t}`}}),f)}Tr(),S(()=>{document.dir=_(),qr.refresh()});var $=Cr(),v=C($);Z(v,{get options(){return Vr}});var A=N(v,2);O(A,D,null,(t,d)=>{F(t,{get router(){return j(d)}})}),M(e,$),q(),c()}z(jr,{target:document.body});export{Yr as s,m as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as k,i as j,f as c,h as n,j as z,L as D,k as p,l as F,H as L,I as B,B as _,R as v,c as f,E as m,F as H,a6 as d}from"./svelte-B2XmcTi_.js";import{p as I}from"./@roxi-CGMFK4i8.js";import{R as h,D as J}from"./@edraj-CS4NwVbD.js";import{h as N}from"./flowbite-svelte-BLvjb-sa.js";import{E as O}from"./EntryRenderer-
|
|
1
|
+
import{p as k,i as j,f as c,h as n,j as z,L as D,k as p,l as F,H as L,I as B,B as _,R as v,c as f,E as m,F as H,a6 as d}from"./svelte-B2XmcTi_.js";import{p as I}from"./@roxi-CGMFK4i8.js";import{R as h,D as J}from"./@edraj-CS4NwVbD.js";import{h as N}from"./flowbite-svelte-BLvjb-sa.js";import{E as O}from"./EntryRenderer-DwSsr_qX.js";import"./clsx-B-dksMZM.js";import"./esm-env-rsSWfq8L.js";import"./hookar-BMRD9G9H.js";import"./consolite-DlCuI0F9.js";import"./@floating-ui-BwwcF-xh.js";import"./tailwind-variants-Cj20BoQ3.js";import"./tailwind-merge-CJvxXMcu.js";import"./ListView-DDE5x83t.js";import"./svelte-datatables-net-CY7LBj6I.js";import"./pagination-svelte-D5CyoiE_.js";import"./Prism--hMplq-p.js";import"./prismjs-DTUiLGJu.js";import"./ajv-Cpj98o6Y.js";import"./compare-C3AjiGFR.js";import"./spaces-0oyGvpii.js";import"./dmart_services-AL6-IdDE.js";import"./toast-B9WDyfyI.js";import"./@zerodevx-BlBZjKxu.js";import"./flowbite-svelte-icons-BI8GVhw_.js";import"./global-igKv-1g9.js";import"./svelte-jsoneditor-CUGSvWId.js";import"./json-source-map-DRgZidqy.js";import"./immutable-json-patch-DtRO2E_S.js";import"./jsonrepair-B30Dx381.js";import"./lodash-es-DZVAA2ox.js";import"./@jsonquerylang-laKNoFFq.js";import"./@fortawesome-DRW1UCdr.js";import"./svelte-awesome-DhnMA6Q_.js";import"./svelte-select-CjHAt_85.js";import"./svelte-floating-ui-BlS3sOAQ.js";import"./natural-compare-lite-Bg2Xcf-o.js";import"./memoize-one-BdPwpGay.js";import"./@lezer-za4Q-8Ew.js";import"./@codemirror-Rn7_6DkE.js";import"./crelt-C8TCjufn.js";import"./@marijn-DXwl3gUT.js";import"./style-mod-Bs6eFhZE.js";import"./w3c-keyname-Vcq4gwWv.js";import"./@replit--ERk53eB.js";import"./codemirror-wrapped-line-indent-DPhKvljI.js";import"./@typewriter-cCzskkIv.js";import"./fast-diff-C-IidNf4.js";import"./typewriter-editor-DkTVIJdm.js";import"./easy-signal-BiPFIK3O.js";import"./marked-DKjyhwJX.js";import"./marked-mangle-CDMeiHC6.js";import"./marked-gfm-heading-id-U5zO829x.js";import"./github-slugger-CQ4oX9Ud.js";import"./downloadFile-D08i0YDh.js";import"./user-DeK_NB5v.js";import"./svelte-i18n-CT2KkQaN.js";import"./deepmerge-rn4rBaHU.js";import"./intl-messageformat-Dc5UU-HB.js";import"./tslib-pJfR_DrR.js";import"./@formatjs-yKEsAtjs.js";import"./index-ZWZ_PIBi.js";import"./Table2Cols-BsbwicQm.js";import"./axios-CG2WSiiR.js";import"./BreadCrumbLite-DAhOx38v.js";import"./plantuml-encoder-C47mzt9T.js";var P=_('<div class="alert alert-danger text-center m-5"><h4 class="alert-heading text-capitalize"> </h4></div>'),S=_('<div class="flex flex-col w-full"><!></div>'),T=_("<h4>For some reason ... params doesn't have the needed info</h4> <pre> </pre>",1);function Yr(u,g){k(g,!1);const e=()=>D(I,"$params",y),[y,x]=L();j();var l=c(),b=n(l);{var w=o=>{var a=c(),s=n(a);B(s,()=>J.retrieveEntry({resource_type:h.space,space_name:e().space_name,subpath:"__root__",shortname:e().space_name,retrieve_json_payload:!0,retrieve_attachments:!0,validate_schema:!0}),t=>{var r=S(),i=m(r);N(i,{class:"m-5",size:"lg",style:"width: 100vw"}),p(t,r)},(t,r)=>{O(t,{get entry(){return f(r)},get resource_type(){return h.space},get space_name(){return e().space_name},subpath:"/"})},(t,r)=>{var i=P(),R=m(i),$=m(R);v(()=>d($,f(r))),p(t,i)}),p(o,a)},E=o=>{var a=T(),s=H(n(a),2),t=m(s);v(r=>d(t,r),[()=>JSON.stringify(e(),null,2)]),p(o,a)};z(b,o=>{e().space_name?o(w):o(E,!1)})}p(u,l),F(),x()}export{Yr as default};
|
{cxb → dmart/cxb}/index.html
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/cxb/favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>CXB</title>
|
|
8
|
-
<script type="module" crossorigin src="/cxb/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/cxb/assets/index-ZWZ_PIBi.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/cxb/assets/clsx-B-dksMZM.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/cxb/assets/esm-env-rsSWfq8L.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/cxb/assets/svelte-B2XmcTi_.js">
|
dmart.py → dmart/dmart.py
RENAMED
|
@@ -12,7 +12,7 @@ import sys
|
|
|
12
12
|
import time
|
|
13
13
|
import warnings
|
|
14
14
|
import webbrowser
|
|
15
|
-
from multiprocessing import freeze_support
|
|
15
|
+
# from multiprocessing import freeze_support
|
|
16
16
|
from pathlib import Path
|
|
17
17
|
|
|
18
18
|
from hypercorn.config import Config
|
|
@@ -27,9 +27,9 @@ from main import main as server
|
|
|
27
27
|
from utils.exporter import main as exporter, exit_with_error, OUTPUT_FOLDER_NAME, validate_config, extract
|
|
28
28
|
from utils.settings import settings
|
|
29
29
|
|
|
30
|
-
freeze_support()
|
|
30
|
+
# freeze_support()
|
|
31
31
|
|
|
32
|
-
commands = """
|
|
32
|
+
commands = """
|
|
33
33
|
serve
|
|
34
34
|
hyper
|
|
35
35
|
health-check
|
|
@@ -383,9 +383,6 @@ def hypercorn_main() -> int:
|
|
|
383
383
|
|
|
384
384
|
|
|
385
385
|
def main():
|
|
386
|
-
if not os.path.exists("config.env"):
|
|
387
|
-
print("Notice: config.env not found, using default settings from settings.py")
|
|
388
|
-
|
|
389
386
|
sys.argv = sys.argv[1:]
|
|
390
387
|
if len(sys.argv) == 0:
|
|
391
388
|
print("You must provide a command to run:")
|
|
@@ -395,7 +392,7 @@ def main():
|
|
|
395
392
|
match sys.argv[0]:
|
|
396
393
|
case "hyper":
|
|
397
394
|
hypercorn_main()
|
|
398
|
-
case "
|
|
395
|
+
case "serve":
|
|
399
396
|
open_cxb = False
|
|
400
397
|
if "--open-cxb" in sys.argv:
|
|
401
398
|
open_cxb = True
|
dmart/info.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"branch": "pypi", "version": "ae38bb2c", "tag": "v1.4.0-74-gae38bb2c", "version_date": "'Tue Jan 20 11:47:39 2026 +0000'"}
|
dmart/login_creds.sh
ADDED
dmart/manifest.sh
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
source ./login_creds.sh
|
|
4
|
+
|
|
5
|
+
APP_URL="http://localhost:8282"
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
TOKEN=$(curl -s "${APP_URL}/user/login" -H 'Content-Type: application/json' -d "${SUPERMAN}" | jq -r '.records[0].attributes.access_token')
|
|
9
|
+
# curl -s -H "Authorization: Bearer ${TOKEN}" "${APP_URL}/managed/reload-security-data" | jq .
|
|
10
|
+
# curl -s -H "Authorization: Bearer ${TOKEN}" "${APP_URL}/info/me" | jq .
|
|
11
|
+
curl -s -H "Authorization: Bearer ${TOKEN}" "${APP_URL}/info/manifest" | jq .
|
|
12
|
+
# curl -s -H "Authorization: Bearer ${TOKEN}" "${APP_URL}/info/settings" | jq .
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"shortname": "action_log",
|
|
3
|
+
"is_active": true,
|
|
4
|
+
"filters": {
|
|
5
|
+
"subpaths": ["__ALL__"],
|
|
6
|
+
"resource_types": ["__ALL__"],
|
|
7
|
+
"schema_shortnames": ["__ALL__"],
|
|
8
|
+
"actions": ["create", "update", "delete", "progress_ticket"]
|
|
9
|
+
},
|
|
10
|
+
"type": "hook",
|
|
11
|
+
"listen_time": "after",
|
|
12
|
+
"dependencies": []
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"shortname": "admin_notification_sender",
|
|
3
|
+
"is_active": true,
|
|
4
|
+
"filters": {
|
|
5
|
+
"subpaths": ["notifications/admin"],
|
|
6
|
+
"resource_types": ["content"],
|
|
7
|
+
"schema_shortnames": ["admin_notification_request"],
|
|
8
|
+
"actions": ["create"]
|
|
9
|
+
},
|
|
10
|
+
"type": "hook",
|
|
11
|
+
"ordinal": 1,
|
|
12
|
+
"listen_time": "after"
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"shortname": "ldap_manager",
|
|
3
|
+
"is_active": false,
|
|
4
|
+
"filters": {
|
|
5
|
+
"subpaths": ["users"],
|
|
6
|
+
"resource_types": ["user"],
|
|
7
|
+
"schema_shortnames": ["__ALL__"],
|
|
8
|
+
"actions": ["create", "update", "delete", "move"]
|
|
9
|
+
},
|
|
10
|
+
"type": "hook",
|
|
11
|
+
"listen_time": "after"
|
|
12
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
attributetype ( 1.1.2.1.1
|
|
4
|
+
NAME 'isActive'
|
|
5
|
+
DESC 'Account activation status : true = active, false = disabled'
|
|
6
|
+
EQUALITY booleanMatch
|
|
7
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
|
|
8
|
+
SINGLE-VALUE
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
attributetype ( 1.1.2.1.2
|
|
12
|
+
NAME 'mailAlias'
|
|
13
|
+
DESC 'Email alias, another name by which the user can receive emails to'
|
|
14
|
+
SUP mail
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
attributetype ( 1.1.2.1.3
|
|
18
|
+
NAME 'mailForward'
|
|
19
|
+
DESC 'Email forward'
|
|
20
|
+
SUP mail
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
attributetype ( 1.1.2.1.4
|
|
24
|
+
NAME 'authorizedService'
|
|
25
|
+
DESC 'Allowed service name'
|
|
26
|
+
EQUALITY caseIgnoreMatch
|
|
27
|
+
ORDERING caseIgnoreOrderingMatch
|
|
28
|
+
SUBSTR caseIgnoreSubstringsMatch
|
|
29
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
# validation must be removed when the email or mobile are changed.
|
|
33
|
+
attributetype ( 1.1.2.1.5
|
|
34
|
+
NAME 'validation'
|
|
35
|
+
DESC 'Validation of user'
|
|
36
|
+
EQUALITY caseIgnoreMatch
|
|
37
|
+
ORDERING caseIgnoreOrderingMatch
|
|
38
|
+
SUBSTR caseIgnoreSubstringsMatch
|
|
39
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
attributetype ( 1.1.2.1.6
|
|
43
|
+
NAME 'changePasswordRequired'
|
|
44
|
+
EQUALITY booleanMatch
|
|
45
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
|
|
46
|
+
SINGLE-VALUE
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
attributetype ( 1.1.2.1.7
|
|
50
|
+
NAME ( 'dob' 'dateOfBirth' )
|
|
51
|
+
DESC 'Date of Birth'
|
|
52
|
+
EQUALITY generalizedTimeMatch
|
|
53
|
+
ORDERING generalizedTimeOrderingMatch
|
|
54
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
|
|
55
|
+
SINGLE-VALUE
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
attributetype ( 1.1.2.1.13
|
|
59
|
+
NAME ( 'lastLogin' )
|
|
60
|
+
DESC 'last log in'
|
|
61
|
+
EQUALITY generalizedTimeMatch
|
|
62
|
+
ORDERING generalizedTimeOrderingMatch
|
|
63
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
|
|
64
|
+
SINGLE-VALUE
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
# attributetype ( 1.1.2.1.7
|
|
70
|
+
# NAME 'dateOfBirth'
|
|
71
|
+
# DESC 'Date of Birth'
|
|
72
|
+
# EQUALITY integerMatch
|
|
73
|
+
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
|
|
74
|
+
# SINGLE-VALUE
|
|
75
|
+
# )
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
attributetype ( 1.1.2.1.8
|
|
79
|
+
NAME 'secretQuestion'
|
|
80
|
+
DESC 'Secret Question, 128 bytes'
|
|
81
|
+
EQUALITY caseIgnoreMatch
|
|
82
|
+
SUBSTR caseIgnoreSubstringsMatch
|
|
83
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
|
|
84
|
+
SINGLE-VALUE
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
attributetype ( 1.1.2.1.9
|
|
88
|
+
NAME 'secretAnswer'
|
|
89
|
+
DESC 'Secret Question, 128 bytes'
|
|
90
|
+
EQUALITY caseIgnoreMatch
|
|
91
|
+
SUBSTR caseIgnoreSubstringsMatch
|
|
92
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128}
|
|
93
|
+
SINGLE-VALUE
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
attributetype ( 1.1.2.1.10
|
|
97
|
+
NAME 'cityName'
|
|
98
|
+
EQUALITY caseIgnoreMatch
|
|
99
|
+
ORDERING caseIgnoreOrderingMatch
|
|
100
|
+
SUBSTR caseIgnoreSubstringsMatch
|
|
101
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
|
|
102
|
+
SINGLE-VALUE
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
attributetype ( 1.1.2.1.11
|
|
106
|
+
NAME 'gender'
|
|
107
|
+
EQUALITY booleanMatch
|
|
108
|
+
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
|
|
109
|
+
SINGLE-VALUE
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
attributetype ( 1.1.2.1.12
|
|
114
|
+
NAME 'memberEmail'
|
|
115
|
+
SUP mail
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
objectclass (1.1.2.2.1
|
|
119
|
+
NAME 'dmartPerson'
|
|
120
|
+
DESC 'dmart Person'
|
|
121
|
+
SUP inetOrgPerson
|
|
122
|
+
STRUCTURAL
|
|
123
|
+
MUST ( commonName )
|
|
124
|
+
MAY ( surname $ givenName $ countryName $ telephoneNumber $ homeTelephoneNumber $
|
|
125
|
+
mobileTelephoneNumber $ displayName $ mail $ description $ postalAddress $
|
|
126
|
+
streetAddress $ labeledURI $ jpegPhoto $ preferredLanguage $
|
|
127
|
+
organizationName $ homePostalAddress $ cityName $ dateOfBirth $ gender )
|
|
128
|
+
)
|
|
129
|
+
|
|
130
|
+
objectclass ( 1.1.2.2.2
|
|
131
|
+
NAME 'dmartUser'
|
|
132
|
+
DESC 'dmart User'
|
|
133
|
+
SUP dmartPerson
|
|
134
|
+
STRUCTURAL
|
|
135
|
+
MUST ( userPassword )
|
|
136
|
+
MAY ( mailAlias $ mailForward $ authorizedService $ isActive $ title $ validation $ changePasswordRequired $ secretQuestion $ secretAnswer $ lastLogin )
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
objectclass ( 1.1.2.2.3
|
|
140
|
+
NAME 'dmartGroup'
|
|
141
|
+
DESC 'dmart Group'
|
|
142
|
+
STRUCTURAL
|
|
143
|
+
MUST ( cn )
|
|
144
|
+
MAY ( isActive $ mailAlias $ mailForward $ memberEmail $ description )
|
|
145
|
+
)
|
|
146
|
+
|