@movvjs/svelte-schedule-view 0.1.7 → 0.1.8

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.
@@ -245,6 +245,7 @@ function createBookingStore(bookingDTO) {
245
245
  }
246
246
  else {
247
247
  currentExtraServices = currentExtraServices.filter(extra => extra.type !== ExtraServiceType.picket);
248
+ $booking.files = $booking.files.filter(file => file.type !== FileType.picket); // 피켓 관련 파일 제거
248
249
  }
249
250
  $booking.extra = currentExtraServices;
250
251
  return $booking;
@@ -82,7 +82,6 @@ declare module '$env/static/private' {
82
82
  export const npm_config_argv: string;
83
83
  export const npm_package_devDependencies__types_qs: string;
84
84
  export const _: string;
85
- export const LaunchInstanceID: string;
86
85
  export const npm_package_dependencies_svelte_i18n: string;
87
86
  export const npm_package_dependencies_svelte_french_toast: string;
88
87
  export const npm_config_engine_strict: string;
@@ -157,7 +156,6 @@ declare module '$env/static/private' {
157
156
  export const npm_package_files_0: string;
158
157
  export const npm_config_init_version: string;
159
158
  export const npm_config_ignore_optional: string;
160
- export const SECURITYSESSIONID: string;
161
159
  export const npm_package_dependencies_svelte_portal: string;
162
160
  export const npm_package_scripts_check: string;
163
161
  export const COLORTERM: string;
@@ -251,7 +249,6 @@ declare module '$env/dynamic/private' {
251
249
  npm_config_argv: string;
252
250
  npm_package_devDependencies__types_qs: string;
253
251
  _: string;
254
- LaunchInstanceID: string;
255
252
  npm_package_dependencies_svelte_i18n: string;
256
253
  npm_package_dependencies_svelte_french_toast: string;
257
254
  npm_config_engine_strict: string;
@@ -326,7 +323,6 @@ declare module '$env/dynamic/private' {
326
323
  npm_package_files_0: string;
327
324
  npm_config_init_version: string;
328
325
  npm_config_ignore_optional: string;
329
- SECURITYSESSIONID: string;
330
326
  npm_package_dependencies_svelte_portal: string;
331
327
  npm_package_scripts_check: string;
332
328
  COLORTERM: string;
@@ -21,7 +21,7 @@ export const options = {
21
21
  app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t\t<meta name=\"referrer\" content=\"no-referrer\" />\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div>" + body + "</div>\n\t</body>\n</html>\n",
22
22
  error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
23
23
  },
24
- version_hash: "94ong5"
24
+ version_hash: "1h3c6jb"
25
25
  };
26
26
 
27
27
  export async function get_hooks() {
@@ -245,6 +245,7 @@ function createBookingStore(bookingDTO) {
245
245
  }
246
246
  else {
247
247
  currentExtraServices = currentExtraServices.filter(extra => extra.type !== ExtraServiceType.picket);
248
+ $booking.files = $booking.files.filter(file => file.type !== FileType.picket); // 피켓 관련 파일 제거
248
249
  }
249
250
  $booking.extra = currentExtraServices;
250
251
  return $booking;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movvjs/svelte-schedule-view",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "author": {
@@ -269,6 +269,7 @@ function createBookingStore(bookingDTO: Awaited<ReturnType<typeof BookingAPI.get
269
269
  currentExtraServices = currentExtraServices.filter(extra => extra.type !== ExtraServiceType.picket).concat(picketService)
270
270
  } else {
271
271
  currentExtraServices = currentExtraServices.filter(extra => extra.type !== ExtraServiceType.picket)
272
+ $booking.files = $booking.files.filter(file => file.type !== FileType.picket) // 피켓 관련 파일 제거
272
273
  }
273
274
  $booking.extra = currentExtraServices
274
275
  return $booking