propro-common-components 0.3.37 → 0.3.38
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.
|
@@ -957,7 +957,18 @@ const getAuthFrontendUrl = () => {
|
|
|
957
957
|
}, handleAuth$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
958
958
|
__proto__: null,
|
|
959
959
|
handleAuth: handleAuth$1
|
|
960
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
960
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
961
|
+
async function clearWebAuthCookies() {
|
|
962
|
+
try {
|
|
963
|
+
await axios.post(
|
|
964
|
+
"/api/auth/session/clear",
|
|
965
|
+
{},
|
|
966
|
+
{ withCredentials: !0 }
|
|
967
|
+
);
|
|
968
|
+
} catch {
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
const AuthContext = createContext(
|
|
961
972
|
void 0
|
|
962
973
|
);
|
|
963
974
|
function AuthProvider({ children: d }) {
|
|
@@ -1271,12 +1282,12 @@ async function checkAccessToken$1() {
|
|
|
1271
1282
|
return console.log("~ USER NOT LOGGED IN"), ue.error("Session expired", {
|
|
1272
1283
|
description: "Please log in again to continue.",
|
|
1273
1284
|
duration: 4e3
|
|
1274
|
-
}), await runAuthSessionClearing("not_logged_in"), await handleAuth$1(), { accessToken: void 0, continueToRequest: !1 };
|
|
1285
|
+
}), await runAuthSessionClearing("not_logged_in"), await clearWebAuthCookies(), await handleAuth$1(), { accessToken: void 0, continueToRequest: !1 };
|
|
1275
1286
|
if (D && isExpired(D))
|
|
1276
1287
|
return console.log("~ REFRESH TOKEN EXPIRED"), ue.error("Session expired", {
|
|
1277
1288
|
description: "Your session has expired. Please log in again.",
|
|
1278
1289
|
duration: 4e3
|
|
1279
|
-
}), await runAuthSessionClearing("refresh_token_expired"), await handleAuth$1(), { accessToken: void 0, continueToRequest: !1 };
|
|
1290
|
+
}), await runAuthSessionClearing("refresh_token_expired"), await clearWebAuthCookies(), await handleAuth$1(), { accessToken: void 0, continueToRequest: !1 };
|
|
1280
1291
|
if (RUNNING_IN_TAURI ? m && !isExpired(m) : d)
|
|
1281
1292
|
return { accessToken: C, continueToRequest: !0 };
|
|
1282
1293
|
console.log("Access token expired, refreshing...");
|
|
@@ -1325,7 +1336,7 @@ async function checkAccessToken$1() {
|
|
|
1325
1336
|
}) : ue.error("Session refresh failed", {
|
|
1326
1337
|
description: "Please log in again to continue.",
|
|
1327
1338
|
duration: 4e3
|
|
1328
|
-
}), await runAuthSessionClearing("refresh_failed"), await handleAuth$1(), { accessToken: void 0, continueToRequest: !1 };
|
|
1339
|
+
}), await runAuthSessionClearing("refresh_failed"), await clearWebAuthCookies(), await handleAuth$1(), { accessToken: void 0, continueToRequest: !1 };
|
|
1329
1340
|
} finally {
|
|
1330
1341
|
refreshInProgress.delete(I);
|
|
1331
1342
|
}
|
|
@@ -1431,7 +1442,7 @@ function setCookie$1(d, C, B = {}) {
|
|
|
1431
1442
|
b !== "" ? F += `; ${H}=${b}` : F += `; ${H}`;
|
|
1432
1443
|
document.cookie = `${d}=${m[d]}${F}`, document.cookie = `${d}-options=${m[`${d}-options`]}${F}`;
|
|
1433
1444
|
}
|
|
1434
|
-
var define_process_env_default$3 = { npm_package_devDependencies_react_dom: "^18.2.0", npm_package_devDependencies__tailwindcss_typography: "^0.5.10", npm_package_devDependencies__storybook_test: "^8.1.5", npm_package_devDependencies__storybook_addon_links: "^8.1.5", npm_package_dependencies__fortawesome_fontawesome_svg_core: "^6.5.1", MANPATH: "/usr/share/man:/usr/local/share/man:/Applications/Ghostty.app/Contents/Resources/ghostty/../man:", COREPACK_ROOT: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/corepack", GHOSTTY_RESOURCES_DIR: "/Applications/Ghostty.app/Contents/Resources/ghostty", npm_package_dependencies__radix_ui_react_tabs: "^1.0.4", TERM_PROGRAM: "ghostty", NODE: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", FNM_LOGLEVEL: "info", INIT_CWD: "/Users/dan/Documents/work/propro/propro-reusable-components", OPENCODE_PID: "14405", npm_package_peerDependencies_axios: "^1.6.7", npm_package_devDependencies_typescript: "^5.2.2", npm_package_dependencies_lucide_react: "^0.309.0", npm_package_dependencies_axios: "^1.6.7", npm_package_dependencies__tauri_apps_plugin_http: "^2.0.0", npm_config_version_git_tag: "true", NODE_NO_WARNINGS: "1", SHELL: "/bin/zsh", TERM: "xterm-ghostty", npm_package_devDependencies_vite: "^5.0.8", npm_package_devDependencies__storybook_addon_essentials: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_upload: "^2.2.1", npm_package_dependencies__radix_ui_react_dialog: "^1.0.5", FNM_NODE_DIST_MIRROR: "https://nodejs.org/dist", npm_package_dependencies__plasmicpkgs_plasmic_tabs: "^0.0.49", TMPDIR: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/", npm_config_global_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", npm_package_scripts_lint: "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", npm_config_init_license: "MIT", TERM_PROGRAM_VERSION: "1.3.1", npm_package_devDependencies__vitejs_plugin_react: "^4.2.1", npm_package_scripts_dev: "vite", npm_package_dependencies_react_lottie: "^1.2.4", npm_package_scripts_prepublishOnly: "yarn build", COLOR: "0", npm_package_dependencies__tauri_apps_api: "^2.0.2", npm_package_dependencies__plasmicapp_react_web: "^0.2.408", npm_config_noproxy: "", npm_package_devDependencies__storybook_blocks: "^8.1.5", npm_package_devDependencies__storybook_addon_interactions: "^8.1.5", npm_package_dependencies__plasmicpkgs_antd: "^2.0.130", npm_config_registry: "https://registry.npmjs.org/", npm_config_local_prefix: "/Users/dan/Documents/work/propro/propro-reusable-components", PNPM_HOME: "/Users/dan/Library/pnpm", ZSH: "/Users/dan/.oh-my-zsh", npm_package_peerDependencies_react_dom: "^18.2.0", npm_package_peerDependencies__tanstack_react_query_devtools: "^5.75.2", npm_package_devDependencies_eslint_plugin_react_refresh: "^0.4.5", npm_package_dependencies__ant_design_icons: "^5.2.6", FNM_COREPACK_ENABLED: "false", npm_package_readmeFilename: "README.md", USER: "dan", npm_package_description: "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.", npm_package_devDependencies_react: "^18.2.0", npm_package_dependencies__tauri_apps_plugin_shell: "^2.3.1", LS_COLORS: "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43", npm_package_devDependencies__types_react: "^18.2.43", COMMAND_MODE: "unix2003", npm_package_dependencies__radix_ui_react_tooltip: "^1.1.2", npm_package_scripts_build_storybook: "storybook build", npm_config_globalconfig: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/etc/npmrc", npm_package_dependencies__plasmicpkgs_react_awesome_reveal: "^3.8.211", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.grE9vB2lun/Listeners", npm_package_devDependencies_eslint_plugin_storybook: "^0.8.0", npm_package_dependencies_tailwindcss_animate: "^1.0.7", npm_package_dependencies__plasmicpkgs_lottie_react: "^0.0.200", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_package_devDependencies_postcss: "^8.4.33", npm_package_devDependencies_eslint: "^8.55.0", npm_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/npm-cli.js", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^6.14.0", npm_package_dependencies__tauri_apps_plugin_fs: "^2.2.0", PAGER: "less", npm_package_dependencies__fortawesome_react_fontawesome: "^0.2.0", npm_package_devDependencies_glob: "^10.3.10", npm_package_dependencies_react_error_boundary: "^4.0.12", LSCOLORS: "Gxfxcxdxbxegedabagacad", FNM_VERSION_FILE_STRATEGY: "local", npm_package_devDependencies__types_react_dom: "^18.2.17", FNM_ARCH: "x64", npm_package_devDependencies__typescript_eslint_parser: "^6.14.0", npm_package_dependencies_tailwind_merge: "^2.2.0", npm_package_dependencies__plasmicpkgs_plasmic_rich_components: "^1.0.199", PATH: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/yarn--1785842283798-0.7374400505094711:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/.config/yarn/link/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node_modules/npm/bin/node-gyp-bin:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/Documents/work/propro/node_modules/.bin:/Users/dan/Documents/work/node_modules/.bin:/Users/dan/Documents/node_modules/.bin:/Users/dan/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/dan/.antigravity-ide/antigravity-ide/bin:/usr/local/opt/libpq/bin:/Users/dan/bin:/Users/dan/.bun/bin:/Users/dan/.local/bin:/Users/dan/.local/state/fnm_multishells/13997_1785009147271/bin:/Users/dan/.antigravity/antigravity/bin:/usr/local/go/bin:/Users/dan/Library/pnpm:/usr/local/Cellar:/usr/local/opt:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/Users/dan/.cargo/bin:/Applications/Ghostty.app/Contents/MacOS", npm_config_argv: '{"remain":[],"cooked":["run","build"],"original":["build"]}', npm_package_dependencies_class_variance_authority: "^0.7.0", npm_package_dependencies__fortawesome_free_solid_svg_icons: "^6.5.1", npm_package_dependencies__radix_ui_react_switch: "^1.0.3", npm_package_json: "/Users/dan/Documents/work/propro/propro-reusable-components/package.json", _: "/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin/vite", GHOSTTY_SHELL_FEATURES: "cursor:blink,path,title", OPENCODE_RUN_ID: "082facc2-12d4-4bd0-9a00-79e08a201f35", npm_config_userconfig: "/Users/dan/.npmrc", npm_config_init_module: "/Users/dan/.npm-init.js", __CFBundleIdentifier: "com.mitchellh.ghostty", COREPACK_ENABLE_DOWNLOAD_PROMPT: "1", npm_package_peerDependencies_react_toastify: "^10.0.5", npm_package_dependencies_react_toastify: "^10.0.5", npm_package_dependencies_propro_icons: "^0.0.32", npm_package_dependencies__types_js_cookie: "^3.0.6", npm_package_dependencies__types_chrome: "^0.0.287", npm_package_dependencies__plasmicpkgs_react_aria: "^0.0.135", npm_command: "publish", PWD: "/Users/dan/Documents/work/propro/propro-reusable-components", npm_package_devDependencies_tailwindcss: "^3.4.1", npm_package_dependencies__plasmicapp_cli: "^0.1.327", npm_package_devDependencies_eslint_plugin_react_hooks: "^4.6.0", npm_package_devDependencies__storybook_addon_onboarding: "^8.1.5", npm_package_scripts_preview: "vite preview", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "propro-common-components", LANG: "en_US.UTF-8", npm_package_packageManager: "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", npm_package_devDependencies_vite_plugin_lib_inject_css: "^1.3.0", npm_package_devDependencies_storybook: "^8.1.5", npm_package_types: "dist/main.d.ts", npm_package_dependencies_sonner: "^1.7.0", npm_package_scripts_build: "vite build", npm_config_version_commit_hooks: "true", npm_config_npm_version: "10.7.0", XPC_FLAGS: "0x0", FNM_MULTISHELL_PATH: "/Users/dan/.local/state/fnm_multishells/13997_1785009147271", npm_package_peerDependencies_react_router_dom: "^6.22.3", npm_package_dependencies_react_router_dom: "^6.22.3", npm_package_devDependencies__tailwindcss_forms: "^0.5.7", npm_package_devDependencies__chromatic_com_storybook: "^1.5.0", npm_config_bin_links: "true", npm_package_devDependencies__storybook_react: "^8.1.5", npm_config_node_gyp: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_peerDependencies__tanstack_react_query: "^5.75.2", npm_package_devDependencies_vite_plugin_dts: "^3.7.1", npm_package_main: "dist/propro-common-components.js", npm_package_version: "0.3.37", XPC_SERVICE_NAME: "0", OPENCODE_PROCESS_ROLE: "worker", npm_package_devDependencies_autoprefixer: "^10.4.16", SHLVL: "4", HOME: "/Users/dan", npm_package_type: "module", TERMINFO: "/Applications/Ghostty.app/Contents/Resources/terminfo", npm_package_dependencies__radix_ui_react_menubar: "^1.0.4", npm_package_scripts_storybook: "storybook dev -p 6006", npm_package_dependencies_formik: "^2.4.5", npm_package_dependencies__mantine_hooks: "^7.9.0", npm_config_save_prefix: "^", npm_config_strict_ssl: "true", npm_package_devDependencies__types_react_lottie: "^1.2.10", npm_config_version_git_message: "v%s", FNM_DIR: "/Users/dan/.local/share/fnm", npm_package_dependencies_js_cookie: "^3.0.5", npm_package_dependencies__radix_ui_react_popover: "^1.0.7", npm_package_dependencies__radix_ui_react_avatar: "^1.0.4", npm_package_dependencies__radix_ui_react_slot: "^1.0.2", npm_package_dependencies__plasmicpkgs_plasmic_embed_css: "^0.1.194", npm_config_cache: "/Users/dan/.npm", LOGNAME: "dan", LESS: "-R", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__plasmicapp_host: "^1.0.227", npm_lifecycle_script: "vite build", XDG_DATA_DIRS: "/usr/local/share:/usr/share:/Applications/Ghostty.app/Contents/Resources/ghostty/..", npm_package_dependencies_yup: "^1.4.0", GHOSTTY_BIN_DIR: "/Applications/Ghostty.app/Contents/MacOS", npm_package_peerDependencies_react: "^18.2.0", npm_package_devDependencies__storybook_react_vite: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_deep_link: "^2.4.9", BUN_INSTALL: "/Users/dan/.bun", npm_config_user_agent: "yarn/1.22.22 npm/? node/v20.14.0 darwin x64", FNM_RESOLVE_ENGINES: "true", npm_package_dependencies__radix_ui_react_label: "^2.0.2", npm_config_version_git_sign: "", npm_config_ignore_scripts: "", npm_package_devDependencies__types_node: "^20.11.5", npm_package_dependencies_clsx: "^2.1.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "^2.0.6", OSLogRateLimit: "64", AGENT: "1", npm_package_files_0: "dist", npm_package_dependencies_antd: "^5.23.4", npm_config_init_version: "1.0.0", npm_config_ignore_optional: "", npm_package_dependencies__plasmicpkgs_plasmic_basic_components: "^0.0.232", npm_node_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", npm_config_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", OPENCODE: "1", COLORTERM: "truecolor", npm_package_dependencies__plasmicpkgs_antd5: "^0.0.265", npm_package_dependencies__ant_design_pro_components: "^2.6.4", npm_config_version_tag_prefix: "v", NODE_ENV: "production" };
|
|
1445
|
+
var define_process_env_default$3 = { npm_package_devDependencies_react_dom: "^18.2.0", npm_package_devDependencies__tailwindcss_typography: "^0.5.10", npm_package_devDependencies__storybook_test: "^8.1.5", npm_package_devDependencies__storybook_addon_links: "^8.1.5", npm_package_dependencies__fortawesome_fontawesome_svg_core: "^6.5.1", MANPATH: "/usr/share/man:/usr/local/share/man:/Applications/Ghostty.app/Contents/Resources/ghostty/../man:", COREPACK_ROOT: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/corepack", GHOSTTY_RESOURCES_DIR: "/Applications/Ghostty.app/Contents/Resources/ghostty", npm_package_dependencies__radix_ui_react_tabs: "^1.0.4", TERM_PROGRAM: "ghostty", NODE: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", FNM_LOGLEVEL: "info", INIT_CWD: "/Users/dan/Documents/work/propro/propro-reusable-components", OPENCODE_PID: "14405", npm_package_peerDependencies_axios: "^1.6.7", npm_package_devDependencies_typescript: "^5.2.2", npm_package_dependencies_lucide_react: "^0.309.0", npm_package_dependencies_axios: "^1.6.7", npm_package_dependencies__tauri_apps_plugin_http: "^2.0.0", npm_config_version_git_tag: "true", NODE_NO_WARNINGS: "1", SHELL: "/bin/zsh", TERM: "xterm-ghostty", npm_package_devDependencies_vite: "^5.0.8", npm_package_devDependencies__storybook_addon_essentials: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_upload: "^2.2.1", npm_package_dependencies__radix_ui_react_dialog: "^1.0.5", FNM_NODE_DIST_MIRROR: "https://nodejs.org/dist", npm_package_dependencies__plasmicpkgs_plasmic_tabs: "^0.0.49", TMPDIR: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/", npm_config_global_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", npm_package_scripts_lint: "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", npm_config_init_license: "MIT", TERM_PROGRAM_VERSION: "1.3.1", npm_package_devDependencies__vitejs_plugin_react: "^4.2.1", npm_package_scripts_dev: "vite", npm_package_dependencies_react_lottie: "^1.2.4", npm_package_scripts_prepublishOnly: "yarn build", COLOR: "0", npm_package_dependencies__tauri_apps_api: "^2.0.2", npm_package_dependencies__plasmicapp_react_web: "^0.2.408", npm_config_noproxy: "", npm_package_devDependencies__storybook_blocks: "^8.1.5", npm_package_devDependencies__storybook_addon_interactions: "^8.1.5", npm_package_dependencies__plasmicpkgs_antd: "^2.0.130", npm_config_registry: "https://registry.npmjs.org/", npm_config_local_prefix: "/Users/dan/Documents/work/propro/propro-reusable-components", PNPM_HOME: "/Users/dan/Library/pnpm", ZSH: "/Users/dan/.oh-my-zsh", npm_package_peerDependencies_react_dom: "^18.2.0", npm_package_peerDependencies__tanstack_react_query_devtools: "^5.75.2", npm_package_devDependencies_eslint_plugin_react_refresh: "^0.4.5", npm_package_dependencies__ant_design_icons: "^5.2.6", FNM_COREPACK_ENABLED: "false", npm_package_readmeFilename: "README.md", USER: "dan", npm_package_description: "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.", npm_package_devDependencies_react: "^18.2.0", npm_package_dependencies__tauri_apps_plugin_shell: "^2.3.1", LS_COLORS: "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43", npm_package_devDependencies__types_react: "^18.2.43", COMMAND_MODE: "unix2003", npm_package_dependencies__radix_ui_react_tooltip: "^1.1.2", npm_package_scripts_build_storybook: "storybook build", npm_config_globalconfig: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/etc/npmrc", npm_package_dependencies__plasmicpkgs_react_awesome_reveal: "^3.8.211", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.grE9vB2lun/Listeners", npm_package_devDependencies_eslint_plugin_storybook: "^0.8.0", npm_package_dependencies_tailwindcss_animate: "^1.0.7", npm_package_dependencies__plasmicpkgs_lottie_react: "^0.0.200", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_package_devDependencies_postcss: "^8.4.33", npm_package_devDependencies_eslint: "^8.55.0", npm_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/npm-cli.js", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^6.14.0", npm_package_dependencies__tauri_apps_plugin_fs: "^2.2.0", PAGER: "less", npm_package_dependencies__fortawesome_react_fontawesome: "^0.2.0", npm_package_devDependencies_glob: "^10.3.10", npm_package_dependencies_react_error_boundary: "^4.0.12", LSCOLORS: "Gxfxcxdxbxegedabagacad", FNM_VERSION_FILE_STRATEGY: "local", npm_package_devDependencies__types_react_dom: "^18.2.17", FNM_ARCH: "x64", npm_package_devDependencies__typescript_eslint_parser: "^6.14.0", npm_package_dependencies_tailwind_merge: "^2.2.0", npm_package_dependencies__plasmicpkgs_plasmic_rich_components: "^1.0.199", PATH: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/yarn--1785920004622-0.502666722220916:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/.config/yarn/link/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node_modules/npm/bin/node-gyp-bin:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/Documents/work/propro/node_modules/.bin:/Users/dan/Documents/work/node_modules/.bin:/Users/dan/Documents/node_modules/.bin:/Users/dan/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/dan/.antigravity-ide/antigravity-ide/bin:/usr/local/opt/libpq/bin:/Users/dan/bin:/Users/dan/.bun/bin:/Users/dan/.local/bin:/Users/dan/.local/state/fnm_multishells/13997_1785009147271/bin:/Users/dan/.antigravity/antigravity/bin:/usr/local/go/bin:/Users/dan/Library/pnpm:/usr/local/Cellar:/usr/local/opt:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/Users/dan/.cargo/bin:/Applications/Ghostty.app/Contents/MacOS", npm_config_argv: '{"remain":[],"cooked":["run","build"],"original":["build"]}', npm_package_dependencies_class_variance_authority: "^0.7.0", npm_package_dependencies__fortawesome_free_solid_svg_icons: "^6.5.1", npm_package_dependencies__radix_ui_react_switch: "^1.0.3", npm_package_json: "/Users/dan/Documents/work/propro/propro-reusable-components/package.json", _: "/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin/vite", GHOSTTY_SHELL_FEATURES: "cursor:blink,path,title", OPENCODE_RUN_ID: "082facc2-12d4-4bd0-9a00-79e08a201f35", npm_config_userconfig: "/Users/dan/.npmrc", npm_config_init_module: "/Users/dan/.npm-init.js", __CFBundleIdentifier: "com.mitchellh.ghostty", COREPACK_ENABLE_DOWNLOAD_PROMPT: "1", npm_package_peerDependencies_react_toastify: "^10.0.5", npm_package_dependencies_react_toastify: "^10.0.5", npm_package_dependencies_propro_icons: "^0.0.32", npm_package_dependencies__types_js_cookie: "^3.0.6", npm_package_dependencies__types_chrome: "^0.0.287", npm_package_dependencies__plasmicpkgs_react_aria: "^0.0.135", npm_command: "publish", PWD: "/Users/dan/Documents/work/propro/propro-reusable-components", npm_package_devDependencies_tailwindcss: "^3.4.1", npm_package_dependencies__plasmicapp_cli: "^0.1.327", npm_package_devDependencies_eslint_plugin_react_hooks: "^4.6.0", npm_package_devDependencies__storybook_addon_onboarding: "^8.1.5", npm_package_scripts_preview: "vite preview", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "propro-common-components", LANG: "en_US.UTF-8", npm_package_packageManager: "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", npm_package_devDependencies_vite_plugin_lib_inject_css: "^1.3.0", npm_package_devDependencies_storybook: "^8.1.5", npm_package_types: "dist/main.d.ts", npm_package_dependencies_sonner: "^1.7.0", npm_package_scripts_build: "vite build", npm_config_version_commit_hooks: "true", npm_config_npm_version: "10.7.0", XPC_FLAGS: "0x0", FNM_MULTISHELL_PATH: "/Users/dan/.local/state/fnm_multishells/13997_1785009147271", npm_package_peerDependencies_react_router_dom: "^6.22.3", npm_package_dependencies_react_router_dom: "^6.22.3", npm_package_devDependencies__tailwindcss_forms: "^0.5.7", npm_package_devDependencies__chromatic_com_storybook: "^1.5.0", npm_config_bin_links: "true", npm_package_devDependencies__storybook_react: "^8.1.5", npm_config_node_gyp: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_peerDependencies__tanstack_react_query: "^5.75.2", npm_package_devDependencies_vite_plugin_dts: "^3.7.1", npm_package_main: "dist/propro-common-components.js", npm_package_version: "0.3.38", XPC_SERVICE_NAME: "0", OPENCODE_PROCESS_ROLE: "worker", npm_package_devDependencies_autoprefixer: "^10.4.16", SHLVL: "3", HOME: "/Users/dan", npm_package_type: "module", TERMINFO: "/Applications/Ghostty.app/Contents/Resources/terminfo", npm_package_dependencies__radix_ui_react_menubar: "^1.0.4", npm_package_scripts_storybook: "storybook dev -p 6006", npm_package_dependencies_formik: "^2.4.5", npm_package_dependencies__mantine_hooks: "^7.9.0", npm_config_save_prefix: "^", npm_config_strict_ssl: "true", npm_package_devDependencies__types_react_lottie: "^1.2.10", npm_config_version_git_message: "v%s", FNM_DIR: "/Users/dan/.local/share/fnm", npm_package_dependencies_js_cookie: "^3.0.5", npm_package_dependencies__radix_ui_react_popover: "^1.0.7", npm_package_dependencies__radix_ui_react_avatar: "^1.0.4", npm_package_dependencies__radix_ui_react_slot: "^1.0.2", npm_package_dependencies__plasmicpkgs_plasmic_embed_css: "^0.1.194", npm_config_cache: "/Users/dan/.npm", LOGNAME: "dan", LESS: "-R", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__plasmicapp_host: "^1.0.227", npm_lifecycle_script: "vite build", XDG_DATA_DIRS: "/usr/local/share:/usr/share:/Applications/Ghostty.app/Contents/Resources/ghostty/..", npm_package_dependencies_yup: "^1.4.0", GHOSTTY_BIN_DIR: "/Applications/Ghostty.app/Contents/MacOS", npm_package_peerDependencies_react: "^18.2.0", npm_package_devDependencies__storybook_react_vite: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_deep_link: "^2.4.9", BUN_INSTALL: "/Users/dan/.bun", npm_config_user_agent: "yarn/1.22.22 npm/? node/v20.14.0 darwin x64", FNM_RESOLVE_ENGINES: "true", npm_package_dependencies__radix_ui_react_label: "^2.0.2", npm_config_version_git_sign: "", npm_config_ignore_scripts: "", npm_package_devDependencies__types_node: "^20.11.5", npm_package_dependencies_clsx: "^2.1.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "^2.0.6", OSLogRateLimit: "64", AGENT: "1", npm_package_files_0: "dist", npm_package_dependencies_antd: "^5.23.4", npm_config_init_version: "1.0.0", npm_config_ignore_optional: "", npm_package_dependencies__plasmicpkgs_plasmic_basic_components: "^0.0.232", npm_node_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", npm_config_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", OPENCODE: "1", COLORTERM: "truecolor", npm_package_dependencies__plasmicpkgs_antd5: "^0.0.265", npm_package_dependencies__ant_design_pro_components: "^2.6.4", npm_config_version_tag_prefix: "v", NODE_ENV: "production" };
|
|
1435
1446
|
/*!
|
|
1436
1447
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
1437
1448
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -4226,7 +4237,7 @@ function requireFactoryWithThrowingShims() {
|
|
|
4226
4237
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
4227
4238
|
var propTypesExports = propTypes.exports;
|
|
4228
4239
|
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
4229
|
-
var define_process_env_default$2 = { npm_package_devDependencies_react_dom: "^18.2.0", npm_package_devDependencies__tailwindcss_typography: "^0.5.10", npm_package_devDependencies__storybook_test: "^8.1.5", npm_package_devDependencies__storybook_addon_links: "^8.1.5", npm_package_dependencies__fortawesome_fontawesome_svg_core: "^6.5.1", MANPATH: "/usr/share/man:/usr/local/share/man:/Applications/Ghostty.app/Contents/Resources/ghostty/../man:", COREPACK_ROOT: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/corepack", GHOSTTY_RESOURCES_DIR: "/Applications/Ghostty.app/Contents/Resources/ghostty", npm_package_dependencies__radix_ui_react_tabs: "^1.0.4", TERM_PROGRAM: "ghostty", NODE: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", FNM_LOGLEVEL: "info", INIT_CWD: "/Users/dan/Documents/work/propro/propro-reusable-components", OPENCODE_PID: "14405", npm_package_peerDependencies_axios: "^1.6.7", npm_package_devDependencies_typescript: "^5.2.2", npm_package_dependencies_lucide_react: "^0.309.0", npm_package_dependencies_axios: "^1.6.7", npm_package_dependencies__tauri_apps_plugin_http: "^2.0.0", npm_config_version_git_tag: "true", NODE_NO_WARNINGS: "1", SHELL: "/bin/zsh", TERM: "xterm-ghostty", npm_package_devDependencies_vite: "^5.0.8", npm_package_devDependencies__storybook_addon_essentials: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_upload: "^2.2.1", npm_package_dependencies__radix_ui_react_dialog: "^1.0.5", FNM_NODE_DIST_MIRROR: "https://nodejs.org/dist", npm_package_dependencies__plasmicpkgs_plasmic_tabs: "^0.0.49", TMPDIR: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/", npm_config_global_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", npm_package_scripts_lint: "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", npm_config_init_license: "MIT", TERM_PROGRAM_VERSION: "1.3.1", npm_package_devDependencies__vitejs_plugin_react: "^4.2.1", npm_package_scripts_dev: "vite", npm_package_dependencies_react_lottie: "^1.2.4", npm_package_scripts_prepublishOnly: "yarn build", COLOR: "0", npm_package_dependencies__tauri_apps_api: "^2.0.2", npm_package_dependencies__plasmicapp_react_web: "^0.2.408", npm_config_noproxy: "", npm_package_devDependencies__storybook_blocks: "^8.1.5", npm_package_devDependencies__storybook_addon_interactions: "^8.1.5", npm_package_dependencies__plasmicpkgs_antd: "^2.0.130", npm_config_registry: "https://registry.npmjs.org/", npm_config_local_prefix: "/Users/dan/Documents/work/propro/propro-reusable-components", PNPM_HOME: "/Users/dan/Library/pnpm", ZSH: "/Users/dan/.oh-my-zsh", npm_package_peerDependencies_react_dom: "^18.2.0", npm_package_peerDependencies__tanstack_react_query_devtools: "^5.75.2", npm_package_devDependencies_eslint_plugin_react_refresh: "^0.4.5", npm_package_dependencies__ant_design_icons: "^5.2.6", FNM_COREPACK_ENABLED: "false", npm_package_readmeFilename: "README.md", USER: "dan", npm_package_description: "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.", npm_package_devDependencies_react: "^18.2.0", npm_package_dependencies__tauri_apps_plugin_shell: "^2.3.1", LS_COLORS: "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43", npm_package_devDependencies__types_react: "^18.2.43", COMMAND_MODE: "unix2003", npm_package_dependencies__radix_ui_react_tooltip: "^1.1.2", npm_package_scripts_build_storybook: "storybook build", npm_config_globalconfig: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/etc/npmrc", npm_package_dependencies__plasmicpkgs_react_awesome_reveal: "^3.8.211", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.grE9vB2lun/Listeners", npm_package_devDependencies_eslint_plugin_storybook: "^0.8.0", npm_package_dependencies_tailwindcss_animate: "^1.0.7", npm_package_dependencies__plasmicpkgs_lottie_react: "^0.0.200", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_package_devDependencies_postcss: "^8.4.33", npm_package_devDependencies_eslint: "^8.55.0", npm_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/npm-cli.js", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^6.14.0", npm_package_dependencies__tauri_apps_plugin_fs: "^2.2.0", PAGER: "less", npm_package_dependencies__fortawesome_react_fontawesome: "^0.2.0", npm_package_devDependencies_glob: "^10.3.10", npm_package_dependencies_react_error_boundary: "^4.0.12", LSCOLORS: "Gxfxcxdxbxegedabagacad", FNM_VERSION_FILE_STRATEGY: "local", npm_package_devDependencies__types_react_dom: "^18.2.17", FNM_ARCH: "x64", npm_package_devDependencies__typescript_eslint_parser: "^6.14.0", npm_package_dependencies_tailwind_merge: "^2.2.0", npm_package_dependencies__plasmicpkgs_plasmic_rich_components: "^1.0.199", PATH: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/yarn--1785842283798-0.7374400505094711:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/.config/yarn/link/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node_modules/npm/bin/node-gyp-bin:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/Documents/work/propro/node_modules/.bin:/Users/dan/Documents/work/node_modules/.bin:/Users/dan/Documents/node_modules/.bin:/Users/dan/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/dan/.antigravity-ide/antigravity-ide/bin:/usr/local/opt/libpq/bin:/Users/dan/bin:/Users/dan/.bun/bin:/Users/dan/.local/bin:/Users/dan/.local/state/fnm_multishells/13997_1785009147271/bin:/Users/dan/.antigravity/antigravity/bin:/usr/local/go/bin:/Users/dan/Library/pnpm:/usr/local/Cellar:/usr/local/opt:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/Users/dan/.cargo/bin:/Applications/Ghostty.app/Contents/MacOS", npm_config_argv: '{"remain":[],"cooked":["run","build"],"original":["build"]}', npm_package_dependencies_class_variance_authority: "^0.7.0", npm_package_dependencies__fortawesome_free_solid_svg_icons: "^6.5.1", npm_package_dependencies__radix_ui_react_switch: "^1.0.3", npm_package_json: "/Users/dan/Documents/work/propro/propro-reusable-components/package.json", _: "/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin/vite", GHOSTTY_SHELL_FEATURES: "cursor:blink,path,title", OPENCODE_RUN_ID: "082facc2-12d4-4bd0-9a00-79e08a201f35", npm_config_userconfig: "/Users/dan/.npmrc", npm_config_init_module: "/Users/dan/.npm-init.js", __CFBundleIdentifier: "com.mitchellh.ghostty", COREPACK_ENABLE_DOWNLOAD_PROMPT: "1", npm_package_peerDependencies_react_toastify: "^10.0.5", npm_package_dependencies_react_toastify: "^10.0.5", npm_package_dependencies_propro_icons: "^0.0.32", npm_package_dependencies__types_js_cookie: "^3.0.6", npm_package_dependencies__types_chrome: "^0.0.287", npm_package_dependencies__plasmicpkgs_react_aria: "^0.0.135", npm_command: "publish", PWD: "/Users/dan/Documents/work/propro/propro-reusable-components", npm_package_devDependencies_tailwindcss: "^3.4.1", npm_package_dependencies__plasmicapp_cli: "^0.1.327", npm_package_devDependencies_eslint_plugin_react_hooks: "^4.6.0", npm_package_devDependencies__storybook_addon_onboarding: "^8.1.5", npm_package_scripts_preview: "vite preview", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "propro-common-components", LANG: "en_US.UTF-8", npm_package_packageManager: "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", npm_package_devDependencies_vite_plugin_lib_inject_css: "^1.3.0", npm_package_devDependencies_storybook: "^8.1.5", npm_package_types: "dist/main.d.ts", npm_package_dependencies_sonner: "^1.7.0", npm_package_scripts_build: "vite build", npm_config_version_commit_hooks: "true", npm_config_npm_version: "10.7.0", XPC_FLAGS: "0x0", FNM_MULTISHELL_PATH: "/Users/dan/.local/state/fnm_multishells/13997_1785009147271", npm_package_peerDependencies_react_router_dom: "^6.22.3", npm_package_dependencies_react_router_dom: "^6.22.3", npm_package_devDependencies__tailwindcss_forms: "^0.5.7", npm_package_devDependencies__chromatic_com_storybook: "^1.5.0", npm_config_bin_links: "true", npm_package_devDependencies__storybook_react: "^8.1.5", npm_config_node_gyp: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_peerDependencies__tanstack_react_query: "^5.75.2", npm_package_devDependencies_vite_plugin_dts: "^3.7.1", npm_package_main: "dist/propro-common-components.js", npm_package_version: "0.3.37", XPC_SERVICE_NAME: "0", OPENCODE_PROCESS_ROLE: "worker", npm_package_devDependencies_autoprefixer: "^10.4.16", SHLVL: "4", HOME: "/Users/dan", npm_package_type: "module", TERMINFO: "/Applications/Ghostty.app/Contents/Resources/terminfo", npm_package_dependencies__radix_ui_react_menubar: "^1.0.4", npm_package_scripts_storybook: "storybook dev -p 6006", npm_package_dependencies_formik: "^2.4.5", npm_package_dependencies__mantine_hooks: "^7.9.0", npm_config_save_prefix: "^", npm_config_strict_ssl: "true", npm_package_devDependencies__types_react_lottie: "^1.2.10", npm_config_version_git_message: "v%s", FNM_DIR: "/Users/dan/.local/share/fnm", npm_package_dependencies_js_cookie: "^3.0.5", npm_package_dependencies__radix_ui_react_popover: "^1.0.7", npm_package_dependencies__radix_ui_react_avatar: "^1.0.4", npm_package_dependencies__radix_ui_react_slot: "^1.0.2", npm_package_dependencies__plasmicpkgs_plasmic_embed_css: "^0.1.194", npm_config_cache: "/Users/dan/.npm", LOGNAME: "dan", LESS: "-R", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__plasmicapp_host: "^1.0.227", npm_lifecycle_script: "vite build", XDG_DATA_DIRS: "/usr/local/share:/usr/share:/Applications/Ghostty.app/Contents/Resources/ghostty/..", npm_package_dependencies_yup: "^1.4.0", GHOSTTY_BIN_DIR: "/Applications/Ghostty.app/Contents/MacOS", npm_package_peerDependencies_react: "^18.2.0", npm_package_devDependencies__storybook_react_vite: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_deep_link: "^2.4.9", BUN_INSTALL: "/Users/dan/.bun", npm_config_user_agent: "yarn/1.22.22 npm/? node/v20.14.0 darwin x64", FNM_RESOLVE_ENGINES: "true", npm_package_dependencies__radix_ui_react_label: "^2.0.2", npm_config_version_git_sign: "", npm_config_ignore_scripts: "", npm_package_devDependencies__types_node: "^20.11.5", npm_package_dependencies_clsx: "^2.1.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "^2.0.6", OSLogRateLimit: "64", AGENT: "1", npm_package_files_0: "dist", npm_package_dependencies_antd: "^5.23.4", npm_config_init_version: "1.0.0", npm_config_ignore_optional: "", npm_package_dependencies__plasmicpkgs_plasmic_basic_components: "^0.0.232", npm_node_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", npm_config_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", OPENCODE: "1", COLORTERM: "truecolor", npm_package_dependencies__plasmicpkgs_antd5: "^0.0.265", npm_package_dependencies__ant_design_pro_components: "^2.6.4", npm_config_version_tag_prefix: "v", NODE_ENV: "production" };
|
|
4240
|
+
var define_process_env_default$2 = { npm_package_devDependencies_react_dom: "^18.2.0", npm_package_devDependencies__tailwindcss_typography: "^0.5.10", npm_package_devDependencies__storybook_test: "^8.1.5", npm_package_devDependencies__storybook_addon_links: "^8.1.5", npm_package_dependencies__fortawesome_fontawesome_svg_core: "^6.5.1", MANPATH: "/usr/share/man:/usr/local/share/man:/Applications/Ghostty.app/Contents/Resources/ghostty/../man:", COREPACK_ROOT: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/corepack", GHOSTTY_RESOURCES_DIR: "/Applications/Ghostty.app/Contents/Resources/ghostty", npm_package_dependencies__radix_ui_react_tabs: "^1.0.4", TERM_PROGRAM: "ghostty", NODE: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", FNM_LOGLEVEL: "info", INIT_CWD: "/Users/dan/Documents/work/propro/propro-reusable-components", OPENCODE_PID: "14405", npm_package_peerDependencies_axios: "^1.6.7", npm_package_devDependencies_typescript: "^5.2.2", npm_package_dependencies_lucide_react: "^0.309.0", npm_package_dependencies_axios: "^1.6.7", npm_package_dependencies__tauri_apps_plugin_http: "^2.0.0", npm_config_version_git_tag: "true", NODE_NO_WARNINGS: "1", SHELL: "/bin/zsh", TERM: "xterm-ghostty", npm_package_devDependencies_vite: "^5.0.8", npm_package_devDependencies__storybook_addon_essentials: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_upload: "^2.2.1", npm_package_dependencies__radix_ui_react_dialog: "^1.0.5", FNM_NODE_DIST_MIRROR: "https://nodejs.org/dist", npm_package_dependencies__plasmicpkgs_plasmic_tabs: "^0.0.49", TMPDIR: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/", npm_config_global_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", npm_package_scripts_lint: "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", npm_config_init_license: "MIT", TERM_PROGRAM_VERSION: "1.3.1", npm_package_devDependencies__vitejs_plugin_react: "^4.2.1", npm_package_scripts_dev: "vite", npm_package_dependencies_react_lottie: "^1.2.4", npm_package_scripts_prepublishOnly: "yarn build", COLOR: "0", npm_package_dependencies__tauri_apps_api: "^2.0.2", npm_package_dependencies__plasmicapp_react_web: "^0.2.408", npm_config_noproxy: "", npm_package_devDependencies__storybook_blocks: "^8.1.5", npm_package_devDependencies__storybook_addon_interactions: "^8.1.5", npm_package_dependencies__plasmicpkgs_antd: "^2.0.130", npm_config_registry: "https://registry.npmjs.org/", npm_config_local_prefix: "/Users/dan/Documents/work/propro/propro-reusable-components", PNPM_HOME: "/Users/dan/Library/pnpm", ZSH: "/Users/dan/.oh-my-zsh", npm_package_peerDependencies_react_dom: "^18.2.0", npm_package_peerDependencies__tanstack_react_query_devtools: "^5.75.2", npm_package_devDependencies_eslint_plugin_react_refresh: "^0.4.5", npm_package_dependencies__ant_design_icons: "^5.2.6", FNM_COREPACK_ENABLED: "false", npm_package_readmeFilename: "README.md", USER: "dan", npm_package_description: "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.", npm_package_devDependencies_react: "^18.2.0", npm_package_dependencies__tauri_apps_plugin_shell: "^2.3.1", LS_COLORS: "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43", npm_package_devDependencies__types_react: "^18.2.43", COMMAND_MODE: "unix2003", npm_package_dependencies__radix_ui_react_tooltip: "^1.1.2", npm_package_scripts_build_storybook: "storybook build", npm_config_globalconfig: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/etc/npmrc", npm_package_dependencies__plasmicpkgs_react_awesome_reveal: "^3.8.211", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.grE9vB2lun/Listeners", npm_package_devDependencies_eslint_plugin_storybook: "^0.8.0", npm_package_dependencies_tailwindcss_animate: "^1.0.7", npm_package_dependencies__plasmicpkgs_lottie_react: "^0.0.200", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_package_devDependencies_postcss: "^8.4.33", npm_package_devDependencies_eslint: "^8.55.0", npm_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/npm-cli.js", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^6.14.0", npm_package_dependencies__tauri_apps_plugin_fs: "^2.2.0", PAGER: "less", npm_package_dependencies__fortawesome_react_fontawesome: "^0.2.0", npm_package_devDependencies_glob: "^10.3.10", npm_package_dependencies_react_error_boundary: "^4.0.12", LSCOLORS: "Gxfxcxdxbxegedabagacad", FNM_VERSION_FILE_STRATEGY: "local", npm_package_devDependencies__types_react_dom: "^18.2.17", FNM_ARCH: "x64", npm_package_devDependencies__typescript_eslint_parser: "^6.14.0", npm_package_dependencies_tailwind_merge: "^2.2.0", npm_package_dependencies__plasmicpkgs_plasmic_rich_components: "^1.0.199", PATH: "/var/folders/yn/6n3p2d610s197g728jdbk2f00000gn/T/yarn--1785920004622-0.502666722220916:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/.config/yarn/link/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/bin/node-gyp-bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node_modules/npm/bin/node-gyp-bin:/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin:/Users/dan/Documents/work/propro/node_modules/.bin:/Users/dan/Documents/work/node_modules/.bin:/Users/dan/Documents/node_modules/.bin:/Users/dan/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/dan/.antigravity-ide/antigravity-ide/bin:/usr/local/opt/libpq/bin:/Users/dan/bin:/Users/dan/.bun/bin:/Users/dan/.local/bin:/Users/dan/.local/state/fnm_multishells/13997_1785009147271/bin:/Users/dan/.antigravity/antigravity/bin:/usr/local/go/bin:/Users/dan/Library/pnpm:/usr/local/Cellar:/usr/local/opt:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/Users/dan/.cargo/bin:/Applications/Ghostty.app/Contents/MacOS", npm_config_argv: '{"remain":[],"cooked":["run","build"],"original":["build"]}', npm_package_dependencies_class_variance_authority: "^0.7.0", npm_package_dependencies__fortawesome_free_solid_svg_icons: "^6.5.1", npm_package_dependencies__radix_ui_react_switch: "^1.0.3", npm_package_json: "/Users/dan/Documents/work/propro/propro-reusable-components/package.json", _: "/Users/dan/Documents/work/propro/propro-reusable-components/node_modules/.bin/vite", GHOSTTY_SHELL_FEATURES: "cursor:blink,path,title", OPENCODE_RUN_ID: "082facc2-12d4-4bd0-9a00-79e08a201f35", npm_config_userconfig: "/Users/dan/.npmrc", npm_config_init_module: "/Users/dan/.npm-init.js", __CFBundleIdentifier: "com.mitchellh.ghostty", COREPACK_ENABLE_DOWNLOAD_PROMPT: "1", npm_package_peerDependencies_react_toastify: "^10.0.5", npm_package_dependencies_react_toastify: "^10.0.5", npm_package_dependencies_propro_icons: "^0.0.32", npm_package_dependencies__types_js_cookie: "^3.0.6", npm_package_dependencies__types_chrome: "^0.0.287", npm_package_dependencies__plasmicpkgs_react_aria: "^0.0.135", npm_command: "publish", PWD: "/Users/dan/Documents/work/propro/propro-reusable-components", npm_package_devDependencies_tailwindcss: "^3.4.1", npm_package_dependencies__plasmicapp_cli: "^0.1.327", npm_package_devDependencies_eslint_plugin_react_hooks: "^4.6.0", npm_package_devDependencies__storybook_addon_onboarding: "^8.1.5", npm_package_scripts_preview: "vite preview", npm_lifecycle_event: "build", EDITOR: "vi", npm_package_name: "propro-common-components", LANG: "en_US.UTF-8", npm_package_packageManager: "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", npm_package_devDependencies_vite_plugin_lib_inject_css: "^1.3.0", npm_package_devDependencies_storybook: "^8.1.5", npm_package_types: "dist/main.d.ts", npm_package_dependencies_sonner: "^1.7.0", npm_package_scripts_build: "vite build", npm_config_version_commit_hooks: "true", npm_config_npm_version: "10.7.0", XPC_FLAGS: "0x0", FNM_MULTISHELL_PATH: "/Users/dan/.local/state/fnm_multishells/13997_1785009147271", npm_package_peerDependencies_react_router_dom: "^6.22.3", npm_package_dependencies_react_router_dom: "^6.22.3", npm_package_devDependencies__tailwindcss_forms: "^0.5.7", npm_package_devDependencies__chromatic_com_storybook: "^1.5.0", npm_config_bin_links: "true", npm_package_devDependencies__storybook_react: "^8.1.5", npm_config_node_gyp: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", npm_package_peerDependencies__tanstack_react_query: "^5.75.2", npm_package_devDependencies_vite_plugin_dts: "^3.7.1", npm_package_main: "dist/propro-common-components.js", npm_package_version: "0.3.38", XPC_SERVICE_NAME: "0", OPENCODE_PROCESS_ROLE: "worker", npm_package_devDependencies_autoprefixer: "^10.4.16", SHLVL: "3", HOME: "/Users/dan", npm_package_type: "module", TERMINFO: "/Applications/Ghostty.app/Contents/Resources/terminfo", npm_package_dependencies__radix_ui_react_menubar: "^1.0.4", npm_package_scripts_storybook: "storybook dev -p 6006", npm_package_dependencies_formik: "^2.4.5", npm_package_dependencies__mantine_hooks: "^7.9.0", npm_config_save_prefix: "^", npm_config_strict_ssl: "true", npm_package_devDependencies__types_react_lottie: "^1.2.10", npm_config_version_git_message: "v%s", FNM_DIR: "/Users/dan/.local/share/fnm", npm_package_dependencies_js_cookie: "^3.0.5", npm_package_dependencies__radix_ui_react_popover: "^1.0.7", npm_package_dependencies__radix_ui_react_avatar: "^1.0.4", npm_package_dependencies__radix_ui_react_slot: "^1.0.2", npm_package_dependencies__plasmicpkgs_plasmic_embed_css: "^0.1.194", npm_config_cache: "/Users/dan/.npm", LOGNAME: "dan", LESS: "-R", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__plasmicapp_host: "^1.0.227", npm_lifecycle_script: "vite build", XDG_DATA_DIRS: "/usr/local/share:/usr/share:/Applications/Ghostty.app/Contents/Resources/ghostty/..", npm_package_dependencies_yup: "^1.4.0", GHOSTTY_BIN_DIR: "/Applications/Ghostty.app/Contents/MacOS", npm_package_peerDependencies_react: "^18.2.0", npm_package_devDependencies__storybook_react_vite: "^8.1.5", npm_package_dependencies__tauri_apps_plugin_deep_link: "^2.4.9", BUN_INSTALL: "/Users/dan/.bun", npm_config_user_agent: "yarn/1.22.22 npm/? node/v20.14.0 darwin x64", FNM_RESOLVE_ENGINES: "true", npm_package_dependencies__radix_ui_react_label: "^2.0.2", npm_config_version_git_sign: "", npm_config_ignore_scripts: "", npm_package_devDependencies__types_node: "^20.11.5", npm_package_dependencies_clsx: "^2.1.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "^2.0.6", OSLogRateLimit: "64", AGENT: "1", npm_package_files_0: "dist", npm_package_dependencies_antd: "^5.23.4", npm_config_init_version: "1.0.0", npm_config_ignore_optional: "", npm_package_dependencies__plasmicpkgs_plasmic_basic_components: "^0.0.232", npm_node_execpath: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation/bin/node", npm_config_prefix: "/Users/dan/.local/share/fnm/node-versions/v20.14.0/installation", OPENCODE: "1", COLORTERM: "truecolor", npm_package_dependencies__plasmicpkgs_antd5: "^0.0.265", npm_package_dependencies__ant_design_pro_components: "^2.6.4", npm_config_version_tag_prefix: "v", NODE_ENV: "production" };
|
|
4230
4241
|
function _arrayLikeToArray$3(d, C) {
|
|
4231
4242
|
(C == null || C > d.length) && (C = d.length);
|
|
4232
4243
|
for (var B = 0, m = Array(C); B < C; B++) m[B] = d[B];
|
|
@@ -14640,15 +14651,11 @@ var _coreExports = _core.exports, _aFunction = function(d) {
|
|
|
14640
14651
|
} catch {
|
|
14641
14652
|
return !0;
|
|
14642
14653
|
}
|
|
14643
|
-
}, _descriptors
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
|
-
} }).a != 7;
|
|
14649
|
-
})), _descriptors;
|
|
14650
|
-
}
|
|
14651
|
-
var _domCreate, hasRequired_domCreate;
|
|
14654
|
+
}, _descriptors = !_fails(function() {
|
|
14655
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
14656
|
+
return 7;
|
|
14657
|
+
} }).a != 7;
|
|
14658
|
+
}), _domCreate, hasRequired_domCreate;
|
|
14652
14659
|
function require_domCreate() {
|
|
14653
14660
|
if (hasRequired_domCreate) return _domCreate;
|
|
14654
14661
|
hasRequired_domCreate = 1;
|
|
@@ -14657,7 +14664,7 @@ function require_domCreate() {
|
|
|
14657
14664
|
return B ? C.createElement(m) : {};
|
|
14658
14665
|
}, _domCreate;
|
|
14659
14666
|
}
|
|
14660
|
-
var _ie8DomDefine = !
|
|
14667
|
+
var _ie8DomDefine = !_descriptors && !_fails(function() {
|
|
14661
14668
|
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
14662
14669
|
return 7;
|
|
14663
14670
|
} }).a != 7;
|
|
@@ -14667,7 +14674,7 @@ var _ie8DomDefine = !require_descriptors() && !_fails(function() {
|
|
|
14667
14674
|
if (C && typeof (B = d.toString) == "function" && !isObject$4(m = B.call(d)) || typeof (B = d.valueOf) == "function" && !isObject$4(m = B.call(d)) || !C && typeof (B = d.toString) == "function" && !isObject$4(m = B.call(d))) return m;
|
|
14668
14675
|
throw TypeError("Can't convert object to primitive value");
|
|
14669
14676
|
}, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$6 = _toPrimitive, dP$3 = Object.defineProperty;
|
|
14670
|
-
_objectDp.f =
|
|
14677
|
+
_objectDp.f = _descriptors ? Object.defineProperty : function(C, B, m) {
|
|
14671
14678
|
if (anObject$3(C), B = toPrimitive$6(B, !0), anObject$3(m), IE8_DOM_DEFINE$1) try {
|
|
14672
14679
|
return dP$3(C, B, m);
|
|
14673
14680
|
} catch {
|
|
@@ -14682,7 +14689,7 @@ var _propertyDesc = function(d, C) {
|
|
|
14682
14689
|
writable: !(d & 4),
|
|
14683
14690
|
value: C
|
|
14684
14691
|
};
|
|
14685
|
-
}, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide =
|
|
14692
|
+
}, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(d, C, B) {
|
|
14686
14693
|
return dP$2.f(d, C, createDesc$2(1, B));
|
|
14687
14694
|
} : function(d, C, B) {
|
|
14688
14695
|
return d[C] = B, d;
|
|
@@ -14772,7 +14779,7 @@ var defined$1 = _defined, _toObject = function(d) {
|
|
|
14772
14779
|
function require_objectAssign() {
|
|
14773
14780
|
if (hasRequired_objectAssign) return _objectAssign;
|
|
14774
14781
|
hasRequired_objectAssign = 1;
|
|
14775
|
-
var d =
|
|
14782
|
+
var d = _descriptors, C = _objectKeys, B = _objectGops, m = _objectPie, D = _toObject, E = _iobject, I = Object.assign;
|
|
14776
14783
|
return _objectAssign = !I || _fails(function() {
|
|
14777
14784
|
var Q = {}, F = {}, H = Symbol(), b = "abcdefghijklmnopqrst";
|
|
14778
14785
|
return Q[H] = 7, b.split("").forEach(function(T) {
|
|
@@ -14821,7 +14828,7 @@ classCallCheck.default = function(d, C) {
|
|
|
14821
14828
|
throw new TypeError("Cannot call a class as a function");
|
|
14822
14829
|
};
|
|
14823
14830
|
var createClass = {}, $export$4 = _export;
|
|
14824
|
-
$export$4($export$4.S + $export$4.F * !
|
|
14831
|
+
$export$4($export$4.S + $export$4.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
|
|
14825
14832
|
var $Object$1 = _coreExports.Object, defineProperty$2 = function(C, B, m) {
|
|
14826
14833
|
return $Object$1.defineProperty(C, B, m);
|
|
14827
14834
|
}, defineProperty$1 = { default: defineProperty$2, __esModule: !0 };
|
|
@@ -14846,7 +14853,7 @@ var possibleConstructorReturn = {}, _typeof$5 = {}, toInteger = _toInteger, defi
|
|
|
14846
14853
|
var m = String(defined(C)), D = toInteger(B), E = m.length, I, Q;
|
|
14847
14854
|
return D < 0 || D >= E ? d ? "" : void 0 : (I = m.charCodeAt(D), I < 55296 || I > 56319 || D + 1 === E || (Q = m.charCodeAt(D + 1)) < 56320 || Q > 57343 ? d ? m.charAt(D) : I : d ? m.slice(D, D + 2) : (I - 55296 << 10) + (Q - 56320) + 65536);
|
|
14848
14855
|
};
|
|
14849
|
-
}, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps =
|
|
14856
|
+
}, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps = _descriptors ? Object.defineProperties : function(C, B) {
|
|
14850
14857
|
anObject$2(C);
|
|
14851
14858
|
for (var m = getKeys$1(B), D = m.length, E = 0, I; D > E; ) dP$1.f(C, I = m[E++], B[I]);
|
|
14852
14859
|
return C;
|
|
@@ -14991,14 +14998,14 @@ _objectGopnExt.f = function(C) {
|
|
|
14991
14998
|
return windowNames && toString.call(C) == "[object Window]" ? getWindowNames(C) : gOPN$1(toIObject$2(C));
|
|
14992
14999
|
};
|
|
14993
15000
|
var _objectGopd = {}, pIE = _objectPie, createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$5 = _toPrimitive, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
|
|
14994
|
-
_objectGopd.f =
|
|
15001
|
+
_objectGopd.f = _descriptors ? gOPD$1 : function(C, B) {
|
|
14995
15002
|
if (C = toIObject$1(C), B = toPrimitive$5(B, !0), IE8_DOM_DEFINE) try {
|
|
14996
15003
|
return gOPD$1(C, B);
|
|
14997
15004
|
} catch {
|
|
14998
15005
|
}
|
|
14999
15006
|
if (has$1(C, B)) return createDesc$1(!pIE.f.call(C, B), C[B]);
|
|
15000
15007
|
};
|
|
15001
|
-
var global$2 = _globalExports, has = _has, DESCRIPTORS =
|
|
15008
|
+
var global$2 = _globalExports, has = _has, DESCRIPTORS = _descriptors, $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray = _isArray, anObject = _anObject, isObject$2 = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive$4 = _toPrimitive, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = _objectDp, $keys = _objectKeys, gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$2.Symbol, $JSON = global$2.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$2.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
|
|
15002
15009
|
return _create$1(dP({}, "a", {
|
|
15003
15010
|
get: function() {
|
|
15004
15011
|
return dP(this, "a", { value: 7 }).a;
|
|
@@ -57631,7 +57638,7 @@ async function listen(d, C, B) {
|
|
|
57631
57638
|
let deepLinkModule = null;
|
|
57632
57639
|
if (RUNNING_IN_TAURI)
|
|
57633
57640
|
try {
|
|
57634
|
-
import("./index-
|
|
57641
|
+
import("./index-BP5PCHgz.js").then((d) => {
|
|
57635
57642
|
deepLinkModule = d, console.log("✅ Deep link plugin loaded successfully");
|
|
57636
57643
|
}).catch((d) => {
|
|
57637
57644
|
console.warn("🔐 Deep link plugin not available:", d);
|
|
@@ -57776,7 +57783,7 @@ function AuthCallbackHandler({
|
|
|
57776
57783
|
try {
|
|
57777
57784
|
if (!deepLinkModule && RUNNING_IN_TAURI)
|
|
57778
57785
|
try {
|
|
57779
|
-
deepLinkModule = await import("./index-
|
|
57786
|
+
deepLinkModule = await import("./index-BP5PCHgz.js"), console.log("✅ Deep link plugin loaded in setupAuthCallback");
|
|
57780
57787
|
} catch (U) {
|
|
57781
57788
|
console.warn("🔐 Failed to load deep link plugin:", U);
|
|
57782
57789
|
}
|
|
@@ -58245,21 +58252,22 @@ function createAuthRouteLoader(d = {}) {
|
|
|
58245
58252
|
}
|
|
58246
58253
|
export {
|
|
58247
58254
|
AUTH_CLIENTS as A,
|
|
58248
|
-
|
|
58249
|
-
|
|
58250
|
-
|
|
58251
|
-
|
|
58255
|
+
isUserLoggedIn$1 as B,
|
|
58256
|
+
listen as C,
|
|
58257
|
+
logout$1 as D,
|
|
58258
|
+
removeStorage as E,
|
|
58252
58259
|
Footer as F,
|
|
58253
|
-
|
|
58254
|
-
|
|
58255
|
-
|
|
58256
|
-
|
|
58257
|
-
|
|
58260
|
+
resetAuthConfig as G,
|
|
58261
|
+
setCookie$1 as H,
|
|
58262
|
+
setPRCConfig as I,
|
|
58263
|
+
setStorage as J,
|
|
58264
|
+
useGet as K,
|
|
58258
58265
|
ListGridSwitch as L,
|
|
58259
|
-
|
|
58260
|
-
|
|
58261
|
-
|
|
58266
|
+
useIsUserLoggedIn as M,
|
|
58267
|
+
useMutate as N,
|
|
58268
|
+
useMutateWithKeepAlive as O,
|
|
58262
58269
|
PlasmicSignInSignUpForm as P,
|
|
58270
|
+
validateOAuthState as Q,
|
|
58263
58271
|
RUNNING_IN_TAURI as R,
|
|
58264
58272
|
SignInSignUpForm as S,
|
|
58265
58273
|
TextInputFromProPro$1 as T,
|
|
@@ -58278,15 +58286,15 @@ export {
|
|
|
58278
58286
|
SignInSignUpFormLayout as m,
|
|
58279
58287
|
axiosInstance as n,
|
|
58280
58288
|
checkAccessToken$1 as o,
|
|
58281
|
-
|
|
58282
|
-
|
|
58283
|
-
|
|
58284
|
-
|
|
58285
|
-
|
|
58286
|
-
|
|
58287
|
-
|
|
58288
|
-
|
|
58289
|
-
|
|
58290
|
-
|
|
58291
|
-
|
|
58289
|
+
clearWebAuthCookies as p,
|
|
58290
|
+
configureAuth as q,
|
|
58291
|
+
createAuthRouteLoader as r,
|
|
58292
|
+
extensionAuth as s,
|
|
58293
|
+
generateOAuthState as t,
|
|
58294
|
+
getAuthConfig as u,
|
|
58295
|
+
getCookie$1 as v,
|
|
58296
|
+
getPRCConfig as w,
|
|
58297
|
+
getStorage as x,
|
|
58298
|
+
handleAuth$1 as y,
|
|
58299
|
+
invoke as z
|
|
58292
58300
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { default as SignInSignUpFormLayout } from './plasmicComponents/SignInSig
|
|
|
20
20
|
import { default as TextInputFromProPro } from './plasmicComponents/TextInputFromProPro';
|
|
21
21
|
import { default as extensionAuth } from './utils/extensionAuth';
|
|
22
22
|
import { handleAuth } from './utils/handleAuth';
|
|
23
|
+
import { clearWebAuthCookies } from './utils/clearWebAuthCookies';
|
|
23
24
|
import { RUNNING_IN_TAURI } from './constants/tauriConstants';
|
|
24
25
|
import { AUTH_CLIENTS, AUTH_REDIRECT_URIS, generateOAuthState, validateOAuthState } from './constants/authConstants';
|
|
25
26
|
import { AuthContext, AuthProvider } from './context/AuthContext';
|
|
@@ -31,6 +32,6 @@ import { configureAuth, getAuthConfig, resetAuthConfig } from './utils/configure
|
|
|
31
32
|
import { setPRCConfig, getPRCConfig } from './utils/config/index.config';
|
|
32
33
|
import { IconLoader, IconType, PlasmicEmojiAndIconSelection, StyleType, getAvailableStyles, loadIcon, searchIcon } from 'propro-icons';
|
|
33
34
|
|
|
34
|
-
export { AccountManagementComponent, AppContext, AppProvider, AuthProvider, AuthContext, AvatarMenu, Footer, IconLoader, ListGridSwitch, Loading, PlasmicEmojiAndIconSelection, PlasmicSignInSignUpForm, PrivateRoute, RUNNING_IN_TAURI, SignInSignUpForm, SignInSignUpFormLayout, TextInputFromProPro, axiosInstance, checkAccessToken, extensionAuth, // function suite for authentication with extensions.
|
|
35
|
+
export { AccountManagementComponent, AppContext, AppProvider, AuthProvider, AuthContext, AvatarMenu, Footer, IconLoader, ListGridSwitch, Loading, PlasmicEmojiAndIconSelection, PlasmicSignInSignUpForm, PrivateRoute, RUNNING_IN_TAURI, SignInSignUpForm, SignInSignUpFormLayout, TextInputFromProPro, axiosInstance, checkAccessToken, clearWebAuthCookies, extensionAuth, // function suite for authentication with extensions.
|
|
35
36
|
getAvailableStyles, getCookie, getPRCConfig, getStorage, handleAuth, isUserLoggedIn, useIsUserLoggedIn, AUTH_CLIENTS, AUTH_REDIRECT_URIS, generateOAuthState, validateOAuthState, AuthCallbackHandler, AuthCallback, AuthLandingPage, createAuthRouteLoader, configureAuth, getAuthConfig, resetAuthConfig, loadIcon, logout, removeStorage, searchIcon, setCookie, setPRCConfig, setStorage, useGet, useMutate, useMutateWithKeepAlive, };
|
|
36
37
|
export type { DefaultSignInSignUpFormProps, IconType, StyleType };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as s, a as t, b as o, c as n, d as i, e as r, f as g, g as u, h as A, i as c, j as h, F as I, L as l, k as S, P as C, l as d, R as m, S as p, m as P, T as L, n as R, o as U, p as v, q as f, r as
|
|
2
|
-
import { IconLoader as
|
|
1
|
+
import { A as s, a as t, b as o, c as n, d as i, e as r, f as g, g as u, h as A, i as c, j as h, F as I, L as l, k as S, P as C, l as d, R as m, S as p, m as P, T as L, n as R, o as U, p as v, q as f, r as k, s as x, t as T, u as F, v as N, w as b, x as E, y as M, B as _, D as G, E as H, G as y, H as O, I as j, J as w, K as D, M as K, N as W, O as q, Q as B } from "./main-JUKjbgzl.js";
|
|
2
|
+
import { IconLoader as Q, PlasmicEmojiAndIconSelection as z, getAvailableStyles as V, loadIcon as X, searchIcon as Y } from "propro-icons";
|
|
3
3
|
export {
|
|
4
4
|
s as AUTH_CLIENTS,
|
|
5
5
|
t as AUTH_REDIRECT_URIS,
|
|
@@ -13,10 +13,10 @@ export {
|
|
|
13
13
|
c as AuthProvider,
|
|
14
14
|
h as AvatarMenu,
|
|
15
15
|
I as Footer,
|
|
16
|
-
|
|
16
|
+
Q as IconLoader,
|
|
17
17
|
l as ListGridSwitch,
|
|
18
18
|
S as Loading,
|
|
19
|
-
|
|
19
|
+
z as PlasmicEmojiAndIconSelection,
|
|
20
20
|
C as PlasmicSignInSignUpForm,
|
|
21
21
|
d as PrivateRoute,
|
|
22
22
|
m as RUNNING_IN_TAURI,
|
|
@@ -25,28 +25,29 @@ export {
|
|
|
25
25
|
L as TextInputFromProPro,
|
|
26
26
|
R as axiosInstance,
|
|
27
27
|
U as checkAccessToken,
|
|
28
|
-
v as
|
|
29
|
-
f as
|
|
28
|
+
v as clearWebAuthCookies,
|
|
29
|
+
f as configureAuth,
|
|
30
|
+
k as createAuthRouteLoader,
|
|
30
31
|
x as extensionAuth,
|
|
31
32
|
T as generateOAuthState,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
F as getAuthConfig,
|
|
34
|
+
V as getAvailableStyles,
|
|
35
|
+
N as getCookie,
|
|
36
|
+
b as getPRCConfig,
|
|
36
37
|
E as getStorage,
|
|
37
38
|
M as handleAuth,
|
|
38
39
|
_ as isUserLoggedIn,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
X as loadIcon,
|
|
41
|
+
G as logout,
|
|
42
|
+
H as removeStorage,
|
|
43
|
+
y as resetAuthConfig,
|
|
44
|
+
Y as searchIcon,
|
|
44
45
|
O as setCookie,
|
|
45
46
|
j as setPRCConfig,
|
|
46
47
|
w as setStorage,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
D as useGet,
|
|
49
|
+
K as useIsUserLoggedIn,
|
|
50
|
+
W as useMutate,
|
|
50
51
|
q as useMutateWithKeepAlive,
|
|
51
|
-
|
|
52
|
+
B as validateOAuthState
|
|
52
53
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Best-effort server-side clearing of auth cookies before redirecting to the
|
|
3
|
+
* login page.
|
|
4
|
+
*
|
|
5
|
+
* Client-side removal (js-cookie / Cookie.remove) is host-only and cannot
|
|
6
|
+
* delete httpOnly cookies or domain cookies set on `.mapmap.app` / `.propro.so`,
|
|
7
|
+
* so stale sessions survive a redirect unless the server clears them.
|
|
8
|
+
*
|
|
9
|
+
* This is a fire-and-forget helper: failures are swallowed because the caller
|
|
10
|
+
* is about to navigate away to sign in anyway.
|
|
11
|
+
*/
|
|
12
|
+
export declare function clearWebAuthCookies(): Promise<void>;
|