@plaidev/karte-action-sdk 1.1.169 → 1.1.170-28030390.3e87b153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hydrate/index.es.js +66 -40
- package/dist/icons.d.ts +6 -0
- package/dist/icons.js +44 -36
- package/dist/index.es.js +66 -40
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import 'svelte/easing';
|
2
2
|
import { writable, get } from 'svelte/store';
|
3
3
|
import { onMount as onMount$1, onDestroy as onDestroy$1, beforeUpdate as beforeUpdate$1, afterUpdate as afterUpdate$1, tick as tick$1, setContext, getContext, createEventDispatcher } from 'svelte';
|
4
|
-
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, claim_svg_element, append_hydration, destroy_each, text, claim_text, set_data, src_url_equal, HtmlTagHydration, claim_html_tag, construct_svelte_component } from 'svelte/internal';
|
4
|
+
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, claim_svg_element, append_hydration, destroy_each, text, claim_text, set_data, src_url_equal, HtmlTagHydration, claim_html_tag, construct_svelte_component, subscribe } from 'svelte/internal';
|
5
5
|
|
6
6
|
/** @internal */
|
7
7
|
const PropTypes = [
|
@@ -2677,14 +2677,14 @@ function add_css$r(target) {
|
|
2677
2677
|
append_styles(target, "svelte-1tg0tf", ".button.svelte-1tg0tf{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0}.button.svelte-1tg0tf:link,.button.svelte-1tg0tf:visited,.button.svelte-1tg0tf:active,.button.svelte-1tg0tf:hover{color:inherit}");
|
2678
2678
|
}
|
2679
2679
|
|
2680
|
-
// (
|
2680
|
+
// (48:0) {:else}
|
2681
2681
|
function create_else_block$2(ctx) {
|
2682
2682
|
let button;
|
2683
2683
|
let current;
|
2684
2684
|
let mounted;
|
2685
2685
|
let dispose;
|
2686
|
-
const default_slot_template = /*#slots*/ ctx[
|
2687
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
2686
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2687
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2688
2688
|
|
2689
2689
|
return {
|
2690
2690
|
c() {
|
@@ -2719,15 +2719,15 @@ function create_else_block$2(ctx) {
|
|
2719
2719
|
},
|
2720
2720
|
p(ctx, dirty) {
|
2721
2721
|
if (default_slot) {
|
2722
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2722
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2723
2723
|
update_slot_base(
|
2724
2724
|
default_slot,
|
2725
2725
|
default_slot_template,
|
2726
2726
|
ctx,
|
2727
|
-
/*$$scope*/ ctx[
|
2727
|
+
/*$$scope*/ ctx[9],
|
2728
2728
|
!current
|
2729
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2730
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2729
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2730
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2731
2731
|
null
|
2732
2732
|
);
|
2733
2733
|
}
|
@@ -2755,12 +2755,12 @@ function create_else_block$2(ctx) {
|
|
2755
2755
|
};
|
2756
2756
|
}
|
2757
2757
|
|
2758
|
-
// (
|
2758
|
+
// (44:39)
|
2759
2759
|
function create_if_block_2(ctx) {
|
2760
2760
|
let div;
|
2761
2761
|
let current;
|
2762
|
-
const default_slot_template = /*#slots*/ ctx[
|
2763
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
2762
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2763
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2764
2764
|
|
2765
2765
|
return {
|
2766
2766
|
c() {
|
@@ -2790,15 +2790,15 @@ function create_if_block_2(ctx) {
|
|
2790
2790
|
},
|
2791
2791
|
p(ctx, dirty) {
|
2792
2792
|
if (default_slot) {
|
2793
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2793
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2794
2794
|
update_slot_base(
|
2795
2795
|
default_slot,
|
2796
2796
|
default_slot_template,
|
2797
2797
|
ctx,
|
2798
|
-
/*$$scope*/ ctx[
|
2798
|
+
/*$$scope*/ ctx[9],
|
2799
2799
|
!current
|
2800
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2801
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2800
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2801
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2802
2802
|
null
|
2803
2803
|
);
|
2804
2804
|
}
|
@@ -2824,14 +2824,16 @@ function create_if_block_2(ctx) {
|
|
2824
2824
|
};
|
2825
2825
|
}
|
2826
2826
|
|
2827
|
-
// (
|
2827
|
+
// (40:41)
|
2828
2828
|
function create_if_block_1$2(ctx) {
|
2829
2829
|
let a;
|
2830
2830
|
let a_href_value;
|
2831
2831
|
let a_target_value;
|
2832
2832
|
let current;
|
2833
|
-
|
2834
|
-
|
2833
|
+
let mounted;
|
2834
|
+
let dispose;
|
2835
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2836
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2835
2837
|
|
2836
2838
|
return {
|
2837
2839
|
c() {
|
@@ -2866,18 +2868,23 @@ function create_if_block_1$2(ctx) {
|
|
2866
2868
|
}
|
2867
2869
|
|
2868
2870
|
current = true;
|
2871
|
+
|
2872
|
+
if (!mounted) {
|
2873
|
+
dispose = listen(a, "click", /*handleClickAnchor*/ ctx[4]);
|
2874
|
+
mounted = true;
|
2875
|
+
}
|
2869
2876
|
},
|
2870
2877
|
p(ctx, dirty) {
|
2871
2878
|
if (default_slot) {
|
2872
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2879
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2873
2880
|
update_slot_base(
|
2874
2881
|
default_slot,
|
2875
2882
|
default_slot_template,
|
2876
2883
|
ctx,
|
2877
|
-
/*$$scope*/ ctx[
|
2884
|
+
/*$$scope*/ ctx[9],
|
2878
2885
|
!current
|
2879
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2880
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2886
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2887
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2881
2888
|
null
|
2882
2889
|
);
|
2883
2890
|
}
|
@@ -2907,16 +2914,18 @@ function create_if_block_1$2(ctx) {
|
|
2907
2914
|
d(detaching) {
|
2908
2915
|
if (detaching) detach(a);
|
2909
2916
|
if (default_slot) default_slot.d(detaching);
|
2917
|
+
mounted = false;
|
2918
|
+
dispose();
|
2910
2919
|
}
|
2911
2920
|
};
|
2912
2921
|
}
|
2913
2922
|
|
2914
|
-
// (
|
2923
|
+
// (36:0) {#if disabled}
|
2915
2924
|
function create_if_block$6(ctx) {
|
2916
2925
|
let div;
|
2917
2926
|
let current;
|
2918
|
-
const default_slot_template = /*#slots*/ ctx[
|
2919
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
2927
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2928
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2920
2929
|
|
2921
2930
|
return {
|
2922
2931
|
c() {
|
@@ -2946,15 +2955,15 @@ function create_if_block$6(ctx) {
|
|
2946
2955
|
},
|
2947
2956
|
p(ctx, dirty) {
|
2948
2957
|
if (default_slot) {
|
2949
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2958
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2950
2959
|
update_slot_base(
|
2951
2960
|
default_slot,
|
2952
2961
|
default_slot_template,
|
2953
2962
|
ctx,
|
2954
|
-
/*$$scope*/ ctx[
|
2963
|
+
/*$$scope*/ ctx[9],
|
2955
2964
|
!current
|
2956
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2957
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2965
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2966
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2958
2967
|
null
|
2959
2968
|
);
|
2960
2969
|
}
|
@@ -3074,20 +3083,30 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
3074
3083
|
execOnClickOperation(onClick);
|
3075
3084
|
}
|
3076
3085
|
|
3086
|
+
function handleClickAnchor(e) {
|
3087
|
+
e.preventDefault();
|
3088
|
+
|
3089
|
+
if (eventName) {
|
3090
|
+
send_event(eventName, eventValue);
|
3091
|
+
}
|
3092
|
+
|
3093
|
+
execOnClickOperation(onClick);
|
3094
|
+
}
|
3095
|
+
|
3077
3096
|
const { path: statePath } = getStateItemContext() ?? { path: '/' };
|
3078
3097
|
const valuesAreValid = getValuesAreValidReader(statePath);
|
3079
|
-
component_subscribe($$self, valuesAreValid, value => $$invalidate(
|
3098
|
+
component_subscribe($$self, valuesAreValid, value => $$invalidate(8, $valuesAreValid = value));
|
3080
3099
|
|
3081
3100
|
$$self.$$set = $$props => {
|
3082
3101
|
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
3083
|
-
if ('eventName' in $$props) $$invalidate(
|
3084
|
-
if ('eventValue' in $$props) $$invalidate(
|
3102
|
+
if ('eventName' in $$props) $$invalidate(6, eventName = $$props.eventName);
|
3103
|
+
if ('eventValue' in $$props) $$invalidate(7, eventValue = $$props.eventValue);
|
3085
3104
|
if ('style' in $$props) $$invalidate(1, style = $$props.style);
|
3086
|
-
if ('$$scope' in $$props) $$invalidate(
|
3105
|
+
if ('$$scope' in $$props) $$invalidate(9, $$scope = $$props.$$scope);
|
3087
3106
|
};
|
3088
3107
|
|
3089
3108
|
$$self.$$.update = () => {
|
3090
|
-
if ($$self.$$.dirty & /*onClick, $valuesAreValid*/
|
3109
|
+
if ($$self.$$.dirty & /*onClick, $valuesAreValid*/ 257) {
|
3091
3110
|
$$invalidate(2, disabled = (() => {
|
3092
3111
|
let isEnabled = true;
|
3093
3112
|
|
@@ -3107,6 +3126,7 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
3107
3126
|
style,
|
3108
3127
|
disabled,
|
3109
3128
|
handleClickButton,
|
3129
|
+
handleClickAnchor,
|
3110
3130
|
valuesAreValid,
|
3111
3131
|
eventName,
|
3112
3132
|
eventValue,
|
@@ -3128,8 +3148,8 @@ class Button extends SvelteComponent {
|
|
3128
3148
|
safe_not_equal,
|
3129
3149
|
{
|
3130
3150
|
onClick: 0,
|
3131
|
-
eventName:
|
3132
|
-
eventValue:
|
3151
|
+
eventName: 6,
|
3152
|
+
eventValue: 7,
|
3133
3153
|
style: 1
|
3134
3154
|
},
|
3135
3155
|
add_css$r
|
@@ -8946,7 +8966,7 @@ function create_fragment$6(ctx) {
|
|
8946
8966
|
return {
|
8947
8967
|
props: {
|
8948
8968
|
name: /*name*/ ctx[0],
|
8949
|
-
data:
|
8969
|
+
data: /*$data*/ ctx[4]
|
8950
8970
|
}
|
8951
8971
|
};
|
8952
8972
|
}
|
@@ -8980,7 +9000,7 @@ function create_fragment$6(ctx) {
|
|
8980
9000
|
p(ctx, [dirty]) {
|
8981
9001
|
const switch_instance_changes = {};
|
8982
9002
|
if (dirty & /*name*/ 1) switch_instance_changes.name = /*name*/ ctx[0];
|
8983
|
-
if (dirty &
|
9003
|
+
if (dirty & /*$data*/ 16) switch_instance_changes.data = /*$data*/ ctx[4];
|
8984
9004
|
|
8985
9005
|
if (switch_value !== (switch_value = /*component*/ ctx[1])) {
|
8986
9006
|
if (switch_instance) {
|
@@ -9027,19 +9047,25 @@ function create_fragment$6(ctx) {
|
|
9027
9047
|
}
|
9028
9048
|
|
9029
9049
|
function instance$6($$self, $$props, $$invalidate) {
|
9050
|
+
let $data,
|
9051
|
+
$$unsubscribe_data = noop,
|
9052
|
+
$$subscribe_data = () => ($$unsubscribe_data(), $$unsubscribe_data = subscribe(data, $$value => $$invalidate(4, $data = $$value)), data);
|
9053
|
+
|
9054
|
+
$$self.$$.on_destroy.push(() => $$unsubscribe_data());
|
9030
9055
|
let { name } = $$props;
|
9031
9056
|
let { component } = $$props;
|
9032
9057
|
let { data } = $$props;
|
9058
|
+
$$subscribe_data();
|
9033
9059
|
let { style } = $$props;
|
9034
9060
|
|
9035
9061
|
$$self.$$set = $$props => {
|
9036
9062
|
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
9037
9063
|
if ('component' in $$props) $$invalidate(1, component = $$props.component);
|
9038
|
-
if ('data' in $$props) $$invalidate(2, data = $$props.data);
|
9064
|
+
if ('data' in $$props) $$subscribe_data($$invalidate(2, data = $$props.data));
|
9039
9065
|
if ('style' in $$props) $$invalidate(3, style = $$props.style);
|
9040
9066
|
};
|
9041
9067
|
|
9042
|
-
return [name, component, data, style];
|
9068
|
+
return [name, component, data, style, $data];
|
9043
9069
|
}
|
9044
9070
|
|
9045
9071
|
class CodeElement extends SvelteComponent {
|
package/dist/icons.d.ts
CHANGED
@@ -88,6 +88,11 @@ declare const ICONS: readonly [{
|
|
88
88
|
readonly type: "solid";
|
89
89
|
readonly component: "TruckSolid";
|
90
90
|
readonly src: string;
|
91
|
+
}, {
|
92
|
+
readonly name: "users";
|
93
|
+
readonly type: "solid";
|
94
|
+
readonly component: "UsersSolid";
|
95
|
+
readonly src: string;
|
91
96
|
}, {
|
92
97
|
readonly name: "window-maximize";
|
93
98
|
readonly type: "solid";
|
@@ -122,6 +127,7 @@ export { default as CopySolid } from './icons/solid/copy.svg';
|
|
122
127
|
export { default as PaperPlaneSolid } from './icons/solid/paper-plane.svg';
|
123
128
|
export { default as TicketSolid } from './icons/solid/ticket.svg';
|
124
129
|
export { default as TruckSolid } from './icons/solid/truck.svg';
|
130
|
+
export { default as UsersSolid } from './icons/solid/users.svg';
|
125
131
|
export { default as WindowMaximizeSolid } from './icons/solid/window-maximize.svg';
|
126
132
|
export { default as WindowMinimizeSolid } from './icons/solid/window-minimize.svg';
|
127
133
|
export { default as XmarkSolid } from './icons/solid/xmark.svg';
|
package/dist/icons.js
CHANGED
@@ -1,38 +1,40 @@
|
|
1
|
-
var img$
|
1
|
+
var img$l = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3e%3c/svg%3e";
|
2
2
|
|
3
|
-
var img$
|
3
|
+
var img$k = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3e%3c/svg%3e";
|
4
4
|
|
5
|
-
var img$
|
5
|
+
var img$j = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3e%3c/svg%3e";
|
6
6
|
|
7
|
-
var img$
|
7
|
+
var img$i = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z'/%3e%3c/svg%3e";
|
8
8
|
|
9
|
-
var img$
|
9
|
+
var img$h = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z'/%3e%3c/svg%3e";
|
10
10
|
|
11
|
-
var img$
|
11
|
+
var img$g = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z'/%3e%3c/svg%3e";
|
12
12
|
|
13
|
-
var img$
|
13
|
+
var img$f = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3e%3c/svg%3e";
|
14
14
|
|
15
|
-
var img$
|
15
|
+
var img$e = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3e%3c/svg%3e";
|
16
16
|
|
17
|
-
var img$
|
17
|
+
var img$d = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3e%3c/svg%3e";
|
18
18
|
|
19
|
-
var img$
|
19
|
+
var img$c = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z'/%3e%3c/svg%3e";
|
20
20
|
|
21
|
-
var img$
|
21
|
+
var img$b = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3e%3c/svg%3e";
|
22
22
|
|
23
|
-
var img$
|
23
|
+
var img$a = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z'/%3e%3c/svg%3e";
|
24
24
|
|
25
|
-
var img$
|
25
|
+
var img$9 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z'/%3e%3c/svg%3e";
|
26
26
|
|
27
|
-
var img$
|
27
|
+
var img$8 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z'/%3e%3c/svg%3e";
|
28
28
|
|
29
|
-
var img$
|
29
|
+
var img$7 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z'/%3e%3c/svg%3e";
|
30
30
|
|
31
|
-
var img$
|
31
|
+
var img$6 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z'/%3e%3c/svg%3e";
|
32
32
|
|
33
|
-
var img$
|
33
|
+
var img$5 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V320c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6V128c0-35.3-28.7-64-64-64H64zm64 112l0 160c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16zM96 160c0-17.7 14.3-32 32-32H448c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V160z'/%3e%3c/svg%3e";
|
34
34
|
|
35
|
-
var img$
|
35
|
+
var img$4 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M48 0C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H48zM416 160h50.7L544 237.3V256H416V160zM112 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm368-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3e%3c/svg%3e";
|
36
|
+
|
37
|
+
var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z'/%3e%3c/svg%3e";
|
36
38
|
|
37
39
|
var img$2 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Free 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0%2c Fonts: SIL OFL 1.1%2c Code: MIT License) Copyright 2023 Fonticons%2c Inc. --%3e%3cpath d='M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM96 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32z'/%3e%3c/svg%3e";
|
38
40
|
|
@@ -47,108 +49,114 @@ const ICONS = [
|
|
47
49
|
name: 'arrow-down',
|
48
50
|
type: 'solid',
|
49
51
|
component: 'ArrowDownSolid',
|
50
|
-
src: img$
|
52
|
+
src: img$l,
|
51
53
|
},
|
52
54
|
{
|
53
55
|
name: 'arrow-left',
|
54
56
|
type: 'solid',
|
55
57
|
component: 'ArrowLeftSolid',
|
56
|
-
src: img$
|
58
|
+
src: img$k,
|
57
59
|
},
|
58
60
|
{
|
59
61
|
name: 'arrow-right',
|
60
62
|
type: 'solid',
|
61
63
|
component: 'ArrowRightSolid',
|
62
|
-
src: img$
|
64
|
+
src: img$j,
|
63
65
|
},
|
64
66
|
{
|
65
67
|
name: 'arrow-up-right-from-square',
|
66
68
|
type: 'solid',
|
67
69
|
component: 'ArrowUpRightFromSquareSolid',
|
68
|
-
src: img$
|
70
|
+
src: img$i,
|
69
71
|
},
|
70
72
|
{
|
71
73
|
name: 'arrow-up',
|
72
74
|
type: 'solid',
|
73
75
|
component: 'ArrowUpSolid',
|
74
|
-
src: img$
|
76
|
+
src: img$h,
|
75
77
|
},
|
76
78
|
{
|
77
79
|
name: 'bell',
|
78
80
|
type: 'solid',
|
79
81
|
component: 'BellSolid',
|
80
|
-
src: img$
|
82
|
+
src: img$g,
|
81
83
|
},
|
82
84
|
{
|
83
85
|
name: 'cart-shopping',
|
84
86
|
type: 'solid',
|
85
87
|
component: 'CartShoppingSolid',
|
86
|
-
src: img$
|
88
|
+
src: img$f,
|
87
89
|
},
|
88
90
|
{
|
89
91
|
name: 'check',
|
90
92
|
type: 'solid',
|
91
93
|
component: 'CheckSolid',
|
92
|
-
src: img$
|
94
|
+
src: img$e,
|
93
95
|
},
|
94
96
|
{
|
95
97
|
name: 'chevron-down',
|
96
98
|
type: 'solid',
|
97
99
|
component: 'ChevronDownSolid',
|
98
|
-
src: img$
|
100
|
+
src: img$d,
|
99
101
|
},
|
100
102
|
{
|
101
103
|
name: 'chevron-left',
|
102
104
|
type: 'solid',
|
103
105
|
component: 'ChevronLeftSolid',
|
104
|
-
src: img$
|
106
|
+
src: img$c,
|
105
107
|
},
|
106
108
|
{
|
107
109
|
name: 'chevron-right',
|
108
110
|
type: 'solid',
|
109
111
|
component: 'ChevronRightSolid',
|
110
|
-
src: img$
|
112
|
+
src: img$b,
|
111
113
|
},
|
112
114
|
{
|
113
115
|
name: 'chevron-up',
|
114
116
|
type: 'solid',
|
115
117
|
component: 'ChevronUpSolid',
|
116
|
-
src: img$
|
118
|
+
src: img$a,
|
117
119
|
},
|
118
120
|
{
|
119
121
|
name: 'circle-question',
|
120
122
|
type: 'solid',
|
121
123
|
component: 'CircleQuestionSolid',
|
122
|
-
src: img$
|
124
|
+
src: img$9,
|
123
125
|
},
|
124
126
|
{
|
125
127
|
name: 'circle',
|
126
128
|
type: 'solid',
|
127
129
|
component: 'CircleSolid',
|
128
|
-
src: img$
|
130
|
+
src: img$8,
|
129
131
|
},
|
130
132
|
{
|
131
133
|
name: 'copy',
|
132
134
|
type: 'solid',
|
133
135
|
component: 'CopySolid',
|
134
|
-
src: img$
|
136
|
+
src: img$7,
|
135
137
|
},
|
136
138
|
{
|
137
139
|
name: 'paper-plane',
|
138
140
|
type: 'solid',
|
139
141
|
component: 'PaperPlaneSolid',
|
140
|
-
src: img$
|
142
|
+
src: img$6,
|
141
143
|
},
|
142
144
|
{
|
143
145
|
name: 'ticket',
|
144
146
|
type: 'solid',
|
145
147
|
component: 'TicketSolid',
|
146
|
-
src: img$
|
148
|
+
src: img$5,
|
147
149
|
},
|
148
150
|
{
|
149
151
|
name: 'truck',
|
150
152
|
type: 'solid',
|
151
153
|
component: 'TruckSolid',
|
154
|
+
src: img$4,
|
155
|
+
},
|
156
|
+
{
|
157
|
+
name: 'users',
|
158
|
+
type: 'solid',
|
159
|
+
component: 'UsersSolid',
|
152
160
|
src: img$3,
|
153
161
|
},
|
154
162
|
{
|
@@ -171,4 +179,4 @@ const ICONS = [
|
|
171
179
|
},
|
172
180
|
];
|
173
181
|
|
174
|
-
export { img$
|
182
|
+
export { img$l as ArrowDownSolid, img$k as ArrowLeftSolid, img$j as ArrowRightSolid, img$i as ArrowUpRightFromSquareSolid, img$h as ArrowUpSolid, img$g as BellSolid, img$f as CartShoppingSolid, img$e as CheckSolid, img$d as ChevronDownSolid, img$c as ChevronLeftSolid, img$b as ChevronRightSolid, img$a as ChevronUpSolid, img$9 as CircleQuestionSolid, img$8 as CircleSolid, img$7 as CopySolid, ICONS, img$6 as PaperPlaneSolid, img$5 as TicketSolid, img$4 as TruckSolid, img$3 as UsersSolid, img$2 as WindowMaximizeSolid, img$1 as WindowMinimizeSolid, img as XmarkSolid };
|
package/dist/index.es.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { linear, elasticOut, cubicOut } from 'svelte/easing';
|
2
2
|
import { writable, get } from 'svelte/store';
|
3
3
|
import { onMount as onMount$1, onDestroy as onDestroy$1, beforeUpdate as beforeUpdate$1, afterUpdate as afterUpdate$1, tick as tick$1, setContext, getContext, createEventDispatcher } from 'svelte';
|
4
|
-
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, HtmlTag, construct_svelte_component } from 'svelte/internal';
|
4
|
+
import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, HtmlTag, construct_svelte_component, subscribe } from 'svelte/internal';
|
5
5
|
|
6
6
|
/** @internal */
|
7
7
|
const PropTypes = [
|
@@ -2753,14 +2753,14 @@ function add_css$r(target) {
|
|
2753
2753
|
append_styles(target, "svelte-1tg0tf", ".button.svelte-1tg0tf{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0}.button.svelte-1tg0tf:link,.button.svelte-1tg0tf:visited,.button.svelte-1tg0tf:active,.button.svelte-1tg0tf:hover{color:inherit}");
|
2754
2754
|
}
|
2755
2755
|
|
2756
|
-
// (
|
2756
|
+
// (48:0) {:else}
|
2757
2757
|
function create_else_block$2(ctx) {
|
2758
2758
|
let button;
|
2759
2759
|
let current;
|
2760
2760
|
let mounted;
|
2761
2761
|
let dispose;
|
2762
|
-
const default_slot_template = /*#slots*/ ctx[
|
2763
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
2762
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2763
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2764
2764
|
|
2765
2765
|
return {
|
2766
2766
|
c() {
|
@@ -2785,15 +2785,15 @@ function create_else_block$2(ctx) {
|
|
2785
2785
|
},
|
2786
2786
|
p(ctx, dirty) {
|
2787
2787
|
if (default_slot) {
|
2788
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2788
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2789
2789
|
update_slot_base(
|
2790
2790
|
default_slot,
|
2791
2791
|
default_slot_template,
|
2792
2792
|
ctx,
|
2793
|
-
/*$$scope*/ ctx[
|
2793
|
+
/*$$scope*/ ctx[9],
|
2794
2794
|
!current
|
2795
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2796
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2795
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2796
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2797
2797
|
null
|
2798
2798
|
);
|
2799
2799
|
}
|
@@ -2821,12 +2821,12 @@ function create_else_block$2(ctx) {
|
|
2821
2821
|
};
|
2822
2822
|
}
|
2823
2823
|
|
2824
|
-
// (
|
2824
|
+
// (44:39)
|
2825
2825
|
function create_if_block_2(ctx) {
|
2826
2826
|
let div;
|
2827
2827
|
let current;
|
2828
|
-
const default_slot_template = /*#slots*/ ctx[
|
2829
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
2828
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2829
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2830
2830
|
|
2831
2831
|
return {
|
2832
2832
|
c() {
|
@@ -2846,15 +2846,15 @@ function create_if_block_2(ctx) {
|
|
2846
2846
|
},
|
2847
2847
|
p(ctx, dirty) {
|
2848
2848
|
if (default_slot) {
|
2849
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2849
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2850
2850
|
update_slot_base(
|
2851
2851
|
default_slot,
|
2852
2852
|
default_slot_template,
|
2853
2853
|
ctx,
|
2854
|
-
/*$$scope*/ ctx[
|
2854
|
+
/*$$scope*/ ctx[9],
|
2855
2855
|
!current
|
2856
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2857
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2856
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2857
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2858
2858
|
null
|
2859
2859
|
);
|
2860
2860
|
}
|
@@ -2880,14 +2880,16 @@ function create_if_block_2(ctx) {
|
|
2880
2880
|
};
|
2881
2881
|
}
|
2882
2882
|
|
2883
|
-
// (
|
2883
|
+
// (40:41)
|
2884
2884
|
function create_if_block_1$2(ctx) {
|
2885
2885
|
let a;
|
2886
2886
|
let a_href_value;
|
2887
2887
|
let a_target_value;
|
2888
2888
|
let current;
|
2889
|
-
|
2890
|
-
|
2889
|
+
let mounted;
|
2890
|
+
let dispose;
|
2891
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2892
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2891
2893
|
|
2892
2894
|
return {
|
2893
2895
|
c() {
|
@@ -2906,18 +2908,23 @@ function create_if_block_1$2(ctx) {
|
|
2906
2908
|
}
|
2907
2909
|
|
2908
2910
|
current = true;
|
2911
|
+
|
2912
|
+
if (!mounted) {
|
2913
|
+
dispose = listen(a, "click", /*handleClickAnchor*/ ctx[4]);
|
2914
|
+
mounted = true;
|
2915
|
+
}
|
2909
2916
|
},
|
2910
2917
|
p(ctx, dirty) {
|
2911
2918
|
if (default_slot) {
|
2912
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2919
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2913
2920
|
update_slot_base(
|
2914
2921
|
default_slot,
|
2915
2922
|
default_slot_template,
|
2916
2923
|
ctx,
|
2917
|
-
/*$$scope*/ ctx[
|
2924
|
+
/*$$scope*/ ctx[9],
|
2918
2925
|
!current
|
2919
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2920
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2926
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2927
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2921
2928
|
null
|
2922
2929
|
);
|
2923
2930
|
}
|
@@ -2947,16 +2954,18 @@ function create_if_block_1$2(ctx) {
|
|
2947
2954
|
d(detaching) {
|
2948
2955
|
if (detaching) detach(a);
|
2949
2956
|
if (default_slot) default_slot.d(detaching);
|
2957
|
+
mounted = false;
|
2958
|
+
dispose();
|
2950
2959
|
}
|
2951
2960
|
};
|
2952
2961
|
}
|
2953
2962
|
|
2954
|
-
// (
|
2963
|
+
// (36:0) {#if disabled}
|
2955
2964
|
function create_if_block$6(ctx) {
|
2956
2965
|
let div;
|
2957
2966
|
let current;
|
2958
|
-
const default_slot_template = /*#slots*/ ctx[
|
2959
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[
|
2967
|
+
const default_slot_template = /*#slots*/ ctx[10].default;
|
2968
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], null);
|
2960
2969
|
|
2961
2970
|
return {
|
2962
2971
|
c() {
|
@@ -2976,15 +2985,15 @@ function create_if_block$6(ctx) {
|
|
2976
2985
|
},
|
2977
2986
|
p(ctx, dirty) {
|
2978
2987
|
if (default_slot) {
|
2979
|
-
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2988
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 512)) {
|
2980
2989
|
update_slot_base(
|
2981
2990
|
default_slot,
|
2982
2991
|
default_slot_template,
|
2983
2992
|
ctx,
|
2984
|
-
/*$$scope*/ ctx[
|
2993
|
+
/*$$scope*/ ctx[9],
|
2985
2994
|
!current
|
2986
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
2987
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
2995
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[9])
|
2996
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[9], dirty, null),
|
2988
2997
|
null
|
2989
2998
|
);
|
2990
2999
|
}
|
@@ -3100,20 +3109,30 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
3100
3109
|
execOnClickOperation(onClick);
|
3101
3110
|
}
|
3102
3111
|
|
3112
|
+
function handleClickAnchor(e) {
|
3113
|
+
e.preventDefault();
|
3114
|
+
|
3115
|
+
if (eventName) {
|
3116
|
+
send_event(eventName, eventValue);
|
3117
|
+
}
|
3118
|
+
|
3119
|
+
execOnClickOperation(onClick);
|
3120
|
+
}
|
3121
|
+
|
3103
3122
|
const { path: statePath } = getStateItemContext() ?? { path: '/' };
|
3104
3123
|
const valuesAreValid = getValuesAreValidReader(statePath);
|
3105
|
-
component_subscribe($$self, valuesAreValid, value => $$invalidate(
|
3124
|
+
component_subscribe($$self, valuesAreValid, value => $$invalidate(8, $valuesAreValid = value));
|
3106
3125
|
|
3107
3126
|
$$self.$$set = $$props => {
|
3108
3127
|
if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
|
3109
|
-
if ('eventName' in $$props) $$invalidate(
|
3110
|
-
if ('eventValue' in $$props) $$invalidate(
|
3128
|
+
if ('eventName' in $$props) $$invalidate(6, eventName = $$props.eventName);
|
3129
|
+
if ('eventValue' in $$props) $$invalidate(7, eventValue = $$props.eventValue);
|
3111
3130
|
if ('style' in $$props) $$invalidate(1, style = $$props.style);
|
3112
|
-
if ('$$scope' in $$props) $$invalidate(
|
3131
|
+
if ('$$scope' in $$props) $$invalidate(9, $$scope = $$props.$$scope);
|
3113
3132
|
};
|
3114
3133
|
|
3115
3134
|
$$self.$$.update = () => {
|
3116
|
-
if ($$self.$$.dirty & /*onClick, $valuesAreValid*/
|
3135
|
+
if ($$self.$$.dirty & /*onClick, $valuesAreValid*/ 257) {
|
3117
3136
|
$$invalidate(2, disabled = (() => {
|
3118
3137
|
let isEnabled = true;
|
3119
3138
|
|
@@ -3133,6 +3152,7 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
3133
3152
|
style,
|
3134
3153
|
disabled,
|
3135
3154
|
handleClickButton,
|
3155
|
+
handleClickAnchor,
|
3136
3156
|
valuesAreValid,
|
3137
3157
|
eventName,
|
3138
3158
|
eventValue,
|
@@ -3154,8 +3174,8 @@ class Button extends SvelteComponent {
|
|
3154
3174
|
safe_not_equal,
|
3155
3175
|
{
|
3156
3176
|
onClick: 0,
|
3157
|
-
eventName:
|
3158
|
-
eventValue:
|
3177
|
+
eventName: 6,
|
3178
|
+
eventValue: 7,
|
3159
3179
|
style: 1
|
3160
3180
|
},
|
3161
3181
|
add_css$r
|
@@ -8402,7 +8422,7 @@ function create_fragment$6(ctx) {
|
|
8402
8422
|
return {
|
8403
8423
|
props: {
|
8404
8424
|
name: /*name*/ ctx[0],
|
8405
|
-
data:
|
8425
|
+
data: /*$data*/ ctx[4]
|
8406
8426
|
}
|
8407
8427
|
};
|
8408
8428
|
}
|
@@ -8426,7 +8446,7 @@ function create_fragment$6(ctx) {
|
|
8426
8446
|
p(ctx, [dirty]) {
|
8427
8447
|
const switch_instance_changes = {};
|
8428
8448
|
if (dirty & /*name*/ 1) switch_instance_changes.name = /*name*/ ctx[0];
|
8429
|
-
if (dirty &
|
8449
|
+
if (dirty & /*$data*/ 16) switch_instance_changes.data = /*$data*/ ctx[4];
|
8430
8450
|
|
8431
8451
|
if (switch_value !== (switch_value = /*component*/ ctx[1])) {
|
8432
8452
|
if (switch_instance) {
|
@@ -8473,19 +8493,25 @@ function create_fragment$6(ctx) {
|
|
8473
8493
|
}
|
8474
8494
|
|
8475
8495
|
function instance$6($$self, $$props, $$invalidate) {
|
8496
|
+
let $data,
|
8497
|
+
$$unsubscribe_data = noop,
|
8498
|
+
$$subscribe_data = () => ($$unsubscribe_data(), $$unsubscribe_data = subscribe(data, $$value => $$invalidate(4, $data = $$value)), data);
|
8499
|
+
|
8500
|
+
$$self.$$.on_destroy.push(() => $$unsubscribe_data());
|
8476
8501
|
let { name } = $$props;
|
8477
8502
|
let { component } = $$props;
|
8478
8503
|
let { data } = $$props;
|
8504
|
+
$$subscribe_data();
|
8479
8505
|
let { style } = $$props;
|
8480
8506
|
|
8481
8507
|
$$self.$$set = $$props => {
|
8482
8508
|
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
8483
8509
|
if ('component' in $$props) $$invalidate(1, component = $$props.component);
|
8484
|
-
if ('data' in $$props) $$invalidate(2, data = $$props.data);
|
8510
|
+
if ('data' in $$props) $$subscribe_data($$invalidate(2, data = $$props.data));
|
8485
8511
|
if ('style' in $$props) $$invalidate(3, style = $$props.style);
|
8486
8512
|
};
|
8487
8513
|
|
8488
|
-
return [name, component, data, style];
|
8514
|
+
return [name, component, data, style, $data];
|
8489
8515
|
}
|
8490
8516
|
|
8491
8517
|
class CodeElement extends SvelteComponent {
|