@pb33f/cowboy-components 0.1.12 → 0.1.13
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/components/editor/editor.js +4 -4
- package/dist/components/footer/footer.js +1 -1
- package/dist/components/paginator/paginator-navigator.d.ts +2 -2
- package/dist/components/paginator/paginator-navigator.js +3 -3
- package/dist/components/percent-bar/percent-bar.js +1 -1
- package/dist/components/problem-list/problem-list.d.ts +1 -1
- package/dist/components/problem-list/problem-list.js +9 -9
- package/dist/components/render-json-path/render-json-path.js +1 -1
- package/dist/components/the-doctor/feedback.js +1 -1
- package/dist/components/the-doctor/the-doctor.d.ts +1 -1
- package/dist/components/the-doctor/the-doctor.js +3 -3
- package/dist/cowboy-components.umd.cjs +1 -1
- package/dist/services/linting-service.d.ts +4 -4
- package/dist/services/linting-service.js +1 -1
- package/package.json +1 -1
|
@@ -12,13 +12,13 @@ import * as monaco from "monaco-editor";
|
|
|
12
12
|
// @ts-ignore
|
|
13
13
|
import styles from "monaco-editor/min/vs/editor/editor.main.css?inline";
|
|
14
14
|
// @ts-ignore
|
|
15
|
-
import editorWorker from "monaco-editor/esm/vs/editor/editor.worker?worker";
|
|
15
|
+
import editorWorker from "monaco-editor/esm/vs/editor/editor.worker.js?worker";
|
|
16
16
|
// @ts-ignore
|
|
17
|
-
import htmlWorker from "monaco-editor/esm/vs/language/html/html.worker?worker";
|
|
17
|
+
import htmlWorker from "monaco-editor/esm/vs/language/html/html.worker.js?worker";
|
|
18
18
|
// @ts-ignore
|
|
19
|
-
import cssWorker from "monaco-editor/esm/vs/language/css/css.worker?worker";
|
|
19
|
+
import cssWorker from "monaco-editor/esm/vs/language/css/css.worker.js?worker";
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import jsonWorker from "monaco-editor/esm/vs/language/json/json.worker?worker";
|
|
21
|
+
import jsonWorker from "monaco-editor/esm/vs/language/json/json.worker.js?worker";
|
|
22
22
|
import { EditorClicked, EditorUpdated } from "../../events/doctor.js";
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
self.MonacoEnvironment = {
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { customElement, property } from "lit/decorators.js";
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
9
|
import footerCss from "./footer.css.js";
|
|
10
|
-
import linksCss from "../../css/links.css";
|
|
10
|
+
import linksCss from "../../css/links.css.js";
|
|
11
11
|
let FooterComponent = class FooterComponent extends LitElement {
|
|
12
12
|
constructor() {
|
|
13
13
|
super();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import SlIconButton from "@shoelace-style/shoelace/dist/components/icon-button/icon-button.js";
|
|
3
1
|
import "@shoelace-style/shoelace/dist/components/format-number/format-number.js";
|
|
2
|
+
import SlIconButton from "@shoelace-style/shoelace/dist/components/icon-button/icon-button.js";
|
|
3
|
+
import { LitElement } from "lit";
|
|
4
4
|
export declare class PaginatorNavigation extends LitElement {
|
|
5
5
|
static styles: import("lit").CSSResult[];
|
|
6
6
|
currentPage: number;
|
|
@@ -4,11 +4,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
+
import "@shoelace-style/shoelace/dist/components/format-number/format-number.js";
|
|
7
8
|
import { customElement, property, query, state } from "lit/decorators.js";
|
|
8
9
|
import { html, LitElement } from "lit";
|
|
9
|
-
import paginatorNavigatorCss from "./paginator-navigator.css";
|
|
10
|
-
import { PaginatorFirstPage, PaginatorLastPage, PaginatorNextPage, PaginatorPreviousPage } from "
|
|
11
|
-
import "@shoelace-style/shoelace/dist/components/format-number/format-number.js";
|
|
10
|
+
import paginatorNavigatorCss from "./paginator-navigator.css.js";
|
|
11
|
+
import { PaginatorFirstPage, PaginatorLastPage, PaginatorNextPage, PaginatorPreviousPage } from "./paginator-events.js";
|
|
12
12
|
let PaginatorNavigation = class PaginatorNavigation extends LitElement {
|
|
13
13
|
constructor() {
|
|
14
14
|
super();
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { html, LitElement, svg } from "lit";
|
|
8
8
|
import { property, customElement } from "lit/decorators.js";
|
|
9
|
-
import percentBarCss from "./percent-bar.css";
|
|
9
|
+
import percentBarCss from "./percent-bar.css.js";
|
|
10
10
|
let PercentBar = class PercentBar extends LitElement {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
import { ProblemItem } from "./problem-item.js";
|
|
3
3
|
import { MainViewSlideChangedEvent, ProblemClickedEvent, ProblemRuleFilterChangedEvent } from "../../events/doctor";
|
|
4
|
-
import { Problem } from "../../model/problem";
|
|
4
|
+
import { Problem } from "../../model/problem.js";
|
|
5
5
|
export declare class ProblemList extends LitElement {
|
|
6
6
|
static styles: import("lit").CSSResult[];
|
|
7
7
|
private searchWorker;
|
|
@@ -9,15 +9,15 @@ import { html, LitElement } from "lit";
|
|
|
9
9
|
import { ProblemItem } from "./problem-item.js";
|
|
10
10
|
import { ProblemMainView } from "./problem-mainview.js";
|
|
11
11
|
import { MainViewSlideChanged, ProblemClicked, ProblemLabelViewFilterChanged, ProblemSortFilterChanged, ProblemSearchFilterChanged, MessageEvent, ProblemRuleFilterChanged, ProblemRuleFilterChangedManual } from "../../events/doctor";
|
|
12
|
-
import problemListCss from "./problem-list.css";
|
|
13
|
-
import sharedCss from "../../css/shared.css";
|
|
14
|
-
import { Problem } from "../../model/problem";
|
|
15
|
-
import { ProblemToolbar } from "./problem-toolbar";
|
|
16
|
-
import { ProblemLabelView } from "./problem-label-view-filter";
|
|
17
|
-
import { Paginator } from "../paginator/paginator";
|
|
18
|
-
import { ProblemSortView } from "./problem-sort-filter";
|
|
19
|
-
import { Rules } from "./problem-rule-filter";
|
|
20
|
-
import SearchWorker from "../../workers/search-problems.worker?worker";
|
|
12
|
+
import problemListCss from "./problem-list.css.js";
|
|
13
|
+
import sharedCss from "../../css/shared.css.js";
|
|
14
|
+
import { Problem } from "../../model/problem.js";
|
|
15
|
+
import { ProblemToolbar } from "./problem-toolbar.js";
|
|
16
|
+
import { ProblemLabelView } from "./problem-label-view-filter.js";
|
|
17
|
+
import { Paginator } from "../paginator/paginator.js";
|
|
18
|
+
import { ProblemSortView } from "./problem-sort-filter.js";
|
|
19
|
+
import { Rules } from "./problem-rule-filter.js";
|
|
20
|
+
import SearchWorker from "../../workers/search-problems.worker.js?worker";
|
|
21
21
|
let ProblemList = class ProblemList extends LitElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
super();
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { LitElement, html } from 'lit';
|
|
8
8
|
import { customElement, property } from 'lit/decorators.js';
|
|
9
9
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
10
|
-
import renderJsonPathCss from "./render-json-path.css";
|
|
10
|
+
import renderJsonPathCss from "./render-json-path.css.js";
|
|
11
11
|
const bracketRegex = /(\{)([\w.-_$:]+)(})|(:)([\w.-_$:]+)/g;
|
|
12
12
|
const pathRegex = /(\[)(["']?)([\w${}:./\\]+)(['"]?)(])/g;
|
|
13
13
|
let RenderJSONPathComponent = class RenderJSONPathComponent extends LitElement {
|
|
@@ -54,7 +54,7 @@ let FeedbackComponent = class FeedbackComponent extends LitElement {
|
|
|
54
54
|
<hr/>
|
|
55
55
|
<sl-input label="Email (optional)" placeholder="your@email.com"></sl-input>
|
|
56
56
|
<sl-textarea placeholder="What do you like? What do you hate? What would make the doctor better?"
|
|
57
|
-
size="small" @sl-input="${this.toggleButton}">
|
|
57
|
+
size="small" @sl-input="${this.toggleButton}" maxlength="1800">
|
|
58
58
|
</sl-textarea>
|
|
59
59
|
<sl-button @click="${this.send}" disabled>Send Feedback</sl-button>
|
|
60
60
|
${mailinglist}
|
|
@@ -9,7 +9,7 @@ import { LitElement } from "lit";
|
|
|
9
9
|
import { EditorUpdatedEvent, ProblemRuleFilterChangedEvent } from "../../events/doctor.js";
|
|
10
10
|
import { ProblemDrawerEvent } from "../problem-list/details-drawer.js";
|
|
11
11
|
import { SlSwitch, SlTab, SlTabGroup } from "@shoelace-style/shoelace";
|
|
12
|
-
import { AttentionBox } from "../attention-box/attention-box";
|
|
12
|
+
import { AttentionBox } from "../attention-box/attention-box.js";
|
|
13
13
|
export declare const DoctorDocumentBag = "pb33f-doctor-editor";
|
|
14
14
|
export declare const HowToFixBag = "pb33f-doctor-howtofix";
|
|
15
15
|
export declare const RuleDocumentationBag = "pb33f-doctor-ruledocs";
|
|
@@ -24,11 +24,11 @@ import { ProblemsOverview } from "../problems-overview/problems-overview.js";
|
|
|
24
24
|
import { ErrorBanner } from "../error-banner/error-banner.js";
|
|
25
25
|
import { StatusBar } from "./status-bar.js";
|
|
26
26
|
import { FeedbackComponent } from "./feedback.js";
|
|
27
|
-
import { FeedbackService } from "../../services/feedback-service";
|
|
28
|
-
import { ActivitySpinner } from "./activity-spinner";
|
|
27
|
+
import { FeedbackService } from "../../services/feedback-service.js";
|
|
28
|
+
import { ActivitySpinner } from "./activity-spinner.js";
|
|
29
29
|
import RuleDocumentationWorker from "../../workers/rule-documentation.worker.js?worker";
|
|
30
30
|
import theDoctorCss from "./the-doctor.css.js";
|
|
31
|
-
import linksCss from "../../css/links.css";
|
|
31
|
+
import linksCss from "../../css/links.css.js";
|
|
32
32
|
export const DoctorDocumentBag = "pb33f-doctor-editor";
|
|
33
33
|
export const HowToFixBag = "pb33f-doctor-howtofix";
|
|
34
34
|
export const RuleDocumentationBag = "pb33f-doctor-ruledocs";
|
|
@@ -3488,7 +3488,7 @@ Please report this to https://github.com/markedjs/marked.`,e){const t="<p>An err
|
|
|
3488
3488
|
<hr/>
|
|
3489
3489
|
<sl-input label="Email (optional)" placeholder="your@email.com"></sl-input>
|
|
3490
3490
|
<sl-textarea placeholder="What do you like? What do you hate? What would make the doctor better?"
|
|
3491
|
-
size="small" @sl-input="${this.toggleButton}">
|
|
3491
|
+
size="small" @sl-input="${this.toggleButton}" maxlength="1800">
|
|
3492
3492
|
</sl-textarea>
|
|
3493
3493
|
<sl-button @click="${this.send}" disabled>Send Feedback</sl-button>
|
|
3494
3494
|
${r}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Problem } from "../model/problem";
|
|
2
|
-
import { HowToFix } from "../model/how_to_fix";
|
|
3
|
-
import { DrDiagnostics } from "../model/document-statistics";
|
|
4
|
-
import { Session } from "../model/session";
|
|
1
|
+
import { Problem } from "../model/problem.js";
|
|
2
|
+
import { HowToFix } from "../model/how_to_fix.js";
|
|
3
|
+
import { DrDiagnostics } from "../model/document-statistics.js";
|
|
4
|
+
import { Session } from "../model/session.js";
|
|
5
5
|
export declare class LintingService {
|
|
6
6
|
static doctorEndpoint: string;
|
|
7
7
|
static compareProblems(a: Problem, b: Problem): number;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Princess Beef Heavy Industries Cowboy Components",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.13",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/cowboy-components.umd.cjs",
|
|
9
9
|
"module": "./dist/cowboy-components.js",
|