lion/packages/steps/custom-elements.json
2021-02-15 18:07:33 +01:00

336 lines
8.1 KiB
JSON

{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionSteps",
"declaration": {
"name": "LionSteps",
"module": "./src/LionSteps.js"
}
},
{
"kind": "js",
"name": "LionStep",
"declaration": {
"name": "LionStep",
"module": "./src/LionStep.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-step.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-step",
"declaration": {
"name": "LionStep",
"module": "./src/LionStep.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-steps.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-steps",
"declaration": {
"name": "LionSteps",
"module": "./src/LionSteps.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionStep.js",
"declarations": [
{
"kind": "class",
"name": "LionStep",
"events": [
{
"name": "enter",
"type": {
"type": "CustomEvent"
}
},
{
"name": "leave",
"type": {
"type": "CustomEvent"
}
},
{
"name": "skip",
"type": {
"type": "CustomEvent"
}
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "status",
"fieldName": "status"
},
{
"name": "invert-condition",
"fieldName": "invertCondition"
},
{
"name": "forward-only",
"fieldName": "forwardOnly"
},
{
"name": "initial-step",
"fieldName": "initialStep"
}
],
"members": [
{
"kind": "field",
"name": "status",
"privacy": "public",
"default": "'untouched'"
},
{
"kind": "field",
"name": "condition",
"privacy": "public"
},
{
"kind": "field",
"name": "invertCondition",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "forwardOnly",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "initialStep",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "enter",
"privacy": "public"
},
{
"kind": "method",
"name": "leave",
"privacy": "public"
},
{
"kind": "method",
"name": "skip",
"privacy": "public"
},
{
"kind": "method",
"name": "passesCondition",
"privacy": "public",
"parameters": [
{
"name": "data",
"type": {
"type": "Object"
},
"optional": true
}
]
}
],
"tagName": "lion-step"
}
],
"exports": [
{
"kind": "js",
"name": "LionStep",
"declaration": {
"name": "LionStep",
"module": "./src/LionStep.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionSteps.js",
"declarations": [
{
"kind": "class",
"name": "LionSteps",
"events": [
{
"name": "transition",
"type": {
"type": "CustomEvent"
}
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "data",
"fieldName": "data"
},
{
"name": "current",
"fieldName": "current"
}
],
"members": [
{
"kind": "field",
"name": "data",
"privacy": "public",
"type": {
"type": "{[key: string]: ?}"
},
"default": "{}"
},
{
"kind": "field",
"name": "current",
"privacy": "public",
"type": {
"type": "number"
},
"default": "0"
},
{
"kind": "method",
"name": "next",
"privacy": "public"
},
{
"kind": "method",
"name": "previous",
"privacy": "public"
},
{
"kind": "field",
"name": "steps",
"privacy": "public"
},
{
"kind": "method",
"name": "_goTo",
"privacy": "public",
"parameters": [
{
"name": "newCurrent",
"type": {
"type": "number"
}
},
{
"name": "oldCurrent",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "_changeStep",
"privacy": "public",
"parameters": [
{
"name": "newCurrent",
"type": {
"type": "number"
}
},
{
"name": "oldCurrent",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "_dispatchTransitionEvent",
"privacy": "public",
"parameters": [
{
"name": "fromStep",
"type": {
"type": "{number: number, element: LionStep}"
}
},
{
"name": "toStep",
"type": {
"type": "{number: number, element: LionStep}"
}
}
]
},
{
"kind": "method",
"name": "_onCurrentChanged",
"privacy": "public",
"parameters": [
{
"name": "newValues",
"type": {
"type": "{current: number}"
}
},
{
"name": "oldValues",
"type": {
"type": "{current: number}"
}
}
]
}
],
"tagName": "lion-steps"
}
],
"exports": [
{
"kind": "js",
"name": "LionSteps",
"declaration": {
"name": "LionSteps",
"module": "./src/LionSteps.js"
}
}
]
}
]
}