UNPKG

975 BJavaScriptView Raw
1"use strict";
2var __rest = (this && this.__rest) || function (s, e) {
3 var t = {};
4 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5 t[p] = s[p];
6 if (s != null && typeof Object.getOwnPropertySymbols === "function")
7 for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8 if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9 t[p[i]] = s[p[i]];
10 }
11 return t;
12};
13Object.defineProperty(exports, "__esModule", { value: true });
14exports.SelectX = void 0;
15const select_1 = require("./select");
16/**
17 * The selectX transform filter index by y channel.
18 */
19const SelectX = (options = {}) => {
20 const { selector } = options, rest = __rest(options, ["selector"]);
21 return (0, select_1.Select)(Object.assign({ channel: 'x', selector }, rest));
22};
23exports.SelectX = SelectX;
24exports.SelectX.props = {};
25//# sourceMappingURL=selectX.js.map
\No newline at end of file