@shopify/create-app 3.79.0 → 3.79.2
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/{chunk-7AOB653K.js → chunk-5KM4KHVA.js} +5 -5
- package/dist/{chunk-DOJFJSIT.js → chunk-A6DB77W5.js} +2 -2
- package/dist/{chunk-HSB3QV4W.js → chunk-IVIBQ4QA.js} +3 -3
- package/dist/{chunk-S6CRGH63.js → chunk-QQGGX74F.js} +5 -5
- package/dist/{chunk-SKROIF4Z.js → chunk-RQ5FDZHB.js} +4 -4
- package/dist/{chunk-BE7EA5HD.js → chunk-TQPWEB7D.js} +5 -5
- package/dist/{custom-oclif-loader-YVZFS2MG.js → custom-oclif-loader-PRNYU3ER.js} +2 -2
- package/dist/{error-handler-2KYYHHUD.js → error-handler-RIDKILPF.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +956 -743
- package/dist/{local-FKLT6MRX.js → local-KV2SOCMK.js} +2 -2
- package/dist/{node-package-manager-6MPETXDL.js → node-package-manager-YYJZJHXJ.js} +3 -3
- package/dist/{ui-O37QGDLX.js → ui-3BXQLAQB.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
errorHandler,
|
|
13
13
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
14
14
|
require_end_of_stream
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TQPWEB7D.js";
|
|
16
16
|
import {
|
|
17
17
|
setNextDeprecationDate
|
|
18
18
|
} from "./chunk-CP3BRHWK.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
getListOfTunnelPlugins,
|
|
22
22
|
reportAnalyticsEvent,
|
|
23
23
|
requestIdsCollection
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RQ5FDZHB.js";
|
|
25
25
|
import {
|
|
26
26
|
setCurrentCommandId,
|
|
27
27
|
showNotificationsIfNeeded
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QQGGX74F.js";
|
|
29
29
|
import {
|
|
30
30
|
CLI_KIT_VERSION,
|
|
31
31
|
ClientError,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
setLastSeenUserIdAfterAuth,
|
|
73
73
|
shopifyFetch,
|
|
74
74
|
z
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-5KM4KHVA.js";
|
|
76
76
|
import "./chunk-25IMI7TH.js";
|
|
77
77
|
import {
|
|
78
78
|
LocalStorage,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
usesWorkspaces,
|
|
98
98
|
versionSatisfies,
|
|
99
99
|
writePackageJSON
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-A6DB77W5.js";
|
|
101
101
|
import {
|
|
102
102
|
AbortController as AbortController2,
|
|
103
103
|
AbortError,
|
|
@@ -286,7 +286,7 @@ import {
|
|
|
286
286
|
username,
|
|
287
287
|
writeFile,
|
|
288
288
|
writeFileSync
|
|
289
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-IVIBQ4QA.js";
|
|
290
290
|
import {
|
|
291
291
|
require_brace_expansion,
|
|
292
292
|
require_lib as require_lib2
|
|
@@ -2243,9 +2243,9 @@ var require_toml = __commonJS({
|
|
|
2243
2243
|
}
|
|
2244
2244
|
});
|
|
2245
2245
|
|
|
2246
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2246
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/object.js
|
|
2247
2247
|
var require_object = __commonJS({
|
|
2248
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2248
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/object.js"(exports2) {
|
|
2249
2249
|
"use strict";
|
|
2250
2250
|
init_cjs_shims();
|
|
2251
2251
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -2257,9 +2257,9 @@ var require_object = __commonJS({
|
|
|
2257
2257
|
}
|
|
2258
2258
|
});
|
|
2259
2259
|
|
|
2260
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2260
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/array.js
|
|
2261
2261
|
var require_array = __commonJS({
|
|
2262
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2262
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/array.js"(exports2) {
|
|
2263
2263
|
"use strict";
|
|
2264
2264
|
init_cjs_shims();
|
|
2265
2265
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -2371,9 +2371,9 @@ var require_line_column = __commonJS({
|
|
|
2371
2371
|
}
|
|
2372
2372
|
});
|
|
2373
2373
|
|
|
2374
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2374
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/position.js
|
|
2375
2375
|
var require_position = __commonJS({
|
|
2376
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2376
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/position.js"(exports2) {
|
|
2377
2377
|
"use strict";
|
|
2378
2378
|
init_cjs_shims();
|
|
2379
2379
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -2398,9 +2398,9 @@ var require_position = __commonJS({
|
|
|
2398
2398
|
}
|
|
2399
2399
|
});
|
|
2400
2400
|
|
|
2401
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2401
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/error.js
|
|
2402
2402
|
var require_error = __commonJS({
|
|
2403
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2403
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/error.js"(exports2) {
|
|
2404
2404
|
"use strict";
|
|
2405
2405
|
init_cjs_shims();
|
|
2406
2406
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -2437,9 +2437,9 @@ var require_error = __commonJS({
|
|
|
2437
2437
|
}
|
|
2438
2438
|
});
|
|
2439
2439
|
|
|
2440
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2440
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/types.js
|
|
2441
2441
|
var require_types = __commonJS({
|
|
2442
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2442
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/types.js"(exports2) {
|
|
2443
2443
|
"use strict";
|
|
2444
2444
|
init_cjs_shims();
|
|
2445
2445
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -2451,9 +2451,9 @@ var require_types = __commonJS({
|
|
|
2451
2451
|
}
|
|
2452
2452
|
});
|
|
2453
2453
|
|
|
2454
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2454
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/memo.js
|
|
2455
2455
|
var require_memo = __commonJS({
|
|
2456
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2456
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/memo.js"(exports2) {
|
|
2457
2457
|
"use strict";
|
|
2458
2458
|
init_cjs_shims();
|
|
2459
2459
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -2480,9 +2480,9 @@ var require_memo = __commonJS({
|
|
|
2480
2480
|
}
|
|
2481
2481
|
});
|
|
2482
2482
|
|
|
2483
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2483
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/indexBy.js
|
|
2484
2484
|
var require_indexBy = __commonJS({
|
|
2485
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2485
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/indexBy.js"(exports2) {
|
|
2486
2486
|
"use strict";
|
|
2487
2487
|
init_cjs_shims();
|
|
2488
2488
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -3560,9 +3560,9 @@ var createScanner2, ScanError, SyntaxKind, getLocation2, parse3, parseTree2, fin
|
|
|
3560
3560
|
}
|
|
3561
3561
|
});
|
|
3562
3562
|
|
|
3563
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3563
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/json.js
|
|
3564
3564
|
var require_json = __commonJS({
|
|
3565
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3565
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/json.js"(exports2) {
|
|
3566
3566
|
"use strict";
|
|
3567
3567
|
init_cjs_shims();
|
|
3568
3568
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -3633,9 +3633,9 @@ var require_node_ponyfill = __commonJS({
|
|
|
3633
3633
|
}
|
|
3634
3634
|
});
|
|
3635
3635
|
|
|
3636
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3636
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/file-utils.js
|
|
3637
3637
|
var require_file_utils = __commonJS({
|
|
3638
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3638
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/file-utils.js"(exports2) {
|
|
3639
3639
|
"use strict";
|
|
3640
3640
|
init_cjs_shims();
|
|
3641
3641
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -3680,9 +3680,9 @@ var require_file_utils = __commonJS({
|
|
|
3680
3680
|
}
|
|
3681
3681
|
});
|
|
3682
3682
|
|
|
3683
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3683
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/block.js
|
|
3684
3684
|
var require_block = __commonJS({
|
|
3685
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3685
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/block.js"(exports2) {
|
|
3686
3686
|
"use strict";
|
|
3687
3687
|
init_cjs_shims();
|
|
3688
3688
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -3779,9 +3779,9 @@ var require_block = __commonJS({
|
|
|
3779
3779
|
}
|
|
3780
3780
|
});
|
|
3781
3781
|
|
|
3782
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3782
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/index.js
|
|
3783
3783
|
var require_utils = __commonJS({
|
|
3784
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3784
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/index.js"(exports2) {
|
|
3785
3785
|
"use strict";
|
|
3786
3786
|
init_cjs_shims();
|
|
3787
3787
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -3807,14 +3807,24 @@ var require_utils = __commonJS({
|
|
|
3807
3807
|
}
|
|
3808
3808
|
});
|
|
3809
3809
|
|
|
3810
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3810
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AugmentedThemeDocset.js
|
|
3811
3811
|
var require_AugmentedThemeDocset = __commonJS({
|
|
3812
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
3812
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AugmentedThemeDocset.js"(exports2) {
|
|
3813
3813
|
"use strict";
|
|
3814
3814
|
init_cjs_shims();
|
|
3815
3815
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
3816
3816
|
exports2.AugmentedThemeDocset = void 0;
|
|
3817
|
-
var utils_1 = require_utils(), toFilterEntry = (name) => ({ name }), aliasedFilters = [
|
|
3817
|
+
var utils_1 = require_utils(), toFilterEntry = (name) => ({ name }), aliasedFilters = [
|
|
3818
|
+
["camelcase", "camelize"],
|
|
3819
|
+
["handle", "handleize"],
|
|
3820
|
+
["t", "translate"]
|
|
3821
|
+
], toAliasedFilterEntry = (entries) => ([alias, baseName]) => {
|
|
3822
|
+
let baseEntry = entries.find((entry) => entry.name === baseName);
|
|
3823
|
+
return baseEntry ? {
|
|
3824
|
+
...baseEntry,
|
|
3825
|
+
name: alias
|
|
3826
|
+
} : toFilterEntry(alias);
|
|
3827
|
+
}, undocumentedFilters = [
|
|
3818
3828
|
"_online_store_editor_live_setting",
|
|
3819
3829
|
"addresses_url",
|
|
3820
3830
|
"app_block_path?",
|
|
@@ -3871,11 +3881,14 @@ var require_AugmentedThemeDocset = __commonJS({
|
|
|
3871
3881
|
{ type: "string", name: "" }
|
|
3872
3882
|
])), toTagEntry = (name) => ({ name }), undocumentedTags = ["elsif", "ifchanged", "when", "schema"], AugmentedThemeDocset = class {
|
|
3873
3883
|
constructor(themeDocset) {
|
|
3874
|
-
this.themeDocset = themeDocset, this.isAugmented = !0, this.filters = (0, utils_1.memo)(async () =>
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3884
|
+
this.themeDocset = themeDocset, this.isAugmented = !0, this.filters = (0, utils_1.memo)(async () => {
|
|
3885
|
+
let officialFilters = await this.themeDocset.filters();
|
|
3886
|
+
return [
|
|
3887
|
+
...officialFilters,
|
|
3888
|
+
...aliasedFilters.map(toAliasedFilterEntry(officialFilters)),
|
|
3889
|
+
...undocumentedFilters.map(toFilterEntry)
|
|
3890
|
+
];
|
|
3891
|
+
}), this.objects = (0, utils_1.memo)(async () => [
|
|
3879
3892
|
...await this.themeDocset.objects(),
|
|
3880
3893
|
...undocumentedObjects.map((obj) => toObjectEntry(obj)),
|
|
3881
3894
|
...legacyCheckoutEntries
|
|
@@ -8698,9 +8711,9 @@ var init_jsonLanguageService = __esm({
|
|
|
8698
8711
|
}
|
|
8699
8712
|
});
|
|
8700
8713
|
|
|
8701
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
8714
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/JSONValidator.js
|
|
8702
8715
|
var require_JSONValidator = __commonJS({
|
|
8703
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
8716
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/JSONValidator.js"(exports2) {
|
|
8704
8717
|
"use strict";
|
|
8705
8718
|
init_cjs_shims();
|
|
8706
8719
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -9129,9 +9142,9 @@ var require_umd = __commonJS({
|
|
|
9129
9142
|
}
|
|
9130
9143
|
});
|
|
9131
9144
|
|
|
9132
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9145
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AbstractFileSystem.js
|
|
9133
9146
|
var require_AbstractFileSystem = __commonJS({
|
|
9134
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9147
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AbstractFileSystem.js"(exports2) {
|
|
9135
9148
|
"use strict";
|
|
9136
9149
|
init_cjs_shims();
|
|
9137
9150
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -9143,9 +9156,9 @@ var require_AbstractFileSystem = __commonJS({
|
|
|
9143
9156
|
}
|
|
9144
9157
|
});
|
|
9145
9158
|
|
|
9146
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9159
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/path.js
|
|
9147
9160
|
var require_path = __commonJS({
|
|
9148
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9161
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/path.js"(exports2) {
|
|
9149
9162
|
"use strict";
|
|
9150
9163
|
init_cjs_shims();
|
|
9151
9164
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -15549,18 +15562,18 @@ var require_dist = __commonJS({
|
|
|
15549
15562
|
}
|
|
15550
15563
|
});
|
|
15551
15564
|
|
|
15552
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15565
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/types.js
|
|
15553
15566
|
var require_types3 = __commonJS({
|
|
15554
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15567
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/types.js"(exports2) {
|
|
15555
15568
|
"use strict";
|
|
15556
15569
|
init_cjs_shims();
|
|
15557
15570
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
15558
15571
|
}
|
|
15559
15572
|
});
|
|
15560
15573
|
|
|
15561
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15574
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schema-prop-factory.js
|
|
15562
15575
|
var require_schema_prop_factory = __commonJS({
|
|
15563
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15576
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schema-prop-factory.js"(exports2) {
|
|
15564
15577
|
"use strict";
|
|
15565
15578
|
init_cjs_shims();
|
|
15566
15579
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -15641,27 +15654,27 @@ var require_schema_prop_factory = __commonJS({
|
|
|
15641
15654
|
}
|
|
15642
15655
|
});
|
|
15643
15656
|
|
|
15644
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15657
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-liquid-docs.js
|
|
15645
15658
|
var require_theme_liquid_docs = __commonJS({
|
|
15646
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15659
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-liquid-docs.js"(exports2) {
|
|
15647
15660
|
"use strict";
|
|
15648
15661
|
init_cjs_shims();
|
|
15649
15662
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
15650
15663
|
}
|
|
15651
15664
|
});
|
|
15652
15665
|
|
|
15653
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15666
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/setting.js
|
|
15654
15667
|
var require_setting = __commonJS({
|
|
15655
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15668
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/setting.js"(exports2) {
|
|
15656
15669
|
"use strict";
|
|
15657
15670
|
init_cjs_shims();
|
|
15658
15671
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
15659
15672
|
}
|
|
15660
15673
|
});
|
|
15661
15674
|
|
|
15662
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15675
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/index.js
|
|
15663
15676
|
var require_schemas = __commonJS({
|
|
15664
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15677
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/index.js"(exports2) {
|
|
15665
15678
|
"use strict";
|
|
15666
15679
|
init_cjs_shims();
|
|
15667
15680
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -15673,9 +15686,9 @@ var require_schemas = __commonJS({
|
|
|
15673
15686
|
}
|
|
15674
15687
|
});
|
|
15675
15688
|
|
|
15676
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15689
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-schemas.js
|
|
15677
15690
|
var require_theme_schemas = __commonJS({
|
|
15678
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15691
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-schemas.js"(exports2) {
|
|
15679
15692
|
"use strict";
|
|
15680
15693
|
init_cjs_shims();
|
|
15681
15694
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -15699,9 +15712,9 @@ var require_theme_schemas = __commonJS({
|
|
|
15699
15712
|
}
|
|
15700
15713
|
});
|
|
15701
15714
|
|
|
15702
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15715
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types.js
|
|
15703
15716
|
var require_types4 = __commonJS({
|
|
15704
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15717
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types.js"(exports2) {
|
|
15705
15718
|
"use strict";
|
|
15706
15719
|
init_cjs_shims();
|
|
15707
15720
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -15751,9 +15764,9 @@ var require_types4 = __commonJS({
|
|
|
15751
15764
|
}
|
|
15752
15765
|
});
|
|
15753
15766
|
|
|
15754
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15767
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/context-utils.js
|
|
15755
15768
|
var require_context_utils = __commonJS({
|
|
15756
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15769
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/context-utils.js"(exports2) {
|
|
15757
15770
|
"use strict";
|
|
15758
15771
|
init_cjs_shims();
|
|
15759
15772
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -15894,27 +15907,98 @@ var require_context_utils = __commonJS({
|
|
|
15894
15907
|
}
|
|
15895
15908
|
});
|
|
15896
15909
|
|
|
15897
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15910
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitor.js
|
|
15911
|
+
var require_visitor = __commonJS({
|
|
15912
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitor.js"(exports2) {
|
|
15913
|
+
"use strict";
|
|
15914
|
+
init_cjs_shims();
|
|
15915
|
+
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
15916
|
+
exports2.findCurrentNode = exports2.forEachChildNodes = exports2.visit = void 0;
|
|
15917
|
+
var liquid_html_parser_1 = require_dist();
|
|
15918
|
+
function isNode(x) {
|
|
15919
|
+
return x !== null && typeof x == "object" && typeof x.type == "string";
|
|
15920
|
+
}
|
|
15921
|
+
function visit3(node, visitor) {
|
|
15922
|
+
let results = [], stack = [{ node, lineage: [] }], pushStack = (node2, lineage) => stack.push({ node: node2, lineage });
|
|
15923
|
+
for (; stack.length > 0; ) {
|
|
15924
|
+
let { node: node2, lineage } = stack.pop(), visitNode = visitor[node2.type], result = visitNode ? visitNode(node2, lineage) : void 0;
|
|
15925
|
+
Array.isArray(result) ? results.push(...result) : result !== void 0 && results.push(result), forEachChildNodes(node2, lineage.concat(node2), pushStack);
|
|
15926
|
+
}
|
|
15927
|
+
return results;
|
|
15928
|
+
}
|
|
15929
|
+
exports2.visit = visit3;
|
|
15930
|
+
function forEachChildNodes(node, lineage, execute) {
|
|
15931
|
+
for (let value of Object.values(node))
|
|
15932
|
+
if (Array.isArray(value))
|
|
15933
|
+
for (let i = value.length - 1; i >= 0; i--)
|
|
15934
|
+
execute(value[i], lineage);
|
|
15935
|
+
else isNode(value) && execute(value, lineage);
|
|
15936
|
+
}
|
|
15937
|
+
exports2.forEachChildNodes = forEachChildNodes;
|
|
15938
|
+
function findCurrentNode(ast, cursorPosition) {
|
|
15939
|
+
let prev, current = ast, ancestors = [];
|
|
15940
|
+
for (; current !== prev; )
|
|
15941
|
+
prev = current, forEachChildNodes(current, ancestors.concat(current), (child, lineage) => {
|
|
15942
|
+
(isUnclosed(child) || isCovered(child, cursorPosition) && size(child) <= size(current)) && (current = child, ancestors = lineage);
|
|
15943
|
+
});
|
|
15944
|
+
return [current, ancestors];
|
|
15945
|
+
}
|
|
15946
|
+
exports2.findCurrentNode = findCurrentNode;
|
|
15947
|
+
function isCovered(node, offset) {
|
|
15948
|
+
switch (node.type) {
|
|
15949
|
+
// `product.█title` should cover `title`
|
|
15950
|
+
case liquid_html_parser_1.NodeTypes.String:
|
|
15951
|
+
// `if █cond` should cover `cond`
|
|
15952
|
+
case liquid_html_parser_1.NodeTypes.VariableLookup:
|
|
15953
|
+
// `if █cond and other` should cover `cond`
|
|
15954
|
+
case liquid_html_parser_1.NodeTypes.LogicalExpression:
|
|
15955
|
+
// `if █cond < other` should cover `cond`
|
|
15956
|
+
case liquid_html_parser_1.NodeTypes.Comparison:
|
|
15957
|
+
return node.position.start <= offset && offset <= node.position.end;
|
|
15958
|
+
// default case avoids ambiguity by having the cursor in the [excluded, included] range
|
|
15959
|
+
default:
|
|
15960
|
+
return node.position.start < offset && offset <= node.position.end;
|
|
15961
|
+
}
|
|
15962
|
+
}
|
|
15963
|
+
function size(node) {
|
|
15964
|
+
return node.position.end - node.position.start;
|
|
15965
|
+
}
|
|
15966
|
+
function isUnclosed(node) {
|
|
15967
|
+
var _a40;
|
|
15968
|
+
return "blockEndPosition" in node ? ((_a40 = node.blockEndPosition) === null || _a40 === void 0 ? void 0 : _a40.end) === -1 : "children" in node ? node.children.length > 0 : !1;
|
|
15969
|
+
}
|
|
15970
|
+
}
|
|
15971
|
+
});
|
|
15972
|
+
|
|
15973
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/disabled-checks/index.js
|
|
15898
15974
|
var require_disabled_checks = __commonJS({
|
|
15899
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
15975
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/disabled-checks/index.js"(exports2) {
|
|
15900
15976
|
"use strict";
|
|
15901
15977
|
init_cjs_shims();
|
|
15902
15978
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
15903
|
-
exports2.createDisabledChecksModule = void 0;
|
|
15979
|
+
exports2.findNextLinePosition = exports2.createDisabledChecksModule = void 0;
|
|
15980
|
+
var types_1 = require_types4(), visitor_1 = require_visitor(), utils_1 = require_utils();
|
|
15904
15981
|
function createDisabledChecksModule() {
|
|
15905
15982
|
let SPECIFIC_CHECK_NOT_DEFINED = "@all", INLINE_COMMENT_TAG = "#", disabledChecks = /* @__PURE__ */ new Map();
|
|
15906
|
-
function determineRanges(
|
|
15907
|
-
let [_2, command, checksJoined] = value.trim().match(/^(?:theme\-check\-(disable|enable)) ?(.*)/) || [];
|
|
15983
|
+
function determineRanges(file, value, node) {
|
|
15984
|
+
let [_2, command, checksJoined] = value.trim().match(/^(?:theme\-check\-(disable-next-line|disable|enable)) ?(.*)/) || [];
|
|
15908
15985
|
(checksJoined ? checksJoined.split(/,[ ]*/) : [SPECIFIC_CHECK_NOT_DEFINED]).forEach((check2) => {
|
|
15909
|
-
let disabledRanges = disabledChecks.get(uri);
|
|
15910
|
-
if (command === "disable" && (
|
|
15986
|
+
let disabledRanges = disabledChecks.get(file.uri);
|
|
15987
|
+
if (command === "disable-next-line" && !(0, utils_1.isError)(file.ast)) {
|
|
15988
|
+
let nextLinePosition = findNextLinePosition(file.ast, node);
|
|
15989
|
+
nextLinePosition && (disabledRanges.has(check2) || disabledRanges.set(check2, []), disabledRanges.get(check2).push({
|
|
15990
|
+
from: nextLinePosition.start,
|
|
15991
|
+
to: nextLinePosition.end
|
|
15992
|
+
}));
|
|
15993
|
+
}
|
|
15994
|
+
if (command === "disable" && (disabledRanges.has(check2) || disabledRanges.set(check2, []), disabledRanges.get(check2).push({ from: node.position.end })), command === "enable") {
|
|
15911
15995
|
let disabledRangesForCheck = disabledRanges.get(check2);
|
|
15912
15996
|
if (disabledRangesForCheck)
|
|
15913
|
-
disabledRangesForCheck[disabledRangesForCheck.length - 1].to = position.start;
|
|
15997
|
+
disabledRangesForCheck[disabledRangesForCheck.length - 1].to = node.position.start;
|
|
15914
15998
|
else if (check2 === SPECIFIC_CHECK_NOT_DEFINED)
|
|
15915
15999
|
for (let ranges of disabledRanges.values())
|
|
15916
16000
|
for (let range of ranges)
|
|
15917
|
-
range.to || (range.to = position.start);
|
|
16001
|
+
range.to || (range.to = node.position.start);
|
|
15918
16002
|
}
|
|
15919
16003
|
});
|
|
15920
16004
|
}
|
|
@@ -15925,10 +16009,10 @@ var require_disabled_checks = __commonJS({
|
|
|
15925
16009
|
disabledChecks.set(file.uri, /* @__PURE__ */ new Map());
|
|
15926
16010
|
},
|
|
15927
16011
|
async LiquidRawTag(node) {
|
|
15928
|
-
node.name === "comment" && determineRanges(file
|
|
16012
|
+
node.name === "comment" && determineRanges(file, node.body.value, node);
|
|
15929
16013
|
},
|
|
15930
16014
|
async LiquidTag(node) {
|
|
15931
|
-
typeof node.markup != "string" || node.name !== INLINE_COMMENT_TAG || determineRanges(file
|
|
16015
|
+
typeof node.markup != "string" || node.name !== INLINE_COMMENT_TAG || determineRanges(file, node.markup, node);
|
|
15932
16016
|
}
|
|
15933
16017
|
})
|
|
15934
16018
|
};
|
|
@@ -15941,6 +16025,20 @@ var require_disabled_checks = __commonJS({
|
|
|
15941
16025
|
};
|
|
15942
16026
|
}
|
|
15943
16027
|
exports2.createDisabledChecksModule = createDisabledChecksModule;
|
|
16028
|
+
function findNextLinePosition(ast, node) {
|
|
16029
|
+
let [currentNode, ancestors] = (0, visitor_1.findCurrentNode)(ast, node.position.end), parentNode = ancestors.at(-1), grandParentNode = ancestors.at(-2), nextNode = getNextNode(parentNode, currentNode);
|
|
16030
|
+
if (!(!nextNode && (parentNode && (nextNode = getNextNode(grandParentNode, parentNode)), !nextNode)))
|
|
16031
|
+
return "blockStartPosition" in nextNode ? nextNode.blockStartPosition : nextNode.position;
|
|
16032
|
+
}
|
|
16033
|
+
exports2.findNextLinePosition = findNextLinePosition;
|
|
16034
|
+
function getNextNode(parentNode, node) {
|
|
16035
|
+
if (!parentNode)
|
|
16036
|
+
return;
|
|
16037
|
+
let siblingNodes = [];
|
|
16038
|
+
parentNode.type === types_1.LiquidHtmlNodeTypes.LiquidTag && Array.isArray(parentNode.markup) ? siblingNodes = parentNode.markup : "children" in parentNode && (siblingNodes = parentNode.children || []);
|
|
16039
|
+
let currentNodeIdx = siblingNodes.findIndex((c) => c === node);
|
|
16040
|
+
return currentNodeIdx === -1 ? void 0 : siblingNodes.at(currentNodeIdx + 1);
|
|
16041
|
+
}
|
|
15944
16042
|
}
|
|
15945
16043
|
});
|
|
15946
16044
|
|
|
@@ -16863,9 +16961,9 @@ globstar while`, file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr)
|
|
|
16863
16961
|
}
|
|
16864
16962
|
});
|
|
16865
16963
|
|
|
16866
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16964
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/ignore.js
|
|
16867
16965
|
var require_ignore = __commonJS({
|
|
16868
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16966
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/ignore.js"(exports2) {
|
|
16869
16967
|
"use strict";
|
|
16870
16968
|
init_cjs_shims();
|
|
16871
16969
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -16885,9 +16983,9 @@ var require_ignore = __commonJS({
|
|
|
16885
16983
|
}
|
|
16886
16984
|
});
|
|
16887
16985
|
|
|
16888
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16986
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/liquid.js
|
|
16889
16987
|
var require_liquid = __commonJS({
|
|
16890
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16988
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/liquid.js"(exports2) {
|
|
16891
16989
|
"use strict";
|
|
16892
16990
|
init_cjs_shims();
|
|
16893
16991
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -16919,9 +17017,9 @@ var require_liquid = __commonJS({
|
|
|
16919
17017
|
}
|
|
16920
17018
|
});
|
|
16921
17019
|
|
|
16922
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17020
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/json.js
|
|
16923
17021
|
var require_json2 = __commonJS({
|
|
16924
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17022
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/json.js"(exports2) {
|
|
16925
17023
|
"use strict";
|
|
16926
17024
|
init_cjs_shims();
|
|
16927
17025
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -16953,9 +17051,9 @@ var require_json2 = __commonJS({
|
|
|
16953
17051
|
}
|
|
16954
17052
|
});
|
|
16955
17053
|
|
|
16956
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17054
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/index.js
|
|
16957
17055
|
var require_visitors = __commonJS({
|
|
16958
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17056
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/index.js"(exports2) {
|
|
16959
17057
|
"use strict";
|
|
16960
17058
|
init_cjs_shims();
|
|
16961
17059
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -16971,9 +17069,9 @@ var require_visitors = __commonJS({
|
|
|
16971
17069
|
}
|
|
16972
17070
|
});
|
|
16973
17071
|
|
|
16974
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17072
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-valid-tags/index.js
|
|
16975
17073
|
var require_app_block_valid_tags = __commonJS({
|
|
16976
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17074
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-valid-tags/index.js"(exports2) {
|
|
16977
17075
|
"use strict";
|
|
16978
17076
|
init_cjs_shims();
|
|
16979
17077
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17013,9 +17111,9 @@ var require_app_block_valid_tags = __commonJS({
|
|
|
17013
17111
|
}
|
|
17014
17112
|
});
|
|
17015
17113
|
|
|
17016
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17114
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/utils.js
|
|
17017
17115
|
var require_utils3 = __commonJS({
|
|
17018
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17116
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/utils.js"(exports2) {
|
|
17019
17117
|
"use strict";
|
|
17020
17118
|
init_cjs_shims();
|
|
17021
17119
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17074,9 +17172,9 @@ var require_utils3 = __commonJS({
|
|
|
17074
17172
|
}
|
|
17075
17173
|
});
|
|
17076
17174
|
|
|
17077
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17175
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-preload/index.js
|
|
17078
17176
|
var require_asset_preload = __commonJS({
|
|
17079
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17177
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-preload/index.js"(exports2) {
|
|
17080
17178
|
"use strict";
|
|
17081
17179
|
init_cjs_shims();
|
|
17082
17180
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17119,9 +17217,9 @@ var require_asset_preload = __commonJS({
|
|
|
17119
17217
|
}
|
|
17120
17218
|
});
|
|
17121
17219
|
|
|
17122
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17220
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-css/index.js
|
|
17123
17221
|
var require_asset_size_app_block_css = __commonJS({
|
|
17124
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17222
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-css/index.js"(exports2) {
|
|
17125
17223
|
"use strict";
|
|
17126
17224
|
init_cjs_shims();
|
|
17127
17225
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17176,9 +17274,9 @@ var require_asset_size_app_block_css = __commonJS({
|
|
|
17176
17274
|
}
|
|
17177
17275
|
});
|
|
17178
17276
|
|
|
17179
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17277
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-javascript/index.js
|
|
17180
17278
|
var require_asset_size_app_block_javascript = __commonJS({
|
|
17181
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17279
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-javascript/index.js"(exports2) {
|
|
17182
17280
|
"use strict";
|
|
17183
17281
|
init_cjs_shims();
|
|
17184
17282
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17233,9 +17331,9 @@ var require_asset_size_app_block_javascript = __commonJS({
|
|
|
17233
17331
|
}
|
|
17234
17332
|
});
|
|
17235
17333
|
|
|
17236
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17334
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-css/index.js
|
|
17237
17335
|
var require_asset_size_css = __commonJS({
|
|
17238
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17336
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-css/index.js"(exports2) {
|
|
17239
17337
|
"use strict";
|
|
17240
17338
|
init_cjs_shims();
|
|
17241
17339
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17325,9 +17423,9 @@ var require_asset_size_css = __commonJS({
|
|
|
17325
17423
|
}
|
|
17326
17424
|
});
|
|
17327
17425
|
|
|
17328
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17426
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-javascript/index.js
|
|
17329
17427
|
var require_asset_size_javascript = __commonJS({
|
|
17330
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17428
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-javascript/index.js"(exports2) {
|
|
17331
17429
|
"use strict";
|
|
17332
17430
|
init_cjs_shims();
|
|
17333
17431
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17416,9 +17514,9 @@ var require_asset_size_javascript = __commonJS({
|
|
|
17416
17514
|
}
|
|
17417
17515
|
});
|
|
17418
17516
|
|
|
17419
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17517
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/block-id-usage/index.js
|
|
17420
17518
|
var require_block_id_usage = __commonJS({
|
|
17421
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17519
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/block-id-usage/index.js"(exports2) {
|
|
17422
17520
|
"use strict";
|
|
17423
17521
|
init_cjs_shims();
|
|
17424
17522
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17469,9 +17567,9 @@ var require_block_id_usage = __commonJS({
|
|
|
17469
17567
|
}
|
|
17470
17568
|
});
|
|
17471
17569
|
|
|
17472
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17570
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/capture-on-content-for-block/index.js
|
|
17473
17571
|
var require_capture_on_content_for_block = __commonJS({
|
|
17474
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17572
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/capture-on-content-for-block/index.js"(exports2) {
|
|
17475
17573
|
"use strict";
|
|
17476
17574
|
init_cjs_shims();
|
|
17477
17575
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17508,9 +17606,9 @@ var require_capture_on_content_for_block = __commonJS({
|
|
|
17508
17606
|
}
|
|
17509
17607
|
});
|
|
17510
17608
|
|
|
17511
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17609
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/cdn-preconnect/index.js
|
|
17512
17610
|
var require_cdn_preconnect = __commonJS({
|
|
17513
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17611
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/cdn-preconnect/index.js"(exports2) {
|
|
17514
17612
|
"use strict";
|
|
17515
17613
|
init_cjs_shims();
|
|
17516
17614
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17545,9 +17643,9 @@ var require_cdn_preconnect = __commonJS({
|
|
|
17545
17643
|
}
|
|
17546
17644
|
});
|
|
17547
17645
|
|
|
17548
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17646
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/content-for-header-modification/index.js
|
|
17549
17647
|
var require_content_for_header_modification = __commonJS({
|
|
17550
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17648
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/content-for-header-modification/index.js"(exports2) {
|
|
17551
17649
|
"use strict";
|
|
17552
17650
|
init_cjs_shims();
|
|
17553
17651
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17603,9 +17701,9 @@ var require_content_for_header_modification = __commonJS({
|
|
|
17603
17701
|
}
|
|
17604
17702
|
});
|
|
17605
17703
|
|
|
17606
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17704
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-bgsizes/index.js
|
|
17607
17705
|
var require_deprecate_bgsizes = __commonJS({
|
|
17608
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17706
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-bgsizes/index.js"(exports2) {
|
|
17609
17707
|
"use strict";
|
|
17610
17708
|
init_cjs_shims();
|
|
17611
17709
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17650,9 +17748,9 @@ var require_deprecate_bgsizes = __commonJS({
|
|
|
17650
17748
|
}
|
|
17651
17749
|
});
|
|
17652
17750
|
|
|
17653
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17751
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-lazysizes/index.js
|
|
17654
17752
|
var require_deprecate_lazysizes = __commonJS({
|
|
17655
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17753
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-lazysizes/index.js"(exports2) {
|
|
17656
17754
|
"use strict";
|
|
17657
17755
|
init_cjs_shims();
|
|
17658
17756
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17693,9 +17791,9 @@ var require_deprecate_lazysizes = __commonJS({
|
|
|
17693
17791
|
}
|
|
17694
17792
|
});
|
|
17695
17793
|
|
|
17696
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17794
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/fixes.js
|
|
17697
17795
|
var require_fixes = __commonJS({
|
|
17698
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17796
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/fixes.js"(exports2) {
|
|
17699
17797
|
"use strict";
|
|
17700
17798
|
init_cjs_shims();
|
|
17701
17799
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17831,9 +17929,9 @@ var require_fixes = __commonJS({
|
|
|
17831
17929
|
}
|
|
17832
17930
|
});
|
|
17833
17931
|
|
|
17834
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17932
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/index.js
|
|
17835
17933
|
var require_deprecated_filter = __commonJS({
|
|
17836
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17934
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/index.js"(exports2) {
|
|
17837
17935
|
"use strict";
|
|
17838
17936
|
init_cjs_shims();
|
|
17839
17937
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17901,9 +17999,9 @@ var require_deprecated_filter = __commonJS({
|
|
|
17901
17999
|
}
|
|
17902
18000
|
});
|
|
17903
18001
|
|
|
17904
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18002
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-tag/index.js
|
|
17905
18003
|
var require_deprecated_tag = __commonJS({
|
|
17906
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18004
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-tag/index.js"(exports2) {
|
|
17907
18005
|
"use strict";
|
|
17908
18006
|
init_cjs_shims();
|
|
17909
18007
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -17950,9 +18048,9 @@ var require_deprecated_tag = __commonJS({
|
|
|
17950
18048
|
}
|
|
17951
18049
|
});
|
|
17952
18050
|
|
|
17953
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18051
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/parse.js
|
|
17954
18052
|
var require_parse2 = __commonJS({
|
|
17955
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18053
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/parse.js"(exports2) {
|
|
17956
18054
|
"use strict";
|
|
17957
18055
|
init_cjs_shims();
|
|
17958
18056
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18038,9 +18136,9 @@ var require_parse2 = __commonJS({
|
|
|
18038
18136
|
}
|
|
18039
18137
|
});
|
|
18040
18138
|
|
|
18041
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18139
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-source-code.js
|
|
18042
18140
|
var require_to_source_code = __commonJS({
|
|
18043
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18141
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-source-code.js"(exports2) {
|
|
18044
18142
|
"use strict";
|
|
18045
18143
|
init_cjs_shims();
|
|
18046
18144
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -18099,58 +18197,9 @@ var require_to_source_code = __commonJS({
|
|
|
18099
18197
|
}
|
|
18100
18198
|
});
|
|
18101
18199
|
|
|
18102
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18103
|
-
var require_visitor = __commonJS({
|
|
18104
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.15.1/node_modules/@shopify/theme-check-common/dist/visitor.js"(exports2) {
|
|
18105
|
-
"use strict";
|
|
18106
|
-
init_cjs_shims();
|
|
18107
|
-
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
18108
|
-
exports2.findCurrentNode = exports2.forEachChildNodes = exports2.visit = void 0;
|
|
18109
|
-
function isNode(x) {
|
|
18110
|
-
return x !== null && typeof x == "object" && typeof x.type == "string";
|
|
18111
|
-
}
|
|
18112
|
-
function visit3(node, visitor) {
|
|
18113
|
-
let results = [], stack = [{ node, lineage: [] }], pushStack = (node2, lineage) => stack.push({ node: node2, lineage });
|
|
18114
|
-
for (; stack.length > 0; ) {
|
|
18115
|
-
let { node: node2, lineage } = stack.pop(), visitNode = visitor[node2.type], result = visitNode ? visitNode(node2, lineage) : void 0;
|
|
18116
|
-
Array.isArray(result) ? results.push(...result) : result !== void 0 && results.push(result), forEachChildNodes(node2, lineage.concat(node2), pushStack);
|
|
18117
|
-
}
|
|
18118
|
-
return results;
|
|
18119
|
-
}
|
|
18120
|
-
exports2.visit = visit3;
|
|
18121
|
-
function forEachChildNodes(node, lineage, execute) {
|
|
18122
|
-
for (let value of Object.values(node))
|
|
18123
|
-
if (Array.isArray(value))
|
|
18124
|
-
for (let i = value.length - 1; i >= 0; i--)
|
|
18125
|
-
execute(value[i], lineage);
|
|
18126
|
-
else isNode(value) && execute(value, lineage);
|
|
18127
|
-
}
|
|
18128
|
-
exports2.forEachChildNodes = forEachChildNodes;
|
|
18129
|
-
function findCurrentNode(ast, cursorPosition) {
|
|
18130
|
-
let prev, current = ast, ancestors = [];
|
|
18131
|
-
for (; current !== prev; )
|
|
18132
|
-
prev = current, forEachChildNodes(current, ancestors.concat(current), (child, lineage) => {
|
|
18133
|
-
(isUnclosed(child) || isCovered(child, cursorPosition) && size(child) <= size(current)) && (current = child, ancestors = lineage);
|
|
18134
|
-
});
|
|
18135
|
-
return [current, ancestors];
|
|
18136
|
-
}
|
|
18137
|
-
exports2.findCurrentNode = findCurrentNode;
|
|
18138
|
-
function isCovered(node, offset) {
|
|
18139
|
-
return node.position.start < offset && offset <= node.position.end;
|
|
18140
|
-
}
|
|
18141
|
-
function size(node) {
|
|
18142
|
-
return node.position.end - node.position.start;
|
|
18143
|
-
}
|
|
18144
|
-
function isUnclosed(node) {
|
|
18145
|
-
var _a40;
|
|
18146
|
-
return "blockEndPosition" in node ? ((_a40 = node.blockEndPosition) === null || _a40 === void 0 ? void 0 : _a40.end) === -1 : "children" in node ? node.children.length > 0 : !1;
|
|
18147
|
-
}
|
|
18148
|
-
}
|
|
18149
|
-
});
|
|
18150
|
-
|
|
18151
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.15.1/node_modules/@shopify/theme-check-common/dist/to-schema.js
|
|
18200
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-schema.js
|
|
18152
18201
|
var require_to_schema = __commonJS({
|
|
18153
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18202
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-schema.js"(exports2) {
|
|
18154
18203
|
"use strict";
|
|
18155
18204
|
init_cjs_shims();
|
|
18156
18205
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -18308,13 +18357,13 @@ var require_to_schema = __commonJS({
|
|
|
18308
18357
|
}
|
|
18309
18358
|
});
|
|
18310
18359
|
|
|
18311
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18360
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/utils.js
|
|
18312
18361
|
var require_utils4 = __commonJS({
|
|
18313
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18362
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/utils.js"(exports2) {
|
|
18314
18363
|
"use strict";
|
|
18315
18364
|
init_cjs_shims();
|
|
18316
18365
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
18317
|
-
exports2.getValidParamTypes = exports2.filePathSupportsLiquidDoc = exports2.isTypeCompatible = exports2.inferArgumentType = exports2.getDefaultValueForType = exports2.SupportedDocTagTypes = exports2.BasicParamTypes = void 0;
|
|
18366
|
+
exports2.parseParamType = exports2.getValidParamTypes = exports2.filePathSupportsLiquidDoc = exports2.isTypeCompatible = exports2.inferArgumentType = exports2.getDefaultValueForType = exports2.SupportedDocTagTypes = exports2.BasicParamTypes = void 0;
|
|
18318
18367
|
var liquid_html_parser_1 = require_dist(), utils_1 = require_utils(), to_schema_1 = require_to_schema(), to_schema_2 = require_to_schema(), BasicParamTypes;
|
|
18319
18368
|
(function(BasicParamTypes2) {
|
|
18320
18369
|
BasicParamTypes2.String = "string", BasicParamTypes2.Number = "number", BasicParamTypes2.Boolean = "boolean", BasicParamTypes2.Object = "object";
|
|
@@ -18376,12 +18425,21 @@ var require_utils4 = __commonJS({
|
|
|
18376
18425
|
return objectEntries.forEach((obj) => paramTypes.set(obj.name, obj.summary || obj.description)), paramTypes;
|
|
18377
18426
|
}
|
|
18378
18427
|
exports2.getValidParamTypes = getValidParamTypes;
|
|
18428
|
+
function parseParamType(validParamTypes, value) {
|
|
18429
|
+
let paramTypeMatch = value.match(/^([a-z_]+)(\[\])?$/);
|
|
18430
|
+
if (!paramTypeMatch)
|
|
18431
|
+
return;
|
|
18432
|
+
let extractedParamType = paramTypeMatch[1], isArrayType = !!paramTypeMatch[2];
|
|
18433
|
+
if (validParamTypes.has(extractedParamType))
|
|
18434
|
+
return [extractedParamType, isArrayType];
|
|
18435
|
+
}
|
|
18436
|
+
exports2.parseParamType = parseParamType;
|
|
18379
18437
|
}
|
|
18380
18438
|
});
|
|
18381
18439
|
|
|
18382
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18440
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/arguments.js
|
|
18383
18441
|
var require_arguments = __commonJS({
|
|
18384
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18442
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/arguments.js"(exports2) {
|
|
18385
18443
|
"use strict";
|
|
18386
18444
|
init_cjs_shims();
|
|
18387
18445
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18526,9 +18584,9 @@ var require_arguments = __commonJS({
|
|
|
18526
18584
|
}
|
|
18527
18585
|
});
|
|
18528
18586
|
|
|
18529
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18587
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-render-snippet-arguments/index.js
|
|
18530
18588
|
var require_duplicate_render_snippet_arguments = __commonJS({
|
|
18531
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18589
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-render-snippet-arguments/index.js"(exports2) {
|
|
18532
18590
|
"use strict";
|
|
18533
18591
|
init_cjs_shims();
|
|
18534
18592
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18568,9 +18626,9 @@ var require_duplicate_render_snippet_arguments = __commonJS({
|
|
|
18568
18626
|
}
|
|
18569
18627
|
});
|
|
18570
18628
|
|
|
18571
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18629
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-content-for-arguments/index.js
|
|
18572
18630
|
var require_duplicate_content_for_arguments = __commonJS({
|
|
18573
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18631
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-content-for-arguments/index.js"(exports2) {
|
|
18574
18632
|
"use strict";
|
|
18575
18633
|
init_cjs_shims();
|
|
18576
18634
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18607,9 +18665,9 @@ var require_duplicate_content_for_arguments = __commonJS({
|
|
|
18607
18665
|
}
|
|
18608
18666
|
});
|
|
18609
18667
|
|
|
18610
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18668
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/empty-block-content/index.js
|
|
18611
18669
|
var require_empty_block_content = __commonJS({
|
|
18612
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18670
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/empty-block-content/index.js"(exports2) {
|
|
18613
18671
|
"use strict";
|
|
18614
18672
|
init_cjs_shims();
|
|
18615
18673
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18659,9 +18717,9 @@ var require_empty_block_content = __commonJS({
|
|
|
18659
18717
|
}
|
|
18660
18718
|
});
|
|
18661
18719
|
|
|
18662
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18720
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/img-width-and-height/index.js
|
|
18663
18721
|
var require_img_width_and_height = __commonJS({
|
|
18664
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18722
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/img-width-and-height/index.js"(exports2) {
|
|
18665
18723
|
"use strict";
|
|
18666
18724
|
init_cjs_shims();
|
|
18667
18725
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18702,9 +18760,9 @@ var require_img_width_and_height = __commonJS({
|
|
|
18702
18760
|
}
|
|
18703
18761
|
});
|
|
18704
18762
|
|
|
18705
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18763
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/missing-block-utils.js
|
|
18706
18764
|
var require_missing_block_utils = __commonJS({
|
|
18707
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18765
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/missing-block-utils.js"(exports2) {
|
|
18708
18766
|
"use strict";
|
|
18709
18767
|
init_cjs_shims();
|
|
18710
18768
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18743,19 +18801,23 @@ var require_missing_block_utils = __commonJS({
|
|
|
18743
18801
|
!("name" in block) && block.type !== "@app" && themeBlocks.push(block.type);
|
|
18744
18802
|
}), themeBlocks;
|
|
18745
18803
|
}
|
|
18746
|
-
async function validateBlock(blockType, blockPath, ancestorType, currentPath, offset, context) {
|
|
18804
|
+
async function validateBlock(blockType, blockStatic, blockPath, ancestorType, currentPath, offset, context) {
|
|
18747
18805
|
let themeBlocks = await getThemeBlocks(ancestorType, currentPath, context);
|
|
18748
18806
|
if (themeBlocks.length === 0)
|
|
18749
18807
|
return;
|
|
18750
18808
|
if (!await validateBlockFileExistence(blockType, context))
|
|
18751
18809
|
reportWarning(`Theme block 'blocks/${blockType}.liquid' does not exist.`, offset, blockPath, context);
|
|
18752
18810
|
else {
|
|
18753
|
-
|
|
18754
|
-
if (isPrivateBlock ? isPresetInRootLevel : isPresetInRootLevel || isThemeInRootLevel)
|
|
18811
|
+
if (blockStatic)
|
|
18755
18812
|
return;
|
|
18756
18813
|
{
|
|
18757
|
-
let
|
|
18758
|
-
|
|
18814
|
+
let isPrivateBlock = blockType.startsWith("_"), schemaIncludesAtTheme = themeBlocks.includes("@theme"), schemaIncludesBlockType = themeBlocks.includes(blockType);
|
|
18815
|
+
if (isPrivateBlock ? schemaIncludesBlockType : schemaIncludesBlockType || schemaIncludesAtTheme)
|
|
18816
|
+
return;
|
|
18817
|
+
{
|
|
18818
|
+
let location2 = isNestedBlock(currentPath) ? "blocks" : "sections";
|
|
18819
|
+
reportWarning(`Block type '${blockType}' is not allowed in '${location2}/${ancestorType}.liquid'.`, offset, blockPath, context);
|
|
18820
|
+
}
|
|
18759
18821
|
}
|
|
18760
18822
|
}
|
|
18761
18823
|
}
|
|
@@ -18763,7 +18825,7 @@ var require_missing_block_utils = __commonJS({
|
|
|
18763
18825
|
await Promise.all(Object.entries(blocks2).map(async ([blockKey, block]) => {
|
|
18764
18826
|
if (block.type) {
|
|
18765
18827
|
let typePath = currentPath.concat(blockKey, "type"), blockPath = (0, json_1.nodeAtPath)(ast, typePath);
|
|
18766
|
-
blockPath && await validateBlock(block.type, blockPath, ancestorType, currentPath, offset, context);
|
|
18828
|
+
blockPath && await validateBlock(block.type, block.static, blockPath, ancestorType, currentPath, offset, context);
|
|
18767
18829
|
}
|
|
18768
18830
|
"blocks" in block && await getAllBlocks(ast, offset, block.type, block.blocks, currentPath.concat(blockKey, "blocks"), context);
|
|
18769
18831
|
}));
|
|
@@ -18772,9 +18834,9 @@ var require_missing_block_utils = __commonJS({
|
|
|
18772
18834
|
}
|
|
18773
18835
|
});
|
|
18774
18836
|
|
|
18775
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18837
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/index.js
|
|
18776
18838
|
var require_json_missing_block = __commonJS({
|
|
18777
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18839
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/index.js"(exports2) {
|
|
18778
18840
|
"use strict";
|
|
18779
18841
|
init_cjs_shims();
|
|
18780
18842
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18811,9 +18873,9 @@ var require_json_missing_block = __commonJS({
|
|
|
18811
18873
|
}
|
|
18812
18874
|
});
|
|
18813
18875
|
|
|
18814
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18876
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-syntax-error/index.js
|
|
18815
18877
|
var require_json_syntax_error = __commonJS({
|
|
18816
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18878
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-syntax-error/index.js"(exports2) {
|
|
18817
18879
|
"use strict";
|
|
18818
18880
|
init_cjs_shims();
|
|
18819
18881
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18901,9 +18963,9 @@ var require_json_syntax_error = __commonJS({
|
|
|
18901
18963
|
}
|
|
18902
18964
|
});
|
|
18903
18965
|
|
|
18904
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18966
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-free-settings/index.js
|
|
18905
18967
|
var require_liquid_free_settings = __commonJS({
|
|
18906
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18968
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-free-settings/index.js"(exports2) {
|
|
18907
18969
|
"use strict";
|
|
18908
18970
|
init_cjs_shims();
|
|
18909
18971
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -18958,9 +19020,9 @@ var require_liquid_free_settings = __commonJS({
|
|
|
18958
19020
|
}
|
|
18959
19021
|
});
|
|
18960
19022
|
|
|
18961
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19023
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-html-syntax-error/index.js
|
|
18962
19024
|
var require_liquid_html_syntax_error = __commonJS({
|
|
18963
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19025
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-html-syntax-error/index.js"(exports2) {
|
|
18964
19026
|
"use strict";
|
|
18965
19027
|
init_cjs_shims();
|
|
18966
19028
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19012,9 +19074,9 @@ var require_liquid_html_syntax_error = __commonJS({
|
|
|
19012
19074
|
}
|
|
19013
19075
|
});
|
|
19014
19076
|
|
|
19015
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19077
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/matching-translations/index.js
|
|
19016
19078
|
var require_matching_translations = __commonJS({
|
|
19017
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19079
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/matching-translations/index.js"(exports2) {
|
|
19018
19080
|
"use strict";
|
|
19019
19081
|
init_cjs_shims();
|
|
19020
19082
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19107,9 +19169,9 @@ var require_matching_translations = __commonJS({
|
|
|
19107
19169
|
}
|
|
19108
19170
|
});
|
|
19109
19171
|
|
|
19110
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19172
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-asset/index.js
|
|
19111
19173
|
var require_missing_asset = __commonJS({
|
|
19112
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19174
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-asset/index.js"(exports2) {
|
|
19113
19175
|
"use strict";
|
|
19114
19176
|
init_cjs_shims();
|
|
19115
19177
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19147,9 +19209,9 @@ var require_missing_asset = __commonJS({
|
|
|
19147
19209
|
}
|
|
19148
19210
|
});
|
|
19149
19211
|
|
|
19150
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19212
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-content-for-arguments/index.js
|
|
19151
19213
|
var require_missing_content_for_arguments = __commonJS({
|
|
19152
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19214
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-content-for-arguments/index.js"(exports2) {
|
|
19153
19215
|
"use strict";
|
|
19154
19216
|
init_cjs_shims();
|
|
19155
19217
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19187,9 +19249,9 @@ var require_missing_content_for_arguments = __commonJS({
|
|
|
19187
19249
|
}
|
|
19188
19250
|
});
|
|
19189
19251
|
|
|
19190
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19252
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-render-snippet-arguments/index.js
|
|
19191
19253
|
var require_missing_render_snippet_arguments = __commonJS({
|
|
19192
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19254
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-render-snippet-arguments/index.js"(exports2) {
|
|
19193
19255
|
"use strict";
|
|
19194
19256
|
init_cjs_shims();
|
|
19195
19257
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19231,9 +19293,9 @@ var require_missing_render_snippet_arguments = __commonJS({
|
|
|
19231
19293
|
}
|
|
19232
19294
|
});
|
|
19233
19295
|
|
|
19234
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19296
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-template/index.js
|
|
19235
19297
|
var require_missing_template = __commonJS({
|
|
19236
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19298
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-template/index.js"(exports2) {
|
|
19237
19299
|
"use strict";
|
|
19238
19300
|
init_cjs_shims();
|
|
19239
19301
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19286,9 +19348,9 @@ var require_missing_template = __commonJS({
|
|
|
19286
19348
|
}
|
|
19287
19349
|
});
|
|
19288
19350
|
|
|
19289
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19351
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/pagination-size/index.js
|
|
19290
19352
|
var require_pagination_size = __commonJS({
|
|
19291
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19353
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/pagination-size/index.js"(exports2) {
|
|
19292
19354
|
"use strict";
|
|
19293
19355
|
init_cjs_shims();
|
|
19294
19356
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19360,9 +19422,9 @@ var require_pagination_size = __commonJS({
|
|
|
19360
19422
|
}
|
|
19361
19423
|
});
|
|
19362
19424
|
|
|
19363
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19425
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/suggestions.js
|
|
19364
19426
|
var require_suggestions = __commonJS({
|
|
19365
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19427
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/suggestions.js"(exports2) {
|
|
19366
19428
|
"use strict";
|
|
19367
19429
|
init_cjs_shims();
|
|
19368
19430
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19386,9 +19448,9 @@ var require_suggestions = __commonJS({
|
|
|
19386
19448
|
}
|
|
19387
19449
|
});
|
|
19388
19450
|
|
|
19389
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19451
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/index.js
|
|
19390
19452
|
var require_parser_blocking_script = __commonJS({
|
|
19391
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19453
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/index.js"(exports2) {
|
|
19392
19454
|
"use strict";
|
|
19393
19455
|
init_cjs_shims();
|
|
19394
19456
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19444,9 +19506,9 @@ var require_parser_blocking_script = __commonJS({
|
|
|
19444
19506
|
}
|
|
19445
19507
|
});
|
|
19446
19508
|
|
|
19447
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19509
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-block-order/index.js
|
|
19448
19510
|
var require_schema_presets_block_order = __commonJS({
|
|
19449
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19511
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-block-order/index.js"(exports2) {
|
|
19450
19512
|
"use strict";
|
|
19451
19513
|
init_cjs_shims();
|
|
19452
19514
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19519,9 +19581,9 @@ var require_schema_presets_block_order = __commonJS({
|
|
|
19519
19581
|
}
|
|
19520
19582
|
});
|
|
19521
19583
|
|
|
19522
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19584
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/markup.js
|
|
19523
19585
|
var require_markup = __commonJS({
|
|
19524
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19586
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/markup.js"(exports2) {
|
|
19525
19587
|
"use strict";
|
|
19526
19588
|
init_cjs_shims();
|
|
19527
19589
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19533,9 +19595,9 @@ var require_markup = __commonJS({
|
|
|
19533
19595
|
}
|
|
19534
19596
|
});
|
|
19535
19597
|
|
|
19536
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19598
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-static-blocks/index.js
|
|
19537
19599
|
var require_schema_presets_static_blocks = __commonJS({
|
|
19538
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19600
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-static-blocks/index.js"(exports2) {
|
|
19539
19601
|
"use strict";
|
|
19540
19602
|
init_cjs_shims();
|
|
19541
19603
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19623,9 +19685,9 @@ var require_schema_presets_static_blocks = __commonJS({
|
|
|
19623
19685
|
}
|
|
19624
19686
|
});
|
|
19625
19687
|
|
|
19626
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19688
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/remote-asset/index.js
|
|
19627
19689
|
var require_remote_asset = __commonJS({
|
|
19628
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19690
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/remote-asset/index.js"(exports2) {
|
|
19629
19691
|
"use strict";
|
|
19630
19692
|
init_cjs_shims();
|
|
19631
19693
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19648,6 +19710,8 @@ var require_remote_asset = __commonJS({
|
|
|
19648
19710
|
return typeof node != "string" && node.type === types_1.LiquidHtmlNodeTypes.LiquidVariable;
|
|
19649
19711
|
}
|
|
19650
19712
|
function isUrlHostedbyShopify(url, allowedDomains = []) {
|
|
19713
|
+
if (/^\/cdn\//.test(url))
|
|
19714
|
+
return !0;
|
|
19651
19715
|
try {
|
|
19652
19716
|
let urlObj = new URL(url);
|
|
19653
19717
|
return [...SHOPIFY_CDN_DOMAINS, ...allowedDomains].includes(urlObj.hostname);
|
|
@@ -19757,9 +19821,9 @@ var require_remote_asset = __commonJS({
|
|
|
19757
19821
|
}
|
|
19758
19822
|
});
|
|
19759
19823
|
|
|
19760
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19824
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/required-layout-theme-object/index.js
|
|
19761
19825
|
var require_required_layout_theme_object = __commonJS({
|
|
19762
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19826
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/required-layout-theme-object/index.js"(exports2) {
|
|
19763
19827
|
"use strict";
|
|
19764
19828
|
init_cjs_shims();
|
|
19765
19829
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19812,9 +19876,9 @@ var require_required_layout_theme_object = __commonJS({
|
|
|
19812
19876
|
}
|
|
19813
19877
|
});
|
|
19814
19878
|
|
|
19815
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19879
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/tags/content-for.js
|
|
19816
19880
|
var require_content_for = __commonJS({
|
|
19817
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19881
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/tags/content-for.js"(exports2) {
|
|
19818
19882
|
"use strict";
|
|
19819
19883
|
init_cjs_shims();
|
|
19820
19884
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19845,9 +19909,9 @@ var require_content_for = __commonJS({
|
|
|
19845
19909
|
}
|
|
19846
19910
|
});
|
|
19847
19911
|
|
|
19848
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19912
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/reserved-doc-param-names/index.js
|
|
19849
19913
|
var require_reserved_doc_param_names = __commonJS({
|
|
19850
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19914
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/reserved-doc-param-names/index.js"(exports2) {
|
|
19851
19915
|
"use strict";
|
|
19852
19916
|
init_cjs_shims();
|
|
19853
19917
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19892,9 +19956,9 @@ var require_reserved_doc_param_names = __commonJS({
|
|
|
19892
19956
|
}
|
|
19893
19957
|
});
|
|
19894
19958
|
|
|
19895
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19959
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/translation-key-exists/index.js
|
|
19896
19960
|
var require_translation_key_exists = __commonJS({
|
|
19897
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19961
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/translation-key-exists/index.js"(exports2) {
|
|
19898
19962
|
"use strict";
|
|
19899
19963
|
init_cjs_shims();
|
|
19900
19964
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -19959,9 +20023,9 @@ var require_translation_key_exists = __commonJS({
|
|
|
19959
20023
|
}
|
|
19960
20024
|
});
|
|
19961
20025
|
|
|
19962
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20026
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unclosed-html-element/index.js
|
|
19963
20027
|
var require_unclosed_html_element = __commonJS({
|
|
19964
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20028
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unclosed-html-element/index.js"(exports2) {
|
|
19965
20029
|
"use strict";
|
|
19966
20030
|
init_cjs_shims();
|
|
19967
20031
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20115,9 +20179,9 @@ var require_unclosed_html_element = __commonJS({
|
|
|
20115
20179
|
}
|
|
20116
20180
|
});
|
|
20117
20181
|
|
|
20118
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20182
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/liquidDoc.js
|
|
20119
20183
|
var require_liquidDoc = __commonJS({
|
|
20120
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20184
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/liquidDoc.js"(exports2) {
|
|
20121
20185
|
"use strict";
|
|
20122
20186
|
init_cjs_shims();
|
|
20123
20187
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20198,9 +20262,9 @@ var require_liquidDoc = __commonJS({
|
|
|
20198
20262
|
}
|
|
20199
20263
|
});
|
|
20200
20264
|
|
|
20201
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20265
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/undefined-object/index.js
|
|
20202
20266
|
var require_undefined_object = __commonJS({
|
|
20203
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20267
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/undefined-object/index.js"(exports2) {
|
|
20204
20268
|
"use strict";
|
|
20205
20269
|
init_cjs_shims();
|
|
20206
20270
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20335,9 +20399,9 @@ var require_undefined_object = __commonJS({
|
|
|
20335
20399
|
}
|
|
20336
20400
|
});
|
|
20337
20401
|
|
|
20338
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20402
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-doc-param-names/index.js
|
|
20339
20403
|
var require_unique_doc_param_names = __commonJS({
|
|
20340
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20404
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-doc-param-names/index.js"(exports2) {
|
|
20341
20405
|
"use strict";
|
|
20342
20406
|
init_cjs_shims();
|
|
20343
20407
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20378,9 +20442,9 @@ var require_unique_doc_param_names = __commonJS({
|
|
|
20378
20442
|
}
|
|
20379
20443
|
});
|
|
20380
20444
|
|
|
20381
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20445
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-static-block-id/index.js
|
|
20382
20446
|
var require_unique_static_block_id = __commonJS({
|
|
20383
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20447
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-static-block-id/index.js"(exports2) {
|
|
20384
20448
|
"use strict";
|
|
20385
20449
|
init_cjs_shims();
|
|
20386
20450
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20426,9 +20490,9 @@ var require_unique_static_block_id = __commonJS({
|
|
|
20426
20490
|
}
|
|
20427
20491
|
});
|
|
20428
20492
|
|
|
20429
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20493
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unknown-filter/index.js
|
|
20430
20494
|
var require_unknown_filter = __commonJS({
|
|
20431
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20495
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unknown-filter/index.js"(exports2) {
|
|
20432
20496
|
"use strict";
|
|
20433
20497
|
init_cjs_shims();
|
|
20434
20498
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20463,9 +20527,9 @@ var require_unknown_filter = __commonJS({
|
|
|
20463
20527
|
}
|
|
20464
20528
|
});
|
|
20465
20529
|
|
|
20466
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20530
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-content-for-arguments/index.js
|
|
20467
20531
|
var require_unrecognized_content_for_arguments = __commonJS({
|
|
20468
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20532
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-content-for-arguments/index.js"(exports2) {
|
|
20469
20533
|
"use strict";
|
|
20470
20534
|
init_cjs_shims();
|
|
20471
20535
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20507,9 +20571,9 @@ var require_unrecognized_content_for_arguments = __commonJS({
|
|
|
20507
20571
|
}
|
|
20508
20572
|
});
|
|
20509
20573
|
|
|
20510
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20574
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-render-snippet-arguments/index.js
|
|
20511
20575
|
var require_unrecognized_render_snippet_arguments = __commonJS({
|
|
20512
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20576
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-render-snippet-arguments/index.js"(exports2) {
|
|
20513
20577
|
"use strict";
|
|
20514
20578
|
init_cjs_shims();
|
|
20515
20579
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20568,9 +20632,9 @@ var require_unrecognized_render_snippet_arguments = __commonJS({
|
|
|
20568
20632
|
}
|
|
20569
20633
|
});
|
|
20570
20634
|
|
|
20571
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20635
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-assign/index.js
|
|
20572
20636
|
var require_unused_assign = __commonJS({
|
|
20573
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20637
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-assign/index.js"(exports2) {
|
|
20574
20638
|
"use strict";
|
|
20575
20639
|
init_cjs_shims();
|
|
20576
20640
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20607,8 +20671,8 @@ var require_unused_assign = __commonJS({
|
|
|
20607
20671
|
for (let [variable, node] of assignedVariables.entries())
|
|
20608
20672
|
!usedVariables.has(variable) && !variable.startsWith("_") && context.report({
|
|
20609
20673
|
message: `The variable '${variable}' is assigned but not used`,
|
|
20610
|
-
startIndex: node.position.start,
|
|
20611
|
-
endIndex: node.position.end,
|
|
20674
|
+
startIndex: isLiquidTagCapture(node) ? node.blockStartPosition.start : node.position.start,
|
|
20675
|
+
endIndex: isLiquidTagCapture(node) ? node.blockStartPosition.end : node.position.end,
|
|
20612
20676
|
suggest: [
|
|
20613
20677
|
{
|
|
20614
20678
|
message: `Remove the unused variable '${variable}'`,
|
|
@@ -20629,9 +20693,9 @@ var require_unused_assign = __commonJS({
|
|
|
20629
20693
|
}
|
|
20630
20694
|
});
|
|
20631
20695
|
|
|
20632
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20696
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unsupported-doc-tag/index.js
|
|
20633
20697
|
var require_unsupported_doc_tag = __commonJS({
|
|
20634
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20698
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unsupported-doc-tag/index.js"(exports2) {
|
|
20635
20699
|
"use strict";
|
|
20636
20700
|
init_cjs_shims();
|
|
20637
20701
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20673,9 +20737,9 @@ var require_unsupported_doc_tag = __commonJS({
|
|
|
20673
20737
|
}
|
|
20674
20738
|
});
|
|
20675
20739
|
|
|
20676
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20740
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-doc-param/index.js
|
|
20677
20741
|
var require_unused_doc_param = __commonJS({
|
|
20678
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20742
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-doc-param/index.js"(exports2) {
|
|
20679
20743
|
"use strict";
|
|
20680
20744
|
init_cjs_shims();
|
|
20681
20745
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20724,9 +20788,9 @@ var require_unused_doc_param = __commonJS({
|
|
|
20724
20788
|
}
|
|
20725
20789
|
});
|
|
20726
20790
|
|
|
20727
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20791
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-arguments/index.js
|
|
20728
20792
|
var require_valid_content_for_arguments = __commonJS({
|
|
20729
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20793
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-arguments/index.js"(exports2) {
|
|
20730
20794
|
"use strict";
|
|
20731
20795
|
init_cjs_shims();
|
|
20732
20796
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20799,9 +20863,9 @@ var require_valid_content_for_arguments = __commonJS({
|
|
|
20799
20863
|
}
|
|
20800
20864
|
});
|
|
20801
20865
|
|
|
20802
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20866
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-argument-types/index.js
|
|
20803
20867
|
var require_valid_content_for_argument_types = __commonJS({
|
|
20804
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20868
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-argument-types/index.js"(exports2) {
|
|
20805
20869
|
"use strict";
|
|
20806
20870
|
init_cjs_shims();
|
|
20807
20871
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20839,9 +20903,9 @@ var require_valid_content_for_argument_types = __commonJS({
|
|
|
20839
20903
|
}
|
|
20840
20904
|
});
|
|
20841
20905
|
|
|
20842
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20906
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-block-target/index.js
|
|
20843
20907
|
var require_valid_block_target = __commonJS({
|
|
20844
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20908
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-block-target/index.js"(exports2) {
|
|
20845
20909
|
"use strict";
|
|
20846
20910
|
init_cjs_shims();
|
|
20847
20911
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20899,9 +20963,9 @@ var require_valid_block_target = __commonJS({
|
|
|
20899
20963
|
}
|
|
20900
20964
|
});
|
|
20901
20965
|
|
|
20902
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20966
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-html-translation/index.js
|
|
20903
20967
|
var require_valid_html_translation = __commonJS({
|
|
20904
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20968
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-html-translation/index.js"(exports2) {
|
|
20905
20969
|
"use strict";
|
|
20906
20970
|
init_cjs_shims();
|
|
20907
20971
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20943,9 +21007,9 @@ var require_valid_html_translation = __commonJS({
|
|
|
20943
21007
|
}
|
|
20944
21008
|
});
|
|
20945
21009
|
|
|
20946
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21010
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-json/index.js
|
|
20947
21011
|
var require_valid_json = __commonJS({
|
|
20948
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21012
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-json/index.js"(exports2) {
|
|
20949
21013
|
"use strict";
|
|
20950
21014
|
init_cjs_shims();
|
|
20951
21015
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -20983,9 +21047,9 @@ var require_valid_json = __commonJS({
|
|
|
20983
21047
|
}
|
|
20984
21048
|
});
|
|
20985
21049
|
|
|
20986
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21050
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-names/index.js
|
|
20987
21051
|
var require_valid_doc_param_names = __commonJS({
|
|
20988
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21052
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-names/index.js"(exports2) {
|
|
20989
21053
|
"use strict";
|
|
20990
21054
|
init_cjs_shims();
|
|
20991
21055
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21006,17 +21070,13 @@ var require_valid_doc_param_names = __commonJS({
|
|
|
21006
21070
|
targets: []
|
|
21007
21071
|
},
|
|
21008
21072
|
create(context) {
|
|
21009
|
-
var _a40
|
|
21010
|
-
let tagsPromise = (_a40 = context.themeDocset) === null || _a40 === void 0 ? void 0 : _a40.tags()
|
|
21011
|
-
function isGlobal(object) {
|
|
21012
|
-
var _a41, _b2;
|
|
21013
|
-
return !object.access || ((_a41 = object.access) === null || _a41 === void 0 ? void 0 : _a41.global) === !0 || ((_b2 = object.access) === null || _b2 === void 0 ? void 0 : _b2.template.length) > 0;
|
|
21014
|
-
}
|
|
21073
|
+
var _a40;
|
|
21074
|
+
let tagsPromise = (_a40 = context.themeDocset) === null || _a40 === void 0 ? void 0 : _a40.tags();
|
|
21015
21075
|
return {
|
|
21016
21076
|
async LiquidDocParamNode(node) {
|
|
21017
|
-
var _a41
|
|
21018
|
-
let paramName = node.paramName.value
|
|
21019
|
-
|
|
21077
|
+
var _a41;
|
|
21078
|
+
let paramName = node.paramName.value;
|
|
21079
|
+
(((_a41 = await tagsPromise) === null || _a41 === void 0 ? void 0 : _a41.map((tag) => tag.name)) || []).includes(paramName) && reportWarning(context, `The parameter '${paramName}' shares the same name with a liquid tag.`, node.paramName);
|
|
21020
21080
|
}
|
|
21021
21081
|
};
|
|
21022
21082
|
}
|
|
@@ -21031,9 +21091,9 @@ var require_valid_doc_param_names = __commonJS({
|
|
|
21031
21091
|
}
|
|
21032
21092
|
});
|
|
21033
21093
|
|
|
21034
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21094
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-types/index.js
|
|
21035
21095
|
var require_valid_doc_param_types = __commonJS({
|
|
21036
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21096
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-types/index.js"(exports2) {
|
|
21037
21097
|
"use strict";
|
|
21038
21098
|
init_cjs_shims();
|
|
21039
21099
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21054,15 +21114,16 @@ var require_valid_doc_param_types = __commonJS({
|
|
|
21054
21114
|
targets: []
|
|
21055
21115
|
},
|
|
21056
21116
|
create(context) {
|
|
21057
|
-
|
|
21117
|
+
if (!context.themeDocset)
|
|
21118
|
+
return {};
|
|
21119
|
+
let validParamTypesPromise = context.themeDocset.liquidDrops().then((entries) => new Set((0, utils_1.getValidParamTypes)(entries).keys()));
|
|
21120
|
+
return {
|
|
21058
21121
|
async LiquidDocParamNode(node) {
|
|
21059
|
-
|
|
21060
|
-
return;
|
|
21061
|
-
let objectEntries = await context.themeDocset.objects();
|
|
21062
|
-
(0, utils_1.getValidParamTypes)(objectEntries).has(node.paramType.value) || context.report({
|
|
21122
|
+
!node.paramType || (0, utils_1.parseParamType)(await validParamTypesPromise, node.paramType.value) || context.report({
|
|
21063
21123
|
message: `The parameter type '${node.paramType.value}' is not supported.`,
|
|
21064
|
-
|
|
21065
|
-
|
|
21124
|
+
// Index is offset to include the curly brackets around the param type
|
|
21125
|
+
startIndex: node.paramType.position.start - 1,
|
|
21126
|
+
endIndex: node.paramType.position.end + 1,
|
|
21066
21127
|
suggest: [
|
|
21067
21128
|
{
|
|
21068
21129
|
message: "Remove invalid parameter type",
|
|
@@ -21070,7 +21131,7 @@ var require_valid_doc_param_types = __commonJS({
|
|
|
21070
21131
|
node.paramType && corrector.replace(node.position.start, node.position.end, node.source.slice(node.position.start, node.position.end).replace(
|
|
21071
21132
|
// We could have padded spaces around + inside the param type
|
|
21072
21133
|
// e.g. `{ string }`, `{string}`, or ` { string } `
|
|
21073
|
-
|
|
21134
|
+
/\s*\{\s*[^\s]+\s*\}\s*/,
|
|
21074
21135
|
" "
|
|
21075
21136
|
));
|
|
21076
21137
|
}
|
|
@@ -21078,15 +21139,15 @@ var require_valid_doc_param_types = __commonJS({
|
|
|
21078
21139
|
]
|
|
21079
21140
|
});
|
|
21080
21141
|
}
|
|
21081
|
-
}
|
|
21142
|
+
};
|
|
21082
21143
|
}
|
|
21083
21144
|
};
|
|
21084
21145
|
}
|
|
21085
21146
|
});
|
|
21086
21147
|
|
|
21087
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21148
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/valid-block-utils.js
|
|
21088
21149
|
var require_valid_block_utils = __commonJS({
|
|
21089
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21150
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/valid-block-utils.js"(exports2) {
|
|
21090
21151
|
"use strict";
|
|
21091
21152
|
init_cjs_shims();
|
|
21092
21153
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21131,9 +21192,9 @@ var require_valid_block_utils = __commonJS({
|
|
|
21131
21192
|
}
|
|
21132
21193
|
});
|
|
21133
21194
|
|
|
21134
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21195
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/index.js
|
|
21135
21196
|
var require_valid_local_blocks = __commonJS({
|
|
21136
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21197
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/index.js"(exports2) {
|
|
21137
21198
|
"use strict";
|
|
21138
21199
|
init_cjs_shims();
|
|
21139
21200
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21179,9 +21240,9 @@ var require_valid_local_blocks = __commonJS({
|
|
|
21179
21240
|
}
|
|
21180
21241
|
});
|
|
21181
21242
|
|
|
21182
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21243
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-render-snippet-argument-types/index.js
|
|
21183
21244
|
var require_valid_render_snippet_argument_types = __commonJS({
|
|
21184
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21245
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-render-snippet-argument-types/index.js"(exports2) {
|
|
21185
21246
|
"use strict";
|
|
21186
21247
|
init_cjs_shims();
|
|
21187
21248
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21239,9 +21300,9 @@ var require_valid_render_snippet_argument_types = __commonJS({
|
|
|
21239
21300
|
}
|
|
21240
21301
|
});
|
|
21241
21302
|
|
|
21242
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21303
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema/index.js
|
|
21243
21304
|
var require_valid_schema = __commonJS({
|
|
21244
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21305
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema/index.js"(exports2) {
|
|
21245
21306
|
"use strict";
|
|
21246
21307
|
init_cjs_shims();
|
|
21247
21308
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21281,9 +21342,9 @@ var require_valid_schema = __commonJS({
|
|
|
21281
21342
|
}
|
|
21282
21343
|
});
|
|
21283
21344
|
|
|
21284
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21345
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema-name/index.js
|
|
21285
21346
|
var require_valid_schema_name = __commonJS({
|
|
21286
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21347
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema-name/index.js"(exports2) {
|
|
21287
21348
|
"use strict";
|
|
21288
21349
|
init_cjs_shims();
|
|
21289
21350
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21338,9 +21399,9 @@ var require_valid_schema_name = __commonJS({
|
|
|
21338
21399
|
}
|
|
21339
21400
|
});
|
|
21340
21401
|
|
|
21341
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21402
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-settings-key/index.js
|
|
21342
21403
|
var require_valid_settings_key = __commonJS({
|
|
21343
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21404
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-settings-key/index.js"(exports2) {
|
|
21344
21405
|
"use strict";
|
|
21345
21406
|
init_cjs_shims();
|
|
21346
21407
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21418,9 +21479,9 @@ var require_valid_settings_key = __commonJS({
|
|
|
21418
21479
|
}
|
|
21419
21480
|
});
|
|
21420
21481
|
|
|
21421
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21482
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-static-block-type/index.js
|
|
21422
21483
|
var require_valid_static_block_type = __commonJS({
|
|
21423
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21484
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-static-block-type/index.js"(exports2) {
|
|
21424
21485
|
"use strict";
|
|
21425
21486
|
init_cjs_shims();
|
|
21426
21487
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21465,9 +21526,9 @@ var require_valid_static_block_type = __commonJS({
|
|
|
21465
21526
|
}
|
|
21466
21527
|
});
|
|
21467
21528
|
|
|
21468
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21529
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/find-root.js
|
|
21469
21530
|
var require_find_root = __commonJS({
|
|
21470
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21531
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/find-root.js"(exports2) {
|
|
21471
21532
|
"use strict";
|
|
21472
21533
|
init_cjs_shims();
|
|
21473
21534
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -21522,9 +21583,9 @@ var require_find_root = __commonJS({
|
|
|
21522
21583
|
}
|
|
21523
21584
|
});
|
|
21524
21585
|
|
|
21525
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21586
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/visible-if-utils.js
|
|
21526
21587
|
var require_visible_if_utils = __commonJS({
|
|
21527
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21588
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/visible-if-utils.js"(exports2) {
|
|
21528
21589
|
"use strict";
|
|
21529
21590
|
init_cjs_shims();
|
|
21530
21591
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -21608,9 +21669,9 @@ var require_visible_if_utils = __commonJS({
|
|
|
21608
21669
|
}
|
|
21609
21670
|
});
|
|
21610
21671
|
|
|
21611
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21672
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/index.js
|
|
21612
21673
|
var require_valid_visible_if = __commonJS({
|
|
21613
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21674
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/index.js"(exports2) {
|
|
21614
21675
|
"use strict";
|
|
21615
21676
|
init_cjs_shims();
|
|
21616
21677
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22147,9 +22208,9 @@ var require_snakeCase = __commonJS({
|
|
|
22147
22208
|
}
|
|
22148
22209
|
});
|
|
22149
22210
|
|
|
22150
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22211
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/variable-name/index.js
|
|
22151
22212
|
var require_variable_name = __commonJS({
|
|
22152
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22213
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/variable-name/index.js"(exports2) {
|
|
22153
22214
|
"use strict";
|
|
22154
22215
|
init_cjs_shims();
|
|
22155
22216
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -22217,9 +22278,9 @@ var require_variable_name = __commonJS({
|
|
|
22217
22278
|
}
|
|
22218
22279
|
});
|
|
22219
22280
|
|
|
22220
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22281
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-missing-schema/index.js
|
|
22221
22282
|
var require_app_block_missing_schema = __commonJS({
|
|
22222
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22283
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-missing-schema/index.js"(exports2) {
|
|
22223
22284
|
"use strict";
|
|
22224
22285
|
init_cjs_shims();
|
|
22225
22286
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22258,9 +22319,9 @@ var require_app_block_missing_schema = __commonJS({
|
|
|
22258
22319
|
}
|
|
22259
22320
|
});
|
|
22260
22321
|
|
|
22261
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22322
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-settings-id/index.js
|
|
22262
22323
|
var require_unique_settings_id = __commonJS({
|
|
22263
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22324
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-settings-id/index.js"(exports2) {
|
|
22264
22325
|
"use strict";
|
|
22265
22326
|
init_cjs_shims();
|
|
22266
22327
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22320,9 +22381,9 @@ var require_unique_settings_id = __commonJS({
|
|
|
22320
22381
|
}
|
|
22321
22382
|
});
|
|
22322
22383
|
|
|
22323
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22384
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/index.js
|
|
22324
22385
|
var require_checks = __commonJS({
|
|
22325
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22386
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/index.js"(exports2) {
|
|
22326
22387
|
"use strict";
|
|
22327
22388
|
init_cjs_shims();
|
|
22328
22389
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22400,9 +22461,9 @@ var require_checks = __commonJS({
|
|
|
22400
22461
|
}
|
|
22401
22462
|
});
|
|
22402
22463
|
|
|
22403
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22464
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/utils.js
|
|
22404
22465
|
var require_utils5 = __commonJS({
|
|
22405
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22466
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/utils.js"(exports2) {
|
|
22406
22467
|
"use strict";
|
|
22407
22468
|
init_cjs_shims();
|
|
22408
22469
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22414,9 +22475,9 @@ var require_utils5 = __commonJS({
|
|
|
22414
22475
|
}
|
|
22415
22476
|
});
|
|
22416
22477
|
|
|
22417
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22478
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/json-corrector.js
|
|
22418
22479
|
var require_json_corrector = __commonJS({
|
|
22419
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22480
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/json-corrector.js"(exports2) {
|
|
22420
22481
|
"use strict";
|
|
22421
22482
|
init_cjs_shims();
|
|
22422
22483
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -22496,9 +22557,9 @@ var require_json_corrector = __commonJS({
|
|
|
22496
22557
|
}
|
|
22497
22558
|
});
|
|
22498
22559
|
|
|
22499
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22560
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/string-corrector.js
|
|
22500
22561
|
var require_string_corrector = __commonJS({
|
|
22501
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22562
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/string-corrector.js"(exports2) {
|
|
22502
22563
|
"use strict";
|
|
22503
22564
|
init_cjs_shims();
|
|
22504
22565
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22568,9 +22629,9 @@ var require_string_corrector = __commonJS({
|
|
|
22568
22629
|
}
|
|
22569
22630
|
});
|
|
22570
22631
|
|
|
22571
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22632
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/index.js
|
|
22572
22633
|
var require_correctors = __commonJS({
|
|
22573
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22634
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/index.js"(exports2) {
|
|
22574
22635
|
"use strict";
|
|
22575
22636
|
init_cjs_shims();
|
|
22576
22637
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22600,9 +22661,9 @@ var require_correctors = __commonJS({
|
|
|
22600
22661
|
}
|
|
22601
22662
|
});
|
|
22602
22663
|
|
|
22603
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22664
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/autofix.js
|
|
22604
22665
|
var require_autofix = __commonJS({
|
|
22605
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22666
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/autofix.js"(exports2) {
|
|
22606
22667
|
"use strict";
|
|
22607
22668
|
init_cjs_shims();
|
|
22608
22669
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22625,9 +22686,9 @@ var require_autofix = __commonJS({
|
|
|
22625
22686
|
}
|
|
22626
22687
|
});
|
|
22627
22688
|
|
|
22628
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22689
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/apply-fix-to-string.js
|
|
22629
22690
|
var require_apply_fix_to_string = __commonJS({
|
|
22630
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22691
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/apply-fix-to-string.js"(exports2) {
|
|
22631
22692
|
"use strict";
|
|
22632
22693
|
init_cjs_shims();
|
|
22633
22694
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22652,9 +22713,9 @@ var require_apply_fix_to_string = __commonJS({
|
|
|
22652
22713
|
}
|
|
22653
22714
|
});
|
|
22654
22715
|
|
|
22655
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22716
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/index.js
|
|
22656
22717
|
var require_fixes2 = __commonJS({
|
|
22657
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22718
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/index.js"(exports2) {
|
|
22658
22719
|
"use strict";
|
|
22659
22720
|
init_cjs_shims();
|
|
22660
22721
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22684,9 +22745,9 @@ var require_fixes2 = __commonJS({
|
|
|
22684
22745
|
}
|
|
22685
22746
|
});
|
|
22686
22747
|
|
|
22687
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22748
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/index.js
|
|
22688
22749
|
var require_dist2 = __commonJS({
|
|
22689
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22750
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/index.js"(exports2) {
|
|
22690
22751
|
"use strict";
|
|
22691
22752
|
init_cjs_shims();
|
|
22692
22753
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -22710,7 +22771,7 @@ var require_dist2 = __commonJS({
|
|
|
22710
22771
|
for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p) && __createBinding2(exports3, m, p);
|
|
22711
22772
|
};
|
|
22712
22773
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
22713
|
-
exports2.check = exports2.path = void 0;
|
|
22774
|
+
exports2.check = exports2.getBlockName = exports2.path = void 0;
|
|
22714
22775
|
var AugmentedThemeDocset_1 = require_AugmentedThemeDocset(), JSONValidator_1 = require_JSONValidator(), context_utils_1 = require_context_utils(), disabled_checks_1 = require_disabled_checks(), ignore_1 = require_ignore(), path = __importStar2(require_path()), types_1 = require_types4(), utils_1 = require_utils(), visitors_1 = require_visitors();
|
|
22715
22776
|
__exportStar2(require_AbstractFileSystem(), exports2);
|
|
22716
22777
|
__exportStar2(require_AugmentedThemeDocset(), exports2);
|
|
@@ -22732,6 +22793,10 @@ var require_dist2 = __commonJS({
|
|
|
22732
22793
|
__exportStar2(require_object(), exports2);
|
|
22733
22794
|
__exportStar2(require_visitor(), exports2);
|
|
22734
22795
|
__exportStar2(require_liquidDoc(), exports2);
|
|
22796
|
+
var arguments_1 = require_arguments();
|
|
22797
|
+
Object.defineProperty(exports2, "getBlockName", { enumerable: !0, get: function() {
|
|
22798
|
+
return arguments_1.getBlockName;
|
|
22799
|
+
} });
|
|
22735
22800
|
__exportStar2(require_utils4(), exports2);
|
|
22736
22801
|
var defaultErrorHandler = (_error) => {
|
|
22737
22802
|
};
|
|
@@ -22873,9 +22938,9 @@ var require_env_paths = __commonJS({
|
|
|
22873
22938
|
}
|
|
22874
22939
|
});
|
|
22875
22940
|
|
|
22876
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
22941
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/utils.js
|
|
22877
22942
|
var require_utils6 = __commonJS({
|
|
22878
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
22943
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/utils.js"(exports2) {
|
|
22879
22944
|
"use strict";
|
|
22880
22945
|
init_cjs_shims();
|
|
22881
22946
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -22897,9 +22962,9 @@ var require_utils6 = __commonJS({
|
|
|
22897
22962
|
}
|
|
22898
22963
|
});
|
|
22899
22964
|
|
|
22900
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
22965
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsDownloader.js
|
|
22901
22966
|
var require_themeLiquidDocsDownloader = __commonJS({
|
|
22902
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
22967
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsDownloader.js"(exports2) {
|
|
22903
22968
|
"use strict";
|
|
22904
22969
|
init_cjs_shims();
|
|
22905
22970
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -22996,9 +23061,9 @@ ${error}`), error;
|
|
|
22996
23061
|
}
|
|
22997
23062
|
});
|
|
22998
23063
|
|
|
22999
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23064
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsManager.js
|
|
23000
23065
|
var require_themeLiquidDocsManager = __commonJS({
|
|
23001
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23066
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsManager.js"(exports2) {
|
|
23002
23067
|
"use strict";
|
|
23003
23068
|
init_cjs_shims();
|
|
23004
23069
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -23086,9 +23151,9 @@ ${e instanceof Error ? e.message : e}`);
|
|
|
23086
23151
|
}
|
|
23087
23152
|
});
|
|
23088
23153
|
|
|
23089
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23154
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/index.js
|
|
23090
23155
|
var require_dist3 = __commonJS({
|
|
23091
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23156
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/index.js"(exports2) {
|
|
23092
23157
|
"use strict";
|
|
23093
23158
|
init_cjs_shims();
|
|
23094
23159
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -24152,9 +24217,9 @@ var require_glob2 = __commonJS({
|
|
|
24152
24217
|
}
|
|
24153
24218
|
});
|
|
24154
24219
|
|
|
24155
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24220
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/autofix.js
|
|
24156
24221
|
var require_autofix2 = __commonJS({
|
|
24157
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24222
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/autofix.js"(exports2) {
|
|
24158
24223
|
"use strict";
|
|
24159
24224
|
init_cjs_shims();
|
|
24160
24225
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -24171,9 +24236,9 @@ var require_autofix2 = __commonJS({
|
|
|
24171
24236
|
}
|
|
24172
24237
|
});
|
|
24173
24238
|
|
|
24174
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24239
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/file-utils.js
|
|
24175
24240
|
var require_file_utils2 = __commonJS({
|
|
24176
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24241
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/file-utils.js"(exports2) {
|
|
24177
24242
|
"use strict";
|
|
24178
24243
|
init_cjs_shims();
|
|
24179
24244
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -24193,9 +24258,9 @@ var require_file_utils2 = __commonJS({
|
|
|
24193
24258
|
}
|
|
24194
24259
|
});
|
|
24195
24260
|
|
|
24196
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24261
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/installation-location.js
|
|
24197
24262
|
var require_installation_location = __commonJS({
|
|
24198
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24263
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/installation-location.js"(exports2) {
|
|
24199
24264
|
"use strict";
|
|
24200
24265
|
init_cjs_shims();
|
|
24201
24266
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -24208,9 +24273,9 @@ var require_installation_location = __commonJS({
|
|
|
24208
24273
|
}
|
|
24209
24274
|
});
|
|
24210
24275
|
|
|
24211
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24276
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-third-party-checks.js
|
|
24212
24277
|
var require_load_third_party_checks = __commonJS({
|
|
24213
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24278
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-third-party-checks.js"(exports2) {
|
|
24214
24279
|
"use strict";
|
|
24215
24280
|
init_cjs_shims();
|
|
24216
24281
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -24258,9 +24323,9 @@ ${e}`);
|
|
|
24258
24323
|
}
|
|
24259
24324
|
});
|
|
24260
24325
|
|
|
24261
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24326
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config-description.js
|
|
24262
24327
|
var require_load_config_description = __commonJS({
|
|
24263
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24328
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config-description.js"(exports2) {
|
|
24264
24329
|
"use strict";
|
|
24265
24330
|
init_cjs_shims();
|
|
24266
24331
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -29804,9 +29869,9 @@ var require_dist4 = __commonJS({
|
|
|
29804
29869
|
}
|
|
29805
29870
|
});
|
|
29806
29871
|
|
|
29807
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
29872
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/types.js
|
|
29808
29873
|
var require_types5 = __commonJS({
|
|
29809
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
29874
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/types.js"(exports2) {
|
|
29810
29875
|
"use strict";
|
|
29811
29876
|
init_cjs_shims();
|
|
29812
29877
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -29835,9 +29900,9 @@ var require_types5 = __commonJS({
|
|
|
29835
29900
|
}
|
|
29836
29901
|
});
|
|
29837
29902
|
|
|
29838
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
29903
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/read-yaml.js
|
|
29839
29904
|
var require_read_yaml = __commonJS({
|
|
29840
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
29905
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/read-yaml.js"(exports2) {
|
|
29841
29906
|
"use strict";
|
|
29842
29907
|
init_cjs_shims();
|
|
29843
29908
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -29930,9 +29995,9 @@ ${message}`;
|
|
|
29930
29995
|
}
|
|
29931
29996
|
});
|
|
29932
29997
|
|
|
29933
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
29998
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/merge-fragments.js
|
|
29934
29999
|
var require_merge_fragments = __commonJS({
|
|
29935
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30000
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/merge-fragments.js"(exports2) {
|
|
29936
30001
|
"use strict";
|
|
29937
30002
|
init_cjs_shims();
|
|
29938
30003
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -29970,9 +30035,9 @@ var require_merge_fragments = __commonJS({
|
|
|
29970
30035
|
}
|
|
29971
30036
|
});
|
|
29972
30037
|
|
|
29973
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30038
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/resolve-config.js
|
|
29974
30039
|
var require_resolve_config = __commonJS({
|
|
29975
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30040
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/resolve-config.js"(exports2) {
|
|
29976
30041
|
"use strict";
|
|
29977
30042
|
init_cjs_shims();
|
|
29978
30043
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -29996,9 +30061,9 @@ var require_resolve_config = __commonJS({
|
|
|
29996
30061
|
}
|
|
29997
30062
|
});
|
|
29998
30063
|
|
|
29999
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30064
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/index.js
|
|
30000
30065
|
var require_resolve = __commonJS({
|
|
30001
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30066
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/index.js"(exports2) {
|
|
30002
30067
|
"use strict";
|
|
30003
30068
|
init_cjs_shims();
|
|
30004
30069
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -30010,9 +30075,9 @@ var require_resolve = __commonJS({
|
|
|
30010
30075
|
}
|
|
30011
30076
|
});
|
|
30012
30077
|
|
|
30013
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30078
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/validation.js
|
|
30014
30079
|
var require_validation = __commonJS({
|
|
30015
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30080
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/validation.js"(exports2) {
|
|
30016
30081
|
"use strict";
|
|
30017
30082
|
init_cjs_shims();
|
|
30018
30083
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -30082,9 +30147,9 @@ var require_validation = __commonJS({
|
|
|
30082
30147
|
}
|
|
30083
30148
|
});
|
|
30084
30149
|
|
|
30085
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30150
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config.js
|
|
30086
30151
|
var require_load_config = __commonJS({
|
|
30087
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30152
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config.js"(exports2) {
|
|
30088
30153
|
"use strict";
|
|
30089
30154
|
init_cjs_shims();
|
|
30090
30155
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -30105,9 +30170,9 @@ var require_load_config = __commonJS({
|
|
|
30105
30170
|
}
|
|
30106
30171
|
});
|
|
30107
30172
|
|
|
30108
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30173
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/find-config-path.js
|
|
30109
30174
|
var require_find_config_path = __commonJS({
|
|
30110
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30175
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/find-config-path.js"(exports2) {
|
|
30111
30176
|
"use strict";
|
|
30112
30177
|
init_cjs_shims();
|
|
30113
30178
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -30129,9 +30194,9 @@ var require_find_config_path = __commonJS({
|
|
|
30129
30194
|
}
|
|
30130
30195
|
});
|
|
30131
30196
|
|
|
30132
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30197
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/index.js
|
|
30133
30198
|
var require_config = __commonJS({
|
|
30134
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30199
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/index.js"(exports2) {
|
|
30135
30200
|
"use strict";
|
|
30136
30201
|
init_cjs_shims();
|
|
30137
30202
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -30147,9 +30212,9 @@ var require_config = __commonJS({
|
|
|
30147
30212
|
}
|
|
30148
30213
|
});
|
|
30149
30214
|
|
|
30150
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30215
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/NodeFileSystem.js
|
|
30151
30216
|
var require_NodeFileSystem = __commonJS({
|
|
30152
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30217
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/NodeFileSystem.js"(exports2) {
|
|
30153
30218
|
"use strict";
|
|
30154
30219
|
init_cjs_shims();
|
|
30155
30220
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -30180,9 +30245,9 @@ var require_NodeFileSystem = __commonJS({
|
|
|
30180
30245
|
}
|
|
30181
30246
|
});
|
|
30182
30247
|
|
|
30183
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30248
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/index.js
|
|
30184
30249
|
var require_dist5 = __commonJS({
|
|
30185
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30250
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/index.js"(exports2) {
|
|
30186
30251
|
"use strict";
|
|
30187
30252
|
init_cjs_shims();
|
|
30188
30253
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -46140,18 +46205,18 @@ var require_dist7 = __commonJS({
|
|
|
46140
46205
|
}
|
|
46141
46206
|
});
|
|
46142
46207
|
|
|
46143
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46208
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/types.js
|
|
46144
46209
|
var require_types7 = __commonJS({
|
|
46145
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46210
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/types.js"(exports2) {
|
|
46146
46211
|
"use strict";
|
|
46147
46212
|
init_cjs_shims();
|
|
46148
46213
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
46149
46214
|
}
|
|
46150
46215
|
});
|
|
46151
46216
|
|
|
46152
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46217
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/debounce.js
|
|
46153
46218
|
var require_debounce = __commonJS({
|
|
46154
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46219
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/debounce.js"(exports2) {
|
|
46155
46220
|
"use strict";
|
|
46156
46221
|
init_cjs_shims();
|
|
46157
46222
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -46170,9 +46235,9 @@ var require_debounce = __commonJS({
|
|
|
46170
46235
|
}
|
|
46171
46236
|
});
|
|
46172
46237
|
|
|
46173
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46238
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/array.js
|
|
46174
46239
|
var require_array2 = __commonJS({
|
|
46175
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46240
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/array.js"(exports2) {
|
|
46176
46241
|
"use strict";
|
|
46177
46242
|
init_cjs_shims();
|
|
46178
46243
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -46186,9 +46251,9 @@ var require_array2 = __commonJS({
|
|
|
46186
46251
|
}
|
|
46187
46252
|
});
|
|
46188
46253
|
|
|
46189
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46254
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/node.js
|
|
46190
46255
|
var require_node2 = __commonJS({
|
|
46191
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46256
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/node.js"(exports2) {
|
|
46192
46257
|
"use strict";
|
|
46193
46258
|
init_cjs_shims();
|
|
46194
46259
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -46241,9 +46306,9 @@ var require_node2 = __commonJS({
|
|
|
46241
46306
|
}
|
|
46242
46307
|
});
|
|
46243
46308
|
|
|
46244
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46309
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/isCovered.js
|
|
46245
46310
|
var require_isCovered = __commonJS({
|
|
46246
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46311
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/isCovered.js"(exports2) {
|
|
46247
46312
|
"use strict";
|
|
46248
46313
|
init_cjs_shims();
|
|
46249
46314
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -46255,9 +46320,9 @@ var require_isCovered = __commonJS({
|
|
|
46255
46320
|
}
|
|
46256
46321
|
});
|
|
46257
46322
|
|
|
46258
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46323
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/index.js
|
|
46259
46324
|
var require_utils7 = __commonJS({
|
|
46260
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46325
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/index.js"(exports2) {
|
|
46261
46326
|
"use strict";
|
|
46262
46327
|
init_cjs_shims();
|
|
46263
46328
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -52687,9 +52752,9 @@ var require_main7 = __commonJS({
|
|
|
52687
52752
|
}
|
|
52688
52753
|
});
|
|
52689
52754
|
|
|
52690
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52755
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/ClientCapabilities.js
|
|
52691
52756
|
var require_ClientCapabilities = __commonJS({
|
|
52692
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52757
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/ClientCapabilities.js"(exports2) {
|
|
52693
52758
|
"use strict";
|
|
52694
52759
|
init_cjs_shims();
|
|
52695
52760
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52745,9 +52810,9 @@ var require_ClientCapabilities = __commonJS({
|
|
|
52745
52810
|
}
|
|
52746
52811
|
});
|
|
52747
52812
|
|
|
52748
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52813
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/BaseExecuteCommandProvider.js
|
|
52749
52814
|
var require_BaseExecuteCommandProvider = __commonJS({
|
|
52750
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52815
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/BaseExecuteCommandProvider.js"(exports2) {
|
|
52751
52816
|
"use strict";
|
|
52752
52817
|
init_cjs_shims();
|
|
52753
52818
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52761,9 +52826,9 @@ var require_BaseExecuteCommandProvider = __commonJS({
|
|
|
52761
52826
|
}
|
|
52762
52827
|
});
|
|
52763
52828
|
|
|
52764
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52829
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplyFixesProvider.js
|
|
52765
52830
|
var require_ApplyFixesProvider = __commonJS({
|
|
52766
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52831
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplyFixesProvider.js"(exports2) {
|
|
52767
52832
|
"use strict";
|
|
52768
52833
|
init_cjs_shims();
|
|
52769
52834
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52809,9 +52874,9 @@ var require_ApplyFixesProvider = __commonJS({
|
|
|
52809
52874
|
}
|
|
52810
52875
|
});
|
|
52811
52876
|
|
|
52812
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52877
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplySuggestionProvider.js
|
|
52813
52878
|
var require_ApplySuggestionProvider = __commonJS({
|
|
52814
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52879
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplySuggestionProvider.js"(exports2) {
|
|
52815
52880
|
"use strict";
|
|
52816
52881
|
init_cjs_shims();
|
|
52817
52882
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52864,9 +52929,9 @@ var require_ApplySuggestionProvider = __commonJS({
|
|
|
52864
52929
|
}
|
|
52865
52930
|
});
|
|
52866
52931
|
|
|
52867
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52932
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/RunChecksProvider.js
|
|
52868
52933
|
var require_RunChecksProvider = __commonJS({
|
|
52869
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52934
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/RunChecksProvider.js"(exports2) {
|
|
52870
52935
|
"use strict";
|
|
52871
52936
|
init_cjs_shims();
|
|
52872
52937
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52885,9 +52950,9 @@ var require_RunChecksProvider = __commonJS({
|
|
|
52885
52950
|
}
|
|
52886
52951
|
});
|
|
52887
52952
|
|
|
52888
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52953
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/index.js
|
|
52889
52954
|
var require_providers = __commonJS({
|
|
52890
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52955
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/index.js"(exports2) {
|
|
52891
52956
|
"use strict";
|
|
52892
52957
|
init_cjs_shims();
|
|
52893
52958
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52913,9 +52978,9 @@ var require_providers = __commonJS({
|
|
|
52913
52978
|
}
|
|
52914
52979
|
});
|
|
52915
52980
|
|
|
52916
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52981
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/ExecuteCommandProvider.js
|
|
52917
52982
|
var require_ExecuteCommandProvider = __commonJS({
|
|
52918
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
52983
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/ExecuteCommandProvider.js"(exports2) {
|
|
52919
52984
|
"use strict";
|
|
52920
52985
|
init_cjs_shims();
|
|
52921
52986
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52949,9 +53014,9 @@ var require_ExecuteCommandProvider = __commonJS({
|
|
|
52949
53014
|
}
|
|
52950
53015
|
});
|
|
52951
53016
|
|
|
52952
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53017
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/index.js
|
|
52953
53018
|
var require_commands = __commonJS({
|
|
52954
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53019
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/index.js"(exports2) {
|
|
52955
53020
|
"use strict";
|
|
52956
53021
|
init_cjs_shims();
|
|
52957
53022
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52970,9 +53035,9 @@ var require_commands = __commonJS({
|
|
|
52970
53035
|
}
|
|
52971
53036
|
});
|
|
52972
53037
|
|
|
52973
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53038
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/BaseCodeActionsProvider.js
|
|
52974
53039
|
var require_BaseCodeActionsProvider = __commonJS({
|
|
52975
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53040
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/BaseCodeActionsProvider.js"(exports2) {
|
|
52976
53041
|
"use strict";
|
|
52977
53042
|
init_cjs_shims();
|
|
52978
53043
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -52989,9 +53054,9 @@ var require_BaseCodeActionsProvider = __commonJS({
|
|
|
52989
53054
|
}
|
|
52990
53055
|
});
|
|
52991
53056
|
|
|
52992
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53057
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/utils.js
|
|
52993
53058
|
var require_utils8 = __commonJS({
|
|
52994
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53059
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/utils.js"(exports2) {
|
|
52995
53060
|
"use strict";
|
|
52996
53061
|
init_cjs_shims();
|
|
52997
53062
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53015,9 +53080,9 @@ var require_utils8 = __commonJS({
|
|
|
53015
53080
|
}
|
|
53016
53081
|
});
|
|
53017
53082
|
|
|
53018
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53083
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixProvider.js
|
|
53019
53084
|
var require_FixProvider = __commonJS({
|
|
53020
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53085
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixProvider.js"(exports2) {
|
|
53021
53086
|
"use strict";
|
|
53022
53087
|
init_cjs_shims();
|
|
53023
53088
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53059,9 +53124,9 @@ var require_FixProvider = __commonJS({
|
|
|
53059
53124
|
}
|
|
53060
53125
|
});
|
|
53061
53126
|
|
|
53062
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53127
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixAllProvider.js
|
|
53063
53128
|
var require_FixAllProvider = __commonJS({
|
|
53064
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53129
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixAllProvider.js"(exports2) {
|
|
53065
53130
|
"use strict";
|
|
53066
53131
|
init_cjs_shims();
|
|
53067
53132
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53086,9 +53151,9 @@ var require_FixAllProvider = __commonJS({
|
|
|
53086
53151
|
}
|
|
53087
53152
|
});
|
|
53088
53153
|
|
|
53089
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53154
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/SuggestionProvider.js
|
|
53090
53155
|
var require_SuggestionProvider = __commonJS({
|
|
53091
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53156
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/SuggestionProvider.js"(exports2) {
|
|
53092
53157
|
"use strict";
|
|
53093
53158
|
init_cjs_shims();
|
|
53094
53159
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53114,9 +53179,9 @@ var require_SuggestionProvider = __commonJS({
|
|
|
53114
53179
|
}
|
|
53115
53180
|
});
|
|
53116
53181
|
|
|
53117
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53182
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/index.js
|
|
53118
53183
|
var require_providers2 = __commonJS({
|
|
53119
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53184
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/index.js"(exports2) {
|
|
53120
53185
|
"use strict";
|
|
53121
53186
|
init_cjs_shims();
|
|
53122
53187
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53136,9 +53201,9 @@ var require_providers2 = __commonJS({
|
|
|
53136
53201
|
}
|
|
53137
53202
|
});
|
|
53138
53203
|
|
|
53139
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53204
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/CodeActionsProvider.js
|
|
53140
53205
|
var require_CodeActionsProvider = __commonJS({
|
|
53141
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53206
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/CodeActionsProvider.js"(exports2) {
|
|
53142
53207
|
"use strict";
|
|
53143
53208
|
init_cjs_shims();
|
|
53144
53209
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53162,9 +53227,9 @@ var require_CodeActionsProvider = __commonJS({
|
|
|
53162
53227
|
}
|
|
53163
53228
|
});
|
|
53164
53229
|
|
|
53165
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53230
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/index.js
|
|
53166
53231
|
var require_codeActions = __commonJS({
|
|
53167
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53232
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/index.js"(exports2) {
|
|
53168
53233
|
"use strict";
|
|
53169
53234
|
init_cjs_shims();
|
|
53170
53235
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53179,9 +53244,9 @@ var require_codeActions = __commonJS({
|
|
|
53179
53244
|
}
|
|
53180
53245
|
});
|
|
53181
53246
|
|
|
53182
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53247
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/settings/index.js
|
|
53183
53248
|
var require_settings = __commonJS({
|
|
53184
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53249
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/settings/index.js"(exports2) {
|
|
53185
53250
|
"use strict";
|
|
53186
53251
|
init_cjs_shims();
|
|
53187
53252
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53197,13 +53262,13 @@ var require_settings = __commonJS({
|
|
|
53197
53262
|
}
|
|
53198
53263
|
});
|
|
53199
53264
|
|
|
53200
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53265
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/TypeSystem.js
|
|
53201
53266
|
var require_TypeSystem = __commonJS({
|
|
53202
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53267
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/TypeSystem.js"(exports2) {
|
|
53203
53268
|
"use strict";
|
|
53204
53269
|
init_cjs_shims();
|
|
53205
53270
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
53206
|
-
exports2.isArrayType = exports2.docsetEntryReturnType = exports2.TypeSystem = void 0;
|
|
53271
|
+
exports2.isArrayType = exports2.docsetEntryReturnType = exports2.Unknown = exports2.Untyped = exports2.TypeSystem = void 0;
|
|
53207
53272
|
var liquid_html_parser_1 = require_dist(), theme_check_common_1 = require_dist2(), settings_1 = require_settings(), utils_1 = require_utils7(), theme_check_common_2 = require_dist2(), TypeSystem = class {
|
|
53208
53273
|
constructor(themeDocset, getThemeSettingsSchemaForURI, getMetafieldDefinitions) {
|
|
53209
53274
|
this.themeDocset = themeDocset, this.getThemeSettingsSchemaForURI = getThemeSettingsSchemaForURI, this.getMetafieldDefinitions = getMetafieldDefinitions, this.objectMap = async (uri, ast) => {
|
|
@@ -53389,7 +53454,9 @@ var require_TypeSystem = __commonJS({
|
|
|
53389
53454
|
"tracking_code"
|
|
53390
53455
|
] : SECTION_FILE_REGEX.test(normalizedUri) ? ["section", "predictive_search", "recommendations", "comment"] : BLOCK_FILE_REGEX.test(normalizedUri) ? ["app", "section", "recommendations", "block"] : SNIPPET_FILE_REGEX.test(normalizedUri) ? ["app"] : [];
|
|
53391
53456
|
}
|
|
53392
|
-
|
|
53457
|
+
exports2.Untyped = "untyped";
|
|
53458
|
+
exports2.Unknown = "unknown";
|
|
53459
|
+
var String2 = "string", arrayType = (valueType) => ({
|
|
53393
53460
|
kind: "array",
|
|
53394
53461
|
valueType
|
|
53395
53462
|
}), lazyVariable = (node, offset) => ({
|
|
@@ -53480,7 +53547,7 @@ var require_TypeSystem = __commonJS({
|
|
|
53480
53547
|
return typeRangeType;
|
|
53481
53548
|
case "deconstructed": {
|
|
53482
53549
|
let arrayType2 = inferType(typeRangeType.node, symbolsTable, objectMap, filtersMap);
|
|
53483
|
-
return typeof arrayType2 == "string" ? Untyped : arrayType2.valueType;
|
|
53550
|
+
return typeof arrayType2 == "string" ? exports2.Untyped : arrayType2.valueType;
|
|
53484
53551
|
}
|
|
53485
53552
|
default:
|
|
53486
53553
|
return inferType(typeRangeType.node, symbolsTable, objectMap, filtersMap);
|
|
@@ -53489,7 +53556,7 @@ var require_TypeSystem = __commonJS({
|
|
|
53489
53556
|
function inferType(thing, symbolsTable, objectMap, filtersMap) {
|
|
53490
53557
|
var _a40, _b;
|
|
53491
53558
|
if (typeof thing == "string")
|
|
53492
|
-
return (_b = (_a40 = objectMap[thing]) === null || _a40 === void 0 ? void 0 : _a40.name) !== null && _b !== void 0 ? _b : Untyped;
|
|
53559
|
+
return (_b = (_a40 = objectMap[thing]) === null || _a40 === void 0 ? void 0 : _a40.name) !== null && _b !== void 0 ? _b : exports2.Untyped;
|
|
53493
53560
|
switch (thing.type) {
|
|
53494
53561
|
case liquid_html_parser_1.NodeTypes.Number:
|
|
53495
53562
|
return "number";
|
|
@@ -53512,38 +53579,47 @@ var require_TypeSystem = __commonJS({
|
|
|
53512
53579
|
// {{ y.property | filter1 | filter2 }}
|
|
53513
53580
|
case liquid_html_parser_1.NodeTypes.LiquidVariable:
|
|
53514
53581
|
if (thing.filters.length > 0) {
|
|
53515
|
-
let lastFilter = thing.filters.at(-1)
|
|
53516
|
-
|
|
53582
|
+
let lastFilter = thing.filters.at(-1);
|
|
53583
|
+
if (lastFilter.name === "default" && lastFilter.args.length > 0 && lastFilter.args[0].type !== liquid_html_parser_1.NodeTypes.NamedArgument)
|
|
53584
|
+
return inferType(lastFilter.args[0], symbolsTable, objectMap, filtersMap);
|
|
53585
|
+
let filterEntry = filtersMap[lastFilter.name];
|
|
53586
|
+
return filterEntry ? filterEntryReturnType(filterEntry) : exports2.Untyped;
|
|
53517
53587
|
} else
|
|
53518
53588
|
return inferType(thing.expression, symbolsTable, objectMap, filtersMap);
|
|
53519
53589
|
default:
|
|
53520
|
-
return Untyped;
|
|
53590
|
+
return exports2.Untyped;
|
|
53521
53591
|
}
|
|
53522
53592
|
}
|
|
53523
53593
|
function inferLiquidDocParamType(node, liquidDrops) {
|
|
53524
|
-
|
|
53525
|
-
|
|
53526
|
-
|
|
53594
|
+
var _a40;
|
|
53595
|
+
let paramTypeValue = (_a40 = node.paramType) === null || _a40 === void 0 ? void 0 : _a40.value;
|
|
53596
|
+
if (!paramTypeValue)
|
|
53597
|
+
return exports2.Untyped;
|
|
53598
|
+
let validParamTypes = (0, theme_check_common_1.getValidParamTypes)(liquidDrops), parsedParamType = (0, theme_check_common_1.parseParamType)(new Set(validParamTypes.keys()), paramTypeValue);
|
|
53599
|
+
if (!parsedParamType)
|
|
53600
|
+
return exports2.Untyped;
|
|
53601
|
+
let [type, isArray] = parsedParamType, transformedParamType;
|
|
53602
|
+
return type === theme_check_common_1.BasicParamTypes.Object ? transformedParamType = exports2.Untyped : transformedParamType = type, isArray ? arrayType(transformedParamType) : transformedParamType;
|
|
53527
53603
|
}
|
|
53528
53604
|
function inferLookupType(thing, symbolsTable, objectMap, filtersMap) {
|
|
53529
53605
|
let node = thing;
|
|
53530
53606
|
if (node.name === null)
|
|
53531
|
-
return Untyped;
|
|
53607
|
+
return exports2.Untyped;
|
|
53532
53608
|
let curr = inferIdentifierType(node, symbolsTable, objectMap, filtersMap);
|
|
53533
53609
|
for (let lookup3 of node.lookups)
|
|
53534
|
-
if (isArrayType(curr) ? curr = inferArrayTypeLookupType(curr, lookup3) : curr = inferPseudoTypePropertyType(curr, lookup3, objectMap), curr === Untyped)
|
|
53535
|
-
return Untyped;
|
|
53610
|
+
if (isArrayType(curr) ? curr = inferArrayTypeLookupType(curr, lookup3) : curr = inferPseudoTypePropertyType(curr, lookup3, objectMap), curr === exports2.Untyped)
|
|
53611
|
+
return exports2.Untyped;
|
|
53536
53612
|
return curr;
|
|
53537
53613
|
}
|
|
53538
53614
|
function inferIdentifierType(node, symbolsTable, objectMap, filtersMap) {
|
|
53539
53615
|
let identifier = node.name;
|
|
53540
53616
|
if (!identifier)
|
|
53541
|
-
return Untyped;
|
|
53617
|
+
return exports2.Untyped;
|
|
53542
53618
|
let typeRanges = symbolsTable[identifier];
|
|
53543
53619
|
if (!typeRanges)
|
|
53544
|
-
return
|
|
53620
|
+
return exports2.Unknown;
|
|
53545
53621
|
let typeRange = (0, utils_1.findLast)(typeRanges, (tr) => isCorrectTypeRange(tr, node));
|
|
53546
|
-
return typeRange ? resolveTypeRangeType(typeRange.type, symbolsTable, objectMap, filtersMap) :
|
|
53622
|
+
return typeRange ? resolveTypeRangeType(typeRange.type, symbolsTable, objectMap, filtersMap) : exports2.Unknown;
|
|
53547
53623
|
}
|
|
53548
53624
|
function inferArrayTypeLookupType(curr, lookup3) {
|
|
53549
53625
|
if (lookup3.type === liquid_html_parser_1.NodeTypes.Number || lookup3.type === liquid_html_parser_1.NodeTypes.VariableLookup)
|
|
@@ -53556,18 +53632,34 @@ var require_TypeSystem = __commonJS({
|
|
|
53556
53632
|
case "size":
|
|
53557
53633
|
return "number";
|
|
53558
53634
|
default:
|
|
53559
|
-
return
|
|
53635
|
+
return exports2.Unknown;
|
|
53560
53636
|
}
|
|
53561
53637
|
else
|
|
53562
|
-
return Untyped;
|
|
53638
|
+
return exports2.Untyped;
|
|
53563
53639
|
}
|
|
53564
53640
|
function inferPseudoTypePropertyType(curr, lookup3, objectMap) {
|
|
53565
53641
|
var _a40;
|
|
53566
53642
|
let parentEntry = objectMap[curr];
|
|
53567
|
-
if (
|
|
53568
|
-
return Untyped;
|
|
53643
|
+
if (lookup3.type !== liquid_html_parser_1.NodeTypes.String)
|
|
53644
|
+
return exports2.Untyped;
|
|
53645
|
+
if (!parentEntry) {
|
|
53646
|
+
if (curr === "string")
|
|
53647
|
+
switch (lookup3.value) {
|
|
53648
|
+
// some_string.first
|
|
53649
|
+
// some_string.last
|
|
53650
|
+
case "first":
|
|
53651
|
+
case "last":
|
|
53652
|
+
return "string";
|
|
53653
|
+
// some_string.size
|
|
53654
|
+
case "size":
|
|
53655
|
+
return "number";
|
|
53656
|
+
default:
|
|
53657
|
+
return exports2.Unknown;
|
|
53658
|
+
}
|
|
53659
|
+
return exports2.Untyped;
|
|
53660
|
+
}
|
|
53569
53661
|
let propertyName = lookup3.value, property = (_a40 = parentEntry.properties) === null || _a40 === void 0 ? void 0 : _a40.find((property2) => property2.name === propertyName);
|
|
53570
|
-
return property ? objectEntryType(property) : Untyped;
|
|
53662
|
+
return property ? objectEntryType(property) : exports2.Untyped;
|
|
53571
53663
|
}
|
|
53572
53664
|
function filterEntryReturnType(entry) {
|
|
53573
53665
|
return docsetEntryReturnType(entry, "string");
|
|
@@ -53687,17 +53779,17 @@ var require_TypeSystem = __commonJS({
|
|
|
53687
53779
|
dimension: "measurement",
|
|
53688
53780
|
rating: "rating",
|
|
53689
53781
|
money: "money",
|
|
53690
|
-
json: Untyped,
|
|
53782
|
+
json: exports2.Untyped,
|
|
53691
53783
|
metaobject_reference: "metaobject",
|
|
53692
|
-
mixed_reference: Untyped,
|
|
53693
|
-
rich_text_field: Untyped,
|
|
53694
|
-
file_reference: Untyped
|
|
53784
|
+
mixed_reference: exports2.Untyped,
|
|
53785
|
+
rich_text_field: exports2.Untyped,
|
|
53786
|
+
file_reference: exports2.Untyped
|
|
53695
53787
|
}), REFERENCE_TYPE_METAFIELDS = Object.entries(METAFIELD_TYPE_TO_TYPE).filter(([metafieldType, _type2]) => metafieldType.endsWith("_reference")).map(([_metafieldType, type]) => type);
|
|
53696
53788
|
function metafieldReturnType(metafieldType) {
|
|
53697
53789
|
var _a40;
|
|
53698
53790
|
let isArray = metafieldType.startsWith("list.");
|
|
53699
53791
|
isArray && (metafieldType = metafieldType.split(".")[1]);
|
|
53700
|
-
let type = "metafield_" + ((_a40 = METAFIELD_TYPE_TO_TYPE[metafieldType]) !== null && _a40 !== void 0 ? _a40 : Untyped);
|
|
53792
|
+
let type = "metafield_" + ((_a40 = METAFIELD_TYPE_TO_TYPE[metafieldType]) !== null && _a40 !== void 0 ? _a40 : exports2.Untyped);
|
|
53701
53793
|
return isArray ? [{ type: `${type}_array`, name: "" }] : [{ type, name: "" }];
|
|
53702
53794
|
}
|
|
53703
53795
|
var customMetafieldTypeEntries = (0, utils_1.memo)((baseMetafieldEntry) => baseMetafieldEntry ? [
|
|
@@ -53745,9 +53837,9 @@ var require_TypeSystem = __commonJS({
|
|
|
53745
53837
|
}
|
|
53746
53838
|
});
|
|
53747
53839
|
|
|
53748
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53840
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/fix.js
|
|
53749
53841
|
var require_fix = __commonJS({
|
|
53750
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
53842
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/fix.js"(exports2) {
|
|
53751
53843
|
"use strict";
|
|
53752
53844
|
init_cjs_shims();
|
|
53753
53845
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -53916,9 +54008,9 @@ var require_fix = __commonJS({
|
|
|
53916
54008
|
}
|
|
53917
54009
|
});
|
|
53918
54010
|
|
|
53919
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54011
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/LiquidCompletionParams.js
|
|
53920
54012
|
var require_LiquidCompletionParams = __commonJS({
|
|
53921
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54013
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/LiquidCompletionParams.js"(exports2) {
|
|
53922
54014
|
"use strict";
|
|
53923
54015
|
init_cjs_shims();
|
|
53924
54016
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -54126,9 +54218,9 @@ var require_LiquidCompletionParams = __commonJS({
|
|
|
54126
54218
|
}
|
|
54127
54219
|
});
|
|
54128
54220
|
|
|
54129
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54221
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/index.js
|
|
54130
54222
|
var require_params = __commonJS({
|
|
54131
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54223
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/index.js"(exports2) {
|
|
54132
54224
|
"use strict";
|
|
54133
54225
|
init_cjs_shims();
|
|
54134
54226
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -54144,9 +54236,9 @@ var require_params = __commonJS({
|
|
|
54144
54236
|
}
|
|
54145
54237
|
});
|
|
54146
54238
|
|
|
54147
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54239
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForCompletionProvider.js
|
|
54148
54240
|
var require_ContentForCompletionProvider = __commonJS({
|
|
54149
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54241
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForCompletionProvider.js"(exports2) {
|
|
54150
54242
|
"use strict";
|
|
54151
54243
|
init_cjs_shims();
|
|
54152
54244
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -54210,9 +54302,9 @@ to see how to create theme blocks that can be used this way.
|
|
|
54210
54302
|
}
|
|
54211
54303
|
});
|
|
54212
54304
|
|
|
54213
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54305
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForBlockTypeCompletionProvider.js
|
|
54214
54306
|
var require_ContentForBlockTypeCompletionProvider = __commonJS({
|
|
54215
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54307
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForBlockTypeCompletionProvider.js"(exports2) {
|
|
54216
54308
|
"use strict";
|
|
54217
54309
|
init_cjs_shims();
|
|
54218
54310
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -54236,9 +54328,9 @@ var require_ContentForBlockTypeCompletionProvider = __commonJS({
|
|
|
54236
54328
|
}
|
|
54237
54329
|
});
|
|
54238
54330
|
|
|
54239
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54331
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/data/contentForParameterCompletionOptions.js
|
|
54240
54332
|
var require_contentForParameterCompletionOptions = __commonJS({
|
|
54241
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54333
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/data/contentForParameterCompletionOptions.js"(exports2) {
|
|
54242
54334
|
"use strict";
|
|
54243
54335
|
init_cjs_shims();
|
|
54244
54336
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -54251,14 +54343,14 @@ var require_contentForParameterCompletionOptions = __commonJS({
|
|
|
54251
54343
|
}
|
|
54252
54344
|
});
|
|
54253
54345
|
|
|
54254
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54346
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/liquidDoc.js
|
|
54255
54347
|
var require_liquidDoc2 = __commonJS({
|
|
54256
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54348
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/liquidDoc.js"(exports2) {
|
|
54257
54349
|
"use strict";
|
|
54258
54350
|
init_cjs_shims();
|
|
54259
54351
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
54260
|
-
exports2.getParameterCompletionTemplate = exports2.SUPPORTED_LIQUID_DOC_TAG_HANDLES = exports2.formatLiquidDocTagHandle = exports2.formatLiquidDocParameter = void 0;
|
|
54261
|
-
var theme_check_common_1 = require_dist2()
|
|
54352
|
+
exports2.formatLiquidDocContentMarkdown = exports2.getParameterCompletionTemplate = exports2.SUPPORTED_LIQUID_DOC_TAG_HANDLES = exports2.formatLiquidDocTagHandle = exports2.formatLiquidDocParameter = void 0;
|
|
54353
|
+
var theme_check_common_1 = require_dist2();
|
|
54262
54354
|
function formatLiquidDocParameter({ name, type, description, required }, heading = !1) {
|
|
54263
54355
|
let nameStr = required ? `\`${name}\`` : `\`${name}\` (Optional)`, typeStr = type ? `: ${type}` : "";
|
|
54264
54356
|
if (heading) {
|
|
@@ -54284,9 +54376,9 @@ ${example}
|
|
|
54284
54376
|
}
|
|
54285
54377
|
exports2.formatLiquidDocTagHandle = formatLiquidDocTagHandle;
|
|
54286
54378
|
exports2.SUPPORTED_LIQUID_DOC_TAG_HANDLES = {
|
|
54287
|
-
[
|
|
54379
|
+
[theme_check_common_1.SupportedDocTagTypes.Param]: {
|
|
54288
54380
|
description: `Provides information about a parameter for the snippet.
|
|
54289
|
-
- The type of parameter is optional and can be ${Object.values(
|
|
54381
|
+
- The type of parameter is optional and can be ${Object.values(theme_check_common_1.BasicParamTypes).map((type) => `\`${type}\``).join(", ")}
|
|
54290
54382
|
or liquid object that isn't exclusively a global object in our [API Docs](https://shopify.dev/docs/api/liquid/objects)
|
|
54291
54383
|
- An optional parameter is denoted by square brackets around the parameter name
|
|
54292
54384
|
- The description is optional Markdown text`,
|
|
@@ -54298,7 +54390,7 @@ ${example}
|
|
|
54298
54390
|
`,
|
|
54299
54391
|
template: "param {$2} $1$0"
|
|
54300
54392
|
},
|
|
54301
|
-
[
|
|
54393
|
+
[theme_check_common_1.SupportedDocTagTypes.Example]: {
|
|
54302
54394
|
description: "Provides an example on how to use the snippet.",
|
|
54303
54395
|
example: `{% doc %}
|
|
54304
54396
|
@example {% render "snippet-name", arg1: "value" %}
|
|
@@ -54306,7 +54398,7 @@ ${example}
|
|
|
54306
54398
|
`,
|
|
54307
54399
|
template: "example $0"
|
|
54308
54400
|
},
|
|
54309
|
-
[
|
|
54401
|
+
[theme_check_common_1.SupportedDocTagTypes.Description]: {
|
|
54310
54402
|
description: "Provides information on what the snippet does.",
|
|
54311
54403
|
example: `{% doc %}
|
|
54312
54404
|
@description This snippet renders a product image.
|
|
@@ -54320,12 +54412,39 @@ ${example}
|
|
|
54320
54412
|
return `${name}: ${valueTemplate}`;
|
|
54321
54413
|
}
|
|
54322
54414
|
exports2.getParameterCompletionTemplate = getParameterCompletionTemplate;
|
|
54415
|
+
function formatLiquidDocContentMarkdown(name, docDefinition) {
|
|
54416
|
+
var _a40, _b, _c;
|
|
54417
|
+
let liquidDoc = docDefinition?.liquidDoc;
|
|
54418
|
+
if (!liquidDoc)
|
|
54419
|
+
return `### ${name}`;
|
|
54420
|
+
let parts = [`### ${name}`];
|
|
54421
|
+
if (liquidDoc.description) {
|
|
54422
|
+
let description = liquidDoc.description.content;
|
|
54423
|
+
parts.push("", "**Description:**", `
|
|
54424
|
+
`, description);
|
|
54425
|
+
}
|
|
54426
|
+
if (!((_a40 = liquidDoc.parameters) === null || _a40 === void 0) && _a40.length) {
|
|
54427
|
+
let parameters = liquidDoc.parameters.map((param) => formatLiquidDocParameter(param)).join(`
|
|
54428
|
+
`);
|
|
54429
|
+
parts.push("", "**Parameters:**", parameters);
|
|
54430
|
+
}
|
|
54431
|
+
if (!((_b = liquidDoc.examples) === null || _b === void 0) && _b.length) {
|
|
54432
|
+
let examples = (_c = liquidDoc.examples) === null || _c === void 0 ? void 0 : _c.map(({ content }) => `\`\`\`liquid
|
|
54433
|
+
${content}
|
|
54434
|
+
\`\`\``).join(`
|
|
54435
|
+
`);
|
|
54436
|
+
parts.push("", "**Examples:**", examples);
|
|
54437
|
+
}
|
|
54438
|
+
return parts.join(`
|
|
54439
|
+
`);
|
|
54440
|
+
}
|
|
54441
|
+
exports2.formatLiquidDocContentMarkdown = formatLiquidDocContentMarkdown;
|
|
54323
54442
|
}
|
|
54324
54443
|
});
|
|
54325
54444
|
|
|
54326
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54445
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForParameterCompletionProvider.js
|
|
54327
54446
|
var require_ContentForParameterCompletionProvider = __commonJS({
|
|
54328
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54447
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForParameterCompletionProvider.js"(exports2) {
|
|
54329
54448
|
"use strict";
|
|
54330
54449
|
init_cjs_shims();
|
|
54331
54450
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -54404,9 +54523,9 @@ var require_ContentForParameterCompletionProvider = __commonJS({
|
|
|
54404
54523
|
}
|
|
54405
54524
|
});
|
|
54406
54525
|
|
|
54407
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54526
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/MarkdownRenderer.js
|
|
54408
54527
|
var require_MarkdownRenderer = __commonJS({
|
|
54409
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
54528
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/MarkdownRenderer.js"(exports2) {
|
|
54410
54529
|
"use strict";
|
|
54411
54530
|
init_cjs_shims();
|
|
54412
54531
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -54422,12 +54541,12 @@ var require_MarkdownRenderer = __commonJS({
|
|
|
54422
54541
|
}
|
|
54423
54542
|
exports2.render = render3;
|
|
54424
54543
|
function renderHtmlEntry(entry, parentEntry) {
|
|
54425
|
-
return [title(entry,
|
|
54544
|
+
return [title(entry, TypeSystem_1.Unknown), htmlEntryBody(entry, parentEntry)].join(`
|
|
54426
54545
|
`);
|
|
54427
54546
|
}
|
|
54428
54547
|
exports2.renderHtmlEntry = renderHtmlEntry;
|
|
54429
54548
|
function title(entry, returnType) {
|
|
54430
|
-
return returnType = returnType ?? (0, TypeSystem_1.docsetEntryReturnType)(entry,
|
|
54549
|
+
return returnType = returnType ?? (0, TypeSystem_1.docsetEntryReturnType)(entry, TypeSystem_1.Unknown), (0, TypeSystem_1.isArrayType)(returnType) ? `### ${entry.name}: \`${returnType.valueType}[]\`` : returnType !== TypeSystem_1.Unknown ? `### ${entry.name}: \`${returnType}\`` : `### ${entry.name}`;
|
|
54431
54550
|
}
|
|
54432
54551
|
function sanitize(s) {
|
|
54433
54552
|
return s?.replace(/(^|\n+)>/g, " ").replace(/>/g, ">").replace(/</g, "<").replace(/\]\(\//g, "](https://shopify.dev/").trim();
|
|
@@ -61101,9 +61220,9 @@ See [Browser compatibility](#Browser_compatibility) for notes on browser support
|
|
|
61101
61220
|
}
|
|
61102
61221
|
});
|
|
61103
61222
|
|
|
61104
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61223
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/HtmlDocset.js
|
|
61105
61224
|
var require_HtmlDocset = __commonJS({
|
|
61106
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61225
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/HtmlDocset.js"(exports2) {
|
|
61107
61226
|
"use strict";
|
|
61108
61227
|
init_cjs_shims();
|
|
61109
61228
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -61131,9 +61250,9 @@ var require_HtmlDocset = __commonJS({
|
|
|
61131
61250
|
}
|
|
61132
61251
|
});
|
|
61133
61252
|
|
|
61134
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61253
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/index.js
|
|
61135
61254
|
var require_docset = __commonJS({
|
|
61136
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61255
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/index.js"(exports2) {
|
|
61137
61256
|
"use strict";
|
|
61138
61257
|
init_cjs_shims();
|
|
61139
61258
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -61160,9 +61279,9 @@ var require_docset = __commonJS({
|
|
|
61160
61279
|
}
|
|
61161
61280
|
});
|
|
61162
61281
|
|
|
61163
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61282
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/CompletionItemProperties.js
|
|
61164
61283
|
var require_CompletionItemProperties = __commonJS({
|
|
61165
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61284
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/CompletionItemProperties.js"(exports2) {
|
|
61166
61285
|
"use strict";
|
|
61167
61286
|
init_cjs_shims();
|
|
61168
61287
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61198,9 +61317,9 @@ var require_CompletionItemProperties = __commonJS({
|
|
|
61198
61317
|
}
|
|
61199
61318
|
});
|
|
61200
61319
|
|
|
61201
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61320
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/index.js
|
|
61202
61321
|
var require_common4 = __commonJS({
|
|
61203
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61322
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/index.js"(exports2) {
|
|
61204
61323
|
"use strict";
|
|
61205
61324
|
init_cjs_shims();
|
|
61206
61325
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61216,9 +61335,9 @@ var require_common4 = __commonJS({
|
|
|
61216
61335
|
}
|
|
61217
61336
|
});
|
|
61218
61337
|
|
|
61219
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61338
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlTagCompletionProvider.js
|
|
61220
61339
|
var require_HtmlTagCompletionProvider = __commonJS({
|
|
61221
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61340
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlTagCompletionProvider.js"(exports2) {
|
|
61222
61341
|
"use strict";
|
|
61223
61342
|
init_cjs_shims();
|
|
61224
61343
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61285,9 +61404,9 @@ var require_HtmlTagCompletionProvider = __commonJS({
|
|
|
61285
61404
|
}
|
|
61286
61405
|
});
|
|
61287
61406
|
|
|
61288
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61407
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeCompletionProvider.js
|
|
61289
61408
|
var require_HtmlAttributeCompletionProvider = __commonJS({
|
|
61290
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61409
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeCompletionProvider.js"(exports2) {
|
|
61291
61410
|
"use strict";
|
|
61292
61411
|
init_cjs_shims();
|
|
61293
61412
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61351,9 +61470,9 @@ var require_HtmlAttributeCompletionProvider = __commonJS({
|
|
|
61351
61470
|
}
|
|
61352
61471
|
});
|
|
61353
61472
|
|
|
61354
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61473
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeValueCompletionProvider.js
|
|
61355
61474
|
var require_HtmlAttributeValueCompletionProvider = __commonJS({
|
|
61356
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61475
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeValueCompletionProvider.js"(exports2) {
|
|
61357
61476
|
"use strict";
|
|
61358
61477
|
init_cjs_shims();
|
|
61359
61478
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61386,9 +61505,9 @@ var require_HtmlAttributeValueCompletionProvider = __commonJS({
|
|
|
61386
61505
|
}
|
|
61387
61506
|
});
|
|
61388
61507
|
|
|
61389
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61508
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterCompletionProvider.js
|
|
61390
61509
|
var require_FilterCompletionProvider = __commonJS({
|
|
61391
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61510
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterCompletionProvider.js"(exports2) {
|
|
61392
61511
|
"use strict";
|
|
61393
61512
|
init_cjs_shims();
|
|
61394
61513
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61466,9 +61585,9 @@ var require_FilterCompletionProvider = __commonJS({
|
|
|
61466
61585
|
}
|
|
61467
61586
|
});
|
|
61468
61587
|
|
|
61469
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61588
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterNamedParameterCompletionProvider.js
|
|
61470
61589
|
var require_FilterNamedParameterCompletionProvider = __commonJS({
|
|
61471
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61590
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterNamedParameterCompletionProvider.js"(exports2) {
|
|
61472
61591
|
"use strict";
|
|
61473
61592
|
init_cjs_shims();
|
|
61474
61593
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61520,9 +61639,9 @@ var require_FilterNamedParameterCompletionProvider = __commonJS({
|
|
|
61520
61639
|
}
|
|
61521
61640
|
});
|
|
61522
61641
|
|
|
61523
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61642
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidTagsCompletionProvider.js
|
|
61524
61643
|
var require_LiquidTagsCompletionProvider = __commonJS({
|
|
61525
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61644
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidTagsCompletionProvider.js"(exports2) {
|
|
61526
61645
|
"use strict";
|
|
61527
61646
|
init_cjs_shims();
|
|
61528
61647
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61600,6 +61719,10 @@ var require_LiquidTagsCompletionProvider = __commonJS({
|
|
|
61600
61719
|
return "{% elsif ${1:condition} %}";
|
|
61601
61720
|
case "else":
|
|
61602
61721
|
return "{% else %}";
|
|
61722
|
+
case "doc":
|
|
61723
|
+
return `{% doc %}
|
|
61724
|
+
$0
|
|
61725
|
+
{% enddoc %}`;
|
|
61603
61726
|
}
|
|
61604
61727
|
return tag.syntax ? tag.syntax : isBlockTag(tag.name) ? `{% ${tag.name}$1 %}
|
|
61605
61728
|
$2
|
|
@@ -61640,9 +61763,9 @@ var require_LiquidTagsCompletionProvider = __commonJS({
|
|
|
61640
61763
|
}
|
|
61641
61764
|
});
|
|
61642
61765
|
|
|
61643
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61766
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectAttributeCompletionProvider.js
|
|
61644
61767
|
var require_ObjectAttributeCompletionProvider = __commonJS({
|
|
61645
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61768
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectAttributeCompletionProvider.js"(exports2) {
|
|
61646
61769
|
"use strict";
|
|
61647
61770
|
init_cjs_shims();
|
|
61648
61771
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61684,9 +61807,9 @@ var require_ObjectAttributeCompletionProvider = __commonJS({
|
|
|
61684
61807
|
}
|
|
61685
61808
|
});
|
|
61686
61809
|
|
|
61687
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61810
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectCompletionProvider.js
|
|
61688
61811
|
var require_ObjectCompletionProvider = __commonJS({
|
|
61689
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61812
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectCompletionProvider.js"(exports2) {
|
|
61690
61813
|
"use strict";
|
|
61691
61814
|
init_cjs_shims();
|
|
61692
61815
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61713,9 +61836,9 @@ var require_ObjectCompletionProvider = __commonJS({
|
|
|
61713
61836
|
}
|
|
61714
61837
|
});
|
|
61715
61838
|
|
|
61716
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61839
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/translations.js
|
|
61717
61840
|
var require_translations = __commonJS({
|
|
61718
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61841
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/translations.js"(exports2) {
|
|
61719
61842
|
"use strict";
|
|
61720
61843
|
init_cjs_shims();
|
|
61721
61844
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61777,9 +61900,9 @@ var require_translations = __commonJS({
|
|
|
61777
61900
|
}
|
|
61778
61901
|
});
|
|
61779
61902
|
|
|
61780
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61903
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/TranslationCompletionProvider.js
|
|
61781
61904
|
var require_TranslationCompletionProvider = __commonJS({
|
|
61782
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61905
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/TranslationCompletionProvider.js"(exports2) {
|
|
61783
61906
|
"use strict";
|
|
61784
61907
|
init_cjs_shims();
|
|
61785
61908
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61828,9 +61951,9 @@ var require_TranslationCompletionProvider = __commonJS({
|
|
|
61828
61951
|
}
|
|
61829
61952
|
});
|
|
61830
61953
|
|
|
61831
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61954
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetCompletionProvider.js
|
|
61832
61955
|
var require_RenderSnippetCompletionProvider = __commonJS({
|
|
61833
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61956
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetCompletionProvider.js"(exports2) {
|
|
61834
61957
|
"use strict";
|
|
61835
61958
|
init_cjs_shims();
|
|
61836
61959
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61860,9 +61983,9 @@ var require_RenderSnippetCompletionProvider = __commonJS({
|
|
|
61860
61983
|
}
|
|
61861
61984
|
});
|
|
61862
61985
|
|
|
61863
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61986
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetParameterCompletionProvider.js
|
|
61864
61987
|
var require_RenderSnippetParameterCompletionProvider = __commonJS({
|
|
61865
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
61988
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetParameterCompletionProvider.js"(exports2) {
|
|
61866
61989
|
"use strict";
|
|
61867
61990
|
init_cjs_shims();
|
|
61868
61991
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61898,9 +62021,9 @@ var require_RenderSnippetParameterCompletionProvider = __commonJS({
|
|
|
61898
62021
|
}
|
|
61899
62022
|
});
|
|
61900
62023
|
|
|
61901
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62024
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocTagCompletionProvider.js
|
|
61902
62025
|
var require_LiquidDocTagCompletionProvider = __commonJS({
|
|
61903
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62026
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocTagCompletionProvider.js"(exports2) {
|
|
61904
62027
|
"use strict";
|
|
61905
62028
|
init_cjs_shims();
|
|
61906
62029
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61933,9 +62056,9 @@ var require_LiquidDocTagCompletionProvider = __commonJS({
|
|
|
61933
62056
|
}
|
|
61934
62057
|
});
|
|
61935
62058
|
|
|
61936
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62059
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocParamTypeCompletionProvider.js
|
|
61937
62060
|
var require_LiquidDocParamTypeCompletionProvider = __commonJS({
|
|
61938
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62061
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocParamTypeCompletionProvider.js"(exports2) {
|
|
61939
62062
|
"use strict";
|
|
61940
62063
|
init_cjs_shims();
|
|
61941
62064
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -61974,9 +62097,9 @@ var require_LiquidDocParamTypeCompletionProvider = __commonJS({
|
|
|
61974
62097
|
}
|
|
61975
62098
|
});
|
|
61976
62099
|
|
|
61977
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62100
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/index.js
|
|
61978
62101
|
var require_providers3 = __commonJS({
|
|
61979
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62102
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/index.js"(exports2) {
|
|
61980
62103
|
"use strict";
|
|
61981
62104
|
init_cjs_shims();
|
|
61982
62105
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62048,9 +62171,9 @@ var require_providers3 = __commonJS({
|
|
|
62048
62171
|
}
|
|
62049
62172
|
});
|
|
62050
62173
|
|
|
62051
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62174
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/CompletionsProvider.js
|
|
62052
62175
|
var require_CompletionsProvider = __commonJS({
|
|
62053
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62176
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/CompletionsProvider.js"(exports2) {
|
|
62054
62177
|
"use strict";
|
|
62055
62178
|
init_cjs_shims();
|
|
62056
62179
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62095,9 +62218,9 @@ var require_CompletionsProvider = __commonJS({
|
|
|
62095
62218
|
}
|
|
62096
62219
|
});
|
|
62097
62220
|
|
|
62098
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62221
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/index.js
|
|
62099
62222
|
var require_completions = __commonJS({
|
|
62100
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62223
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/index.js"(exports2) {
|
|
62101
62224
|
"use strict";
|
|
62102
62225
|
init_cjs_shims();
|
|
62103
62226
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62109,9 +62232,9 @@ var require_completions = __commonJS({
|
|
|
62109
62232
|
}
|
|
62110
62233
|
});
|
|
62111
62234
|
|
|
62112
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62235
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/offenseToDiagnostic.js
|
|
62113
62236
|
var require_offenseToDiagnostic = __commonJS({
|
|
62114
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62237
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/offenseToDiagnostic.js"(exports2) {
|
|
62115
62238
|
"use strict";
|
|
62116
62239
|
init_cjs_shims();
|
|
62117
62240
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62166,9 +62289,9 @@ var require_offenseToDiagnostic = __commonJS({
|
|
|
62166
62289
|
}
|
|
62167
62290
|
});
|
|
62168
62291
|
|
|
62169
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62292
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/DiagnosticsManager.js
|
|
62170
62293
|
var require_DiagnosticsManager = __commonJS({
|
|
62171
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62294
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/DiagnosticsManager.js"(exports2) {
|
|
62172
62295
|
"use strict";
|
|
62173
62296
|
init_cjs_shims();
|
|
62174
62297
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62208,9 +62331,9 @@ var require_DiagnosticsManager = __commonJS({
|
|
|
62208
62331
|
}
|
|
62209
62332
|
});
|
|
62210
62333
|
|
|
62211
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62334
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/runChecks.js
|
|
62212
62335
|
var require_runChecks = __commonJS({
|
|
62213
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62336
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/runChecks.js"(exports2) {
|
|
62214
62337
|
"use strict";
|
|
62215
62338
|
init_cjs_shims();
|
|
62216
62339
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62274,9 +62397,9 @@ var require_runChecks = __commonJS({
|
|
|
62274
62397
|
}
|
|
62275
62398
|
});
|
|
62276
62399
|
|
|
62277
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62400
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/index.js
|
|
62278
62401
|
var require_diagnostics = __commonJS({
|
|
62279
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62402
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/index.js"(exports2) {
|
|
62280
62403
|
"use strict";
|
|
62281
62404
|
init_cjs_shims();
|
|
62282
62405
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62292,9 +62415,9 @@ var require_diagnostics = __commonJS({
|
|
|
62292
62415
|
}
|
|
62293
62416
|
});
|
|
62294
62417
|
|
|
62295
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62418
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/htmlTagNames.js
|
|
62296
62419
|
var require_htmlTagNames = __commonJS({
|
|
62297
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62420
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/htmlTagNames.js"(exports2) {
|
|
62298
62421
|
"use strict";
|
|
62299
62422
|
init_cjs_shims();
|
|
62300
62423
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62322,9 +62445,9 @@ var require_htmlTagNames = __commonJS({
|
|
|
62322
62445
|
}
|
|
62323
62446
|
});
|
|
62324
62447
|
|
|
62325
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62448
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/HtmlTagNameDocumentHighlightsProvider.js
|
|
62326
62449
|
var require_HtmlTagNameDocumentHighlightsProvider = __commonJS({
|
|
62327
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62450
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/HtmlTagNameDocumentHighlightsProvider.js"(exports2) {
|
|
62328
62451
|
"use strict";
|
|
62329
62452
|
init_cjs_shims();
|
|
62330
62453
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62346,9 +62469,9 @@ var require_HtmlTagNameDocumentHighlightsProvider = __commonJS({
|
|
|
62346
62469
|
}
|
|
62347
62470
|
});
|
|
62348
62471
|
|
|
62349
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62472
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/LiquidBlockTagDocumentHighlightsProvider.js
|
|
62350
62473
|
var require_LiquidBlockTagDocumentHighlightsProvider = __commonJS({
|
|
62351
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62474
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/LiquidBlockTagDocumentHighlightsProvider.js"(exports2) {
|
|
62352
62475
|
"use strict";
|
|
62353
62476
|
init_cjs_shims();
|
|
62354
62477
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62391,9 +62514,9 @@ var require_LiquidBlockTagDocumentHighlightsProvider = __commonJS({
|
|
|
62391
62514
|
}
|
|
62392
62515
|
});
|
|
62393
62516
|
|
|
62394
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62517
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/index.js
|
|
62395
62518
|
var require_providers4 = __commonJS({
|
|
62396
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62519
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/index.js"(exports2) {
|
|
62397
62520
|
"use strict";
|
|
62398
62521
|
init_cjs_shims();
|
|
62399
62522
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62409,9 +62532,9 @@ var require_providers4 = __commonJS({
|
|
|
62409
62532
|
}
|
|
62410
62533
|
});
|
|
62411
62534
|
|
|
62412
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62535
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/DocumentHighlightsProvider.js
|
|
62413
62536
|
var require_DocumentHighlightsProvider = __commonJS({
|
|
62414
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62537
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/DocumentHighlightsProvider.js"(exports2) {
|
|
62415
62538
|
"use strict";
|
|
62416
62539
|
init_cjs_shims();
|
|
62417
62540
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62438,9 +62561,9 @@ var require_DocumentHighlightsProvider = __commonJS({
|
|
|
62438
62561
|
}
|
|
62439
62562
|
});
|
|
62440
62563
|
|
|
62441
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62564
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/DocumentLinksProvider.js
|
|
62442
62565
|
var require_DocumentLinksProvider = __commonJS({
|
|
62443
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62566
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/DocumentLinksProvider.js"(exports2) {
|
|
62444
62567
|
"use strict";
|
|
62445
62568
|
init_cjs_shims();
|
|
62446
62569
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62494,9 +62617,9 @@ var require_DocumentLinksProvider = __commonJS({
|
|
|
62494
62617
|
}
|
|
62495
62618
|
});
|
|
62496
62619
|
|
|
62497
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62620
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/index.js
|
|
62498
62621
|
var require_documentLinks = __commonJS({
|
|
62499
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62622
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/index.js"(exports2) {
|
|
62500
62623
|
"use strict";
|
|
62501
62624
|
init_cjs_shims();
|
|
62502
62625
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62508,9 +62631,9 @@ var require_documentLinks = __commonJS({
|
|
|
62508
62631
|
}
|
|
62509
62632
|
});
|
|
62510
62633
|
|
|
62511
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62634
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/progress.js
|
|
62512
62635
|
var require_progress2 = __commonJS({
|
|
62513
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62636
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/progress.js"(exports2) {
|
|
62514
62637
|
"use strict";
|
|
62515
62638
|
init_cjs_shims();
|
|
62516
62639
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62559,9 +62682,9 @@ var require_progress2 = __commonJS({
|
|
|
62559
62682
|
}
|
|
62560
62683
|
});
|
|
62561
62684
|
|
|
62562
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62685
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/DocumentManager.js
|
|
62563
62686
|
var require_DocumentManager = __commonJS({
|
|
62564
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62687
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/DocumentManager.js"(exports2) {
|
|
62565
62688
|
"use strict";
|
|
62566
62689
|
init_cjs_shims();
|
|
62567
62690
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62690,9 +62813,9 @@ var require_DocumentManager = __commonJS({
|
|
|
62690
62813
|
}
|
|
62691
62814
|
});
|
|
62692
62815
|
|
|
62693
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62816
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/types.js
|
|
62694
62817
|
var require_types8 = __commonJS({
|
|
62695
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62818
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/types.js"(exports2) {
|
|
62696
62819
|
"use strict";
|
|
62697
62820
|
init_cjs_shims();
|
|
62698
62821
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62704,9 +62827,9 @@ var require_types8 = __commonJS({
|
|
|
62704
62827
|
}
|
|
62705
62828
|
});
|
|
62706
62829
|
|
|
62707
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62830
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/index.js
|
|
62708
62831
|
var require_documents = __commonJS({
|
|
62709
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62832
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/index.js"(exports2) {
|
|
62710
62833
|
"use strict";
|
|
62711
62834
|
init_cjs_shims();
|
|
62712
62835
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -62730,9 +62853,9 @@ var require_documents = __commonJS({
|
|
|
62730
62853
|
}
|
|
62731
62854
|
});
|
|
62732
62855
|
|
|
62733
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62856
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/BracketsAutoclosingOnTypeFormattingProvider.js
|
|
62734
62857
|
var require_BracketsAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
62735
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62858
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/BracketsAutoclosingOnTypeFormattingProvider.js"(exports2) {
|
|
62736
62859
|
"use strict";
|
|
62737
62860
|
init_cjs_shims();
|
|
62738
62861
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62828,9 +62951,9 @@ var require_BracketsAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
|
62828
62951
|
}
|
|
62829
62952
|
});
|
|
62830
62953
|
|
|
62831
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62954
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/HtmlElementAutoclosingOnTypeFormattingProvider.js
|
|
62832
62955
|
var require_HtmlElementAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
62833
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
62956
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/HtmlElementAutoclosingOnTypeFormattingProvider.js"(exports2) {
|
|
62834
62957
|
"use strict";
|
|
62835
62958
|
init_cjs_shims();
|
|
62836
62959
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62880,9 +63003,9 @@ var require_HtmlElementAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
|
62880
63003
|
}
|
|
62881
63004
|
});
|
|
62882
63005
|
|
|
62883
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63006
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/OnTypeFormattingProvider.js
|
|
62884
63007
|
var require_OnTypeFormattingProvider = __commonJS({
|
|
62885
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63008
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/OnTypeFormattingProvider.js"(exports2) {
|
|
62886
63009
|
"use strict";
|
|
62887
63010
|
init_cjs_shims();
|
|
62888
63011
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62905,9 +63028,9 @@ var require_OnTypeFormattingProvider = __commonJS({
|
|
|
62905
63028
|
}
|
|
62906
63029
|
});
|
|
62907
63030
|
|
|
62908
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63031
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/index.js
|
|
62909
63032
|
var require_formatting = __commonJS({
|
|
62910
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63033
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/index.js"(exports2) {
|
|
62911
63034
|
"use strict";
|
|
62912
63035
|
init_cjs_shims();
|
|
62913
63036
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62919,9 +63042,9 @@ var require_formatting = __commonJS({
|
|
|
62919
63042
|
}
|
|
62920
63043
|
});
|
|
62921
63044
|
|
|
62922
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63045
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidTagHoverProvider.js
|
|
62923
63046
|
var require_LiquidTagHoverProvider = __commonJS({
|
|
62924
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63047
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidTagHoverProvider.js"(exports2) {
|
|
62925
63048
|
"use strict";
|
|
62926
63049
|
init_cjs_shims();
|
|
62927
63050
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62946,9 +63069,9 @@ var require_LiquidTagHoverProvider = __commonJS({
|
|
|
62946
63069
|
}
|
|
62947
63070
|
});
|
|
62948
63071
|
|
|
62949
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63072
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidFilterHoverProvider.js
|
|
62950
63073
|
var require_LiquidFilterHoverProvider = __commonJS({
|
|
62951
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63074
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidFilterHoverProvider.js"(exports2) {
|
|
62952
63075
|
"use strict";
|
|
62953
63076
|
init_cjs_shims();
|
|
62954
63077
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62973,9 +63096,9 @@ var require_LiquidFilterHoverProvider = __commonJS({
|
|
|
62973
63096
|
}
|
|
62974
63097
|
});
|
|
62975
63098
|
|
|
62976
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63099
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectHoverProvider.js
|
|
62977
63100
|
var require_LiquidObjectHoverProvider = __commonJS({
|
|
62978
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63101
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectHoverProvider.js"(exports2) {
|
|
62979
63102
|
"use strict";
|
|
62980
63103
|
init_cjs_shims();
|
|
62981
63104
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -62994,7 +63117,7 @@ var require_LiquidObjectHoverProvider = __commonJS({
|
|
|
62994
63117
|
lookups: []
|
|
62995
63118
|
});
|
|
62996
63119
|
let type = await this.typeSystem.inferType(node, ancestors[0], params.textDocument.uri), objectMap = await this.typeSystem.objectMap(params.textDocument.uri, ancestors[0]), entry = objectMap[(0, TypeSystem_1.isArrayType)(type) ? type.valueType : type];
|
|
62997
|
-
if (type ===
|
|
63120
|
+
if (type === TypeSystem_1.Unknown)
|
|
62998
63121
|
return null;
|
|
62999
63122
|
if (!entry) {
|
|
63000
63123
|
let entryByName = (_a40 = objectMap[currentNode.name]) !== null && _a40 !== void 0 ? _a40 : {};
|
|
@@ -63020,9 +63143,9 @@ var require_LiquidObjectHoverProvider = __commonJS({
|
|
|
63020
63143
|
}
|
|
63021
63144
|
});
|
|
63022
63145
|
|
|
63023
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63146
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectAttributeHoverProvider.js
|
|
63024
63147
|
var require_LiquidObjectAttributeHoverProvider = __commonJS({
|
|
63025
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63148
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectAttributeHoverProvider.js"(exports2) {
|
|
63026
63149
|
"use strict";
|
|
63027
63150
|
init_cjs_shims();
|
|
63028
63151
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63032,20 +63155,29 @@ var require_LiquidObjectAttributeHoverProvider = __commonJS({
|
|
|
63032
63155
|
this.typeSystem = typeSystem;
|
|
63033
63156
|
}
|
|
63034
63157
|
async hover(currentNode, ancestors, params) {
|
|
63035
|
-
var _a40;
|
|
63036
|
-
let parentNode = ancestors.at(-1);
|
|
63158
|
+
var _a40, _b;
|
|
63159
|
+
let parentNode = ancestors.at(-1), uri = params.textDocument.uri;
|
|
63037
63160
|
if (currentNode.type !== liquid_html_parser_1.NodeTypes.String || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.VariableLookup || !parentNode.lookups.includes(currentNode))
|
|
63038
63161
|
return null;
|
|
63039
63162
|
let lookupIndex = parentNode.lookups.findIndex((lookup3) => lookup3 === currentNode), node = {
|
|
63040
63163
|
...parentNode,
|
|
63041
63164
|
lookups: parentNode.lookups.slice(0, lookupIndex)
|
|
63042
|
-
}, parentType = await this.typeSystem.inferType(node, ancestors[0],
|
|
63043
|
-
if ((0, TypeSystem_1.isArrayType)(parentType))
|
|
63044
|
-
|
|
63045
|
-
|
|
63165
|
+
}, objectMap = await this.typeSystem.objectMap(uri, ancestors[0]), parentType = await this.typeSystem.inferType(node, ancestors[0], uri);
|
|
63166
|
+
if ((0, TypeSystem_1.isArrayType)(parentType) || parentType === "string" || parentType === TypeSystem_1.Untyped) {
|
|
63167
|
+
let nodeType = await this.typeSystem.inferType({ ...parentNode, lookups: parentNode.lookups.slice(0, lookupIndex + 1) }, ancestors[0], uri);
|
|
63168
|
+
if ((0, TypeSystem_1.isArrayType)(nodeType) || nodeType === TypeSystem_1.Unknown)
|
|
63169
|
+
return null;
|
|
63170
|
+
let entry2 = { ...(_a40 = objectMap[nodeType]) !== null && _a40 !== void 0 ? _a40 : {}, name: currentNode.value };
|
|
63171
|
+
return {
|
|
63172
|
+
contents: {
|
|
63173
|
+
kind: "markdown",
|
|
63174
|
+
value: (0, docset_1.render)(entry2, nodeType)
|
|
63175
|
+
}
|
|
63176
|
+
};
|
|
63177
|
+
}
|
|
63046
63178
|
if (!objectMap[parentType])
|
|
63047
63179
|
return null;
|
|
63048
|
-
let entry = (((
|
|
63180
|
+
let entry = (((_b = objectMap[parentType]) === null || _b === void 0 ? void 0 : _b.properties) || []).find((p) => p.name === currentNode.value);
|
|
63049
63181
|
return entry ? {
|
|
63050
63182
|
contents: {
|
|
63051
63183
|
kind: "markdown",
|
|
@@ -63058,9 +63190,9 @@ var require_LiquidObjectAttributeHoverProvider = __commonJS({
|
|
|
63058
63190
|
}
|
|
63059
63191
|
});
|
|
63060
63192
|
|
|
63061
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63193
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlTagHoverProvider.js
|
|
63062
63194
|
var require_HtmlTagHoverProvider = __commonJS({
|
|
63063
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63195
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlTagHoverProvider.js"(exports2) {
|
|
63064
63196
|
"use strict";
|
|
63065
63197
|
init_cjs_shims();
|
|
63066
63198
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63083,9 +63215,9 @@ var require_HtmlTagHoverProvider = __commonJS({
|
|
|
63083
63215
|
}
|
|
63084
63216
|
});
|
|
63085
63217
|
|
|
63086
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63218
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeHoverProvider.js
|
|
63087
63219
|
var require_HtmlAttributeHoverProvider = __commonJS({
|
|
63088
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63220
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeHoverProvider.js"(exports2) {
|
|
63089
63221
|
"use strict";
|
|
63090
63222
|
init_cjs_shims();
|
|
63091
63223
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63109,9 +63241,9 @@ var require_HtmlAttributeHoverProvider = __commonJS({
|
|
|
63109
63241
|
}
|
|
63110
63242
|
});
|
|
63111
63243
|
|
|
63112
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63244
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeValueHoverProvider.js
|
|
63113
63245
|
var require_HtmlAttributeValueHoverProvider = __commonJS({
|
|
63114
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63246
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeValueHoverProvider.js"(exports2) {
|
|
63115
63247
|
"use strict";
|
|
63116
63248
|
init_cjs_shims();
|
|
63117
63249
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63135,9 +63267,9 @@ var require_HtmlAttributeValueHoverProvider = __commonJS({
|
|
|
63135
63267
|
}
|
|
63136
63268
|
});
|
|
63137
63269
|
|
|
63138
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63270
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/TranslationHoverProvider.js
|
|
63139
63271
|
var require_TranslationHoverProvider = __commonJS({
|
|
63140
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63272
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/TranslationHoverProvider.js"(exports2) {
|
|
63141
63273
|
"use strict";
|
|
63142
63274
|
init_cjs_shims();
|
|
63143
63275
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63168,9 +63300,9 @@ var require_TranslationHoverProvider = __commonJS({
|
|
|
63168
63300
|
}
|
|
63169
63301
|
});
|
|
63170
63302
|
|
|
63171
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63303
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetHoverProvider.js
|
|
63172
63304
|
var require_RenderSnippetHoverProvider = __commonJS({
|
|
63173
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63305
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetHoverProvider.js"(exports2) {
|
|
63174
63306
|
"use strict";
|
|
63175
63307
|
init_cjs_shims();
|
|
63176
63308
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63180,58 +63312,25 @@ var require_RenderSnippetHoverProvider = __commonJS({
|
|
|
63180
63312
|
this.getDocDefinitionForURI = getDocDefinitionForURI;
|
|
63181
63313
|
}
|
|
63182
63314
|
async hover(currentNode, ancestors, params) {
|
|
63183
|
-
var _a40, _b, _c;
|
|
63184
63315
|
let parentNode = ancestors.at(-1);
|
|
63185
63316
|
if (currentNode.type !== liquid_html_parser_1.NodeTypes.String || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.RenderMarkup)
|
|
63186
63317
|
return null;
|
|
63187
|
-
let snippetName = currentNode.value,
|
|
63188
|
-
if (!snippetDefinition)
|
|
63189
|
-
return null;
|
|
63190
|
-
let liquidDoc = snippetDefinition.liquidDoc;
|
|
63191
|
-
if (!liquidDoc)
|
|
63192
|
-
return {
|
|
63193
|
-
contents: {
|
|
63194
|
-
kind: "markdown",
|
|
63195
|
-
value: `### ${snippetName}`
|
|
63196
|
-
}
|
|
63197
|
-
};
|
|
63198
|
-
let parts = [`### ${snippetName}`];
|
|
63199
|
-
if (liquidDoc.description) {
|
|
63200
|
-
let description = liquidDoc.description.content;
|
|
63201
|
-
parts.push("", "**Description:**", `
|
|
63202
|
-
`, description);
|
|
63203
|
-
}
|
|
63204
|
-
if (!((_a40 = liquidDoc.parameters) === null || _a40 === void 0) && _a40.length) {
|
|
63205
|
-
let parameters = this.buildParameters(liquidDoc.parameters);
|
|
63206
|
-
parts.push("", "**Parameters:**", parameters);
|
|
63207
|
-
}
|
|
63208
|
-
if (!((_b = liquidDoc.examples) === null || _b === void 0) && _b.length) {
|
|
63209
|
-
let examples = (_c = liquidDoc.examples) === null || _c === void 0 ? void 0 : _c.map(({ content }) => `\`\`\`liquid
|
|
63210
|
-
${content}
|
|
63211
|
-
\`\`\``).join(`
|
|
63212
|
-
`);
|
|
63213
|
-
parts.push("", "**Examples:**", examples);
|
|
63214
|
-
}
|
|
63318
|
+
let snippetName = currentNode.value, docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "snippets", snippetName);
|
|
63215
63319
|
return {
|
|
63216
63320
|
contents: {
|
|
63217
63321
|
kind: "markdown",
|
|
63218
|
-
value:
|
|
63219
|
-
`)
|
|
63322
|
+
value: (0, liquidDoc_1.formatLiquidDocContentMarkdown)(snippetName, docDefinition)
|
|
63220
63323
|
}
|
|
63221
63324
|
};
|
|
63222
63325
|
}
|
|
63223
|
-
buildParameters(parameters) {
|
|
63224
|
-
return parameters.map((param) => (0, liquidDoc_1.formatLiquidDocParameter)(param)).join(`
|
|
63225
|
-
`);
|
|
63226
|
-
}
|
|
63227
63326
|
};
|
|
63228
63327
|
exports2.RenderSnippetHoverProvider = RenderSnippetHoverProvider;
|
|
63229
63328
|
}
|
|
63230
63329
|
});
|
|
63231
63330
|
|
|
63232
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63331
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetParameterHoverProvider.js
|
|
63233
63332
|
var require_RenderSnippetParameterHoverProvider = __commonJS({
|
|
63234
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63333
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetParameterHoverProvider.js"(exports2) {
|
|
63235
63334
|
"use strict";
|
|
63236
63335
|
init_cjs_shims();
|
|
63237
63336
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63245,10 +63344,7 @@ var require_RenderSnippetParameterHoverProvider = __commonJS({
|
|
|
63245
63344
|
let parentNode = ancestors.at(-1);
|
|
63246
63345
|
if (currentNode.type !== liquid_html_parser_1.NodeTypes.NamedArgument || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.RenderMarkup || parentNode.snippet.type !== liquid_html_parser_1.NodeTypes.String)
|
|
63247
63346
|
return null;
|
|
63248
|
-
let
|
|
63249
|
-
if (!(!((_b = (_a40 = snippetDefinition?.liquidDoc) === null || _a40 === void 0 ? void 0 : _a40.parameters) === null || _b === void 0) && _b.length))
|
|
63250
|
-
return null;
|
|
63251
|
-
let paramName = currentNode.name, hoveredParameter = snippetDefinition.liquidDoc.parameters.find((parameter) => parameter.name === paramName);
|
|
63347
|
+
let docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "snippets", parentNode.snippet.value), paramName = currentNode.name, hoveredParameter = (_b = (_a40 = docDefinition?.liquidDoc) === null || _a40 === void 0 ? void 0 : _a40.parameters) === null || _b === void 0 ? void 0 : _b.find((parameter) => parameter.name === paramName);
|
|
63252
63348
|
return hoveredParameter ? {
|
|
63253
63349
|
contents: {
|
|
63254
63350
|
kind: "markdown",
|
|
@@ -63261,9 +63357,9 @@ var require_RenderSnippetParameterHoverProvider = __commonJS({
|
|
|
63261
63357
|
}
|
|
63262
63358
|
});
|
|
63263
63359
|
|
|
63264
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63360
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/index.js
|
|
63265
63361
|
var require_providers5 = __commonJS({
|
|
63266
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63362
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/index.js"(exports2) {
|
|
63267
63363
|
"use strict";
|
|
63268
63364
|
init_cjs_shims();
|
|
63269
63365
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63311,9 +63407,9 @@ var require_providers5 = __commonJS({
|
|
|
63311
63407
|
}
|
|
63312
63408
|
});
|
|
63313
63409
|
|
|
63314
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63410
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidDocTagHoverProvider.js
|
|
63315
63411
|
var require_LiquidDocTagHoverProvider = __commonJS({
|
|
63316
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63412
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidDocTagHoverProvider.js"(exports2) {
|
|
63317
63413
|
"use strict";
|
|
63318
63414
|
init_cjs_shims();
|
|
63319
63415
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63343,19 +63439,81 @@ var require_LiquidDocTagHoverProvider = __commonJS({
|
|
|
63343
63439
|
}
|
|
63344
63440
|
});
|
|
63345
63441
|
|
|
63346
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63442
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForArgumentHoverProvider.js
|
|
63443
|
+
var require_ContentForArgumentHoverProvider = __commonJS({
|
|
63444
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForArgumentHoverProvider.js"(exports2) {
|
|
63445
|
+
"use strict";
|
|
63446
|
+
init_cjs_shims();
|
|
63447
|
+
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
63448
|
+
exports2.ContentForArgumentHoverProvider = void 0;
|
|
63449
|
+
var liquid_html_parser_1 = require_dist(), theme_check_common_1 = require_dist2(), liquidDoc_1 = require_liquidDoc2(), ContentForArgumentHoverProvider = class {
|
|
63450
|
+
constructor(getDocDefinitionForURI) {
|
|
63451
|
+
this.getDocDefinitionForURI = getDocDefinitionForURI;
|
|
63452
|
+
}
|
|
63453
|
+
async hover(currentNode, ancestors, params) {
|
|
63454
|
+
var _a40, _b;
|
|
63455
|
+
let parentNode = ancestors.at(-1);
|
|
63456
|
+
if (currentNode.type !== liquid_html_parser_1.NodeTypes.NamedArgument || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.ContentForMarkup || parentNode.contentForType.type !== liquid_html_parser_1.NodeTypes.String)
|
|
63457
|
+
return null;
|
|
63458
|
+
let blockName = (0, theme_check_common_1.getBlockName)(parentNode);
|
|
63459
|
+
if (!blockName)
|
|
63460
|
+
return null;
|
|
63461
|
+
let docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "blocks", blockName), hoverArgument = (_b = (_a40 = docDefinition?.liquidDoc) === null || _a40 === void 0 ? void 0 : _a40.parameters) === null || _b === void 0 ? void 0 : _b.find((argument) => argument.name === currentNode.name);
|
|
63462
|
+
return hoverArgument ? {
|
|
63463
|
+
contents: {
|
|
63464
|
+
kind: "markdown",
|
|
63465
|
+
value: (0, liquidDoc_1.formatLiquidDocParameter)(hoverArgument, !0)
|
|
63466
|
+
}
|
|
63467
|
+
} : null;
|
|
63468
|
+
}
|
|
63469
|
+
};
|
|
63470
|
+
exports2.ContentForArgumentHoverProvider = ContentForArgumentHoverProvider;
|
|
63471
|
+
}
|
|
63472
|
+
});
|
|
63473
|
+
|
|
63474
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForTypeHoverProvider.js
|
|
63475
|
+
var require_ContentForTypeHoverProvider = __commonJS({
|
|
63476
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForTypeHoverProvider.js"(exports2) {
|
|
63477
|
+
"use strict";
|
|
63478
|
+
init_cjs_shims();
|
|
63479
|
+
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
63480
|
+
exports2.ContentForTypeHoverProvider = void 0;
|
|
63481
|
+
var liquid_html_parser_1 = require_dist(), liquidDoc_1 = require_liquidDoc2(), ContentForTypeHoverProvider = class {
|
|
63482
|
+
constructor(getDocDefinitionForURI) {
|
|
63483
|
+
this.getDocDefinitionForURI = getDocDefinitionForURI;
|
|
63484
|
+
}
|
|
63485
|
+
async hover(currentNode, ancestors, params) {
|
|
63486
|
+
let parentNode = ancestors.at(-1), grandParentNode = ancestors.at(-2);
|
|
63487
|
+
if (currentNode.type !== liquid_html_parser_1.NodeTypes.String || !parentNode || !grandParentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.NamedArgument || parentNode.name !== "type" || grandParentNode.type !== liquid_html_parser_1.NodeTypes.ContentForMarkup)
|
|
63488
|
+
return null;
|
|
63489
|
+
let blockName = currentNode.value, docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "blocks", blockName);
|
|
63490
|
+
return {
|
|
63491
|
+
contents: {
|
|
63492
|
+
kind: "markdown",
|
|
63493
|
+
value: (0, liquidDoc_1.formatLiquidDocContentMarkdown)(blockName, docDefinition)
|
|
63494
|
+
}
|
|
63495
|
+
};
|
|
63496
|
+
}
|
|
63497
|
+
};
|
|
63498
|
+
exports2.ContentForTypeHoverProvider = ContentForTypeHoverProvider;
|
|
63499
|
+
}
|
|
63500
|
+
});
|
|
63501
|
+
|
|
63502
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/HoverProvider.js
|
|
63347
63503
|
var require_HoverProvider = __commonJS({
|
|
63348
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63504
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/HoverProvider.js"(exports2) {
|
|
63349
63505
|
"use strict";
|
|
63350
63506
|
init_cjs_shims();
|
|
63351
63507
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
63352
63508
|
exports2.HoverProvider = void 0;
|
|
63353
|
-
var theme_check_common_1 = require_dist2(), TypeSystem_1 = require_TypeSystem(), providers_1 = require_providers5(), HtmlAttributeValueHoverProvider_1 = require_HtmlAttributeValueHoverProvider(), theme_check_common_2 = require_dist2(), LiquidDocTagHoverProvider_1 = require_LiquidDocTagHoverProvider(), HoverProvider = class {
|
|
63509
|
+
var theme_check_common_1 = require_dist2(), TypeSystem_1 = require_TypeSystem(), providers_1 = require_providers5(), HtmlAttributeValueHoverProvider_1 = require_HtmlAttributeValueHoverProvider(), theme_check_common_2 = require_dist2(), LiquidDocTagHoverProvider_1 = require_LiquidDocTagHoverProvider(), ContentForArgumentHoverProvider_1 = require_ContentForArgumentHoverProvider(), ContentForTypeHoverProvider_1 = require_ContentForTypeHoverProvider(), HoverProvider = class {
|
|
63354
63510
|
constructor(documentManager, themeDocset, getMetafieldDefinitions, getTranslationsForURI = async () => ({}), getSettingsSchemaForURI = async () => [], getDocDefinitionForURI = async () => {
|
|
63355
63511
|
}) {
|
|
63356
63512
|
this.documentManager = documentManager, this.themeDocset = themeDocset, this.getMetafieldDefinitions = getMetafieldDefinitions, this.getTranslationsForURI = getTranslationsForURI, this.getSettingsSchemaForURI = getSettingsSchemaForURI, this.getDocDefinitionForURI = getDocDefinitionForURI, this.providers = [];
|
|
63357
63513
|
let typeSystem = new TypeSystem_1.TypeSystem(themeDocset, getSettingsSchemaForURI, getMetafieldDefinitions);
|
|
63358
63514
|
this.providers = [
|
|
63515
|
+
new ContentForArgumentHoverProvider_1.ContentForArgumentHoverProvider(getDocDefinitionForURI),
|
|
63516
|
+
new ContentForTypeHoverProvider_1.ContentForTypeHoverProvider(getDocDefinitionForURI),
|
|
63359
63517
|
new providers_1.LiquidTagHoverProvider(themeDocset),
|
|
63360
63518
|
new providers_1.LiquidFilterHoverProvider(themeDocset),
|
|
63361
63519
|
new providers_1.LiquidObjectHoverProvider(typeSystem),
|
|
@@ -63382,9 +63540,9 @@ var require_HoverProvider = __commonJS({
|
|
|
63382
63540
|
}
|
|
63383
63541
|
});
|
|
63384
63542
|
|
|
63385
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63543
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/index.js
|
|
63386
63544
|
var require_hover = __commonJS({
|
|
63387
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63545
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/index.js"(exports2) {
|
|
63388
63546
|
"use strict";
|
|
63389
63547
|
init_cjs_shims();
|
|
63390
63548
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63396,9 +63554,9 @@ var require_hover = __commonJS({
|
|
|
63396
63554
|
}
|
|
63397
63555
|
});
|
|
63398
63556
|
|
|
63399
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63557
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/RequestContext.js
|
|
63400
63558
|
var require_RequestContext = __commonJS({
|
|
63401
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63559
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/RequestContext.js"(exports2) {
|
|
63402
63560
|
"use strict";
|
|
63403
63561
|
init_cjs_shims();
|
|
63404
63562
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63417,9 +63575,9 @@ var require_RequestContext = __commonJS({
|
|
|
63417
63575
|
}
|
|
63418
63576
|
});
|
|
63419
63577
|
|
|
63420
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63578
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/utils.js
|
|
63421
63579
|
var require_utils9 = __commonJS({
|
|
63422
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63580
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/utils.js"(exports2) {
|
|
63423
63581
|
"use strict";
|
|
63424
63582
|
init_cjs_shims();
|
|
63425
63583
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63453,9 +63611,9 @@ var require_utils9 = __commonJS({
|
|
|
63453
63611
|
}
|
|
63454
63612
|
});
|
|
63455
63613
|
|
|
63456
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63614
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockTypeCompletionProvider.js
|
|
63457
63615
|
var require_BlockTypeCompletionProvider = __commonJS({
|
|
63458
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63616
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockTypeCompletionProvider.js"(exports2) {
|
|
63459
63617
|
"use strict";
|
|
63460
63618
|
init_cjs_shims();
|
|
63461
63619
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63523,9 +63681,9 @@ var require_BlockTypeCompletionProvider = __commonJS({
|
|
|
63523
63681
|
}
|
|
63524
63682
|
});
|
|
63525
63683
|
|
|
63526
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63684
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/ReferencedBlockTypeCompletionProvider.js
|
|
63527
63685
|
var require_ReferencedBlockTypeCompletionProvider = __commonJS({
|
|
63528
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63686
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/ReferencedBlockTypeCompletionProvider.js"(exports2) {
|
|
63529
63687
|
"use strict";
|
|
63530
63688
|
init_cjs_shims();
|
|
63531
63689
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63574,9 +63732,9 @@ var require_ReferencedBlockTypeCompletionProvider = __commonJS({
|
|
|
63574
63732
|
}
|
|
63575
63733
|
});
|
|
63576
63734
|
|
|
63577
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63735
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SchemaTranslationCompletionProvider.js
|
|
63578
63736
|
var require_SchemaTranslationCompletionProvider = __commonJS({
|
|
63579
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63737
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SchemaTranslationCompletionProvider.js"(exports2) {
|
|
63580
63738
|
"use strict";
|
|
63581
63739
|
init_cjs_shims();
|
|
63582
63740
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63615,9 +63773,9 @@ var require_SchemaTranslationCompletionProvider = __commonJS({
|
|
|
63615
63773
|
}
|
|
63616
63774
|
});
|
|
63617
63775
|
|
|
63618
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63776
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SchemaTranslationHoverProvider.js
|
|
63619
63777
|
var require_SchemaTranslationHoverProvider = __commonJS({
|
|
63620
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63778
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SchemaTranslationHoverProvider.js"(exports2) {
|
|
63621
63779
|
"use strict";
|
|
63622
63780
|
init_cjs_shims();
|
|
63623
63781
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63645,9 +63803,9 @@ var require_SchemaTranslationHoverProvider = __commonJS({
|
|
|
63645
63803
|
}
|
|
63646
63804
|
});
|
|
63647
63805
|
|
|
63648
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63806
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/TranslationPathHoverProvider.js
|
|
63649
63807
|
var require_TranslationPathHoverProvider = __commonJS({
|
|
63650
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63808
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/TranslationPathHoverProvider.js"(exports2) {
|
|
63651
63809
|
"use strict";
|
|
63652
63810
|
init_cjs_shims();
|
|
63653
63811
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63694,9 +63852,9 @@ var require_TranslationPathHoverProvider = __commonJS({
|
|
|
63694
63852
|
}
|
|
63695
63853
|
});
|
|
63696
63854
|
|
|
63697
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63855
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/helpers/schemaSettings.js
|
|
63698
63856
|
var require_schemaSettings = __commonJS({
|
|
63699
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63857
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/helpers/schemaSettings.js"(exports2) {
|
|
63700
63858
|
"use strict";
|
|
63701
63859
|
init_cjs_shims();
|
|
63702
63860
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63727,9 +63885,9 @@ var require_schemaSettings = __commonJS({
|
|
|
63727
63885
|
}
|
|
63728
63886
|
});
|
|
63729
63887
|
|
|
63730
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63888
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SettingsPropertyCompletionProvider.js
|
|
63731
63889
|
var require_SettingsPropertyCompletionProvider = __commonJS({
|
|
63732
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63890
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SettingsPropertyCompletionProvider.js"(exports2) {
|
|
63733
63891
|
"use strict";
|
|
63734
63892
|
init_cjs_shims();
|
|
63735
63893
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63764,9 +63922,9 @@ var require_SettingsPropertyCompletionProvider = __commonJS({
|
|
|
63764
63922
|
}
|
|
63765
63923
|
});
|
|
63766
63924
|
|
|
63767
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63925
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SettingsHoverProvider.js
|
|
63768
63926
|
var require_SettingsHoverProvider = __commonJS({
|
|
63769
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63927
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SettingsHoverProvider.js"(exports2) {
|
|
63770
63928
|
"use strict";
|
|
63771
63929
|
init_cjs_shims();
|
|
63772
63930
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63805,9 +63963,9 @@ var require_SettingsHoverProvider = __commonJS({
|
|
|
63805
63963
|
}
|
|
63806
63964
|
});
|
|
63807
63965
|
|
|
63808
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63966
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockSettingsPropertyCompletionProvider.js
|
|
63809
63967
|
var require_BlockSettingsPropertyCompletionProvider = __commonJS({
|
|
63810
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
63968
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockSettingsPropertyCompletionProvider.js"(exports2) {
|
|
63811
63969
|
"use strict";
|
|
63812
63970
|
init_cjs_shims();
|
|
63813
63971
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63849,9 +64007,9 @@ var require_BlockSettingsPropertyCompletionProvider = __commonJS({
|
|
|
63849
64007
|
}
|
|
63850
64008
|
});
|
|
63851
64009
|
|
|
63852
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
64010
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/BlockSettingsHoverProvider.js
|
|
63853
64011
|
var require_BlockSettingsHoverProvider = __commonJS({
|
|
63854
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
64012
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/BlockSettingsHoverProvider.js"(exports2) {
|
|
63855
64013
|
"use strict";
|
|
63856
64014
|
init_cjs_shims();
|
|
63857
64015
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63900,9 +64058,9 @@ var require_BlockSettingsHoverProvider = __commonJS({
|
|
|
63900
64058
|
}
|
|
63901
64059
|
});
|
|
63902
64060
|
|
|
63903
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
64061
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONContributions.js
|
|
63904
64062
|
var require_JSONContributions = __commonJS({
|
|
63905
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
64063
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONContributions.js"(exports2) {
|
|
63906
64064
|
"use strict";
|
|
63907
64065
|
init_cjs_shims();
|
|
63908
64066
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -63966,9 +64124,9 @@ var require_JSONContributions = __commonJS({
|
|
|
63966
64124
|
}
|
|
63967
64125
|
});
|
|
63968
64126
|
|
|
63969
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
64127
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONLanguageService.js
|
|
63970
64128
|
var require_JSONLanguageService = __commonJS({
|
|
63971
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
64129
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONLanguageService.js"(exports2) {
|
|
63972
64130
|
"use strict";
|
|
63973
64131
|
init_cjs_shims();
|
|
63974
64132
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99289,9 +99447,9 @@ var defaultLanguageServiceOptions, init_cssLanguageService = __esm({
|
|
|
99289
99447
|
}
|
|
99290
99448
|
});
|
|
99291
99449
|
|
|
99292
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99450
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/css/CSSLanguageService.js
|
|
99293
99451
|
var require_CSSLanguageService = __commonJS({
|
|
99294
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99452
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/css/CSSLanguageService.js"(exports2) {
|
|
99295
99453
|
"use strict";
|
|
99296
99454
|
init_cjs_shims();
|
|
99297
99455
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99361,9 +99519,9 @@ var require_CSSLanguageService = __commonJS({
|
|
|
99361
99519
|
}
|
|
99362
99520
|
});
|
|
99363
99521
|
|
|
99364
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99522
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/wordPattern.js
|
|
99365
99523
|
var require_wordPattern = __commonJS({
|
|
99366
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99524
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/wordPattern.js"(exports2) {
|
|
99367
99525
|
"use strict";
|
|
99368
99526
|
init_cjs_shims();
|
|
99369
99527
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99373,9 +99531,9 @@ var require_wordPattern = __commonJS({
|
|
|
99373
99531
|
}
|
|
99374
99532
|
});
|
|
99375
99533
|
|
|
99376
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99534
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/EmptyHtmlTagLinkedRangesProvider.js
|
|
99377
99535
|
var require_EmptyHtmlTagLinkedRangesProvider = __commonJS({
|
|
99378
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99536
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/EmptyHtmlTagLinkedRangesProvider.js"(exports2) {
|
|
99379
99537
|
"use strict";
|
|
99380
99538
|
init_cjs_shims();
|
|
99381
99539
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99410,9 +99568,9 @@ var require_EmptyHtmlTagLinkedRangesProvider = __commonJS({
|
|
|
99410
99568
|
}
|
|
99411
99569
|
});
|
|
99412
99570
|
|
|
99413
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99571
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/HtmlTagNameLinkedRangesProvider.js
|
|
99414
99572
|
var require_HtmlTagNameLinkedRangesProvider = __commonJS({
|
|
99415
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99573
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/HtmlTagNameLinkedRangesProvider.js"(exports2) {
|
|
99416
99574
|
"use strict";
|
|
99417
99575
|
init_cjs_shims();
|
|
99418
99576
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99439,9 +99597,9 @@ var require_HtmlTagNameLinkedRangesProvider = __commonJS({
|
|
|
99439
99597
|
}
|
|
99440
99598
|
});
|
|
99441
99599
|
|
|
99442
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99600
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/index.js
|
|
99443
99601
|
var require_providers6 = __commonJS({
|
|
99444
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99602
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/index.js"(exports2) {
|
|
99445
99603
|
"use strict";
|
|
99446
99604
|
init_cjs_shims();
|
|
99447
99605
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99457,9 +99615,9 @@ var require_providers6 = __commonJS({
|
|
|
99457
99615
|
}
|
|
99458
99616
|
});
|
|
99459
99617
|
|
|
99460
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99618
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/LinkedEditingRangesProvider.js
|
|
99461
99619
|
var require_LinkedEditingRangesProvider = __commonJS({
|
|
99462
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99620
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/LinkedEditingRangesProvider.js"(exports2) {
|
|
99463
99621
|
"use strict";
|
|
99464
99622
|
init_cjs_shims();
|
|
99465
99623
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99486,9 +99644,9 @@ var require_LinkedEditingRangesProvider = __commonJS({
|
|
|
99486
99644
|
}
|
|
99487
99645
|
});
|
|
99488
99646
|
|
|
99489
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99647
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/HtmlTagNameRenameProvider.js
|
|
99490
99648
|
var require_HtmlTagNameRenameProvider = __commonJS({
|
|
99491
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99649
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/HtmlTagNameRenameProvider.js"(exports2) {
|
|
99492
99650
|
"use strict";
|
|
99493
99651
|
init_cjs_shims();
|
|
99494
99652
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99526,9 +99684,9 @@ var require_HtmlTagNameRenameProvider = __commonJS({
|
|
|
99526
99684
|
}
|
|
99527
99685
|
});
|
|
99528
99686
|
|
|
99529
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99687
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/uri.js
|
|
99530
99688
|
var require_uri = __commonJS({
|
|
99531
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99689
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/uri.js"(exports2) {
|
|
99532
99690
|
"use strict";
|
|
99533
99691
|
init_cjs_shims();
|
|
99534
99692
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99560,9 +99718,9 @@ var require_uri = __commonJS({
|
|
|
99560
99718
|
}
|
|
99561
99719
|
});
|
|
99562
99720
|
|
|
99563
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99721
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/LiquidVariableRenameProvider.js
|
|
99564
99722
|
var require_LiquidVariableRenameProvider = __commonJS({
|
|
99565
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99723
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/LiquidVariableRenameProvider.js"(exports2) {
|
|
99566
99724
|
"use strict";
|
|
99567
99725
|
init_cjs_shims();
|
|
99568
99726
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99705,9 +99863,9 @@ var require_LiquidVariableRenameProvider = __commonJS({
|
|
|
99705
99863
|
}
|
|
99706
99864
|
});
|
|
99707
99865
|
|
|
99708
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99866
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/RenameProvider.js
|
|
99709
99867
|
var require_RenameProvider = __commonJS({
|
|
99710
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99868
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/RenameProvider.js"(exports2) {
|
|
99711
99869
|
"use strict";
|
|
99712
99870
|
init_cjs_shims();
|
|
99713
99871
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99747,9 +99905,9 @@ var require_RenameProvider = __commonJS({
|
|
|
99747
99905
|
}
|
|
99748
99906
|
});
|
|
99749
99907
|
|
|
99750
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99908
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/AssetRenameHandler.js
|
|
99751
99909
|
var require_AssetRenameHandler = __commonJS({
|
|
99752
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99910
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/AssetRenameHandler.js"(exports2) {
|
|
99753
99911
|
"use strict";
|
|
99754
99912
|
init_cjs_shims();
|
|
99755
99913
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99815,9 +99973,9 @@ var require_AssetRenameHandler = __commonJS({
|
|
|
99815
99973
|
}
|
|
99816
99974
|
});
|
|
99817
99975
|
|
|
99818
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99976
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/utils.js
|
|
99819
99977
|
var require_utils10 = __commonJS({
|
|
99820
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99978
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/utils.js"(exports2) {
|
|
99821
99979
|
"use strict";
|
|
99822
99980
|
init_cjs_shims();
|
|
99823
99981
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -99833,9 +99991,9 @@ var require_utils10 = __commonJS({
|
|
|
99833
99991
|
}
|
|
99834
99992
|
});
|
|
99835
99993
|
|
|
99836
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99994
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/BlockRenameHandler.js
|
|
99837
99995
|
var require_BlockRenameHandler = __commonJS({
|
|
99838
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
99996
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/BlockRenameHandler.js"(exports2) {
|
|
99839
99997
|
"use strict";
|
|
99840
99998
|
init_cjs_shims();
|
|
99841
99999
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100006,9 +100164,9 @@ var require_BlockRenameHandler = __commonJS({
|
|
|
100006
100164
|
}
|
|
100007
100165
|
});
|
|
100008
100166
|
|
|
100009
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100167
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SnippetRenameHandler.js
|
|
100010
100168
|
var require_SnippetRenameHandler = __commonJS({
|
|
100011
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100169
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SnippetRenameHandler.js"(exports2) {
|
|
100012
100170
|
"use strict";
|
|
100013
100171
|
init_cjs_shims();
|
|
100014
100172
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100077,9 +100235,9 @@ var require_SnippetRenameHandler = __commonJS({
|
|
|
100077
100235
|
}
|
|
100078
100236
|
});
|
|
100079
100237
|
|
|
100080
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100238
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SectionRenameHandler.js
|
|
100081
100239
|
var require_SectionRenameHandler = __commonJS({
|
|
100082
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100240
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SectionRenameHandler.js"(exports2) {
|
|
100083
100241
|
"use strict";
|
|
100084
100242
|
init_cjs_shims();
|
|
100085
100243
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100195,9 +100353,9 @@ var require_SectionRenameHandler = __commonJS({
|
|
|
100195
100353
|
}
|
|
100196
100354
|
});
|
|
100197
100355
|
|
|
100198
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100356
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/RenameHandler.js
|
|
100199
100357
|
var require_RenameHandler = __commonJS({
|
|
100200
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100358
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/RenameHandler.js"(exports2) {
|
|
100201
100359
|
"use strict";
|
|
100202
100360
|
init_cjs_shims();
|
|
100203
100361
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100225,12 +100383,12 @@ var require_RenameHandler = __commonJS({
|
|
|
100225
100383
|
}
|
|
100226
100384
|
});
|
|
100227
100385
|
|
|
100228
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100386
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/package.json
|
|
100229
100387
|
var require_package3 = __commonJS({
|
|
100230
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100388
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/package.json"(exports2, module2) {
|
|
100231
100389
|
module2.exports = {
|
|
100232
100390
|
name: "@shopify/theme-language-server-common",
|
|
100233
|
-
version: "2.
|
|
100391
|
+
version: "2.15.2",
|
|
100234
100392
|
main: "dist/index.js",
|
|
100235
100393
|
types: "dist/index.d.ts",
|
|
100236
100394
|
author: "CP Clermont <cp.clermont@shopify.com>",
|
|
@@ -100258,7 +100416,7 @@ var require_package3 = __commonJS({
|
|
|
100258
100416
|
},
|
|
100259
100417
|
dependencies: {
|
|
100260
100418
|
"@shopify/liquid-html-parser": "^2.8.2",
|
|
100261
|
-
"@shopify/theme-check-common": "3.
|
|
100419
|
+
"@shopify/theme-check-common": "3.17.0",
|
|
100262
100420
|
"@vscode/web-custom-data": "^0.4.6",
|
|
100263
100421
|
"vscode-json-languageservice": "^5.3.10",
|
|
100264
100422
|
"vscode-languageserver": "^8.0.2",
|
|
@@ -100270,9 +100428,9 @@ var require_package3 = __commonJS({
|
|
|
100270
100428
|
}
|
|
100271
100429
|
});
|
|
100272
100430
|
|
|
100273
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100431
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/version.js
|
|
100274
100432
|
var require_version3 = __commonJS({
|
|
100275
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100433
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/version.js"(exports2) {
|
|
100276
100434
|
"use strict";
|
|
100277
100435
|
init_cjs_shims();
|
|
100278
100436
|
var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
|
|
@@ -100285,9 +100443,9 @@ var require_version3 = __commonJS({
|
|
|
100285
100443
|
}
|
|
100286
100444
|
});
|
|
100287
100445
|
|
|
100288
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100446
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/CachedFileSystem.js
|
|
100289
100447
|
var require_CachedFileSystem = __commonJS({
|
|
100290
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100448
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/CachedFileSystem.js"(exports2) {
|
|
100291
100449
|
"use strict";
|
|
100292
100450
|
init_cjs_shims();
|
|
100293
100451
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100310,9 +100468,9 @@ var require_CachedFileSystem = __commonJS({
|
|
|
100310
100468
|
}
|
|
100311
100469
|
});
|
|
100312
100470
|
|
|
100313
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100471
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/Configuration.js
|
|
100314
100472
|
var require_Configuration = __commonJS({
|
|
100315
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100473
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/Configuration.js"(exports2) {
|
|
100316
100474
|
"use strict";
|
|
100317
100475
|
init_cjs_shims();
|
|
100318
100476
|
var _a40, _b, _c, _d;
|
|
@@ -100371,9 +100529,9 @@ var require_Configuration = __commonJS({
|
|
|
100371
100529
|
}
|
|
100372
100530
|
});
|
|
100373
100531
|
|
|
100374
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100532
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/safe.js
|
|
100375
100533
|
var require_safe = __commonJS({
|
|
100376
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100534
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/safe.js"(exports2) {
|
|
100377
100535
|
"use strict";
|
|
100378
100536
|
init_cjs_shims();
|
|
100379
100537
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100389,9 +100547,9 @@ var require_safe = __commonJS({
|
|
|
100389
100547
|
}
|
|
100390
100548
|
});
|
|
100391
100549
|
|
|
100392
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100550
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/startServer.js
|
|
100393
100551
|
var require_startServer = __commonJS({
|
|
100394
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100552
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/startServer.js"(exports2) {
|
|
100395
100553
|
"use strict";
|
|
100396
100554
|
init_cjs_shims();
|
|
100397
100555
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100628,9 +100786,9 @@ var require_startServer = __commonJS({
|
|
|
100628
100786
|
}
|
|
100629
100787
|
});
|
|
100630
100788
|
|
|
100631
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100789
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/index.js
|
|
100632
100790
|
var require_server2 = __commonJS({
|
|
100633
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100791
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/index.js"(exports2) {
|
|
100634
100792
|
"use strict";
|
|
100635
100793
|
init_cjs_shims();
|
|
100636
100794
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100642,9 +100800,9 @@ var require_server2 = __commonJS({
|
|
|
100642
100800
|
}
|
|
100643
100801
|
});
|
|
100644
100802
|
|
|
100645
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100803
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/index.js
|
|
100646
100804
|
var require_dist8 = __commonJS({
|
|
100647
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
100805
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/index.js"(exports2) {
|
|
100648
100806
|
"use strict";
|
|
100649
100807
|
init_cjs_shims();
|
|
100650
100808
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -100701,9 +100859,9 @@ var require_node5 = __commonJS({
|
|
|
100701
100859
|
}
|
|
100702
100860
|
});
|
|
100703
100861
|
|
|
100704
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
100862
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/dependencies.js
|
|
100705
100863
|
var require_dependencies = __commonJS({
|
|
100706
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
100864
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/dependencies.js"(exports2) {
|
|
100707
100865
|
"use strict";
|
|
100708
100866
|
init_cjs_shims();
|
|
100709
100867
|
Object.defineProperty(exports2, "__esModule", { value: !0 });
|
|
@@ -100735,9 +100893,9 @@ var require_dependencies = __commonJS({
|
|
|
100735
100893
|
}
|
|
100736
100894
|
});
|
|
100737
100895
|
|
|
100738
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
100896
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/metafieldDefinitions.js
|
|
100739
100897
|
var require_metafieldDefinitions = __commonJS({
|
|
100740
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
100898
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/metafieldDefinitions.js"(exports2) {
|
|
100741
100899
|
"use strict";
|
|
100742
100900
|
init_cjs_shims();
|
|
100743
100901
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -100797,9 +100955,9 @@ var require_metafieldDefinitions = __commonJS({
|
|
|
100797
100955
|
}
|
|
100798
100956
|
});
|
|
100799
100957
|
|
|
100800
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
100958
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/index.js
|
|
100801
100959
|
var require_dist9 = __commonJS({
|
|
100802
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
100960
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/index.js"(exports2) {
|
|
100803
100961
|
"use strict";
|
|
100804
100962
|
init_cjs_shims();
|
|
100805
100963
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -182974,7 +183132,7 @@ init_cjs_shims();
|
|
|
182974
183132
|
|
|
182975
183133
|
// ../cli-kit/dist/public/node/toml.js
|
|
182976
183134
|
init_cjs_shims();
|
|
182977
|
-
var toml = __toESM(require_toml());
|
|
183135
|
+
var toml = __toESM(require_toml(), 1);
|
|
182978
183136
|
function decodeToml(input) {
|
|
182979
183137
|
let normalizedInput = input.replace(/\r\n$/g, `
|
|
182980
183138
|
`);
|
|
@@ -185963,8 +186121,8 @@ async function adminRequest(query, session, variables) {
|
|
|
185963
186121
|
let api = "Admin", version = await fetchLatestSupportedApiVersion(session), store = await normalizeStoreFqdn(session.storeFqdn), url = adminUrl(store, version, session), addedHeaders = themeAccessHeaders(session);
|
|
185964
186122
|
return graphqlRequest({ query, api, addedHeaders, url, token: session.token, variables });
|
|
185965
186123
|
}
|
|
185966
|
-
async function adminRequestDoc(
|
|
185967
|
-
let apiVersion = version ?? LatestApiVersionByFQDN.get(session.storeFqdn);
|
|
186124
|
+
async function adminRequestDoc(options2) {
|
|
186125
|
+
let { query, session, variables, version, responseOptions, requestBehaviour } = options2, apiVersion = version ?? LatestApiVersionByFQDN.get(session.storeFqdn);
|
|
185968
186126
|
apiVersion || (apiVersion = await fetchLatestSupportedApiVersion(session));
|
|
185969
186127
|
let store = await normalizeStoreFqdn(session.storeFqdn), addedHeaders = themeAccessHeaders(session), opts = {
|
|
185970
186128
|
url: adminUrl(store, apiVersion, session),
|
|
@@ -185977,7 +186135,8 @@ async function adminRequestDoc(query, session, variables, version, responseOptio
|
|
|
185977
186135
|
query,
|
|
185978
186136
|
variables,
|
|
185979
186137
|
responseOptions,
|
|
185980
|
-
unauthorizedHandler
|
|
186138
|
+
unauthorizedHandler,
|
|
186139
|
+
requestBehaviour
|
|
185981
186140
|
});
|
|
185982
186141
|
}
|
|
185983
186142
|
function themeAccessHeaders(session) {
|
|
@@ -185992,7 +186151,13 @@ async function supportedApiVersions(session) {
|
|
|
185992
186151
|
}
|
|
185993
186152
|
async function fetchApiVersions(session) {
|
|
185994
186153
|
try {
|
|
185995
|
-
return (await adminRequestDoc(
|
|
186154
|
+
return (await adminRequestDoc({
|
|
186155
|
+
query: PublicApiVersions,
|
|
186156
|
+
session,
|
|
186157
|
+
variables: {},
|
|
186158
|
+
version: "unstable",
|
|
186159
|
+
responseOptions: { handleErrors: !1 }
|
|
186160
|
+
})).publicApiVersions;
|
|
185996
186161
|
} catch (error) {
|
|
185997
186162
|
if (error instanceof ClientError && error.response.status === 403) {
|
|
185998
186163
|
let storeName = session.storeFqdn.replace(".myshopify.com", "");
|
|
@@ -186332,12 +186497,6 @@ var IncludeSchema = z.object({
|
|
|
186332
186497
|
identifier: "editor_extension_collection",
|
|
186333
186498
|
schema: EditorExtensionCollectionSchema,
|
|
186334
186499
|
appModuleFeatures: (_2) => [],
|
|
186335
|
-
validate: async (config2, path) => {
|
|
186336
|
-
let errors = [];
|
|
186337
|
-
return config2.inCollection.length < 2 && errors.push(`${config2.handle}: This editor extension collection must include at least 2 extensions`), errors.length > 0 ? (errors.push(`Please check the configuration in ${path}`), err(errors.join(`
|
|
186338
|
-
|
|
186339
|
-
`))) : ok({});
|
|
186340
|
-
},
|
|
186341
186500
|
deployConfig: async (config2, directory) => ({
|
|
186342
186501
|
name: config2.name,
|
|
186343
186502
|
handle: config2.handle,
|
|
@@ -192941,7 +193100,7 @@ init_cjs_shims();
|
|
|
192941
193100
|
init_cjs_shims();
|
|
192942
193101
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
192943
193102
|
async function launchCLI(options2) {
|
|
192944
|
-
let { errorHandler: errorHandler3 } = await import("./error-handler-
|
|
193103
|
+
let { errorHandler: errorHandler3 } = await import("./error-handler-RIDKILPF.js"), { isDevelopment: isDevelopment2 } = await import("./local-KV2SOCMK.js"), oclif = await import("./lib-GSZAN7VA.js"), { ShopifyConfig } = await import("./custom-oclif-loader-PRNYU3ER.js");
|
|
192945
193104
|
isDevelopment2() && (oclif.default.settings.debug = !0);
|
|
192946
193105
|
try {
|
|
192947
193106
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options2.moduleURL) });
|
|
@@ -192956,7 +193115,7 @@ var import_core3 = __toESM(require_lib2());
|
|
|
192956
193115
|
async function exitIfOldNodeVersion(versions2 = process.versions) {
|
|
192957
193116
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
192958
193117
|
if (nodeMajorVersion < 18) {
|
|
192959
|
-
let { renderError: renderError2 } = await import("./ui-
|
|
193118
|
+
let { renderError: renderError2 } = await import("./ui-3BXQLAQB.js");
|
|
192960
193119
|
renderError2({
|
|
192961
193120
|
headline: "Upgrade to a supported Node version now.",
|
|
192962
193121
|
body: [
|
|
@@ -192983,7 +193142,7 @@ async function runCLI(options2, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
192983
193142
|
return setupEnvironmentVariables(options2, argv, env), options2.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options2, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options2.moduleURL });
|
|
192984
193143
|
}
|
|
192985
193144
|
async function addInitToArgvWhenRunningCreateCLI(options2, argv = process.argv) {
|
|
192986
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
193145
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-YYJZJHXJ.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-GWAZZN2N.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
192987
193146
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
192988
193147
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
192989
193148
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -195378,12 +195537,20 @@ var Operation;
|
|
|
195378
195537
|
})(Operation || (Operation = {}));
|
|
195379
195538
|
|
|
195380
195539
|
// ../cli-kit/dist/public/node/themes/api.js
|
|
195381
|
-
var SkeletonThemeCdn = "https://cdn.shopify.com/static/online-store/theme-skeleton.zip"
|
|
195540
|
+
var SkeletonThemeCdn = "https://cdn.shopify.com/static/online-store/theme-skeleton.zip", THEME_API_NETWORK_BEHAVIOUR = {
|
|
195541
|
+
useNetworkLevelRetry: !0,
|
|
195542
|
+
useAbortSignal: !0,
|
|
195543
|
+
timeoutMs: 90 * 1e3,
|
|
195544
|
+
maxRetryTimeMs: 90 * 1e3
|
|
195545
|
+
};
|
|
195382
195546
|
async function fetchTheme(id, session) {
|
|
195383
195547
|
let gid = composeThemeGid(id);
|
|
195384
195548
|
try {
|
|
195385
|
-
let { theme } = await adminRequestDoc(
|
|
195386
|
-
|
|
195549
|
+
let { theme } = await adminRequestDoc({
|
|
195550
|
+
query: GetTheme,
|
|
195551
|
+
session,
|
|
195552
|
+
variables: { id: gid },
|
|
195553
|
+
responseOptions: { handleErrors: !1 }
|
|
195387
195554
|
});
|
|
195388
195555
|
if (theme)
|
|
195389
195556
|
return buildTheme({
|
|
@@ -195399,7 +195566,12 @@ async function fetchTheme(id, session) {
|
|
|
195399
195566
|
async function fetchThemes(session) {
|
|
195400
195567
|
let themes = [], after = null;
|
|
195401
195568
|
for (; ; ) {
|
|
195402
|
-
let response = await adminRequestDoc(
|
|
195569
|
+
let response = await adminRequestDoc({
|
|
195570
|
+
query: GetThemes,
|
|
195571
|
+
session,
|
|
195572
|
+
variables: { after },
|
|
195573
|
+
responseOptions: { handleErrors: !1 }
|
|
195574
|
+
});
|
|
195403
195575
|
response.themes || unexpectedGraphQLError("Failed to fetch themes");
|
|
195404
195576
|
let { nodes, pageInfo } = response.themes;
|
|
195405
195577
|
if (nodes.forEach((theme) => {
|
|
@@ -195416,10 +195588,15 @@ async function fetchThemes(session) {
|
|
|
195416
195588
|
}
|
|
195417
195589
|
}
|
|
195418
195590
|
async function themeCreate(params, session) {
|
|
195419
|
-
let themeSource = params.src ?? SkeletonThemeCdn, { themeCreate: themeCreate2 } = await adminRequestDoc(
|
|
195420
|
-
|
|
195421
|
-
|
|
195422
|
-
|
|
195591
|
+
let themeSource = params.src ?? SkeletonThemeCdn, { themeCreate: themeCreate2 } = await adminRequestDoc({
|
|
195592
|
+
query: ThemeCreate,
|
|
195593
|
+
session,
|
|
195594
|
+
variables: {
|
|
195595
|
+
name: params.name ?? "",
|
|
195596
|
+
source: themeSource,
|
|
195597
|
+
role: (params.role ?? DEVELOPMENT_THEME_ROLE).toUpperCase()
|
|
195598
|
+
},
|
|
195599
|
+
responseOptions: { handleErrors: !1 }
|
|
195423
195600
|
});
|
|
195424
195601
|
themeCreate2 || unexpectedGraphQLError("Failed to create theme");
|
|
195425
195602
|
let { theme, userErrors } = themeCreate2;
|
|
@@ -195436,10 +195613,11 @@ async function themeCreate(params, session) {
|
|
|
195436
195613
|
async function fetchThemeAssets(id, filenames, session) {
|
|
195437
195614
|
let assets = [], after = null;
|
|
195438
195615
|
for (; ; ) {
|
|
195439
|
-
let response = await adminRequestDoc(
|
|
195440
|
-
|
|
195441
|
-
|
|
195442
|
-
after
|
|
195616
|
+
let response = await adminRequestDoc({
|
|
195617
|
+
query: GetThemeFileBodies,
|
|
195618
|
+
session,
|
|
195619
|
+
variables: { id: themeGid(id), filenames, after },
|
|
195620
|
+
responseOptions: { handleErrors: !1 }
|
|
195443
195621
|
});
|
|
195444
195622
|
if (!response.theme?.files?.nodes || !response.theme?.files?.pageInfo) {
|
|
195445
195623
|
let userErrors = response.theme?.files?.userErrors.map((error) => error.filename).join(", ");
|
|
@@ -195464,9 +195642,14 @@ async function fetchThemeAssets(id, filenames, session) {
|
|
|
195464
195642
|
async function deleteThemeAssets(id, filenames, session) {
|
|
195465
195643
|
let results = [];
|
|
195466
195644
|
for (let i = 0; i < filenames.length; i += 50) {
|
|
195467
|
-
let batch = filenames.slice(i, i + 50), { themeFilesDelete } = await adminRequestDoc(
|
|
195468
|
-
|
|
195469
|
-
|
|
195645
|
+
let batch = filenames.slice(i, i + 50), { themeFilesDelete } = await adminRequestDoc({
|
|
195646
|
+
query: ThemeFilesDelete,
|
|
195647
|
+
session,
|
|
195648
|
+
variables: {
|
|
195649
|
+
themeId: composeThemeGid(id),
|
|
195650
|
+
files: batch
|
|
195651
|
+
},
|
|
195652
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
195470
195653
|
});
|
|
195471
195654
|
themeFilesDelete || unexpectedGraphQLError("Failed to delete theme assets");
|
|
195472
195655
|
let { deletedThemeFiles, userErrors } = themeFilesDelete;
|
|
@@ -195507,7 +195690,12 @@ function prepareFilesForUpload(assets) {
|
|
|
195507
195690
|
});
|
|
195508
195691
|
}
|
|
195509
195692
|
async function uploadFiles(themeId, files, session) {
|
|
195510
|
-
return adminRequestDoc(
|
|
195693
|
+
return adminRequestDoc({
|
|
195694
|
+
query: ThemeFilesUpsert,
|
|
195695
|
+
session,
|
|
195696
|
+
variables: { themeId: themeGid(themeId), files },
|
|
195697
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
195698
|
+
});
|
|
195511
195699
|
}
|
|
195512
195700
|
function processUploadResults(uploadResults) {
|
|
195513
195701
|
let { themeFilesUpsert } = uploadResults;
|
|
@@ -195531,7 +195719,12 @@ function processUploadResults(uploadResults) {
|
|
|
195531
195719
|
async function fetchChecksums(id, session) {
|
|
195532
195720
|
let checksums = [], after = null;
|
|
195533
195721
|
for (; ; ) {
|
|
195534
|
-
let response = await adminRequestDoc(
|
|
195722
|
+
let response = await adminRequestDoc({
|
|
195723
|
+
query: GetThemeFileChecksums,
|
|
195724
|
+
session,
|
|
195725
|
+
variables: { id: themeGid(id), after },
|
|
195726
|
+
responseOptions: { handleErrors: !1 }
|
|
195727
|
+
});
|
|
195535
195728
|
if (!response?.theme?.files?.nodes || !response?.theme?.files?.pageInfo) {
|
|
195536
195729
|
let userErrors = response.theme?.files?.userErrors.map((error) => error.filename).join(", ");
|
|
195537
195730
|
throw new AbortError(`Failed to fetch checksums for: ${userErrors}`);
|
|
@@ -195548,7 +195741,12 @@ async function fetchChecksums(id, session) {
|
|
|
195548
195741
|
async function themeUpdate(id, params, session) {
|
|
195549
195742
|
let name = params.name, input = {};
|
|
195550
195743
|
name && (input.name = name);
|
|
195551
|
-
let { themeUpdate: themeUpdate2 } = await adminRequestDoc(
|
|
195744
|
+
let { themeUpdate: themeUpdate2 } = await adminRequestDoc({
|
|
195745
|
+
query: ThemeUpdate,
|
|
195746
|
+
session,
|
|
195747
|
+
variables: { id: composeThemeGid(id), input },
|
|
195748
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
195749
|
+
});
|
|
195552
195750
|
themeUpdate2 || unexpectedGraphQLError("Failed to update theme");
|
|
195553
195751
|
let { theme, userErrors } = themeUpdate2;
|
|
195554
195752
|
if (userErrors.length) {
|
|
@@ -195562,7 +195760,12 @@ async function themeUpdate(id, params, session) {
|
|
|
195562
195760
|
});
|
|
195563
195761
|
}
|
|
195564
195762
|
async function themePublish(id, session) {
|
|
195565
|
-
let { themePublish: themePublish2 } = await adminRequestDoc(
|
|
195763
|
+
let { themePublish: themePublish2 } = await adminRequestDoc({
|
|
195764
|
+
query: ThemePublish,
|
|
195765
|
+
session,
|
|
195766
|
+
variables: { id: composeThemeGid(id) },
|
|
195767
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
195768
|
+
});
|
|
195566
195769
|
themePublish2 || unexpectedGraphQLError("Failed to update theme");
|
|
195567
195770
|
let { theme, userErrors } = themePublish2;
|
|
195568
195771
|
if (userErrors.length) {
|
|
@@ -195576,7 +195779,12 @@ async function themePublish(id, session) {
|
|
|
195576
195779
|
});
|
|
195577
195780
|
}
|
|
195578
195781
|
async function themeDelete(id, session) {
|
|
195579
|
-
let { themeDelete: themeDelete2 } = await adminRequestDoc(
|
|
195782
|
+
let { themeDelete: themeDelete2 } = await adminRequestDoc({
|
|
195783
|
+
query: ThemeDelete,
|
|
195784
|
+
session,
|
|
195785
|
+
variables: { id: composeThemeGid(id) },
|
|
195786
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
195787
|
+
});
|
|
195580
195788
|
themeDelete2 || unexpectedGraphQLError("Failed to update theme");
|
|
195581
195789
|
let { deletedThemeId, userErrors } = themeDelete2;
|
|
195582
195790
|
if (userErrors.length) {
|
|
@@ -195586,8 +195794,10 @@ async function themeDelete(id, session) {
|
|
|
195586
195794
|
return deletedThemeId || unexpectedGraphQLError("Failed to update theme"), !0;
|
|
195587
195795
|
}
|
|
195588
195796
|
async function metafieldDefinitionsByOwnerType(type, session) {
|
|
195589
|
-
let { metafieldDefinitions } = await adminRequestDoc(
|
|
195590
|
-
|
|
195797
|
+
let { metafieldDefinitions } = await adminRequestDoc({
|
|
195798
|
+
query: MetafieldDefinitionsByOwnerType,
|
|
195799
|
+
session,
|
|
195800
|
+
variables: { ownerType: type }
|
|
195591
195801
|
});
|
|
195592
195802
|
return metafieldDefinitions.nodes.map((definition) => ({
|
|
195593
195803
|
key: definition.key,
|
|
@@ -195601,7 +195811,10 @@ async function metafieldDefinitionsByOwnerType(type, session) {
|
|
|
195601
195811
|
}));
|
|
195602
195812
|
}
|
|
195603
195813
|
async function passwordProtected(session) {
|
|
195604
|
-
let { onlineStore } = await adminRequestDoc(
|
|
195814
|
+
let { onlineStore } = await adminRequestDoc({
|
|
195815
|
+
query: OnlineStorePasswordProtection,
|
|
195816
|
+
session
|
|
195817
|
+
});
|
|
195605
195818
|
onlineStore || unexpectedGraphQLError("Unable to get details about the storefront's password protection");
|
|
195606
195819
|
let { passwordProtection } = onlineStore;
|
|
195607
195820
|
return passwordProtection.enabled;
|