dompdf.js 1.0.4 → 1.1.1
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/.vscode/settings.json +5 -0
- package/README.md +202 -79
- package/dist/dom/element-container.d.ts +4 -2
- package/dist/dompdf.esm.js +25972 -14647
- package/dist/dompdf.esm.js.map +1 -1
- package/dist/dompdf.js +40524 -29199
- package/dist/dompdf.js.map +1 -1
- package/dist/index.d.ts +6 -8
- package/dist/render/canvas/pdf-renderer.d.ts +62 -32
- package/dist/render/page-format-map.d.ts +4 -0
- package/dist/render/paginate.d.ts +3 -0
- package/dist/utils/css-utils.d.ts +2 -0
- package/dist/utils/element-utils.d.ts +7 -0
- package/dist/utils/font-utils.d.ts +7 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/type-utils.d.ts +4 -0
- package/dist/utils/url-path.d.ts +7 -0
- package/fontconverter/FileSaver.js +2 -0
- package/fontconverter/filereader.js +432 -0
- package/fontconverter/fontconverter.html +66 -0
- package/fontconverter/pure-min.css +11 -0
- package/package.json +7 -6
- package/dist/lib/__tests__/index.js +0 -144
- package/dist/lib/__tests__/index.js.map +0 -1
- package/dist/lib/core/__mocks__/cache-storage.js +0 -10
- package/dist/lib/core/__mocks__/cache-storage.js.map +0 -1
- package/dist/lib/core/__mocks__/context.js +0 -22
- package/dist/lib/core/__mocks__/context.js.map +0 -1
- package/dist/lib/core/__mocks__/features.js +0 -12
- package/dist/lib/core/__mocks__/features.js.map +0 -1
- package/dist/lib/core/__mocks__/logger.js +0 -24
- package/dist/lib/core/__mocks__/logger.js.map +0 -1
- package/dist/lib/core/__tests__/cache-storage.js +0 -420
- package/dist/lib/core/__tests__/cache-storage.js.map +0 -1
- package/dist/lib/core/__tests__/logger.js +0 -28
- package/dist/lib/core/__tests__/logger.js.map +0 -1
- package/dist/lib/core/bitwise.js +0 -6
- package/dist/lib/core/bitwise.js.map +0 -1
- package/dist/lib/core/cache-storage.js +0 -198
- package/dist/lib/core/cache-storage.js.map +0 -1
- package/dist/lib/core/context.js +0 -18
- package/dist/lib/core/context.js.map +0 -1
- package/dist/lib/core/debugger.js +0 -25
- package/dist/lib/core/debugger.js.map +0 -1
- package/dist/lib/core/features.js +0 -193
- package/dist/lib/core/features.js.map +0 -1
- package/dist/lib/core/logger.js +0 -92
- package/dist/lib/core/logger.js.map +0 -1
- package/dist/lib/core/util.js +0 -5
- package/dist/lib/core/util.js.map +0 -1
- package/dist/lib/css/IPropertyDescriptor.js +0 -3
- package/dist/lib/css/IPropertyDescriptor.js.map +0 -1
- package/dist/lib/css/ITypeDescriptor.js +0 -3
- package/dist/lib/css/ITypeDescriptor.js.map +0 -1
- package/dist/lib/css/index.js +0 -216
- package/dist/lib/css/index.js.map +0 -1
- package/dist/lib/css/layout/__mocks__/bounds.js +0 -9
- package/dist/lib/css/layout/__mocks__/bounds.js.map +0 -1
- package/dist/lib/css/layout/bounds.js +0 -42
- package/dist/lib/css/layout/bounds.js.map +0 -1
- package/dist/lib/css/layout/text.js +0 -137
- package/dist/lib/css/layout/text.js.map +0 -1
- package/dist/lib/css/property-descriptors/__tests__/background-tests.js +0 -48
- package/dist/lib/css/property-descriptors/__tests__/background-tests.js.map +0 -1
- package/dist/lib/css/property-descriptors/__tests__/font-family.js +0 -25
- package/dist/lib/css/property-descriptors/__tests__/font-family.js.map +0 -1
- package/dist/lib/css/property-descriptors/__tests__/paint-order.js +0 -88
- package/dist/lib/css/property-descriptors/__tests__/paint-order.js.map +0 -1
- package/dist/lib/css/property-descriptors/__tests__/text-shadow.js +0 -94
- package/dist/lib/css/property-descriptors/__tests__/text-shadow.js.map +0 -1
- package/dist/lib/css/property-descriptors/__tests__/transform-tests.js +0 -18
- package/dist/lib/css/property-descriptors/__tests__/transform-tests.js.map +0 -1
- package/dist/lib/css/property-descriptors/background-clip.js +0 -24
- package/dist/lib/css/property-descriptors/background-clip.js.map +0 -1
- package/dist/lib/css/property-descriptors/background-color.js +0 -11
- package/dist/lib/css/property-descriptors/background-color.js.map +0 -1
- package/dist/lib/css/property-descriptors/background-image.js +0 -24
- package/dist/lib/css/property-descriptors/background-image.js.map +0 -1
- package/dist/lib/css/property-descriptors/background-origin.js +0 -24
- package/dist/lib/css/property-descriptors/background-origin.js.map +0 -1
- package/dist/lib/css/property-descriptors/background-position.js +0 -17
- package/dist/lib/css/property-descriptors/background-position.js.map +0 -1
- package/dist/lib/css/property-descriptors/background-repeat.js +0 -36
- package/dist/lib/css/property-descriptors/background-repeat.js.map +0 -1
- package/dist/lib/css/property-descriptors/background-size.js +0 -24
- package/dist/lib/css/property-descriptors/background-size.js.map +0 -1
- package/dist/lib/css/property-descriptors/border-color.js +0 -15
- package/dist/lib/css/property-descriptors/border-color.js.map +0 -1
- package/dist/lib/css/property-descriptors/border-radius.js +0 -18
- package/dist/lib/css/property-descriptors/border-radius.js.map +0 -1
- package/dist/lib/css/property-descriptors/border-style.js +0 -30
- package/dist/lib/css/property-descriptors/border-style.js.map +0 -1
- package/dist/lib/css/property-descriptors/border-width.js +0 -21
- package/dist/lib/css/property-descriptors/border-width.js.map +0 -1
- package/dist/lib/css/property-descriptors/box-shadow.js +0 -55
- package/dist/lib/css/property-descriptors/box-shadow.js.map +0 -1
- package/dist/lib/css/property-descriptors/color.js +0 -11
- package/dist/lib/css/property-descriptors/color.js.map +0 -1
- package/dist/lib/css/property-descriptors/content.js +0 -20
- package/dist/lib/css/property-descriptors/content.js.map +0 -1
- package/dist/lib/css/property-descriptors/counter-increment.js +0 -31
- package/dist/lib/css/property-descriptors/counter-increment.js.map +0 -1
- package/dist/lib/css/property-descriptors/counter-reset.js +0 -27
- package/dist/lib/css/property-descriptors/counter-reset.js.map +0 -1
- package/dist/lib/css/property-descriptors/direction.js +0 -19
- package/dist/lib/css/property-descriptors/direction.js.map +0 -1
- package/dist/lib/css/property-descriptors/display.js +0 -82
- package/dist/lib/css/property-descriptors/display.js.map +0 -1
- package/dist/lib/css/property-descriptors/duration.js +0 -15
- package/dist/lib/css/property-descriptors/duration.js.map +0 -1
- package/dist/lib/css/property-descriptors/float.js +0 -23
- package/dist/lib/css/property-descriptors/float.js.map +0 -1
- package/dist/lib/css/property-descriptors/font-family.js +0 -33
- package/dist/lib/css/property-descriptors/font-family.js.map +0 -1
- package/dist/lib/css/property-descriptors/font-size.js +0 -11
- package/dist/lib/css/property-descriptors/font-size.js.map +0 -1
- package/dist/lib/css/property-descriptors/font-style.js +0 -21
- package/dist/lib/css/property-descriptors/font-style.js.map +0 -1
- package/dist/lib/css/property-descriptors/font-variant.js +0 -14
- package/dist/lib/css/property-descriptors/font-variant.js.map +0 -1
- package/dist/lib/css/property-descriptors/font-weight.js +0 -26
- package/dist/lib/css/property-descriptors/font-weight.js.map +0 -1
- package/dist/lib/css/property-descriptors/letter-spacing.js +0 -22
- package/dist/lib/css/property-descriptors/letter-spacing.js.map +0 -1
- package/dist/lib/css/property-descriptors/line-break.js +0 -24
- package/dist/lib/css/property-descriptors/line-break.js.map +0 -1
- package/dist/lib/css/property-descriptors/line-height.js +0 -25
- package/dist/lib/css/property-descriptors/line-height.js.map +0 -1
- package/dist/lib/css/property-descriptors/list-style-image.js +0 -17
- package/dist/lib/css/property-descriptors/list-style-image.js.map +0 -1
- package/dist/lib/css/property-descriptors/list-style-position.js +0 -19
- package/dist/lib/css/property-descriptors/list-style-position.js.map +0 -1
- package/dist/lib/css/property-descriptors/list-style-type.js +0 -123
- package/dist/lib/css/property-descriptors/list-style-type.js.map +0 -1
- package/dist/lib/css/property-descriptors/margin.js +0 -14
- package/dist/lib/css/property-descriptors/margin.js.map +0 -1
- package/dist/lib/css/property-descriptors/opacity.js +0 -17
- package/dist/lib/css/property-descriptors/opacity.js.map +0 -1
- package/dist/lib/css/property-descriptors/overflow-wrap.js +0 -19
- package/dist/lib/css/property-descriptors/overflow-wrap.js.map +0 -1
- package/dist/lib/css/property-descriptors/overflow.js +0 -28
- package/dist/lib/css/property-descriptors/overflow.js.map +0 -1
- package/dist/lib/css/property-descriptors/padding.js +0 -15
- package/dist/lib/css/property-descriptors/padding.js.map +0 -1
- package/dist/lib/css/property-descriptors/paint-order.js +0 -34
- package/dist/lib/css/property-descriptors/paint-order.js.map +0 -1
- package/dist/lib/css/property-descriptors/position.js +0 -23
- package/dist/lib/css/property-descriptors/position.js.map +0 -1
- package/dist/lib/css/property-descriptors/quotes.js +0 -42
- package/dist/lib/css/property-descriptors/quotes.js.map +0 -1
- package/dist/lib/css/property-descriptors/text-align.js +0 -22
- package/dist/lib/css/property-descriptors/text-align.js.map +0 -1
- package/dist/lib/css/property-descriptors/text-decoration-color.js +0 -11
- package/dist/lib/css/property-descriptors/text-decoration-color.js.map +0 -1
- package/dist/lib/css/property-descriptors/text-decoration-line.js +0 -29
- package/dist/lib/css/property-descriptors/text-decoration-line.js.map +0 -1
- package/dist/lib/css/property-descriptors/text-shadow.js +0 -47
- package/dist/lib/css/property-descriptors/text-shadow.js.map +0 -1
- package/dist/lib/css/property-descriptors/text-transform.js +0 -21
- package/dist/lib/css/property-descriptors/text-transform.js.map +0 -1
- package/dist/lib/css/property-descriptors/transform-origin.js +0 -25
- package/dist/lib/css/property-descriptors/transform-origin.js.map +0 -1
- package/dist/lib/css/property-descriptors/transform.js +0 -37
- package/dist/lib/css/property-descriptors/transform.js.map +0 -1
- package/dist/lib/css/property-descriptors/visibility.js +0 -21
- package/dist/lib/css/property-descriptors/visibility.js.map +0 -1
- package/dist/lib/css/property-descriptors/webkit-text-stroke-color.js +0 -11
- package/dist/lib/css/property-descriptors/webkit-text-stroke-color.js.map +0 -1
- package/dist/lib/css/property-descriptors/webkit-text-stroke-width.js +0 -17
- package/dist/lib/css/property-descriptors/webkit-text-stroke-width.js.map +0 -1
- package/dist/lib/css/property-descriptors/word-break.js +0 -27
- package/dist/lib/css/property-descriptors/word-break.js.map +0 -1
- package/dist/lib/css/property-descriptors/z-index.js +0 -20
- package/dist/lib/css/property-descriptors/z-index.js.map +0 -1
- package/dist/lib/css/syntax/__tests__/tokernizer-tests.js +0 -34
- package/dist/lib/css/syntax/__tests__/tokernizer-tests.js.map +0 -1
- package/dist/lib/css/syntax/parser.js +0 -147
- package/dist/lib/css/syntax/parser.js.map +0 -1
- package/dist/lib/css/syntax/tokenizer.js +0 -630
- package/dist/lib/css/syntax/tokenizer.js.map +0 -1
- package/dist/lib/css/types/__tests__/color-tests.js +0 -66
- package/dist/lib/css/types/__tests__/color-tests.js.map +0 -1
- package/dist/lib/css/types/__tests__/image-tests.js +0 -233
- package/dist/lib/css/types/__tests__/image-tests.js.map +0 -1
- package/dist/lib/css/types/angle.js +0 -81
- package/dist/lib/css/types/angle.js.map +0 -1
- package/dist/lib/css/types/color.js +0 -311
- package/dist/lib/css/types/color.js.map +0 -1
- package/dist/lib/css/types/functions/-prefix-linear-gradient.js +0 -33
- package/dist/lib/css/types/functions/-prefix-linear-gradient.js.map +0 -1
- package/dist/lib/css/types/functions/-prefix-radial-gradient.js +0 -84
- package/dist/lib/css/types/functions/-prefix-radial-gradient.js.map +0 -1
- package/dist/lib/css/types/functions/-webkit-gradient.js +0 -60
- package/dist/lib/css/types/functions/-webkit-gradient.js.map +0 -1
- package/dist/lib/css/types/functions/__tests__/radial-gradient.js +0 -68
- package/dist/lib/css/types/functions/__tests__/radial-gradient.js.map +0 -1
- package/dist/lib/css/types/functions/counter.js +0 -374
- package/dist/lib/css/types/functions/counter.js.map +0 -1
- package/dist/lib/css/types/functions/gradient.js +0 -165
- package/dist/lib/css/types/functions/gradient.js.map +0 -1
- package/dist/lib/css/types/functions/linear-gradient.js +0 -28
- package/dist/lib/css/types/functions/linear-gradient.js.map +0 -1
- package/dist/lib/css/types/functions/radial-gradient.js +0 -91
- package/dist/lib/css/types/functions/radial-gradient.js.map +0 -1
- package/dist/lib/css/types/image.js +0 -53
- package/dist/lib/css/types/image.js.map +0 -1
- package/dist/lib/css/types/index.js +0 -3
- package/dist/lib/css/types/index.js.map +0 -1
- package/dist/lib/css/types/length-percentage.js +0 -52
- package/dist/lib/css/types/length-percentage.js.map +0 -1
- package/dist/lib/css/types/length.js +0 -8
- package/dist/lib/css/types/length.js.map +0 -1
- package/dist/lib/css/types/time.js +0 -18
- package/dist/lib/css/types/time.js.map +0 -1
- package/dist/lib/dom/__mocks__/document-cloner.js +0 -24
- package/dist/lib/dom/__mocks__/document-cloner.js.map +0 -1
- package/dist/lib/dom/document-cloner.js +0 -530
- package/dist/lib/dom/document-cloner.js.map +0 -1
- package/dist/lib/dom/element-container.js +0 -37
- package/dist/lib/dom/element-container.js.map +0 -1
- package/dist/lib/dom/elements/li-element-container.js +0 -30
- package/dist/lib/dom/elements/li-element-container.js.map +0 -1
- package/dist/lib/dom/elements/ol-element-container.js +0 -31
- package/dist/lib/dom/elements/ol-element-container.js.map +0 -1
- package/dist/lib/dom/elements/select-element-container.js +0 -31
- package/dist/lib/dom/elements/select-element-container.js.map +0 -1
- package/dist/lib/dom/elements/textarea-element-container.js +0 -30
- package/dist/lib/dom/elements/textarea-element-container.js.map +0 -1
- package/dist/lib/dom/node-parser.js +0 -360
- package/dist/lib/dom/node-parser.js.map +0 -1
- package/dist/lib/dom/replaced-elements/canvas-element-container.js +0 -32
- package/dist/lib/dom/replaced-elements/canvas-element-container.js.map +0 -1
- package/dist/lib/dom/replaced-elements/iframe-element-container.js +0 -54
- package/dist/lib/dom/replaced-elements/iframe-element-container.js.map +0 -1
- package/dist/lib/dom/replaced-elements/image-element-container.js +0 -33
- package/dist/lib/dom/replaced-elements/image-element-container.js.map +0 -1
- package/dist/lib/dom/replaced-elements/index.js +0 -3
- package/dist/lib/dom/replaced-elements/index.js.map +0 -1
- package/dist/lib/dom/replaced-elements/input-element-container.js +0 -102
- package/dist/lib/dom/replaced-elements/input-element-container.js.map +0 -1
- package/dist/lib/dom/replaced-elements/pseudo-elements.js +0 -1
- package/dist/lib/dom/replaced-elements/pseudo-elements.js.map +0 -1
- package/dist/lib/dom/replaced-elements/svg-element-container.js +0 -38
- package/dist/lib/dom/replaced-elements/svg-element-container.js.map +0 -1
- package/dist/lib/dom/text-container.js +0 -32
- package/dist/lib/dom/text-container.js.map +0 -1
- package/dist/lib/index.js +0 -202
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/invariant.js +0 -10
- package/dist/lib/invariant.js.map +0 -1
- package/dist/lib/render/background.js +0 -187
- package/dist/lib/render/background.js.map +0 -1
- package/dist/lib/render/bezier-curve.js +0 -36
- package/dist/lib/render/bezier-curve.js.map +0 -1
- package/dist/lib/render/border.js +0 -105
- package/dist/lib/render/border.js.map +0 -1
- package/dist/lib/render/bound-curves.js +0 -190
- package/dist/lib/render/bound-curves.js.map +0 -1
- package/dist/lib/render/box-sizing.js +0 -21
- package/dist/lib/render/box-sizing.js.map +0 -1
- package/dist/lib/render/canvas/canvas-renderer2.js +0 -1415
- package/dist/lib/render/canvas/canvas-renderer2.js.map +0 -1
- package/dist/lib/render/canvas/foreignobject-renderer.js +0 -108
- package/dist/lib/render/canvas/foreignobject-renderer.js.map +0 -1
- package/dist/lib/render/canvas/pdf-renderer.js +0 -1406
- package/dist/lib/render/canvas/pdf-renderer.js.map +0 -1
- package/dist/lib/render/effects.js +0 -41
- package/dist/lib/render/effects.js.map +0 -1
- package/dist/lib/render/font-metrics.js +0 -55
- package/dist/lib/render/font-metrics.js.map +0 -1
- package/dist/lib/render/path.js +0 -27
- package/dist/lib/render/path.js.map +0 -1
- package/dist/lib/render/renderer.js +0 -12
- package/dist/lib/render/renderer.js.map +0 -1
- package/dist/lib/render/stacking-context.js +0 -172
- package/dist/lib/render/stacking-context.js.map +0 -1
- package/dist/lib/render/vector.js +0 -18
- package/dist/lib/render/vector.js.map +0 -1
- package/dist/render/canvas/canvas-renderer2.d.ts +0 -81
- package/dist/types/__tests__/index.d.ts +0 -1
- package/dist/types/core/__mocks__/cache-storage.d.ts +0 -2
- package/dist/types/core/__mocks__/context.d.ts +0 -9
- package/dist/types/core/__mocks__/features.d.ts +0 -8
- package/dist/types/core/__mocks__/logger.d.ts +0 -9
- package/dist/types/core/__tests__/cache-storage.d.ts +0 -1
- package/dist/types/core/__tests__/logger.d.ts +0 -1
- package/dist/types/core/bitwise.d.ts +0 -1
- package/dist/types/core/cache-storage.d.ts +0 -26
- package/dist/types/core/context.d.ts +0 -15
- package/dist/types/core/debugger.d.ts +0 -8
- package/dist/types/core/features.d.ts +0 -12
- package/dist/types/core/logger.d.ts +0 -18
- package/dist/types/core/util.d.ts +0 -1
- package/dist/types/css/IPropertyDescriptor.d.ts +0 -36
- package/dist/types/css/ITypeDescriptor.d.ts +0 -6
- package/dist/types/css/index.d.ts +0 -132
- package/dist/types/css/layout/__mocks__/bounds.d.ts +0 -2
- package/dist/types/css/layout/bounds.d.ts +0 -14
- package/dist/types/css/layout/text.d.ts +0 -10
- package/dist/types/css/property-descriptors/__tests__/background-tests.d.ts +0 -1
- package/dist/types/css/property-descriptors/__tests__/font-family.d.ts +0 -1
- package/dist/types/css/property-descriptors/__tests__/paint-order.d.ts +0 -1
- package/dist/types/css/property-descriptors/__tests__/text-shadow.d.ts +0 -1
- package/dist/types/css/property-descriptors/__tests__/transform-tests.d.ts +0 -1
- package/dist/types/css/property-descriptors/background-clip.d.ts +0 -8
- package/dist/types/css/property-descriptors/background-color.d.ts +0 -2
- package/dist/types/css/property-descriptors/background-image.d.ts +0 -3
- package/dist/types/css/property-descriptors/background-origin.d.ts +0 -8
- package/dist/types/css/property-descriptors/background-position.d.ts +0 -5
- package/dist/types/css/property-descriptors/background-repeat.d.ts +0 -9
- package/dist/types/css/property-descriptors/background-size.d.ts +0 -11
- package/dist/types/css/property-descriptors/border-color.d.ts +0 -5
- package/dist/types/css/property-descriptors/border-radius.d.ts +0 -7
- package/dist/types/css/property-descriptors/border-style.d.ts +0 -12
- package/dist/types/css/property-descriptors/border-width.d.ts +0 -5
- package/dist/types/css/property-descriptors/box-shadow.d.ts +0 -14
- package/dist/types/css/property-descriptors/color.d.ts +0 -2
- package/dist/types/css/property-descriptors/content.d.ts +0 -4
- package/dist/types/css/property-descriptors/counter-increment.d.ts +0 -7
- package/dist/types/css/property-descriptors/counter-reset.d.ts +0 -7
- package/dist/types/css/property-descriptors/direction.d.ts +0 -6
- package/dist/types/css/property-descriptors/display.d.ts +0 -35
- package/dist/types/css/property-descriptors/duration.d.ts +0 -2
- package/dist/types/css/property-descriptors/float.d.ts +0 -9
- package/dist/types/css/property-descriptors/font-family.d.ts +0 -4
- package/dist/types/css/property-descriptors/font-size.d.ts +0 -2
- package/dist/types/css/property-descriptors/font-style.d.ts +0 -7
- package/dist/types/css/property-descriptors/font-variant.d.ts +0 -2
- package/dist/types/css/property-descriptors/font-weight.d.ts +0 -2
- package/dist/types/css/property-descriptors/letter-spacing.d.ts +0 -2
- package/dist/types/css/property-descriptors/line-break.d.ts +0 -6
- package/dist/types/css/property-descriptors/line-height.d.ts +0 -4
- package/dist/types/css/property-descriptors/list-style-image.d.ts +0 -3
- package/dist/types/css/property-descriptors/list-style-position.d.ts +0 -6
- package/dist/types/css/property-descriptors/list-style-type.d.ts +0 -58
- package/dist/types/css/property-descriptors/margin.d.ts +0 -5
- package/dist/types/css/property-descriptors/opacity.d.ts +0 -2
- package/dist/types/css/property-descriptors/overflow-wrap.d.ts +0 -6
- package/dist/types/css/property-descriptors/overflow.d.ts +0 -9
- package/dist/types/css/property-descriptors/padding.d.ts +0 -5
- package/dist/types/css/property-descriptors/paint-order.d.ts +0 -8
- package/dist/types/css/property-descriptors/position.d.ts +0 -9
- package/dist/types/css/property-descriptors/quotes.d.ts +0 -8
- package/dist/types/css/property-descriptors/text-align.d.ts +0 -7
- package/dist/types/css/property-descriptors/text-decoration-color.d.ts +0 -2
- package/dist/types/css/property-descriptors/text-decoration-line.d.ts +0 -10
- package/dist/types/css/property-descriptors/text-shadow.d.ts +0 -12
- package/dist/types/css/property-descriptors/text-transform.d.ts +0 -8
- package/dist/types/css/property-descriptors/transform-origin.d.ts +0 -4
- package/dist/types/css/property-descriptors/transform.d.ts +0 -4
- package/dist/types/css/property-descriptors/visibility.d.ts +0 -7
- package/dist/types/css/property-descriptors/webkit-text-stroke-color.d.ts +0 -2
- package/dist/types/css/property-descriptors/webkit-text-stroke-width.d.ts +0 -2
- package/dist/types/css/property-descriptors/word-break.d.ts +0 -7
- package/dist/types/css/property-descriptors/z-index.d.ts +0 -7
- package/dist/types/css/syntax/__tests__/tokernizer-tests.d.ts +0 -1
- package/dist/types/css/syntax/parser.d.ts +0 -34
- package/dist/types/css/syntax/tokenizer.d.ts +0 -94
- package/dist/types/css/types/__tests__/color-tests.d.ts +0 -1
- package/dist/types/css/types/__tests__/image-tests.d.ts +0 -1
- package/dist/types/css/types/angle.d.ts +0 -7
- package/dist/types/css/types/color.d.ts +0 -11
- package/dist/types/css/types/functions/-prefix-linear-gradient.d.ts +0 -4
- package/dist/types/css/types/functions/-prefix-radial-gradient.d.ts +0 -4
- package/dist/types/css/types/functions/-webkit-gradient.d.ts +0 -4
- package/dist/types/css/types/functions/__tests__/radial-gradient.d.ts +0 -1
- package/dist/types/css/types/functions/counter.d.ts +0 -10
- package/dist/types/css/types/functions/gradient.d.ts +0 -7
- package/dist/types/css/types/functions/linear-gradient.d.ts +0 -4
- package/dist/types/css/types/functions/radial-gradient.d.ts +0 -12
- package/dist/types/css/types/image.d.ts +0 -54
- package/dist/types/css/types/index.d.ts +0 -1
- package/dist/types/css/types/length-percentage.d.ts +0 -11
- package/dist/types/css/types/length.d.ts +0 -4
- package/dist/types/css/types/time.d.ts +0 -2
- package/dist/types/dom/__mocks__/document-cloner.d.ts +0 -6
- package/dist/types/dom/document-cloner.d.ts +0 -45
- package/dist/types/dom/element-container.d.ts +0 -21
- package/dist/types/dom/elements/li-element-container.d.ts +0 -6
- package/dist/types/dom/elements/ol-element-container.d.ts +0 -7
- package/dist/types/dom/elements/select-element-container.d.ts +0 -6
- package/dist/types/dom/elements/textarea-element-container.d.ts +0 -6
- package/dist/types/dom/node-parser.d.ts +0 -23
- package/dist/types/dom/replaced-elements/canvas-element-container.d.ts +0 -8
- package/dist/types/dom/replaced-elements/iframe-element-container.d.ts +0 -11
- package/dist/types/dom/replaced-elements/image-element-container.d.ts +0 -8
- package/dist/types/dom/replaced-elements/index.d.ts +0 -4
- package/dist/types/dom/replaced-elements/input-element-container.d.ts +0 -12
- package/dist/types/dom/replaced-elements/pseudo-elements.d.ts +0 -0
- package/dist/types/dom/replaced-elements/svg-element-container.d.ts +0 -8
- package/dist/types/dom/text-container.d.ts +0 -8
- package/dist/types/index.d.ts +0 -18
- package/dist/types/invariant.d.ts +0 -1
- package/dist/types/render/background.d.ts +0 -16
- package/dist/types/render/bezier-curve.d.ts +0 -14
- package/dist/types/render/border.d.ts +0 -6
- package/dist/types/render/bound-curves.d.ts +0 -32
- package/dist/types/render/box-sizing.d.ts +0 -4
- package/dist/types/render/canvas/canvas-renderer2.d.ts +0 -81
- package/dist/types/render/canvas/foreignobject-renderer.d.ts +0 -11
- package/dist/types/render/canvas/pdf-renderer.d.ts +0 -80
- package/dist/types/render/effects.d.ts +0 -38
- package/dist/types/render/font-metrics.d.ts +0 -11
- package/dist/types/render/path.d.ts +0 -13
- package/dist/types/render/renderer.d.ts +0 -7
- package/dist/types/render/stacking-context.d.ts +0 -24
- package/dist/types/render/vector.d.ts +0 -9
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const createForeignObjectSVG: (width: number, height: number, x: number, y: number, node: Node) => SVGForeignObjectElement;
|
|
2
|
-
export declare const loadSerializedSVG: (svg: Node) => Promise<HTMLImageElement>;
|
|
3
|
-
export declare const FEATURES: {
|
|
4
|
-
readonly SUPPORT_RANGE_BOUNDS: boolean;
|
|
5
|
-
readonly SUPPORT_WORD_BREAKING: boolean;
|
|
6
|
-
readonly SUPPORT_SVG_DRAWING: boolean;
|
|
7
|
-
readonly SUPPORT_FOREIGNOBJECT_DRAWING: Promise<boolean>;
|
|
8
|
-
readonly SUPPORT_CORS_IMAGES: boolean;
|
|
9
|
-
readonly SUPPORT_RESPONSE_TYPE: boolean;
|
|
10
|
-
readonly SUPPORT_CORS_XHR: boolean;
|
|
11
|
-
readonly SUPPORT_NATIVE_TEXT_SEGMENTATION: boolean;
|
|
12
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface LoggerOptions {
|
|
2
|
-
id: string;
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare class Logger {
|
|
6
|
-
static instances: {
|
|
7
|
-
[key: string]: Logger;
|
|
8
|
-
};
|
|
9
|
-
private readonly id;
|
|
10
|
-
private readonly enabled;
|
|
11
|
-
private readonly start;
|
|
12
|
-
constructor({ id, enabled }: LoggerOptions);
|
|
13
|
-
debug(...args: unknown[]): void;
|
|
14
|
-
getTime(): number;
|
|
15
|
-
info(...args: unknown[]): void;
|
|
16
|
-
warn(...args: unknown[]): void;
|
|
17
|
-
error(...args: unknown[]): void;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SMALL_IMAGE = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CSSValue } from './syntax/parser';
|
|
2
|
-
import { CSSTypes } from './types';
|
|
3
|
-
import { Context } from '../core/context';
|
|
4
|
-
export declare const enum PropertyDescriptorParsingType {
|
|
5
|
-
VALUE = 0,
|
|
6
|
-
LIST = 1,
|
|
7
|
-
IDENT_VALUE = 2,
|
|
8
|
-
TYPE_VALUE = 3,
|
|
9
|
-
TOKEN_VALUE = 4
|
|
10
|
-
}
|
|
11
|
-
export interface IPropertyDescriptor {
|
|
12
|
-
name: string;
|
|
13
|
-
type: PropertyDescriptorParsingType;
|
|
14
|
-
initialValue: string;
|
|
15
|
-
prefix: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IPropertyIdentValueDescriptor<T> extends IPropertyDescriptor {
|
|
18
|
-
type: PropertyDescriptorParsingType.IDENT_VALUE;
|
|
19
|
-
parse: (context: Context, token: string) => T;
|
|
20
|
-
}
|
|
21
|
-
export interface IPropertyTypeValueDescriptor extends IPropertyDescriptor {
|
|
22
|
-
type: PropertyDescriptorParsingType.TYPE_VALUE;
|
|
23
|
-
format: CSSTypes;
|
|
24
|
-
}
|
|
25
|
-
export interface IPropertyValueDescriptor<T> extends IPropertyDescriptor {
|
|
26
|
-
type: PropertyDescriptorParsingType.VALUE;
|
|
27
|
-
parse: (context: Context, token: CSSValue) => T;
|
|
28
|
-
}
|
|
29
|
-
export interface IPropertyListDescriptor<T> extends IPropertyDescriptor {
|
|
30
|
-
type: PropertyDescriptorParsingType.LIST;
|
|
31
|
-
parse: (context: Context, tokens: CSSValue[]) => T;
|
|
32
|
-
}
|
|
33
|
-
export interface IPropertyTokenValueDescriptor extends IPropertyDescriptor {
|
|
34
|
-
type: PropertyDescriptorParsingType.TOKEN_VALUE;
|
|
35
|
-
}
|
|
36
|
-
export type CSSPropertyDescriptor<T> = IPropertyValueDescriptor<T> | IPropertyListDescriptor<T> | IPropertyIdentValueDescriptor<T> | IPropertyTypeValueDescriptor | IPropertyTokenValueDescriptor;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { backgroundClip } from './property-descriptors/background-clip';
|
|
2
|
-
import { backgroundImage } from './property-descriptors/background-image';
|
|
3
|
-
import { backgroundOrigin } from './property-descriptors/background-origin';
|
|
4
|
-
import { backgroundPosition } from './property-descriptors/background-position';
|
|
5
|
-
import { backgroundRepeat } from './property-descriptors/background-repeat';
|
|
6
|
-
import { backgroundSize } from './property-descriptors/background-size';
|
|
7
|
-
import { borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, borderTopRightRadius } from './property-descriptors/border-radius';
|
|
8
|
-
import { borderBottomStyle, borderLeftStyle, borderRightStyle, borderTopStyle } from './property-descriptors/border-style';
|
|
9
|
-
import { borderBottomWidth, borderLeftWidth, borderRightWidth, borderTopWidth } from './property-descriptors/border-width';
|
|
10
|
-
import { direction } from './property-descriptors/direction';
|
|
11
|
-
import { display } from './property-descriptors/display';
|
|
12
|
-
import { float } from './property-descriptors/float';
|
|
13
|
-
import { letterSpacing } from './property-descriptors/letter-spacing';
|
|
14
|
-
import { lineBreak } from './property-descriptors/line-break';
|
|
15
|
-
import { listStyleImage } from './property-descriptors/list-style-image';
|
|
16
|
-
import { listStylePosition } from './property-descriptors/list-style-position';
|
|
17
|
-
import { listStyleType } from './property-descriptors/list-style-type';
|
|
18
|
-
import { OVERFLOW } from './property-descriptors/overflow';
|
|
19
|
-
import { overflowWrap } from './property-descriptors/overflow-wrap';
|
|
20
|
-
import { textAlign } from './property-descriptors/text-align';
|
|
21
|
-
import { position } from './property-descriptors/position';
|
|
22
|
-
import { textShadow } from './property-descriptors/text-shadow';
|
|
23
|
-
import { textTransform } from './property-descriptors/text-transform';
|
|
24
|
-
import { transform } from './property-descriptors/transform';
|
|
25
|
-
import { transformOrigin } from './property-descriptors/transform-origin';
|
|
26
|
-
import { visibility } from './property-descriptors/visibility';
|
|
27
|
-
import { wordBreak } from './property-descriptors/word-break';
|
|
28
|
-
import { zIndex } from './property-descriptors/z-index';
|
|
29
|
-
import { CSSValue } from './syntax/parser';
|
|
30
|
-
import { Color } from './types/color';
|
|
31
|
-
import { opacity } from './property-descriptors/opacity';
|
|
32
|
-
import { textDecorationLine } from './property-descriptors/text-decoration-line';
|
|
33
|
-
import { LengthPercentage } from './types/length-percentage';
|
|
34
|
-
import { fontFamily } from './property-descriptors/font-family';
|
|
35
|
-
import { fontWeight } from './property-descriptors/font-weight';
|
|
36
|
-
import { fontVariant } from './property-descriptors/font-variant';
|
|
37
|
-
import { fontStyle } from './property-descriptors/font-style';
|
|
38
|
-
import { content } from './property-descriptors/content';
|
|
39
|
-
import { counterIncrement } from './property-descriptors/counter-increment';
|
|
40
|
-
import { counterReset } from './property-descriptors/counter-reset';
|
|
41
|
-
import { duration } from './property-descriptors/duration';
|
|
42
|
-
import { quotes } from './property-descriptors/quotes';
|
|
43
|
-
import { boxShadow } from './property-descriptors/box-shadow';
|
|
44
|
-
import { paintOrder } from './property-descriptors/paint-order';
|
|
45
|
-
import { webkitTextStrokeWidth } from './property-descriptors/webkit-text-stroke-width';
|
|
46
|
-
import { Context } from '../core/context';
|
|
47
|
-
export declare class CSSParsedDeclaration {
|
|
48
|
-
animationDuration: ReturnType<typeof duration.parse>;
|
|
49
|
-
backgroundClip: ReturnType<typeof backgroundClip.parse>;
|
|
50
|
-
backgroundColor: Color;
|
|
51
|
-
backgroundImage: ReturnType<typeof backgroundImage.parse>;
|
|
52
|
-
backgroundOrigin: ReturnType<typeof backgroundOrigin.parse>;
|
|
53
|
-
backgroundPosition: ReturnType<typeof backgroundPosition.parse>;
|
|
54
|
-
backgroundRepeat: ReturnType<typeof backgroundRepeat.parse>;
|
|
55
|
-
backgroundSize: ReturnType<typeof backgroundSize.parse>;
|
|
56
|
-
borderTopColor: Color;
|
|
57
|
-
borderRightColor: Color;
|
|
58
|
-
borderBottomColor: Color;
|
|
59
|
-
borderLeftColor: Color;
|
|
60
|
-
borderTopLeftRadius: ReturnType<typeof borderTopLeftRadius.parse>;
|
|
61
|
-
borderTopRightRadius: ReturnType<typeof borderTopRightRadius.parse>;
|
|
62
|
-
borderBottomRightRadius: ReturnType<typeof borderBottomRightRadius.parse>;
|
|
63
|
-
borderBottomLeftRadius: ReturnType<typeof borderBottomLeftRadius.parse>;
|
|
64
|
-
borderTopStyle: ReturnType<typeof borderTopStyle.parse>;
|
|
65
|
-
borderRightStyle: ReturnType<typeof borderRightStyle.parse>;
|
|
66
|
-
borderBottomStyle: ReturnType<typeof borderBottomStyle.parse>;
|
|
67
|
-
borderLeftStyle: ReturnType<typeof borderLeftStyle.parse>;
|
|
68
|
-
borderTopWidth: ReturnType<typeof borderTopWidth.parse>;
|
|
69
|
-
borderRightWidth: ReturnType<typeof borderRightWidth.parse>;
|
|
70
|
-
borderBottomWidth: ReturnType<typeof borderBottomWidth.parse>;
|
|
71
|
-
borderLeftWidth: ReturnType<typeof borderLeftWidth.parse>;
|
|
72
|
-
boxShadow: ReturnType<typeof boxShadow.parse>;
|
|
73
|
-
color: Color;
|
|
74
|
-
direction: ReturnType<typeof direction.parse>;
|
|
75
|
-
display: ReturnType<typeof display.parse>;
|
|
76
|
-
float: ReturnType<typeof float.parse>;
|
|
77
|
-
fontFamily: ReturnType<typeof fontFamily.parse>;
|
|
78
|
-
fontSize: LengthPercentage;
|
|
79
|
-
fontStyle: ReturnType<typeof fontStyle.parse>;
|
|
80
|
-
fontVariant: ReturnType<typeof fontVariant.parse>;
|
|
81
|
-
fontWeight: ReturnType<typeof fontWeight.parse>;
|
|
82
|
-
letterSpacing: ReturnType<typeof letterSpacing.parse>;
|
|
83
|
-
lineBreak: ReturnType<typeof lineBreak.parse>;
|
|
84
|
-
lineHeight: CSSValue;
|
|
85
|
-
listStyleImage: ReturnType<typeof listStyleImage.parse>;
|
|
86
|
-
listStylePosition: ReturnType<typeof listStylePosition.parse>;
|
|
87
|
-
listStyleType: ReturnType<typeof listStyleType.parse>;
|
|
88
|
-
marginTop: CSSValue;
|
|
89
|
-
marginRight: CSSValue;
|
|
90
|
-
marginBottom: CSSValue;
|
|
91
|
-
marginLeft: CSSValue;
|
|
92
|
-
opacity: ReturnType<typeof opacity.parse>;
|
|
93
|
-
overflowX: OVERFLOW;
|
|
94
|
-
overflowY: OVERFLOW;
|
|
95
|
-
overflowWrap: ReturnType<typeof overflowWrap.parse>;
|
|
96
|
-
paddingTop: LengthPercentage;
|
|
97
|
-
paddingRight: LengthPercentage;
|
|
98
|
-
paddingBottom: LengthPercentage;
|
|
99
|
-
paddingLeft: LengthPercentage;
|
|
100
|
-
paintOrder: ReturnType<typeof paintOrder.parse>;
|
|
101
|
-
position: ReturnType<typeof position.parse>;
|
|
102
|
-
textAlign: ReturnType<typeof textAlign.parse>;
|
|
103
|
-
textDecorationColor: Color;
|
|
104
|
-
textDecorationLine: ReturnType<typeof textDecorationLine.parse>;
|
|
105
|
-
textShadow: ReturnType<typeof textShadow.parse>;
|
|
106
|
-
textTransform: ReturnType<typeof textTransform.parse>;
|
|
107
|
-
transform: ReturnType<typeof transform.parse>;
|
|
108
|
-
transformOrigin: ReturnType<typeof transformOrigin.parse>;
|
|
109
|
-
visibility: ReturnType<typeof visibility.parse>;
|
|
110
|
-
webkitTextStrokeColor: Color;
|
|
111
|
-
webkitTextStrokeWidth: ReturnType<typeof webkitTextStrokeWidth.parse>;
|
|
112
|
-
wordBreak: ReturnType<typeof wordBreak.parse>;
|
|
113
|
-
zIndex: ReturnType<typeof zIndex.parse>;
|
|
114
|
-
constructor(context: Context, declaration: CSSStyleDeclaration);
|
|
115
|
-
isVisible(): boolean;
|
|
116
|
-
isTransparent(): boolean;
|
|
117
|
-
isTransformed(): boolean;
|
|
118
|
-
isPositioned(): boolean;
|
|
119
|
-
isPositionedWithZIndex(): boolean;
|
|
120
|
-
isFloating(): boolean;
|
|
121
|
-
isInlineLevel(): boolean;
|
|
122
|
-
}
|
|
123
|
-
export declare class CSSParsedPseudoDeclaration {
|
|
124
|
-
content: ReturnType<typeof content.parse>;
|
|
125
|
-
quotes: ReturnType<typeof quotes.parse>;
|
|
126
|
-
constructor(context: Context, declaration: CSSStyleDeclaration);
|
|
127
|
-
}
|
|
128
|
-
export declare class CSSParsedCounterDeclaration {
|
|
129
|
-
counterIncrement: ReturnType<typeof counterIncrement.parse>;
|
|
130
|
-
counterReset: ReturnType<typeof counterReset.parse>;
|
|
131
|
-
constructor(context: Context, declaration: CSSStyleDeclaration);
|
|
132
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Context } from '../../core/context';
|
|
2
|
-
export declare class Bounds {
|
|
3
|
-
left: number;
|
|
4
|
-
top: number;
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
constructor(left: number, top: number, width: number, height: number);
|
|
8
|
-
add(x: number, y: number, w: number, h: number): Bounds;
|
|
9
|
-
static fromClientRect(context: Context, clientRect: ClientRect): Bounds;
|
|
10
|
-
static fromDOMRectList(context: Context, domRectList: DOMRectList): Bounds;
|
|
11
|
-
static EMPTY: Bounds;
|
|
12
|
-
}
|
|
13
|
-
export declare const parseBounds: (context: Context, node: Element) => Bounds;
|
|
14
|
-
export declare const parseDocumentSize: (document: Document) => Bounds;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CSSParsedDeclaration } from '../index';
|
|
2
|
-
import { Bounds } from './bounds';
|
|
3
|
-
import { Context } from '../../core/context';
|
|
4
|
-
export declare class TextBounds {
|
|
5
|
-
readonly text: string;
|
|
6
|
-
readonly bounds: Bounds;
|
|
7
|
-
constructor(text: string, bounds: Bounds);
|
|
8
|
-
}
|
|
9
|
-
export declare const parseTextBounds: (context: Context, value: string, styles: CSSParsedDeclaration, node: Text) => TextBounds[];
|
|
10
|
-
export declare const segmentGraphemes: (value: string) => string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const enum BACKGROUND_CLIP {
|
|
3
|
-
BORDER_BOX = 0,
|
|
4
|
-
PADDING_BOX = 1,
|
|
5
|
-
CONTENT_BOX = 2
|
|
6
|
-
}
|
|
7
|
-
export type BackgroundClip = BACKGROUND_CLIP[];
|
|
8
|
-
export declare const backgroundClip: IPropertyListDescriptor<BackgroundClip>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const enum BACKGROUND_ORIGIN {
|
|
3
|
-
BORDER_BOX = 0,
|
|
4
|
-
PADDING_BOX = 1,
|
|
5
|
-
CONTENT_BOX = 2
|
|
6
|
-
}
|
|
7
|
-
export type BackgroundOrigin = BACKGROUND_ORIGIN[];
|
|
8
|
-
export declare const backgroundOrigin: IPropertyListDescriptor<BackgroundOrigin>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
import { LengthPercentageTuple } from '../types/length-percentage';
|
|
3
|
-
export type BackgroundPosition = BackgroundImagePosition[];
|
|
4
|
-
export type BackgroundImagePosition = LengthPercentageTuple;
|
|
5
|
-
export declare const backgroundPosition: IPropertyListDescriptor<BackgroundPosition>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export type BackgroundRepeat = BACKGROUND_REPEAT[];
|
|
3
|
-
export declare const enum BACKGROUND_REPEAT {
|
|
4
|
-
REPEAT = 0,
|
|
5
|
-
NO_REPEAT = 1,
|
|
6
|
-
REPEAT_X = 2,
|
|
7
|
-
REPEAT_Y = 3
|
|
8
|
-
}
|
|
9
|
-
export declare const backgroundRepeat: IPropertyListDescriptor<BackgroundRepeat>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
import { LengthPercentage } from '../types/length-percentage';
|
|
3
|
-
import { StringValueToken } from '../syntax/tokenizer';
|
|
4
|
-
export declare enum BACKGROUND_SIZE {
|
|
5
|
-
AUTO = "auto",
|
|
6
|
-
CONTAIN = "contain",
|
|
7
|
-
COVER = "cover"
|
|
8
|
-
}
|
|
9
|
-
export type BackgroundSizeInfo = LengthPercentage | StringValueToken;
|
|
10
|
-
export type BackgroundSize = BackgroundSizeInfo[][];
|
|
11
|
-
export declare const backgroundSize: IPropertyListDescriptor<BackgroundSize>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IPropertyTypeValueDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const borderTopColor: IPropertyTypeValueDescriptor;
|
|
3
|
-
export declare const borderRightColor: IPropertyTypeValueDescriptor;
|
|
4
|
-
export declare const borderBottomColor: IPropertyTypeValueDescriptor;
|
|
5
|
-
export declare const borderLeftColor: IPropertyTypeValueDescriptor;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
import { LengthPercentageTuple } from '../types/length-percentage';
|
|
3
|
-
export type BorderRadius = LengthPercentageTuple;
|
|
4
|
-
export declare const borderTopLeftRadius: IPropertyListDescriptor<BorderRadius>;
|
|
5
|
-
export declare const borderTopRightRadius: IPropertyListDescriptor<BorderRadius>;
|
|
6
|
-
export declare const borderBottomRightRadius: IPropertyListDescriptor<BorderRadius>;
|
|
7
|
-
export declare const borderBottomLeftRadius: IPropertyListDescriptor<BorderRadius>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IPropertyIdentValueDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const enum BORDER_STYLE {
|
|
3
|
-
NONE = 0,
|
|
4
|
-
SOLID = 1,
|
|
5
|
-
DASHED = 2,
|
|
6
|
-
DOTTED = 3,
|
|
7
|
-
DOUBLE = 4
|
|
8
|
-
}
|
|
9
|
-
export declare const borderTopStyle: IPropertyIdentValueDescriptor<BORDER_STYLE>;
|
|
10
|
-
export declare const borderRightStyle: IPropertyIdentValueDescriptor<BORDER_STYLE>;
|
|
11
|
-
export declare const borderBottomStyle: IPropertyIdentValueDescriptor<BORDER_STYLE>;
|
|
12
|
-
export declare const borderLeftStyle: IPropertyIdentValueDescriptor<BORDER_STYLE>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IPropertyValueDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const borderTopWidth: IPropertyValueDescriptor<number>;
|
|
3
|
-
export declare const borderRightWidth: IPropertyValueDescriptor<number>;
|
|
4
|
-
export declare const borderBottomWidth: IPropertyValueDescriptor<number>;
|
|
5
|
-
export declare const borderLeftWidth: IPropertyValueDescriptor<number>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
import { Color } from '../types/color';
|
|
3
|
-
import { Length } from '../types/length';
|
|
4
|
-
export type BoxShadow = BoxShadowItem[];
|
|
5
|
-
interface BoxShadowItem {
|
|
6
|
-
inset: boolean;
|
|
7
|
-
color: Color;
|
|
8
|
-
offsetX: Length;
|
|
9
|
-
offsetY: Length;
|
|
10
|
-
blur: Length;
|
|
11
|
-
spread: Length;
|
|
12
|
-
}
|
|
13
|
-
export declare const boxShadow: IPropertyListDescriptor<BoxShadow>;
|
|
14
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export interface COUNTER_INCREMENT {
|
|
3
|
-
counter: string;
|
|
4
|
-
increment: number;
|
|
5
|
-
}
|
|
6
|
-
export type CounterIncrement = COUNTER_INCREMENT[] | null;
|
|
7
|
-
export declare const counterIncrement: IPropertyListDescriptor<CounterIncrement>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const enum DISPLAY {
|
|
3
|
-
NONE = 0,
|
|
4
|
-
BLOCK = 2,
|
|
5
|
-
INLINE = 4,
|
|
6
|
-
RUN_IN = 8,
|
|
7
|
-
FLOW = 16,
|
|
8
|
-
FLOW_ROOT = 32,
|
|
9
|
-
TABLE = 64,
|
|
10
|
-
FLEX = 128,
|
|
11
|
-
GRID = 256,
|
|
12
|
-
RUBY = 512,
|
|
13
|
-
SUBGRID = 1024,
|
|
14
|
-
LIST_ITEM = 2048,
|
|
15
|
-
TABLE_ROW_GROUP = 4096,
|
|
16
|
-
TABLE_HEADER_GROUP = 8192,
|
|
17
|
-
TABLE_FOOTER_GROUP = 16384,
|
|
18
|
-
TABLE_ROW = 32768,
|
|
19
|
-
TABLE_CELL = 65536,
|
|
20
|
-
TABLE_COLUMN_GROUP = 131072,
|
|
21
|
-
TABLE_COLUMN = 262144,
|
|
22
|
-
TABLE_CAPTION = 524288,
|
|
23
|
-
RUBY_BASE = 1048576,
|
|
24
|
-
RUBY_TEXT = 2097152,
|
|
25
|
-
RUBY_BASE_CONTAINER = 4194304,
|
|
26
|
-
RUBY_TEXT_CONTAINER = 8388608,
|
|
27
|
-
CONTENTS = 16777216,
|
|
28
|
-
INLINE_BLOCK = 33554432,
|
|
29
|
-
INLINE_LIST_ITEM = 67108864,
|
|
30
|
-
INLINE_TABLE = 134217728,
|
|
31
|
-
INLINE_FLEX = 268435456,
|
|
32
|
-
INLINE_GRID = 536870912
|
|
33
|
-
}
|
|
34
|
-
export type Display = number;
|
|
35
|
-
export declare const display: IPropertyListDescriptor<Display>;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { IPropertyIdentValueDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const enum LIST_STYLE_TYPE {
|
|
3
|
-
NONE = -1,
|
|
4
|
-
DISC = 0,
|
|
5
|
-
CIRCLE = 1,
|
|
6
|
-
SQUARE = 2,
|
|
7
|
-
DECIMAL = 3,
|
|
8
|
-
CJK_DECIMAL = 4,
|
|
9
|
-
DECIMAL_LEADING_ZERO = 5,
|
|
10
|
-
LOWER_ROMAN = 6,
|
|
11
|
-
UPPER_ROMAN = 7,
|
|
12
|
-
LOWER_GREEK = 8,
|
|
13
|
-
LOWER_ALPHA = 9,
|
|
14
|
-
UPPER_ALPHA = 10,
|
|
15
|
-
ARABIC_INDIC = 11,
|
|
16
|
-
ARMENIAN = 12,
|
|
17
|
-
BENGALI = 13,
|
|
18
|
-
CAMBODIAN = 14,
|
|
19
|
-
CJK_EARTHLY_BRANCH = 15,
|
|
20
|
-
CJK_HEAVENLY_STEM = 16,
|
|
21
|
-
CJK_IDEOGRAPHIC = 17,
|
|
22
|
-
DEVANAGARI = 18,
|
|
23
|
-
ETHIOPIC_NUMERIC = 19,
|
|
24
|
-
GEORGIAN = 20,
|
|
25
|
-
GUJARATI = 21,
|
|
26
|
-
GURMUKHI = 22,
|
|
27
|
-
HEBREW = 22,
|
|
28
|
-
HIRAGANA = 23,
|
|
29
|
-
HIRAGANA_IROHA = 24,
|
|
30
|
-
JAPANESE_FORMAL = 25,
|
|
31
|
-
JAPANESE_INFORMAL = 26,
|
|
32
|
-
KANNADA = 27,
|
|
33
|
-
KATAKANA = 28,
|
|
34
|
-
KATAKANA_IROHA = 29,
|
|
35
|
-
KHMER = 30,
|
|
36
|
-
KOREAN_HANGUL_FORMAL = 31,
|
|
37
|
-
KOREAN_HANJA_FORMAL = 32,
|
|
38
|
-
KOREAN_HANJA_INFORMAL = 33,
|
|
39
|
-
LAO = 34,
|
|
40
|
-
LOWER_ARMENIAN = 35,
|
|
41
|
-
MALAYALAM = 36,
|
|
42
|
-
MONGOLIAN = 37,
|
|
43
|
-
MYANMAR = 38,
|
|
44
|
-
ORIYA = 39,
|
|
45
|
-
PERSIAN = 40,
|
|
46
|
-
SIMP_CHINESE_FORMAL = 41,
|
|
47
|
-
SIMP_CHINESE_INFORMAL = 42,
|
|
48
|
-
TAMIL = 43,
|
|
49
|
-
TELUGU = 44,
|
|
50
|
-
THAI = 45,
|
|
51
|
-
TIBETAN = 46,
|
|
52
|
-
TRAD_CHINESE_FORMAL = 47,
|
|
53
|
-
TRAD_CHINESE_INFORMAL = 48,
|
|
54
|
-
UPPER_ARMENIAN = 49,
|
|
55
|
-
DISCLOSURE_OPEN = 50,
|
|
56
|
-
DISCLOSURE_CLOSED = 51
|
|
57
|
-
}
|
|
58
|
-
export declare const listStyleType: IPropertyIdentValueDescriptor<LIST_STYLE_TYPE>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IPropertyTokenValueDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const marginTop: IPropertyTokenValueDescriptor;
|
|
3
|
-
export declare const marginRight: IPropertyTokenValueDescriptor;
|
|
4
|
-
export declare const marginBottom: IPropertyTokenValueDescriptor;
|
|
5
|
-
export declare const marginLeft: IPropertyTokenValueDescriptor;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IPropertyTypeValueDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const paddingTop: IPropertyTypeValueDescriptor;
|
|
3
|
-
export declare const paddingRight: IPropertyTypeValueDescriptor;
|
|
4
|
-
export declare const paddingBottom: IPropertyTypeValueDescriptor;
|
|
5
|
-
export declare const paddingLeft: IPropertyTypeValueDescriptor;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IPropertyListDescriptor } from '../IPropertyDescriptor';
|
|
2
|
-
export declare const enum PAINT_ORDER_LAYER {
|
|
3
|
-
FILL = 0,
|
|
4
|
-
STROKE = 1,
|
|
5
|
-
MARKERS = 2
|
|
6
|
-
}
|
|
7
|
-
export type PaintOrder = PAINT_ORDER_LAYER[];
|
|
8
|
-
export declare const paintOrder: IPropertyListDescriptor<PaintOrder>;
|